RUU as a zip file? returning back to stock - AT&T, Rogers HTC One X, Telstra One XL

hi
this zip file in this thread http://forum.xda-developers.com/showthread.php?t=2123337
was the latest version of the software i was running before i unlocked the bootloader and installed a custom rom
in the thread the zip is listed as an ruu how do i use this to get back to stock?
in the zip file is meta-info , system ,firmware.zip,fotaboot and skin_fota

That is not a RUU, its a OTA file. RUU is an executable (.exe) file.
An OTA will not return you back to stock, either. For instance, it will no return you to stock recovery (which RUU will do). Better off to find and run the appropriate RUU for your version (if one exists).

redpoint73 said:
That is not a RUU, its a OTA file. RUU is an executable (.exe) file.
An OTA will not return you back to stock, either. For instance, it will no return you to stock recovery (which RUU will do). Better off to find and run the appropriate RUU for your version (if one exists).
Click to expand...
Click to collapse
You can technically flash the recovery.img from the OTA and then flash the OTA through stock recovery though I can confirm that evenso, the phone is not returned to 100% stock. The htc splash screen and I'm sure other things do not get flashed. I have run an OTA a few times though and never had any problems.
RUU IS the best way to return to 100% stock though.

thanks for the ultra quick replies
i am really struggling to find an ruu for my phone
i am correct in that i cannot flash a lower ruu?
if i go supercid can i flash any ruu?

emu123 said:
i am really struggling to find an ruu for my phone
Click to expand...
Click to collapse
Based on this, it doesn't seem that there is an RUU for the HK Jellybean stock ROM.
emu123 said:
i am correct in that i cannot flash a lower ruu?
if i go supercid can i flash any ruu?
Click to expand...
Click to collapse
If S-on, correct, you cannot flash a previous version RUU (usually hboot version check is what prevents this).
SuperCID will allow you to flash an RUU for another region, but still will not allow an RUU with previous version hboot to be installed (SuperCID bypasses carrier/region check, not version check). You also need to be really careful with SuperCID; since with SuperCID and S-on, some Jellybean RUUs will brick the device.
S-off bypasses all security checks, and will allow you to flash a previous RUU.

Related

[Q] RUU executables

I've just successfully gone through the process of S-OFF, CWM, etc, to change my CID from UK Vodafone to generic EU HTC__001. No problems at all.
I'm wondering though when you download the RUU executable, run it to get at the extracted rom.zip and then cancel the HTC RUU to do the rest manually, what would actually happen if you ran the RUU , would it not do the upgrade for you anyway?
Second question - Now I have the CID of HTC__001, and have flashed the 1.35.401.1 latest version, when the next version is out, will it be an easy update via the OTA utility on the phone, or do you need to keep doing the long winded flashing method forever now?
chrisw99 said:
I've just successfully gone through the process of S-OFF, CWM, etc, to change my CID from UK Vodafone to generic EU HTC__001. No problems at all.
I'm wondering though when you download the RUU executable, run it to get at the extracted rom.zip and then cancel the HTC RUU to do the rest manually, what would actually happen if you ran the RUU , would it not do the upgrade for you anyway?
Click to expand...
Click to collapse
Yeah it would flash for you, or at least it did for me! I re-ran my stock RUU just to be on the safe side after S-Off and it redoes everything but kept my S-Off... so I just reflashed CWM (PD58IMG.zip method), and then rooted the stock ROM.
chrisw99 said:
Second question - Now I have the CID of HTC__001, and have flashed the 1.35.401.1 latest version, when the next version is out, will it be an easy update via the OTA utility on the phone, or do you need to keep doing the long winded flashing method forever now?
Click to expand...
Click to collapse
From my understanding OTA's won't flash through a third-party recovery (CWM) so if you keep the stock recovery then I think it would work... But from this point on there will probably be pre-rooted version of most every release packaged in a nice .zip for you to flash with ROM Manager/CWM... or who knows maybe you'll find a nice ROM you like and then the chef would keep you updated!
I hope that helps!
Yes, very useful thanks.
Is there any difference between renaming rom.zip to PD58IMG.zip and letting it happen , or putting rom.zip on and doing "update from zip file" from recovery?

Error [155] - Trying to update HBOOT

Hi, I want to flash a development RUU, but everytime I try, I get Error [155]. This RUU is supposed to have 1.13.0000 bootloader version, but I don't know how to update from 1.06.0000 and if it may cause the error.
Any suggestion about it? Thanks in advance.
You're talking about ONE S, right?
Right, HTC One S
Well first of all is the chosen RUU compatible with your CID ?? If it isnt it will fail so you need to download one that is compatible, Or change your CID to match the one inside the RUU..
Secondly, If you haver done this and still get the error, Try to run the RUU from fastboot.
Oh and also, RUU requires a LOCKED / RELOCKED bootloader and sometimes stock recovery too !
azzledazzle said:
Well first of all is the chosen RUU compatible with your CID ?? If it isnt it will fail so you need to download one that is compatible, Or change your CID to match the one inside the RUU..
Secondly, If you haver done this and still get the error, Try to run the RUU from fastboot.
Oh and also, RUU requires a LOCKED / RELOCKED bootloader and sometimes stock recovery too !
Click to expand...
Click to collapse
Yes, I have the same CID that is inside the RUU.
Could you tell me how to run it from fastboot?
I'm trying almost everything I can (locked, relocked, unlocked, stock recovery...), even I'm trying now to update to the latest OTA_Ville_U_HTC_Europe_1.78.401.2-1.53.401.2 (now I have 1.53.401.2 from Orange Spain) as it has a firmware update (maybe hboot 1.13.0000?) what I think that can be one of the reasons why I can't flash the rom I need.
Thanks in advance!
boot into bootloader and connect USB cable, Select fastboot and then run the RUU on your PC.
Make sure bootloader is locked BEFORE running the ruu
azzledazzle said:
boot into bootloader and connect USB cable, Select fastboot and then run the RUU on your PC.
Make sure bootloader is locked BEFORE running the ruu
Click to expand...
Click to collapse
Yes, it's something I've already tried. Another problem I'm trying to solve is when installing from stock recovery, cause it says sdcart can't be mounted...
What are you trying to install from Stock Recovery ?? you cant flash an RUU and all flashable zip files MUST be signed otherwise it will fail..
I also had the cant mount sd card error in stock recovery, But when i tried CWM i didnt.. Dont know much about how stock recovery works, I just know i dont like it lol
lol, me neither!!!
I'm trying to install a stock rom, so I am supposed to do it from stock recovery, that's the matter. But I can't do it because it can't mount sdcard. I'm getting crazy, but now it is something personal, between the phone and me!!! I'll try to be patient and find the solution.
Stock ROM ?? How have you obtained this ? has someone posted it in a flashable .zip file ? If so, You need to flash it via CWM Recovery THEN flash stock recovery through fastboot.
If the Stock ROM is a Nandroid you will also need to restore this using CWM Recovery. THEN flash stock recovery after.
If the Stock ROM is dissected from an RUU you will need to flash this via bootloader, BUT unless you have a S-OFF phone (which i doubt you do cause there is no S-OFF yet) It wont work.
azzledazzle said:
Stock ROM ?? How have you obtained this ? has someone posted it in a flashable .zip file ? If so, You need to flash it via CWM Recovery THEN flash stock recovery through fastboot.
If the Stock ROM is a Nandroid you will also need to restore this using CWM Recovery. THEN flash stock recovery after.
If the Stock ROM is dissected from an RUU you will need to flash this via bootloader, BUT unless you have a S-OFF phone (which i doubt you do cause there is no S-OFF yet) It wont work.
Click to expand...
Click to collapse
Ok, it is the third option, and evidently, I'm not S-OFF. I had read a thread where they dissected this zip and I thought it was useful. Now I have found the RUU, I will try to install it. I've changed the zip and relocked it but I'm still finding Error [155]
Its useful if you are S-OFF, You just extract the ROM.zip from the RUU, Rename it to the phones model number, So in our case it would be PG40100.img ( i think) and then flash it in bootloader. However ignore this option as it wont work with a S-ON device...
If you still get the Error 155 message and you're positive you've done everything correctly, Maybe download the same / another RUU, Chances are it could have been a bad / corrupted download It happens to us all !
Ok, finally I solved it. I found original RUUs for HTC_Europe 1.53 and 1.78
Firstly, I changed my CID to HTC__001, extracted recovery.img from 1.53 RUU, flashed it, relocked the bootloader and installed the 1.53 RUU... and it worked!!! After that, nothing special to say installing 1.78 (hboot and radio updated!)
rpachecoh said:
Ok, finally I solved it. I found original RUUs for HTC_Europe 1.53 and 1.78
Firstly, I changed my CID to HTC__001, extracted recovery.img from 1.53 RUU, flashed it, relocked the bootloader and installed the 1.53 RUU... and it worked!!! After that, nothing special to say installing 1.78 (hboot and radio updated!)
Click to expand...
Click to collapse
I have done exactly (!!) the same, but you know, I have Hboot in version 2.15. And I can run none of RUUs, because I think they are not compatible with this version of Hboot (And this is that Error 155 for me). Well, so what can I do for installing the Stock RUU to my One S ?

Help getting back to stock

I'm planning on putting my phone fully back to stock. I just have a few questions that I can't find answers to, if anyone could help it would be greatly appreciated.
Background
S4 Version
HBoot: 1.06*
Bought the phone second hand, it was carrier unlocked and already rooted etc.*
The phone CID says orangeuk, but*I use 3UK Network.*I'm going to have to use SuperCID before I flash the ruu, because there is no orangeUK ruu available.
1.**Is the HTC_001 the best CID to use for ota's and ruu files?
2. When I re-lock bootloader and flash ruu, will I lose the carrier unlock?
Sent from my HTC One S using xda app-developers app
I dont have an answer for 1 but im pretty sure about 2 that carrier unlock wont go. Once you unlock it it stays unlocked
Right, this is my plan to get back to stock. If anyone has any better ideas please let me know!
1. Change radio 1.06es version to match ruu radio (read somewhere the ruu might not run if my radio is newer, currently 1.11)
2. Change CID to HTC__001 to run 2.31 WWE ruu.
3. Re-lock Bootloader
4. Run 2.31 WWE ruu
5. Update software via OTA to JB.
6. Carrier unlock phone if necessary using code created while rooted.
Questions
Do I have to flash stock recovery or will the ruu do that?
Can I run the 2.31 WWE ruu from hboot 1.06, or do I need to use 1.53 ruu as that has the same hboot?
I assume the OTA will also update my radio to 1.11?
Thanks
rosswhite said:
Right, this is my plan to get back to stock. If anyone has any better ideas please let me know!
1. Change radio 1.06es version to match ruu radio (read somewhere the ruu might not run if my radio is newer, currently 1.11)
2. Change CID to HTC__001 to run 2.31 WWE ruu.
3. Re-lock Bootloader
4. Run 2.31 WWE ruu
5. Update software via OTA to JB.
6. Carrier unlock phone if necessary using code created while rooted.
Questions
Do I have to flash stock recovery or will the ruu do that?
Can I run the 2.31 WWE ruu from hboot 1.06, or do I need to use 1.53 ruu as that has the same hboot?
I assume the OTA will also update my radio to 1.11?
Thanks
Click to expand...
Click to collapse
The RUU should update everything. Including the stock recovery, Hboot, and radio. I already Rooted the One S. Then unrooted. Then rooted again. The only thing i will mention....
Make sure you have the stock Boot.img first. Then use Fastboot to load the boot.img. then you can flash the RUU. Good luck

[Q] OTA Updates on rooted, 111111, s-off, custom rom devices?

I have a couple questions.
I am on the 1.16 hboot with cid111111 and s-off unlocked tampered. twrp and maximus rom.
I finally did super cid and s-off on my one-s. Shortly after I recieved a notification that ota update 3.16.401.8 (612.27 mb) was available.
I was wondering if it would even work if i attempted to update. or would i have to update manually. Or would it brick it.
The main reason i would want to update is because the JB Sense roms just dont seem to run smoothly on my phone.
I was thinking this would update everything so the custom roms run smoother.
And Should i even update my hboot. does it make a difference.
I would usually be against it(ive had to downgrade other phones before).
Never take an OTA if you are on a custom rom with a custom recovery. Especially if you have SuperCID, unless you want a paperweight. If you want that OTA, you need to get you original CID, flash stock recovery, relock bootloader, then flash an RUU for your carrier.
impostle said:
Never take an OTA if you are on a custom rom with a custom recovery. Especially if you have SuperCID, unless you want a paperweight. If you want that OTA, you need to get you original CID, flash stock recovery, relock bootloader, then flash an RUU for your carrier.
Click to expand...
Click to collapse
Ok. ill look into that. sounds easy enough. last time i tried to update, i couldnt because of my cid. now i guess since there is an official t-mob i can do it?
You cant flash an ruu with super cid?
Oh and also, Once i update my hboot am i able to install the older ICS roms like maximus. thats just the most stable one i have found for my particular phone.
One more. Will i be able to restore my cid with s-off
ruu update
i relocked, then changed my cid to HTC__001
I triedto update via ruu exe file. but i got an error 155.
Im not sure how to update via the zip of the ruu. if its possible.
Also cant find any instruction or files for the original recovery.
I will try to install ota. hopefully i dont end up with a new frisbee.
If i were to extract the framwork.zip frim the ruu zip then install it via fastboot. would that give me the latest hboot. then maybe i could install the updates.
myphonesbetter said:
i relocked, then changed my cid to HTC__001
I triedto update via ruu exe file. but i got an error 155.
Im not sure how to update via the zip of the ruu. if its possible.
Also cant find any instruction or files for the original recovery.
I will try to install ota. hopefully i dont end up with a new frisbee.
If i were to extract the framwork.zip frim the ruu zip then install it via fastboot. would that give me the latest hboot. then maybe i could install the updates.
Click to expand...
Click to collapse
If you update your Hboot that kind makes it more difficult to flash custom roms. You should just find a nice custom jellybean rom, there are some good ones out there.
impostle said:
If you update your Hboot that kind makes it more difficult to flash custom roms. You should just find a nice custom jellybean rom, there are some good ones out there.
Click to expand...
Click to collapse
updating your hboot makes no significant difference (its a myth that its more difficult to flash custom roms on a later hboot).
im on latest hboot and can flash all things i want.
and if your device is S-off dont bother to relock your device/reinstall stock recovery. It will get overwritten anyways.
only thing important is to change the cid. you can always install a older hboot if s-off
have you tried the ruu.exe while in fastboot-usb?
real187 said:
updating your hboot makes no significant difference (its a myth that its more difficult to flash custom roms on a later hboot).
im on latest hboot and can flash all things i want.
and if your device is S-off dont bother to relock your device/reinstall stock recovery. It will get overwritten anyways.
only thing important is to change the cid. you can always install a older hboot if s-off
have you tried the ruu.exe while in fastboot-usb?
Click to expand...
Click to collapse
When I said it was more difficult I meant it was more work, having to flash the boot.img separately. If you are on a lower Hboot you don't have to do that. Also if you are going to suggest he do S-Off you should at least give him a warning about some of the issues people have ran into after doing it.
EDIT: Thats what I get for watching too many threads, I miss stuff.
impostle said:
When I said it was more difficult I meant it was more work, having to flash the boot.img separately. If you are on a lower Hboot you don't have to do that. Also if you are going to suggest he do S-Off you should at least give him a warning about some of the issues people have ran into after doing it.
Click to expand...
Click to collapse
he is already S-off. (see first post)
but anyways, if you dont do research before you do something, and it fuks up your device, its still gonna be your own fault.
what issues your talking about?
real187 said:
he is already S-off. (see first post)
but anyways, if you dont do research before you do something, and it fuks up your device, its still gonna be your own fault.
what issues your talking about?
Click to expand...
Click to collapse
I saw a thread about people losing 3g/4g data after an S-Off.
With S-Off you are made in the shade, you can downgrade your Hboot just by running the appropriate RUU. But you have to change your CID back to what is was before you try to flash the RUU.
impostle said:
I saw a thread about people losing 3g/4g data after an S-Off.
With S-Off you are made in the shade, you can downgrade your Hboot just by running the appropriate RUU. But you have to change your CID back to what is was before you try to flash the RUU.
Click to expand...
Click to collapse
I have seen the tread. But im scepitical, because if it really was only because of the s-off more people should have it. Might be hardware related.
Eh you do not have tot change back your Cid to original (if its a branded Cid the ruu still wont run), just a valid HTC Cid.
Verstuurd van mijn One S met Tapatalk
He could flash from recovery or fastboot flash any hboot he wants with s-off. No RUU needed for downgrade or upgrade. That's only needed to go back to stock for warranty purposes.
@myphonesbetter
If you want the red warning text overlay to be gone as well choose any of the files here and flash it within recovery. S-Off needed to do so!
To remove ***Tampered*** as well download hboot 1.140004. You will need to come from a lower hboot version so if you're already on >1.140004 flash one <1.140004 first.
--- edit ---
You can lock/unlock your phone as well by flashing. Read more in [how to] reset your lock status flag. Also it's in the Droid DNA forums it's valid for One S. Remember: You need s-off for this to work.
--- and one more ---
You can change your CID pretty simple on rootet devices. Just enter fastboot mode and type:
'fastboot oem writecid HTC__001'
Reboot bootloader then. You can find a collection of HTC ONE S CID's here
^^^^^Very helpful post. thank you. I wouldve never found that.
When you run the ruu .exe, do you have to be in fastboot or in android? The install app told me just to turn the phone on so i figured it would automatically go into bootloader. but it did nothing at all to my phone and gave me an error 115.
When i tried the ota it tells me that I am runnning an altrered OS and i will have to install it a different way.
Sorry for the easy questions. but i just cant seem to find any threads that say how to. I found the ruu and a zip of the ruu. but not how to install it.
The best sense rom has instructions on flashing a newer hboot. .but i want to install a completely stock rom.
myphonesbetter said:
^^^^^Very helpful post. thank you. I wouldve never found that.
.
Click to expand...
Click to collapse
guess you run out of thanks, no?
Never even noticed the thanks meter. I have more of a direct thank you approach.
I tried to flash the ruu .exe in fastboot. and it actually rebooted into the black htc screen, so i figure thats the way to do it.
Unfortunately I got another error. image error (159) use the correct rom and flash again.
I am attempting to flash 3.16.401.8 onto hboot 1.16 (relocked) i am s-off and i changed my cid to HTC__001 via fastboot.
Is there another way. or can i flash the zip in twrp or cwm? Again i just want an oem jelly bean with the proper hboot and radio and everything that the OTA would change. so i can be up to date before i move on to the JB roms.
Ive tried all of the custom ones, and the wifi cuts in and out. i used the wifi partition fix. and i flashed the latest radio. nothing helped for more than a few hours.
don't know what to say; normally you can flash whatever rom you want without problems;
guess 99% of users here did it.
however I can not understand what do you want to be full stock? warranty problems?
ultimul said:
don't know what to say; normally you can flash whatever rom you want without problems;
guess 99% of users here did it.
however I can not understand what do you want to be full stock? warranty problems?
Click to expand...
Click to collapse
Yah thats usually how it works for me. if it works for 99% of people with one step. ill have to do it manually with 20 steps. I guess its made me learn alot about adb and fastboot. I could never get adb to work untill i upgraded to windows 7 recently. until then i had to exract everything to my sdcard via terminal emulator and then drag it to my computer form the card and modify things. but ive been forced to learn quite a bit.
Its weird. I bought my phone off of craigslist from someone who had no idea how to root. But when i opened it into hboot it said Tampered and locked. with no signs of ever being unlocked. completely stock rom and no red warning text on the splash screen.
The reason i want to be stock it so i know all the correct partitions and everything are set up right. (that part i dont understand yet).
I know that a normal system wipe in twrp or cwm doesnt wipe everything. If i wipe and install the same rom i am using(just to clear it up and start over) it doesnt even wipe the app data. (at least on my phone)
Im thinking that its because i am installing a euro rom with a HTC__001 cid and mine was originally TMUS T-MOB010 .
one thing i noticed also is that windows could not verify either of the ruus i downloaded from shppied roms
How do i flash the ruu.zip that i downloaded? Do i need to rename it update.zip like the older phones? Its been a while.
Ok so i know im pretty much helping myself here but i hate when i come across threads with no conclusion.
I was able to succesfully update with the t-mob 2.35 ruu .exe thats on shipped roms .com so i know its not a problem with my computer.
still on hboot1.14 (thought i was on 1.16).
I changed my cid back to t-mob010.
Im just not sure why i cant update with the htc__001 with the 3.16 update.
Any help would be appreciated.
Ahh, things go on here! Nice! :laugh:
It's not quite clear if the RUU is the right one on this phone as many people report problems... So let's go OTA.
To flash the 3.16 OTA update your hboot needs to be < 2.15, your recovery needs to be the HTC stock one , your device needs to be relocked (not totally shure as mine wasn't at that time and it worked, but please remember that) and you need to have HTC stock system/ and stock data/ (ICS) files on your phone (you'll have to unroot as well, if rootet), as the OTA seems to check if certain files are present before working.
All that is quite a pain in the ass, isn't it?! So do one the following:
- Just make shure your bootloader version is lower 2.15, else flash a lower one.
- Click here and you'll have access to one of my google drive folders.
- Download the 2.31 zip. Unpack and copy these nandroid backup files into the appropriate TWRP folder on your phone, reboot into recovery and restore. Once done, you'll be able to flash the 3.16 OTA update after reboot. Remember to change CID before if you're on 11111111.
- Or download the 3.16 zip, unpack and restore. You'll have stock htc sense JB without the OTA. You don't even need to downgrade your bootloader in case. CID doesn't matter here.
- To root simply download SU_Bbox file and flash in recovery.
Important: With the JB update HTC invented disk write protection by default. This simply means that files deleted within stock sense JB will be back after rebooting the phone, also root was granted and working (still grats to htc for this one!!!). Check out for elemental x kernel at this point, as flar2 is the one offering additional modules for the stock kernel working around this. So you can be on stock JB as close as possible with write protection disabled.
--- edit ---
I nearly forgot: If you're experiencing WiFi troubles afterwards search for flashing wifi partitions.
--- and one more ---
myphonesbetter said:
I was able to succesfully update with the t-mob 2.35 ruu .exe thats on shipped roms .com so i know its not a problem with my computer.
still on hboot1.14 (thought i was on 1.16).
I changed my cid back to t-mob010.
Im just not sure why i cant update with the htc__001 with the 3.16 update.
Click to expand...
Click to collapse
Cause you're on 2.35 US. You need to be on 2.31 EU before, because 3.16 is EU and there is still no JB update to 2.35 US. 3.16 OTA will work with htc__001 (htc worldwide).
The OTA determined my OS was modified.
I could not restore the folder i took directly out of the zip.
There was a folder inside the folder that contained the same files. I was able to flash this.
My hboot is still at 1.14 my cid is not htc--001 relocked. the update was 650 mb of which i could not use wifi for becauese it just said error.
so 650 mb through tmobile. only took a few minutes but used almoast half of my months dl limit.
IDK. i found instructions on how to update the hboot in best sense roms thread. i will try that.
Edit: the restore for 3.16 worked in twrp. shouldve tried that first.
I may still update my hboot. I cant really find any instructions. Apparently the search just finds every thread and lists it.
If you are on the latest TWRP 2.4.3.0 go back to 2.4.1.0 (the latest one seems to have restore problems).
The folder contained in the zip needs to be copied to /TWRP/BACKUPS/HT23whatever/
You should be able to restore then.
--- edit
hehe, ok then.
You can flash any of these hboots from within TWRP. Up or down, it doesn't matter - you're s-off.
---------- Post added at 10:43 AM ---------- Previous post was at 10:32 AM ----------
CID should be HTC__001 not htc--001. Maybe a typo.

[Q] Questions on RUU

Stock rooted 2.2, hboot 1.14, bootloader unlocked, S-Off, TWRP 2.3.3
I'm going to update to a newer ROM (Scott's CleanROM maybe, I like Sense) and I'd like to get the latest firmware and it seems that the easiest way to do that is to just run an RUU once rather than flashing multiple zips.
I've not run an RUU before so I'm a bit unclear what it does. I know it returns the phone to "stock" but some of the ancillary details aren't clear. Will it relock my bootloader? (Do I need to relock it before running the RUU?) Will it overwrite my recovery?
Should I run the latest RUU (3.18) before flashing a new ROM to get the lasted radios and other firmware? Or should I worry about that stuff after a new ROM? If I don't update the firmware and just flash a 4.1/4.2 ROM will that cause issues or instability?
No you don't need to relock sence you are s-off yes it will overwrite your recovery so after it is done you will need to fastboot a recovery with s-off you can run any ruu but I would recommend the newest one if you are going to run jb roms but you will need to downgrade your touchscreen firmware if you use aosp roms and older version of twrp there is a thread for that in original development
Sent from my HTC One X using Tapatalk 2

Categories

Resources