Hi,
I have problem formatting partitions
➜ platform-tools ./fastboot erase system
******** Did you mean to fastboot format this ext4 partition?
erasing 'system'...
ERROR: usb_read failed with status e00002e8
FAILED (status read failed (Invalid argument))
finished. total time: 0.003s
➜ platform-tools ./fastboot erase boot
erasing 'boot'...
ERROR: usb_read failed with status e00002e8
FAILED (status read failed (Invalid argument))
finished. total time: 0.003s
➜ platform-tools
Using ./fastboot format fails similarly.
hrstoyanov said:
Hi,
I have problem formatting partitions
? platform-tools ./fastboot erase system
******** Did you mean to fastboot format this ext4 partition?
erasing 'system'...
ERROR: usb_read failed with status e00002e8
FAILED (status read failed (Invalid argument))
finished. total time: 0.003s
? platform-tools ./fastboot erase boot
erasing 'boot'...
ERROR: usb_read failed with status e00002e8
FAILED (status read failed (Invalid argument))
finished. total time: 0.003s
? platform-tools
Using ./fastboot format fails similarly.
Click to expand...
Click to collapse
The reason I want to format/erase the partitions is because i cannot flash my phone anymore:
./fastboot flash system ~/Downloads/split_updata.pl/kiw_l24_a6.0.1_emui4.0_d003_US/SYSTEM.img
target reported max download size of 266338304 bytes
erasing 'system'...
ERROR: usb_read failed with status e00002e8
FAILED (status read failed (Undefined error: 0))
finished. total time: 0.001s
Also, when I put the phone in fastboot mode I see this:
PHONE Unlocked
FRP Lock
Could that "FRP Lock" be the reason why fastboot does not work, and if so how can I get rid of this FRP Lock?
The FRP Lock appeared after I decided that I had enough with CM13 and wanted to flash back the stock images. The phone is unlocked, but i cannot boot it up unless with fastboot.
About to throw away this phone ... out of ideas...:crying:
I found this for frp lock:
*to remove the factory reset protection (frp) to do this you need to remove all pin/password/fingerprint locks, then remove all google accounts and finally do a factory reset.
Google frp lock xda honor 5x, there are some threads.
Good luck
Sent from my KIW-L21 using XDA-Developers mobile app
rodolphe06 said:
I found this for frp lock:
*to remove the factory reset protection (frp) to do this you need to remove all pin/password/fingerprint locks, then remove all google accounts and finally do a factory reset.
Google frp lock xda honor 5x, there are some threads.
Good luck
Sent from my KIW-L21 using XDA-Developers mobile app
Click to expand...
Click to collapse
I also looked at those, but they are all talking about a fully operational device. The most I can do with my phone is some limited FASTBOOT operations, like:
./fastboot oem get-bootinfo
...
(bootloader) *******************************************
(bootloader) Bootloader Lock State: UNLOCKED
(bootloader) Root State: ROOT
(bootloader) Bootloader WidevineKey: WidevineKey_VALID
(bootloader) System State: Bootloader in UNLOCKED state
(bootloader) Bootloader Version: 001.001.000
(bootloader) *******************************************
OKAY [ 0.011s]
finished. total time: 0.011s
The way it got bricked is, because it is a KIW-UL00 device and I tried to install the US stock rom in it (KIW-L24), like this:
./fastboot flash boot ./kiw_l24_a6.0.1_emui4.0_d003_US/BOOT.img
./fastboot flash system ./kiw_l24_a6.0.1_emui4.0_d003_US/SYSTEM.img
./fastboot flash recovery ./kiw_l24_a6.0.1_emui4.0_d003_US/RECOVERY.img
after that, I tried to reboot the phone and the the restoration of the stock rom did start. However it got to about 5%, then
the phone started rebooting itself and never finished. As a result, I think the FRP Lock appered and I can no longer run the above
commands even though I have the the right stock rom for KIW-UL00.
Any chance to fix that?
Overall the problem I got into this is that no one has tested CM13 or TWRP3 with this particular Honor 5x model, KIW-UL00, which gets people to follow instructions and get their phones bricked. Should have known this before I started ... sigh ...
Related
Hey all, yesterday I only flashed 4.4.4 Kitkat in my phone (previously running custom 5.1.1).
(PS also received 3 5.0.2 updates as I was on soak test)
Anyways, the problem I am facing is that:
MY logo.bin is getting flashed, but still showing "Warning bootloader unlocked"
WHY?
I must mention here that I didnot flash gpt.bin and motoboot.img..... Do these files have anything to do with it?
Please help.
Maybe because your bootloader is still unlocked so the unlocked bootloader must have replaced the logo.bin if though you flashed it
Sent from my condor using Tapatalk
Moto E XT1022 soft bricked ad USB debugging is not enabled
[/B]
Faiz Syed said:
Maybe because your bootloader is still unlocked so the unlocked bootloader must have replaced the logo.bin if though you flashed it
Sent from my condor using Tapatalk
Click to expand...
Click to collapse
Dear Faiz, I have soft bricked my moto e 1st gen (XT1022) India dual sim variant after I tried to flash android 5.1 from 5.0.2. While flashing I copied the 13MB (small bug fix) Condor zipfile ad everything went fine, however I forgot to disconnect the USB cable after pasting the 13 mb zip file and the phone got stuck in bootloop. It throws up the error "E: Can't mount /cache/recovery/last_install and E: Can't open /dev/block/platform/msm_sdcc.1/
Now I have not enabled USB debugging previously and the device is not getting detected in ADB cmd. But in mfastboot cmd I can see the device, but there I cannot flash as it is not able to clear cache or data or anything. Oh also, during trying to reset my phone i tried to unlock the bootloader and now the bootloader is unlocked.
How to recover my phone back to normal? Please guide.
UjRock said:
[/B]
Dear Faiz, I have soft bricked my moto e 1st gen (XT1022) India dual sim variant after I tried to flash android 5.1 from 5.0.2. While flashing I copied the 13MB (small bug fix) Condor zipfile ad everything went fine, however I forgot to disconnect the USB cable after pasting the 13 mb zip file and the phone got stuck in bootloop. It throws up the error "E: Can't mount /cache/recovery/last_install and E: Can't open /dev/block/platform/msm_sdcc.1/
Now I have not enabled USB debugging previously and the device is not getting detected in ADB cmd. But in mfastboot cmd I can see the device, but there I cannot flash as it is not able to clear cache or data or anything. Oh also, during trying to reset my phone i tried to unlock the bootloader and now the bootloader is unlocked.
How to recover my phone back to normal? Please guide.
Click to expand...
Click to collapse
It looks like you did something wrong while flashing and the gpt(partition tables) may have got corrupted thats why it shows it cant mount cache partition or open dev/block directory files...what exact error does it show after entering the commands in fastboot?
Sent from my condor using Tapatalk
Moto E XT1022 soft bricked ad USB debugging is not enabled
Faiz Syed said:
It looks like you did something wrong while flashing and the gpt(partition tables) may have got corrupted thats why it shows it cant mount cache partition or open dev/block directory files...what exact error does it show after entering the commands in fastboot?
Sent from my condor using Tapatalk
Click to expand...
Click to collapse
Thanks for the quick response Faiz, please find the screenshot of the errors when I try to flash from SD card and the mfastboot cmd.
These are the commands in the install ROM .bat file;
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
pause
mfastboot.exe reboot
This is what i get in mfastboot cm whe i run the istall ROM .bat file;
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash partition gpt.b
in
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 10.491s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash motoboot motobo
ot.img
target max-sparse-size: 256MB
error: cannot load 'motoboot.img': No error
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (527 KB)...
OKAY [ 0.062s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 5.077s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash boot boot.img
target max-sparse-size: 256MB
error: cannot load 'boot.img': No error
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash recovery recove
ry.img
target max-sparse-size: 256MB
error: cannot load 'recovery.img': No error
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash system system.i
mg_sparsechunk.0
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.0': No error
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash system system.i
mg_sparsechunk.1
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.1': No error
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash system system.i
mg_sparsechunk.2
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.2': No error
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash modem NON-HLOS.
bin
target max-sparse-size: 256MB
error: cannot load 'NON-HLOS.bin': No error
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.039s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.028s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (648 KB)...
OKAY [ 0.094s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 5.135s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.025s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot.exe erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.025s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>pause
Press any key to continue . . .
Screenshot of SD card flash;
After looking at the command failures,from my own experience,your emmc(storage chip) may have got corrupted,the bootloader cant make any changes in the partitions neither can it write a new gpt to the storage...try this command(it wipes data,system and cache)..see if it works or what error it shows,corrupted emmc is not a good thing,could be a brick.
Fastboot erase system -w
Sent from my condor using Tapatalk
Faiz Syed said:
It looks like you did something wrong while flashing and the gpt(partition tables) may have got corrupted thats why it shows it cant mount cache partition or open dev/block directory files...what exact error does it show after entering the commands in fastboot?
Sent from my condor using Tapatalk
Click to expand...
Click to collapse
Faiz Syed said:
After looking at the command failures,from my own experience,your emmc(storage chip) may have got corrupted,the bootloader cant make any changes in the partitions neither can it write a new gpt to the storage...try this command(it wipes data,system and cache)..see if it works or what error it shows,corrupted emmc is not a good thing,could be a brick.
Fastboot erase system -w
Sent from my condor using Tapatalk
Click to expand...
Click to collapse
I tried, but it failed nevertheless.
This is what it returned:
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mfastboot devices
ZX1B33CH8Z fastboot
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>Fastboot erase system -w
'Fastboot' is not recognized as an internal or external command,
operable program or batch file.
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>mFastboot erase system -w
erasing 'system'...
(bootloader) Erase allowed in unlocked state
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.930s
D:\Utorrent Downloads\Chrome Dwlds\Mfastboot>
The problem is I do not have a proper service centre here and as per customer experiences, they have been asked to replace the motherboard. Now that is as goo as buying a new handset. Please Faiz, let me know if this is solvable or I have to simply shut down the handset and buy a new one?
Sure the emmc got corrupted and it cant be fixed,and its embedded on the motherboard so it cant be replaced either..the only solution would be to replace the motherboard,or say goodbye and buy a new phone...motherboard should cost around 2k and our device value in the market is around 2.5-3k so its not feasible..your choice.
Sent from my condor using Tapatalk
Moto E XT1022 soft bricked ad USB debugging is not enabled
Faiz Syed said:
Sure the emmc got corrupted and it cant be fixed,and its embedded on the motherboard so it cant be replaced either..the only solution would be to replace the motherboard,or say goodbye and buy a new phone...motherboard should cost around 2k and our device value in the market is around 2.5-3k so its not feasible..your choice.
Sent from my condor using Tapatalk
Click to expand...
Click to collapse
Thank you very much Faiz, you were helpful in providing quick answers. I very much appreciate your time and effort. I'll buy a new phone as that seems to be a more doable option here.
You have a good day ahead!
Faiz Syed said:
Maybe because your bootloader is still unlocked so the unlocked bootloader must have replaced the logo.bin if though you flashed it
Sent from my condor using Tapatalk
Click to expand...
Click to collapse
I'll try relocking.
Hey there!
I am unable to flash TWRP through ADB fastboot commands.
Earlier i unlocked bootloader and flashed the stock kitkat 4.4.4 but my device is not booting.. it has blank screen all the time also the 'bootloader unlocked' warning logo is not showing there!
Please help me what to do..? I just want to flash TWRP..
a110 said:
Hey there!
I am unable to flash TWRP through ADB fastboot commands.
Earlier i unlocked bootloader and flashed the stock kitkat 4.4.4 but my device is not booting.. it has blank screen all the time also the 'bootloader unlocked' warning logo is not showing there!
Please help me what to do..? I just want to flash TWRP..
Click to expand...
Click to collapse
Check if your display is working
Connect your charger and see if display shows charging symbol
Rajendran Rasa said:
Check if your display is working
Connect your charger and see if display shows charging symbol
Click to expand...
Click to collapse
Yes it is working as i am able to go in fastbootmode easily. Also the battery icon is showing. I think display has no problem.
Screenshots
https://ibb.co/fQtWAv
https://ibb.co/jMSSHa
a110 said:
Yes it is working as i am able to go in fastbootmode easily. Also the battery icon is showing. I think display has no problem.
Click to expand...
Click to collapse
a110 said:
https://ibb.co/fQtWAv
https://ibb.co/jMSSHa
Click to expand...
Click to collapse
Flash stock lollipop using fastboot command
Then flash twrp
Rajendran Rasa said:
Flash stock lollipop using fastboot command
Then flash twrp
Click to expand...
Click to collapse
Sir I am getting error in cmd in all the command i tried while flashing stock lollipop through mfastbootv3 ..This message
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.406s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 6.108s
a110 said:
Sir I am getting error in cmd in all the command i tried while flashing stock lollipop through mfastbootv3 ..This message
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.406s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 6.108s
Click to expand...
Click to collapse
Erase recovery
Fastboot erase recovery
Then flash twrp
Fastboot flash recovery twrp.img
Rajendran Rasa said:
Erase recovery
Fastboot erase recovery
Then flash twrp
Fastboot flash recovery twrp.img
Click to expand...
Click to collapse
THERE IS NO SOLUTION
getting this message....
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
(bootloader) Erase allowed in unlocked state
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.004s
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 299892736 bytes
sending 'recovery' (6890 KB)...
OKAY [ 0.258s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 5.305s
a110 said:
THERE IS NO SOLUTION
getting this message....
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
(bootloader) Erase allowed in unlocked state
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.004s
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 299892736 bytes
sending 'recovery' (6890 KB)...
OKAY [ 0.258s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 5.305s
Click to expand...
Click to collapse
Can you erase data and cache in recovery??
Yes..I have already cleared data cache even factory reset through stock recovery several times..but there is no change..still facing same issue!!!
a110 said:
Yes..I have already cleared data cache even factory reset through stock recovery several times..but there is no change..still facing same issue!!!
Click to expand...
Click to collapse
Give me suitable twrp link
because i m getting error partition size mismatched .... i want suitable recovery link plz
Try erasing cache from twrp might work
Hi,
Tried to flash my Acer Iconia B3-A30. Before I start with flashing i tried some commands. The "fastboot reboot" doesn't work for me.
Every Time i try
Code:
platform-tools>fastboot reboot
Rebooting FAILED (remote: 'not support on security')
fastboot: error: Command failed
bootloader is unlocked:
Code:
platform-tools>fastboot getvar unlocked
unlocked: yes
Finished. Total time: 0.003s
but i found the secure state in the getvar info's:
Code:
platform-tools>fastboot getvar secure
secure: no
Finished. Total time: 0.004s
is it ritght?
I hope u can help me. Because my tablet stuck on boot image. Recovery doesent boot anymore.. etc.
Same problem here. Did you figure it out?
Hi
I'm stuck in my Xiaomi MI A3 bootloader, can't boot to recovery and system.
After flashing my stock firmware.
Here is my oem device info
PS C:\platform-tools> ./fastboot oem device-info (bootloader) Verity mode: true
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
OKAY [ 0.004s]
Finished. Total time: 0.006s
PS C:\platform-tools> ./fastboot getvar current-slot
current-slot: b
Finished. Total time: 0.004s
Thank you
bgsebiosjr said:
Hi
PS C:\platform-tools> ./fastboot getvar current-slot
current-slot: b
Finished. Total time: 0.004s
Thank you
Click to expand...
Click to collapse
Change current-slot to 'a' and reboot.
PS C:\platform-tools> ./fastboot flashing get_unlock_ability (bootloader) get_unlock_ability: 0
OKAY [ 0.002s]
Finished. Total time: 0.005s
PS C:\platform-tools> ./fastboot flashing unlock FAILED (remote: 'Flashing Unlock is not allowed
')
fastboot: error: Command failed
PS C:\platform-tools> ./fastboot set_active a Setting current slot to 'a' FAILED (remote: 'Slot Change is not allowed in Lock State
')
fastboot: error: Command failed
PS C:\platform-tools>
How can i use EDL?
Sapper Morton said:
Since your bootloader is locked, and there's no proper system.img in slot B, you must change it to slot A; however it's not possible in locked state, first check if it's possible to unlock, by running:
Code:
fastboot flashing get_unlock_ability
If the output is 0, you cannot unlock, and EDL is a must, otherwise, the output will be 1, therefore, unlock is possible, then proceed with the following steps:
Code:
fastboot flashing unlock
Code:
fastboot set_active a
Code:
fastboot flashing lock
As explained above, it's not possible to change slot without unlocking the bootloader.
Click to expand...
Click to collapse
msatyanarayana said:
Change current-slot to 'a' and reboot.
Click to expand...
Click to collapse
PS C:\platform-tools> ./fastboot set_active a Setting current slot to 'a' FAILED (remote: 'Slot Change is not allowed in Lock State
')
fastboot: error: Command failed
PS C:\platform-tools>
Not allowed in Lock State.
Is there any way to oem unlock without going to Debugging Mode -> OEM enable?
I can't boot my system and recovery.
bgsebiosjr said:
Not allowed in Lock State.
Is there any way to oem unlock without going to Debugging Mode -> OEM enable?
I can't boot my system and recovery.
Click to expand...
Click to collapse
EDL mode and authorized Mi account. You should contact your nearest Xiaomi service center or use some online service (you might need to open your phone yourself in such case).
Hi all,
when installing lineage 18.1 I successfully screwed up my MOTO G8. When rebooting after all installalation steps being successfull, it says
No valid operation system could be found. The device will not boot.
Booting to fastboot again I tried to flash again, but this time I get
fastboot set_active aSetting current slot to 'a' FAILED (remote: '')
fastboot: error: Command failedTrying to to flash something does not work as well, e.g.
fastboot flash recovery recovery.imgending 'recovery' (24924 KB) OKAY [ 0.752s]Writing 'recovery' (bootloader) Invalid partition name recovery
FAILED (remote: '')
fastboot: error: Command failedApperently the partition table appears to be broken. Can I restore it?
badkey212 said:
Hi all,
when installing lineage 18.1 I successfully screwed up my MOTO G8. When rebooting after all installalation steps being successfull, it says
No valid operation system could be found. The device will not boot.
Booting to fastboot again I tried to flash again, but this time I get
fastboot set_active aSetting current slot to 'a' FAILED (remote: '')fastboot: error: Command failedTrying to to flash something does not work as well, e.g.
fastboot flash recovery recovery.imgending 'recovery' (24924 KB) OKAY [ 0.752s]Writing 'recovery' (bootloader) Invalid partition name recoveryFAILED (remote: '')fastboot: error: Command failedApperently the partition table appears to be broken. Can I restore it?
Click to expand...
Click to collapse
Does the bootloader say "flashing_locked" now?
Try
Code:
fastboot flash partition gpt.bin
sd_shadow said:
Does the bootloader say "flashing_locked" now?
Try
Code:
fastboot flash partition gpt.bin
Click to expand...
Click to collapse
That helped, thank you!