Long time lurker first time poster, but I need help!!!
Getting tired of waiting for my OTA 7.11 and after a long night at work decided rather than just manually flashing the file that I would use the NRT. I must've encountered an error as it left me in Fastboot so I try to manually flash everything with it being stuck on the "Google" pre-boot screen. I try again with the version that I was on prior to update (NBD91X) and still the same results. Looking at the log from my Command Prompt I notice upon flashing the bootloader I have this error:
sending 'bootloader' (4071 KB)...
OKAY [ 0.219s]
writing 'bootloader'...
(bootloader) Motoboot: invalid GPT
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.408s
I am only able to boot into Fastboot and unable to boot into Recovery. What are my options to getting my N6 back?
Thank you all for the help.
Hi. Download last adb + fastboot executables here:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Extract the files somewhere.
Download Google factory image and extract it in the same folder you have the fastboot executable.
Boot in bootloader "power + volume down" and follow this guide:
https://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
I always choose the second option (manually flashing all files).
Good luck..!
5.1 said:
Hi. Download last adb + fastboot executables here:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Extract the files somewhere.
Download Google factory image and extract it in the same folder you have the fastboot executable.
Boot in bootloader "power + volume down" and follow this guide:
https://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
I always choose the second option (manually flashing all files).
Good luck..!
Click to expand...
Click to collapse
Thanks for your reply. Even after getting a fresh download of adb/fastboot files I'm still encountering this error when trying to flash the bootloader;
c:\Users\matt\Downloads\platform-tools>fastboot devices
ZX1G3249HB fastboot
c:\Users\matt\Downloads\platform-tools>fastboot flash bootloader C:\Users\matt\D
ownloads\platform-tools\shamu-n6f26r\bootloader-shamu-moto-apq8084-72.01.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.134s]
writing 'bootloader'...
(bootloader) Motoboot: Preflash validation for aboot
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.433s
Any other suggestions?
bootloader is locked correct?
SynisterWolf said:
bootloader is locked correct?
Click to expand...
Click to collapse
The bootloader has been unlocked from the day I took it out of the box. I still have the little "unlocked" icon at the bottom of the "Google pre-boot" screen that it stays stuck at when I try to boot the phone.
Can you issue this command while in bootloader:
fastboot oem device-info
"Remote failure" sounds like as the bootloader is locked...
Also your problem sounds similar to this one:
https://forum.xda-developers.com/nexus-6/help/bricked-t3523844
I really don't know what you can do now sorry
5.1 said:
Can you issue this command while in bootloader:
fastboot oem device-info
"Remote failure" sounds like as the bootloader is locked...
Also your problem sounds similar to this one:
https://forum.xda-developers.com/nexus-6/help/bricked-t3523844
I really don't know what you can do now sorry
Click to expand...
Click to collapse
I just issued the command and got this back:
C:\Users\matt\Downloads\platform-tools>fastboot devices
ZX1G3249HB fastboot
C:\Users\matt\Downloads\platform-tools>fastboot oem device-info
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) 'device-info' is not a supported oem command
(bootloader) See 'fastboot oem help'
FAILED (remote failure)
finished. total time: 0.011s
I hope I'm not screwed like the thread you suggested. At this point if I could just get a fresh install I'd be happy with that. Otherwise I guess I could start looking for an N6 replacement...I've put my sim card in my old MotoX 2013 and boy is this phone smaller than I remember.
AGGHHHHH!!! Thanks for your help and please let me know if there is anything else you could suggest for me to try.
Try: fastboot getvar all
Paste the result. Just hide you imei...
5.1 said:
Try: fastboot getvar all
Click to expand...
Click to collapse
I'm not sure, but wasn't it possible to unbrick the n6 by flashing the 7.0 developer preview image????
coremania said:
I'm not sure, but wasn't it possible to unbrick the n6 by flashing the 7.0 developer preview image????
Click to expand...
Click to collapse
That's interesting. I'd be game for whatever weird ass technique there is to get it up and running.
the200sx said:
That's interesting. I'd be game for whatever weird ass technique there is to get it up and running.
Click to expand...
Click to collapse
But I can't find a download of any early preview, maybe a member here has made backup. If you get a copy, try to flash it step by step without inserted simcard
Edit: may najoor has the original file for you
https://forum.xda-developers.com/nexus-6/general/android-n-preview-2-npc91k-flashable-t3358335
coremania said:
But I can't find a download of any early preview, maybe a member here has made backup. If you get a copy, try to flash it step by step without inserted simcard
Edit: may najoor has the original file for you
https://forum.xda-developers.com/nexus-6/general/android-n-preview-2-npc91k-flashable-t3358335
Click to expand...
Click to collapse
I just read through the entire thread, while it sounds like method 2 would most likely be the option considering how I can't get into recovery, I wasn't able to find where anyone talked about it unbricking the phone. At this point I'm ready to try just about anything, but I had hoped there would be a method to keep data. It may have to wait until tomorrow so I can dedicate enough time to it. In the meantime, if anyone can point me into the direction of someone being stuck similarly to me and what they did to get out of it, I would be extremely grateful.
Thanks
Hmm... Could you just try to flash twrp?
https://dl.twrp.me/shamu/twrp-3.0.3-0-shamu.img
Place the file in fastboot folder open a cmd, cd in fastboot folder and flash it:
fastboot flash recovery twrp-3.0.3-0-shamu.img
There's 0.01% it works but doesn't anything to try at this point...
5.1 said:
Hmm... Could you just try to flash twrp?
https://dl.twrp.me/shamu/twrp-3.0.3-0-shamu.img
Place the file in fastboot folder open a cmd, cd in fastboot folder and flash it:
fastboot flash recovery twrp-3.0.3-0-shamu.img
There's 0.01% it works but doesn't anything to try at this point...
Click to expand...
Click to collapse
I'll give it a shot
the200sx said:
I just read through the entire thread, while it sounds like method 2 would most likely be the option considering how I can't get into recovery, I wasn't able to find where anyone talked about it unbricking the phone. At this point I'm ready to try just about anything, but I had hoped there would be a method to keep data. It may have to wait until tomorrow so I can dedicate enough time to it. In the meantime, if anyone can point me into the direction of someone being stuck similarly to me and what they did to get out of it, I would be extremely grateful.
Thanks
Click to expand...
Click to collapse
Ok, I didn't remember this right, the developer preview ota sideloading with adb was for fixing the Google ota update which bricked some devices as the n previews were released.
But you have nothing to loose, so you may try to do this. Here's a working download in the link, if you don't sideloading the userdata your data may stay intact. https://www.reddit.com/r/nexus6/comments/49txh3/bricked_nexus_6_after_android_n_ota_update_stock/
5.1 said:
Hmm... Could you just try to flash twrp?
https://dl.twrp.me/shamu/twrp-3.0.3-0-shamu.img
Place the file in fastboot folder open a cmd, cd in fastboot folder and flash it:
fastboot flash recovery twrp-3.0.3-0-shamu.img
There's 0.01% it works but doesn't anything to try at this point...
Click to expand...
Click to collapse
It looks like it pushed the TWRP recovery but I still can't seem to get it to boot it into recovery. Only the main fastboot screen pops up trying to Power + Vol and when I VOL select it recovery, it will just reboot back to the main fastboot screen.
Damn... Try:
fastboot erase cache
And try to boot in twrp again?
5.1 said:
Damn... Try:
fastboot erase cache
And try to boot in twrp again?
Click to expand...
Click to collapse
That didn't work either. However it made it take a split-second longer to restart, which gave me a moment of hope. Hope Crushed!!!
Last question... When you power your phone, does it stay on Google logo, or boot animation forever? Or directly bootloader?
If one of the first two, is the phone detected on your computer device manager? If yes, how?
Related
Guys I have big problems!
I have a htc one with 1.28.401.7 firmware, s-on, unrooted and unlocked bootloader. Hboot version is 1.44
I tried to install ota update which was corrupted. It screwed up the entire device! I could not go into recovery, i could not factory reset
I tried to reflash the RUU but it didnt work.
I tried installing custom recovery but it used to boot for a second and reboot to rom.
I have no idea what to do!
And now the device has gone dead!
Even if i connect it to the charger the notification light doesnt light up...holding power button doesnt help, power button+volume down doesnt help!
I tried rebooting in adb but it says error device offline!
Please please please tell me what i should do!
Thanks in advance!
anibjoshi said:
Guys I have big problems!
I have a htc one with 1.28.401.7 firmware, s-on, unrooted and unlocked bootloader. Hboot version is 1.44
I tried to install ota update which was corrupted. It screwed up the entire device! I could not go into recovery, i could not factory reset
I tried to reflash the RUU but it didnt work.
I tried installing custom recovery but it used to boot for a second and reboot to rom.
I have no idea what to do!
And now the device has gone dead!
Even if i connect it to the charger the notification light doesnt light up...holding power button doesnt help, power button+volume down doesnt help!
I tried rebooting in adb but it says error device offline!
Please please please tell me what i should do!
Thanks in advance!
Click to expand...
Click to collapse
Try this guide here. If you don't understand something, I'll help you!
http://forum.xda-developers.com/showthread.php?t=2632736
LibertyMarine said:
Try this guide here. If you don't understand something, I'll help you!
http://forum.xda-developers.com/showthread.php?t=2632736
Click to expand...
Click to collapse
Okay, so the phone started up again...I have adb and fastboot working.
I had installed twrp and tried to enter it..
But it boots for a second...shows "Entering recovery" but then reboots back to rom..and no matter which recovery i try, it doesnot enter the recovery
what do i do now? Please help
Thanks
anibjoshi said:
Okay, so the phone started up again...I have adb and fastboot working.
I had installed twrp and tried to enter it..
But it boots for a second...shows "Entering recovery" but then reboots back to rom..and no matter which recovery i try, it doesnot enter the recovery
what do i do now? Please help
Thanks
Click to expand...
Click to collapse
install twrp again
fastboot flash recovery TWRP.img
fastboot erase cache
fastboot reboot-bootloader
LibertyMarine said:
Try this guide here. If you don't understand something, I'll help you!
http://forum.xda-developers.com/showthread.php?t=2632736
Click to expand...
Click to collapse
Buddy I need a lot of help!
I will tell u what happened in steps:
1. As written in original post, i tried to install an ota update which got corrupted and it screwed up the entire phone
I couldnt boot into recovery, revone was not working, phone was getting hanged every now and then..
2. I had an unlocked bootloader at that time. I relocked the bootloader to flash the RUU again
3. The RUU failed, and the phone was stuck at the grey HTC screen with 4 exclamation marks on 4 corners
4. I unplugged the device and i got the bootloader screen which showed this message:
Error[152]
Parsing...[downloaded ZIP]
Reset HTC Debug Flag
1 BOOT - OK
2 RECOVERY - OK
3 SYSTEM - OK
4 SPLASH1 - OK
5 USERDATA - OK
6 SBL2 - Fail-PU
7 SBL3 - Fail-PU
8 TRUST_ZONE - Fail-PU
9 RPM - Fail-PU
10 ADSP - OK
11 PG2FS_SPCUSTOM -OK
12 TP - OK
13 SBL1 - Bypass-S
14 SBL1 - Bypass-S
15 SBL1 - Fail-PU
16 RADIO_V2 - OK
17 RADIO_CUST - OK
Partition update fail!
Update Fail!
5. Long press of power, volume up, down nothing works
6. adb doesnt detect the device, but fastboot works
7. I saw your guide and tried to reinstall recovery but it gives this:
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
OKAY [ 1.094s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 2.109s
What should i do now!
I tried fastboot oem boot but it gives the green htc sign and gets stuck there...nothing moves ahead
What is the state of the device and how do i fix it?
Thanks a lot
LibertyMarine said:
Try this guide here. If you don't understand something, I'll help you!
http://forum.xda-developers.com/showthread.php?t=2632736
Click to expand...
Click to collapse
fastboot getvar all shows this...if it is of any use
C:\HTCOneRoot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.13.3231.27
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.28.401.7
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: removed by me
(bootloader) imei: removed by me
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3945mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.188s
LibertyMarine said:
Try this guide here. If you don't understand something, I'll help you!
http://forum.xda-developers.com/showthread.php?t=2632736
Click to expand...
Click to collapse
I tried installing recovery again and again..i got different errors each time
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
FAILED (status read failed (Too many links))
finished. total time: 0.000s
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
FAILED (status malformed (0 bytes))
finished. total time: 0.000s
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.656s
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
^C
What on earth is going on! Please help me!
Im panicking here!
anibjoshi said:
I tried installing recovery again and again..i got different errors each time
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
FAILED (status read failed (Too many links))
finished. total time: 0.000s
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
FAILED (status malformed (0 bytes))
finished. total time: 0.000s
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.656s
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
^C
What on earth is going on! Please help me!
Im panicking here!
Click to expand...
Click to collapse
1) Were you in rebootRUU while flashing like this(quoted post)? or in normal fastboot?
2) Have you tried "Case 2" of my guide?
ok, first calm down !!!
Edit.... you are s on.... Damnit this won't work here....
Now try this RUU. This will reset your entire phone.!
http://www.htc1guru.com/dld/ruu-zip...1-27_10-31-1131-05_release_310878_signed-zip/
And flash it in the RUU mode.... I think you are stuck in it...
fastboot flash zip "C:\path\firmware.zip"
It wil first give you an Error message... something like that:
Code:
C:\Android\com>fastboot flash zip "C:\path\firmware.zip"
sending 'zip' (35220 KB)...
OKAY [ 2.839s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) [COLOR="Red"][B]...... Successful[/B][/COLOR]
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
finished. total time: 4.438s
After that INSTANTLY reflash it by using the same command(DON'T REBOOT LONG AS THERE WAS AN ERROR BY FLASHING HBOOT I WOULD INEVITABLY AND INSTANTANEOUSLY BRICK YOUR DEVICE!):
Code:
fastboot flash zip "C:\path\firmware.zip"
Now you get a long output...
Code:
[...]
(bootloader) [RUU]WP,radio,79
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
OKAY [ 49.443s]
finished. total time: 52.280s
If there's written okay, just reboot....! The bar on the phone won't get to 100%
---------- Post added at 10:10 AM ---------- Previous post was at 10:05 AM ----------
anibjoshi said:
[...]
What on earth is going on! Please help me!
Im panicking here!
Click to expand...
Click to collapse
Tell me where you are with your phone.
BOOTLOADER?
FASTBOOT?
rebootRUU?
so I can provide better help
---------- Post added at 10:22 AM ---------- Previous post was at 10:10 AM ----------
anibjoshi said:
Buddy I need a lot of help!
I will tell u what happened in steps:
1. As written in original post, i tried to install an ota update which got corrupted and it screwed up the entire phone
I couldnt boot into recovery, revone was not working, phone was getting hanged every now and then..
2. I had an unlocked bootloader at that time. I relocked the bootloader to flash the RUU again
3. The RUU failed, and the phone was stuck at the grey HTC screen with 4 exclamation marks on 4 corners
4. I unplugged the device and i got the bootloader screen which showed this message:
Error[152]
Parsing...[downloaded ZIP]
Reset HTC Debug Flag
1 BOOT - OK
2 RECOVERY - OK
3 SYSTEM - OK
4 SPLASH1 - OK
5 USERDATA - OK
6 SBL2 - Fail-PU
7 SBL3 - Fail-PU
8 TRUST_ZONE - Fail-PU
9 RPM - Fail-PU
10 ADSP - OK
11 PG2FS_SPCUSTOM -OK
12 TP - OK
13 SBL1 - Bypass-S
14 SBL1 - Bypass-S
15 SBL1 - Fail-PU
16 RADIO_V2 - OK
17 RADIO_CUST - OK
Partition update fail!
Update Fail!
5. Long press of power, volume up, down nothing works
6. adb doesnt detect the device, but fastboot works
7. I saw your guide and tried to reinstall recovery but it gives this:
C:\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
sending 'recovery' (8432 KB)...
OKAY [ 1.094s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 2.109s
What should i do now!
I tried fastboot oem boot but it gives the green htc sign and gets stuck there...nothing moves ahead
What is the state of the device and how do i fix it?
Thanks a lot
Click to expand...
Click to collapse
Ok, are you now still unlocked? Or locked? if you are locked... we can try things,.. but I don't think it will work...
And since you were locked.... there shouldn't be an danger of flashing the RUU... because it doesn't flash the bootloader...
hey @anibjoshi, you'll do better if you just have one thread open on your problems (see also http://forum.xda-developers.com/showthread.php?t=2630333).
stop panicking and start listening to the excellent advice @LibertyMarine is giving you and maybe you'll get your phone working again.
Maybe this will work for you: http://android-revolution-hd.blogspot.nl/2013/10/fix-data-htc-one.html
Good luck!
re:
I had same problem few days ago, after that famous 4.4.2 update, my phone was screwed. I played a lot around with it, then I came to thingie that my /data partition was gone, so I had to recover it, and what Ronnymes in post before mine said, did help me a lot (link), I got my /data partition back, but you need to be really careful when working with all that...
Now since I read a bit this thread, I'd say you have problem not entering recovery at all (or at least just splashscreen of recovery) and then reboot. Or when you let your phone normal boot into OS, it ends rebooting in infinite loop.
I had same problem, you wouldn't believe what I did.
So to solve this problem I did next, but you must have working drivers on computer, so that it recognizes phone while it is in fastboot:
- Hold Vol - rocker and power button to enter bootloader
- select Fastboot with volume rockers and hit power button to enter it
- connect phone to PC while in Fastboot (it should change from Fastboot to Fastboot USB)
- open Command Prompt on you PC where you have all necessary files for fastboot and adb
- type (without quotes): "fastboot devices" just to be sure that device is attached, it should write down serial no of phone and fastboot after that
- now type: "fastboot oem lock" this will lock your bootloader
- after this do the process of unlocking bootloader by help of htcdev.com
- when you done unlocking bootloader flash whatever custom recovery to phone (I like CWM)
After these steps you should have working bootloader and recovery... now make sure that all your partitions on phone are in tact, be careful when doing that because not every HTC One has same addresses for all partitions, there is command for checking partition table on you device.
Cheers...
LibertyMarine said:
1) Were you in rebootRUU while flashing like this(quoted post)? or in normal fastboot?
2) Have you tried "Case 2" of my guide?
ok, first calm down !!!
Edit.... you are s on.... Damnit this won't work here....
Now try this RUU. This will reset your entire phone.!
http://www.htc1guru.com/dld/ruu-zip...1-27_10-31-1131-05_release_310878_signed-zip/
And flash it in the RUU mode.... I think you are stuck in it...
fastboot flash zip "C:\path\firmware.zip"
It wil first give you an Error message... something like that:
Code:
C:\Android\com>fastboot flash zip "C:\path\firmware.zip"
sending 'zip' (35220 KB)...
OKAY [ 2.839s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) [COLOR="Red"][B]...... Successful[/B][/COLOR]
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
finished. total time: 4.438s
After that INSTANTLY reflash it by using the same command(DON'T REBOOT LONG AS THERE WAS AN ERROR BY FLASHING HBOOT I WOULD INEVITABLY AND INSTANTANEOUSLY BRICK YOUR DEVICE!):
Code:
fastboot flash zip "C:\path\firmware.zip"
Now you get a long output...
Code:
[...]
(bootloader) [RUU]WP,radio,79
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
OKAY [ 49.443s]
finished. total time: 52.280s
If there's written okay, just reboot....! The bar on the phone won't get to 100%
---------- Post added at 10:10 AM ---------- Previous post was at 10:05 AM ----------
Tell me where you are with your phone.
BOOTLOADER?
FASTBOOT?
rebootRUU?
so I can provide better help
---------- Post added at 10:22 AM ---------- Previous post was at 10:10 AM ----------
Ok, are you now still unlocked? Or locked? if you are locked... we can try things,.. but I don't think it will work...
And since you were locked.... there shouldn't be an danger of flashing the RUU... because it doesn't flash the bootloader...
Click to expand...
Click to collapse
Sorry for replying so late...i was travelling to another city..
The device is stuck in rebootRUU
I tried flashing recovery in rebootRUU...was that the reason it failed?
I am relocked now...relocked, s-on
I will flash the zip twice as u instructed...do u have any other specific instructions regarding that flashing?
If the flashing fails for the second time, what do i do? will long press still brick the device?
I am downloading that zip right now...but it will take some time to download..so maybe i will wait for your reply on this before i flash
And i really really appreciate how much you are doing for me...u are a life saver
I just hope the device starts working soon
Thanks
rex1825 said:
I had same problem few days ago, after that famous 4.4.2 update, my phone was screwed. I played a lot around with it, then I came to thingie that my /data partition was gone, so I had to recover it, and what Ronnymes in post before mine said, did help me a lot (link), I got my /data partition back, but you need to be really careful when working with all that...
Now since I read a bit this thread, I'd say you have problem not entering recovery at all (or at least just splashscreen of recovery) and then reboot. Or when you let your phone normal boot into OS, it ends rebooting in infinite loop.
I had same problem, you wouldn't believe what I did.
So to solve this problem I did next, but you must have working drivers on computer, so that it recognizes phone while it is in fastboot:
- Hold Vol - rocker and power button to enter bootloader
- select Fastboot with volume rockers and hit power button to enter it
- connect phone to PC while in Fastboot (it should change from Fastboot to Fastboot USB)
- open Command Prompt on you PC where you have all necessary files for fastboot and adb
- type (without quotes): "fastboot devices" just to be sure that device is attached, it should write down serial no of phone and fastboot after that
- now type: "fastboot oem lock" this will lock your bootloader
- after this do the process of unlocking bootloader by help of htcdev.com
- when you done unlocking bootloader flash whatever custom recovery to phone (I like CWM)
After these steps you should have working bootloader and recovery... now make sure that all your partitions on phone are in tact, be careful when doing that because not every HTC One has same addresses for all partitions, there is command for checking partition table on you device.
Cheers...
Click to expand...
Click to collapse
I cant get inside fastboot or recovery or anything...im stuck at the rebootRUU screen
anibjoshi said:
Sorry for replying so late...i was travelling to another city..
The device is stuck in rebootRUU
I tried flashing recovery in rebootRUU...was that the reason it failed?
I am relocked now...relocked, s-on
I will flash the zip twice as u instructed...do u have any other specific instructions regarding that flashing?
If the flashing fails for the second time, what do i do? will long press still brick the device?
I am downloading that zip right now...but it will take some time to download..so maybe i will wait for your reply on this before i flash
And i really really appreciate how much you are doing for me...u are a life saver
I just hope the device starts working soon
Thanks
Click to expand...
Click to collapse
Hmm, I hope this works... since you are hboot 1.44 I think this RUU should be a working one... I have here quoted what you have to do in case of an error:
Error handling strategies:IF IT SAYS "FAILED" do not immediately reboot the device If you reboot with a FAIL it could not boot up anymore! It could brick! If no flash is being accepted you have to find out what is causing the malfunction before rebooting your phone. Keep it alive while trying to figure out the error. It might be your cable, your USB ports (dont use hubs! Always straight-to-mainboard connections), it might be USB 3.0 which is not good yet, it might be bad configuration of your ADB and Fastboot... there are many possible sources for flash fails.
The least dangerous FAILED messages are listed below and are safe to reboot:
Safe to reboot / Flash didn't happen Errors (if you encounter one of them, you can just reboot. Nothing changed):
- 12 signature fail (unknown yet but safe to reboot)
- 23 parsing image fail (means something wrong with the image in the zip)
- 32 header error (means the zip couldn’t be read and unzipped properly)
- 41 Wrong Model ID (means its not the right device)
- 42 Wrong Customer ID (wrong CID means you gotta swap cid first as explained below)
- 90 hboot pre-update (means it only flashed hboot and you have to run the process again immediately to flash all other partitions WITHOUT a reboot inbetween).
- 99 UNKOWN (is not yet clear but safe to reboot, might indicate a defunct S-OFF or S-ON)
- 155 you did not lock your bootloader (Needs a relock for S-ON phones that want to update the firmware.)
In fact, if it aborts before the "(bootloader) start image[hboot] unzipping & flushing..." line it actually didn't write anything and you can probably just reboot. If you see it flashing stuff though (the stages after that line) and then it stops with a FAILED, chances are a little higher that something is now broken. In that case do NOT reboot but do as i said above.
For Error 12 “signature fail" do:
- might indicate that a signed firmware package is required. This would only happen with S-ON phones though.
For Error 23 "parsing image fail" do:
- change image names in the zip to stock image names like “hboot.img" or “radio.img" or whatever failed there....
For Error 32 "header error" do:
- Sorry i haven’t found the exact cause yet and don’t know a definite solution.
- Make sure there is only one . (dot) in the filename, before the extension. fastboot reads anything after the first dot it sees as the extension. If that is not zip, it fails.
- If that doesn’t help, you can also try: make the zip new with recommended settings, re-run the command, check your connections...
For Error 42 "Wrong Customer ID" and: 41 "Wrong Model ID" do:
Code:
fastboot getvar all
Read that output, take note of your CID and MID and then edit the "android-info.txt" in your firmware.zip accordingly (For Wrong MID change the MID in the text, for wrong CID add your CID to the text).
Alternative method for MID and CID errors:
go SuperCID. Do:
Code:
fastboot oem writecid 11111111
You can change back to any desired CID after a successfull firmware flash. Notice: this command only works on S-OFF phones (which you have already of course or else you wouldn't be here).
For “Error 90 hboot pre-update..." do:
- Run the same flash command again which you just ran (press arrow up on your keyboard to get to the previous command in console)
- Don’t reboot in-between! (It wouldn’t brick you but it would just make you run the flash command twice again)
- This might be caused by the newer encrypted RUU's, they need their hboot to be flashed first so it can then decrypt the rest of the ROM.zip. Look at an encrypted ROM.zip from a RUU, you will notice that you can mostly extract the hboot without decrypting the ROM.zip, but you can't extract much else.)
For “Error 99 UNKNOWN" do:
- Check with other zip’s if they work!
- Check if your S-OFF is correct
- Tell me if you find out what’s causing an unknown error here!
For “Error 155 relock bootloader" do:
- run the fastboot command “fastboot oem lock" - only applies to S-ON phones that want to update the firmware. There a relocked bootloader is required. This error won’t show on S-OFF phones.
- Error 155 can also mean that you need SuperCID. On a few occasions this was shown when the RUU/FUU refused to run because of wrong region lock.
For “Error 170 Check USB" do:
- Sometimes shown when running a RUU or FUU. Indicates issues with drivers or ADB/Fastboot binaries. One way to solve is to run the exe with the phone already in Fastboot mode. Else you will have to dig into your windows driver system and try to fix there. Best option: re-install HTC Sync manager. Also, avoid USB 3 ports (the blue ones) - they have a complete new driver stack and that doesn’t work with ADB and Fastboot.
Thanks @Sneakyghost for writing these excellent error handling strat.
here is the original thread: http://forum.xda-developers.com/showthread.php?t=2316726
---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------
Ronnymes said:
Maybe this will work for you: http://android-revolution-hd.blogspot.nl/2013/10/fix-data-htc-one.html
Good luck!
Click to expand...
Click to collapse
he is relocked and s on
anibjoshi said:
Guys I have big problems!
I have a htc one with 1.28.401.7 firmware, s-on, unrooted and unlocked bootloader. Hboot version is 1.44
I tried to install ota update which was corrupted. It screwed up the entire device! I could not go into recovery, i could not factory reset
I tried to reflash the RUU but it didnt work.
I tried installing custom recovery but it used to boot for a second and reboot to rom.
I have no idea what to do!
And now the device has gone dead!
Even if i connect it to the charger the notification light doesnt light up...holding power button doesnt help, power button+volume down doesnt help!
I tried rebooting in adb but it says error device offline!
Please please please tell me what i should do!
Thanks in advance!
Click to expand...
Click to collapse
This can be very hard to recover and I dare say it's nearly impossible via a forum, best would be to have the phone in my hands if I was to help here.
However, since you did almost nothing bad except the unlock, I'd try to talk to HTC customer support, then try to get your case elevated so a higher support office can waive off the bills you'd get from the service center.
Arguments:
The device got messed up from an ota, which is a safe process designed to not harm the device. Any mishap there would normally be covered under warranty. Now, you'd admit that you unlocked, be honest, don't lie, but also point out that you did not even root the device. Neither did you touch Security.
So, in this case, there is no reasonable argument to deny you warranty.
Although legally you agreed to losing warranty entitlement when unlocking.
mobile Viper bite
Sneakyghost said:
[...]
Click to expand...
Click to collapse
Is it OK for you that I used your error handling strategies?
LibertyMarine said:
Hmm, I hope this works... since you are hboot 1.44 I think this RUU should be a working one... I have here quoted what you have to do in case of an error:
Error handling strategies:IF IT SAYS "FAILED" do not immediately reboot the device If you reboot with a FAIL it could not boot up anymore! It could brick! If no flash is being accepted you have to find out what is causing the malfunction before rebooting your phone. Keep it alive while trying to figure out the error. It might be your cable, your USB ports (dont use hubs! Always straight-to-mainboard connections), it might be USB 3.0 which is not good yet, it might be bad configuration of your ADB and Fastboot... there are many possible sources for flash fails.
The least dangerous FAILED messages are listed below and are safe to reboot:
Safe to reboot / Flash didn't happen Errors (if you encounter one of them, you can just reboot. Nothing changed):
- 12 signature fail (unknown yet but safe to reboot)
- 23 parsing image fail (means something wrong with the image in the zip)
- 32 header error (means the zip couldn’t be read and unzipped properly)
- 41 Wrong Model ID (means its not the right device)
- 42 Wrong Customer ID (wrong CID means you gotta swap cid first as explained below)
- 90 hboot pre-update (means it only flashed hboot and you have to run the process again immediately to flash all other partitions WITHOUT a reboot inbetween).
- 99 UNKOWN (is not yet clear but safe to reboot, might indicate a defunct S-OFF or S-ON)
- 155 you did not lock your bootloader (Needs a relock for S-ON phones that want to update the firmware.)
In fact, if it aborts before the "(bootloader) start image[hboot] unzipping & flushing..." line it actually didn't write anything and you can probably just reboot. If you see it flashing stuff though (the stages after that line) and then it stops with a FAILED, chances are a little higher that something is now broken. In that case do NOT reboot but do as i said above.
For Error 12 “signature fail" do:
- might indicate that a signed firmware package is required. This would only happen with S-ON phones though.
For Error 23 "parsing image fail" do:
- change image names in the zip to stock image names like “hboot.img" or “radio.img" or whatever failed there....
For Error 32 "header error" do:
- Sorry i haven’t found the exact cause yet and don’t know a definite solution.
- Make sure there is only one . (dot) in the filename, before the extension. fastboot reads anything after the first dot it sees as the extension. If that is not zip, it fails.
- If that doesn’t help, you can also try: make the zip new with recommended settings, re-run the command, check your connections...
For Error 42 "Wrong Customer ID" and: 41 "Wrong Model ID" do:
Code:
fastboot getvar all
Read that output, take note of your CID and MID and then edit the "android-info.txt" in your firmware.zip accordingly (For Wrong MID change the MID in the text, for wrong CID add your CID to the text).
Alternative method for MID and CID errors:
go SuperCID. Do:
Code:
fastboot oem writecid 11111111
You can change back to any desired CID after a successfull firmware flash. Notice: this command only works on S-OFF phones (which you have already of course or else you wouldn't be here).
For “Error 90 hboot pre-update..." do:
- Run the same flash command again which you just ran (press arrow up on your keyboard to get to the previous command in console)
- Don’t reboot in-between! (It wouldn’t brick you but it would just make you run the flash command twice again)
- This might be caused by the newer encrypted RUU's, they need their hboot to be flashed first so it can then decrypt the rest of the ROM.zip. Look at an encrypted ROM.zip from a RUU, you will notice that you can mostly extract the hboot without decrypting the ROM.zip, but you can't extract much else.)
For “Error 99 UNKNOWN" do:
- Check with other zip’s if they work!
- Check if your S-OFF is correct
- Tell me if you find out what’s causing an unknown error here!
For “Error 155 relock bootloader" do:
- run the fastboot command “fastboot oem lock" - only applies to S-ON phones that want to update the firmware. There a relocked bootloader is required. This error won’t show on S-OFF phones.
- Error 155 can also mean that you need SuperCID. On a few occasions this was shown when the RUU/FUU refused to run because of wrong region lock.
For “Error 170 Check USB" do:
- Sometimes shown when running a RUU or FUU. Indicates issues with drivers or ADB/Fastboot binaries. One way to solve is to run the exe with the phone already in Fastboot mode. Else you will have to dig into your windows driver system and try to fix there. Best option: re-install HTC Sync manager. Also, avoid USB 3 ports (the blue ones) - they have a complete new driver stack and that doesn’t work with ADB and Fastboot.
Thanks @Sneakyghost for writing these excellent error handling strat.
here is the original thread: http://forum.xda-developers.com/showthread.php?t=2316726
Click to expand...
Click to collapse
When I tried to flash the RUU.exe, it did not work...it gave me the error that I have posted...can you tell me what that error meant?
Cuz i feel i will get the same error when I run the RUU.zip
So if the same thing happens I can be better ready for it
Sneakyghost said:
This can be very hard to recover and I dare say it's nearly impossible via a forum, best would be to have the phone in my hands if I was to help here.
However, since you did almost nothing bad except the unlock, I'd try to talk to HTC customer support, then try to get your case elevated so a higher support office can waive off the bills you'd get from the service center.
Arguments:
The device got messed up from an ota, which is a safe process designed to not harm the device. Any mishap there would normally be covered under warranty. Now, you'd admit that you unlocked, be honest, don't lie, but also point out that you did not even root the device. Neither did you touch Security.
So, in this case, there is no reasonable argument to deny you warranty.
Although legally you agreed to losing warranty entitlement when unlocking.
mobile Viper bite
Click to expand...
Click to collapse
I dont have warranty..lol
Also, the device did boot up later...but still couldnt enter recovery or anything..but still could boot to rom
I was unlocked so i relocked it and ran an ruu.exe
It failed and now the phone is stuck in rebootRUU
adb doesnt work but fastboot does
Does that make my chances better? *hoping
Fastboot reboot
That will get your device out of ruu mode.
Let's us know if it does
SaHiLzZ said:
Fastboot reboot
That will get your device out of ruu mode.
Let's us know if it does
Click to expand...
Click to collapse
I tried that...the device just goes blank and then comes back to the rebootRUU screen
I guess thats all thats left in the device...everything else is gone
So My nexus 6 decided not to turn on anymore after plugging into the charger last night. Pressing on the power button for hours it would only power on once and then stay stuck on this message across the screen "ap fastboot flash mode (secure)" in red. After about a minute it proceeded to the bootloader which looks like its been messed up, on the top right where you would see the options "recover", "restart", etc the word appears without any of the coloring behind it.. I've tried to boot to recovery (using TWARP) but it just restarts and goes right back to the same screen with the same message. If I attempt to shut off the phone it won't turn back on for another several hours of pressing the power button. I know it charges because I've seen the battery icon when off and it was full, I've also tried different outlets and chargers and tried those outlets and chargers on my Nexus 7 in which it works fine. I've also tried a wireless charger as well to completely rule out it being a charging issue.
I managed to get it back on again and decided to plug it into my PC. I was able to detect it with fastboot devices and then proceeded to completely restore to factory setting using the stock google images assuming the bootloader could be damaged. When I ran the command to flash the updated bootloader it failed. Then again the bootloader was on the screen in which it looked distorted
:~/Android/Nexus 6/shamu-lrx22c$ fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3807 KB)...
OKAY [ 0.122s]
writing 'bootloader'...
(bootloader) flashing 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 flash partition
FAILED (remote failure)
finished. total time: 6.104s
~/Android/Nexus 6/shamu-lrx22c$ fastboot devices
ZX1G222NKR fastboot
~/Android/Nexus 6/shamu-lrx22c$ fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3807 KB)...
OKAY [ 0.123s]
writing 'bootloader'...
(bootloader) flashing 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 flash partition
FAILED (remote failure)
finished. total time: 6.105s
:~/Android/Nexus 6/shamu-lrx22c$ fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
Click to expand...
Click to collapse
This is where I am at now. What I've noticed is that at one point I was able to boot directly into the bootloader using power and volume down and in that the bootloader seems normal. But as of now I am unable to do that.
My next step is to get the phone on again and try to manually boot into bootloader and attempt to flash again.
Any ideas or suggestions or questions?
I hope I'm not speaking out of my butt here... I do remember reading on here that you were actually able to boot the device using the boot image on the pc without actually flashing it. If I read that right, and if I remember correctly, it was fastboot boot.img instead of fastboot flash boot.img.
Hope this helps.
Larzzzz82 said:
I hope I'm not speaking out of my butt here... I do remember reading on here that you were actually able to boot the device using the boot image on the pc without actually flashing it. If I read that right, and if I remember correctly, it was fastboot boot.img instead of fastboot flash boot.img.
Hope this helps.
Click to expand...
Click to collapse
Sounds like something to try but my phone won't power on at all. So I can't even attempt this. I was thinking could the bootloader be damaged? would that cause the phone not to power on?
No clue.
stock or rooted..decrypted..
Fiftysilver said:
Sounds like something to try but my phone won't power on at all. So I can't even attempt this. I was thinking could the bootloader be damaged? would that cause the phone not to power on?
Click to expand...
Click to collapse
Whats the status of your phone before you got into this mess..Are you on stock or custom rom? Most phone doesnt go off like yours unless its an hardware issue.
as was mentioned you can try and boot recovery from RAM basically via the pc, but the device needs to be in fastboot mode first
the command would be fastboot boot recovery_image_name.img
That reboots device with the recovery loaded into RAM. I only tried it with TWRP but assume Stock would do the same....
Another thing to check maybe the fastboot executable as well, I had to update to latest SDK
paztine said:
Whats the status of your phone before you got into this mess..Are you on stock or custom rom? Most phone doesnt go off like yours unless its an hardware issue.
Click to expand...
Click to collapse
The only thing I did with my phone was root it on stock and unlock the bootloader. I was on 5.0.1.
paztine said:
Whats the status of your phone before you got into this mess..Are you on stock or custom rom? Most phone doesnt go off like yours unless its an hardware issue.
Click to expand...
Click to collapse
I'm going to go with it being a hardware issue because now it won't turn on at all anymore. But what I want to figure out is how did it come to that point. I'm thinking a power surge or a defect in the turbo charger. TBH I never trusted that Motorola turbo charger, something about pumping a lot of juice into my phone to charge it quicker screams potential short circuit.
But hopefully I can get the phone replaced via my warranty.. But my bootloader was unlocked so I don't know how well that would go.. But then again the phone can't turn on.
Hello, everyone.
So, about an week ago, I posted a thread to ask for your help regarding my broken N6. Since then, nothing has changed(but got worse, I guess...?). Here is what is happening with my N6 right now.
1) It powers up(thank god) but goes straight to the boot-loader screen(I believe this means that my device doesn't have system image file within the device)
2) On boot-loader menu(Start, Restart bootloader, Recovery mode, Power off, Factory, Barcodes, BP Tools, QCOM, Bootlaoder logs), only few are working(Restart bootlodaer, Power off, Barcodes). When I try to perform other than these, it just goes back to main boot-loader screen.
3) I tried to use both Nexus Root Tool kit and manual installation of each image but doesn't work for both of them(From this, I believe that my phone is just BROKEN)
With this happening, conclusion that I can think of is
1) There is no 'Recovery' available in my device(that's why I can't do anything to recover my device)
2) ADB is not functioning.
Only solution that I can think of from this point is that contact Motorola and replace my device(which is what I am currently doing but Motorola has huge problem with their customer service that I am waiting for their answer for about 2 weeks now)
If possible, would there other options that I can repair this device by myself?
I appreciate your attention.
Sincerely.
Adb has no impact on bootloader. What do you mean doesn't work when you fastboot the factory image?
Sent from my Nexus 6 using XDA Free mobile app
your problem is the use of toolkits. stay away from them, unless you know what you are doing!
your phone doesnt have any rom on it. you can.. 1. flash the factory img via fastboot, like you are supposed to do(not via a toolkit), or 2. unlock the bootloader, flash a custom recovery then while in the custom recovery adb push a rom, gapps, and supersu and flash them that way. what you did does not give you the right for a trade in.
The two previous posters are correct. You just need to fastboot flash the factory rom and factory recovery. It is fairly simple, if you take the time to read how to do it. There are posts all over XDA for beginners on how to do this. And I cannot stress how correct @simms22 is. Toolkits may seem to make things easy, but when there is a problem, you need to know how to manually fix it. I just personally stay away from toolkits. And I was in your shoes. I didn't know jack about flashing roms and such. Just reading XDA got me to where I am. (and i am still learning!)
Like the others have pointed out, you are fine. You have access to your bootloader screen, this is a Nexus. Take a deep breath. Take some time and read this site about flashing a factory image. Please do it the best way - manually with fastboot commands. If you get stuck come back here and someone will help. It really is easy. Please repeat after me "I will avoid all toolkits from now one".
Start with this and read lots.
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Flashing the factory image should still work from boot loader with fast boot.
Follow the second link for manual flashing after downloading the zip from the first link.
https://developers.google.com/android/nexus/images
If you run into the missing system.img problem here is the link to fix it:
http://www.androidpolice.com/2014/11/12/running-into-the-dreaded-missing-system-img-error-flashing-android-5-0-factory-images-heres-how-to-get-around-it/
This way you can start from the beginning.
Problem with flashing factory image manually.
First, thanks everyone for helping me by providing useful information but there is a problem when I flash factory image manually.
Whenever I try to flash image(for example, 'boot.img', or other images, I always get the same error 'FAILED <remote failure>' and not installed on my device. From here, I have no idea what to do.
chg911225 said:
First, thanks everyone for helping me by providing useful information but there is a problem when I flash factory image manually.
Whenever I try to flash image(for example, 'boot.img', or other images, I always get the same error 'FAILED <remote failure>' and not installed on my device. From here, I have no idea what to do.
Click to expand...
Click to collapse
first off, does fastboot see your device?? you can check by typing.. fastboot devices
if it doesnt see your device, do you have the driver instslled?
simms22 said:
first off, does fastboot see your device?? you can check by typing.. fastboot devices
if it doesnt see your device, do you have the driver instslled?
Click to expand...
Click to collapse
fastboot detects my device. but when I tried to TWRP recovery, it shows following error.
sending 'recovery' <11668 KB>...
OKAY [ 0.375s]
writing 'recovery'...
<bootloader> Failed to erase partition
<bootloader> Failed to flash partition recovery
FAILED <remote failure>
finished. total. time: 6.133s
chg911225 said:
fastboot detects my device. but when I tried to TWRP recovery, it shows following error.
sending 'recovery' <11668 KB>...
OKAY [ 0.375s]
writing 'recovery'...
<bootloader> Failed to erase partition
<bootloader> Failed to flash partition recovery
FAILED <remote failure>
finished. total. time: 6.133s
Click to expand...
Click to collapse
look for the command to erase the recovery partition. youll have to google it as i dont know(or remember) it. i dont even own a computer :angel:
then youll have to reflash the recovery.
simms22 said:
look for the command to erase the recovery partition. youll have to google it as i dont know(or remember) it. i dont even own a computer :angel:
then youll have to reflash the recovery.
Click to expand...
Click to collapse
found the command "fastboot erase recovery" but not working with following error message.
fastboot erase recovery
erasing 'recovery'
<bootloader> Erase allowed in unlocked state
<bootloader> Failed to erase partition
FAILED <remote failure>
finished. total time: 5.763s
*my phone is unlocked for sure(I checked 'fastboot oem unlock' and it said
fastboot oem unlock
...
<bootloader> Device already unlocked!
FAILED<remote failure>
finished. total time: 0.003s
chg911225 said:
found the command "fastboot erase recovery" but not working with following error message.
fastboot erase recovery
erasing 'recovery'
<bootloader> Erase allowed in unlocked state
<bootloader> Failed to erase partition
FAILED <remote failure>
finished. total time: 5.763s
*my phone is unlocked for sure(I checked 'fastboot oem unlock' and it said
fastboot oem unlock
...
<bootloader> Device already unlocked!
FAILED<remote failure>
finished. total time: 0.003s
Click to expand...
Click to collapse
i have no idea, but this is a good thread to read and post questions about fastboot in http://forum.xda-developers.com/nexus-6/general/noob-read-adb-fastboot-how-help-t3006500
RIP. What did you do to your N6?
OP how did you install your fastboot. I would assume you did it from within a toolkit. That is probably your problem. If that is the case, please do this. Go here and install the .exe: http://developer.android.com/sdk/index.html#Other
It's big I know it but just do it please.
Make sure everything (SDK) gets installed in a folder path like c:\android or something you will easily remember. This is very important because it is within this folder you will place the extracted factory image files (.img). Place all full unzipped .img files in this folder.
Please follow method #2 in this excellent guide:
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
zetsumeikuro said:
RIP. What did you do to your N6?
Click to expand...
Click to collapse
One day it just shut down by itself and since then it's like this. I just contact Motorola and they are going to ship me new device with different color(idk y they are still having problem with their stocking their devices in because what I had was Cloud White 32Gb but only model that were present when I contact them was Midnight blue with 32Gb, other options are all out of stock. really wished they had a white color...)
This phone is a damn Nexus, it can't die. It's user error.
Sent from my Nexus 6
Hi,
i need help with this strange problem, i want update my phone to android 6.0 but when i start local update phone reboot and freeze on Honor logo, when i try factory reset or reboot to stock recovery menu - its same, again only Honor logo. Bootloader work ok, its unlocked, phone rooted, but when i for example try flash twrp recovery - fastboot send me "Failed...command not allowed"...Cant access recovery menu by fastboot, any app in phone and by keys combination too..also vol up, vol down and power for update from sd card not work, trying to seek for solutions to more than 2 weeks, can anybody here help me please?Thx.
If you are sure bootloader is unlocked and using Linux OS, run fastboot commands as root/admin (as sudo).
oppili said:
If you are sure bootloader is unlocked and using Linux OS, run fastboot commands as root/admin (as sudo).
Click to expand...
Click to collapse
Yes, im sure. On bootloader mode is in red color - Phone unlocked, but i not using Linux, im on Windows 7 and this not help me....
Try fastboot oem unlock - command again.
If still not works, try fastboot erase of that *.img file before flashing that new img file.
oppili said:
Try fastboot oem unlock - command again.
When i try this command...
c:\Minimal ADB and Fastboot>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.004s]
finished. total time: 0.006s
If still not works, try fastboot erase of that *.img file before flashing that new img file.
Click to expand...
Click to collapse
I know about this but im above when i try erase all after this fastboot send me "Failed..." and i will be have dead phone, tell me - when i try erase command for all partitions - will be phone work wit fastboot after this??
THX
Are you the only user in pc ? Do you have admin rights ?
or
try any other pc
or
use Ubuntu OS
Lulu_568 said:
Hi,
i need help with this strange problem, i want update my phone to android 6.0 but when i start local update phone reboot and freeze on Honor logo, when i try factory reset or reboot to stock recovery menu - its same, again only Honor logo. Bootloader work ok, its unlocked, phone rooted, but when i for example try flash twrp recovery - fastboot send me "Failed...command not allowed"...Cant access recovery menu by fastboot, any app in phone and by keys combination too..also vol up, vol down and power for update from sd card not work, trying to seek for solutions to more than 2 weeks, can anybody here help me please?Thx.
Click to expand...
Click to collapse
the reason for this case, that you should not apply updates while you are rooted.
(assuming that you are in lollipop stock )I suggest you check for the driver .. try to run adb (when your phone is in the active state, not powered off)
now, reboot to bootloader and try any other fastboot commands, like fastboot reboot (just to check that fastboot is responding to the device drivers..)
if it does respond, then I'm afraid you have a serious problem, if it doesn't respond, then you have to deal with the drivers, or you have to double check if your phone is unlocked
thilak devraj said:
the reason for this case, that you should not apply updates while you are rooted.
(assuming that you are in lollipop stock )I suggest you check for the driver .. try to run adb (when your phone is in the active state, not powered off)
now, reboot to bootloader and try any other fastboot commands, like fastboot reboot (just to check that fastboot is responding to the device drivers..)
if it does respond, then I'm afraid you have a serious problem, if it doesn't respond, then you have to deal with the drivers, or you have to double check if your phone is unlocked
Click to expand...
Click to collapse
Yes, i allready try, commands like fastboot reboot, or devices - its work, but when i try fastboot flash .... or erase cache - Command not allowed, when fastboot oem unlock - data parse fail...fastboot just respond but i cannot write or erase flash - dont know why....
Lulu_568 said:
Yes, i allready try, commands like fastboot reboot, or devices - its work, but when i try fastboot flash .... or erase cache - Command not allowed, when fastboot oem unlock - data parse fail...fastboot just respond but i cannot write or erase flash - dont know why....
Click to expand...
Click to collapse
then you should take it to the service center. the only best thing you can do now..
Lulu_568 said:
Yes, i allready try, commands like fastboot reboot, or devices - its work, but when i try fastboot flash .... or erase cache - Command not allowed, when fastboot oem unlock - data parse fail...fastboot just respond but i cannot write or erase flash - dont know why....
Click to expand...
Click to collapse
erase cache command is blocked by huawei in fastboot irrespective of locked or unlocked state. somewhere i read unlock lost permissions after update. if you have not tried unlock after update try it. driver can also be an issue, install hisuite it comes with drivers.
Lulu_568 said:
Hi,
i need help with this strange problem, i want update my phone to android 6.0 but when i start local update phone reboot and freeze on Honor logo, when i try factory reset or reboot to stock recovery menu - its same, again only Honor logo. Bootloader work ok, its unlocked, phone rooted, but when i for example try flash twrp recovery - fastboot send me "Failed...command not allowed"...Cant access recovery menu by fastboot, any app in phone and by keys combination too..also vol up, vol down and power for update from sd card not work, trying to seek for solutions to more than 2 weeks, can anybody here help me please?Thx.
Click to expand...
Click to collapse
Try this once,
copy firmware in folder 'dload' in sdcard root.
press vol up + vol down + power for 20 secs then release power but keep pressing vol up and vol down
shady143 said:
Try this once,
copy firmware in folder 'dload' in sdcard root.
press vol up + vol down + power for 20 secs then release power but keep pressing vol up and vol down
Click to expand...
Click to collapse
This not work, when i try this - phone freeze on Honor logo, same as on factory reset or when i try go to Recovery menu...
I check 100 times that is bootloader unlocked, can be problem in bad root or...?
Lulu_568 said:
This not work, when i try this - phone freeze on Honor logo, same as on factory reset or when i try go to Recovery menu...
I check 100 times that is bootloader unlocked, can be problem in bad root or...?
Click to expand...
Click to collapse
okay. are you sure the bootloader is unlocked? no harm done. just hold vol down + power up. and you get that green android with white background and the text in RED that says UNLOCKED. if its LOCKED, get the UNLOCK CODE first. just a reminder, you can only fastboot flash those *.imgs if you are UNLOCKED. and there are only some files will be flashed properly (recovery.img, recovery2.img, boot.img, you can try). yes, you can use Huawei Update Extractor to get those files, even in Marshmellow files. but for reviving the phone, use B067 Kitkat or any Kitkat you can get from Huawei Downloads.
1. Get into bootloader mode. I guess you already know how to do that. Plug the phone to wall charger. Yes, leave it charged with white screen showing. Leave it until you finished preparing the PC.
2. Make sure you can use fastboot. You can use Minimal ADB and Fastboot.exe found somewhere in XDA. And make sure that it can detect the phone when you write fastboot devices. It will show up if set up properly.
3. Huawei Update Extractor + Any Kitkat firmware. Extract everything. Note the tags beside each .img inside that Update Extractor. Youre gonna need those tags in order to flash properly.
4. Copy all those *.imgs that extracted into Minimal ADB and Fastboot folder. Check program files (x86).
5. Now ready the pc by launching that minimal adb and fastboot.exe as admin. THIS IS IMPORTANT!
6. fastboot devices. pull the phone from wall charger. plug it to pc. listen to usb connecting sound and driver installation. hit enter and the device should show up.
7. This is where its getting interesting. remember the tags? use that tags like this.
RECOVERY.img = fastboot flash RECOVERY RECOVERY.img
BOOT.img = fastboot flash BOOT BOOT.img
CHECK THE TAGS BEFORE FLASHING!!! and yes, just 5 or less files will be flashed successfully. Ignore it. fastboot reboot it. Yes, its stuck, plug it to the wall again while we prepare the microsd.
8. update.app file. Put that update.app file inside /microsd/dload/update.app folder. Put the microsd inside the phone. Yes, its stuck.
9. Now do the force update. when you see the emui logo, immediately plug it back to wall charger. wait until 100% and it rebooted itself, and you can see the language selection screen again.
DO WITH YOUR OWN RISK. Ive already done it, I hope it worked for you too.
zzztidurvirus said:
okay. are you sure the bootloader is unlocked? no harm done. just hold vol down + power up. and you get that green android with white background and the text in RED that says UNLOCKED. if its LOCKED, get the UNLOCK CODE first. just a reminder, you can only fastboot flash those *.imgs if you are UNLOCKED. and there are only some files will be flashed properly (recovery.img, recovery2.img, boot.img, you can try). yes, you can use Huawei Update Extractor to get those files, even in Marshmellow files. but for reviving the phone, use B067 Kitkat or any Kitkat you can get from Huawei Downloads.
1. Get into bootloader mode. I guess you already know how to do that. Plug the phone to wall charger. Yes, leave it charged with white screen showing. Leave it until you finished preparing the PC.
2. Make sure you can use fastboot. You can use Minimal ADB and Fastboot.exe found somewhere in XDA. And make sure that it can detect the phone when you write fastboot devices. It will show up if set up properly.
3. Huawei Update Extractor + Any Kitkat firmware. Extract everything. Note the tags beside each .img inside that Update Extractor. Youre gonna need those tags in order to flash properly.
4. Copy all those *.imgs that extracted into Minimal ADB and Fastboot folder. Check program files (x86).
5. Now ready the pc by launching that minimal adb and fastboot.exe as admin. THIS IS IMPORTANT!
6. fastboot devices. pull the phone from wall charger. plug it to pc. listen to usb connecting sound and driver installation. hit enter and the device should show up.
7. This is where its getting interesting. remember the tags? use that tags like this.
RECOVERY.img = fastboot flash RECOVERY RECOVERY.img
BOOT.img = fastboot flash BOOT BOOT.img
CHECK THE TAGS BEFORE FLASHING!!! and yes, just 5 or less files will be flashed successfully. Ignore it. fastboot reboot it. Yes, its stuck, plug it to the wall again while we prepare the microsd.
8. update.app file. Put that update.app file inside /microsd/dload/update.app folder. Put the microsd inside the phone. Yes, its stuck.
9. Now do the force update. when you see the emui logo, immediately plug it back to wall charger. wait until 100% and it rebooted itself, and you can see the language selection screen again.
DO WITH YOUR OWN RISK. Ive already done it, I hope it worked for you too.
Click to expand...
Click to collapse
First...many thanks for your interest!
Look, about bootloader, on boot mode is in red PHONE UNLOCKED, i try this command in fastboot:
C:\Minimal ADB and Fastboot>adb reboot bootloader
C:\Minimal ADB and Fastboot>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Minimal ADB and Fastboot>fastboot oem backdoor info
...
(bootloader) FB LockState: LOCKED
(bootloader) USER LockState: UNLOCKED
OKAY [ -0.000s]
finished. total time: -0.000s
so what is FB Lockstate??Is my bootloader unlocked or locked??
Here is another command which i try....
C:\Minimal ADB and Fastboot>fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
erasing 'userdata'...
FAILED (remote: Command not allowed)
finished. total time: 0.000s
Cant derermine partition type - is this problem?
I also try this....
C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 524288000 bytes
sending 'recovery' (25034 KB)...
OKAY [ 0.783s]
writing 'recovery'...
OKAY [ 1.033s]
finished. total time: 1.831s
C:\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.801s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.801s
It seems that fastboot write recovery (with your help i need use admin rights now this work) but i still cant boot to recovery no matter how...
I can also flash and backup boot and recovery via Flashify or Rashr and when i open backup with HEX editor it seems that i succesfully upload TWRP but still cannot acess TWRP recovery....
This is all what i try in this time, of course i read your help words about Huawei extractor etc. but not try at this time, i hope i explain more detailed my problem. Look im not a newbie, i allready flash etc. my Lenovo and P9 lite what i have here but not understand where can be problem in this Honor 4x, it seems like corrupted recovery partition or can be problem in read only/write partition - i play with this option before....
anyway - run as admin - this help me a lot i think, THX and wait your answer.
EDIT: one thing, you think that when i try flash stock recovery (i can, no problem of course) it will be work?
Update: Big success, i just try flash stock recovery B064b and now im in stock recovery menu, im surprised but what now? I want update to Marshmallow 6.0....?
But in stock recovery is: phone and the data cannot be recovered. Continue?
Oh sorry, this is about "not sd card inserted" problem
What will now progress? I have inside B130 firmware and want Marshmallow, also TWRP recovery must i flash now especially for B130 firmware for work?
Update: Yes, all working now, factory reset, recovery etc. you help me a lot, only if you can tell me what number of firmware must i upload for Marshmallow, thx
Last update: So finally, coz im too hurry and dont want wait for your answer :angel:, i just upload from local update first Android 5.1.1. after this 6.0 and all is perfect and working!
My big thanks and kisses goes to you zzztidurvirus, im lucky and still cant beleive that all works, again thx!!
I did once on Win to revert back to Stock from CM12.1 by using img from update.app file. For my case, it's the MM update.app not working, I couldn't flash img files into phone, then I tried to flash files from LP, it worked. I boot into LP ROM and update from there to MM.
Hey hey people.
I was trying to upgrade my friend's Honor X4 Che2-L11 variant to 6.0 age from it's lollipop and ****ed up - big time. It seems to have a recovery, and it bootloops. I can't get it to install any update.app though, it either errors or gets stuck/crashes at 5%.
Now I am trying to flash a individual stock recovery with fastboot. Like the guide by zzztidurvirus there, but whenever I try to issue flash command this is what I get:
target reported max download size of 471859200 bytes
sending 'RECOVERY' (9304 KB)...
OKAY [ 0.258s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 0.261s
- so basically any flash command sends OKAY, Writing Fails with Command not allowed. Bootloader is unlocked, "PHONE unlocked" on screen and same status messages from fastboot as Lulu up there when making queries.
What gives, what could I try still?
Lulu_568 said:
This not work, when i try this - phone freeze on Honor logo, same as on factory reset or when i try go to Recovery menu...
I check 100 times that is bootloader unlocked, can be problem in bad root or...?
Click to expand...
Click to collapse
I had faced same issue but get back by using the that method.
Sumea said:
Hey hey people.
I was trying to upgrade my friend's Honor X4 Che2-L11 variant to 6.0 age from it's lollipop and ****ed up - big time. It seems to have a recovery, and it bootloops. I can't get it to install any update.app though, it either errors or gets stuck/crashes at 5%.
Now I am trying to flash a individual stock recovery with fastboot. Like the guide by zzztidurvirus there, but whenever I try to issue flash command this is what I get:
target reported max download size of 471859200 bytes
sending 'RECOVERY' (9304 KB)...
OKAY [ 0.258s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 0.261s
- so basically any flash command sends OKAY, Writing Fails with Command not allowed. Bootloader is unlocked, "PHONE unlocked" on screen and same status messages from fastboot as Lulu up there when making queries.
What gives, what could I try still?
Click to expand...
Click to collapse
In this case help me i think run adb/fastboot as a admin and i use stock recovery .img from Huawei extractor when i got first success with writing as i remember, hope this help you...
Lulu_568 said:
In this case help me i think run adb/fastboot as a admin and i use stock recovery .img from Huawei extractor when i got first success with writing as i remember, hope this help you...
Click to expand...
Click to collapse
Sadly not, as I tried both running ADB fastboot as admin from administrator command line and I tried three different recovery images from huawei, 6.0 (because the flash went bad during attempt to flash a 4.1EMUI with 6.0 B506 ROM for CHE2-L11) - And it keeps denying the write attempt with the same message. More info on the flash: I tried to TWRP flash from 5.1 rom to the EMUI4.1 6.0 ROM following guide someone made with updateappflasher.zip or something, during the flash the phone just crashed 60% in the bar and after that the phone is boot looping into recovery but it can't do anything. Like said any attempt to flash a stock rom even if a recovery seems to exist when booting VOL+ & POWER at the same time, but it will fail if attempting to do wipe data/factory reset in 40% mark. Forced updater can also be accessed but again, thanks to the firmware situation the phone is in it does not flash anything beyond 5% without crashing and being stuck or just giving an error message outright.
Only thing I might have not have is the right kind of ADB drivers but googling about CHE2-L11 I really cannot find a ADB drivers for this phone for life of me and dealing with windows 10 these days makes it worse. At least it used to be that I was with windows 7, back when I myself unlocked the bootloader of the phone and rooted it myself, I have some memory of that being harsh to deal with too, as I had hard time getting drivers that worked right with the phone etc.
I will check into this... At this point my friend bought a new phone already but I still will try to fix the phone for him since I feel personally pretty bad for pretty big mess I made.
I will also try this with a windows XP machine I have still, it is meant entirely for different things but at times like these it is somewhat nice to have a XP around. At least the darn driver problems are not a problem.
UPDATES:
I unbricked the phone. The stock recovery was intact enough for just a normal dload install of a update.app from huawei - why it did not initially work was probably the USB connection to computer and/or 64gig microSD card my friend had, not being compatible with Huawei's recovery updater. I myself had a 8gig card around which worked and I restored the phone ultimately to a 6.0 official ROM. I also went ahead to root it - and final find really was that the reason why recovery etc. would not flash, was because I wrote "fastboot flash RECOVERY twrp.img" - instead of "fastboot flash recovery twrp.img" - the latter works, and the all caps for "RECOVERY" results in illegal command error - and it was no bigger than that.
Meanwhile even after sorting this all out my friend already ended up buying a new phone so it hurts but I hope some other people find some info here useful.
To start, I have no knowledge on rooting other than simply using ODIN on one of my older Samsung devices.
I had got a Moto E5 Play the other day and decided to root it today. It was difficult finding a tutorial, but I found this one (https://www.rootingtutorials.com/android-rooting/root-moto-e5-play/)
I downloaded the Minimal ADB and Fastboot tool, and flashed the custom ROM that the post recommended me to do. Then downloaded Magisk and I couldn't install it directly as noted in the guide and after some research found out I had to flash it manually, but I only had the stock recovery for some reason. Found another tutorial from this website (https://forum.xda-developers.com/moto-e5/development/recovery-twrp-moto-e-5-play-james-t3796323)
I flashed the no-verity kernel and now my phone is in a boot loop. I freaked out and wiped the data and factory reset it. Now when I turn on my phone it says "bad key" in the top left corner and then it goes to the screen before the boot animations and stays there (motorola logo and powered by android at the bottom)
I am an idiot and shouldn't have done this. Is there anything I can do to fix it?
j256 said:
To start, I have no knowledge on rooting other than simply using ODIN on one of my older Samsung devices.
I had got a Moto E5 Play the other day and decided to root it today. It was difficult finding a tutorial, but I found this one (https://www.rootingtutorials.com/android-rooting/root-moto-e5-play/)
I downloaded the Minimal ADB and Fastboot tool, and flashed the custom ROM that the post recommended me to do. Then downloaded Magisk and I couldn't install it directly as noted in the guide and after some research found out I had to flash it manually, but I only had the stock recovery for some reason. Found another tutorial from this website (https://forum.xda-developers.com/moto-e5/development/recovery-twrp-moto-e-5-play-james-t3796323)
I flashed the no-verity kernel and now my phone is in a boot loop. I freaked out and wiped the data and factory reset it. Now when I turn on my phone it says "bad key" in the top left corner and then it goes to the screen before the boot animations and stays there (motorola logo and powered by android at the bottom)
I am an idiot and shouldn't have done this. Is there anything I can do to fix it?
Click to expand...
Click to collapse
Restore the stock firmware using the instructions here: https://forum.xda-developers.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901
konradsa said:
Restore the stock firmware using the instructions here: https://forum.xda-developers.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901
Click to expand...
Click to collapse
Thanks for replying.
I can't do this because I hard reset the phone and USB debugging is no longer on. "adb devices" recalls back nothing and inputting something like "adb reboot recovery" comes back with "no devices/emulators found".
Tried to input "fastboot flash partition gpt.bin" and get back:
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.047s
What can I do?
j256 said:
Thanks for replying.
I can't do this because I hard reset the phone and USB debugging is no longer on. "adb devices" recalls back nothing and inputting something like "adb reboot recovery" comes back with "no devices/emulators found".
Tried to input "fastboot flash partition gpt.bin" and get back:
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.047s
What can I do?
Click to expand...
Click to collapse
Did you boot the phone into fastboot mode? You don't need debugging on for fastboot.
The ,"bad key" is normal.
Looks like the wrong firmware or your bootloader is still locked
j256 said:
To start, I have no knowledge on rooting other than simply using ODIN on one of my older Samsung devices.
I had got a Moto E5 Play the other day and decided to root it today. It was difficult finding a tutorial, but I found this one (https://www.rootingtutorials.com/android-rooting/root-moto-e5-play/)
I downloaded the Minimal ADB and Fastboot tool, and flashed the custom ROM that the post recommended me to do. Then downloaded Magisk and I couldn't install it directly as noted in the guide and after some research found out I had to flash it manually, but I only had the stock recovery for some reason. Found another tutorial from this website (https://forum.xda-developers.com/moto-e5/development/recovery-twrp-moto-e-5-play-james-t3796323)
I flashed the no-verity kernel and now my phone is in a boot loop. I freaked out and wiped the data and factory reset it. Now when I turn on my phone it says "bad key" in the top left corner and then it goes to the screen before the boot animations and stays there (motorola logo and powered by android at the bottom)
I am an idiot and shouldn't have done this. Is there anything I can do to fix it?
Click to expand...
Click to collapse
you need to download 'lenovo moto smart assistant. when you opened the application you need to go to the rescue page. then click on moto phone and select your model. once the download is completed you need to click on rescue and the rescue will begin. after the rescue is completed you can boot your phone like it usually does.
This thread is one and half years old.
Sent from my jerry_cheets using XDA Labs