[Q] 4.4.4 rooted with TWRP and S-Off but still on stock ROM - One (M8) Q&A, Help & Troubleshooting

I am very new to rooting etc, but managed to root my HTC One M8 Developer Edition 4.4.4 and flash TWRP Recovery with the help of the guides in this forum. Also got S-off with Sunshine. I have not installed any custom ROM and still have stock
My question is - will I still receive OTA's (if and when HTC releases lollipop for the Developer Edition?

You can't take an OTA with a non-stock recovery. It will download, but not install.
Root, on the other hand, hasn't typically caused a problem. (though you almost invariably lose root in the process)

Being S-OFF and actually already being Dev edition all you need is to have a stock backup the way it is before you flash a ROM and when the time comes just wipe from whatever ROM you've chosen and restore the backup along with flash your stock recovery.
Or if you want less steps just download the bone stock no root, stock recovery RUU and rename it to "0P6BIMG.zip" and place it in the root of your external sdcard.
Boot into hboot and when it asks what you want to do just press up ,give it plenty of time to flash and when it finishes just reboot and it will be stock just the way it came out of the box only it will still be bootlooader unlocked and S-OFF

Thanks
Thanks jball and jshamlet

You bet

jball said:
Being S-OFF and actually already being Dev edition all you need is to have a stock backup the way it is before you flash a ROM and when the time comes just wipe from whatever ROM you've chosen and restore the backup along with flash your stock recovery.
Or if you want less steps just download the bone stock no root, stock recovery RUU and rename it to "0P6BIMG.zip" and place it in the root of your external sdcard.
Boot into hboot and when it asks what you want to do just press up ,give it plenty of time to flash and when it finishes just reboot and it will be stock just the way it came out of the box only it will still be bootlooader unlocked and S-OFF
Click to expand...
Click to collapse
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards

ramsabi said:
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
Click to expand...
Click to collapse
After flashing a ROM I do the out of box setup and allow Google to restore what apps I normally use,I haven't used titanium backup sense my S2 days cause it's a tossup that it even works right at any given time in my opinion.
As far as recovery goes
Download and install "Flashify" from the playstore and find the stock
recovery.img file.
After installing Flashify go ahead and open the app,give root permission and choose recovery image,now choose file and navigate with whatever root explorer you use and choose the stock recovery.img you downloaded and tap "yup" and it will flash it for you.
ramsabi said:
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
Click to expand...
Click to collapse

Thanks Amber, And just tobe sure - do you know if I will still have root and S-Off after I flash the stock recovery?

ramsabi said:
Thanks Amber, And just tobe sure - do you know if I will still have root and S-Off after I flash the stock recovery?
Click to expand...
Click to collapse
Flashing a recovery in fastboot or with Flashify will do just that: flash a recovery to the recovery partition. Nothing else changes.
Root lives on /system. So as long as you don't flash a non-rooted stock rom you will keep root.
Your paid apps are yours. If you wipe them you can just reinstall them from the PS. If you paid for a root app like TiBu and you don't have root anymore, you still own it but it's not very useful...
You have apps on your external SD??? That is so ICS - don't know if they have libs or app data stored on internal anyway, but let's say you nandroid your current installation, take out your SD card, then wipe everything and install new firmware, recovery and rom. You should still be able to restore just your data partition from the nandroid, re-insert your SD and be good as gold.
As long as your new rom can live with the restored /data that is....
But seriously: Move data to external and install apps to internal - so much easier to manage....
Oh, and once S-off you're always S-off unless you run the code to S-on again. Not even flashing RUU will turn you S-on automatically.

Related

Quick rooting question

If i root using these directions, and dont flash a new recovery will it just be rooted so I can use SU (setCPU, root explorer, etc..) and still have the stock rom or is that not possible?? Thanks!!
1. Download this file — PC36IMG.zip — and copy it to the root of your SD card.
2. Turn off phone. Then power back on holding the power and volume button. **If the PC36IMG files was placed correctly and you successfully booted into the bootloader, you should see text appearing on the screen as the phone automatically checks said file.
3. At the prompt to install the image(s), select “Yes”.
4. Reboot
5. Delete or rename the PC36IMG file so that it won’t automatically try to install it again the next time you venture into bootloader land.
Click to expand...
Click to collapse
ValdreZ said:
If i root using these directions, and dont flash a new recovery will it just be rooted so I can use SU (setCPU, root explorer, etc..) and still have the stock rom or is that not possible?? Thanks!!
Click to expand...
Click to collapse
Yes. You will have root permissions/privileges to execute apps that need root permissions (SetCPU, etc) and you'll also still have a stock phone.
To install a custom recovery, you would need to download/install the evorecovery.zip file to achieve this. Personally, it would be in your best interest to install the recovery Toast/AmonRA have created... if you ever wanted to install a custom ROM, do a Nandroid backup, etc in the future then this would be the only way to go about doing that.
It's up to you, but for now... the above directions will allow you to achieve root access, without a custom recovery, while still keeping the phone as "stock".
If you want more info about root or installing the recovery, go HERE
Ok any draw backs on just rooting it without the custom recovery or rom?
I do like the feel of the stock rom on there but just wish I had root permissions for certain apps.
ValdreZ said:
Ok any draw backs on just rooting it without the custom recovery or rom?
I do like the feel of the stock rom on there but just wish I had root permissions for certain apps.
Click to expand...
Click to collapse
The only drawbacks are that you wouldn't be able to make a Nandroid back up right away, which is usually an important thing to do. Plus, you don't get the added bonus of installing a recovery or installing a custom ROM, which at the moment is being able to install Android 2.2 -- a.k.a Froyo.
But, by installing the root exploit, you will/should be able to run apps that require root permissions.
What's can you do with nandroid backups? What is it?
iLLestCoW said:
What's can you do with nandroid backups? What is it?
Click to expand...
Click to collapse
Creating a nandroid backup is simply taking an image of the entire phone at that moment in time. So if you were to flash a custom rom later on, you have the ability to reboot into recovery and restore the last nandroid you made for whatever reason (you screwed up, or didn't like it).
I don't believe that they have unlocked the nandroid part of recovery yet, so you may have to wait until a dev, or devs figure it out. You can still root and push the recovery image, but the nandroid part doesn't exist yet for this phone.
iLLestCoW said:
What's can you do with nandroid backups? What is it?
Click to expand...
Click to collapse
Dave2582 said:
I don't believe that they have unlocked the nandroid part of recovery yet, so you may have to wait until a dev, or devs figure it out. You can still root and push the recovery image, but the nandroid part doesn't exist yet for this phone.
Click to expand...
Click to collapse
If there is a recovery, there will be always be a Nandroid option.
From the above mentioned link I posted a while back (and I quote) from here:
"- at this point turn your attention to the phone and navigate to create a Nandriod Backup. you can now flash custom roms, write, and make changes to system."

HELP! Boot loop on stock ROM

Hi guys!
I am sorry if this has already been answered somewhere, but I searched pretty thoroughly and I couldn't find a solution
I am trying to S-OFF an HTC Desire for a friend of mine and install CyanogenMod using this guide http://forum.xda-developers.com/showthread.php?t=1016084.
We rooted the phone without any issues, but before going through Alpharev I decided to make a nandroid backup through the phone's original recovery image (just as advised on Alpharev's site: "We try to leave the current ROM and datastructures completely intact. It is, however, advised to ALWAYS nandroid backup your phone before you run this procedure.
You will then always have a correct/current backup to fall back on in case something breaks."). So I just went into the Backup and Recovery menu and I chose backup.
Unfortunately after backing up, the phone went into a boot loop. We tried taking-out the battery and even doing a hard reset but nothing helped. Eventually we flashed the original RUU from O2 (it's an O2 Germany phone) and this fixed the issue.
I am a bit concerned since I wasn't able to find anyone who had the same problem and it is a bit weird that the phone should go into a boot loop without even installing another ROM or anything - just trying to do a backup of the stock ROM. I am thus a bit hesitant to go on with the S-OFF...
Any help would be deeply appreciated!
Well, first of all, you don't need to be S-Off to install CyanogenMod7. Only root. Usually, people do S-Off so they can change the Boot Splash image.
Make a Gold Card for your SD. Some Desire's need it, some don't. Better safe than sorry.
Secondly, after root, I would goto the market and install ROM Manager. Then flash to the latest Clockwork Recovery.
Then,I would make sure I have a recent Recovery image (NandBackup)
Download Gapps.zip to the root of the SD.
Download the CyanogenMod7 to the root of the SD, boot phone to recovery, Wipe cache memory, also goto Advanced and wipe the Delvik memory.
Then Install from SD, do the CM7, then after it finishes, Select Install from SD again, and install the Gapps.zip
Why your backup failed, who knows. I suppose you were using Unrevoked?
Thanks! Do you know why the boot loop could happen?
Moscow Desire said:
Well, first of all, you don't need to be S-Off to install CyanogenMod7. Only root. Usually, people do S-Off so they can change the Boot Splash image.
Make a Gold Card for your SD. Some Desire's need it, some don't. Better safe than sorry.
Secondly, after root, I would goto the market and install ROM Manager. Then flash to the latest Clockwork Recovery.
Then,I would make sure I have a recent Recovery image (NandBackup)
Download Gapps.zip to the root of the SD.
Download the CyanogenMod7 to the root of the SD, boot phone to recovery, Wipe cache memory, also goto Advanced and wipe the Delvik memory.
Then Install from SD, do the CM7, then after it finishes, Select Install from SD again, and install the Gapps.zip
Why your backup failed, who knows. I suppose you were using Unrevoked?
Click to expand...
Click to collapse
I suppose, there was some code that didn't get deleted due to the rooting process, if you used unrevoked. Although it rarely happens, sometimes it does.
Or maybe it didn't like some Application. Who knows. All it takes, is 1 peice of bad code.
With AlphaRev, although many use it, I believe it changes your bootloader code.
And, you can sometimes have problems as well.
But follow the steps I mentioned, and you should be ok.
Just make sure you create and use the Gold Card first.
The boot loop is a common issue with the first nandroid. All you had to do was restore the nandroid you just made.
Sent from my HTC Desire using XDA Premium App
TheGhost1233 said:
The boot loop is a common issue with the first nandroid. All you had to do was restore the nandroid you just made.
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
Right - I thought about that, but then I was hesitant, because I figured if it went into a boot loop then it probably did not create the backup image properly... So can I still restore the backup image now? It is saved on the sdcard so it should be intact after the RUU, right?
It "should be", but, one can only assume so.
Typically, I make a couple of backups each week. One never knows. Yeah, it will tell you successsful. but, better safe than sorry.

Upgrading to GB on the DInc

Hey guys, so I'm a noob and need a little bit of help. I just downloaded this:
http://forum.xda-developers.com/showthread.php?t=1219407
Now, what do I do with it? Also, will I lose all of my data by flashing this onto my phone? (ie: my texts and my homescreens, etc?)
Thanks!
are you rooted? if not...
http://www.jonamerica.com/technology/updated-root-the-htc-droid-incredible/
once you have clockwork recovery and all that, boot into recovery, 'flash rom from sd card' (after putting the zip file on ur sd) and ur good.
If you dont want to lose everything, after root, download titanium backup and run that. you will be able to apply most of your stuff back on once you flash a new rom.
howbout some thnx -.-'
I'll give you some thanks for that succinct explanation of steps to take.
I'm ready to root with unrevoked - guessing I should use the "flash and recover" version instead of their "forever" one?
I installed Titanium backup, which I'll use after rooting to backup pretty much everything that it can grab.
Then, I'll use the SD card-based install that you mentioned.
I've read that I should do a full wipe before installing the OTA ROMs being offered - is another tool needed for that, please?
- ooofest
You've got it. The newest version of Unrevoked has made the "forever" one obsolete.
You will be able to perform all the wipes required from within Clockwork Recovery.
Also, make a clockwork backup (nandroid) as soon as you have root, so if you run into any problems flashing roms you have something to restore.

[Q] Backup done, ready for root?

Hi. I backed up my phone using the backup method found here: http://android.stackexchange.com/questions/28296/full-backup-of-non-rooted-devices
This method uses CMD and creates an android backup file (.ab) I want to unlock my bootloader and add the custom clockwork recovery. Of course unlocking the bootloader wipes everything. So if i were to restore everything with the .ab file, then do the custom recovey with the superuser thing, would that give me root, and would all of my apps and data be restored as they are right now?
Probably a stupid question, but i want to be completely 100% sure i won't mess up my phone. I know its going to void warranty, which would be a problem if i dropped it of course
Thanks
It should work yes, you can also backup apps with an app called carbon. Free in the playstore.
Then unlock the bootloader,flash a custom recovery and make a backup of the stock rom in there right away too (needed when you want to go back to full stock for future updates) its called a nandroid backup.
Then root it and restore, or install a brand new custom already rooted rom
Thanks a lot
If it was a custom rom i chose to install, will it still restore? or would it need to be the original stock for the restore to work properly?
Danw20 said:
Thanks a lot
If it was a custom rom i chose to install, will it still restore? or would it need to be the original stock for the restore to work properly?
Click to expand...
Click to collapse
Afaik know you can restore apps on any rom with carbon. Watch out with restoring system data, it can crash the rom.
Because some custom roms have more changes and if you restore system parts it will break the rom. But apps should not be a problem. The most important thing is that you do a nandroid backup of the stock rom. The rest is easy to setup new in the worst case.
Brilliant. Thanks for the help, much apreciated.
Was half expecting an answer like that, i think i will give root stock a go, then probably when HTC stop updating i will be very tempted to give a custom a go.
Cheers
I have unlocked the bootloader, i think i have flashed the recovery, downloaded nandroid and still says i need root, so i downloaded the superuser thing and when i try to install the binary thing it says there is an error. Anything i can do?
Update: I have learnt Its all good now.
Good mate ! Have fun with your rooted phone
CASE CLOSED !

How do you disable OTA updates on the m9?

Everyday my m9 asks me to install the new OTA update and I am sure I can't because I am rooted. Have TWRP, and have an unlocked bootloader. While my rom is the default rom the phone came with, I have modified a couple things in /system. Is there way to permanently disable OTAs without installing a custom rom? If not, is there a way to install this update without doing any data wipes or anything overly complicated? Any help would be EXTREMELY appreciated!!
wrozengfx said:
Everyday my m9 asks me to install the new OTA update and I am sure I can't because I am rooted. Have TWRP, and have an unlocked bootloader. While my rom is the default rom the phone came with, I have modified a couple things in /system. Is there way to permanently disable OTAs without installing a custom rom? If not, is there a way to install this update without doing any data wipes or anything overly complicated? Any help would be EXTREMELY appreciated!!
Click to expand...
Click to collapse
All you need is an untouched System and stock recovery to take the OTA.
their are many threads that explain how to do it. Just look around you'll figure it out.
clsA said:
All you need is an untouched System and stock recovery to take the OTA.
their are many threads that explain how to do it. Just look around you'll figure it out.
Click to expand...
Click to collapse
Like I said, my system isn't untouched, I have edited permissions.xml and removed some bloatware. And if I can do this, Will I still be rooted if I update or at least still S-off?
wrozengfx said:
Like I said, my system isn't untouched, I have edited permissions.xml and removed some bloatware. And if I can do this, Will I still be rooted if I update or at least still S-off?
Click to expand...
Click to collapse
Once s-off, you will stay that way unless you manually change it.
You can't be rooted and take an OTA anyway. You have to be 100% stock. You can root again once it's updated.
iElvis said:
Once s-off, you will stay that way unless you manually change it.
You can't be rooted and take an OTA anyway. You have to be 100% stock. You can root again once it's updated.
Click to expand...
Click to collapse
But that other guy just said all I need is a stock recovery. So which is it? 100% stock or just stock recovery
wrozengfx said:
But that other guy just said all I need is a stock recovery. So which is it? 100% stock or just stock recovery
Click to expand...
Click to collapse
Here > http://forum.xda-developers.com/one-m9/general/best-unlocking-bootloader-rooting-guide-t3087354
Steps 3 - 5
and the "other guy" said Untouched System + Stock Recovery
Also worth reading >> http://forum.xda-developers.com/one...ery-twrp-touch-recovery-t3066720/post59745198
6. So what's the proper procedure to root without breaking OTA?
There is no way to take an OTA after you root. However, prior to rooting, you can take a fully untouched system image backup with TWRP, which can be used to restore a fully stock system to the device in order to take an OTA.
7. How do I backup stock recovery prior to flashing TWRP?
You can't. The "fastboot boot" command appears to be disabled on the M9's ABOOT, so TWRP must be fastboot flashed over stock recovery. The firmware zip included in the OTA will include a usable stock recovery image. That can be extracted and flashed after stock system is restored so that the OTA can be applied.
8. How do I restore stock system so that I can accept an OTA?
Check the "Mount system as read-only" box in the Mount menu.
Restore stock "System Image" backup (This will only work if you've made a System Image backup prior to making any modifications to /system). As of the official 2.8.6.1 version, it is no longer necessary to fastboot flash the stock system image.
NOTE: If you made a stock system backup with one of the Beta TWRP versions, you will have to rename the backup file in the backup folder manually from "system.emmc.win" to "system_image.emmc.win" for the new official TWRP to see it as a "System Image" backup rather than a "System" backup. Otherwise, you'll get an error that the backup can't be restored because system is read-only.
Fastboot flash stock recovery (fastboot flash recovery recovery_signed.img)
NOTE: It is also possible to restore stock recovery via the TWRP GUI. Rename the stock recovery file to "recovery.emmc.win" and place in the backup folder with the stock system image. Recovery will then show as a restore option. MAKE SURE YOU REALLY WANT TO DO THIS, AS TWRP WILL BE GONE WHEN YOU REBOOT OUT OF RECOVERY!!
Reboot to system, install OTA.
Click to expand...
Click to collapse
If you want to disable, try freezing HtcDm.
mike.s said:
If you want to disable, try freezing HtcDm.
Click to expand...
Click to collapse
This helped me out nearly a year later. I am rooted and have a custom stock rom loaded but was still able to download the system update somehow and needed a way so that it would quit bugging me every day to not install it. By using Titanium Backup I was able to freeze 3 HtcDM processes.

Categories

Resources