• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Help with unrooting/software change

Perfect, sorry, dodgy folk can do dodgy things if they get hold of those.

Right, was hoping you might have had an unbranded phone but from your cid you got this from Three which might make things a bit trickier in getting you back to stock. I'll need to see what I can dig up by way of a set of backups.

Meantime, we might be lucky and have a backup on your phone that was run through Philz recovery. Are you still in fastboot on the phone? If yes, towards the bottom can you check that HBOOT is highlighted in blue, and if it is press the phone's power button - this will load HBOOT, just wait until it loads (you'll see some green text on the screen but don't worry about it). Once it's settled down you'll have some more options below where FASTBOOT is highlighted in blue, press volume down on the phone to highlight RECOVERY, and press phone power button. This should boot to your custom recovery for next step - post back once in recovery.
 
Now, it's been a while since I've used Philz so you might have to post some of the menu options for me until we get to the right place. Is there a menu called Backup and Restore on screen or something that looks similar - if so press it and then let me know on next screen what options have Restore in the list.
 
We have:

backup to /sdcard
restore from /sdcard
custom backup to /sdcard
custom restore from /sdcard
backup to /storage/sdcard1
restore from /storage/sdcard1
delete from /storage/sdcard1
custom backup to /storage/sdcard1
custom restore from /storage/sdcard1
clone rom to update.zip
free unused backup data
misc nandroid settings
 
Cool, ok 2 places we need to check. First see the soft nav keys at the bottom of the screen, the one that looks like a u-turn arrow on its side will go back to prev menu, the other arrow is an enter key so be careful not to press it just in case.

Okay first can you press on the Restore from /sdcard option and list what backup names are in there. If there isn't anything, press the backup key (or you might see ++ go back ++ at bottom, does the same thing).
Then press the Restore from /storage/sdcard1 and again list any backup names you find in there.
 
unfortunately,htc has misguided you,as the only h3g files i can find are maintenance release files,not full RUUs.

we can certainly help you flash a newer,nicer rom to get you a better working phone,but getting you back to 100% correct stock is going to be a little trickier.

as saltire has mentioned,there are not any readily avialable RUUs for your cid/carrier. there are a couple x.xx.401.x ruus available,and it would be possible to "convert" your phone to that variant in order to use one if you wanted to go that route,if you are willing to turn s off. the biggest issue with this,is that it may affect your warranty if your stock software had carrier branding and installed apps.

given the lack of ruus,the best way to get you back to stock is going to be to restore a backup that was made of your 2.22.771.5 software build,so for now ill keep fingers crossed that you come across a backup on your phone. if so,its just a matter of installing a stock recovery image after restoring it.

ill keep searching for a backup or rom with your build while we wait to hear the results of your available backups :)
 
Yeah, the phone did have branding and apps installed by Three when I first got it. Honestly, right now, I'm not completely fussed about getting to stock straight away - just a fully functioning phone would be ideal!
 
aha! this post has what we need:
http://forum.xda-developers.com/showpost.php?p=55322461&postcount=1897

in a nutshell,heres what we should do:
-download the 2.22.771.5 twrp nandroid and stock recovery
-backup user apps using titanium backup(optional)
-install twrp recovery
-make a backup of your current setup using twrp(just in case)
-move the downloaded 2.22.771.5 nandroid to your twrp folder and restore it
-install stock 2.22.771.5 recovery
-factory reset from within hboot(make sure you transfer any pics or other media from internal storage to your pc)

my recomendation is to leave the bootloader unlocked. relocking it may casue you to become locked into the bootloader with a security warning if something is not quite right. the unlocked bootloader will not prevent you from recieving OTA updates if you want to just run a stock,normal phone.

boot the phone and set it up,if you want. at this point,the phone will update several times to current software. when its finished,youll have the option of re-rooting and using titanium backup to restore user apps,if you desire.
 
Edit: ignore this as Scotty found exactly what you need, top man!

Hmm, pity as I'm guessing that the phone had the issue when you did the backup 2 days ago so restoring that isn't going to help. Is that all the backups you have (not being smart, just checking ;) ). If it is, for the moment you may as well reboot your phone and keep it plugged in - go back to main screen in Philz and Reboot System Now option.

@scotty85 found a Stock TWRP backup for H3G__001 cid in the xda thread but older OS (1.12.771.17) though. Maybe worth a shot?
 
Yeah, the phone did have branding and apps installed by Three when I first got it. Honestly, right now, I'm not completely fussed about getting to stock straight away - just a fully functioning phone would be ideal!

see the above post #36 if you want to return to stock. if you do decide to just flash a newer custom rom,then look thru whats available here:
http://forum.xda-developers.com/htc-one-m8/development

id suggest giving the newest version of your current one a shot:
http://forum.xda-developers.com/showthread.php?t=2694917

but maximus would prolly be nice as well:
http://forum.xda-developers.com/showthread.php?t=2695706

both are based on the newest wwe software,version 4.16.401.10
 
Hmm, pity as I'm guessing that the phone had the issue when you did the backup 2 days ago so restoring that isn't going to help. Is that all the backups you have (not being smart, just checking ;) ). If it is, for the moment you may as well reboot your phone and keep it plugged in - go back to main screen in Philz and Reboot System Now option.

@scotty85 found a Stock TWRP backup for H3G__001 cid in the xda thread but older OS (1.12.771.17) though. Maybe worth a shot?
lol,see post 36

id found that as well and in searching for OTAs to 1.54.771.x i found the 2.22.771.5 backup
 
Aimikus - mind you will need to go through all the OTAs to get up to date if you follow Scotty's post, (or go s-off - topic for another day though) as without the corresponding firmware updates you will likely find wifi (maybe other stuff) won't work if you go for the latest ARHD (or other) rom.
 
Aimikus - mind you will need to go through all the OTAs to get up to date if you follow Scotty's post, (or go s-off - topic for another day though) as without the corresponding firmware updates you will likely find wifi (maybe other stuff) won't work if you go for the latest ARHD (or other) rom.
to my knowledge,there haevnt been any major firmware changes that should keep things from not working. the prollem arises when mount points or something changes that prevent an older hboot from being able to boot a newer rom. i believe newer roms should work on the older firmware in this case.

having said that,i argree whole heartedly that newer is better. they do make updates for a reason :D so dont misunderstand that im recomending to stay on the older version.

to expand on that saltire has said,if you do not decide to go the OTA route,you may be tempted to just flash the firmware.zip file from the newest OTA. i would advise against this,as the OTA does not neccesarily contain a complete package,only what is different. so if you attempt to go from A to D,you may miss some bits that were different in B and C. if that makes sense.

so to update firmware,you can restore stock and let the phone OTA naturally several times,or you can update manually. to update manually,we should track down all the OTAs(wich shouldnt be too hard) and then apply the firmware.zip files in order from your next one to the most current.
 
I don't know enough of detail, but I thought I'd test it with a (then) new arhd version just to see and without a fw flash sure enough no WiFi, can't remember which now. Assumed that a radio upgrade was included in one of the fw packages. HTC setup always seems too complicated, but having said that I've had more issues with my N7 lol
 
Ah this is where I get lost. I'll be in all day tomorrow I think so will beable to have a good look through and download whatever you say I need.

Back to the charging issue though - the port is definitely a little wonky but does charge if in a certain position BUT only if it's in power saver and airplane mode. Does that sound software related?
 
Ah this is where I get lost. I'll be in all day tomorrow I think so will beable to have a good look through and download whatever you say I need.

Back to the charging issue though - the port is definitely a little wonky but does charge if in a certain position BUT only if it's in power saver and airplane mode. Does that sound software related?
That's a hardware problem.

Good news is that it's more often a worn out cable than the actual charging port.

I'm going to re-word Scotty's post, put the links here, and give you the step by step fastboot instructions you need.

Some copy and paste, some button pushing, and you'll be on the way to where you want to be. :)
 
I've tried a million different cables and that's the only way it will charge. I'll keep trying though.

Thankyou! I think I'll hold off actually doing it until I have a spare phone I'm lending later in the week just incase I balls things up.
 
READ THROUGH FIRST, as often as desired, to get a mental overview (as rough or detailed as you want) before proceeding.

If in doubt on any personal photos and the like, be sure to back those up to your PC using Windows Explorer and a good old drag and drop or copy/paste of your storage areas. (Although, I think you said you were pulling our the sd card for all this.)

Nothing here is anything you haven't already done - and it's step by step.

Download this TWRP and copy over to your sdk-tools where fastboot lives.

http://techerrata.com/file/twrp2/m8/openrecovery-twrp-2.8.5.0-m8.img

Download the 2.22.771.5_recovery.img stock recovery and copy it to sdk-tools as well.

http://sourceforge.net/projects/htconem8/files/Recovery/2.22.771.5_recovery.img/download

Download this zip package to your pc, it's a big download and not fast -

https://mega.co.nz/#!mhoRHZJD!FFhuMW7bo1Lmrr4cRwhOsscWAX9lPq9yhlSbfrzcnik

Unzip the file on your PC = and MAKE SURE that you unzip so you get a new folder with just the contents, not the contents extracted to someplace with a bunch of other files mixed in.

You ought to end up with a folder named 2.22.771.5

Place your phone in FASTBOOT USB mode and open a command window to sdk-tools. Send the following command, ok to copy/paste:

fastboot flash recovery openrecovery-twrp-2.8.5.0-m8.img

It should show some bytes transferred and OKAY on your PC.

On phone, go to recovery. If not a menu option, select HBOOT first.

Team Win screen appears and an option to Backup.

Do that, accept the defaults.

When done, reboot phone to ensure everything is still working (as well as it has been, just a boot up ought to do).

Look for your phone in Windows Explorer.

Find the folder that says TWRP, and below it, a folder named BACKUPS and below that a folder named after your your phone's serial number - it will be the only one.

Under the SERIAL-NUMBER folder, you'll see one other folder - some words and what ought to look like a date. Today's date.

Stay out of there, it's your backup.

Open a second Windows Explorer.

In the second one, grab the UNZIPPED folder from the megadownload, it's likely to be called 2.22.771.5 if my memory is right about Windows unzipping defaults. Anyway, the name doesn't matter but that's a good one, and it is embedded into the zip file (just like my sdk-tools folder was in the Mini-SDK).

Drag that into the SERIAL-NUMBER folder in the first Explorer window, but NOT on top of the existing backup folder. It will become a folder parallel to the backup folder we identified earlier.

Reboot back into bootloader, then go back into recovery via hboot as before.

In TWRP -

Restore - and choose 2.22.771.5

Reboot the phone into the bootloader and perform a factory data reset. Change between fastboot and hboot screens to find the option, sorry, I'm unable to very where it is exactly at the moment.

Note initial warning about backing up personal photos and such to PC at top of this post.

Reboot phone to system.

It ought to come up and run as a brand new phone with old software. No bootloops or force closes.

Do not do anything further, do not accept updates, immediately shut down to FASTBOOT USB - for hopefully, your final time.

Now in the command window say, and ok to copy/paste -

fastboot flash recovery 2.22.771.5_recovery.img

Reboot your phone by powering down and back up.

You now have a stock, unrooted phone, completely clean except for the unlocked bootloader - and Scotty says that's the best way.

Perform all necessary setups required. You may have to enter APN settings per your carrier.

I found a help page here for the older One X, but I expect the overall process to be similar and the settings unchanged.

http://support.three.co.uk/SRVS/CGI-BIN/WEBISAPI.dll/,/?New,Kb=Mobile,Ts=Mobile,T=Device,varset_pid=5805,varset_cid=5808,Case=obj(5787)

If that's all coming off of the sim, then you don't even need to do that much.

After that, verify that you can setup your Gmail and make a phone call.

FINALLY - main settings, Update, and update your system. Your carrier/HTC ought to stage out any updates as required so you may need to perform that step multiple times until you're on the latest - that would be Lollipop.

It is now approximately 8:30 PM on your Saturday.

I apologize for the delay but please allow at least an hour for corrections before performing the procedure.

Note to @scotty85 - I think you'll see why I skipped the TB step and reordered things a little bit.
 
Last edited:
Looks good em. My only suggestions are these:

If you have errors in twrp right after installing it,let the phone boot to the os,then go back to recovery.

I'd also still do the factory reset from hboot at some point before setting everything up for the final time. The stock recovery is able clean things more thoroughly than a custom one,and worth doing imho. A lot of minor issues are fixed with this process and may save you some minor(or major) irritations later.

As usual I'm at work,but I'll try and watch if you have trouble :)
 
I'd also still do the factory reset from hboot at some point before setting everything up for the final time. The stock recovery is able clean things more thoroughly than a custom one,and worth doing imho. A lot of minor issues are fixed with this process and may save you some minor(or major) irritations later.
That's an absolutely fair point - and I was pretty much typing on automatic and jamming to Todd Rundgren by that point - I really wasn't thinking.

I really almost only wipe cache and Dalvik in recovery myself.

I forgot about hboot and just wanted it clean before use. I'll change it.

Personally, I am far too important and far too busy to do factory data resets out of hboot. :cool: :D ;)

I do mine directly from the HTC settings - I've never gone wrong with that and I've figured since 2010 that if you can't trust HTC to perform that wipe properly you might as well just go bowling. :D
 
Back
Top Bottom