Page 2 of 35

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 8:30 am
by kur4o
[15:20:52.615] 6C F0 10 67 01 05 50
[15:20:52.618] 6C 10 F0 27 02 09 A1
[15:20:52.714] 6C F0 10 67 02 34

Looks like the algo is $5b for you pcm. Not sure what algo is used for default p12 in pcmhammer.

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 8:31 am
by Asylumwarp
kur4o wrote:This OS is from saturn, so it is possible the unlock algo differs.

Can you run this script with this program. It will test if pcm uses standard algo.

viewtopic.php?f=42&t=7753

post results here.


Here is the binary from that pcm if it helps
05 RL 124073 primary.bin
(1 MiB) Downloaded 100 times

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 8:35 am
by kur4o
The algo used is 28, default for ls1 pcm. 5b is correct for p12, so I suspect OS is not in the list and program defaults to ls1 operation.

Maybe some manual override for pcm type can be added until a proper list of OS is build.

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 8:37 am
by Asylumwarp
kur4o wrote:The algo used is 28, default for ls1 pcm. 5b is correct for p12, so I suspect OS is not in the list and program defaults to ls1 operation.
it does identify as a p01-p59 upon startup of hammer

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 8:54 am
by hashtagfacts
[06:01:59:830] PCM Hammer (5/11/2022, 1:55 AM)
[06:01:59:838] Sunday, May 15 2022 @06:01:59:83
[06:01:59:846] Initializing J2534 Device
[06:01:59:854] Loaded DLL
[06:02:02:357] Connected to the device.
[06:02:02:404] Battery Voltage is: 12.372
[06:02:03:294] Thanks for using PCM Hammer.
[06:02:04:756] VIN: 1GTCS146048136101
[06:02:04:850] OS ID: 12589586
[06:02:04:865] Hardware Type: P12
[06:02:04:944] Calibration ID: 12589585
[06:02:05:178] Serial Number: 4017KE00E
[06:02:05:272] Broad Cast Code: YHLY
[06:02:05:351] MEC: 0


Stock 2004 GMC Canyon 3.5L L52 P12 PCM File

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 10:53 am
by NSFW
This adds OS ID 12601904 to the list of known 1mb P12 operating systems.

EDIT: see the first post for an updated zip file.

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 11:18 am
by Asylumwarp
NSFW wrote:This adds OS ID 12601904 to the list of known 1mb P12 operating systems.
[06:10:50:162] PCM Hammer (5/15/2022, 5:51 PM)
[06:10:50:165] Sunday, May 15 2022 @06:10:50:16
[06:10:50:622] Device Found: OBDX Pro VT
[06:10:50:657] Device Successfully Initialized and Ready
[06:10:52:673] VIN: 1G8AY12P65Z124073
[06:10:52:723] OS ID: 12601904
[06:10:52:729] Hardware Type: P12
[06:10:52:758] Calibration ID: 0
[06:10:52:882] Serial Number: 4254KG003
[06:10:52:921] Broad Cast Code: YKXC
[06:10:52:956] MEC: 0
[06:11:08:312] Will save to C:\Users\Family\Dropbox\P12\testread.bin
[06:11:09:796] Querying operating system of current PCM.
[06:11:09:831] OSID: 12601904
[06:11:09:940] Unlock succeeded.
[06:11:09:955] Attempting switch to VPW 4x
[06:11:09:991] Module 0x10 (engine controller) has agreed to enter high-speed mode.
[06:11:11:940] Kernel upload 49% complete.
[06:11:12:765] Kernel upload 100% complete.
[06:11:13:379] Kernel Version: 0103050C
[06:11:13:381] kernel uploaded to PCM succesfully. Requesting data...
[06:11:13:395] Flash chip: AMD AM29BL802C, 1mb
[06:15:01:081] Read complete.
[06:15:01:084] All read-request messages succeeded on the first try. You have an excellent connection to the PCM.
[06:15:01:088] We're not sure how much retrying is normal for a read operation on a 1024kb PCM.
[06:15:01:093] Please help by sharing your results in the PCM Hammer thread at pcmhacking.net.
[06:15:01:097] Starting verification...
[06:15:01:107] Calculating CRCs from file.
[06:15:01:116] Initializing CRC algorithm on PCM, this will take a minute...
[06:15:01:151] Requesting CRCs from PCM.
[06:15:01:154] Range File CRC PCM CRC Verdict Purpose
[06:15:04:686] 0C0000-0FFFFF 99A93494 99A93494 Same OperatingSystem
[06:15:08:233] 080000-0BFFFF A8D4F13B A8D4F13B Same OperatingSystem
[06:15:10:065] 060000-07FFFF 70AB77D5 70AB77D5 Same OperatingSystem
[06:15:11:944] 040000-05FFFF 1A30EC3F 1A30EC3F Same OperatingSystem
[06:15:13:771] 020000-03FFFF 3A78875F 3A78875F Same Calibration
[06:15:15:140] 008000-01FFFF C93BD995 C93BD995 Same Calibration
[06:15:15:295] 006000-007FFF 85B5BB36 85B5BB36 Same Parameter
[06:15:15:448] 004000-005FFF 9BBA20D4 9BBA20D4 Same Parameter
[06:15:15:729] 000000-003FFF 7EBCD52C 7EBCD52C Same Boot
[06:15:15:742] The contents of the file match the contents of the PCM.
[06:15:15:766] Clearing trouble codes.
[06:15:16:841] Clearing trouble codes.
[06:15:17:903] Elapsed time 00:04:07.9606324
[06:15:17:917] Saving contents to C:\Users\Family\Dropbox\P12\testread.bin
[06:16:03:392] C:\Users\Family\Dropbox\P12\testread.bin
[06:16:03:429] Validating 1024k file.
[06:16:03:455] Start End Stored Needed Verdict Segment Name
[06:16:03:650] 00000 03FFF 15DD 15DD Good Boot Block
[06:16:03:664] 08002 FFFFF B443 B443 Good OS
[06:16:03:737] 2052C 3261B AA67 AA67 Good Engine Calibration
[06:16:03:750] 3261E 36FF5 ADD1 ADD1 Good Engine Diagnostics
[06:16:03:761] 36FF8 3F117 33FD 33FD Good Transmission Calibration
[06:16:03:773] 3F11A 3FFFB 3571 3571 Good Transmission Diagnostics
[06:16:03:786] 20002 20087 060F 060F Good Speedometer
[06:16:03:801] 2008A 20529 EAA0 EAA0 Good System
[06:16:03:817] Requesting operating system ID...
[06:16:03:863] PCM and file are both for the same Hardware P12
[06:16:03:876] PCM and file are both operating system 12601904
[06:16:03:983] Unlock succeeded.
[06:16:04:006] Attempting switch to VPW 4x
[06:16:04:046] Module 0x10 (engine controller) has agreed to enter high-speed mode.
[06:16:06:001] Kernel upload 49% complete.
[06:16:06:850] Kernel upload 100% complete.
[06:16:07:496] Kernel Version: 0103050C
[06:16:07:512] Kernel uploaded to PCM succesfully.
[06:16:07:541] PCM and image file are both operating system 12601904
[06:16:07:560] Flash chip: AMD AM29BL802C, 1mb
[06:16:07:571] Calculating CRCs from file.
[06:16:07:586] Initializing CRC algorithm on PCM, this will take a minute...
[06:16:07:629] Requesting CRCs from PCM.
[06:16:07:639] Range File CRC PCM CRC Verdict Purpose
[06:16:11:214] 0C0000-0FFFFF 99A93494 99A93494 Same OperatingSystem
[06:16:14:841] 080000-0BFFFF A8D4F13B A8D4F13B Same OperatingSystem
[06:16:16:643] 060000-07FFFF 70AB77D5 70AB77D5 Same OperatingSystem
[06:16:18:491] 040000-05FFFF 1A30EC3F 1A30EC3F Same OperatingSystem
[06:16:20:308] 020000-03FFFF 3A78875F 3A78875F Same Calibration
[06:16:21:683] 008000-01FFFF C93BD995 C93BD995 Same Calibration
[06:16:21:837] 006000-007FFF 85B5BB36 85B5BB36 Same Parameter
[06:16:21:996] 004000-005FFF 9BBA20D4 9BBA20D4 Same Parameter
[06:16:22:273] 000000-003FFF 7EBCD52C 7EBCD52C Same Boot
[06:16:22:287] All relevant ranges are identical.
[06:16:22:317] Flash successful!
[06:16:22:338] Clearing trouble codes.
[06:16:23:399] Elapsed time 00:00:19.4008220

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 11:19 am
by NSFW
Thanks for confirming! I've committed the change.

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 11:42 am
by antus
I think we also need to remove the request for hardware ID on get properties. I took it out on one of the test builds, but it was missed in the development branch that turned in to 021. I dont think there is any value in hardware ID because it doesnt work on the P10 (though thats probably fixable if we wanted to), but nobody knows the hardware IDs, and its part of the OS, and it does not query the actual hardware the OS is on. If you write one osid and param block to another pcm, the ID will follow the OS thus is no longer correct. OSID and Service number on the sticker seem to be the best identifiers and are what people use.

Re: PCM Hammer Release 021

Posted: Mon May 16, 2022 12:08 pm
by hashtagfacts
NSFW wrote:This adds OS ID 12601904 to the list of known 1mb P12 operating systems.
12589586 is also apart of the p12 line up, can I get a copy of a bin with 12601904 to try and update my os?