bkerler / edl

Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :)
GNU General Public License v3.0
1.59k stars 372 forks source link

Loader for sm8350 #518

Closed pckotzer closed 4 months ago

pckotzer commented 6 months ago

Is there anything for

HWID: 0x001350e100290875 (MSM_ID:0x001350e1,OEM_ID:0x0029,MODEL_ID:0x0875) CPU detected: "lahaina" PK_HASH: 0x0e172e7799ab2674eacaee35e098e8b505ae768f7a2418ca653abecbe02198c3

wolverine998 commented 5 months ago

Firstly, which phone are you using. You must try to use loader that is supplied by the manufacturer, if it exists. Also, that is the Snapdragon 8 Gen 2 i think, you could try looking on Google and testing available loaders. Good luck!

pckotzer commented 5 months ago

Its an asus zenfone 8, and i tried all possible loaders for 888 snapdragon. None of them is working. I used firehose programmer to test all possibe loaders from 2 repos, here and by firehose

wolverine998 commented 5 months ago

Hmm, lahaina is 888. Is there a loader in manufacturer stock ROM zip? It should be provided in the fastboot ROM.

pckotzer commented 5 months ago

There is only a payload.bin or something. What extension did have the loader? Iam sure there is none in the rom zip

pckotzer commented 5 months ago

I have a downgrade rom zip containing this stuff IMG_20240501_222342_503 IMG_20240501_222342_337 IMG_20240501_222342_647

wolverine998 commented 5 months ago

In the firmware folder, the prog_firehose_ddr.elf. If it rejects the loader, try the lite version. Hope it Works.

RenateUSB commented 5 months ago

Please post the md5 (md5sum) of the two prog_firehose_xxx so we can see if they should be added somewhere.

pckotzer commented 5 months ago

539f1ef0f4cea98513632568316b77a6 Loaders/asus/prog_firehose_ddr.elf 138f36e226de1a959ff7479f6b2ad8e3 Loaders/asus/prog_firehose_lite.elf

However i used ddr.elf and used the edl unlock command it started to do something with saying Full Ramdump, the edl tool sayd the device disconnected and in the mode on phone nothing happend so i restarted the device and now iam unabel to get in edl again by using adb reboot edl

wolverine998 commented 5 months ago

Please take care, if your device isnt bricked, make sure you do the commands right. Especially write command. Reboot into fastboot, then to System/adb

pckotzer commented 5 months ago

This is what i did after that, and it just dont go in edl with adb command. Device works fine

pckotzer commented 5 months ago

I think the loader i used is just for Full Ramdump stuff, and the lite loader i cant test now xD

pckotzer commented 4 months ago

I was abel to get in edl mode by, test points, but this lite version support only these functions: firehose - INFO: Binary build date: Aug 13 2021 @ 23:01:25 firehose - INFO: Binary build date: Aug 13 2021 @ 23:01:25 firehose - INFO: Chip serial num: 751885516 (0x2cd0dccc) firehose - INFO: Supported Functions (15): firehose - INFO: program firehose - INFO: read firehose - INFO: nop firehose - INFO: patch firehose - INFO: configure firehose - INFO: setbootablestoragedrive firehose - INFO: erase firehose - INFO: power firehose - INFO: firmwarewrite firehose - INFO: getstorageinfo firehose - INFO: benchmark firehose - INFO: emmc firehose - INFO: ufs firehose - INFO: fixgpt firehose - INFO: getsha256digest firehose - INFO: End of supported functions 15

pckotzer commented 4 months ago

I want to unlock the bootloader cause asus just destroyed the ability for that with their false promises

pckotzer commented 4 months ago

This loader works with the functions mentioned above by edl, the ddr one, i can write and read successfully. https://www.mediafire.com/file/okhp5aebkbwfdwr/prog_firehose_ddr.elf/file

RenateUSB commented 4 months ago

@pckotzer @bkerler

Please add this to the collection, it is completely Qualcomm with no OEM or HWID. It should work on some newer models like:

SC_KODIAK_CHROME
SC_KODIAK_WINDOWS
SCP_MAKENA
SDX_OLYMPIC
SM_CEDROS
SM_KODIAK
SM_LAHAINA
SM_WAIPIO
SMP_LAHAINA