[Q] about losing root - HTC One X+

Hey everyone, I've been using my hox+ rooted for some time now, never flashed a ROM and was wondering if I update to the new att software will I lose root?

Yes. Just make sure you have a custom recovery and flash the root installer zip. Or if you have TWRP, after a the flash, it will ask to install root.

Hey thanks for the response, I'm running twrp 2.4 the thing is I don't know whether to to let the phone update through its regular way of updating or do I flash this http://forum.xda-developers.com/showthread.php?t=2235248, the problem with flashing this is I don't
Know how to flash boot IMG. Sorry I'm a noob any help would be greatly appreciated.

Use this command in fastboot.
fastboot flash boot /location/of/boot.img

If your bootloader is unlock and your phone has a custom Recovery, the official AT&T update won't install on your phone. If you want the update, or you wait for a custom ROM with the update to be available, or you relock bootloader, and flash the latest RUU to recover the original state of your phone. Then you can still unlock with the same token and install a custom recovery to root your device.

Thanks much fellas, you've been a great help!

Related

[Q] Unlock Bootloader, Custom Recovery and Root

Hey guys,
I am trying to prepare my Nexus 9 to receive root (when that happens) and I was wondering if unlocking the bootloader will suffice for the time being? That means it will wipe it once, and I can start using my Nexus 9 without worrying of wiping it in the future.
Then it means as soon as TWRP comes out with a version that supports Nexus 9 I just need to flash that (no need to wipe device) and then flash SuperSU (no wiping either)
Am I missing something here?
You're right but...
Hey ombadboy
I think this will work. Don't forget to enable the oem unlock in the developer settings before. Otherwise your try to unlock will fail. Maybe you shouldn't flash the first versions of twrp, because this will be the first one for Lollipop und encrypted storage. Just boot the image once and flash superSU. So you will still get OTA updates.
After unlocking you should be able to root without losing your data twice.
After a few time and if there are no more OTAs in the near future you can flash a stable TWRP image.
funatkill said:
Hey ombadboy
I think this will work. Don't forget to enable the oem unlock in the developer settings before. Otherwise your try to unlock will fail. Maybe you shouldn't flash the first versions of twrp, because this will be the first one for Lollipop und encrypted storage. Just boot the image once and flash superSU. So you will still get OTA updates.
After unlocking you should be able to root without losing your data twice.
After a few time and if there are no more OTAs in the near future you can flash a stable TWRP image.
Click to expand...
Click to collapse
See the guide here. http://www.theandroidsoul.com/unlock-bootloader-nexus-9/
Thanks for the replied guys. Yes, that's exactly what I did; now I have an unlocked bootloader.
So if I understood this well, can I get root without flashing a custom recovery? If so, what's the purpose of flashing one?
ombadboy said:
Thanks for the replied guys. Yes, that's exactly what I did; now I have an unlocked bootloader.
So if I understood this well, can I get root without flashing a custom recovery? If so, what's the purpose of flashing one?
Click to expand...
Click to collapse
The purpose of having a custom recovery is to flash custom roms.
Here's some info for root
http://forum.xda-developers.com/nexus-9/orig-development/root-t2929118/post56516599
Hogyoku said:
The purpose of having a custom recovery is to flash custom roms.
Here's some info for root
http://forum.xda-developers.com/nexus-9/orig-development/root-t2929118/post56516599
Click to expand...
Click to collapse
Recovery allows you to flash anything to device without doing manually with root explorer, adb or fastboot. Can do most anything you can do with recovery with these 3 tools.

[Q] Pushing a new ROM without custom recovery?

Hi Folks,
I have a SPG512 that is all stock except I rooted using towel root. I am currently on the .314 release and want to install a .30 release that is pre-rooted. As I do not have custom recovery installed, can I use my laptop and ADE or fastboot to push the rom to the tablet? if so, can someone provie the proper commands in a step by step list?
i guess you can flash with flash tool .....
flashing via recovery is easy ....
better wait for confirmation .....

[Q] How to root HTC One M8 without losing OTA update ability?

Hello,
I am not new to the process of rooting, unlock bootloader or flashing ROM. But, this is the first time that I need to root a HTC phone, the HTC One M8. I don't usually care much for stock ROM, but this is my girlfriend's phone and I think stock ROM works best for her. It is more stable, even though it will be a bit slow and has a lot of bloatware. I plan to root it then manually go in and disable most of the bloated apps. Then, I will install Xposed Module and add some useful modules. However, the release of Lollipop is around the corner. I want to know if rooting it will affect the ability of doing OTA upgrade.
Base on what I have read, in order to root, you have to unlock the bootloader, then replace the stock recovery with custom recovery like CWM/TWRP, then you flash the supersu.zip file to grant root permission. I am familiar with the process, but I am a bit confused at this part. Since we use a custom recovery to flash the supersu.zip file, it is more likely that OTA upgrade will fail since most OTA upgrade rely on stock recovery.
1/ Then, how do I upgrade to Lollipop 5.0 once I have rooted the phone?
The current ROM is Kitkat I think.
2/ I mean, is there a stock recovery file that I can flash back to replace the custom recovery once the phone has been rooted? or the OTA process will work with the custom recovery, which is very unlikely in my opinion.
3/ Also, once I have upgraded to Lollipop, I can do the same process to gain root again, (flash custom recovery, then flash supersu.zip to gain root). Is that correct?
4/ Is there any other method of gaining root without losing OTA update? As long as I don't have to wipe everything and restore it for every OTA update. I am fine with it.
Please let me know. Thank you all for your help.
After you root, flash back your stock recovery. As long as you are running stock the ota will attempt to download. Even when running non-stock recovery - what will happen is the ota will download and when you accept the update the phone will reboot into your custom recovery and the update won't be applied because the ota relies on the stock recovery being there.
So anyway, you can root, replace custom recovery back with stock and allow the update. You will most likely loose root once the update is applied, but then as long as there are custom recoveries available for the new android version you can flash back to custom recovery, reroot and you should be set.
I did this for a while, but the downside is that if SuperSU updates (or whichever root method you use) and requires a bin update, you won't be able to apply the root bin update unless you are running the custom recovery.
Hope that makes sense, typing from my phone while on a train.
What I do is this
Unlock Bootloader via HTC DEV website.
Dl a custom recovery I prefer TWRP Recovery flash that via Fastboot.
Then boot into custom recovery on your phone and create a New backup of the stock rom b4 you install SuperSU for root, name it something like (Stock untouched) .
Then flash superSU update zip in recovery.
Once superuser is working do what you want.
Note: I'd go ahead and find and Dl the stock recovery and keep it on hand for when you ready to go back Stock for the OTA update.
Go back to stock
Boot into custom recovery wipe system /data/cache. Then restore the Stock (untouched) backup you made.
Fastboot flash the stock recovery back.
Then relock Bootloader and now you back to Stock and ready to do the OTA update.
Note : this is what I do, everybody got their own way of doing things
Sent from my HTC One_M8 using Tapatalk
tommy_riley said:
After you root, flash back your stock recovery. As long as you are running stock the ota will attempt to download. Even when running non-stock recovery - what will happen is the ota will download and when you accept the update the phone will reboot into your custom recovery and the update won't be applied because the ota relies on the stock recovery being there.
So anyway, you can root, replace custom recovery back with stock and allow the update. You will most likely loose root once the update is applied, but then as long as there are custom recoveries available for the new android version you can flash back to custom recovery, reroot and you should be set.
I did this for a while, but the downside is that if SuperSU updates (or whichever root method you use) and requires a bin update, you won't be able to apply the root bin update unless you are running the custom recovery.
Hope that makes sense, typing from my phone while on a train.
Click to expand...
Click to collapse
Ok, thank you for the reply. That clears up a little. I can just flash stock recovery every time I want to update. I was able to find a thread that has all the stock recovery file. I have a quick question. Does any version of stock recovery will work? or you want the one that match your current stock recovery. Also, what is Non-WWE-Recoveries?
Here is the thread with all the stock recoveries:
http://forum.xda-developers.com/showthread.php?t=2701376
Let me know. Thank you
scoot0073 said:
What I do is this
Unlock Bootloader via HTC DEV website.
Dl a custom recovery I prefer TWRP Recovery flash that via Fastboot.
Then boot into custom recovery on your phone and create a New backup of the stock rom b4 you install SuperSU for root, name it something like (Stock untouched) .
Then flash superSU update zip in recovery.
Once superuser is working do what you want.
Note: I'd go ahead and find and Dl the stock recovery and keep it on hand for when you ready to go back Stock for the OTA update.
Go back to stock
Boot into custom recovery wipe system /data/cache. Then restore the Stock (untouched) backup you made.
Fastboot flash the stock recovery back.
Then relock Bootloader and now you back to Stock and ready to do the OTA update.
Note : this is what I do, everybody got their own way of doing things
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Hello,
I understand your concept for going back to stock. But, I don't get why I have to relock the bootloader. What I mean is, is that necessary for the OTA to work? I thought you only need the stock recovery for the OTA to work. Also, once you have done OTA update, and you want to root the phone again. The downsize is you have to unlock the bootloader again, which will wipe the phone completely and you will have to restore everything, which wastes times.
I like the idea of just restoring the stock recovery, do the OTA upgrade, then flash custom recovery to gain root again. I don't mind repeating that process for each update. But to relock/unlock the bootloader, having to wipe everything is a hassle. Please clarify. Thank you for your help.
I don't believe you need to relock boot loader for OTA. You do need locked bootloader for RUU full install, but only if S-ON (s-off you can do RUU w/boot loader locked or unlocked) - but that's not what were talking about here - OTA w/ unlocked boot loader = All good.
I believe WWE recovery refers to Europe versions of the recovery, so if in US go for the non-WWE.
I'd stick with trying to lineup stick recovery versions with version of OS software you have installed - so if you are running stock 4.4.2 or 4.4.3 grab the latest stocl recovery available.
vi6s said:
Hello,
I understand your concept for going back to stock. But, I don't get why I have to relock the bootloader. What I mean is, is that necessary for the OTA to work? I thought you only need the stock recovery for the OTA to work. Also, once you have done OTA update, and you want to root the phone again. The downsize is you have to unlock the bootloader again, which will wipe the phone completely and you will have to restore everything, which wastes times.
I like the idea of just restoring the stock recovery, do the OTA upgrade, then flash custom recovery to gain root again. I don't mind repeating that process for each update. But to relock/unlock the bootloader, having to wipe everything is a hassle. Please clarify. Thank you for your help.
Click to expand...
Click to collapse
Lol.. Yea if S-On relock Bootloader for RUU.
But no you don't need to relock the Bootloader for OTA updates S-On or s-off Sorry for the confusion I was going back n forth with another user and got you mixed up.
Sent from my HTC One_M8 using Tapatalk
vi6s said:
Ok, thank you for the reply. That clears up a little. I can just flash stock recovery every time I want to update. I was able to find a thread that has all the stock recovery file. I have a quick question. Does any version of stock recovery will work? or you want the one that match your current stock recovery.
Click to expand...
Click to collapse
You need the stock recovery that correspond to your stock software. AT&T software is x.xx.502, and I don't see any corresponding recoveries in exocet's stock nandroid collection, but 1.12.502 and 1.58.502 stock recoveries are posted here: http://forum.xda-developers.com/att-htc-one-m8/development/att-stock-backups-recoveries-otas-t2855966
Also, while eluded to above, it should be clearly stated, no /system files may be modified, in order for OTA to install. So depending on what you intend to change with root, you will either need to put it back to stock (if you modded any system files), restore the stock ROM with a nandroid you made, or a stock ROM posted on XDA.
Alternately, you can quickly return to stock by RUU. Although you either need to relock the bootloader or have s-off to run the RUU. And RUU will also wipe the phone.
So to sum it up, in order to OTA you need:
/system to be returned to stock (stock ROM)
stock recovery
Unlocked bootloader is OK
Root is okay (you will lose root after the OTA)

pls help No recovery & locked bootloader

Hello guys,
I am stucked in very vizar situation. Actually i have my phone with no recovery installed & locked bootloader. But good thing is that i have working ROM and it is also rooted.
I want to install new Oxygen OS update but whenever i tried to unlock bootloader , its just failing as there is not recovery installed on my phone.
I there any way to get out of this problem... pls help
delete.
I'm not as knowledgeable as the devs here, but you could try unrooting and then unlocking the bootloader?
Unrooting has nothing to do with it. Have you tried this?
http://forum.xda-developers.com/oneplus-x/general/discussion-how-to-root-oneplus-x-t3242830
Did you root with Kingroot?
champ14 said:
Hello guys,
I am stucked in very vizar situation. Actually i have my phone with no recovery installed & locked bootloader. But good thing is that i have working ROM and it is also rooted.
I want to install new Oxygen OS update but whenever i tried to unlock bootloader , its just failing as there is not recovery installed on my phone.
I there any way to get out of this problem... pls help
Click to expand...
Click to collapse
since you are rooted you can download flashify and install recovery from there
check this thread out
http://forum.xda-developers.com/oneplus-x/general/guide-backup-locked-bootloader-t3301387

Updating only bootloader

Hello,
I have installed the 6.0.1 beta but did not first flash a rom with a recent bootloader, hence I can't flash a recovery.
Is there any way to only install the latest bootloader, without first wiping my phone?
Thanks!
No !
Theoretically it should work, but It would be much more work than backing up and reflashing.
Of cause you can extract the bootloader and flash it, but this will not work!
You need to repartition your device to get the new bootloader to work. So you need to delete everything.
You can do it like this : http://forum.xda-developers.com/xperia-z2/help/tutorial-recovery-unlocked-bootloader-t3343416

Categories

Resources