• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Stuck at fastboot mode..

Search This thread

st3wart

Senior Member
Idk if I searched longg enough. But I didn't see it yet. Is there any way to go back to stock when stuck at fastboot mode. Is there a firmware flash all bat ... I cannot get to recovery, I cannot boot in OS. Doesn't matter what I do. But I do know I need to see how fastboot flash the stock firmware.

If anyone has a clue or some info it would be GREATLY APPRECIATED!
 

Grom8

Member
Jul 3, 2018
11
6
So if you are in fastboot mode this means you should still be able to fast boot flash.

When in fastboot don't select anything (on the screen with the option to start your phone), plug your phone into your computer and move (cd) to your platform tools folder. Open a terminal or ADMINISTRATOR powershell at this location.

You will need to download the TWRP fastboot image from on of the ROM threads below, it doesn't matter which one you get they both work. It may be easier to download the IMG from the unofficial twrp thread because there is a download link on the front page.

Now you want to run sudo fastboot flash boot twrp.img if you are using terminal or .\fastboot flash boot twrp.img if you are using powershell.

After that completes you should now select recovery mode on your screen and you SHOULD boot into twrp. My advice (it worked best for me) is in twrp complete wipe your phone then get the new TWRP installer zip and flash that. Then reboot to recovery and flash the stock ROM you download from asus.

Everything should work fine, feel free to ask me if you need more clarification. (Obligatory not responsible for bricks)
 
  • Like
Reactions: st3wart

st3wart

Senior Member
@Grom8 thank you for your detailed response. But I have tried multiple time to boot twrp. But it won't allow me to just goes right back to fastboot.. I will try to flash the official twrp tomorrow. My theory is that the partitions are messed up and won't allow me to do anything until they are sorted out. But I really don't know lol.
 

0Null0

New member
Feb 16, 2012
3
0
I had the same problem, try flashing the stock boot and system.img, then boot into twrp again
 

dperez2010

New member
Mar 23, 2018
3
3
This was my solution

Ran into an issue where i could not get to anything but fastboot on the phone and could not flash TWRP from fastboot
here was the solution i came to

go to the following URL: it wont let me post URL's yet... go get the stock image from ASUS's website. should be a ZIP for ZenFone 6 (ZS630KL)
download the stock image. it will be a zip file
extract the zip file. we will come back to it later
download the latest version of python from here: still wont let me post links yet. google latest version of python
install python and give it all permissions it needs
download the payload dumper from here: (replace carrots on meat with com) mediafire.CarrotsOnMeat/file/pslxh616isribx6/payload_dumper.zip/file
extract the payload dumper
go back to the image that you downloaded and extracted, open the folder
the folder should be named something like UL-ASUS_I01WD-ASUS-16.1220.1909.193-1.1.1-user
inside the folder, there should be a file called "payload.bin"
copy the file
paste the file in the payload dumper file you extracted
make sure you are in the payload dumper folder at this point
Hold the SHIFT key and RIGHT CLICK somewhere in the folder that is empty space
select the OPEN POWERSHELL WINDOW HERE option
enter the following command:
python -m pip install -r requirements.txt
you should see something like the following:

Collecting protobuf==3.6.0 (from -r requirements.txt (line 1))
Downloading WEBSITEpackages/85/f8/d09e4bf21c4de65405ce053e90542e728c5b7cf296b9df36b0bf0488f534/protobuf-3.6.0-py2.py3-none-any.whl (390kB)
100% |████████████████████████████████| 399kB 5.1MB/s
Collecting six==1.11.0 (from -r requirements.txt (line 2))
Downloading WEBSITEpackages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\users\dperez\appdata\local\programs\python\python37-32\lib\site-packages (from protobuf==3.6.0->-r requirements.txt (line 1)) (40.8.0)
Installing collected packages: six, protobuf
Successfully installed protobuf-3.6.0 six-1.11.0
You are using pip version 19.0.3, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

after you have done this command, run the following command:
python payload_dumper.py payload.bin
this one will take some time to run and it will extract all the .IMG files from the payload.bin file
you should see an output like this:

xbl
xbl_config
aop
devcfg
tz
cmnlib
cmnlib64
dsp
hyp
keymaster
abl
bluetooth
modem
boot
dtbo
system
vendor
vbmeta
asusfw
qupfw
uefisecapp
xrom

when this is finished, hold control and select the boot.img file && and the system.img file
copy them
paste them where you have the fastboot tools
navigate to that folder in command prompt
paste the following:

fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a system.img
fastboot flash system_b system.img

the following is output:

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot devices
ABCDEFG1234567 fastboot

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash boot_a boot.img
target reported max download size of 805306368 bytes
sending 'boot_a' (98304 KB)...
OKAY [ 2.536s]
writing 'boot_a'...
OKAY [ 1.889s]
finished. total time: 4.434s

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash boot_b boot.img
target reported max download size of 805306368 bytes
sending 'boot_b' (98304 KB)...
OKAY [ 2.309s]
writing 'boot_b'...
OKAY [ 1.850s]
finished. total time: 4.166s

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash system_a system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magic
erasing 'system_a'...
OKAY [ 19.418s]
sending sparse 'system_a' 1/5 (777195 KB)...
OKAY [ 19.089s]
writing 'system_a' 1/5...
OKAY [ 0.003s]
sending sparse 'system_a' 2/5 (712614 KB)...
OKAY [ 24.339s]
writing 'system_a' 2/5...
OKAY [ 0.003s]
sending sparse 'system_a' 3/5 (746935 KB)...
OKAY [ 22.488s]
writing 'system_a' 3/5...
OKAY [ 0.016s]
sending sparse 'system_a' 4/5 (778963 KB)...
OKAY [ 25.393s]
writing 'system_a' 4/5...
OKAY [ 0.007s]
sending sparse 'system_a' 5/5 (444941 KB)...
OKAY [ 26.145s]
writing 'system_a' 5/5...
OKAY [ 0.003s]
finished. total time: 136.949s

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash system_b system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magic
erasing 'system_b'...
OKAY [ 13.330s]
sending sparse 'system_b' 1/5 (777195 KB)...
OKAY [ 19.158s]
writing 'system_b' 1/5...
OKAY [ 0.006s]
sending sparse 'system_b' 2/5 (712614 KB)...
OKAY [ 24.303s]
writing 'system_b' 2/5...
OKAY [ 0.018s]
sending sparse 'system_b' 3/5 (746935 KB)...
OKAY [ 22.501s]
writing 'system_b' 3/5...
OKAY [ 0.017s]
sending sparse 'system_b' 4/5 (778963 KB)...
OKAY [ 25.291s]
writing 'system_b' 4/5...
OKAY [ 0.003s]
sending sparse 'system_b' 5/5 (444941 KB)...
OKAY [ 26.169s]
writing 'system_b' 5/5...
OKAY [ 0.005s]
finished. total time: 130.843s

you should now be able to get into the stock recovery, from there, you can either use ADB sideload to flash back to the stock firmware, or you can put it on an SD card and flash it from there, which is what i did. Hope this was helpful.

---------- Post added at 08:21 PM ---------- Previous post was at 08:01 PM ----------

Ugh nothing worked now stuck in edl mode. Can connect to qcomm. Anyone know how to recover it from there lol

i posted how i fixed mine in detail
 

Genim

Member
Oct 10, 2019
20
2
My problem now is I cannot even get to fastboot mode. It's stuck in edl mode. Will this fix work for that?

My phone shows up as "Qualcomm HS-USB QDLoader 9008" in the device manager, which I think means it is stuck in edl mode similar to your situation?
Did you manage to find a fix for that?
 

Genim

Member
Oct 10, 2019
20
2
Nope not yet. Still looking and waiting to see if anyone has a fix.

I've found this thread: /zenfone-6-2019/how-to/qdloader-brick-t3980165
But as I am a complete noob, I don't know whether I should just run a script, of which I have no understanding of what it does.
Don't even know for sure if it could fix the issue.
 

st3wart

Senior Member
Yes yes YES! It fixed the phone and brought it back to life!!!! Amazing ...thank you thank you thank you.

Follow the instructions as he put them. Works like a charm!
 

Attachments

  • Screenshot_20191012-121852_Chrome.jpg
    Screenshot_20191012-121852_Chrome.jpg
    176.4 KB · Views: 293
  • Like
Reactions: Genim

grafikermc

Member
Sep 9, 2019
5
1
Hello,
I have a similar problem. My phone is turned off and on the fastboot mode screen. Normal keys with volume keys, recovery mode, open, restart, even if I try to reboot on this screen opens. I tried to connect and format the computer, but I do not install all the drivers and files, but computers do not see my phone. Can you find me a solution?
 

RaGonHeart

New member
Jan 30, 2020
1
0
Hello dperez2010,

your method seems to work, but i get the following error
fastboot flash system_a system.img
Invalid sparse file format at header magic
Sending sparse 'system_a' 1/5 (773136 KB) OKAY [ 17.209s]
Writing 'system_a' FAILED (remote: 'Partition not found')
fastboot: error: Command failed

Do you or does anyone know whats going on here?
 
G

GuestD2427

Guest
file size too big, can't flash or boot Into TWRP

Ran into an issue where i could not get to anything but fastboot on the phone and could not flash TWRP from fastboot
here was the solution i came to

go to the following URL: it wont let me post URL's yet... go get the stock image from ASUS's website. should be a ZIP for ZenFone 6 (ZS630KL)
download the stock image. it will be a zip file
extract the zip file. we will come back to it later
download the latest version of python from here: still wont let me post links yet. google latest version of python
install python and give it all permissions it needs
download the payload dumper from here: (replace carrots on meat with com) mediafire.CarrotsOnMeat/file/pslxh616isribx6/payload_dumper.zip/file
extract the payload dumper
go back to the image that you downloaded and extracted, open the folder
the folder should be named something like UL-ASUS_I01WD-ASUS-16.1220.1909.193-1.1.1-user
inside the folder, there should be a file called "payload.bin"
copy the file
paste the file in the payload dumper file you extracted
make sure you are in the payload dumper folder at this point
Hold the SHIFT key and RIGHT CLICK somewhere in the folder that is empty space
select the OPEN POWERSHELL WINDOW HERE option
enter the following command:
python -m pip install -r requirements.txt
you should see something like the following:

Collecting protobuf==3.6.0 (from -r requirements.txt (line 1))
Downloading WEBSITEpackages/85/f8/d09e4bf21c4de65405ce053e90542e728c5b7cf296b9df36b0bf0488f534/protobuf-3.6.0-py2.py3-none-any.whl (390kB)
100% |████████████████████████████████| 399kB 5.1MB/s
Collecting six==1.11.0 (from -r requirements.txt (line 2))
Downloading WEBSITEpackages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\users\dperez\appdata\local\programs\python\python37-32\lib\site-packages (from protobuf==3.6.0->-r requirements.txt (line 1)) (40.8.0)
Installing collected packages: six, protobuf
Successfully installed protobuf-3.6.0 six-1.11.0
You are using pip version 19.0.3, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

after you have done this command, run the following command:
python payload_dumper.py payload.bin
this one will take some time to run and it will extract all the .IMG files from the payload.bin file
you should see an output like this:

xbl
xbl_config
aop
devcfg
tz
cmnlib
cmnlib64
dsp
hyp
keymaster
abl
bluetooth
modem
boot
dtbo
system
vendor
vbmeta
asusfw
qupfw
uefisecapp
xrom

when this is finished, hold control and select the boot.img file && and the system.img file
copy them
paste them where you have the fastboot tools
navigate to that folder in command prompt
paste the following:

fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a system.img
fastboot flash system_b system.img

the following is output:

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot devices
ABCDEFG1234567 fastboot

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash boot_a boot.img
target reported max download size of 805306368 bytes
sending 'boot_a' (98304 KB)...
OKAY [ 2.536s]
writing 'boot_a'...
OKAY [ 1.889s]
finished. total time: 4.434s

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash boot_b boot.img
target reported max download size of 805306368 bytes
sending 'boot_b' (98304 KB)...
OKAY [ 2.309s]
writing 'boot_b'...
OKAY [ 1.850s]
finished. total time: 4.166s

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash system_a system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magic
erasing 'system_a'...
OKAY [ 19.418s]
sending sparse 'system_a' 1/5 (777195 KB)...
OKAY [ 19.089s]
writing 'system_a' 1/5...
OKAY [ 0.003s]
sending sparse 'system_a' 2/5 (712614 KB)...
OKAY [ 24.339s]
writing 'system_a' 2/5...
OKAY [ 0.003s]
sending sparse 'system_a' 3/5 (746935 KB)...
OKAY [ 22.488s]
writing 'system_a' 3/5...
OKAY [ 0.016s]
sending sparse 'system_a' 4/5 (778963 KB)...
OKAY [ 25.393s]
writing 'system_a' 4/5...
OKAY [ 0.007s]
sending sparse 'system_a' 5/5 (444941 KB)...
OKAY [ 26.145s]
writing 'system_a' 5/5...
OKAY [ 0.003s]
finished. total time: 136.949s

C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash system_b system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magic
erasing 'system_b'...
OKAY [ 13.330s]
sending sparse 'system_b' 1/5 (777195 KB)...
OKAY [ 19.158s]
writing 'system_b' 1/5...
OKAY [ 0.006s]
sending sparse 'system_b' 2/5 (712614 KB)...
OKAY [ 24.303s]
writing 'system_b' 2/5...
OKAY [ 0.018s]
sending sparse 'system_b' 3/5 (746935 KB)...
OKAY [ 22.501s]
writing 'system_b' 3/5...
OKAY [ 0.017s]
sending sparse 'system_b' 4/5 (778963 KB)...
OKAY [ 25.291s]
writing 'system_b' 4/5...
OKAY [ 0.003s]
sending sparse 'system_b' 5/5 (444941 KB)...
OKAY [ 26.169s]
writing 'system_b' 5/5...
OKAY [ 0.005s]
finished. total time: 130.843s

you should now be able to get into the stock recovery, from there, you can either use ADB sideload to flash back to the stock firmware, or you can put it on an SD card and flash it from there, which is what i did. Hope this was helpful.

---------- Post added at 08:21 PM ---------- Previous post was at 08:01 PM ----------



i posted how i fixed mine in detail

"file size", basically our system.img is not being downloaded by the phone due to the large (3.6G) filesize

"fastboot flash system_a ./system.img
Sending 'system_a' (3670016 KB) FAILED (remote: 'requested download size Is more then the max allowed')
feastboot error: command failed
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    This was my solution

    Ran into an issue where i could not get to anything but fastboot on the phone and could not flash TWRP from fastboot
    here was the solution i came to

    go to the following URL: it wont let me post URL's yet... go get the stock image from ASUS's website. should be a ZIP for ZenFone 6 (ZS630KL)
    download the stock image. it will be a zip file
    extract the zip file. we will come back to it later
    download the latest version of python from here: still wont let me post links yet. google latest version of python
    install python and give it all permissions it needs
    download the payload dumper from here: (replace carrots on meat with com) mediafire.CarrotsOnMeat/file/pslxh616isribx6/payload_dumper.zip/file
    extract the payload dumper
    go back to the image that you downloaded and extracted, open the folder
    the folder should be named something like UL-ASUS_I01WD-ASUS-16.1220.1909.193-1.1.1-user
    inside the folder, there should be a file called "payload.bin"
    copy the file
    paste the file in the payload dumper file you extracted
    make sure you are in the payload dumper folder at this point
    Hold the SHIFT key and RIGHT CLICK somewhere in the folder that is empty space
    select the OPEN POWERSHELL WINDOW HERE option
    enter the following command:
    python -m pip install -r requirements.txt
    you should see something like the following:

    Collecting protobuf==3.6.0 (from -r requirements.txt (line 1))
    Downloading WEBSITEpackages/85/f8/d09e4bf21c4de65405ce053e90542e728c5b7cf296b9df36b0bf0488f534/protobuf-3.6.0-py2.py3-none-any.whl (390kB)
    100% |████████████████████████████████| 399kB 5.1MB/s
    Collecting six==1.11.0 (from -r requirements.txt (line 2))
    Downloading WEBSITEpackages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
    Requirement already satisfied: setuptools in c:\users\dperez\appdata\local\programs\python\python37-32\lib\site-packages (from protobuf==3.6.0->-r requirements.txt (line 1)) (40.8.0)
    Installing collected packages: six, protobuf
    Successfully installed protobuf-3.6.0 six-1.11.0
    You are using pip version 19.0.3, however version 19.2.3 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.

    after you have done this command, run the following command:
    python payload_dumper.py payload.bin
    this one will take some time to run and it will extract all the .IMG files from the payload.bin file
    you should see an output like this:

    xbl
    xbl_config
    aop
    devcfg
    tz
    cmnlib
    cmnlib64
    dsp
    hyp
    keymaster
    abl
    bluetooth
    modem
    boot
    dtbo
    system
    vendor
    vbmeta
    asusfw
    qupfw
    uefisecapp
    xrom

    when this is finished, hold control and select the boot.img file && and the system.img file
    copy them
    paste them where you have the fastboot tools
    navigate to that folder in command prompt
    paste the following:

    fastboot flash boot_a boot.img
    fastboot flash boot_b boot.img
    fastboot flash system_a system.img
    fastboot flash system_b system.img

    the following is output:

    C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot devices
    ABCDEFG1234567 fastboot

    C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash boot_a boot.img
    target reported max download size of 805306368 bytes
    sending 'boot_a' (98304 KB)...
    OKAY [ 2.536s]
    writing 'boot_a'...
    OKAY [ 1.889s]
    finished. total time: 4.434s

    C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash boot_b boot.img
    target reported max download size of 805306368 bytes
    sending 'boot_b' (98304 KB)...
    OKAY [ 2.309s]
    writing 'boot_b'...
    OKAY [ 1.850s]
    finished. total time: 4.166s

    C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash system_a system.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    erasing 'system_a'...
    OKAY [ 19.418s]
    sending sparse 'system_a' 1/5 (777195 KB)...
    OKAY [ 19.089s]
    writing 'system_a' 1/5...
    OKAY [ 0.003s]
    sending sparse 'system_a' 2/5 (712614 KB)...
    OKAY [ 24.339s]
    writing 'system_a' 2/5...
    OKAY [ 0.003s]
    sending sparse 'system_a' 3/5 (746935 KB)...
    OKAY [ 22.488s]
    writing 'system_a' 3/5...
    OKAY [ 0.016s]
    sending sparse 'system_a' 4/5 (778963 KB)...
    OKAY [ 25.393s]
    writing 'system_a' 4/5...
    OKAY [ 0.007s]
    sending sparse 'system_a' 5/5 (444941 KB)...
    OKAY [ 26.145s]
    writing 'system_a' 5/5...
    OKAY [ 0.003s]
    finished. total time: 136.949s

    C:\Users\surface\Desktop\Asus\Fastboot\fastboot\tools>fastboot flash system_b system.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    erasing 'system_b'...
    OKAY [ 13.330s]
    sending sparse 'system_b' 1/5 (777195 KB)...
    OKAY [ 19.158s]
    writing 'system_b' 1/5...
    OKAY [ 0.006s]
    sending sparse 'system_b' 2/5 (712614 KB)...
    OKAY [ 24.303s]
    writing 'system_b' 2/5...
    OKAY [ 0.018s]
    sending sparse 'system_b' 3/5 (746935 KB)...
    OKAY [ 22.501s]
    writing 'system_b' 3/5...
    OKAY [ 0.017s]
    sending sparse 'system_b' 4/5 (778963 KB)...
    OKAY [ 25.291s]
    writing 'system_b' 4/5...
    OKAY [ 0.003s]
    sending sparse 'system_b' 5/5 (444941 KB)...
    OKAY [ 26.169s]
    writing 'system_b' 5/5...
    OKAY [ 0.005s]
    finished. total time: 130.843s

    you should now be able to get into the stock recovery, from there, you can either use ADB sideload to flash back to the stock firmware, or you can put it on an SD card and flash it from there, which is what i did. Hope this was helpful.

    ---------- Post added at 08:21 PM ---------- Previous post was at 08:01 PM ----------

    Ugh nothing worked now stuck in edl mode. Can connect to qcomm. Anyone know how to recover it from there lol

    i posted how i fixed mine in detail
    1
    So if you are in fastboot mode this means you should still be able to fast boot flash.

    When in fastboot don't select anything (on the screen with the option to start your phone), plug your phone into your computer and move (cd) to your platform tools folder. Open a terminal or ADMINISTRATOR powershell at this location.

    You will need to download the TWRP fastboot image from on of the ROM threads below, it doesn't matter which one you get they both work. It may be easier to download the IMG from the unofficial twrp thread because there is a download link on the front page.

    Now you want to run sudo fastboot flash boot twrp.img if you are using terminal or .\fastboot flash boot twrp.img if you are using powershell.

    After that completes you should now select recovery mode on your screen and you SHOULD boot into twrp. My advice (it worked best for me) is in twrp complete wipe your phone then get the new TWRP installer zip and flash that. Then reboot to recovery and flash the stock ROM you download from asus.

    Everything should work fine, feel free to ask me if you need more clarification. (Obligatory not responsible for bricks)
    1
    Ran into an issue where i could not get to anything but fastboot on the phone and could not flash TWRP from fastboot
    here was the solution i came to

    Thank you so much! I thought I just bricked my new phone.
    1
    Yes yes YES! It fixed the phone and brought it back to life!!!! Amazing ...thank you thank you thank you.

    Follow the instructions as he put them. Works like a charm!