hi i need to get some clarification. i want to unlock and s-of with sunshine ut to install a custom recovery before i need to do a nandroid back up of my stock rom and recovery how could i do that if i dont know how to use adb i havent messed with my htc ever i used a g2 so i know rootinf i just need help with this
You can't make a nandroid of your stock recovery without adb; at least any method that I know of. adb is not difficult to learn, and its quite critical to know, both for performing a variety of functions, and an invaluable tool for recovering from problems. I highly recommend having adb setup, and knowing the basic functions (and that is really all that is needed).
That being said, making a nandroid of your stock ROM and recovery isn't really necessary, as the AT&T version of the M8 has RUUs that will easily return your phone to (nearly) stock condition if needed.
Thanks for that I also wanted to know if I flash that ruu to go back to stock how can I get the stock recovery or is it included
Jacobz1996 said:
Thanks for that I also wanted to know if I flash that ruu to go back to stock how can I get the stock recovery or is it included
Click to expand...
Click to collapse
Stock recovery is included in the RUU, as implied in my previous post. RUU is a complete image, includes all partitions (recovery, hboot, radio, ROM, etc.).
So from my twrp I just flash the ruu and that's it ?
Jacobz1996 said:
So from my twrp I just flash the ruu and that's it ?
Click to expand...
Click to collapse
You don't flash an RUU from recovery. Its a .exe that you run with your computer connected to a PC.
Or there is a bootable version that was created by an XDA user, that doesn't require a PC (posted in General forum section).
Either way, once its running the RUU will walk you through step-by-step, its very easy to use. Just backup any personal data before you RUU, as the phone will be wiped.
Related
Ok, I am looking to S-OFF my device so I can flash ROMs onto it via CWM. I was using this tutorial: http://forum.xda-developers.com/showthread.php?t=1495657
One thing that troubles me is that it says you need a custom ROM already, but how? Do I need to flash a ROM via adb? I was looking to flash LeeDroid.
Thanks and sorry for all the questions,
Ubuntuz
Ubuntuz said:
Ok, I am looking to S-OFF my device so I can flash ROMs onto it via CWM. I was using this tutorial: http://forum.xda-developers.com/showthread.php?t=1495657
One thing that troubles me is that it says you need a custom ROM already, but how? Do I need to flash a ROM via adb? I was looking to flash LeeDroid.
Thanks and sorry for all the questions,
Ubuntuz
Click to expand...
Click to collapse
Not sure how the "Tool" works, but the process is fairly generic across HTC devices which allow the bootloader to be downgraded.
If the "Tool" provided in that post requires a custom ROM to be loaded while only having unlocked via the HTC official method, then you would need to load a custom recovery to flash the ROM .zip. If the ROM .zip has a custom kernel, my application, Flash Image GUI, can help flash the kernel portion of the ROM .zip. Guides are in my OP for HTC unlocked devices.
Off the top of my head, I could see a person writing a tool which relied on binaries being present in a custom ROM, instead of providing those binaries in the "Tool". If this is the case, it would make sense why the "Tool" requires a custom ROM be loaded first.
If you had the time and were wanting to expand your knowledge, I would recommend downgrading the bootloader manually instead of using a "Tool". Either way, the suggestions above should help. Best of luck!
joeykrim said:
Not sure how the "Tool" works, but the process is fairly generic across HTC devices which allow the bootloader to be downgraded.
If the "Tool" provided in that post requires a custom ROM to be loaded while only having unlocked via the HTC official method, then you would need to load a custom recovery to flash the ROM .zip. If the ROM .zip has a custom kernel, my application, Flash Image GUI, can help flash the kernel portion of the ROM .zip. Guides are in my OP for HTC unlocked devices.
Off the top of my head, I could see a person writing a tool which relied on binaries being present in a custom ROM, instead of providing those binaries in the "Tool". If this is the case, it would make sense why the "Tool" requires a custom ROM be loaded first.
If you had the time and were wanting to expand your knowledge, I would recommend downgrading the bootloader manually instead of using a "Tool". Either way, the suggestions above should help. Best of luck!
Click to expand...
Click to collapse
Well, I have CWM installed - I wanted s-off because from what I believe you need it to flash roms via recovery...
Different ROMS require different procedures, with s-on, Meanrom, my personal favorite is easily flashable with .zip files, With other ROMS you will have to unzip the ROM and take the boot.img and place it in SDK tools and push ADB. from usb fastboot through the terminal. zedomax on youtube is super helpful with 3d rooting.
* Make sure to us CWM 4.0.1.4
Be careful, you read a lot about people turning off/on bricking
zbergmark said:
Different ROMS require different procedures, with s-on, Meanrom, my personal favorite is easily flashable with .zip files, With other ROMS you will have to unzip the ROM and take the boot.img and place it in SDK tools and push ADB. from usb fastboot through the terminal. zedomax on youtube is super helpful with 3d rooting.
* Make sure to us CWM 4.0.1.4
Click to expand...
Click to collapse
What about if use this guide to downgrade from 10.4.0018?
It's just like that:
instead of flashing the PGXXX.IMG you can simply flash any RUU.
Except of the branding that is on ur device. If your device is branded by vodafone you can just flash a vodafone RUU.
The number that you have to change in the mmcblk block has to be the number that the RUU has. So if you choose to flash a RUU, and the ruu number is 1.20.401.8, you change the number to 1.20.401.8. With this way you can flash any RUU no matter which Hboot Version is included.
The one and only restriction is your branding.
Step 1: Change your mmcblk0p31.img Version number to the number that your RUU has. I.E. you are on 1.207.50.8 and your ruu has 1.20.401.8 change it to that number. (how to extract etc can be taken from the OP)
Step 2: Push it back as described in the OP
Step 3: boot into bootloader and do
Code:
fastboot oem lock
Step 4: Run the RUU and Enjoy.
I did that already twice with 2 german people that have had a problem because they were not able to change their cid.
Hope you can understand my explanation.
A list of RUU's:
http://www.filefactory.com/f/4ef0ef536face67a/
Hi, I've been running into a problem the last few days. Any help will be really appreciated.
My phone was unrooted and updated to sense 5 via OTA and it also updated my HBOOT from (if I'm not mistaken) 1.35 to 1.72. Now I've been trying a few roms like slim bean and CM but I want to go back to stock. The problem is that the RUU file that I've been using now doesn't work to go back stock as it shows an error while restoring. Can someone please guide me with this?
Many thanks!
For custom Rom you Need unlock - for ruu you Need to relock your bootloader - try this.
Sent from my HTC One X+ using xda premium
morbvamp said:
Hi, I've been running into a problem the last few days. Any help will be really appreciated.
My phone was unrooted and updated to sense 5 via OTA and it also updated my HBOOT from (if I'm not mistaken) 1.35 to 1.72. Now I've been trying a few roms like slim bean and CM but I want to go back to stock. The problem is that the RUU file that I've been using now doesn't work to go back stock as it shows an error while restoring. Can someone please guide me with this?
Many thanks!
Click to expand...
Click to collapse
Because we have no possiblity to S-OFF our phones, you are not allowed to downgrade your HBOOT, so in order to go back to stock now, you would need latest RUU of the Sense5/Android4.2.2 update, which is not available (in fact there wasn't even a RUU for latest Sense 4+/Android 4.1.1 ...).
If you really want back to stock, you need to search the forum or internet for a stock TWRP or CWM backup matching your CID, then flash belonging boot.img in fastboot, restore this stock backup and as a last step reflash stock recovery in fastboot.
Easier (at least that's what i think) would be to install a stock like custom rom from One X+ Android Development forum. You won't get the OTA updates this way, but if there will be any more updates for our phones (which i doubt) the devs will most likely rebase their roms on these updates.
reaper90 said:
Because we have no possiblity to S-OFF our phones, you are not allowed to downgrade your HBOOT, so in order to go back to stock now, you would need latest RUU of the Sense5/Android4.2.2 update, which is not available (in fact there wasn't even a RUU for latest Sense 4+/Android 4.1.1 ...).
If you really want back to stock, you need to search the forum or internet for a stock TWRP or CWM backup matching your CID, then flash belonging boot.img in fastboot, restore this stock backup and as a last step reflash stock recovery in fastboot.
Easier (at least that's what i think) would be to install a stock like custom rom from One X+ Android Development forum. You won't get the OTA updates this way, but if there will be any more updates for our phones (which i doubt) the devs will most likely rebase their roms on these updates.
Click to expand...
Click to collapse
On a similar theme, I also have hboot 1.72 after OTA 4.2.2 / sense 5 update. (O2)
Currently unlocked, rooted and using ARHD8.
Over the last few weeks I've been reading on this forum about the possibility of returning to COMPLETELY stock in case of further updates which, like you, I doubt will happen.
Am I right in saying that if I.... relock bootloader, flash backed up original OS (backed up with TWRP), flash stock boot.img, I will be back to stock ?
Where, and how, does the 'stock recovery' come in to returning phone to stock ?
Thanks
10rdan said:
On a similar theme, I also have hboot 1.72 after OTA 4.2.2 / sense 5 update. (O2)
Currently unlocked, rooted and using ARHD8.
Over the last few weeks I've been reading on this forum about the possibility of returning to COMPLETELY stock in case of further updates which, like you, I doubt will happen.
Am I right in saying that if I.... relock bootloader, flash backed up original OS (backed up with TWRP), flash stock boot.img, I will be back to stock ?
Where, and how, does the 'stock recovery' come in to returning phone to stock ?
Thanks
Click to expand...
Click to collapse
Assuming you have everything you need, meaning stock backup (already placed on your phone) including boot.img/kernel & stock recovery from latest update, best order would be:
1. flash stock boot.img in fastboot
2. restore stock backup
3. flash stock recovery
3. relock bootloader
Now your phone should be completely back to stock except your bootloader saying "relocked" instead of "locked". You should be able to get future OTA updates from HTC (assuming we will get another update) again, the stock recovery is necessary to install these updates and if i remember right, the bootloader only has to be relocked in order to update HBOOT version. But what's the matter in keeping bootloader unlocked when having completely stock rom installed?
For me the only reason to go back to stock is installing latest OTA if there's a new HBOOT version included.
reaper90 said:
Assuming you have everything you need, meaning stock backup (already placed on your phone) including boot.img/kernel & stock recovery from latest update, best order would be:
1. flash stock boot.img in fastboot
2. restore stock backup
3. flash stock recovery
3. relock bootloader
Now your phone should be completely back to stock except your bootloader saying "relocked" instead of "locked". You should be able to get future OTA updates from HTC (assuming we will get another update) again, the stock recovery is necessary to install these updates and if i remember right, the bootloader only has to be relocked in order to update HBOOT version. But what's the matter in keeping bootloader unlocked when having completely stock rom installed?
For me the only reason to go back to stock is installing latest OTA if there's a new HBOOT version included.
Click to expand...
Click to collapse
I've got 'stock backup and boot.img' saved on laptop and USB stick. Where will I find 'stock recovey, is it within the backup I created or do I need to find it on this forum ?
I'm happy with ARHD8 etc but, me being me, I'm always curious about what can and can't be done. ie, return to 'stock'.
Cheers
10rdan said:
I've got 'stock backup and boot.img' saved on laptop and USB stick. Where will I find 'stock recovey, is it within the backup I created or do I need to find it on this forum ?
I'm happy with ARHD8 etc but, me being me, I'm always curious about what can and can't be done. ie, return to 'stock'.
Cheers
Click to expand...
Click to collapse
You can find it inside of this firmware package for O2 i extracted from latest OTA. But don't use the boot.img in there, if you do so, your mobile connections may not work after restore.
https://www.dropbox.com/s/ithmy88yf4dwnnw/firmware.zip
I've just been having a look at the various settings within TWRP and noticed that one of the options available when backing up is 'recovery'. By default there is no 'X' in the box which, I presume, means I didn't backup the 'stock recovery' when doing my initial back before flashing ARHD8 ?
If so, is it possible to get the stock recovery somewhere ?
Thanks
10rdan said:
I've just been having a look at the various settings within TWRP and noticed that one of the options available when backing up is 'recovery'. By default there is no 'X' in the box which, I presume, means I didn't backup the 'stock recovery' when doing my initial back before flashing ARHD8 ?
If so, is it possible to get the stock recovery somewhere ?
Thanks
Click to expand...
Click to collapse
Lol even if you had checked this in TWRP when you took a backup of stock rom, guess which recovery you would've backuped
10rdan said:
I've just been having a look at the various settings within TWRP and noticed that one of the options available when backing up is 'recovery'. By default there is no 'X' in the box which, I presume, means I didn't backup the 'stock recovery' when doing my initial back before flashing ARHD8 ?
If so, is it possible to get the stock recovery somewhere ?
Thanks
Click to expand...
Click to collapse
Sorry, just read your reply re. getting stock recovery. Was posting my thread at same time.
Am I right about not having backed up 'recovery' because there was no 'X' in box ?
Thanks
---------- Post added at 01:58 PM ---------- Previous post was at 01:56 PM ----------
reaper90 said:
Lol even if you had checked this in TWRP when you took a backup of stock rom, guess which recovery you would've backup
Click to expand...
Click to collapse
TWRP !
---------- Post added at 02:06 PM ---------- Previous post was at 01:58 PM ----------
reaper90 said:
You can find it inside of this firmware package for O2 i extracted from latest OTA. But don't use the boot.img in there, if you do so, your mobile connections may not work after restore.
https://www.dropbox.com/s/ithmy88yf4dwnnw/firmware.zip
Click to expand...
Click to collapse
I've downloaded the file but winzip won't open it, 'central directory not found', so I can't extract the 'recovery' ??
10rdan said:
I've downloaded the file but winzip won't open it, 'central directory not found', so I can't extract the 'recovery' ??
Click to expand...
Click to collapse
No problems here using WinRAR, just copy it out of the zip.
reaper90 said:
No problems here using WinRAR, just copy it out of the zip.
Click to expand...
Click to collapse
Just downloaded 7-zip and 'got it out'. Must have been my copy of winzip at fault.
Thanks again and sorry for 'being a pain'.
Hello all,
I usually don't like posting new threads as you can find all you need by searching, but I believe I have a particular situation.
I rooted my phone a while ago using the appropriate methods and then flashed this rom: http://forum.xda-developers.com/showthread.php?t=2440315
I didn't recognize until now, as I am trying to return to stock rom and stuff in order to clean install the new official AT&T update, that this rom somehow also updated my firmware to 3.10.502.2 but I am not S-Off. I didn't/don't know how it upgraded my firmware to this w/o being S-Off but it is. So I have read that if I try and install any other stock rom than my touch screen won't work. And in order for that to work, I think I'll have to gain S-Off and then flash an earlier firmware then flash a rom, but I don't really want to be S-Off for this phone.
Also another stupid mistake I did was not create a nandroid backup of my stock everything before flashing
So in order to accomplish my goal I believe my 2 options are to either gain S-Off, flash an ealier firmware (like 1.26.502.12) and then flash a stock rom or I saw a link that had a stock nandroid backup: http://forum.xda-developers.com/showthread.php?t=2272893
that I can maybe use to restore but will this restore my firmware too?
Any help would be appreciated
Download the 3.17.502.3 RUU and update that way. Backup your data, the RUU method wipes internal storage.
cschmitt said:
Download the 3.17.502.3 RUU and update that way. Backup your data, the RUU method wipes internal storage.
Click to expand...
Click to collapse
Sorry it took me so long to respond but thank you for the help. I appreciate it
Can I still update that way even though I'm still S-On?
spacely8 said:
Sorry it took me so long to respond but thank you for the help. I appreciate it
Can I still update that way even though I'm still S-On?
Click to expand...
Click to collapse
Yes, RUU updating is meant to be done with S-ON.
Can anyone upload the AT&T stock recovery img? @thoughtlesskyle was awesome enough to upload the system and boot partitions here http://forum.xda-developers.com/att-one-m9/general/stock-stock-twrp-t3080499
I guess the AT&T RUU would work as well if anyone has that floating around.
THX all!
I would also really appreciate a flashable stock recovery partition!
I have a brand new HTC One M9, stock and untouched - I unlocked the bootloader, but relocked it before flashing TWRP or anything because I realized that I can have root, or stock recovery, but not both.
I'm reluctant to wipe the stock recovery image and replace it with TWRP, because I *really* want the camera OTA applied correctly when AT&T decides to push it out.
If I wipe the stock recovery, install TWRP, and install root along with a ROM - I'll lose the stock recovery, and even if I reflash a bone-stock system dump, the recovery partition will be modified so I won't be able to take the AT&T signed OTA and flash it.
I even tried to "fastboot boot twrp-recovery-2.8.6.4.img" in both bootloader and download mode to see if I can use TWRP without flashing and blowing away the stock recovery partition, but no luck.... and it seems I'm unable to backup the stock recovery partition as is unless I get root (which requires me to flash TWRP...)
You can get it here
How to bring back to STOCK ATT ROM
What are the steps to be followed to get back my device to stock rom?
I'm quite confused which files i have to keep in the TWRP and flash...
Can someone please help me in bring back my my phone to a stock ATT?
yashwanthl92 said:
What are the steps to be followed to get back my device to stock rom?
I'm quite confused which files i have to keep in the TWRP and flash...
Can someone please help me in bring back my my phone to a stock ATT?
Click to expand...
Click to collapse
You can use this guide
http://forum.xda-developers.com/showthread.php?t=3068243
[2015.04.16] Firmware flashing with Fastboot
Back to ATT Stock
But I do not have a S-OFF made on the device, or rather i would not..
[2015.04.16] Firmware flashing with Fastboot[/QUOTE]
yashwanthl92 said:
But I do not have a S-OFF made on the device, or rather i would not..
[2015.04.16] Firmware flashing with Fastboot
Click to expand...
Click to collapse
[/QUOTE] you can go here and get AT&T ruu with latest update.
I'm confused on how I can return my m9 to Full stock. I have twrp , S OFF and SuperSU.
I've downloaded RUU from http://www.htc.com/us/support/rom-downloads.html
Do I first do S-ON then launch RUU exe and it will be back to stock? Do I even need to have S-ON ? Will flashing RUU via just running it remove root AND twrp?
att HTC One M9 back to stock fully
So this is what I found after some research and was successful at resetting everything to stock:
If you are rooted, unlocked, your status on bootloader says 'modified' but you want to go back to stock. To return the phone or some other reason:
First - set your phone to S-OFF with http://theroot.ninja/index.html I know - it costs $25. I will gladly accept another way of doing it, but unaware of one.
Second - set your Software Status back to Official by visiting this thread: http://forum.xda-developers.com/one-m9/general/how-to-restore-software-status-original-t3092882
This the second step since you need to be S-OFF for it to work.
At this point you'll still have your Bootloader showing as Unlocked and of course S will be OFF.
Then do the step 2 to lock the bootloader: http://forum.xda-developers.com/one-m9/general/guide-return-m9-to-100-stock-s-off-t3091730
Then I would not do step 3, but only because I found ROM exe for my ATT one m9 here: http://www.htc.com/us/support/rom-downloads.html
It'll take 5 minutes or so to finish. This will reload your Lollipop back to factory state. It will also unroot your phone.
Then you can do S-ON by rebooting to download mode ( adb reboot download ) and running: ( fastboot oem writesecureflag 3 ). This was 'optional' step after step 7 at http://forum.xda-developers.com/one-m9/general/guide-return-m9-to-100-stock-s-off-t3091730
I am trying to convert a user app (cerberus anti-theft) to a system app using link2sd (also tried titanium). Worked perfect on my other phone with link2sd.
Does this require S-off? If not, any help or pointers would be appreciated.
I have android 5.0.2 I checked and I do have enough space on my system partition. I know I can flash zip file, have done that, but not what I am trying to do.
System partition is write-protected on this device, even with unlocked bootloader and root.
S-off is one way, but I don't personally suggest spending $25 on sunshine s-off just to remove system write protection; since it can be accomplished with s-on and the proper kernel mod.
What you need is the wp_mod kernel mod. I don't think the specific mod was ever posted for Lollipop. But since most custom ROMs have this kernel mod applied; you can extract boot.img from a custom ROM with same/similar software number, and flash in fastboot. Or just use a custom ROM to begin with.
Make a TWRP backup before trying to restore a modded kernel, just in case you need to revert. I've seen a couple folks fail to boot afterward, and while I'm not sure why that happened; I don't want you getting unnecessarily stuck due to a recommendation of mine.
Thank you so much for you answer. My confusion was the fact that I did not think with the HTC M8, S-on, that you could flash custom ROM's.
rockfordpi said:
My confusion was the fact that I did not think with the HTC M8, S-on, that you could flash custom ROM's.
Click to expand...
Click to collapse
That is not true. Custom ROMs flash fine with s-on. The only exception is the Verizon M8; for which indeed you cannot unlock the bootloader or flash custom ROMs unless you s-off first.
Your firmware (hboot, radio, etc.) also needs to be up-to-date (compatible with the custom ROM). Updating firmware is "easier" with s-off; but it can also be done by s-on by installing OTA or RUU update.
Yes, I have flashed the official RUU updates, I knew that could be done, it was the custom ROM issue that confused me. I think a lot of my confusion was semantics. I am slowly learning.