[Q] Assistance Please - Returning to Stock - One (M7) Q&A, Help & Troubleshooting

I have read a pile of material now on returning to Stock. I am still confused, and want to turn my One back to stock in order to sell it.
I have a Telus Mobility HTC One
Firmware 1.29.661.17
HBOOT= 1.44
I am rooted
I have S on
Ok, now that this is all out of the way, here is what I want to accomplish:
1. I want to return the HTC one to stock
I learned a valuable lesson. I really should have taken a nandroid backup before jumping into flashing custom roms. My bad. I have never done it. Now I know why.
Can someone please point me in the correct direction?
Things I have done/looked for:
-I have searched for a 1.29.661.17 nandroid backup for TWRP. There was a link for one, it is dead. I have PM'd the original poster in hopes they still have it.
-I have searched for a RUU to download. I haven't had much success, or what I saw confused the heck out of me.
Now, if someone could please assist - What is the correct procedure for me? Can someone point me to the right place, link to go?
I appologize. There are a bundle of posts on returning to stock. I didn't mean to open another one.

bbabiuk said:
Can someone please point me in the correct direction?
Things I have done/looked for:
-I have searched for a 1.29.661.17 nandroid backup for TWRP..
Click to expand...
Click to collapse
Here's a link for 1.29.661.5 TWRP nandroid backup. You should be able to restore this and then take OTA's to get you back to 1.29.661.7 and then 1.29.661.17.
http://www.htc1guru.com/dld/m7-twrp-nandroid-backup-cid-telus001-1-29-661-5-rar

Thank you! So one last question. Do I just flash it like any other ROM in twrp? Or do I have to put it in the twrp backups file then hit restore? Because if that is the case I'm kind of pooched. I downloaded the file and copied to data/twrp/backup. When I go to twrp it doesn't show up.
Sent from my HTC One using XDA Premium 4 mobile app

bbabiuk said:
Thank you! So one last question. Do I just flash it like any other ROM in twrp? Or do I have to put it in the twrp backups file then hit restore? Because if that is the case I'm kind of pooched. I downloaded the file and copied to data/twrp/backup. When I go to twrp it doesn't show up.
Click to expand...
Click to collapse
The file you downloaded is in rar format (kind of like a zip). Get winrar and extract the files it contains (system.ext4.win, etc) and then copy them into the twrp backups folder in same manner as other backups, then use TWRP restore function.

Related

Newbie.. How to Do Nandroid Backup/Restore?

As the title says, i am completely lost when it comes to this process. Any help would be greatly appreciated. How do i do a Nandroid Backup or Restore?
Thanks in Advance
This may be (probably) the wrong place for this thread... but search will probably help you immensely
tried the search with 0 results that helped
finesta101 said:
tried the search with 0 results that helped
Click to expand...
Click to collapse
With a search i found
http://forum.xda-developers.com/showthread.php?t=459830
there ya go.
Download quickboot from the market. Open it up and select recovery. Should be pretty self explanatory from there.
McFroger3 said:
With a search i found
http://forum.xda-developers.com/showthread.php?t=459830
there ya go.
Click to expand...
Click to collapse
It says it for the G1 so i am unsure if the files are correct. Either way i am still having trouble. I am currently running the Cyanogen Rom and would like a Nandroid Backup just in case and dont know how to do it. Can you please help me out the with steps?
Thanks
finesta101 said:
As the title says, i am completely lost when it comes to this process. Any help would be greatly appreciated. How do i do a Nandroid Backup or Restore?
Thanks in Advance
Click to expand...
Click to collapse
reboot into recovery...it's listed as an option, from there.
krumb said:
reboot into recovery...it's listed as an option, from there.
Click to expand...
Click to collapse
What is listed as an option there?
finesta101 said:
What is listed as an option there?
Click to expand...
Click to collapse
"nandroid backup/restore"
To me, it sounds like you heard about this somewhere, and thus now want to perform a backup. But we need to take a step back if thats the case, because it sounds like you're missing key knowledge of how the android system works.
In order to perform a backup you need to have an unlocked phone. There's a few steps to get there, in both setup of your computer, unlocking, flashing, and then if you choose flashing a custom baked ROM, but a ROM is not required for backup/restore. How-to w/ video!
The unlock process requires you to agree that you are voiding your warranty, if this doesn't sound acceptable to you, stop and take heart that most of your data is backed up in the (google) cloud (provided you actually input your contacts into your gmail account).
Next you need to install Amon RA's Recovery (also described in the how-to above).
Nandroid backup is included in Amon RA's recovery, when you load into the recovery (accessible from fastboot, or by doing an adb reboot recovery). The option to do a backup/restore is there in the list and is as simple as following the on screen instructions.
backup a non rooted phone ? for android nexus one using nandroid ?nandroid on
bofslime said:
To me, it sounds like you heard about this somewhere, and thus now want to perform a backup. But we need to take a step back if thats the case, because it sounds like you're missing key knowledge of how the android system works.
In order to perform a backup you need to have an unlocked phone.
Click to expand...
Click to collapse
Are you sure there are no way to backup or extract the firmware whithout voiding the warranty ?
someone says it is possible before root (on droid maybe?)
http://ubuntuforums.org/showthread.php?p=8920841#post8920841
Ehow's howto is definitely wrong.
Nandroid is only provided with custom recoverys.
And custom recovery is only installable if you are root.
where to get 1.0-ERE27-nexusone-insecure.zip ?
ok thank for clarifying this ,
BTW i am looking for this file :
http://www.romraid.com/paul/nexusone/1.0-ERE27-nexusone-insecure.zip
can you help
I have downloaded a "1.1-nexusone-insecure.zip" last week but it is useless with a locked bootloader (operation not permitted when flashing).
The only aim of superboot is to get root on your current rom.
But the first step to do anything about root is to unlock the bootloader.
And void the warranty.

Trying to get back to Stock - Rogers M7_ul

I could really use your help guys. I'm trying to get back to stock so I can get the updates being pushed by HTC/Rogers. There are a couple bugs that are really annoying me. So, before i tell you what I need, here's what I have.
M7_ul
Locked Bootloader - was relocked after unlocking a while ago
Rooted
CWM recovery
Stock HTC ROM
S-OFF
Baseband 4a.14.3250.14
Main 1.29.631.4
Modelid: PN0712000
CID: Roger001
Now, what I need is either the RUU or the stock recovery files and some sort of guide on how to install them. I've tried downloading from here: http://www.htcdev.com/devcenter/downloads/P60 but i can't flash it via CWM. I've also tried downloading and RUU from here: http://bugsylawson.com/files/file/1...5013-1033115001-release-312087-signed-2-4zip/ but when i unzip i get corrupt files and i can't move it to the phone.
I'm at a complete loss here. I would really appreciate any guidance you guys can provide. Any idea where I can get the proper RUU and how I can install it? Or if it's easier to just get the stock recovery, any idea where I can get it and how to install it using CWM or another method such as terminal emulator?
no need to relock bootloader is s-off'd
easiest way, IF there is an ruu or ruu zip for the rogers variant (you would need the ruu files that match 1.29.631.4) floating around i suggest this...back up sd card contents,boot into recovery...wipe the system,reboot into bootloader connect device via fastboot,run the ruu..one it boots except the ota
done
but how do i run the RUU and how do I know which exactly is the right RUU for me? I've heard RUUs are exe files but i haven't found any that are. The one I think is right for me is a zip and it seems to be corrupt though I dled the 1gb file twice. So i'm a bit confused.
vijn said:
but how do i run the RUU and how do I know which exactly is the right RUU for me? I've heard RUUs are exe files but i haven't found any that are. The one I think is right for me is a zip and it seems to be corrupt though I dled the 1gb file twice. So i'm a bit confused.
Click to expand...
Click to collapse
You can find the RUU you need here: http://forum.xda-developers.com/showthread.php?t=2207874
Hope to has been usefull
Thanks so much. But I'm still not sure which version to get. I tried the RUU_M7_UL_JB_50_hTC_Asia_WWE_1.29.707.3_R_Radio_4A.14.3250.13_10.33.1150.01_release_311678_signed.exe but no go. I get an error. Says it's the wrong ROM. Ugh. I've had no luck with this. So frustrating.
ImJacky said:
You can find the RUU you need here: http://forum.xda-developers.com/showthread.php?t=2207874
Hope to has been usefull
Click to expand...
Click to collapse
So, I've tried Rogers 1.29.631.4.zip which is an nandroid backup but no go on that either, using CWM. At a total loss here.
vijn said:
So, I've tried Rogers 1.29.631.4.zip which is an nandroid backup but no go on that either, using CWM. At a total loss here.
Click to expand...
Click to collapse
This is what I did and it worked like a charm... minus of course the issue after the software update which got fixed anyway.
http://forum.xda-developers.com/showthread.php?t=2357881
Ugh. Thanks cue_32. I had just downloaded that file when I saw your post, so I was very hopeful this would work. Pushed it to my phone, tried installing via CWM but almost immediately it said installation aborted. I have no idea what's going on. Nothing seems to be installable. WTF? And the link you posted for the stock recovery doesn't seem to lead to anywhere that has a recovery file for DL. So, I'm totally stuck now. UGH. Been on this for almost 2 days now. Haven't run into this much trouble with any of my previous phones, despite trying out almost a dozen different ROMs. Here, I'm just trying to revert to stock recovery and RUU and can't even do that. Sigh. I just don't get why none of the RUUs are installable.
vijn said:
Ugh. Thanks cue_32. I had just downloaded that file when I saw your post, so I was very hopeful this would work. Pushed it to my phone, tried installing via CWM but almost immediately it said installation aborted. I have no idea what's going on. Nothing seems to be installable. WTF? And the link you posted for the stock recovery doesn't seem to lead to anywhere that has a recovery file for DL. So, I'm totally stuck now. UGH. Been on this for almost 2 days now. Haven't run into this much trouble with any of my previous phones, despite trying out almost a dozen different ROMs. Here, I'm just trying to revert to stock recovery and RUU and can't even do that. Sigh. I just don't get why none of the RUUs are installable.
Click to expand...
Click to collapse
There's no RUU available yet for Rogers so I personally wouldn't try any other RUU.
So you downloaded the Nandroid backup from Whamboush (or whatever the name was), you extracted and moved the EXTRACTED FOLDER to the proper location (Clockwork>Backup) and updated the permissions correct? I used Root Browser to do this, the permission should be exactly like your other CWM backups. If I recall correctly there are 3 columns with 3 rows, all are X'd except for the last box on the 2nd column\3rd Row. (middle\bottom)
example:
X X X
X X X
X _ X
From there I just did the restore using the original clock work mod (non-touch cause I'm old skool)
After it successfully flashes, before it prompts you to reboot you'll be prompted to re-root from within CWM itself. Select No.
After it reboots, test to make sure everything is ok.
Then enter fastboot mode (adb reboot bootloader), from fastboot mode you can then flash the recovery.
You're welcome
---------- Post added at 11:29 PM ---------- Previous post was at 11:14 PM ----------
vijn said:
Ugh. Thanks cue_32. Here, I'm just trying to revert to stock recovery and RUU and can't even do that. Sigh. I just don't get why none of the RUUs are installable.
Click to expand...
Click to collapse
here's your stock recovery...I know how frustrating it can get so don't mind the step by step procedure.
http://d-h.st/dyr
You're welcome
well, cue_32 has give you the link to stock recovery..... what you can do is , flash the stock recovery first...try flashing the OTA......if still doesnt work..you can go for restoring the nandroid backup.....
mathrania said:
well, cue_32 has give you the link to stock recovery..... what you can do is , flash the stock recovery first...try flashing the OTA......if still doesnt work..you can go for restoring the nandroid backup.....
Click to expand...
Click to collapse
If I had the original nandroid, of the original Rom for example, would all that one needs to do is flash it and unroot and that's it?
Sent from my HTC One
chc31 said:
If I had the original nandroid, of the original Rom for example, would all that one needs to do is flash it and unroot and that's it?
Sent from my HTC One
Click to expand...
Click to collapse
Flash, unroot (if necessary) and flash stock recovery, which is what the instructions I provided, and optional lock the boot loader
So, I tried changing the permissions, which I hadn't done before, using Root Explorer but it says that some files can't be modified. So I can't set the permissions and CWM won't see those files at all, so that's not an option it seems. So I decided to just flash the recovery but when i do i get an error in adb Failed (remote: not allowed). So, that's not working either. Hehe. Every time I think i got it, something stands in the way. Will definitely feel like an accomplishment when i get this thing done finally, just not sure how or when it'll happen.
cue_32 said:
There's no RUU available yet for Rogers so I personally wouldn't try any other RUU.
So you downloaded the Nandroid backup from Whamboush (or whatever the name was), you extracted and moved the EXTRACTED FOLDER to the proper location (Clockwork>Backup) and updated the permissions correct? I used Root Browser to do this, the permission should be exactly like your other CWM backups. If I recall correctly there are 3 columns with 3 rows, all are X'd except for the last box on the 2nd column\3rd Row. (middle\bottom)
example:
X X X
X X X
X _ X
From there I just did the restore using the original clock work mod (non-touch cause I'm old skool)
After it successfully flashes, before it prompts you to reboot you'll be prompted to re-root from within CWM itself. Select No.
After it reboots, test to make sure everything is ok.
Then enter fastboot mode (adb reboot bootloader), from fastboot mode you can then flash the recovery.
You're welcome
---------- Post added at 11:29 PM ---------- Previous post was at 11:14 PM ----------
here's your stock recovery...I know how frustrating it can get so don't mind the step by step procedure.
http://d-h.st/dyr
You're welcome
Click to expand...
Click to collapse
Ya, I tried flashing the recovery, no go. No go on the nandroid backup either. The good thing is, i'm getting much more familiar with adb. Hehe.
mathrania said:
well, cue_32 has give you the link to stock recovery..... what you can do is , flash the stock recovery first...try flashing the OTA......if still doesnt work..you can go for restoring the nandroid backup.....
Click to expand...
Click to collapse
vijn said:
Ya, I tried flashing the recovery, no go. No go on the nandroid backup either. The good thing is, i'm getting much more familiar with adb. Hehe.
Click to expand...
Click to collapse
well, interested in another option.....i havent done this, but some people do...
change you CID to some device which has rcvd OTA, like mine is HTC_J15....just an example... now your mobile would be WWE internation blah blah... now grab the RUU.exe for it....backup all your data...and run it.....and then go for the OTA's ...in short the region of your device would be changed... you will have to find it in the forum itself... there are tutorials out there to do it...
Well, I'm leaving for the weekend, so I'll have to put this aside for now. In my research I had come across what you are suggesting but it seemed like more trouble and a little confusing so I opted against it, but maybe I'll have to revisit it when i get back. Hopefully you guys will still be around to provide some guidance. I do appreciate all your help. THanks again.
mathrania said:
well, interested in another option.....i havent done this, but some people do...
change you CID to some device which has rcvd OTA, like mine is HTC_J15....just an example... now your mobile would be WWE internation blah blah... now grab the RUU.exe for it....backup all your data...and run it.....and then go for the OTA's ...in short the region of your device would be changed... you will have to find it in the forum itself... there are tutorials out there to do it...
Click to expand...
Click to collapse
cue_32 said:
Flash, unroot (if necessary) and flash stock recovery, which is what the instructions I provided, and optional lock the boot loader
Click to expand...
Click to collapse
alrighty! ill keep that in mind, thinking of rooting! i had a htc sensation i bought online, if anything would happen to it i couldnt do anything about it, so i rooted and kept it like that. Now a Rogers One.. different lol. Thanks!
vijn said:
So, I tried changing the permissions, which I hadn't done before, using Root Explorer but it says that some files can't be modified. So I can't set the permissions and CWM won't see those files at all, so that's not an option it seems.
Click to expand...
Click to collapse
Just to be sure, the EXTRACTED FOLDER I'm referring to is the last folder before you see ALL the files of the 'ROM' like boot.img, cache.ext4.tar, recovery.img, etc...This folder is the one you want to make the permission changes to.
I had the exact same problem before and tried on ES File explorer, Astro File explorer, and Root browser (not root explorer although Im sure it works too). (I've never had to have this many installed at once) but basically this was the problem because after I extracted and updated the permission using Root browser, it worked on 1st try.
What I had done as well is make sure I was moving the extracted folder to the proper location by doing a nandroid back up first. From there I located the backup I just created and moved the extracted folder there. Once the extracted folder is in the right place, I went and used root browser and updated the permissions.
This totally worked Cue. Thank you so much. Finally managed to get the nandroid back up flashed, but then when I went to flash the recovery, i got an error: Failed (remote: not allowed). Ugh. So baby steps, but still in the right direction. So now my status is, Locked bootloader, s-off, flashed nandroid backup, but still have CWM recovery which I apparently can't seem to shake. Anyone know where I can maybe find a .zip recovery that I can try flashing via CWM? Not sure whether that's even possible, as CWM would essentially be overwriting itself but not sure what other options i have. From the research I've done so far though, it seems i can't flash a recovery with a locked bootloader. It does feel like i'm going around in circles here.
cue_32 said:
Just to be sure, the EXTRACTED FOLDER I'm referring to is the last folder before you see ALL the files of the 'ROM' like boot.img, cache.ext4.tar, recovery.img, etc...This folder is the one you want to make the permission changes to.
I had the exact same problem before and tried on ES File explorer, Astro File explorer, and Root browser (not root explorer although Im sure it works too). (I've never had to have this many installed at once) but basically this was the problem because after I extracted and updated the permission using Root browser, it worked on 1st try.
What I had done as well is make sure I was moving the extracted folder to the proper location by doing a nandroid back up first. From there I located the backup I just created and moved the extracted folder there. Once the extracted folder is in the right place, I went and used root browser and updated the permissions.
Click to expand...
Click to collapse
Do i really have to go through the entire unlock bootloader process to flash stock recovery? Ugh. I honestly don't get why this is so complicated. My previous phones were SOOO much simpler in comparison. This just feels like way too much trouble. I originally just wanted a rooted phone to get rid of bloatware and other small tweaks. I had no idea it would have such annoying consequences. Now, I'm just trying to get the stock ROM updated with HTC's latest bug fixes and software upgrade before i try and custom roms. I suspect it's not going to get easier though. I think once i get this finally done, i'm just going to leave the phone as is, completely stock at least until the 4.2.2 upgrade. Then after that I'll root it again. I used to love this process of rooting, installing custom roms, etc. Was fun, but this is just tedious as all hell. Hehe. Anyway, enough ranting. Ya, if anyone can tell me what my next step is, I'd be grateful.

[Q] Rogers htc one unrooting?

Hi there,
I've rooted my rogers htc one, and have clockworksmod recovery on there, but I'm an idiot and never saved nandroid backup of the stock rom, I'm stressing out as its gotta go back in for warranty purposes and I've looked for 5 days high and low on this site on how to unroot the device back to stock again. I've downloaded the cwm backup of the rogers001 backup but my recovery wont pick it up? Any help would be appreciated, tks kenny
skyjor2012 said:
Hi there,
I've rooted my rogers htc one, and have clockworksmod recovery on there, but I'm an idiot and never saved nandroid backup of the stock rom, I'm stressing out as its gotta go back in for warranty purposes and I've looked for 5 days high and low on this site on how to unroot the device back to stock again. I've downloaded the cwm backup of the rogers001 backup but my recovery wont pick it up? Any help would be appreciated, tks kenny
Click to expand...
Click to collapse
in superuser app there is an option where you can unroot your device..
I'll try that app when I get home. I downloaded whampahoofus cwm nandroid backup, tried adding it to clockworkmod/backup but clockworkmod recovery doesn't pick it up! Also in recovery I see 4 backups. Non of themselves the stick but How come I don't see them on my sd card?
skyjor2012 said:
I'll try that app when I get home. I downloaded whampahoofus cwm nandroid backup, tried adding it to clockworkmod/backup but clockworkmod recovery doesn't pick it up! Also in recovery I see 4 backups. Non of themselves the stick but How come I don't see them on my sd card?
Click to expand...
Click to collapse
they're not there anymore, now they are in mnt/shell/emulated/clockworkmod/backup
to remove root, use this app: https://play.google.com/store/apps/details?id=eu.chainfire.supersu&hl=de
cheers
Thanks, I'll try it after work, appreciate your help, so have you used that app to indoor before. Is there anything special I need, I'm on Roger Cid rogers001 and it seems as if it's given everyone the hardest time unrooting, an Ruu for rogers001 would be fantastic! So do l my tonight rooted to gain access to the backup folder? So that path you gave me, is that where my backup from the PC be transfer. Sorry for all the question!
skyjor2012 said:
Thanks, I'll try it after work, appreciate your help, so have you used that app to indoor before. Is there anything special I need, I'm on Roger Cid rogers001 and it seems as if it's given everyone the hardest time unrooting, an Ruu for rogers001 would be fantastic! So do l my tonight rooted to gain access to the backup folder? So that path you gave me, is that where my backup from the PC be transfer. Sorry for all the question!
Click to expand...
Click to collapse
in the supersu app you have the option to completely unroot. it should work..
yes, to access this folder you need a root explorer and a rooted device. then you can copy/move the backups with the root explorer on the device to the sdcard. after this you can find the backups on the PC.
cheers :highfive:
ok update, got home and installed supersu app, and it said to update su binary and I tried that but it didn't allow me to. Then I read I should install supersu.zip from recover, and I did, now I cant run supersu at all there's no binary installed. Also tried es file explorer, and root broswer, and went to mnt/shell and then its blank, there's no clockworkmod/backup. I dont think I have root access, and I tried to turn it on in settings but it wont allow me to. I think my phones rooted but I dont have root access of the rom, is that correct in saying, thanks
Managed to get back to stock rom, but need to find a stock recovery, then I should be able to apply the update thats available and it should be all back to stock, hopefully, wow I've been learning lots about android lately, lol
skyjor2012 said:
Managed to get back to stock rom, but need to find a stock recovery, then I should be able to apply the update thats available and it should be all back to stock, hopefully, wow I've been learning lots about android lately, lol
Click to expand...
Click to collapse
were you able to find the stock rogers recovery? I'm looking to instal OTA update and need to flash to stock recovery...
Nope never did find it. I'm still looking. I need OTA update as well! I'm getting bad call reception!
I've heard using stock AT&T recovery.img works, since recovery images aren't really specific to the different carriers. Maybe try that out? Has anyone else ever tried that that can have some input?
http://forum.xda-developers.com/showthread.php?t=2358928
This thread has some more information about it.

How to root the HTC One M9 on T-Mobile (Windows)(S-Off too!)(Works on .33 update)

For RUUs, stock recoveries, stock Nandroids (in case you need to return to stock, unrooted), TWRP links, and other important tools, please check this thread by Rydah805. It has the stuff you want.
Note: S-Off link at the bottom of the OP. You'll need the HTCDev unlock method completed first and you'll need root access to make it work. So once you're done with this little guide (or the noob friendly one in the HTC One international forums here), you can hop right on over to Sunshine (linked at the bottom) to get that done if you don't mind the $25 fee.
I can confirm this works on the following:
Android 5.0.2
HTC Sense Version 7.0
Software Number 1.32.531.25 (tested and working with software update 1.32.531.33)
Kernel Version [email protected] #1 SMP PREEMPT
Baseband version 01.01_U11440251_64.04.50312G_2_F
Build Number 1.32.531.25 CL505029 release-keys
As usual, you do this at your own risk. It's not my fault if you mess things up (although I sympathize completely if you do). I cannot confirm this works on any other version than this one, although I've seen this work on the AT&T, Verizon, Sprint, and International variants. Feel free to link there or just copy paste the whole damn thing and post it over in those forums to make it easier for those folks. I really, honestly don't mind.
It took me a while so I figured i'd make a thread on it to make it easier for our fellow T-Mobile M9 peoples. This is essentially a link dump so you can get to the places you need to go faster. Before continuing, please read this advice from Rydah805 because it's invaluable. Thankfully, we won't be using the 2.8.5.0 version of TWRP in this quick tutorial but the important part of the message is that you should make a nandroid of the unmodified stock ROM BEFORE rooting. Otherwise you will have many problems down the line. If you have thanks to give, give them to the posters of all these various threads. I did nothing special, just went through the steps to see how it worked.
Please note, if you're using Mac or Linux, I don't use those things and couldn't try/test/use the root method on those platforms. I assume Linux works pretty much the same way as Windows (you'll have to get ADB/Fastboot a different way of course).
Let's get started
Pre-requisites:
1. You'll need SuperSU by Chainfire. You can download it here. Put this on your device where you can find it later. I've seen people say it needs to be on an external SD card, but I've seen it work from both internal and external.
2. You'll need a modified version of 2.8.6.0 of TWRP. You can download that here. The link is at the bottom of the post where it says "Beta version with system backup fixed...". That's the one you want.
3. You will need ADB and Fastboot. I recommend Minimal ADB and Fastboot. You can find that here. Install it like any other Windows application AND MAKE SURE TO LET IT CREATE A DESKTOP ICON. This will make finding it later much easier. Linux users will need to find a different way to get ADB/Fastboot. Probably just downloading the SDK...although if you're running Linux you know all this already so let's just move on.
4. You'll need the HTC One drivers. I did this by installing HTC Sync Manager and it worked fine for me. You can download the HTC Sync Manager here.
Okay now for the actual root method.
1. First you'll need to unlock the bootloader using HTDdev.com. Follow this tutorial to do that.
2. Once your bootloader is unlocked. You'll want to flash the TWRP recovery to your HTC One M9. Rename the TWRP file you downloaded in the pre-requisits it to "recovery" (no quotes, and the .img shouldn't be visible) and place it in the Minimal ADB and Fastboot folder on your COMPUTER. For windows, this is usually under your C drive > Program Files (x86) > Minimal ADB and Fastboot.
3. On your One M9, turn it off. Press the volume down key and power simultaneously and you'll get a black screen. Using the volume keys to scroll, go to Download Mode and click the power button to confirm.
4. On your computer, open Minimal ADB and Fastboot using the icon I told you make earlier (you listened, right? ). If you renamed the TWRP image you downloaded earlier to "recovery" and put it in the proper folder as I stated earlier, then all you need to do is type the following:
Code:
fastboot flash recovery recovery.img
5. At this point the recovery should flash successfully. HOWEVER, in my experience, you may get some silly errors (unknown error, Fastboot crashed, too many links, etc). If this is the case, don't panic. Turn the device off, re-enter download mode again, close the command window and re-open Minimal ADB and Fastboot and try again. All I did to get it to work was try a couple of times over again. Sometimes it goes, sometimes it doesn't. Silly Windows being silly I presume.
6. Okay, you should now have recovery. Enter recovery by pressing and holding volume up and volume down while pressing power to enter bootloader mode. Scroll using the volume keys to "Recovery" and hit the power button. You should now be in a weird looking TWRP. This is normal.
7. CREATE A FREAKING NANDROID BACKUP RIGHT NOW. According to some recognized members of the community, HTC updates only work on an unmodified system. If you ever want to receive official updates from HTC, you HAVE to create a NANDROID RIGHT NOW. Do it. I'll wait.
8. Did you create a Nandroid yet? No? You naught boy/girl, go do that now please.
9. But no really, create a Nandroid please.
10. Once your Nandroid is complete and you have an unmodified, unrooted system backed up, we can actually root the damn thing. You should have SuperSU on your device (as per the pre-requisites). If not, go download that using the link I provided above and put it on your device. Anywhere should be fine.
11. Okay now here's the tricky part. TWRP boots into recovery as Read Only but ONLY on unmodified systems. The reason for this is because HTC updates can't install if the recovery is read/write enabled. Since you're not yet rooted, your TWRP is booting up to Read Only. That means even if you flash SuperSU right now, it won't actually do anything because TWRP can't write to /system (yes, it will say it flashed successfully, it's a liar liar pants on fire).
12. To overcome this, you'll need to follow the instructions in this post.
13. Once you have manually mounted the system partition using the post I linked above (did you thank him? I think you should've thanked him), you may now flash SuperSU.zip as you normally would.
14. Reboot, and you should now be rooted. Don't forget to install BusyBox (search "busybox" in the Google Play Store, download the one developed by Stephen (Stericson). Once installed, open it, give it Superuser permission, then just hit install). Once busybox is installed, you will have the full root experience and can use apps like Titanium Backup.
And that should do it folks. Again, don't thank me, all I did was gather links and put the steps in order. The other people deserve your praise.
Now as for updating, I don't know how it will work yet, but this is how I believe it'll work in theory.
If you have a system update:
1. Create a titanium backup of all of your apps (trust me).
2. Reboot to recovery, restore your unrooted, unmodified Nandroid that I told you literally 5 times to make.
3. Reboot, then check for updates. Install the system update.
4. Re-root your device using the steps above (by then I'm sure there will be a more stable TWRP, make sure you always have the most updated one!)
5. Restore your apps via Titanium Backup.
Again, that's how I believe it should work in theory but I won't know for sure until I receive a system update.
IF YOU HAVE PROBLEMS, please contact the smarter people in the threads I linked who are actively working on helping people with issues. I suppose you can post them here, but as you can see by my post count, I rarely pay much attention
Enjoy!
*Edit*
Bonus points: Our device is compatible with the S-Off method brought by Sunshine. It's a $25 purchase but it does work (tested) and I've seen people report that it works on the .33 update as well. Click here to check out Sunshine.
great write up. mind making a stock backup with the beta 2.8.6.0 twrp and posting it?
Rydah805 said:
great write up. mind making a stock backup with the beta 2.8.6.0 twrp and posting it?
Click to expand...
Click to collapse
I could, definitely. Maybe create a clean one (without my stuff logged in) and upload here...what would I have to include so people could actually use it? I've never tried restoring a borrowed Nandroid backup before lol.
All you need to post is system and boot. You don't need to wipe your info, all of that is stored on the data partition, which we don't necessarily need. So just backup using the beta TWRP 2.8.6.0 you mentioned and zip and upload the following files:
Boot.emmc.win
Boot.emmc.win.md5
Recovery.log
System.ext4.win000.win
System.ext4.win000.win.md5
System.ext4.win001.win
System.ext4.win001.win.md5
System.ext4.win002.win
System.ext4.win002.win.md5
System.info
Click to expand...
Click to collapse
The ".md5" files are only created if you have the generate md5 option on in TWRP. If this option isn't enabled, they aren't necessary.
I hope you haven't used TWRP 2.8.5.0 on your M9 at all. Have you?
Edit:
I'm assuming you have root already and what we need is an untouched system partition. If you haven't touched the system partition then we are good, but if not, don't bother making a backup. The easiest way to check if your system partition is still good to use for OTA's, boot into TWRP and go to the mount options and if "System" is an option, it's no good and a stock backup from that particular device is useless, but if the "System" option isn't there, please make the backup and share it. Lol
Sent From My HTC One (M9)
Rydah805 said:
All you need to post is system and boot. You don't need to wipe your info, all of that is stored on the data partition, which we don't necessarily need. So just backup using the beta TWRP 2.8.6.0 you mentioned and zip and upload the following files:
The ".md5" files are only created if you have the generate md5 option on in TWRP. If this option isn't enabled, they aren't necessary.
I hope you haven't used TWRP 2.8.5.0 on your M9 at all. Have you?
Edit:
I'm assuming you have root already and what we need is an untouched system partition. If you haven't touched the system partition then we are good, but if not, don't bother making a backup. The easiest way to check if your system partition is still good to use for OTA's, boot into TWRP and go to the mount options and if "System" is an option, it's no good and a stock backup from that particular device is useless, but if the "System" option isn't there, please make the backup and share it. Lol
Sent From My HTC One (M9)
Click to expand...
Click to collapse
I followed my exact instructions before I posted them I got my device last night and did all of this today (in fact, I wrote it as I completed each step). I have an untouched /system in my nandroid and my TWRP was only 2.8.6.0. Curiously enough, my Nandroid has a system.emmc.win and boot.emmc.win...will that be a problem? I flashed the 2.8.6.0 modified one that allows for backups beforehand but I don't have ext4 I guess.
DunningKrugerEffect said:
I followed my exact instructions before I posted them I got my device last night and did all of this today (in fact, I wrote it as I completed each step). I have an untouched /system in my nandroid and my TWRP was only 2.8.6.0. Curiously enough, my Nandroid has a system.emmc.win and boot.emmc.win...will that be a problem? I flashed the 2.8.6.0 modified one that allows for backups beforehand but I don't have ext4 I guess.
Click to expand...
Click to collapse
Must be my setup. Yours should be perfect. Looking forward to downloading a copy. ? thanks in advance.
Sent From My HTC One (M9)
Could someone please upload the stock recovery for this phone? I need it because I'm interested in flashing TWRP and rooting the phone but I need the stock recovery in case an OTA update hits.
Prasad said:
Could someone please upload the stock recovery for this phone? I need it because I'm interested in flashing TWRP and rooting the phone but I need the stock recovery in case an OTA update hits.
Click to expand...
Click to collapse
When an OTA arrives, download it and it'll contain the stock recovery. By then, I'll post it...
Sent From My HTC One (M9)
Rydah805 said:
When an OTA arrives, download it and it'll contain the stock recovery. By then, I'll post it...
Sent From My HTC One (M9)
Click to expand...
Click to collapse
Thanks! I tried to flash TWRP and got this:
$ fastboot flash recovery twrp-2.8.6.0-hima.img
sending 'recovery' (35928 KB)... OKAY
writing 'recovery'... FAILED (remote: cannot flash this partition in s-on state)
Click to expand...
Click to collapse
EDIT: Never mind.. Got it to work!
[Q] Any benefit to unlock bootloader only?
So I have rooted many of my phones and just received my M9 last night. Not really interested in rooting it just yet. Although I was curious if there is any benefit to only unlocking the bootloader. or just wait for when I root it?
Gravityrat said:
So I have rooted many of my phones and just received my M9 last night. Not really interested in rooting it just yet. Although I was curious if there is any benefit to only unlocking the bootloader. or just wait for when I root it?
Click to expand...
Click to collapse
Unlocking the bootloader gives you access to installing custom ROMs, kernels and rooting the phone. You only really need to unlock it if and when you're doing any of these.
Figured as much. I wanna run it stock for a bit to see how it runs. I will admit, I am impressed with the battery life so far. I made it 12 hours at work with 17% left when I got home.
Worked for me. Thanks
Am I missing something? While in recovery, after I've already made a backup(It's uploading) I go to advance>terminal and I type in
Code:
mount -t ext4 /dev/block/bootdevice/by-name/system /system
it returns
Code:
mount: mounting /dev/block/bootdevice/by-name/system on /system failed: Device or resource busy
Edit: Apparently it still worked.
Here is a TWRP backup of my phone right after I unlocked it, so it should be completely stock. I didn't remove any of the files, so the data files are in there as well. (Again, right after I wiped from unlocking)
Just drag the folder into your twrp backup folder and you should be good to go.
Goolge Drive
xxquicksh0txx said:
Here is a TWRP backup of my phone right after I unlocked it, so it should be completely stock. I didn't remove any of the files, so the data files are in there as well. (Again, right after I wiped from unlocking)
Just drag the folder into your twrp backup folder and you should be good to go.
Goolge Drive
Click to expand...
Click to collapse
mind if i link that in my thread?
Rydah805 said:
mind if i link that in my thread?
Click to expand...
Click to collapse
That's what it's there for
:good:
does anybody know if this works on mac?
child0fdecadance said:
does anybody know if this works on mac?
Click to expand...
Click to collapse
I unlocked, flashed TWRP, backed up and rooted the M9 on a Mac.
Prasad said:
I unlocked, flashed TWRP, backed up and rooted the M9 on a Mac.
Click to expand...
Click to collapse
sweet! did you have to change any of the procedure or did you do it step by step?

Mototrola droid turbo (VZW) XT1254

I had aokp installed through twrp and now im giving the phone to a friend whos not tech savvy so i wanted to put it back to stock yet every file i get for the stock rom fails to flash properly through twrp. Any help? Maybe im making a small mistake somewhere along the lines so if someone could either link me to the correct forum post for it or link me the correct file? ive tried about 7 different files and none of them have worked and they were all from XDA forums
KingHephaestus said:
I had aokp installed through twrp and now im giving the phone to a friend whos not tech savvy.
so i wanted to put it back to stock yet every file i get for the stock rom fails to flash properly through twrp.
Any help? Maybe im making a small mistake somewhere along the lines so if someone could either link me to the correct forum post for it or link me the correct file? ive tried about 7 different files and none of them have worked and they were all from XDA forums
Click to expand...
Click to collapse
You probably want to keep TWRP custom recovery. So you want to flash a TWRP-flashable stock firmware file. It's called a ROM, but it's really just stock firmware in a TWRP-flashable format.
You want to keep TWRP recovery, even if your friend is not tech savvy. It doesn't hurt in any way and can always help. For one, you can make a TWRP backup of the phone, before giving it to him and you or he could always "restore" that factory fresh image in case he ever screws it up.
THIS is what you are looking for. Download, flash in TWRP after doing a factory reset in TWRP.
[ROM] MCG24.251-5-5 100% Stock
https://forum.xda-developers.com/droid-turbo/general/rom-mcg24-251-5-5-100-stock-t3565795

Categories

Resources