Related
I was trying to unlock my bootloader (which I've done a hundred times on other phones, including my wife's), but when I went to flash Unlock_token.bin, I received this error:
Code:
sending 'unlock_token' (0 KB)...
OKAY [ 0.142s]
writing 'unlock_token'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.145s
Thinking I did something wrong, I went back and resubmitted the identifier token from my phone and downloaded the unlock code that HTC e-mailed me - twice. No luck. I even resorted to threats of violence and yelling at it. Help?
DeathTorrent said:
I was trying to unlock my bootloader (which I've done a hundred times on other phones, including my wife's), but when I went to flash Unlock_token.bin, I received this error:
Code:
sending 'unlock_token' (0 KB)...
OKAY [ 0.142s]
writing 'unlock_token'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.145s
Thinking I did something wrong, I went back and resubmitted the identifier token from my phone and downloaded the unlock code that HTC e-mailed me - twice. No luck. I even resorted to threats of violence and yelling at it. Help?
Click to expand...
Click to collapse
Who is your provider, like who did you buy the phone from? If its Verizon, from what I've been reading, you may be out of luck
dgtiii said:
Who is your provider, like who did you buy the phone from? If its Verizon, from what I've been reading, you may be out of luck
Click to expand...
Click to collapse
It's T-Mobile, and as far as I can tell, I'm the only one having this issue.
DeathTorrent said:
It's T-Mobile, and as far as I can tell, I'm the only one having this issue.
Click to expand...
Click to collapse
Yeah, that's weird. Try fastboot erase cache, reboot, and try the token again. Then do the common sense stuff, try a different cable, different USB port, then a different computer
dgtiii said:
Yeah, that's weird. Try fastboot erase cache, reboot, and try the token again. Then do the common sense stuff, try a different cable, different USB port, then a different computer
Click to expand...
Click to collapse
Still no luck I think this phone just hates me
DeathTorrent said:
Still no luck I think this phone just hates me
Click to expand...
Click to collapse
What command are you using to send the code? Also, try unchecking fastboot in Settings -> Power, turn it off then hold power and volume down to enter bootloader.
Sent from my HTC One using XDA Premium 4 mobile app
redbull123 said:
What command are you using to send the code? Also, try unchecking fastboot in Settings -> Power, turn it off then hold power and volume down to enter bootloader.
Click to expand...
Click to collapse
I'm using
Code:
fastboot flash unlock_token Unlock_code.bin
Fastboot is already off, and I've been using adb to reboot into the bootloader, which is my standard procedure. Even so, rebooting the phone manually instead of using adb still results in the signature verify failure. I've tried it in both Linux and Winblows as well.
DeathTorrent said:
I'm using
Code:
fastboot flash unlock_token Unlock_code.bin
Fastboot is already off, and I've been using adb to reboot into the bootloader, which is my standard procedure. Even so, rebooting the phone manually instead of using adb still results in the signature verify failure. I've tried it in both Linux and Winblows as well.
Click to expand...
Click to collapse
Wrong command...
fastboot flash unlocktoken Unlock_code.bin
EddyOS said:
Wrong command...
fastboot flash unlocktoken Unlock_code.bin
Click to expand...
Click to collapse
...I'm an idiot -_-
im getting this error to
im using the right code but i still get the error im using a my touch 4g
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
Hello there! First: Thanks for every answer in return - I'm currently a little bit in a pitch...and appreciate any help.
My problem is: my HTC One is currently stuck in a bootloop, due do some (my own) failures, when I tried to use a ROM.
In my own idioty I didnt made any backups or anything else.
Long story short - I would like to try to install a RUU for my version, but there is absolutely noone.
I'm on version-main 1.29.111.16 with the CID T-MOB101 and HBoot 1.44. I tried to search everywhere possible for a download,
even tried to personal message a few people who maybe could have the needed RUU, but so far no answers / no luck.
Tried to get S-OFF and use another RUU, but whatever I do, I cannot see my device under "adb devices". Tried everything /latest driver, cables and so on) so far but it absolutely wont show under adb and so I cannot see any other way to get S- OFF. Thats why I rely on the RUU for my version. So im here to ask, if someone else could give me a hint on where to find this RUU...or any tips on getting my ONE S-off. But like I said, I guess I tried almost everything I have read about (countless hours on google and xda- forum).
I know, I may write complete and utter nonsense - toying with my precious phone was like the biggest failure in my last few months and I regret it. :l
Thanks in advance!
Greetings,
Linte
Linte said:
Hello there! First: Thanks for every answer in return - I'm currently a little bit in a pitch...and appreciate any help.
My problem is: my HTC One is currently stuck in a bootloop, due do some (my own) failures, when I tried to use a ROM.
In my own idioty I didnt made any backups or anything else.
Long story short - I would like to try to install a RUU for my version, but there is absolutely noone.
I'm on version-main 1.29.111.16 with the CID T-MOB101 and HBoot 1.44. I tried to search everywhere possible for a download,
even tried to personal message a few people who maybe could have the needed RUU, but so far no answers / no luck.
Tried to get S-OFF and use another RUU, but whatever I do, I cannot see my device under "adb devices". Tried everything /latest driver, cables and so on) so far but it absolutely wont show under adb and so I cannot see any other way to get S- OFF. Thats why I rely on the RUU for my version. So im here to ask, if someone else could give me a hint on where to find this RUU...or any tips on getting my ONE S-off. But like I said, I guess I tried almost everything I have read about (countless hours on google and xda- forum).
I know, I may write complete and utter nonsense - toying with my precious phone was like the biggest failure in my last few months and I regret it. :l
Thanks in advance!
Greetings,
Linte
Click to expand...
Click to collapse
There is a Guru reset here
http://www.htc1guru.com/downloads/stock-rom-downloads/
Read the instructions on how to flash
http://www.htc1guru.com/dld/guru_reset_m7_2-24-111-3-zip/
Sent from my HTC One using Xparent Skyblue Tapatalk 2
Thanks for the fast reply.
The problem is: I cannot get into recovery. I tried to flash the the recovery and the boot via fastboot from the corrospending
Guru, but I'll only get an "signature verify fail" error. I hoped for the fitting RUU- version for my 1.29.111.16, because it seems
to me that it may be the easiest solution for my problem.
Greetings,
Linte
Hi. Can you post your actual command and output?
SaHiLzZ said:
Hi. Can you post your actual command and output?
Click to expand...
Click to collapse
Hey! Sorry for the delayed anwser (was on a short holiday trip),
I tired almost everything possible, as far as I know. So far I tried to flash allmost everything, from the .img (recovery/boot/) inside the Guru, wich bored_stupid sent me in his post, aswell as the whole .zip.
C:\adb>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
C:\adb>fastboot flash recovery rec.zip
error: cannot open 'rec.zip'
C:\adb>fastboot flash recovery rec.img
sending 'recovery' (9136 KB)...
OKAY [ 1.121s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.062s
C:\adb>fastboot flash rom Guru.zip
sending 'rom' (1056149 KB)...
OKAY [ 41.443s]
writing 'rom'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1174.768s
Click to expand...
Click to collapse
No matter what I try, I always get this "signature verify fail"- error. Thats why I was hoping for someone with the mentioned RUU, because they seem to work so far - except my HTC says something similiar: "RUU Error [132]: Signature error."
Greetings,
Linte
Btw, here's my getvar, in case it's needed:
C:\adb>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4D.14.3250.26
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.111.16
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: T-MOB101
(bootloader) battery-status: good
(bootloader) battery-voltage: 4252mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.043s
C:\adb>
Click to expand...
Click to collapse
First of all, your drivers are missing or outdated, download HTC sync manager from the HTC site and install, then remove HTC sync from your computer, just leaving the drivers.
Next question is do you have usb debugging enabled on the phone in developer options ?
If you can't see developer options then goto menu, settings, about, software information, more, then tap build number 7 times, it should say you are now a developer and you will have a new menu in settings called developer options where you can enable usb debugging.
When you type adb devices it should list your phone's serial number not just say list of devices attached.
It could also be that you need to update your adb and fastboot, I had to do it recently after getting this phone, after using the same fastboot and adb for years.
Seanie280672 said:
First of all, your drivers are missing or outdated, download HTC sync manager from the HTC site and install, then remove HTC sync from your computer, just leaving the drivers.
Next question is do you have usb debugging enabled on the phone in developer options ?
If you can't see developer options then goto menu, settings, about, software information, more, then tap build number 7 times, it should say you are now a developer and you will have a new menu in settings called developer options where you can enable usb debugging.
When you type adb devices it should list your phone's serial number not just say list of devices attached.
It could also be that you need to update your adb and fastboot, I had to do it recently after getting this phone, after using the same fastboot and adb for years.
Click to expand...
Click to collapse
Again sorry for the late reply, business struck again. :l
To your points: Already installed the latest HTC drivers from their homepage more than four times so far. Im pretty sure I have the latest version and after installing, I deinstalled the Sync Manager, like you told me to do. Still no changes.
I cannot see any developer options, simply because I can't get any further than the bootscreen. Im stuck within a bootloop.
Also I got the latest fastboot and adb from the (SDK- Manager) Android Developer Tools- Bundle. That's why I am so clueless about my phone not getting recognized by my PC with "adb devices". Strange thing is, I get the ID of my phone in "fastboot devices"...
Later this da I will try to connect my phone to my new, clean Laptop, with the lastest HTC Drivers and adb/fastboot. Maybe this will help.
Thanks so far!
Linte
Edit: tried it with a clean Laptop, latest ADB, latest HTC Sync (installed and deinstalled) and different USB- slots. No success. Adb sill only says
C:\adb>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Click to expand...
Click to collapse
Absoluteley no clue where I go wrong here... :l
Linte said:
Hey! Sorry for the delayed anwser (was on a short holiday trip),
I tired almost everything possible, as far as I know. So far I tried to flash allmost everything, from the .img (recovery/boot/) inside the Guru, wich bored_stupid sent me in his post, aswell as the whole .zip.
No matter what I try, I always get this "signature verify fail"- error. Thats why I was hoping for someone with the mentioned RUU, because they seem to work so far - except my HTC says something similiar: "RUU Error [132]: Signature error."
Greetings,
Linte
Btw, here's my getvar, in case it's needed:
Click to expand...
Click to collapse
I'm assuming your using Windows 8 or 8.1. They have an issue with hboot 1.44. Can you use a PC with Windows 7 or read here to make a Ubuntu USB live OS
http://forum.xda-developers.com/showpost.php?p=52135024&postcount=2
Sent from my HTC One using Xparent Skyblue Tapatalk 2
bored_stupid said:
I'm assuming your using Windows 8 or 8.1. They have an issue with hboot 1.44. Can you use a PC with Windows 7 or read here to make a Ubuntu USB live OS
http://forum.xda-developers.com/showpost.php?p=52135024&postcount=2
Sent from my HTC One using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
Hmm...nope. So far I have only used Windows 7. But like I said, no progress at all. Everythings updated, even on a freshly installed system. Different USB- Ports and so on. No success... :l
Tried to get S-OFF and use another RUU
Click to expand...
Click to collapse
You need a working rom to s-off the phone.
simply because I can't get any further than the bootscreen. Im stuck within a bootloop.
Click to expand...
Click to collapse
Linte said:
Code:
C:\adb>[B][COLOR="Red"]adb devices[/COLOR][/B]
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Click to expand...
Click to collapse
ADB commands only works from a booted OS with usb debugging ON or from custom recovery. So ADB will never output your device is connected if you are not in the OS or in custom recovery. From bootloader, use FASTBOOT commands
i.e:
Code:
fastboot devices
Code:
C:\adb>fastboot flash recovery rec.img
sending 'recovery' (9136 KB)...
OKAY [ 1.121s]
writing 'recovery'...
(bootloader) signature checking...
FAILED[B][COLOR="Red"] (remote: signature verify fail)[/COLOR][/B]
finished. total time: 2.062s
Click to expand...
Click to collapse
Looks like your bootloader is locked, you need an unlocked bootloader to flash the recovery partition
Code:
[COLOR="Red"][B]C:\adb>fastboot flash rom Guru.zip[/B][/COLOR]
sending 'rom' (1056149 KB)...
OKAY [ 41.443s]
writing 'rom'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1174.768s
Click to expand...
Click to collapse
This one is a custom rom (reset rom). You can't flash custom rom from fastboot. You can only flash custom rom from custom recovery.
from fastboot, all you can do is
flashing a custom recovery (with bootloader unlocked)
flashing a RUU.zip in ruu mode
flashing a firmware.zip in ruu mode
all roms (except RUUs) are flashed from custom recovery, including guru reset roms.
btw, there is no RUU for your phone.
unlock bootloader
flash twrp recovery 2.6.3.3
download and save this file to the same folder you have adb and fastboot in
open a cmd prompt from you fastboot/adb folder and boot your phone in bootloader mode (fastboot usb)
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
adb push the guru reset rom to your /sdcard/ from twrp recovery
download this guru reset rom: http://www.htc1guru.com/dld/guru_reset_m7_2-24-111-3-zip/ and save it to your adb/fastboot folder
boot phone in twrp recovery
open a cmd prompt form your adb/fastboot folder
Code:
adb push guru_reset_m7_2.24.111.3.zip /sdcard/
wait for the file to transfer (5-10 min, there is no progress bar, just wait until adb says it complete)
install the reset rom using twrp
Wow! Thanks a lot!
After unlocking my bootloader again I was able to get into recovery. From there it was easy going to install the Guru.zip via sideload ("Install zip" didnt work for some reason, said something similiar to "Couldn't mount /sdcard/". But sideload worked fine.). Updated everything and my phone runs now like it always had!
Again: really, really thanks a bunch! Thought I somehow ruined my phone, but thanks to you all I got it done. I really appreciate your effort in helping me! You guys are awesome.
Greetings,
Linte
PS: I won't do anything stupid with my phone again, learnd this the hard way.
I spent A few hours or so trying to unlock and than root my phone. I have been unable to unlock the bootloader so far, i think.
I ran my IMEI to make sure i was running the right stuff for the right phone.
im getting stuck at the point where you run fastboot to unlock with the token generated by following HTC Dev's bootloader, or really, right after it.
when i do this:
C:\>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 1514139648 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.142s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.150s
From the various articles ive read, your supposed to get some prompt or option on your phone to unlock the bootloader, but i never see this option on my phone? could it be because my bootloader is unlocked?
Since im new and am not allowed to post external links yet, a screen shot of my bootloader on imgur at /a/JV4eJ
Looking at the image, i think my phone's bootloader is allready unlocked?
Where im hitting a wall is when trying to get the TWRP custombackup to work
I keep getting this error.
C:\>fastboot flash recovery twrp.img
target reported max download size of 1514139648 bytes
sending 'recovery' (20020 KB)...
OKAY [ 2.373s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 2.400s
I've tried renaming it to twrp.img, and leaving it as twrp-3.1.1-0-hima.img
I have an old hboot on this phone, and read somewhere that i should try an 2.8.7.*.img, so i did aswell, but they all produce the above results.
Any adivce and feedback is much appreciated, and thanks for reading.
The end goal for me is tied into this guide which i have been following
Are you in download mode?
Sent from my HTC One M9 using Tapatalk
lazyguyMC said:
Are you in download mode?
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
I am not sure. I reboot my phone via adb and it boots to a normal home screen. Ive tried it from there with no luck. IM trying it from the bootloader screen( im assuming this is not the download screen?) If thats the problem, than i am abit confused on how to get to download mode. ive tried adb reboot download, but it just puts be back at the main os screen.
The download mode screen is similar to a stock Android recovery screen. It is black and has many options like show info, show barcodes, reboot to download mode, reboot to bootloader, etc etc. To go in there, shut down your phone, then press and hold volume down and power. Then, you should be able to unlock your bootloader. (Make sure Enable OEM unlock is checked in developer options.)
Sent from my HTC One M9 using Tapatalk
lazyguyMC said:
The download mode screen is similar to a stock Android recovery screen. It is black and has many options like show info, show barcodes, reboot to download mode, reboot to bootloader, etc etc. To go in there, shut down your phone, then press and hold volume down and power. Then, you should be able to unlock your bootloader. (Make sure Enable OEM unlock is checked in developer options.)
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Maybe thats one of my issues. Reboot to download mode is not an option when i power down to the bootloader. And also, there was no option for me to enable oem unlock in the dev options.
is it possible the imei number i have is telling me lies?( the reason i ask, is when i run it, it says an m9, but when im in the bootloader it says *** Unlocked *** followed y this line : M7_WLS PVT SHIP S-ON RH
Hmm......You sure that isn't an MY?
Sent from my HTC One M9 using Tapatalk
imei.info tells me its an m9 and swappa tells me its an m7. im so confused. I tried using a key from htc dev for the m7 just abit ago, and it succeeds aswell, but im stil not prompted to unlock the phone.
It's definetely a M7 (the sprint version to be exactly) and not a M9. Those IMEI checks are more than inaccurate. You should always trust the infos in your bootloader. Alternatively, you can take a look at the serial number of the phone. There's a guide written by Llabtoofer (on his website) which explains how to "read" it.
If the bootloader already is unlocked then of course you won't see that prompt. And TWRP fails to flash since you can't flash M9 files on a M7 (at least if your phone isn't S-OFF and if it was you would gain a paperweight by doing so).
I contacted a fellow mod so that the thread will get moved to the correct forum.
OK so i got twrp installed and i attempted to get magisk to install but that failed, so i used SuperSu. I did what i wanted than unrooted and got rid of the twrp custom recovery. The problem is im failing my Safety Net. So after some tedious searching i found a stock rom for my phone, and re-flashed it. Im still failing safetynet with a fresh verified stock rom for my phone. I dunno where to look now in hopes in getting it to pass safety Net. Is it possible SuperSu left something behind? When i installed the Rom via a RUU.exe, wouldn't that have erased all the SuperSu breadcrumbs? i know in my hboot menu it says relocked(not tampered anymore).
brad35309 said:
OK so i got twrp installed and i attempted to get magisk to install but that failed, so i used SuperSu. I did what i wanted than unrooted and got rid of the twrp custom recovery. The problem is im failing my Safety Net. So after some tedious searching i found a stock rom for my phone, and re-flashed it. Im still failing safetynet with a fresh verified stock rom for my phone. I dunno where to look now in hopes in getting it to pass safety Net. Is it possible SuperSu left something behind? When i installed the Rom via a RUU.exe, wouldn't that have erased all the SuperSu breadcrumbs? i know in my hboot menu it says relocked(not tampered anymore).
Click to expand...
Click to collapse
What I would do is run the latest RUU. I've done so on my m7 and it always passes SafetyNet at that point. Make sure you back up anything you want to save first.
I will try reflashing via fastboot with my current rom. If that still fails, I'll try the latest. I'm just hesitant because it comes with the newest security patch, and I need one that's before the March 2017 patch
The last official update for the M7 got distributed in 2015. All RUUs for that Device will be on a security patch that is older than March 2017.
Sent from my HTC One M9 using XDA Labs
i downloaded the latest RUU, and i installed via the executable. it was successful, however i am still failing the safety net check. i attempted again via Fastboot, but i keep getting this error
C:\>fastboot flash zip firmware.zip
target reported max download size of 1514139648 bytes
sending 'zip' (45578 KB)...
OKAY [ 2.894s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 8.027s
i got the firmware from the same page as the post mentioned above. Do i have to do something special to get it to take?
brad35309 said:
i downloaded the latest RUU, and i installed via the executable.
Click to expand...
Click to collapse
Did you install version 6.23.651.10 from this thread using the exe? I've reset my phone after running custom ROMs using it and it passed SafetyNet fine afterward.
Here is what is happening: Adb and fastboot detect the device perfectly fine. Fastboot only *sometimes* works if I have the command waiting in the command prompt window saying *waiting for device* and then plug the USB cable in. Most of the time, ill get partial responses which render the command incomplete or incorrect. I have scoured the posts, the web, and although ive come up with similar issues, nothing quite exactly 100% the same.
Finally found someone on reddit under one of the two posts when searching for: fastboot receiving incomplete commands that is experiencing the same thing.
System specs: Windows 8.1 x64
Project Fi variant of moto x4 XT1900-1 32GB Lastest security patch, Oreo 8.1
Bootloader unlocked. (after trying the fastboot oem get_unlock_data command 50,000 times it seems like i got the data needed to get the unlock code off of the motorola website, but finally, flashing_unlocked shows in the bootloader)
YES im using the original cable that came with the device.
YES developer tools are enabled
YES USB debugging is enabled
YES Ive done the erase all data (factory reset) option in the reset options
YES the correct drivers are installed for adb/fastboot
NO i havent been able to flash anything because of this issue.
YES, ive tried flashing many different bootloaders, roms, etc, but cant do anything because the very fundamental step of flashing TWRP (or anything else for that matter) with fastboot fails repeatedly.
Example:
E:\lineage_x4>fastboot flash abl_a abl.img
(bootloader) max-download-sizel_a: not found
sending 'abl_a' (1024 KB)...
in the bootloader logs it says:
cmd: getvar: partition-type:abl_a
cmd: getvar: max-download-sizel_a
cmd: download: 00100000ad-size
Hopefully Ive provided enough info, and i hope someone knows what is causing this.
if the partition is flashing dont worry about the
(bootloader) max-download-sizel_a: not found
munchy_cool said:
if the partition is flashing dont worry about the
(bootloader) max-download-sizel_a: not found
Click to expand...
Click to collapse
That's just the thing, it's not flashing. Eventually, it times out.
what happens when you boot into twrp from fastboot?
fastboot boot twrp-name.img
munchy_cool said:
what happens when you boot into twrp from fastboot?
fastboot boot twrp-name.img
Click to expand...
Click to collapse
trying now to give you the exact messages / error, ill let it time out too, just for completeness.
mchamb said:
trying now to give you the exact messages / error, ill let it time out too, just for completeness.
Click to expand...
Click to collapse
E:\lineage_x4>fastboot boot twrp-x4-BOOTABLE.img
< waiting for device >
downloading 'boot.img'...
FAILED (unknown status code)
finished. total time: 807.286s
bootloader log says
cmd: download:01533000
mchamb said:
E:\lineage_x4>fastboot boot twrp-x4-BOOTABLE.img
< waiting for device >
downloading 'boot.img'...
FAILED (unknown status code)
finished. total time: 807.286s
bootloader log says
cmd: download:01533000
Click to expand...
Click to collapse
fastboot devices?
does your device show up?
munchy_cool said:
fastboot devices?
does your device show up?
Click to expand...
Click to collapse
Yes, shows up in adb as well.
mchamb said:
Yes, shows up in adb as well.
Click to expand...
Click to collapse
3 possibilities.
1. bad usb cable.
2. bad usb port.
3. both.
munchy_cool said:
3 possibilities.
1. bad usb cable.
2. bad usb port.
3. both.
Click to expand...
Click to collapse
I'd considered these things as well. However,
New cables,
tried all 4 ports, and can still flash my samsung w/ odin (yes ive removed all the drivers samsung related since trying)
Device is only a month old.
Any other possibilities?
I've got nothing. If the device wasn't showing up, you would have to install the device drivers from Motorola. Contact Fi, Motorola or both. Fi tends to have good customer support (but if we can't figure it out, then I'm not sure Fi will be able to either).
MisterFribble said:
I've got nothing. If the device wasn't showing up, you would have to install the device drivers from Motorola. Contact Fi, Motorola or both. Fi tends to have good customer support (but if we can't figure it out, then I'm not sure Fi will be able to either).
Click to expand...
Click to collapse
Yeah, my thoughts were along these lines as well. Im going to boot up a live copy of Ubuntu and try my luck flashing there. I suspect its something with the usb controller, windows 8.1 and win8.1 being 64 bit.
if your Samsung works fine. it's a bad usb port on the phone. does data transfer work to and from phone when connected as a storage device?
munchy_cool said:
if your Samsung works fine. it's a bad usb port on the phone. does data transfer work to and from phone when connected as a storage device?
Click to expand...
Click to collapse
Yes it does. Verified copying to and from works correctly. (had even verified checksums because i didnt think it would do it correctly)
mchamb said:
Yes it does. Verified copying to and from works correctly. (had even verified checksums because i didnt think it would do it correctly)
Click to expand...
Click to collapse
So, after booting up Ubuntu, Same thing happens.
I took the same cable and my external drive with all the images/zips on it over to my girlfriends Win10 pc, and bam everything worked first try.
If anyone wants to help me try and figure out what the deal is with my USB controller, by all means, i havent changed anything on it yet. Its the Intel eXtensible USB 3.0 Host controller that i suspect is the issue here.
Verified: fastboot only works smoothly in Windows 10, no idea why.