Return to rooted stock from CM - One (M8) Q&A, Help & Troubleshooting

Dearest XDA Gods,
I currently have a rooted HTC One m8 (international) running Marshmallow with an unlocked bootloader, twrp recovery installed and S-Off (thank you Sunshine!).
I'm toying with the idea of switching to cyanogenmod as I have installed it on a couple of my other devices and I love it but I'll probably wait until they've got a CM13 snapshot available (anyone know when this might be?) because I don't want the hassle of downloading nightlies and stability issues.
When I do finally get round to flashing CM, is there a way to get back to my current setup, if I wanted to, without losing root/bootloader/s off? I've created a Nandroid backup of my current system but I understand that this may not be enough to restore the kernel, which I gather is very important if you want your phone to... well... work. I imagine I could just download the stock firmware and flash that but would that mean that I lose my unlocked bootloader and my s off (I love sunshine but I don't want to pay those guys twice!).
Greatly appreciate any advice !
Thanks guys,
George

When you restore your nandroid backup .. it will restore all kernel/boot, data & system (you need to select these in restore menu)
You won't lose unlocked bootloader and S-Off by restoring nandroid (you'll lose them when you manually change them with fastboot commands) and if your nandroid include root, it will restore your root too. If it is not backup with root, simply flash SuperSU.zip will root it again.
Restoring a nandroid will restore your settings too.

ckpv5 said:
When you restore your nandroid backup .. it will restore all kernel/boot, data & system (you need to select these in restore menu)
You won't lose unlocked bootloader and S-Off by restoring nandroid (you'll lose them when you manually change them with fastboot commands) and if your nandroid include root, it will restore your root too. If it is not backup with root, simply flash SuperSU.zip will root it again.
Restoring a nandroid will restore your settings too.
Click to expand...
Click to collapse
Thanks for the fast response man! I think I see what you mean, so if I backup the boot partition (which contains the kernel), and my system and data partitions then it should restore everything on my phone, including root (because I was rooted when I created my backups).

Yes .. correct

Related

nandroid backup

hi
im trying to perform a nandroid backup before flashing a new rom
i'm already rooted but cant figure out how to get into the nandroid bootloader to do this
help
thank you
Get back into recovery using whatever method you used to root - it's step 2 or recovery-windows.bat, whatever you used, and nandroid is under the Backup/Restore section of the recovery menu. Pick nand backup, not the nand+ext.
thanks so much
just tried booting the phone without being connected to the computer and wondered why the option wasnt there to perform a backup

[Q] Clockwork Recovery Question On Stock Rom

Hey, this may seem like a silly question but i would rather ask it than brick my device.
I have rooted and s-off my stock rom, i have installed all my apps and settings and ive got it just the way i like it. i have created a nandroid backup using clockwork mod.
I now want to try Gingervillian rom, ive got titanium backup to install all the apps back and that but what i want to know is:
Will i be able to restore my stock rom from the nandroid backup with all my apps and setting in tact, even though s-off is set and its rooted. i know a read somewhere that flashing a stock rom on a phone with s-off can semi-brick it... so will clockwork recovery do the same?
When you make a 'nandroid' backup via ROM manager/CWM Recovery, it makes essentially a carbon copy of the current setup of your ROM (not your radio, S-Off status, etc.). Literally everything is perfectly as you have it now. It just like doing a full HDD backup of your computer.
When you restore this backup, it simply brings back your ROM from exactly how it was. There is no effect on your root or S-off, or your radio.
So, if you do a nandroid backup, then wipe the device and flash another ROM i.e. Gingervillain, and make a nandroid of that, you can then freely switch back and forth between the 2 (or more) recoveries via ROM manager/CWM Recovery, with no issues.
The issues with bricking as you're referring to are if you for some reason try to somehow flash a non-rooted ROM, which would most definitely cause issues. In order to get back your phone to stock-stock-stock-stock (unroot and S-on), you will need to follow unroot instructions and flash an official unrooted RUU/PC10IMG.zip to get back to everything as it came out of the box.
Hope this helps, let me know if I need to clarify.
thank you very much matey much appreciated!!

[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 !

[Q] 4.4.4 rooted with TWRP and S-Off but still on stock ROM

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.

Advice on MM update process

Hi
I'm on a stock, rooted ROM with TWRP and I'm about to bite the bullet and OTA upgrade from Lollipop to Marshmallow.
I know I need to take a back up, reflash a never-rooted ROM and reflash the stock recovery, but I wasn't sure on the correct/best way to proceed.
Does this look like the correct order to do things?
Download appropriate, clean ROM
Download appropriate original recovery
Make Nandroid back up of apps and data
Install original recovery
Install clean rom
Install Marshmallow OTA update
Install custom recovery
Install SuperSU for root
Import Nandroid back up
Have I got the order right? Missed any steps out?
Any help appreciated.
Thanks
Steps 1 and 2: "Appropriate" ROM and recovery, meaning it should match for your current firmware (OS number on bootloader screen, or main version in getvar output).
Steps 4 and 5: steps need to be swapped. You need to still have custom recovery TWRP in order to restore the stock nandroid backup (TWRP backup). After that, restore stock recovery using fastboot.
Step 9: Are you trying to restore your user data here? Not sure whether that works going from LP>MM. It might be safer to migrate app data using Titanium Backup.
Otherwise, you did a really good job researching the process; and I genuinely applaud the effort.
redpoint73 said:
Steps 1 and 2: "Appropriate" ROM and recovery, meaning it should match for your current firmware (OS number on bootloader screen, or main version in getvar output).
Steps 4 and 5: steps need to be swapped. You need to still have custom recovery TWRP in order to restore the stock nandroid backup (TWRP backup). After that, restore stock recovery using fastboot.
Step 9: Are you trying to restore your user data here? Not sure whether that works going from LP>MM. It might be safer to migrate app data using Titanium Backup.
Otherwise, you did a really good job researching the process; and I genuinely applaud the effort.
Click to expand...
Click to collapse
Thank you for the reply. That's exactly what I needed to hear.
You're right on step 9, that was where I was going to restore user data. I've got titanium pro, so will use that instead.
Thanks again.

Categories

Resources