Having issues trying to RUU - Sprint HTC One (M7)

My room mates device has been having some issues, after playing pandora, the device reboots, and starts boot looping. So I try to get into TWRP to reflash.to fix the issues. But when trying to boot into recovery, it just sticks on the TWRP splash screen. So I go into bootloader, and try to flash the recovery.img again. It says it flashes just fine. but still sticks at splash.
So I figured the next step is to run the RUU. I try to oem lock the device as it seems by every tutorial that you need to lock the bootloader again to run a RUU file.
And I get this...
C:\Android-adb>fastboot oem lock
...
FAILED (status read failed (No such file or directory))
finished. total time: 890.481s
And the bootloader actually froze, and it seemed to give quite a bit of time. I didnt wanna to just run the RUU and cause another brick.
I just wanted to get a few more people to chime in before I continue on.

I did get oem lock to run with this coming back....
c:\Android-adb>fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = -2228225 (0xFFDDFFFF)
FAILED (status read failed (Too many links))
finished. total time: 1.605s
Then it reboots instantly... and tries to boot the rom again.

oOflyeyesOo said:
I did get oem lock to run with this coming back....
c:\Android-adb>fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = -2228225 (0xFFDDFFFF)
FAILED (status read failed (Too many links))
finished. total time: 1.605s
Then it reboots instantly... and tries to boot the rom again.
Click to expand...
Click to collapse
Reboot into bootloader and verify it says relocked.
next from fastboot run
fastboot oem rebootRUU
it should take you to an htc screen with greenish letters
run your ruu

It still says unlocked.

oOflyeyesOo said:
It still says unlocked.
Click to expand...
Click to collapse
YOUR FAStboot directory, is it c:\Android-adb or c:\Android---------so type cd c:\Android>enter or cd c:\Android-adb>enter, then type fastboot oem lock
are you using a 3.0 usb port, this can cause issues.

It is the android-adb folder. I will check when I get home if it was a USB 3.0 port or not.
Nonsense.

oOflyeyesOo said:
It is the android-adb folder. I will check when I get home if it was a USB 3.0 port or not.
Nonsense.
Click to expand...
Click to collapse
Also try reflashing recovery if you haven't already

Aldo101t said:
Also try reflashing recovery if you haven't already
Click to expand...
Click to collapse
I tried to push the the recovery img, and it says that it is sucessful, did it multiple times, said it flashed just fine. But I try to reboot and it sticks on the TWRP splash. I feel like somehow something got deleted from the system. Id think the ruu would fix it.... but id need to lock the bootloader again, and that doesnt seem to work :-/

What ROM was he running? Have you gotten this worked out?

oOflyeyesOo said:
I did get oem lock to run with this coming back....
c:\Android-adb>fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = -2228225 (0xFFDDFFFF)
FAILED (status read failed (Too many links))
finished. total time: 1.605s
Then it reboots instantly... and tries to boot the rom again.
Click to expand...
Click to collapse
What ROM? This happened to me and at least one other person today...
C:\Users\Owner>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
(bootloader) SD: write failed in CMD25.
OKAY [ 1.080s]
finished. total time: 1.087s
I had the same warnings as you regarding links in other ADB attempts...
Bro, something is other their borking partitions in the EMMC
My experience I tried everything imaginable...

hooover said:
What ROM? This happened to me and at least one other person today...
C:\Users\Owner>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
(bootloader) SD: write failed in CMD25.
OKAY [ 1.080s]
finished. total time: 1.087s
I had the same warnings as you regarding links in other ADB attempts...
Bro, something is other their borking partitions in the EMMC
My experience I tried everything imaginable...
Click to expand...
Click to collapse
I was using rootbox. Still no luck.

oOflyeyesOo said:
I was using rootbox. Still no luck.
Click to expand...
Click to collapse
Try:
fastboot oem rebootRUU
If you churn out the error I mentioned, be prepared to take it in...I had to, I told the guy the truth and he got me a new device...

C:\Users\Ryan>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.043s
So it seems to be a bit different than your device. Its still boot looping the device.

oOflyeyesOo said:
C:\Users\Ryan>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.043s
So it seems to be a bit different than your device. Its still boot looping the device.
Click to expand...
Click to collapse
Did it go into RUU mode after the command or not? I see barely any total time...
Can you side load a custom, if you can get to fastboot run Hasoon's tool and unlock again, even if it says unlock...try to adb side load a custom ROM after you reflash recovery, if it boots then RUU...

Can't you just try running the RUU as an app like right click on the exe. And run as administrator on your computer. I have always done it that way not through CMD. Just seems easier for me and always works I do have my phone in fastboot when I do it. It just takes a long time to actually load maybe my computer bit sometimes I think it didn't work than the program will open and return me back to stock
Edit: just wanna clarify what I mean is run the ruu utility after you extract the zip have you tried that
Sent from my HTCONE using xda premium

It did not reboot into RUU mode. It just restarts the device and tries to boot. Every reboot option, oem lock, and quite a few other commands that try to reboot into the bootloader, just makes it try to reboot into the ROM. I tried to run the RUU this morning before work real fast, it detects the device, see's what version it is, I get all the way to waiting for bootloader, which the RUU tries to reboot into the boot loader, even when I am in the bootloader, tries to reboot into rom, I force it back to the bootloader while its still waiting, but it never seems to detect it in the bootloader.
Seems to be having issues writing, when it did not have issues before, as the rootbox splash screen still comes up from when it was working correctly. I will try to relock and see where I can get tonight and get back to you.
Before my room mate decides to destroy his phone for a insurance claim, since he doesnt want to go back in the store and tell them that another phone is bad... but I couldnt even hard brick it if i wanted to it seems....

Related

[Q] HTC One dead!

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

Can not write anything via Fastboot and Phone is in Bootloop :( kindly Help!

I am unable to write any thing via bootloaders (i.e. recovery, zip, ruu etc) i have also tried to restore my phone via RUU...setup is shutting down the device but do not boot it up again in bootloader so the setup could proceed with flashing the RUU (as it suppose to)... i m uploading the cmd screen shot for your kind perusal, kindly help me out as well please...
these steps i have tried as yet:
tried (fastboot flash recovery twrp.img)
Tried Flashing OTA firmware (fastboot update firmware.zip)
Tried RUU.exe setup
i can not even flash recovery... whenever i attempt to do so it gives an error as attached!
seems like some sort of security has been activated but can be a hardware issue as well... Please HELP!
Please advise what should i do or what can be done in this matter
Have you tried fastboot erase cache
Sent from my HTC One using XDA Premium 4 mobile app
Try going s off
Sent from my GT-I9305 using xda app-developers app
bored_stupid said:
Have you tried fastboot erase cache
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I did... command is not implementing... giving out same error as on recovery flsah!
Thanks... will appreciate more help...
nateboi81 said:
Try going s off
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
i have tried that...
my set is only responding to informational commands like getvar info, device info etc but its not implementing the commands which will write something on internal memory...
s-off = Security off right?
i believe some sort of security has been triggered!
?
Any One please....
Just a couple of shots in the dark.. disable any antivirus also check you have latest fastboot maybe download latest android sdk which will have it and try again.
Try another pc or cable.
Sent from my HTC One using Tapatalk
Mortal Eternity said:
Any One please....
Click to expand...
Click to collapse
are you using USB 3 port/hub, check Device Manager connections... if the "main" (internal) port-structure is USB 3 based, then that could be the problem.
PS: and what version does adb devices give?
nkk71 said:
are you using USB 3 port/hub, check Device Manager connections... if the "main" (internal) port-structure is USB 3 based, then that could be the problem.
PS: and what version does adb devices give?
Click to expand...
Click to collapse
I can offer 20$ for who ever can help me fix my set please...(i know its too low but its all i have for now and i need my cellphone fixed to sale it)
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4A.21.3263.03
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.24.531.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT35FW902658
(bootloader) imei: 355972054420881
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4157mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-412e361e
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.047s
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>fastboot erase cache
erasing 'cache'...
FAILED (remote: erasing error!)
finished. total time: 1.342s
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>
Mortal Eternity said:
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>fastboot erase cache
erasing 'cache'...
FAILED (remote: erasing error!)
finished. total time: 1.342s
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>
Click to expand...
Click to collapse
what was the last thing the phone had on it ? I see the bootloader is unlocked so did it already have a custom recovery ? custom rom ? Rooted ?
have you turned the phone completely OFF holding the powerbutton and volume up and down for 2 min ?
did you try a factory reset with stock recovery ?
when you tried the RUU.exe what was the error and what file did you try ?
clsA said:
what was the last thing the phone had on it ? I see the bootloader is unlocked so did it already have a custom recovery ? custom rom ? Rooted ?
have you turned the phone completely OFF holding the powerbutton and volume up and down for 2 min ?
did you try a factory reset with stock recovery ?
when you tried the RUU.exe what was the error and what file did you try ?
Click to expand...
Click to collapse
thats how i messed my set up: i was on TWRP 2.6.3.3 which was working perfectly fine then i thought it would be better if i'd flash a latest recovery so flashed 2.7.0.4 then i tried to flash latest build of insertcoin with that messed up recovery which got me stuck on 7% while flashing the rom, so i restarted by set after waiting for 5 minutes or so... then i tried going in to recovery again and tried to do a factory data reset to reflash the rom... recovery stuck on factory data rest n made me reboot my set... since then the situation is same for me
i did the 2 minutes trick, since my phone is not hard bricked so its just making the set booting again and again in fastboot mode thats it!
yes i did factory reset but with twrp then i got stuck at where i m now... plus i m unable to flash anything on emmc since then...
when i tried RUU.exe the setup shut my phone down but do not restart it in fastboot mode (how it should) i tried to boot my phone manually but didnt help...
Please advice any thing else
2.7.0.4 is for Sprint
Can you force the phone into fastboot oem rebootRUU and try and flash from their?
you can extract the signed Rom.zip from the RUU and flash it that way
the Rom.zip will be in c:\users\yourusername\appdata\local\temp\somerandomfolderthatwasjustcreated (sort by date)(also you have to view hidden folders to see appdata in the user folder)
mine was here "C:\Users\Cliff\AppData\Local\Temp\{A3096E6D-C55A-4EA1-B6B1-1E95174B190C}"
clsA said:
2.7.0.4 is for Sprint
Can you force the phone into fastboot oem rebootRUU and try and flash from their?
you can extract the signed Rom.zip from the RUU and flash it that way
the Rom.zip will be in c:\users\yourusername\appdata\local\temp\somerandomfolderthatwasjustcreated (sort by date)(also you have to view hidden folders to see appdata in the user folder)
mine was here "C:\Users\Cliff\AppData\Local\Temp\{A3096E6D-C55A-4EA1-B6B1-1E95174B190C}"
Click to expand...
Click to collapse
i flashed the recovery from this thread: http://forum.xda-developers.com/showthread.php?t=2708134 (its not for sprint only - at least its not written in this thread)
No i can't bro... it says this when i tried to run the command:
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
(bootloader) SD: write failed in CMD25.
OKAY [ 1.060s]
finished. total time: 1.061s
Thank you for helping me...
Mortal Eternity said:
i flashed the recovery from this thread: http://forum.xda-developers.com/showthread.php?t=2708134 (its not for sprint only - at least its not written in this thread)
No i can't bro... it says this when i tried to run the command:
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
(bootloader) SD: write failed in CMD25.
OKAY [ 1.060s]
finished. total time: 1.061s
Thank you for helping me...
Click to expand...
Click to collapse
I think your emmc has bad sectors. Whats wrong with htc one? So many bricks because of bad dmmc chip. Jesus
Mortal Eternity said:
i flashed the recovery from this thread: http://forum.xda-developers.com/showthread.php?t=2708134 (its not for sprint only - at least its not written in this thread)
No i can't bro... it says this when i tried to run the command:
C:\Users\Mortal Eternity\Desktop\Fastboot-Win>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
(bootloader) SD: write failed in CMD25.
OKAY [ 1.060s]
finished. total time: 1.061s
Thank you for helping me...
Click to expand...
Click to collapse
Have you at least tried a different PC and/or OS? I remember one guy having tonnes of problems (and we spent hours on teamviewer too), not being able to get anything to work, until we found out that even his USB2 port is based on an internal USB3 connection... he then used a different PC and was up and running again!
Mortal Eternity said:
i flashed the recovery from this thread: http://forum.xda-developers.com/showthread.php?t=2708134 (its not for sprint only - at least its not written in this thread)
...
Click to expand...
Click to collapse
Thanks for posting the link .. i was not aware of that file.
I think I would still try and flashback to 2.6.3.3 ... if you can get back in TWRP
try this file >> https://www.dropbox.com/s/n49t43thctnl02a/TWRP_2.6.3.3_m7.zip
clsA said:
Thanks for posting the link .. i was not aware of that file.
I think I would still try and flashback to 2.6.3.3 ... if you can get back in TWRP
try this file >> https://www.dropbox.com/s/n49t43thctnl02a/TWRP_2.6.3.3_m7.zip
Click to expand...
Click to collapse
recovery is not accessible... when ever i select the recovery option the set gets unresponsive
can't even factory data reset my phone... sent an email to htc saying if they can replace my set i will pay 100$ t has been 2 days, still waiting for their reply...
lets hope for best :fingers-crossed:
nkk71 said:
Have you at least tried a different PC and/or OS? I remember one guy having tonnes of problems (and we spent hours on teamviewer too), not being able to get anything to work, until we found out that even his USB2 port is based on an internal USB3 connection... he then used a different PC and was up and running again!
Click to expand...
Click to collapse
thanks for your suggestion but its not the cable or port issue i have tried 5 different pcs... i have even visited local market for solution... no one has any solutions for this as yet... but there are many phones with same case... it seems like a hardware flaw at htc's end.
p.s. i m really very thankfull to people who are trying to help me!
darksnoopy said:
I think your emmc has bad sectors. Whats wrong with htc one? So many bricks because of bad dmmc chip. Jesus
Click to expand...
Click to collapse
yes it seems like a common issue to me now... lets hope htc will take some precaution while making such expensive phones...
Mortal Eternity said:
yes it seems like a common issue to me now... lets hope htc will take some precaution while making such expensive phones...
Click to expand...
Click to collapse
Tell me about it! I got an new m7 again (i hate m8 design) but this time i am not going to unlock boot loader not going to s-off and not going to install custom recovery!
This is the thread with the problem i had with my first m7. I haven't quit, still trying to fix it and give it away. Maybe we should make a sticky thread with all those people with problem like this!
http://forum.xda-developers.com/showthread.php?t=2685024&page=3

RUU Flashing Doesn't Work... Help!

Okay, this is a pretty interesting situation. I rooted my dad's gunmetal m8 and everything was fine until the OTA update came out. Despite me telling him not to download it, he does anyway and the phone tries to apply the update. He then had a persisted "there is an update available" notification, so he decided to take it to the Sprint store instead of calling me... now it's too late.
I have no idea what they did at the store, but now the phone just reboots every 3 minutes or so. I've tried restoring the NANDROID backup, reflashing new roms, flashing the stock recovery, flashing new versions of TWRP, but nothing, I mean nothing works. Every time I try to do anything to the phone, as soon as I reboot it, the phone is IN THE SAME STATE IT WAS BEFORE THE OEM UPDATE. It's like a weird version of groundhogs day.
Best I can tell is that the bootloader got corrupted and it keeps flashing the same copy of the old rom again and again and again on reboot, so I can do absolutely nothing with this. Whenever I try to flash a new ruu, I try fastboot oem rebootRUU, but when I do, the phone just reboots and repeats the cycle.
Is there any thing I can do, or is this thing a paperweight?
Thanks in advance.
Latest RUU is an exe I'm pretty sure.
Did you HTC unlock it? If so try locking it and ruuing.
The command for fast boot I think is oem lock
Sinistertensai said:
The command for fast boot I think is oem lock
Click to expand...
Click to collapse
fastboot oem lock
I tried all of the above-mentioned solutions before actually posting here. Ran the RUU.exe and every time it tries to boot into the RUU loader (that black screen with the progress bar), the phone just reboots.
Also tried relocking the bootloader:
Code:
fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) mdp_clock_off
(bootloader) turn off fd8c2308 failed 1 times. Try again...
(bootloader) disable_mmss_clk done
(bootloader) pll1_disable done
(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [INFO] Rebooting device
ERROR: usb_read failed with status e00002ed
FAILED (status read failed (No such file or directory))
finished. total time: 1.146s
Doesn't work. The phone just reboots and everything is as it was. The strangest thing is that the phone data doesn't persist after reboot. For example, I tried moving otacert.zip to otacert.zip.bak in the etc/security folder. Once I reboot, everything is back to the way it was (yes, I already mounted /system as rw)
*bump*
ideas, anyone?

[Q] HTC One M7 disaster

Hello there ,
So just so you know I've looked hours in other threads to check answers before posting my own.
I have an HTC One M7 who was stuck on bootloop , I entered the fastbood mode now it is stuck on it.
the HTC is "Locked" "S-ON" and on official rom.
the probleme is USB Debogging is OFF so I can't use ADB
But Fastboot is working fine
Recovery is not working (nothing loads just restarts)
so there is nothing I can do now (can't flash recovery , can't unlock bootloader) , I tried the HTCDev method but nothing prompt After I send the bin file.
Here informations you might need
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.24.401.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxxxxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__203
(bootloader) battery-status: good
(bootloader) battery-voltage: 4138mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d959c75800
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
I know that everybody's request is important , but I realy can't handle losing this smartphone , only had it for a couple of months and it's a disaster if it ever happens to be lost.
Rave201 said:
Hello there ,
So just so you know I've looked hours in other threads to check answers before posting my own.
I have an HTC One M7 who was stuck on bootloop , I entered the fastbood mode now it is stuck on it.
the HTC is "Locked" "S-ON" and on official rom.
the probleme is USB Debogging is OFF so I can't use ADB
But Fastboot is working fine
Recovery is not working (nothing loads just restarts)
so there is nothing I can do now (can't flash recovery , can't unlock bootloader) , I tried the HTCDev method but nothing prompt After I send the bin file.
Here informations you might need
I know that everybody's request is important , but I realy can't handle losing this smartphone , only had it for a couple of months and it's a disaster if it ever happens to be lost.
Click to expand...
Click to collapse
usb debugging has nothing to do with the bootloader, adb or fastboot, it is only required to be on when you want to mod something or control your phone using adb commands inside a booted rom, as you cant boot, then that's not an option.
if your bootloader is locked and you have warranty, send it back, because if you unlock your bootloader then your warranty will be void and you'll have to pay for repairs.
Hi there & thnx for your concern,
The warranty is not an option , cause I bought it in another country and have no service support here.
For the usb debugging mode , as far as I know , it needs to be "on" so the smartphone can be connected to adb.
I looked on the net how to turn it on without having access to android I got some command but I need an android command-line shell to make it work , wich is not an option right now.
I'm all open for suggestions.
Is there a way to get out of fastboot and try load the android again ?
I tried turn power down but it opens fastboot automaticly,
I tried
Code:
fastboot reboot
same result as above .
Rave201 said:
Is there a way to get out of fastboot and try load the android again ?
I tried turn power down but it opens fastboot automaticly,
I tried
Code:
fastboot reboot
same result as above .
Click to expand...
Click to collapse
only thing you can do is unlock your bootloader, try again, get a new unlock token from HTC Dev.
by the way, adb commands are only for in a rom or in recovery, use fastboot commands only in the bootloader, if you cant unlock the bootloader then theres not a lot you can do.
could you post your fastboot getvar all please, remove imei and serial number information before posting, maybe there is an RUU we can run.
Rave201 said:
Hello there ,
So just so you know I've looked hours in other threads to check answers before posting my own.
I have an HTC One M7 who was stuck on bootloop , I entered the fastbood mode now it is stuck on it.
the HTC is "Locked" "S-ON" and on official rom.
the probleme is USB Debogging is OFF so I can't use ADB
But Fastboot is working fine
Recovery is not working (nothing loads just restarts)
so there is nothing I can do now (can't flash recovery , can't unlock bootloader) , I tried the HTCDev method but nothing prompt After I send the bin file.
I know that everybody's request is important , but I realy can't handle losing this smartphone , only had it for a couple of months and it's a disaster if it ever happens to be lost.
Click to expand...
Click to collapse
boot the phone to the bootloader / Fastboot USB
plug the phone to the PC and Flash this RUU >> http://www.androidruu.com/getdownlo...10.38r.1157.04L_release_353069_signed_2-1.exe
If you get an Error flashing 155 etc)
flash this firmware first >> http://xda7.androidrevolution.org/db_mirror/Firmware/HTC/HTC_One/401/4.19.401.8.zip
place the file in your fastboot folder on your PC and rename it firmware.zip and flash it with a command prompt
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot
Now try the RUU again
clsA said:
boot the phone to the bootloader / Fastboot USB
plug the phone to the PC and Flash this RUU >> http://www.androidruu.com/getdownlo...10.38r.1157.04L_release_353069_signed_2-1.exe
If you get an Error flashing 155 etc)
flash this firmware first >> http://xda7.androidrevolution.org/db_mirror/Firmware/HTC/HTC_One/401/4.19.401.8.zip
place the file in your fastboot folder on your PC and rename it firmware.zip and flash it with a command prompt
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot
Click to expand...
Click to collapse
lol how I missed that I don't know
Thanks ! : downloading , I'll leave answer after I test.
Hi again ;
So I downloaded and followed the steps I got errors :/
on the RUU flash I got Error 171 at "Bootloader waiting" and later saying that it couldn't connect to the device . It did connect to it in the first place though and device rebooted and so .
So I followed the second parts and I got errors aswell :
Code:
c:\mini-sdk>fastboot oem rebootRUU
...
(bootloader) [ERR] Cmd18 polling status timed out, MCI_STATUS: 0x4C2000
(bootloader) [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [SD_HW_ERR] read data fail in CMD18
(bootloader) CMD18: cmd failed
(bootloader) [SD_HW_ERR] SD: Read data fail..
(bootloader) [ERR] partition_read_emmc(862): error 2
(bootloader) Start Verify: 3
(bootloader) [ERR] Cmd25 polling status timed out, MCI_STATUS: 0x4C0000
(bootloader) [ERR] sdcc_command: sdcc_poll_status error, rc: 2
OKAY [ 0.016s]
finished. total time: 0.016s
c:\mini-sdk>fastboot flash zip firmware.zip
sending 'zip' (43508 KB)...
OKAY [ 2.870s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
FAILED (remote: not allowed)
finished. total time: 6.538s
Any help please
anyone ?
Rave201 said:
anyone ?
Click to expand...
Click to collapse
bootloader needs to be locked / relocked to flash the RUU or firmware as your s-on.
"fastboot oem lock" is the command without quotes.
Hi there, I did it already , it says device already locked.
Rave201 said:
Hi there, I did it already , it says device already locked.
Click to expand...
Click to collapse
soz about that, just realised, had a read back through the whole thread to catch up, right, 171 is a USB connection error, so when your phone is in the bootloader, plugged into the computer with fastboot usb showing, have a look in device manager and make sure your computer can see your phone and that you dont have anything like "One" with a yellow exclamation mark.
sounds like a driver problem to me, but are you using the original HTC cable too ?
Seanie280672 said:
soz about that, just realised, had a read back through the whole thread to catch up, right, 171 is a USB connection error, so when your phone is in the bootloader, plugged into the computer with fastboot usb showing, have a look in device manager and make sure your computer can see your phone and that you dont have anything like "One" with a yellow exclamation mark.
sounds like a driver problem to me, but are you using the original HTC cable too ?
Click to expand...
Click to collapse
Yeah , well I tried like 4 drivers already , fastboot usb is indeed showing, and the RUU does restart the device , but when waiting for bootloader nothing shows =/
Tried with different pc too with different compatiblities.
Only thing left to try is another cable.
Thnx for following up
Rave201 said:
Yeah , well I tried like 4 drivers already , fastboot usb is indeed showing, and the RUU does restart the device , but when waiting for bootloader nothing shows =/
Tried with different pc too with different compatiblities.
Only thing left to try is another cable.
Thnx for following up
Click to expand...
Click to collapse
what I meant was when fastboot usb is showing, have a look in windows device manager and make sure it see's your phone, should say MyHTC.
only drivers you need which have never let me down, even on Windows 10 is HTC sync manager, just download and install the latest version from the HTC site, I would uninstall all current phone drivers first, then run a cleaner like CCleaner to remove old files, reboot computer then install HTC sync manager, after the install, un-install HTC sync, just leaving HTC driver package above it alone.
make sure your phone is unplugged when doing the above, leave your phone in the bootloader, and when you have finished the last step of un-installing HTC sync, then plug your phone into the computer and let it load the fastboot driver, thats the main one you need right now.
Hi again , So I tried everything above and nothing , took the device to a guy who's good in repairing and flashing devices and couldn't flash it neither.
for a radical solution , should I change the whole mainboard or there is a specific part ?
Rave201 said:
Hi again , So I tried everything above and nothing , took the device to a guy who's good in repairing and flashing devices and couldn't flash it neither.
for a radical solution , should I change the whole mainboard or there is a specific part ?
Click to expand...
Click to collapse
It's a 2 year old phone, it's really only worth fixing if you already have the parts for free.
This phone sells for $149 New in the US, and even cheaper used on eBay.
Thanks for the advice , but more objectively Motherboard or a specific part ?
Parts here are pretty cheap compared. And I can't afford a new one actually.
Rave201 said:
Thanks for the advice , but more objectively Motherboard or a specific part ?
Parts here are pretty cheap compared. And I can't afford a new one actually.
Click to expand...
Click to collapse
SD_HW_ERROR = probably a defective emmc. You can't replace the emmc chip, its soldered directly on the Motherboard so you will indeed need to replace the motherboard but like clsA said it really doesnt worth it. You can get a new M7 for 150$. HTC sells their Motherboard around 100$ + you'll probably need to replace the body like many users who tried to open the phone themselves (very fragile around the volume rockers). Even if I love my M7, I wouldn't spent 100$ to replace the MB.
And buying a used motherboard is not a good idea. You don't know if its working good + you don't know if the IMEI is blacklisted.
Thanks for the explanation alray, I excpected the fail in the emmc too cause read_mmc emmc didn't work.
Anway I don't live in the us . Here though, a new one cost roughly 300 $ and the motherboard is about 80$ or less.
Thanks again

Htc desire 510 64 bit uk ( revert back to stock )

REVERT BACK TO FULL STOCK HTC DESIRE 510 64 BIT UK EE/ORANGE (SOLVED)​
UNLOCKED BOOTLOADER IS NEEDED FOR THIS SO IF YOU DO NOT HAVE A UNLOCKED BOOTLOADER UNLOCK IT FIRST AT HTCDEV. I AM WRITING THE GUIDE TO HELP THOSE WHO HAVE THE HTC DESIRE 510 64 BIT UK VERSION ON EE/ORANGE AND ARE TRYING TO REVERT BACK TO FULL STOCK. IT MAY HELP THOSE ON OTHER NETWORKS BUT TRY AT YOUR OWN RISK. I HAVE NOTICED THAT THERE ARE NOT MANY ROMS ABOUT FOR THIS PHONE STOCK OR CUSTOM. MY 510 WAS GREAT UP UNTILL I STARTED TO CUSTOMISE IT. CUSTOM RECOVERY ROOT ECT. IT ALL WENT WELL UNTILL I NOTICED I HAD SOME NASTY RED WRITING EVERY TIME I TURNED MY PHONE ON. SOMETHING ABOUT HTC DEVELOPMENT. I ALSO NOTICED THAT OTA UPDATES WERE NOT INSTALLING. F**k THIS I THOUGHT TIME TO REVERT BACK TO FULL UNROOTED STOCK BUT THIS WAS NOT AS SIMPLE AS I THOUGHT IT WOULD BE AS I COULD NOT FIND ANY DESIRE 510 64 BIT UK STOCK ROMS ANYWHERE ON THE NET. I HAVE MANAGED TO GET A STOCK ROM AND REMOVED THE ROOT. I HAVE ALSO MANAGED TO GET A STOCK RECOVER.img. THE WHOLE PROCESS WILL TAKE LESS THAN 1 HOUR IF YOU KNOW WHAT YOU ARE DOING. DO THIS PROCESS AT YOUR OWN RISK. YOU WILL NEED TO HAVE A UNLOCKED BOOTLOADER. NO S-OFF IS NEEDED. OK LETS GET STARTED
DOWNLOAD FILES HERE https://onedrive.live.com/download?...!362&authkey=!AJe2kEJ0umuLUT0&ithint=file,zip
ENTER FASTBOOT MODE ON PHONE (hold volume down button and power button at the same time)
START FAST BOOT PROGRAMME ON PC (open adb folder and place mouse pointer on a blank space within the folder and hold tab key while pressing right mouse key then select open command window here)
WE WILL BE DOING THE PROCESS IN THIS ORDER
1 FLASH CWM RECOVERY.IMG ( WITH FASTBOOT )
2 INSTALL STOCK ROM.ZIP FROM SD CARD ( FROM CWM MENU )
3 INSTALL STOCK RECOVERY.IMG ( WITH FASTBOOT )
4 RE LOCK BOOTLOADER ( WITH FASTBOOT )
1ST PUT THE PHONE IN FASTBOOT MODE AND CONNECT TO THE PC. START FASTBOOT PROGRAMME AND ENTER THIS FASTBOOT COMMAND AND PRESS ENTER. fastboot flash recovery recoverycwm.img WHEN THIS HAS FINISHED POWER OFF THE PHONE BY REMOVING THE BATTERY THEN PUT IT BACK IN.
2ND PUT THE STOCK ROM ON SD CARD AND PUT IT IN THE PHONE. ENTER CWM RECOVERY ON THE PHONE BY GOING INTO FASTBOOT MODE AND SCROLLING DOWN TO RECOVERY AND PRESS POWER BUTTON. ONCE IN RECOVERY MODE CLEAR ALL THE CATCHES ( i formatted everything apart from the sd card ). NOW INSTALL THE ROM ZIP. RESTART THE PHONE AND ENABLE USB DEBUGING MODE THEN POWER OFF THE PHONE AND REMOVE THE BATTERY THEN PUT IT BACK IN.
3. NOW POWER THE PHONE BACK ON INTO FASTBOOT MODE AND CONNECT IT TO THE PC. START THE FASTBOOT PROGRAMME AND TYPE THE FOLLOWING COMMAND fastboot flash recovery recovery-update.img THEN PRESS ENTER. ONCE COMPLETE TURN OFF THE PHONE BY REMOVING THE BATTERY AND PUTTING IT BACK IN.
4. NOW POWER ON THE PHONE INTO FASTBOOT MODE AND CONNECT TO THE PC. START THE FASTBOOT PROGRAMME AND ENTER THE FOLLOWING COMMAND fastboot oem lock AND PRESS ENTER. YOUR PHONE WILL RESTART. JOB DONE
YOU WILL NOW BE BACK ON STOCK FIRMWARE WITH A STOCK UNROOTED KERNEL AND A STOCK RECOVER MENU AND LOCKED BOOTLOADER. THE RED WRITING ON THE HTC SPLASH SCREEN WILL BE GONE AND OTA UPDATES WILL NOW WORK. :good:
where do i find the link?
Where is the link you said to get the required files?
Thanks in advance for this post, i hope it works
frodoor said:
Where is the link you said to get the required files?
Thanks in advance for this post, i hope it works
Click to expand...
Click to collapse
I cant upload the files as i am new to xda but if you want to give me your email address i can forward a a download link.
ANDROIDGEEK072 said:
I cant upload the files as i am new to xda but if you want to give me your email address i can forward a a download link.
Click to expand...
Click to collapse
Yes please i sent a PM with my email,
Thank you :good:
Email: [email protected]
Hey .. Mine is from boost mobile, hope this work on here too. Send me the links too on [email protected]
Thanks in advance
frodoor said:
Yes please i sent a PM with my email,
Thank you :good:
Email: [email protected]
Click to expand...
Click to collapse
Glad it worked for you my friend. Can you leave a comment in the post to let others know that it worked for you. Nice one :good:
ANDROIDGEEK072 said:
Glad it worked for you my friend. Can you leave a comment in the post to let others know that it worked for you. Nice one :good:
Click to expand...
Click to collapse
Download link now added good luck
kudokunnn said:
Hey .. Mine is from boost mobile, hope this work on here too. Send me the links too on [email protected]
Thanks in advance
Click to expand...
Click to collapse
Download link added
ANDROIDGEEK072 said:
Download link added
Click to expand...
Click to collapse
Hi, thank you for rom, but not working for me... Last part.
C:\Users\Nerijus\Desktop\HTC DESIRE 510 64 BIT UK\adb> fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) [ERR] Failed to disable wdog debug: -4
(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 1.132s
When i rebooted device htc sreen freeze (without red letters ), waited for 30 minutes and nothing... sry for my english
Can u send me the links....my email adrress is [email protected]
Nerijus87 said:
Hi, thank you for rom, but not working for me... Last part.
C:\Users\Nerijus\Desktop\HTC DESIRE 510 64 BIT UK\adb> fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) [ERR] Failed to disable wdog debug: -4
(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 1.132s
When i rebooted device htc sreen freeze (without red letters ), waited for 30 minutes and nothing... sry for my english
Click to expand...
Click to collapse
Are you sure that your phone is a 64 bit version also this method requires a unlocked bootloader. This rom is for EE network
ANDROIDGEEK072 said:
Are you sure that your phone is a 64 bit version also this method requires a unlocked bootloader. This rom is for EE network
Click to expand...
Click to collapse
Forgot to say that it will say failed but it should still lock your bootloader. Sounds like you may have a 32 bit phone this is why it is stuck on htc screen or you did not flash the recovery.
Ummm:
C:\adb>fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) [ERR] Failed to disable wdog debug: -4
(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 1.149s
C:\adb>
And it just keeps rebooting....
maksimkooo98 said:
Ummm:
C:\adb>fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) [ERR] Failed to disable wdog debug: -4
(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 1.149s
C:\adb>
And it just keeps rebooting....
Click to expand...
Click to collapse
Let me ask you this question because I'm looking at the info you put on here from your phone so... WHAT kind of phone is that? I need the name, the MODEL number and everything... EVEN your HBoot screen info too... Type it ALL in here!!!
Please send me to [email protected]. thank you in advance
MrMike2182 said:
Let me ask you this question because I'm looking at the info you put on here from your phone so... WHAT kind of phone is that? I need the name, the MODEL number and everything... EVEN your HBoot screen info too... Type it ALL in here!!!
Click to expand...
Click to collapse
***RELOCKED***
A11_UL PVT SHIP S-ON
HBOOT-3.19.0.0000
RADIO-01.02.012_U10251_39.O8.40922
OS-
eMMC-boot 1024MB
Aug 10 2015, 17:43:35.0
HTC Desire 510 model number: 0PCV200
Mine is a boost mobile....can u suggest me a link where reverting back to stock for boost mobile is given...
Im asking this particularly bcoz u said that it is for ee network....
ANDROIDGEEK072 said:
REVERT BACK TO FULL STOCK HTC DESIRE 510 64 BIT UK EE/ORANGE (SOLVED)​
UNLOCKED BOOTLOADER IS NEEDED FOR THIS SO IF YOU DO NOT HAVE A UNLOCKED BOOTLOADER UNLOCK IT FIRST AT HTCDEV. I AM WRITING THE GUIDE TO HELP THOSE WHO HAVE THE HTC DESIRE 510 64 BIT UK VERSION ON EE/ORANGE AND ARE TRYING TO REVERT BACK TO FULL STOCK. IT MAY HELP THOSE ON OTHER NETWORKS BUT TRY AT YOUR OWN RISK. I HAVE NOTICED THAT THERE ARE NOT MANY ROMS ABOUT FOR THIS PHONE STOCK OR CUSTOM. MY 510 WAS GREAT UP UNTILL I STARTED TO CUSTOMISE IT. CUSTOM RECOVERY ROOT ECT. IT ALL WENT WELL UNTILL I NOTICED I HAD SOME NASTY RED WRITING EVERY TIME I TURNED MY PHONE ON. SOMETHING ABOUT HTC DEVELOPMENT. I ALSO NOTICED THAT OTA UPDATES WERE NOT INSTALLING. F**k THIS I THOUGHT TIME TO REVERT BACK TO FULL UNROOTED STOCK BUT THIS WAS NOT AS SIMPLE AS I THOUGHT IT WOULD BE AS I COULD NOT FIND ANY DESIRE 510 64 BIT UK STOCK ROMS ANYWHERE ON THE NET. I HAVE MANAGED TO GET A STOCK ROM AND REMOVED THE ROOT. I HAVE ALSO MANAGED TO GET A STOCK RECOVER.img. THE WHOLE PROCESS WILL TAKE LESS THAN 1 HOUR IF YOU KNOW WHAT YOU ARE DOING. DO THIS PROCESS AT YOUR OWN RISK. YOU WILL NEED TO HAVE A UNLOCKED BOOTLOADER. NO S-OFF IS NEEDED. OK LETS GET STARTED
DOWNLOAD FILES HERE https://onedrive.live.com/download?...!362&authkey=!AJe2kEJ0umuLUT0&ithint=file,zip
ENTER FASTBOOT MODE ON PHONE (hold volume down button and power button at the same time)
START FAST BOOT PROGRAMME ON PC (open adb folder and place mouse pointer on a blank space within the folder and hold tab key while pressing right mouse key then select open command window here)
WE WILL BE DOING THE PROCESS IN THIS ORDER
1 FLASH CWM RECOVERY.IMG ( WITH FASTBOOT )
2 INSTALL STOCK ROM.ZIP FROM SD CARD ( FROM CWM MENU )
3 INSTALL STOCK RECOVERY.IMG ( WITH FASTBOOT )
4 RE LOCK BOOTLOADER ( WITH FASTBOOT )
1ST PUT THE PHONE IN FASTBOOT MODE AND CONNECT TO THE PC. START FASTBOOT PROGRAMME AND ENTER THIS FASTBOOT COMMAND AND PRESS ENTER. fastboot flash recovery recoverycwm.img WHEN THIS HAS FINISHED POWER OFF THE PHONE BY REMOVING THE BATTERY THEN PUT IT BACK IN.
2ND PUT THE STOCK ROM ON SD CARD AND PUT IT IN THE PHONE. ENTER CWM RECOVERY ON THE PHONE BY GOING INTO FASTBOOT MODE AND SCROLLING DOWN TO RECOVERY AND PRESS POWER BUTTON. ONCE IN RECOVERY MODE CLEAR ALL THE CATCHES ( i formatted everything apart from the sd card ). NOW INSTALL THE ROM ZIP. RESTART THE PHONE AND ENABLE USB DEBUGING MODE THEN POWER OFF THE PHONE AND REMOVE THE BATTERY THEN PUT IT BACK IN.
3. NOW POWER THE PHONE BACK ON INTO FASTBOOT MODE AND CONNECT IT TO THE PC. START THE FASTBOOT PROGRAMME AND TYPE THE FOLLOWING COMMAND fastboot flash recovery recovery-update.img THEN PRESS ENTER. ONCE COMPLETE TURN OFF THE PHONE BY REMOVING THE BATTERY AND PUTTING IT BACK IN.
4. NOW POWER ON THE PHONE INTO FASTBOOT MODE AND CONNECT TO THE PC. START THE FASTBOOT PROGRAMME AND ENTER THE FOLLOWING COMMAND fastboot oem lock AND PRESS ENTER. YOUR PHONE WILL RESTART. JOB DONE
YOU WILL NOW BE BACK ON STOCK FIRMWARE WITH A STOCK UNROOTED KERNEL AND A STOCK RECOVER MENU AND LOCKED BOOTLOADER. THE RED WRITING ON THE HTC SPLASH SCREEN WILL BE GONE AND OTA UPDATES WILL NOW WORK. :good:
Click to expand...
Click to collapse
hey, thank you for this tutorial, i need download link to the rest of the files....
Thanks
ANDROIDGEEK072 said:
REVERT BACK TO FULL STOCK HTC DESIRE 510 64 BIT UK EE/ORANGE (SOLVED)​
UNLOCKED BOOTLOADER IS NEEDED FOR THIS SO IF YOU DO NOT HAVE A UNLOCKED BOOTLOADER UNLOCK IT FIRST AT HTCDEV. I AM WRITING THE GUIDE TO HELP THOSE WHO HAVE THE HTC DESIRE 510 64 BIT UK VERSION ON EE/ORANGE AND ARE TRYING TO REVERT BACK TO FULL STOCK. IT MAY HELP THOSE ON OTHER NETWORKS BUT TRY AT YOUR OWN RISK. I HAVE NOTICED THAT THERE ARE NOT MANY ROMS ABOUT FOR THIS PHONE STOCK OR CUSTOM. MY 510 WAS GREAT UP UNTILL I STARTED TO CUSTOMISE IT. CUSTOM RECOVERY ROOT ECT. IT ALL WENT WELL UNTILL I NOTICED I HAD SOME NASTY RED WRITING EVERY TIME I TURNED MY PHONE ON. SOMETHING ABOUT HTC DEVELOPMENT. I ALSO NOTICED THAT OTA UPDATES WERE NOT INSTALLING. F**k THIS I THOUGHT TIME TO REVERT BACK TO FULL UNROOTED STOCK BUT THIS WAS NOT AS SIMPLE AS I THOUGHT IT WOULD BE AS I COULD NOT FIND ANY DESIRE 510 64 BIT UK STOCK ROMS ANYWHERE ON THE NET. I HAVE MANAGED TO GET A STOCK ROM AND REMOVED THE ROOT. I HAVE ALSO MANAGED TO GET A STOCK RECOVER.img. THE WHOLE PROCESS WILL TAKE LESS THAN 1 HOUR IF YOU KNOW WHAT YOU ARE DOING. DO THIS PROCESS AT YOUR OWN RISK. YOU WILL NEED TO HAVE A UNLOCKED BOOTLOADER. NO S-OFF IS NEEDED. OK LETS GET STARTED
ENTER FASTBOOT MODE ON PHONE (hold volume down button and power button at the same time)
START FAST BOOT PROGRAMME ON PC (open adb folder and place mouse pointer on a blank space within the folder and hold tab key while pressing right mouse key then select open command window here)
WE WILL BE DOING THE PROCESS IN THIS ORDER
1 FLASH CWM RECOVERY.IMG ( WITH FASTBOOT )
2 INSTALL STOCK ROM.ZIP FROM SD CARD ( FROM CWM MENU )
3 INSTALL STOCK RECOVERY.IMG ( WITH FASTBOOT )
4 RE LOCK BOOTLOADER ( WITH FASTBOOT )
1ST PUT THE PHONE IN FASTBOOT MODE AND CONNECT TO THE PC. START FASTBOOT PROGRAMME AND ENTER THIS FASTBOOT COMMAND AND PRESS ENTER. fastboot flash recovery recoverycwm.img WHEN THIS HAS FINISHED POWER OFF THE PHONE BY REMOVING THE BATTERY THEN PUT IT BACK IN.
2ND PUT THE STOCK ROM ON SD CARD AND PUT IT IN THE PHONE. ENTER CWM RECOVERY ON THE PHONE BY GOING INTO FASTBOOT MODE AND SCROLLING DOWN TO RECOVERY AND PRESS POWER BUTTON. ONCE IN RECOVERY MODE CLEAR ALL THE CATCHES ( i formatted everything apart from the sd card ). NOW INSTALL THE ROM ZIP. RESTART THE PHONE AND ENABLE USB DEBUGING MODE THEN POWER OFF THE PHONE AND REMOVE THE BATTERY THEN PUT IT BACK IN.
3. NOW POWER THE PHONE BACK ON INTO FASTBOOT MODE AND CONNECT IT TO THE PC. START THE FASTBOOT PROGRAMME AND TYPE THE FOLLOWING COMMAND fastboot flash recovery recovery-update.img THEN PRESS ENTER. ONCE COMPLETE TURN OFF THE PHONE BY REMOVING THE BATTERY AND PUTTING IT BACK IN.
4. NOW POWER ON THE PHONE INTO FASTBOOT MODE AND CONNECT TO THE PC. START THE FASTBOOT PROGRAMME AND ENTER THE FOLLOWING COMMAND fastboot oem lock AND PRESS ENTER. YOUR PHONE WILL RESTART. JOB DONE
YOU WILL NOW BE BACK ON STOCK FIRMWARE WITH A STOCK UNROOTED KERNEL AND A STOCK RECOVER MENU AND LOCKED BOOTLOADER. THE RED WRITING ON THE HTC SPLASH SCREEN WILL BE GONE AND OTA UPDATES WILL NOW WORK. :good:
Click to expand...
Click to collapse
Thanks for the useful tutorial I flashed my Telstra brand 64 bit phone with this tutorial and it was successful.
the only issue I encountered was when I locked the bootloader in the end than the phone kept rebooring into bootloader. I realised that the Rooted bootloader is causing this So I flashed the supplied boot.img to the phone and voila it worked.
In my opinion we have to unroot the phone before locking the bootloader.
I still can see "software status : modified" and "Relocked" in the bootloader screen. I hope someone someday will find a way to clean this thing as well.
solution
maksimkooo98 said:
Ummm:
C:\adb>fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) [ERR] Failed to disable wdog debug: -4
(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 1.149s
C:\adb>
And it just keeps rebooting....
Click to expand...
Click to collapse
flash boot_signed.img to your phone which is inside the rom.zip. Same problem was with me and it did the trick.

Categories

Resources