Preloader & boot logs analysis. #4
Replies: 23 comments 144 replies
-
Proinfo partition loading
|
Beta Was this translation helpful? Give feedback.
-
Boot mode & boot reason:
This article explains all the details https://www.lieberbiber.de/2015/07/05/mediatek-details-little-kernel/ |
Beta Was this translation helpful? Give feedback.
-
We can know the time of the logs!
This helps a lot to identify specific logs for various tests we do |
Beta Was this translation helpful? Give feedback.
-
Unrelated from preloader, but
|
Beta Was this translation helpful? Give feedback.
-
Can you try to unlock the bootloader via fastboot and then send logs? |
Beta Was this translation helpful? Give feedback.
-
@progzone122 there's a thing called usb2jtag in fastboot. This is what it should do |
Beta Was this translation helpful? Give feedback.
-
I decided to remove my serial number from proinfo and as we can see the default one was assigned, but this did not lead to anything diablo-pc :: ~ 130 » fastboot devices
0123456789ABCDEF fastboot
diablo-pc :: ~ » fastboot flashing unlock
(bootloader) Start unlock flow
FAILED (remote: 'Unlock key length is incorrect!')
fastboot: error: Command failed |
Beta Was this translation helpful? Give feedback.
-
I found something interesting! |
Beta Was this translation helpful? Give feedback.
-
@shomykohai We can also get socid! |
Beta Was this translation helpful? Give feedback.
-
Found a command that outputs fastboot logs -> fastboot oem dump_pllk_log |
Beta Was this translation helpful? Give feedback.
-
@progzone122 This device uses the same command as ours to unlock bootloader I don't think they really use md5, but you might give it a try, but first you have to restore your serial number in proinfo (if the default one is used, it seems like the BL tries to recalculate it using soc id and hw key). Looks like md5 and our unlock key both are 32 characters long too 🤔 |
Beta Was this translation helpful? Give feedback.
-
I look forward to your support from your side |
Beta Was this translation helpful? Give feedback.
-
Is this another mtkclient wrapper? Found it mentioned under mtkclient issues and someone reported that it worked, but I assume it needs brom too |
Beta Was this translation helpful? Give feedback.
-
@shomykohai https://moto-penangf.github.io/documentation/#/modes/preloader |
Beta Was this translation helpful? Give feedback.
-
I modified DA a little and now I'm stuck in this mode. It seems I need to turn off the battery for it to turn on... |
Beta Was this translation helpful? Give feedback.
-
If the phone is stuck in preloader: You need to press ALL buttons and hold them for 10 seconds |
Beta Was this translation helpful? Give feedback.
-
Moto g22 firmware has some utilities like ewriter (for writing e-fuses), could one of these utilities be useful for us? |
Beta Was this translation helpful? Give feedback.
-
@progzone122 unrelated for g23, but in the g24 firmware there's a file called "boot-debug.img" and "vendot-boot-debug.img". Do you think they could be used to unlock g24? It could be something that might help us since they share the same chipset 🤔 |
Beta Was this translation helpful? Give feedback.
-
We can indeed flash protected partitions with DA_PL_NO_CERT, which we cannot flash with MT6768_USER. |
Beta Was this translation helpful? Give feedback.
-
@shomykohai Interesting... |
Beta Was this translation helpful? Give feedback.
-
Now that the bootloader can be unlocked, does this mean we can use mtkclient with any DA file? To be able to access all features of it |
Beta Was this translation helpful? Give feedback.
-
@shomykohai please check your commits in fork, we are not the only ones using the site anymore. |
Beta Was this translation helpful? Give feedback.
-
Logs can be dumped via mtkclient:
Beta Was this translation helpful? Give feedback.
All reactions