[Q] HTC Newbie Modification Question - HTC One Max

Sorry about the newbie questions but this is my first HTC. In order to flash the Xposed installer does the bootloader need to be unlocked or is rooting the phone enough?
Also, once the phone is rooted can I flash the Xposed installer using the stock recovery or do I need to use a custom recovery? Thanks.

Device needs root and the Xposed can be install from custom recovery or apk installation. Stock recovery can't flash custom rom or basically anything other then stock ota.

jerrycycle said:
Device needs root and the Xposed can be install from custom recovery or apk installation. Stock recovery can't flash custom rom or basically anything other then stock ota.
Click to expand...
Click to collapse
Thanks. So can I root using TowelRoot or one of the other methods without unlocking the bootloader or is unlocking the bootloader necessary before I root?

Depends on hboot version. If you have newer hboot, weaksauce will temp root & firewater will soft. Older version needs romrunner. Guide out there

Related

[Q] about losing root

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!

How to flash stock recovery over TWRP without flashing RUU

I looked for this all over XDA and google and couldn't find an answer,
I have an unlocked and rooted HOX+ international that had CM 10.2, I flashed a backup of my stock sense 4 using TWRP to try the official sense 5 update.
Now I need to re-lock bootloader and reinstall stock recovery for the HTC update to install, I can't find a stock recovery image anywhere and I'm not sure if it is even possible to do it this way without flashing an RUU?
Any help? any one can point me to a stock recovery image?
RECAP:
What I have: HOX+ International, stock sense 4, unlocked, rooted, TWRP recovery, HTC software update downloaded and ready to install
What I need: Relock, Revert to stock recovery (stock recovery img)
Thanks in Advance!
Haerviu said:
I looked for this all over XDA and google and couldn't find an answer,
I have an unlocked and rooted HOX+ international that had CM 10.2, I flashed a backup of my stock sense 4 using TWRP to try the official sense 5 update.
Now I need to re-lock bootloader and reinstall stock recovery for the HTC update to install, I can't find a stock recovery image anywhere and I'm not sure if it is even possible to do it this way without flashing an RUU?
Any help? any one can point me to a stock recovery image?
RECAP:
What I have: HOX+ International, stock sense 4, unlocked, rooted, TWRP recovery, HTC software update downloaded and ready to install
What I need: Relock, Revert to stock recovery (stock recovery img)
Thanks in Advance!
Click to expand...
Click to collapse
The stock recovery is here
[email protected] said:
The stock recovery is here
Click to expand...
Click to collapse
Thanks alot!
is it possible to do it the way I'm attempting? flash this stock recovery, relock bootloader and let the software update install?
Haerviu said:
Thanks alot!
is it possible to do it the way I'm attempting? flash this stock recovery, relock bootloader and let the software update install?
Click to expand...
Click to collapse
U have to unroot first........must be ok if u still get the notification for the Update installation...
Use SuperSu from Playstore.....and in the setting do full unroot......
then flash the Stock recovery and relock the bootloader.....
The main thing is u have to still get that notification to install the update.......
[email protected] said:
U have to unroot first........must be ok if u still get the notification for the Update installation...
Use SuperSu from Playstore.....and in the setting do full unroot......
then flash the Stock recovery and relock the bootloader.....
The main thing is u have to still get that notification to install the update.......
Click to expand...
Click to collapse
Life savior! Updated successfully.
Full unroot with SuperSu
Flash stock recovery
Relock bootloader
Update wasn't in notification but worked from settings menu.
Now I'm on sense 5!

Install on unlocked bootloader

Can I install a custom ROM on a device with unlocked bootloader
I use an application for work which checks for rooted roms and one of the checks is if bootloader is locked.
I cant unroot as ALL (including rootcloak plus) has proved to be unsuccessful with the application
jean001luc said:
Can I install a custom ROM on a device with unlocked bootloader
I use an application for work which checks for rooted roms and one of the checks is if bootloader is locked.
I cant unroot as ALL (including rootcloak plus) has proved to be unsuccessful with the application
Click to expand...
Click to collapse
Unlocking is not the same as rooting and vice versa. If your bootloader is unlocked use flash tool (with drivers installed for your device) to flash a custom kernel to your phone. Most kernels add root access. (Check by using a root check app after flashing). With a custom kernel installed, then flash a custom rom via the recovery menu, most likely CWM.
smirnofred said:
Unlocking is not the same as rooting and vice versa. If your bootloader is unlocked use flash tool (with drivers installed for your device) to flash a custom kernel to your phone. Most kernels add root access. (Check by using a root check app after flashing). With a custom kernel installed, then flash a custom rom via the recovery menu, most likely CWM.
Click to expand...
Click to collapse
Fully understand bootloader and rooting. My point is that the application I need to use will check if device has unlocked boot loader
Other thing it checks for is
1) SU
2) number of superuser apps
3) bootloader status
4) busybox files
5) root status
6) if RUM is custom ROM by checking signature
7) build.prop entries to determine if its custom ROM (e.g. releasekeys and testkeys)
Hello everybody!
Im totaly new here and my English is not so good so im sorry about that.
I was flash my st15i and unlock root.When I tipe *#*#7378423#*#* in my phone its sey Bootloader unlocked: Yes
and I flash it with 4.0.2.A.0.62 ,everything work ok but....I can not install 4.0.2.A.84 version in phone update and titanium backup can not acess root.
What should I do,any ideas?
thx
I flash it with 4.0.2.A.0.84 but still cant acess root with titanium backup
zixic said:
I flash it with 4.0.2.A.0.84 but still cant acess root with titanium backup
Click to expand...
Click to collapse
Have you even installed a custom kernel or did you root the phone? If not, root it or simply flash a custom kernel (which automatically roots the device)

flash older kernel in order to root latest firmware (23.0.1.A.0.167)?

Hi!
Somebody in a different forum suggested that it might be possible to root the latest firmware (23.0.1.A.0.167) by downgrading the kernel (http://forum.xda-developers.com/showpost.php?p=56590546&postcount=1224).
Can anybody confirm this method to work?
I purchased my Z2 tablet yesterday and was foolish enough to believe that I can upgrade to the latest firmware and still root my device (with a locked bootloader).
Greetings
MJFox
MJFox78 said:
Hi!
Somebody in a different forum suggested that it might be possible to root the latest firmware (23.0.1.A.0.167) by downgrading the kernel (http://forum.xda-developers.com/showpost.php?p=56590546&postcount=1224).
Can anybody confirm this method to work?
I purchased my Z2 tablet yesterday and was foolish enough to believe that I can upgrade to the latest firmware and still root my device (with a locked bootloader).
Greetings
MJFox
Click to expand...
Click to collapse
It doesn't work. You end up to bootloop. However you can flash prerooted firmware in custom recovery and have fully rooted device.
kulvertti said:
It doesn't work. You end up to bootloop. However you can flash prerooted firmware in custom recovery and have fully rooted device.
Click to expand...
Click to collapse
In order to do so I have to unlock my bootloader and with that I'm going to lose my drm keys, right?
MJFox78 said:
In order to do so I have to unlock my bootloader and with that I'm going to lose my drm keys, right?
Click to expand...
Click to collapse
No. If you easy root and install the dual recovery beforehand you flash from that.
But easy root doesn't seem to work with the latest firmware, they closed the vulnerability that easy root is using
MJFox78 said:
But easy root doesn't seem to work with the latest firmware, they closed the vulnerability that easy root is using
Click to expand...
Click to collapse
Easy Root Tool works just fine with .314 firmware. So if you are now on latest .167 firmware, downgrade to .314, root it, install custom recovery and flash prerooted flashable.zip in custom recovery. Done.
kulvertti said:
Easy Root Tool works just fine with .314 firmware. So if you are now on latest .167 firmware, downgrade to .314, root it, install custom recovery and flash prerooted flashable.zip in custom recovery. Done.
Click to expand...
Click to collapse
Ah, I didn't know it's possible to downgrade the firmware
So I need the firmware flash tool and a ftf file of the 167 firmware, right?
And it can be done without root and a locked bootloader?
Sorry for all the newbie questions, I'm coming from HTC devices and it's a little different there
Greetings
MJFox
MJFox78 said:
Ah, I didn't know it's possible to downgrade the firmware
So I need the firmware flash tool and a ftf file of the 167 firmware, right?
And it can be done without root and a locked bootloader?
Sorry for all the newbie questions, I'm coming from HTC devices and it's a little different there
Greetings
MJFox
Click to expand...
Click to collapse
You need:
- latest Flashtool with drivers installed correctly for your device
- some working custom recovery
- Easy root tool
- ftf file you need is 314 firmware of you device where you have to downgrade to easily root it
- prerooted zip file included you device 167 firmware, SuperSu install files and latest dualrecovery install files.
You don´t need unlocked bootloader for this. Point of downgrading is to achieve root easily that you can have root with 167 firmware? Or do you mean that can you achieve root on 314 firmware without having it before? If so, yes you can with Easy root tool.
kulvertti said:
You need:
- latest Flashtool with drivers installed correctly for your device
- some working custom recovery
- Easy root tool
- ftf file you need is 314 firmware of you device where you have to downgrade to easily root it
- prerooted zip file included you device 167 firmware, SuperSu install files and latest dualrecovery install files.
You don´t need unlocked bootloader for this. Point of downgrading is to achieve root easily that you can have root with 167 firmware? Or do you mean that can you achieve root on 314 firmware without having it before? If so, yes you can with Easy root tool.
Click to expand...
Click to collapse
thanks for your efforts!
in the meantime I managed to downgrade the firmware to 314, successfully root and backup TA
I installed superSU from the play store and it is telling me that I need to update the binaries and I can choose between "normal" (which doesn't work) or through "twrp/cwm"
I didn't install any custom recovery yet, so I'm not sure how to move on from now
should I install dual recovery (from here: http://forum.xda-developers.com/showthread.php?t=2785598), after flash the latest supersu from recovery and finally flash prerooted zip file?
do I need custom recovery to flash the prerooted 167 firmware?
or should I just run the OTA to get 167 firmware (will the device still be rooted after the update)?
please advice
MJFox
MJFox78 said:
thanks for your efforts!
in the meantime I managed to downgrade the firmware to 314, successfully root and backup TA
superSU is telling me that I need to update the binaries and I can choose between "normal" (which doesn't work) or through "twrp/cwm"
I didn't install any custom recovery yet, so I'm not sure how to move on from now
should I install dual recovery (from here: http://forum.xda-developers.com/showthread.php?t=2785598), after flash the latest supersu from recovery and finally flash prerooted zip file?
or should I just run the OTA to get 167?
please advice
MJFox
Click to expand...
Click to collapse
Good to here you achievment. If you can´t update SuperSu binaries by "normal" way easiest might be to flash SuperSu latest update from custom recovery. I recommend dual recovery from your link and when installed use TWRP.
So install dualrecovery, flash latest SuperSu and then prerooted zip. If you end up without write permissions to system here might be solution for that.
http://forum.xda-developers.com/showpost.php?p=56616135&postcount=52
kulvertti said:
Good to here you achievment. If you can´t update SuperSu binaries by "normal" way easiest might be to flash SuperSu latest update from custom recovery. I recommend dual recovery from your link and when installed use TWRP.
So install dualrecovery, flash latest SuperSu and then prerooted zip. If you end up without write permissions to system here might be solution for that.
http://forum.xda-developers.com/showpost.php?p=56616135&postcount=52
Click to expand...
Click to collapse
I installed dual recovery and flashed your prerooted zip from the other thread - everything works perfect, thanks a lot for your efforts! :good:
greetings
MJFox

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

Categories

Resources