0% found this document useful (0 votes)
693 views2 pages

(Tools, Tips & Tutorials) Entering EDL Mode From Fastboot Mode

The document discusses entering Emergency Download (EDL) mode from fastboot mode on some Android devices. It explains that some firmwares support rebooting to EDL mode with the "reboot-edl" command, but fastboot does not recognize this command. By patching the fastboot.exe file to replace "reboot-bootloader" with "reboot-edl", it allows sending the "reboot-edl" command to reboot the device to EDL mode. The author was able to use this method to enter EDL mode on their Xiaomi Redmi Note 3 Pro when it was locked in another recovery mode.

Uploaded by

Aman Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
693 views2 pages

(Tools, Tips & Tutorials) Entering EDL Mode From Fastboot Mode

The document discusses entering Emergency Download (EDL) mode from fastboot mode on some Android devices. It explains that some firmwares support rebooting to EDL mode with the "reboot-edl" command, but fastboot does not recognize this command. By patching the fastboot.exe file to replace "reboot-bootloader" with "reboot-edl", it allows sending the "reboot-edl" command to reboot the device to EDL mode. The author was able to use this method to enter EDL mode on their Xiaomi Redmi Note 3 Pro when it was locked in another recovery mode.

Uploaded by

Aman Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

[Tools, Tips & Tutorials] Entering EDL mode from fastboot

mode

#1

37380288|
01:48, Jun-08-2016
|
Promote
|

Go to reply no.
This post was edited by emuzychenko at 20:06, Jun-15-2016

Some firmwares support rebooting to Emergency Download (EDL) mode in Android Bootloader aboot module (the "reboot-
edl" command) but fastboot utility doesn't recognize "reboot-edl" in the command line and refuses to send the command to the
device.

Since FastBoot 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 patch 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.

I occasionally locked bootloader in my officially unlocked/rooted Xiaomi Redmi Note 3 Pro (Snapdragon) so it could only 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 thing remaining was to find a way to
send it.

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

Original post on XDA-Developers


Detailed guide on XDA-Developers

Therefore, to switch your half-bricked phone to EDL mode, you should do the following:

Download the attached ZIP archive and unpack it to an empty folder.


Boot the phone into FastBoot mode by holding both Volume Down and Power buttons until the bunny appears.
Connect the phone to the PC.
Double-click the "edl" (edl.cmd) file.
If the bunny disappears, your phone was rebooted and now should be in EDL mode (LED should flash red but not
always).
Run MiFlash, wait 3-5 seconds and click "Refresh", COM port should appear in the list.
Proceed with MiFlash as described in the appropriate topics.
To check if this method can work for your device, open aboot image from FastBoot firmware file set (emmc_appsboot.mbn or
similar file) in a hex viewer/editor and search for "reboot-edl" string.

Single-option Poll, 469 members voted View Voters

1. Was able to enter EDL mode from


fastboot using patched fastboot.exe
78.89% 370
2. Still unable to enter EDL mode
16.20% 76
3. My device does not support EDL
mode
4.90% 23

Submit (This Poll is open and your vote is visible)

You might also like