Getting back to Stock with Correct RUU file - Sprint HTC One (M9)

Hello everybody,
After receiving a new HTC One M9, I wanted to root it to remove the annoying bloatware apps that come pre-loaded. I unlocked the bootloader, installed TWRC and tried to install SU. After many tries, it wouldn't install so I tried to flash a ROM instead. It worked, but lo and behold, the ROM doesn't work on my phone at all. (Android Revolution 40) Now my SIM card isn't registering either and I just want to put the phone back into the stock mode. I found some tutorials and found a RUU file on the HTC website for 3.41.651 which is the latest one for Marshmallow I think. I think the process now is to relock bootloader then use the RUU file .exe via my computer, but I figured I'd ask before I let my stupid ideas run wild. Thanks in advance to anyone who offers help.

Related

[Q] cant unlock bootloader or flash stock rom htc legend help

HI hope someone can help me with this, i have tried without success to unlock my bootloader, i have updated to hboot 1.02 but when i try to do the fastboot flash unlocktoken Unlock_code.bin it sits at 0percent and doesn't move and no errors, i've tried this with my goldcard in and out of the phone and with cyanogen and b08 roms, also for some reason i can't flash the stock rom so i can get the required update from htc(thinking that's y the unlock code won't go), i've tried getting numerous ruu's and i was getting signature verification fails every time, i tried with windows the exe and also exracted the rom.zip and still no luck, i prefer using linux and adb though and tried numerous ways to get this to work with no success, i've also tried signing a rom.zip and the phone just says no signature, also tried renaming to LEGEIMG.zip and update.zip and just can't flash stock rom, also made a new goldcard thinking the other was bad and did the htcdev for the unlock code with a goldcard and without, also tried the ruu.exe in windows with new said goldcard and i think the other was bad because i get a different error now for reason it can't update my rom(was using the rom i originally rooted with which has sense). it says wrong bootloader version when i try and update, anyone know what i can do, i'm running outta ideas, thanks in advance
I Unlocked my bootloader with HTCdev. You said you tried. What went wrong?
If you have updated your phone to one of the ruus HTC gives you ( execute the exe ), there shouldn't be any problem : the HTC guide is clear and easy. If you have successuffly unlocked the bootloader, now you have to flash the clockwork recovery.
when i go to fastboot it stays on copying at 0 percent with the unlock_code.bin....My phone has root access before i ran the hboot update and still does but i can't flash the new ruu, it won't allow me to, i tried running the htc ruu and it fails with can't update, bootloader version incorrect, i tried with the b-08 rom, i can't get back to stock
Have you tried flashing this? ----> http://forum.xda-developers.com/showthread.php?t=1497357
If you don't install one of the updates given by HTC, bootloader unlock won't work. If you have the same problems that I had ( my Legend also wasn't rooted ) the RUUs won't install, right? I flashed first this one and then one of the HTC RUUs and after this everything worked perfectly.
nope, i didn't try that one yet, but the thing is my legend was rooted before i tried flashing these htc ruus, i just want my bootloader unlocked, i had cyanogen on it then flashed a rooted one with sense (b08) thinking that would let me update but it didn't, so i'm downloading that one you pointed me to now, i'll try and flash it and let you know how it goes.
When i flash that rom i get a main version is older error when i rename it to LEGEIMG and flash it via fastboot, what can i do now?
I followed Blayo's guide http://forum.xda-developers.com/showpost.php?p=22613990&postcount=62 with my already rooted Legend. Try to follow exactly. You said using a gold card - don't think this is even necessary. At least I did not use one, and it is working perfectly.
After flashing the new bootloader, did you really unlock?
(last step of guide above: follow the instructions on HTCdev from Step 8 to unlock)
Wait, all the RUUs you have to flash before unlocking are HTC's executable files ( .exe ). You have updated your phone executing them, haven't you? After that I just rebooted my phone to fastboot and connected it. I found the unlock code, sent it to HTCdev, received an e-mail with the file to complete unlock and then unlocked. I never used anything like UPDATE.zip or LEGEIMG. I tried following the BlaYo's instructions but they didn't work for me. I just did what HTC said ( easyer and safer ).
hmmmmm
hello guys... pwde ba ko mag unlock ng bootloader my x8 stiker is 11w48?
astig_king24 said:
hello guys... pwde ba ko mag unlock ng bootloader my x8 stiker is 11w48?
Click to expand...
Click to collapse
keyboard error?!
i solved my problem, i sold the phone and bought another legend. LOL, no seriously though, i did sell it and got another but i tried everything and couldn't unlock bootloader, i tried the exe files from htc, tried extracting the zip files, tried fastboot and renaming to LEGEIMG, just couldn't get it unlocked, so i flashed the latest cyanogen 7.2 and sold the darn thing, now i got another and made 50$ in the process as i bought the new one 50$ cheaper and i'm going to go through the htc channels to unlock the bootloader but does anyone know if i'll be able to flash cm7 after i do that?
bootloader
I have a similar problem with my Legend i had already rooted my legend following this guide http://chrg.zxq.net/htc-legend-root.html. I decided to unlock the bootloader folowing the guide on HTC dev to the letter and it worked fine bootloader unlocked. Only prolem is after rooting the phone again and flashing cm7 the bootloader is now locked again. What to do any ideas id be very greatfull.
sam0056 said:
I have a similar problem with my Legend i had already rooted my legend following this guide http://chrg.zxq.net/htc-legend-root.html. I decided to unlock the bootloader folowing the guide on HTC dev to the letter and it worked fine bootloader unlocked. Only prolem is after rooting the phone again and flashing cm7 the bootloader is now locked again. What to do any ideas id be very greatfull.
Click to expand...
Click to collapse
What do you mean with 'rooting again'? Once you have unlocked bootloader, you are able to flash a recovery, and then CM, which is rooted. See http://forum.xda-developers.com/showthread.php?p=24102979 for latest Recovery and latest CM7.2 builds
Ok just to update i flashed the HTC dev bin file again and had restore cm7 backup and bootloader is unlocked once again.
got her goin good now, unlocked bootloader with htcdev, fastboot flashed cwm, then i was able to flash cm7.2 and gapps no problem at all, now if we could only s-off the legend???
dantheman1977 said:
... now if we could only s-off the legend???
Click to expand...
Click to collapse
For what reason? It's quite similar
Because it's still not totally unlocked
dantheman1977 said:
i solved my problem, i sold the phone and bought another legend. LOL, no seriously though, i did sell it and got another but i tried everything and couldn't unlock bootloader, i tried the exe files from htc, tried extracting the zip files, tried fastboot and renaming to LEGEIMG, just couldn't get it unlocked, so i flashed the latest cyanogen 7.2 and sold the darn thing, now i got another and made 50$ in the process as i bought the new one 50$ cheaper and i'm going to go through the htc channels to unlock the bootloader but does anyone know if i'll be able to flash cm7 after i do that?
Click to expand...
Click to collapse
After unlocking boot loader:
1. Use htcsupertoolv3 to root
2. Install rom manager and titanium backup
3. Run titanium backup. It will ask you to update su. accept (i'm not sure if this step is required, but this is how i done it)
4. Copy recovery-clockwork-5.0.2.0-legend to your Android folder created during bootloader unlock
5. With your phone on fastboot mode open terminal in your PC android folder and type:
fastboot flash recovery recovery-clockwork-5.0.2.0-legend.img
Your phone will go to recovery mode.
6. Reboot your phone in normal mode
7. From now on, each time you want to go into recovery, use rom manager
Done
dantheman1977 said:
Because it's still not totally unlocked
Click to expand...
Click to collapse
So for what I have understood from HTCdev, you can do everything similar to S-OFF, with one exception: you cannot unlock a SIM lock.
Oops... said:
So for what I have understood from HTCdev, you can do everything similar to S-OFF, with one exception: you cannot unlock a SIM lock.
Click to expand...
Click to collapse
True, you can't. I'm not sure if flashing a custom rom will unlock it, as my phone sim card was unlocked from very beginning. Probably not?

[Q] How to get Stock Rom back ???

Hey Guys I've bought a HTC one x+ in Germany which I rooted time ago. Now I just want to unroot my device to get the original HTC Sense 5 Android 4.2.2 update. My problem is I dont have a any backups nor find any RUU with the following CID version: 1.17.206.1
My HBOOT Version is 1.35 , I also tried some RUU's which was canceled during the update progress since I did not have the right CID version needed.
However I'm going crazy and loosing my hope, please help me how to install the original HTC Rom.:crying::crying:
Thanks
jackson7000 said:
Hey Guys I've bought a HTC one x+ in Germany which I rooted time ago. Now I just want to unroot my device to get the original HTC Sense 5 Android 4.2.2 update. My problem is I dont have a any backups nor find any RUU with the following CID version: 1.17.206.1
My HBOOT Version is 1.35 , I also tried some RUU's which was canceled during the update progress since I did not have the right CID version needed.
However I'm going crazy and loosing my hope, please help me how to install the original HTC Rom.:crying::crying:
Thanks
Click to expand...
Click to collapse
seems like you have a phone with o2 cid, so your out of luck, there's no ruu that worsk with that version.
but there's a german forum i recently found, where you can find stock backups (including boot.img) and stock recoveries.
http://www.android-hilfe.de/root-cu...04-one-x-plus-ruu-s-fuer-htc-o2-vodafone.html
just put the backup into the right folder on your phone, make sure CWM/TWRP recognizes this backup, then flash stock boot.img in fastboot, restore stock backup in your recovery, flash stock recovery in fastboot and finally relock bootloader.
then your phone should be back to stock software.
thank you so far. another problem is I somewhere I have to delete Superuser and relock my bootloader to flash the stock rom. Thats why I deleted Superuser and locked my bootloader again. My question is now can I still flash to stock rom or do I have unlock bootloader again ?
jackson7000 said:
thank you so far. another problem is I somewhere I have to delete Superuser and relock my bootloader to flash the stock rom. Thats why I deleted Superuser and locked my bootloader again. My question is now can I still flash to stock rom or do I have unlock bootloader again ?
Click to expand...
Click to collapse
you probably need to unlock your phone again.
as soon as you restored the stock backup, everything you had on your phone except internal storage will be replaced by stock software, all settings will be reset, all userdata will be wiped!!!
so better backup/copy everything you need to your computer before you restore that backup.

[Q] Help!! Wifi Issues after installing Viper on AT&T HTC M8

This are all steps that I have tried and nothing works:
1. Install twrp 2.7.0.2 succesfully, then viper. (no wifi)
2. flash ruu for att, install twrp 2.7.0.2 succesfully, the viper. (no wifi)
3. flash ruu for att, install twrp 2.8.6.0, twrp recovery won't load, stuck on screen
I've read in some threads that wifi issues are because of old firmware, but I installed latest rue and didn't solve anything, and for some reason twrp 2.6.8.0 which says is for all carriers won't work in my phone. Also tried installing ARHD rom and it doesn't work either. Is there any file I need to flash for wifi to work or what are the specific steps I need to follow for it to work correctly. I did this in another HTC M8 for Sprint and had no issues at all. I appreciate your help.
*** I managed to flash 4.4.2 custom kitkat rom. Wifi works in this one. How do I go from this one to Viper M8 without messing the wifi up? In the page it says to upgrade to 5.0.1 before but how do I even do that? Not sure what I'm supposed to flash before installing Viper or where to find it. Do I also need to update TWRP before? Thanks.
Did you try the Viper thread?
Haven't found detailed instructions yet. I managed to flash a stock rom for 4.4.2 for at&t. But when I searched on the phone for an ota update to 5.0.1 it didn't find any. Then I flashed viper again but wifi didn't work. I guess I have to install stock 4.4.2 again, the install a stock update to 5.0.1 and then flash viper. I'll try this option later to see if it finally works. Have been working on this for the past 3 days.
What RUU did you run?
Did you relock the bootloader to run the RUU (required since you are s-on)?
Your hboot indicates you are still on 4.4.2 firmware, which is why WiFi is broken on 5.0 (Lollipop) ROMs. You either ran the wrong RUU, or the RUU failed to install due to unlocked bootloader.
Easiest way to update the firmware is to relock the bootloader and run the AT&T Lollipop RUU.
I downloaded ann RUU zip file for version 4.4.2 and just placed it in sdcard and asked for uptade automaticaly. I don't have the AT&T sim card, which I guess is the reason why I press software update and it says that the phone is up to date. The two ruu I found for lollipop, one says european version and the other is .exe which won't work on a mac. I really don't know if a lollipop ruu zip file of the US version even exists or if installing the European version is the same thing or if my only option is OTA update with a sim card
Finally got it to work. Long process but I'll explain what I did for anyone with the same problem. Thanks for the help everyone.
* I downloaded RUU.exe from one of the threads
* Used parallels on mac ( download free trial of software and windows 7)
* First enabled show hidden files on windows
* went to C> users> (USERNAME)> APP DATA> LOCAL > temp> (open folder just created, one with a really long list of letters)> copy rom.zip from there to mac 1.6gb file
*rename to OP6bimg.zip
* copy to sd card root
* open bootloader > hboot
* it should automatically ask to complete update, just press volume up button and it should work just fine
* now you should be in stock lollipop.
(I havrn't rooted yet, but I guess now I won't have any wifi issues when flashing custom rom)
dannygarced said:
I downloaded ann RUU zip file for version 4.4.2 and just placed it in sdcard and asked for uptade automaticaly.
Click to expand...
Click to collapse
That means you are on 4.4.2 firmware. So you if you try to run any more recent version based ROMs (4.4.3, 4.4.4, 5.0, etc.) you will have broken WiFi. You need to run the 5.0 RUU to fix this.
dannygarced said:
I don't have the AT&T sim card, which I guess is the reason why I press software update and it says that the phone is up to date. d
Click to expand...
Click to collapse
That is correct. AT&T is unique compared to most other versions of the M8 in that you need to be connected to AT&T's network to get the OTA updates.
dannygarced said:
I really don't know if a lollipop ruu zip file of the US version even exists or if installing the European version is the same thing
Click to expand...
Click to collapse
Running the Euro RUU zip is definitely not the same thing as the AT&T RUU. The RUU checks the CID and MID of the phone. Since the CID and MID on the phone will not match what the RUU is looking for, the RUU will fail.
I haven't seen a Lollipop zip version of the RUU for AT&T.

Plenty of errors after custom recovery and bootloader unlock since MM OTA!

I received an OTA update on my AT&T M9 and proceeded to unlock the bootloader and flash a custom recovery, and forgot to make a backup of my system before flashing a new rom. Now I can't get any rom to load properly, and can't run the RUU program from HTC on any of my computers. Does anyone have a way of retrieving an official AT&T firmware zip or any solution? I'm at my wit's end, and HTC was no help at all. The phone is S-On, to make matters worse. And any rom I flash that manages to get to the welcome screen hangs at "Connecting to Wi-fi" forever.
Managed to fix it, had to S-Off to reset my firmware version, but to anyone who screwed up like I did, this is the AT&T Marshmallow update to the HTC One. Fixed my problem, and allowed me to restart from the beginning. To anyone that reads this, $25 is a small price to pay for an S-Off.
https://www.htc.com/us/support/htc-one-m9-att/news/

Upgrading Software Issue.

Software up to date issue
HI all, just got this M8 and it is an ATT Version. but I believe it is unlocked because I am using it with cricket.
When trying to update Android Tells me software is up to date ?
Android version 5.0.2
HTC Sense Version 6.0
Software Number 4.28.502.1
HTC SDK API Level
I am pretty sure that ATT has updated to Marshmallow by now / So why can't I update? I am on wifi and 4G/LTE Could it be because I am using a Cricket Sim Card in the Phone ?
I have downloaded the RUU for Marshmallow software version 6.20.502.5. Should I continue with the Manual update ?
I believe this phone was originally purchased from ATT on May of 2016 if it makes any difference , figured I post it. since it could be a newer version of HTC M8.
Also is there a way to back up my current stock rom, without Rooting phone ? Thanks for all your help.
As I cannot root my phone, because when I go into developer option and search for S-off That option is not there and I can't Continue.
My responses below in red font:
ELEVO said:
HI all, just got this M8 and it is an ATT Version. but I believe it is unlocked because I am using it with cricket.
When trying to update Android Tells me software is up to date ?
I am pretty sure that ATT has updated to Marshmallow by now / So why can't I update? I am on wifi and 4G/LTE Could it be because I am using a Cricket Sim Card in the Phone ?
That is correct, the AT&t version (and most US versions) can only OTA update if connected to the proper branded carrier (AT&T in this case). Therefore, the RUU is your best option to update.
I have downloaded the RUU for Marshmallow software version 6.20.502.5. Should I continue with the Manual update ?
You can. But you need to flash the 6.20.502.5 firmware first, before you can flash the RUU. See instructions to flash the firmware here: https://forum.xda-developers.com/showpost.php?p=67123738&postcount=7
Then run the RUU. Keep in mind, that RUU will wipe the phone. So backup your data to an off-phone location (cloud, computer, etc.) before RUU.
Also is there a way to back up my current stock rom, without Rooting phone ? The current Lollipop ROM? No, there will be no way to revert to LP by official means, once you RUU to Marshmallow. I doubt you will find the need or desire to "downgrade" to obsolete LP version. If for some reason you did want to, there are options, but would require unlocking the bootloader (to install custom recovery and flash a Lollipop ROM), or s-off (which would allow you to "downgrade" by RUU - which is not allowed with s-on).
As I cannot root my phone, because when I go into developer option and search for S-off That option is not there and I can't Continue.
You are misunderstanding a couple things:
1) s-off is not a setting in Developer Options. s-off can only be obtained with sunshine app ($25)
2) You don't need s-off to root this device. Simply unlock the bootloader, install TWRP, and flash SuperSU to root
Click to expand...
Click to collapse
Detailed
redpoint73 said:
My responses below in red font:
Click to expand...
Click to collapse
Thanks for the detailed reply, really helpful and greatly appreciated :good:
Two more Questions, Can I upgrade to an official DEV Edition RUU on this ATT Device? or would I have to use a Custom Dev ROM ? as I am trying to Tether with my phone, just like my official Developer HTC M8 I purchased in 2014 , Seems AT&T phone wont allow me to Tether ?
Also once I flash firmware and upgrade to official RUU will need to Unlock and Root Loader? Will doing upgrading to official Marshmallow Relock bootloader and Un Root Phone ? Back to Stock ? Thanks again, I will be attempting this pretty soon. Thanks again
For the Record, I have made a back up of my Lollipop via TWRK. I also backed it up using Titanium back up, just in case.
Again, my responses in red font:
ELEVO said:
Thanks for the detailed reply, really helpful and greatly appreciated :good:
You're welcome. Always happy to help!
Two more Questions, Can I upgrade to an official DEV Edition RUU on this ATT Device?
You can't flash the Dev Edition RUU with s-on. Even though the versions are very similar (same model ID - MID) the two versions have different carrier ID (CID). Wrong carrier ID will make the Dev Ed RUU fail, by definition. And the only way to change CID is with s-off. Further, its not really necessary to flash the Dev Ed RUU (and not worth spending money of s-off) to accomplish what you want (see more below)
or would I have to use a Custom Dev ROM ? as I am trying to Tether with my phone, just like my official Developer HTC M8 I purchased in 2014 , Seems AT&T phone wont allow me to Tether ?
Its correct that the AT&T stock ROM disables tethering. Flashing most custom ROMs (or the Dev Ed ROM) will enable tethering - as well as remove annoying AT&T branding and bloat apps. Flashing the Dev Ed RUU is not necessary to accomplish this.
Also once I flash firmware and upgrade to official RUU will need to Unlock and Root Loader? Will doing upgrading to official Marshmallow Relock bootloader and Un Root Phone ? Back to Stock ? Thanks again, I will be attempting this pretty soon. Thanks again
You need to relock the bootloader in order to flash firmware and RUU (command: fastboot oem lock). Once the RUU is complete, the phone will be on a fully stock "factory" image. So you will be unrooted. You will also be back to stock recovery (no longer have TWRP installed). From there, what you want to do:
1) Unlock the bootloader again. Either use the same unlock bin code you used to unlock BL before. Or get a new code from HTCDev.com
2) Flash TWRP back to the phone with fastboot. TWRP 3.0.2 is recommended for compatibility with MM firmware.
3) Flash the desired custom ROM. The custom ROM will be rooted (if you flash the Dev Ed ROM, you can select root in the AROMA installer).
For the Record, I have made a back up of my Lollipop via TWRK. I also backed it up using Titanium back up, just in case.
Always good to make backups. Although be aware, that RUU will wipe the phone, including internal storage. So if you picked internal storage as your backup location, you'll want to move/copy to another location (removable SD is okay, otherwise to computer or cloud).
Also note that restoring app data (as well as call logs, SMS) using Titanium, after RUU or ROM flash should be okay. But don't restore any system data, as this can cause problems.
Click to expand...
Click to collapse
redpoint73 said:
Again, my responses in red font:
Click to expand...
Click to collapse
Ok i came back to this old post. I forgot all about it, it really is helping me alot.
My questioin is after i Relock the bootloader can i do a factory wipe? will this remove everything from my phone and bring it back to stock?
I relocked my phone, but all my apps and contacts are their.
Bricked ?
ELEVO said:
Ok i came back to this old post. I forgot all about it, it really is helping me alot.
My questioin is after i Relock the bootloader can i do a factory wipe? will this remove everything from my phone and bring it back to stock?
I relocked my phone, but all my apps and contacts are their.
Click to expand...
Click to collapse
I think i may have bricked my phone? I went and installed an RUU firmware file for Marshmallow as most instruct to do via Fastboot. All went well, installation completed and i was able to send command to phone to reboot. when it tried to reboot. white screen with HTC Comes on and then goes almost black with a very light dark grey background.
Phone would not reboot into anything but dark screen. even when i restarted it with power button. the only thing that worked for me, was Holding Down Power/Volume and quickly hit the volume down button before device would vibrate to reboot, that took me into recovery. Below is what i see in Recovery.
Phone now has new software
***RELOCKED***
m8_UL_CA PVT SHIP S-ON
HBOOT-3.1.0.0000
RADIO-4.0 [email protected]
OpenDSP-V56.2.2-00593-M8974_FO.0126
0S-6.20.502.5
eMMC-boot 2048MB
APR 14 2016,19:39:46.0
HBOOT
<Vol UP> to previous item
<Vol Down> to next item
<Power> to select item
FASTBOOT
RECOVERY
FACTORY RESET
SIMLOCK
CHECK SMARTSD
IMAGE CRC
SHOW BARCODE
I was able to run and "IMAGE CRC" via boot loader. it gave me alot of numbers after calculating. not sure if that is a good sign ?
Things I've tried in Recovery.
1. Recovery goes back to black screen.
2. SHOW BARCODE Works- 3 bar codes showed up.
3. Fastboot works. but when i try command "adb devices" it says list of devices attached. but nothing shows up
4. Tried to do a factory reset and tries to do it, then a black phone pops up on screen with green arrow sgoing in circles for like 10 seconds. then reboots to dark screen.
Please Help :crying: Thanks
Can anyone help me with this? I bought the phone with me on vacation and now using an HTC Developer Edition that the button down doesn't work and Volume down button us sunk in But at least i have my phone with all my contacts and apps , For now ?
I would like to know if i can unbrick my other HTC . Thanks.
Late in responding, as I was on work travel myself, and not on XDA for over a week.
ELEVO said:
I think i may have bricked my phone?
Click to expand...
Click to collapse
It's basically impossible for you to do anything with an s-on M8 that will actually brick it. That is the good thing about s-on.
ELEVO said:
I went and installed an RUU firmware file for Marshmallow as most instruct to do via Fastboot. All went well, installation completed and i was able to send command to phone to reboot. when it tried to reboot. white screen with HTC Comes on and then goes almost black with a very light dark grey background.
Click to expand...
Click to collapse
I think you only flashed the firmware.zip and not the RUU. Based on the condition here, and your other thread you created here: https://forum.xda-developers.com/htc-one-m8/help/htc-one-e-m8-fastboot-issues-t3757628
I clearly described above to flash the firmware.zip then the RUU. They are 2 completely different things. Firmware is about 80 MB and only contains hboot, radio, and a few other things. RUU is a full image that is 1.5 GB.
No boot after flashing signed firmware is normal, as it expects the RUU to be run afterwards.
ELEVO said:
Fastboot works. but when i try command "adb devices" it says list of devices attached. but nothing shows up
Click to expand...
Click to collapse
adb doesn't work in fastboot mode. Only fastboot commands will work in fastboot mode. You can only use adb when booted to OS (not an option for you, obviously) or alternately in custom recovery TWRP. So what you describe (adb not working) is normal and expected.
However, fastboot is enough to get the phone working from the described condition.

Categories

Resources