i cant flash or erase any partition in fastboot mode - G4 Q&A, Help & Troubleshooting

when ever i try to flash or erase a file in fastboot mode on my lg g4 i keep getting the error
FAILED (remote: cannot erase this partition in unlocked state)
finished. total time: 0.024s
and when i lock the bootloader in fastboot mode and try again i still get an error
erasing 'laf'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.023s
please what do i do? i really need your help

Mortal Killer said:
when ever i try to flash or erase a file in fastboot mode on my lg g4 i keep getting the error
FAILED (remote: cannot erase this partition in unlocked state)
finished. total time: 0.024s
and when i lock the bootloader in fastboot mode and try again i still get an error
erasing 'laf'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.023s
please what do i do? i really need your help
Click to expand...
Click to collapse
Double post and Member requested to close the thread
THREAD CLOSED

Related

Can someone with a Nexus give me some info?

I need some info. Can someone with a Galaxy Nexus do those two commands in fastboot please? They'll just print text.
1. fastboot oem h fastboot oem ?
2. fastboot oem listpartition
Thanks!
Edit:
fastboot oem h:
FAILED (remote: Invalid Argument)
finished. total time: 0.005s
fastboot oem listpartition:
FAILED (remote: Invalid Argument)
finished. total time: 0.006s
Strange...
fastboot oem ?
Click to expand...
Click to collapse
then?
C:\p8\Android\android-sdk\platform-tools>fastboot oem
finished. total time: 1324643783.452s
I meant to try "fastboot oem ?"

fastboot cannot flash

I am unable to flash either a recovery or boot. I get reply with devices , phone is unlocked.
Any idea how to overcome error?
C:\HTC>fastboot flash boot boot.img
sending 'boot' (5106 KB)... OKAY [ 0.618s]
writing 'boot'... INFOFormat partition LNX done
FAILED (remote: err = 0x30000)
finished. total time: 7.429s
C:\HTC>fastboot erase cache
erasing 'cache'... FAILED (remote: err = 0x19000008)
finished. total time: 0.080s
Thanks Fish
Hmm , tried on a different pc same error.
eventually wouldnt boot to recovery.
then bootloader said locked.
factory reset, now unlocked.
tried again still no flash.
left overnight, plugged into usb, flash erase worked and now flashed boot.img
fails on set up wizard stopped working.
will fully charge the try to install sebtinel rom from recovery.
Thread #3
Sent from my HTC One X using XDA Premium 4 mobile app

Saving Data from locked, bricked device

Hey there,
as the title of the threat already indicates, my HTC One X got bricked.
As this usually happens when trying to flash some custom roms or recoverys, in my case it is the result of an official HTC update for android.
I can boot into Fastboot, and via cmd "fastboot devices" does show me the connected phone.
Now my approach for solving this matter was to flash the clockwork mod and then boot into recovery.
From there i wanted to pull data from the phone via adb commands.
The only problem is that my phone is locked. I cannot unlock it at the moment without wiping all data (which obviously would miss the whole data recovery point).
When i try tp flash the CWM in fastboot i get:
sending 'recovery' (8100 KB)...
FAILED (unknown status code)
finished. total time: 0.933s
I also tried to directly boot a recovery via fastboot boot recovery.img.
This resulted in
downloading 'boot.img'...
FAILED (unknown status code)
finished. total time: 0.933s
Well now I am seriously frustrated and dont know how to get my data.
Any help is very much appreciated.
Cheers
Josef
Update:
fastboot flash recovery recovery.img
target reported max download size of 1514139648 bytes
sending 'recovery' (8100 KB)...
OKAY [ 1.066s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.720s
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.066s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.068s
fastboot boot recovery recovery.img
cannot load 'recovery': Permission denied
any help?
joe1000 said:
Update:
fastboot flash recovery recovery.img
target reported max download size of 1514139648 bytes
sending 'recovery' (8100 KB)...
OKAY [ 1.066s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.720s
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.066s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.068s
fastboot boot recovery recovery.img
cannot load 'recovery': Permission denied
any help?
Click to expand...
Click to collapse
You must to unlock the device qith locked you can't do anything but if you unlock it is possible to wipe all data on the SD card
well but thats exactly the problem...

Help unbrick honor 7x frp locked, bootloader loked. rescue mode only save me or..?

Hi all,
I seen this community and some peoples very expert of honor 7x in many post pls help me to up to life my phone....... i continusly testing honor 7x because i love this model but something went wrong this time........... i forget to install twrprecovery and unfortunatly lock bootloader because in my mind i think when lock or relock the phone do hard reset and all partition go in right place.......but........ i think the phone erase all data and now i have bootloader loked frp loked and twrp screen bootloop when try to open phone with all conbination of key + pc don't recognized fastboot metod.... so i unmonted honor 7x and unmounted battery press volume down+power+usb cable and only in this way i can put file in phone with rescue mode fastboot and adb recognized the device "fastboot devices" with serial but frp and bootloader still locked.....
P.s.
-IF SOME ONE CAN HELP ME I WANT ONLY PUT STOCK RECOVERY OR TWRP then i can unbrick myself.. thank's hope in a responze me i'm so mad for this unluky brick because i do many attention when mod android device -_- but this time evil come to brick.....
-OR REMOUNT ALL IMAGES FILE BUT WITH DEVICE IN THIS STATE IS VERY difficult.....
-OR UNLOCK BOOTLOADER WITHOUT ENTER IN DEVELOPPERS OPTION I MEAN IN FAST BOOT BECAUSE I ONLY CAN USE RESCUE MODE..
here the results of fast boot mode hlep me and i can support you:
PS C:\adb> fastboot oem get-product-model
...
(bootloader) BND-L21
OKAY [ 0.000s]
finished. total time: 0.000s
PS C:\adb> fastboot getvar vendorcountry
vendorcountry: hw/eu
finished. total time: 0.016s
PS C:\adb> fastboot oem get-build-number
...
(bootloader) :BND-L21 8.0.0.302(C432log)
OKAY [ 0.016s]
finished. total time: 0.016s
PS C:\adb> fastboot getvar rescue_enter_recovery
getvar:rescue_enter_recovery FAILED (remote: FAIL:need all image flashed!)
finished. total time: 0.016s
PS C:\adb> fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :BND-L21C432B121CUSTC432D001
OKAY [ 0.016s]
finished. total time: 0.016s
FAILED dload folder with oreo update.app single file or with other files in the zip..........
FAILED TO flash in fastboot rescue mode system (fastboot flash system system.img or other files .img).......
FAILED ALL TENTATIVES TO FLASH RECOVERY MANY TYPE ... because bootloader is closed.........
PS C:\adb> fastboot boot C:\adb\twrpimgmount_ramdisk.img
downloading 'boot.img'...
OKAY [ 0.501s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.517s
PS C:\adb> fastboot boot C:\adb\BND-RECOVERY-NoCheck.img
downloading 'boot.img'...
OKAY [ 1.222s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 1.238s
PS C:\adb> fastboot boot C:\adb\twrp_openkirin_sudeep.img
downloading 'boot.img'...
OKAY [ 0.851s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.853s
PS C:\adb> fastboot boot C:\adb\twrp_ramdisk_oreo_19-4-18.img
downloading 'boot.img'...
OKAY [ 0.801s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.801s
PLEASE TELL ME YOUR OPINION or if i paied FUNKY HUAWEI SOFTWARE for unbrick ..... or buy new mainboard.............
BEST REGARDS TO ALL COMUNITY....
JKmamba$ said:
Hi all,
I seen this community and some peoples very expert of honor 7x in many post pls help me to up to life my phone....... i continusly testing honor 7x because i love this model but something went wrong this time........... i forget to install twrprecovery and unfortunatly lock bootloader because in my mind i think when lock or relock the phone do hard reset and all partition go in right place.......but........ i think the phone erase all data and now i have bootloader loked frp loked and twrp screen bootloop when try to open phone with all conbination of key + pc don't recognized fastboot metod.... so i unmonted honor 7x and unmounted battery press volume down+power+usb cable and only in this way i can put file in phone with rescue mode fastboot and adb recognized the device "fastboot devices" with serial but frp and bootloader still locked.....
P.s.
-IF SOME ONE CAN HELP ME I WANT ONLY PUT STOCK RECOVERY OR TWRP then i can unbrick myself.. thank's hope in a responze me i'm so mad for this unluky brick because i do many attention when mod android device -_- but this time evil come to brick.....
-OR REMOUNT ALL IMAGES FILE BUT WITH DEVICE IN THIS STATE IS VERY difficult.....
-OR UNLOCK BOOTLOADER WITHOUT ENTER IN DEVELOPPERS OPTION I MEAN IN FAST BOOT BECAUSE I ONLY CAN USE RESCUE MODE..
here the results of fast boot mode hlep me and i can support you:
PS C:\adb> fastboot oem get-product-model
...
(bootloader) BND-L21
OKAY [ 0.000s]
finished. total time: 0.000s
PS C:\adb> fastboot getvar vendorcountry
vendorcountry: hw/eu
finished. total time: 0.016s
PS C:\adb> fastboot oem get-build-number
...
(bootloader) :BND-L21 8.0.0.302(C432log)
OKAY [ 0.016s]
finished. total time: 0.016s
PS C:\adb> fastboot getvar rescue_enter_recovery
getvar:rescue_enter_recovery FAILED (remote: FAIL:need all image flashed!)
finished. total time: 0.016s
PS C:\adb> fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :BND-L21C432B121CUSTC432D001
OKAY [ 0.016s]
finished. total time: 0.016s
FAILED dload folder with oreo update.app single file or with other files in the zip..........
FAILED TO flash in fastboot rescue mode system (fastboot flash system system.img or other files .img).......
FAILED ALL TENTATIVES TO FLASH RECOVERY MANY TYPE ... because bootloader is closed.........
PS C:\adb> fastboot boot C:\adb\twrpimgmount_ramdisk.img
downloading 'boot.img'...
OKAY [ 0.501s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.517s
PS C:\adb> fastboot boot C:\adb\BND-RECOVERY-NoCheck.img
downloading 'boot.img'...
OKAY [ 1.222s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 1.238s
PS C:\adb> fastboot boot C:\adb\twrp_openkirin_sudeep.img
downloading 'boot.img'...
OKAY [ 0.851s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.853s
PS C:\adb> fastboot boot C:\adb\twrp_ramdisk_oreo_19-4-18.img
downloading 'boot.img'...
OKAY [ 0.801s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.801s
PLEASE TELL ME YOUR OPINION or if i paied FUNKY HUAWEI SOFTWARE for unbrick ..... or buy new mainboard.............
BEST REGARDS TO ALL COMUNITY....
Click to expand...
Click to collapse
this needs to come here n the open, not in my PM.
PS C:\adb> fastboot flash rescue_recovery_ramdisk C:\adb\twrp_openkirin_sudeep.img
target reported max download size of 471859200 bytes
sending 'rescue_recovery_ramdisk' (25164 KB)...
OKAY [ 0.854s]
writing 'rescue_recovery_ramdisk'...
OKAY [ 0.031s]
finished. total time: 0.885s
PS C:\adb> fastboot reboot
rebooting...
Click to expand...
Click to collapse
recovery flashed while frp and bootloader locked.
!!!!!!!!!!!!!
---------- Post added at 06:55 PM ---------- Previous post was at 06:16 PM ----------
What happens after reboot, try to boot to recovery with volume button, when you use
Code:
fastboot flash rescue_recovery_ramdisk RECOVERY_RAMDIS.img
recovery_ramdisk
does phone still have your broken twrp or the stock recovery?
JKmamba$ said:
https://ibb.co/nKOuRT
https://ibb.co/ccECD8
https://ibb.co/m1qxfo
for new users prevented post external link sorry .... you can for me?
Click to expand...
Click to collapse
so the fastboot command shows ok flashed, but its not changing the loaded recovery image.
don't know what to suggest next.
JKmamba$ said:
Hi all,
I seen this community and some peoples very expert of honor 7x in many post pls help me to up to life my phone....... i continusly testing honor 7x because i love this model but something went wrong this time........... i forget to install twrprecovery and unfortunatly lock bootloader because in my mind i think when lock or relock the phone do hard reset and all partition go in right place.......but........ i think the phone erase all data and now i have bootloader loked frp loked and twrp screen bootloop when try to open phone with all conbination of key + pc don't recognized fastboot metod.... so i unmonted honor 7x and unmounted battery press volume down+power+usb cable and only in this way i can put file in phone with rescue mode fastboot and adb recognized the device "fastboot devices" with serial but frp and bootloader still locked.....
P.s.
-IF SOME ONE CAN HELP ME I WANT ONLY PUT STOCK RECOVERY OR TWRP then i can unbrick myself.. thank's hope in a responze me i'm so mad for this unluky brick because i do many attention when mod android device -_- but this time evil come to brick.....
-OR REMOUNT ALL IMAGES FILE BUT WITH DEVICE IN THIS STATE IS VERY difficult.....
-OR UNLOCK BOOTLOADER WITHOUT ENTER IN DEVELOPPERS OPTION I MEAN IN FAST BOOT BECAUSE I ONLY CAN USE RESCUE MODE..
here the results of fast boot mode hlep me and i can support you:
PS C:\adb> fastboot oem get-product-model
...
(bootloader) BND-L21
OKAY [ 0.000s]
finished. total time: 0.000s
PS C:\adb> fastboot getvar vendorcountry
vendorcountry: hw/eu
finished. total time: 0.016s
PS C:\adb> fastboot oem get-build-number
...
(bootloader) :BND-L21 8.0.0.302(C432log)
OKAY [ 0.016s]
finished. total time: 0.016s
PS C:\adb> fastboot getvar rescue_enter_recovery
getvar:rescue_enter_recovery FAILED (remote: FAIL:need all image flashed!)
finished. total time: 0.016s
PS C:\adb> fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :BND-L21C432B121CUSTC432D001
OKAY [ 0.016s]
finished. total time: 0.016s
FAILED dload folder with oreo update.app single file or with other files in the zip..........
FAILED TO flash in fastboot rescue mode system (fastboot flash system system.img or other files .img).......
FAILED ALL TENTATIVES TO FLASH RECOVERY MANY TYPE ... because bootloader is closed.........
PS C:\adb> fastboot boot C:\adb\twrpimgmount_ramdisk.img
downloading 'boot.img'...
OKAY [ 0.501s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.517s
PS C:\adb> fastboot boot C:\adb\BND-RECOVERY-NoCheck.img
downloading 'boot.img'...
OKAY [ 1.222s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 1.238s
PS C:\adb> fastboot boot C:\adb\twrp_openkirin_sudeep.img
downloading 'boot.img'...
OKAY [ 0.851s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.853s
PS C:\adb> fastboot boot C:\adb\twrp_ramdisk_oreo_19-4-18.img
downloading 'boot.img'...
OKAY [ 0.801s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.801s
PLEASE TELL ME YOUR OPINION or if i paied FUNKY HUAWEI SOFTWARE for unbrick ..... or buy new mainboard.............
BEST REGARDS TO ALL COMUNITY....
Click to expand...
Click to collapse
HI, You said if you could put stock recovery then you can unbrick yourself. Can you elaborate on this please? Also, you tried the load method with the update.app so can you tell me where did you get that file? I'm in the same situation. I locked myself out completely trusting that the dload update.app method so that I could go back to complete stock as I was stuck in the emui 8 beta earlier with twrp installed with twrp backups. I have stock recovery "RECOVERY_RAMDIS.IMG" installed on my phone. I flashed it to get rid of TWRP so I could be on stock recovery.
I flashed stock recovery, relocked bootloader and tried the dload method and every time it fails at 5%. I'm using BND AL10C675 (INDIAN) so now I can't unlock bootloader because I need to enable "OEM unlock" in settings and I can't do that cos I can't boot into system as the system is formatted (NO OS) and so I can't install twrp or any system images nothing. I just locked myself out and I can't believe it. **** does happen
Thetpcguy said:
HI, You said if you could put stock recovery then you can unbrick yourself. Can you elaborate on this please? Also, you tried the load method with the update.app so can you tell me where did you get that file? I'm in the same situation. I locked myself out completely trusting that the dload update.app method so that I could go back to complete stock as I was stuck in the emui 8 beta earlier with twrp installed with twrp backups. I have stock recovery "RECOVERY_RAMDIS.IMG" installed on my phone. I flashed it to get rid of TWRP so I could be on stock recovery.
I flashed stock recovery, relocked bootloader and tried the dload method and every time it fails at 5%. I'm using BND AL10C675 (INDIAN) so now I can't unlock bootloader because I need to enable "OEM unlock" in settings and I can't do that cos I can't boot into system as the system is formatted (NO OS) and so I can't install twrp or any system images nothing. I just locked myself out and I can't believe it. **** does happen
Click to expand...
Click to collapse
let me chek man take a pictures of all single screen you'll see... RECOVERY, AFTER RECOVERY (bootloop logo, black screen ecc), and FAST BOOT MODE.. maybe i help you ... i won't to roll back my device because oreo is very perfomance but so buggy for exemple bluethoot don't worck multy shut on photograf bugged or many root application work and after 5 min close with (root with magisk -_-")... in nougat don't have ever this problem root with only super su and all unlocked....

Errors when trying to flash stock image

Hi all,
I'm trying to unroot and relock my Pixel 2 XL because I need to send it in for warranty for an issue with the phone's microphone.
when I try to run the flash-all command in adb I get errors during each step. Could somebody help me figure out what's going on?
Here is what adb is kicking back at me:
Code:
C:\platform-tools>adb reboot bootloader
C:\platform-tools>fastboot devices
712KPRW1212070 fastboot
C:\platform-tools>flash-all
Sending 'bootloader' (36336 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.045s
rebooting into bootloader FAILED (Write to device failed (Too many links))
Finished. Total time: 0.040s
Sending 'radio' (60388 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.045s
rebooting into bootloader FAILED (Write to device failed (Unknown error))
Finished. Total time: 5.035s
extracting android-info.txt (0 MB) to RAM...
--------------------------------------------
getvar:version-bootloader FAILED (Write to device failed (Unknown error))
fastboot: error: requirements not met!
Press any key to exit...
Chelseablue said:
Hi all,
I'm trying to unroot and relock my Pixel 2 XL because I need to send it in for warranty for an issue with the phone's microphone.
when I try to run the flash-all command in adb I get errors during each step. Could somebody help me figure out what's going on?
Here is what adb is kicking back at me:
Code:
C:\platform-tools>adb reboot bootloader
C:\platform-tools>fastboot devices
712KPRW1212070 fastboot
C:\platform-tools>flash-all
Sending 'bootloader' (36336 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.045s
rebooting into bootloader FAILED (Write to device failed (Too many links))
Finished. Total time: 0.040s
Sending 'radio' (60388 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.045s
rebooting into bootloader FAILED (Write to device failed (Unknown error))
Finished. Total time: 5.035s
extracting android-info.txt (0 MB) to RAM...
--------------------------------------------
getvar:version-bootloader FAILED (Write to device failed (Unknown error))
fastboot: error: requirements not met!
Press any key to exit...
Click to expand...
Click to collapse
By the way, I am flashing image 9.0.0 (PQ1A.181205.002, Dec 2018)
I tried flashing the most recent one and got the same errors so I tried an older image.
Chelseablue said:
Hi all,
I'm trying to unroot and relock my Pixel 2 XL because I need to send it in for warranty for an issue with the phone's microphone.
when I try to run the flash-all command in adb I get errors during each step. Could somebody help me figure out what's going on?
Here is what adb is kicking back at me:
By the way, I am flashing image 9.0.0 (PQ1A.181205.002, Dec 2018)
I tried flashing the most recent one and got the same errors so I tried an older image.
Click to expand...
Click to collapse
What version of platform-tools are you using?
And, if your already on stock rom, just do a factory reset and send it back. An unlocked bootloader doesn't void your warranty.
Badger50 said:
What version of platform-tools are you using?
And, if your already on stock rom, just do a factory reset and send it back. An unlocked bootloader doesn't void your warranty.
Click to expand...
Click to collapse
I'm running r28.0.1. Really? I thought it had to have the bootloader locked for warranty. If that's the case, it would save me the time...
Chelseablue said:
I'm running r28.0.1. Really? I thought it had to have the bootloader locked for warranty. If that's the case, it would save me the time...
Click to expand...
Click to collapse
Just reset it and send it in. Many have done so including myself with the 6p. Question, have you tried a different cable, and are using the command...fastboot flashing lock....?
And, have you run the magisk uninstaller zip to fully get rid of root?

Categories

Resources