What's new

Closed How to reboot to edl from fastboot

Status
Not open for further replies.

0x41414141

Forum Veteran
Joined
Oct 16, 2015
Posts
441
Reaction
6,050
Points
815
Hello Phc,

This information is for those who have already knowledge with android tweaking or rooting phones if you are new here try to read or ask questions you will find a lot of information on this website.

For those who already know Most Qualcomm-based Andriod PDAs support emergency download (EDL) mode allowing to unbrick device, unlock bootloader or modify protected device parameters. If ADB interface is accessible, "adb reboot edl" can be used to reboot to EDL mode.

Many bricked PDAs cannot be booted with full ADB support while FastBoot mode is accessible. But if bootloader is locked, there is no way to flash a partition or boot an image.

Some firmwares support rebooting to EDL in AndroidBootloader aboot module (the "reboot-edl" command) but fastboot utility doesn't recognize "reboot-edl" in the command line and refuses to sent the command to the device.

Since FastBoot command protocol is simple and text-based, it is enough to send a packet containing "reboot-edl" text over USB. The simplest way to do that is to ρá†ch Windows fastboot.exe file, replacing "reboot-bootloader" text with "reboot-edl". As "reboot-bootloader" string is found in the command line, fastboot.exe sends the same constant string to the device. So if "reboot-bootloader" is replaced with "reboot-edl", you can specify "reboot-edl" in the command line and the same text will be sent to the device.

In the attached example, the mentioned string is located at offset 2685c.

If you occasionally locked bootloader in my unlocked/rooted phone so it could be boot to FastBoot or Diagnostic 900E modes. Tried to swich from 900E to 9008 with QPST but it reported unspecified error.

Analyzing aboot (emmc_appsboot.mbn), found that it supports "reboot-edl" so the only remaining thing was to find a way to send it to the bootloader.

With the attached fastboot.exe, successfully rebooted to EDL mode (9008) and re-flashed proper partition images.

Of course, patched version does not support "reboot-bootloader" command because it has been replaced by "reboot-edl".

If you want to use this program if you have the same situation you can download it below.

You do not have permission to view the full content of this post. Log in or register now.

I hope it helps you and credits to the developer.

If you think this is a repost to Phc you are welcome to contact me if you have questions feel free to message me.

God Bless and Have a Great Day.
 
Status
Not open for further replies.

Similar threads

Back
Top