Open joebobbio opened 1 month ago
Here there is only https://github.com/bkerler/Loaders/blob/main/lenovo_motorola/0000000002e80000_abbcc86fe393b13d_fhprg.bin and https://github.com/bkerler/Loaders/blob/main/lenovo_motorola/001360e102e80000_5adc6039dcb297d4_fhprg.bin. Try them explicitly. There is also https://mirrors.lolinet.com/firmware/lenomola/ but you will have to extract the "programmer" out of "single" in "blankflash". And all Motorola released Firehose loaders are restricted in what areas of flash you can access.
Thanks for the quick reply :) I'll give these a shot in a little while and report my findings. In advance though, how would I extract the programmer from the blankflash files ?
Erm, I should get around to writing a utility, but if you give me a link to the blankflash or tell me the year and codename (like 2021 borneo) I'll just do it.
My device is the 2021 borneo (cricket variant). I did see some on lolinet but I didn't know if they were variant specific or not. Thanks again !
On Fri, Oct 18, 2024, 09:05 Renate @.***> wrote:
Erm, I should get around to writing a utility, but if you give me a link to the blankflash or tell me the year and codename (like 2021 borneo) I'll just do it.
— Reply to this email directly, view it on GitHub https://github.com/bkerler/Loaders/issues/103#issuecomment-2422434243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AON2OJJACJBQ3XT6V5V4BATZ4EBR7AVCNFSM6AAAAABQEYXFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGQZTIMRUGM . You are receiving this because you authored the thread.Message ID: @.***>
If it's 2021 borneo that first loader should work. It's what I use on mine. Just specify it explicitly.
I tried both loaders and get this message:
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.60 (c) B.Kerler 2018-2022.
main - Using loader 001360e102e80000_5adc6039dcb297d4_fhprg.bin ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara -
------------------------
HWID: 0x0014d0e102e80000 (MSM_ID:0x0014d0e1,OEM_ID:0x02e8,MODEL_ID:0x0000)
CPU detected: "SDM662"
PK_HASH: 0xabbcc86fe393b13d59e2a2ec944af26da3fa3d4b2a1ccd2fb383c73e0fffc30dc1736dcb2752e955a61421c349974f90
Serial: 0x7e458e73
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader 001360e102e80000_5adc6039dcb297d4_fhprg.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara
sahara - [LIB]: Error: Cannot receive specified number of program headers
Connection detected, quiting.
Nope, that second one will not work. (Although the stupid nonsensical error reporting doesn't help.)
Clean reboot, only use the first one. https://github.com/bkerler/Loaders/blob/main/lenovo_motorola/0000000002e80000_abbcc86fe393b13d_fhprg.bin
Only recently did I learn exactly how SBL versioning works. My phone is SBL 1 so it will only work with the above.
The same message occurs with the first loader too, I just only sent the output from the second as they were both the same
On Sat, Oct 19, 2024, 06:53 Renate @.***> wrote:
Nope, that second one will not work. (Although the stupid nonsensical error reporting doesn't help.)
Clean reboot, only use the first one.
Only recently did I learn exactly how SBL versioning works. My phone is SBL 1 so it will only work with the above.
— Reply to this email directly, view it on GitHub https://github.com/bkerler/Loaders/issues/103#issuecomment-2423758723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AON2OJIGUSM5AR6XEQLRMBTZ4I24BAVCNFSM6AAAAABQEYXFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTG42TQNZSGM . You are receiving this because you authored the thread.Message ID: @.***>
The first one is SBL=1 and is identical to the one in https://mirrors.lolinet.com/firmware/lenomola/2021/borneo/blankflash/blankflash_borneo_usc_RZBS31.Q2-143-27-11-1.zip which despite its name is a 7zip file.
The second one is SBL=0
So, the question is, what is the SBL version of your device?
Unfortunately this Python stuff is patched not to ask.
Find on your computer line 222 like here: https://github.com/bkerler/edl/blob/master/edlclient/Library/sahara.py#L222 Edit line 222 delete the # and the spaces until this single line aligns with the next if. Edit line 236 to say >= 2.0 Delete line 236 with the 3 x quote Delete line 245 with the 3 x quote
Your line numbers may not be the same if you don't have the latest.
Clean reset, try to load the first loader.
I did the patch, and it says my SBL version is 0xNone
with the first loader.
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.60 (c) B.Kerler 2018-2022.
main - Using loader 0000000002e80000_abbcc86fe393b13d_fhprg.bin ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara -
------------------------
HWID: 0x0014d0e102e80000 (MSM_ID:0x0014d0e1,OEM_ID:0x02e8,MODEL_ID:0x0000)
PK_HASH: 0xabbcc86fe393b13d59e2a2ec944af26da3fa3d4b2a1ccd2fb383c73e0fffc30dc1736dcb2752e955a61421c349974f90
Serial: 0x7e458e73
SBL Version: 0xNone
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader 0000000002e80000_abbcc86fe393b13d_fhprg.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara
sahara - [LIB]: Error: Cannot receive specified number of program headers
Connection detected, quiting.
Thanks for trying. We'll have to mark this up as ambiguous. I should have posted you a patched file instead.
Do you have this patched file? Unless we missed something I'm pretty sure I did it right
On Sat, Oct 19, 2024, 19:09 Renate @.***> wrote:
Thanks for trying. We'll have to mark this up as ambiguous. I should have posted you a patched file instead.
— Reply to this email directly, view it on GitHub https://github.com/bkerler/Loaders/issues/103#issuecomment-2424279172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AON2OJPWF5X6ICZ3DQVBZ63Z4LRCPAVCNFSM6AAAAABQEYXFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUGI3TSMJXGI . You are receiving this because you authored the thread.Message ID: @.***>
I sent you an email.
I didn't receive it. Could you upload it here or to a GitHub gist?
On Sun, Oct 20, 2024, 08:05 Renate @.***> wrote:
I sent you an email.
— Reply to this email directly, view it on GitHub https://github.com/bkerler/Loaders/issues/103#issuecomment-2424887744, or unsubscribe https://github.com/notifications/unsubscribe-auth/AON2OJICLF5ZYMJCQ5RWVPTZ4OL7XAVCNFSM6AAAAABQEYXFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUHA4DONZUGQ . You are receiving this because you authored the thread.Message ID: @.***>
Hi,
I'm looking for an EDL loader for my Motorola XT2117-1. I've found that there's a loader for a different variant of this device, the XT2117-4. I tried looking around for it myself, but didn't find much (I've never done this before.)
Any assistance would be great !