[Q] Custom recovery and root - ONE Q&A, Help & Troubleshooting

I have read many how to's to Unlock boatload then flash recovery and Super user. I just wondered if it would be possible once the bootloader is unlocked to down load the Twrp and SU APK's from the google play store. Twrp App has option to install from within the app.
My theory is this.
1 unlock bootloader.
2 install SU to root phone
3 install Twrp and install twrp recovery from within app.
New to ONO.

Gold Ribbed said:
I have read many how to's to Unlock boatload then flash recovery and Super user. I just wondered if it would be possible once the bootloader is unlocked to down load the Twrp and SU APK's from the google play store. Twrp App has option to install from within the app.
My theory is this.
1 unlock bootloader.
2 install SU to root phone
3 install Twrp and install twrp recovery from within app.
New to ONO.
Click to expand...
Click to collapse
That won't work because the TWRP app requires root. You need to do this
1. Unlock bootloader.
2. Flash TWRP.
3. Flash SuperSU with TWRP.
See my guide:
http://forum.xda-developers.com/showthread.php?t=2839471
XDA Moderator
Transmitted via Bacon

Thanks for the link. Sorted now. Even managed it on my Mac.

Related

[Q] Rooting without changing recovery

I want to root the phone but keep the stock CM 11s and the stock recovery so OTAs continue to work. fastboot boot recovery.img doesn't seem to work any more and the towel root vulnerability is fixed in CM. Suggestions?
thats not the right fastboot command to flash a new recovery, but you dont need a different recovery to root.
The Jack of Clubs said:
thats not the right fastboot command to flash a new recovery, but you dont need a different recovery to root.
Click to expand...
Click to collapse
Can the OPO be rooted from stock recovery?
I've not seen the stock recovery yet, but does it have CWM functions in it?
donalgodon said:
Can the OPO be rooted from stock recovery?
I've not seen the stock recovery yet, but does it have CWM functions in it?
Click to expand...
Click to collapse
no. but thats if you choose the recovery root method. root consists of two parts, a su binary that gives normal users full device write control, and a superuser app that allows android apps to use the su binary. when you use recovery to root, it just flashes these two files to the system partition and you have root. its a failsafe method, but requires you to use a custom recovery that lets you flash whatever you want to the phone. since ota updates use the stock recovery to update, if you replace the stock recovery you cant install ota updates. there are other methods that use fastboot and adb usb debugging exploits to copy the root binary to system, but i havent looked into what works. i planned to do that after i get my oneplus.
i used cf-auto-root on my brothers nexus 5. it keeps stock recovery in place, and uses fastboot to root. ota updates still work after that. however you loose root everytime you update because it wipes and flashes a new system partition. not that big a deal, you just reroot after updates. it would do that whether or not you were to replace recovery. the only way around that is to use a prerooted rom that would include root in the system image. cyanogenmod has their own superuser app thats just not included in this rom so they can get google certification. i imagine they have some way to get it installed easily.
I just did the fastboot boot recovery.img and flashed SuperSU fine...
Chinese 64GB..
Sent from my One using XDA Free mobile app

[Q] A way to root but stay stock so can keep getting OTA s?

(noob) Question: Is there a way to root my OnePlus and keep stock recovery (for now at least) so I can just get the OTA updates? I want to have root so I can use Xposed and LMT but still stay stock. Thanks
scott62185 said:
(noob) Question: Is there a way to root my OnePlus and keep stock recovery (for now at least) so I can just get the OTA updates? I want to have root so I can use Xposed and LMT but still stay stock. Thanks
Click to expand...
Click to collapse
yep, just install the drivers, unlock the bootloader, install a recovery (i used twrp), then flash supersu. go over to the android development folder and there are toolkits there. im running stock rooted right now.
you dont have to unlock the bootloader or flash a recovery to root. just run "fastboot boot recovery.img" itll boot the alternative recovery, and you can flash the super user zip from there. it will only boot twrp or cwm but not flash it to the device and will not replace the stock recovery.
unlocking the bootloader just allows you to write to the boot partition and boot different recoveries and kernels from the device. it does set off a tamper flag which could void your warranty. but unlocking is not required for modifying the system partition which is what you are doing when you root.
scott62185 said:
(noob) Question: Is there a way to root my OnePlus and keep stock recovery (for now at least) so I can just get the OTA updates? I want to have root so I can use Xposed and LMT but still stay stock. Thanks
Click to expand...
Click to collapse
You can install OTA updates even with a TWRP installed. You just have to untick the CM Recory option from Settings -> Developer Settings -> CM Recovery
What that does it tells the OTA update not to update your recovery when the option is unticked. If you leave the tick on, then every OTA will relock your bootloader and install CM recovery.
But all in all, OTAs work fine with root + twrp
inffy said:
You can install OTA updates even with a TWRP installed. You just have to untick the CM Recory option from Settings -> Developer Settings -> CM Recovery
What that does it tells the OTA update not to update your recovery when the option is unticked. If you leave the tick on, then every OTA will relock your bootloader and install CM recovery.
But all in all, OTAs work fine with root + twrp
Click to expand...
Click to collapse
Oh wow, I didn't know that. Great! Thanks
inffy said:
You can install OTA updates even with a TWRP installed. You just have to untick the CM Recory option from Settings -> Developer Settings -> CM Recovery
What that does it tells the OTA update not to update your recovery when the option is unticked. If you leave the tick on, then every OTA will relock your bootloader and install CM recovery.
But all in all, OTAs work fine with root + twrp
Click to expand...
Click to collapse
That won't let you keep root, though it's easy to flash SuperSU from TWRP after every OTA.
A solution to OP's problem could be SuperSU Pro which lets you keep root even after OTA updates. I haven't tested it yet but the option is there.
CrashTestDroid said:
That won't let you keep root, though it's easy to flash SuperSU from TWRP after every OTA.
A solution to OP's problem could be SuperSU Pro which lets you keep root even after OTA updates. I haven't tested it yet but the option is there.
Click to expand...
Click to collapse
I unlocked my device, then booted into twrp via adb, then flashed supersu but i have no root. the app is installed but i cannot grand titanium backup for example root rights. so the root process did not worked but why? tried it severall times and downloaded everything from scratch sever times. no chance. help me pls..
blax123 said:
I unlocked my device, then booted into twrp via adb, then flashed supersu but i have no root. the app is installed but i cannot grand titanium backup for example root rights. so the root process did not worked but why? tried it severall times and downloaded everything from scratch sever times. no chance. help me pls..
Click to expand...
Click to collapse
open the SuperSU app, see if it complains about missing busybox or anything
CrashTestDroid said:
open the SuperSU app, see if it complains about missing busybox or anything
Click to expand...
Click to collapse
How do I install busybox?
Sent from my GT-N8010 using Tapatalk
Nevermind, I found the solution. I had to disable a Option in SuperSU settings because the CM comes not rooted from out of the box
Sent from my Carbonized Nexus 4
inffy said:
You can install OTA updates even with a TWRP installed. You just have to untick the CM Recory option from Settings -> Developer Settings -> CM Recovery
What that does it tells the OTA update not to update your recovery when the option is unticked. If you leave the tick on, then every OTA will relock your bootloader and install CM recovery.
But all in all, OTAs work fine with root + twrp
Click to expand...
Click to collapse
If I do this, will I lose root upon OTA?
sharp2G said:
If I do this, will I lose root upon OTA?
Click to expand...
Click to collapse
No if you have supersu pro installed and have selected the setting to keep root after ota
Will towelroot work on this?
Quinnaay said:
Will towelroot work on this?
Click to expand...
Click to collapse
im not sure people have really tried. youre welcome to give it a shot as it says its possibly compatible with everything. but theres already a root method that doesnt require bootloader unlocking and installs supersu which is most peoples favorite root manager.
Towelroot is incredibly simple I get a little nervous otherwise.. Is there a tutorial on the easy alternative, I only want titanium backup to restore my apps from s4 (considering I can do that)
inffy said:
No if you have supersu pro installed and have selected the setting to keep root after ota
Click to expand...
Click to collapse
Where is the option to "keep root after OTA" in SU?
I managed to boot the twrp recovery on 4.4.2..but updated to 4.4.4 33R and now it says SU binaries not installed...also cant boot recovery on fastboot as it says need to unlock the bootloader?
Why did update prevent this now?
tofuboi01 said:
I managed to boot the twrp recovery on 4.4.2..but updated to 4.4.4 33R and now it says SU binaries not installed...also cant boot recovery on fastboot as it says need to unlock the bootloader?
Why did update prevent this now?
Click to expand...
Click to collapse
Did you untick the option to update CM recovery during your update?
I didnt untick it no, but i never flashed the custom recovery in the first place as i just booted it up from fastboot on 25R, on 33R however its been disabled and requires unlocked bootloader.
inffy said:
You can install OTA updates even with a TWRP installed. You just have to untick the CM Recory option from Settings -> Developer Settings -> CM Recovery
What that does it tells the OTA update not to update your recovery when the option is unticked. If you leave the tick on, then every OTA will relock your bootloader and install CM recovery.
But all in all, OTAs work fine with root + twrp
Click to expand...
Click to collapse
@inffy,
Hi,
I unlocked bootloader before installing 22R and updated 25, 30, 33 & 38R with OTA from 'System updates' menu. After 38R i flashed TWRP recovery and rooted my phone without unlocking the phone again & its working fine. Perhaps, the we don't need to unlock bootloader again once it unlocked. Can anyone confirm it??

P8max Chinese Bloatware List

Now that we can root the P8max, we need to get a list of all the Huawei Chinese Bloatware Junk that we can safely remove.
Amap
AppCenter
Baidu
CamCard
Ctrip
DianPing
Game Center
HiCare
Huawei Club
Huawei Wallet
Huawei Pay
NetEase News
Skytone
Smartcare
Sohu TV
Ureader
Vmall
Weibo
iReader
That's What I have so far
Thanks for the information
davedfx said:
Now that we can root the P8max...
Click to expand...
Click to collapse
Did YOU manage to root or unlock the bootloader?
It seems emui.huawei.com/en/plugin.php?id=unlock&mod=detail is constantly returning "server overloaded" errors,
& http://www.emui.com/plugin.php?id=unlock&mod=detail is complaining that my IMEI is not on the server for more than 14 days (which is not true, as the device was built last month).
I also sent a mail a while back to [email protected] & [email protected] with the details to provide an unlock code, but with no response till now.
Do you have another method?
I root and unlocked the bootloader with this method:
http://blog.livedoor.jp/cn221283/archives/51190024.html
yes I unlocked and rooted
http://forum.xda-developers.com/android/help/q-root-p8-max-t3152663/post62145915#post62145915
Update latest Rom via OTA or Download it and install it manually
Unlock bootloader. Sign in via Facebook on Huawei Site
Download the root files in the link above
Copy Super Su to sdcard
Flash TWRP recovery via fastboot
install SuperSu from TWRP menu via Sdcard. This will root your phone
Flash back the original recovery otherwise the phone will be stuck in TWRP.
reboot
Install root checker to verify root.
davedfx said:
yes I unlocked and rooted
http://forum.xda-developers.com/android/help/q-root-p8-max-t3152663/post62145915#post62145915
Update latest Rom via OTA or Download it and install it manually
Unlock bootloader. Sign in via Facebook on Huawei Site
Download the root files in the link above
Copy Super Su to sdcard
Flash TWRP recovery via fastboot
install SuperSu from TWRP menu via Sdcard. This will root your phone
Flash back the original recovery otherwise the phone will be stuck in TWRP.
reboot
Install root checker to verify root.
Click to expand...
Click to collapse
My method works .... cheers..
Anyway im not rooted anymore.. after I update to B021, got bootloop.....
So I downloaded the B017 rom restore using SD card way from original recovery... till now not rooted.. hahhahhaa..

[Q] Just want to use the "Titanium Backup" app

I am using Stock Kernel and CM 12.1 on my Oneplus One. I just want to use the "Titanium Backup" app (that running on Root device only). What exactly I need to do with my phone: ???
Just Unlock my Bootloader and run SuperSU ?
Can I still be able to use Rom OTA with the Unlock Bootloader ?
Thanks!
Too late for Titanium backup now!
Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
To answer your question briefly, in order to use Titanium Backup, you need a rooted device.
To root your device you need:
unlocked bootloader
custom recovery (i.e. TWRP )
When you unlock your bootloader, you will lose all your data - your phone will be wiped!
Long story short, it is now too late for you to use Titanium backup to backup your apps & data.
Please note that there are methods to backup your apps which do not require root access, but you will have to use adb & the command line - not for everyone, and not what you had in mind I imagine.
You might just want to make a list of your favourite apps, backup their data & settings as much as you can, and then once you've got some sort of backup done, proceed to unlock your bootloader (and wipe your device), install TWRP, gain root, and profit.
Once again: Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
ohussain said:
Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
To answer your question briefly, in order to use Titanium Backup, you need a rooted device.
To root your device you need:
unlocked bootloader
custom recovery (i.e. TWRP )
When you unlock your bootloader, you will lose all your data - your phone will be wiped!
Long story short, it is now too late for you to use Titanium backup to backup your apps & data.
Please note that there are methods to backup your apps which do not require root access, but you will have to use adb & the command line - not for everyone, and not what you had in mind I imagine.
You might just want to make a list of your favourite apps, backup their data & settings as much as you can, and then once you've got some sort of backup done, proceed to unlock your bootloader (and wipe your device), install TWRP, gain root, and profit.
Once again: Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
Click to expand...
Click to collapse
First thanks for your answer! Do I lose the rom OTA Update after unlock my bootloader and install TWRP ? Do I must change to the TWRP recover or I can use the stock one?
Sent from my A0001 using xda premium
You're welcome. You cannot use the stock recovery, and you will not receive OTAs once you've unlocked your bootloader, installed TWRP, and rooted.
Trust me, you are not missing out on anything - OTAs will be rare, and the quality of the OS provided by Cyanogen is low.
Once you have TWRP installed, you can choose to install other ROMs. I highly recommend XenonHD. Light, stable, AOSP-based (not a CM clone), with full layers support, and a balanced feature-set.
There are many ROMs available for the OnePlus One for you to choose from, and you could also run CM or OxygenOS - it's up to you.
Just make sure you read & follow Heisenberg's guide, and you'll be fine. :good:
Since you're coming from Cyanogen's lollipop build, you should pay special attention to the note at the end of section 2 of Heisenberg's guide ('How To Install A Custom Recovery On Your Device').
xperia_88 said:
First thanks for your answer! Do I lose the rom OTA Update after unlock my bootloader and install TWRP ? Do I must change to the TWRP recover or I can use the stock one?
Sent from my A0001 using xda premium
Click to expand...
Click to collapse
Unlocking your bootloader has no effect on the ability to take OTA updates. However, having a custom recovery and root do. If you want to take an OTA in future you just need to flash the stock recovery and the stock system.img and OTA's will work perfectly.
ohussain said:
You're welcome. You cannot use the stock recovery, and you will not receive OTAs once you've unlocked your bootloader, installed TWRP, and rooted.
Click to expand...
Click to collapse
This isn't entirely true, the unlocked bootloader doesn't matter.
Heisenberg said:
This isn't entirely true, the unlocked bootloader doesn't matter.
Click to expand...
Click to collapse
You're God damn right.
That's what I meant, but thank you for clearing up precisely what precludes one from receiving OTA updates. :good:
Heisenberg said:
Unlocking your bootloader has no effect on the ability to take OTA updates. However, having a custom recovery and root do. If you want to take an OTA in future you just need to flash the stock recovery and the stock system.img and OTA's will work perfectly.
Click to expand...
Click to collapse
Thanks for your clear answer!!!
Since I just want to use my favorite Titanium Backup but still using OTA update I would appreciate if you'LL guide me what is the easier way to do that.
I know now that to Unlocking my bootloader has no effect on the ability to take OTA but the custom recovery and root do so where I can find link to the stock recovery and the stock system.img and do I must to flash them after the Unlocking my bootloader ?
10X
xperia_88 said:
Thanks for your clear answer!!!
Since I just want to use my favorite Titanium Backup but still using OTA update I would appreciate if you'LL guide me what is the easier way to do that.
I know now that to Unlocking my bootloader has no effect on the ability to take OTA but the custom recovery and root do so where I can find link to the stock recovery and the stock system.img and do I must to flash them after the Unlocking my bootloader ?
10X
Click to expand...
Click to collapse
In order to use Titanium you need to unlock your bootloader, then flash TWRP recovery, then use TWRP recovery to flash SuperSU. You'll have root now and Titanium will work. Once you get to the point where you want to take an OTA you can extract the system.img and the recovery.img from the fastboot zip which you'll find here:
http://forum.xda-developers.com/showthread.php?t=2906746
Flash them and then OTA updates will work. There are detailed instructions in my guide:
http://forum.xda-developers.com/showthread.php?t=2839471

5.0.2-010 05 update downloaded should I use

Just got this phone new from cricket. I'm having issues making calls. I downloaded the update. But am wondering should I use it. I'm wanting to do custom roms exc. I have not unlocked boot loader or anything yet. If I do the update will I still be able to unlock the boot loader and root custom roms exc? 6045o is the type
First of all I suggest unlocking the bootloader, because if you update to MM you will lose fastboot commands (you can have them back but it's tedious). Then maybe install the latest TWRP, update to MM and then systemless root or custom ROM If you want to update to latest official firmware but don't want to lose TWRP/root just download the update without installing it and then flash it with chainfire's FlashFire.
thanks
plumbe0 said:
First of all I suggest unlocking the bootloader, because if you update to MM you will lose fastboot commands (you can have them back but it's tedious). Then maybe install the latest TWRP, update to MM and then systemless root or custom ROM If you want to update to latest official firmware but don't want to lose TWRP/root just download the update without installing it and then flash it with chainfire's FlashFire.
Click to expand...
Click to collapse
thanks i have twrp recovery and unlocked boot loader. next step. im wanting to b able to play pokemon go. chainfire requires root. i havent rooted yet. because i know pokemon go wont work. any ideas what i can do? p.s. already backed up system image boot and efs. thanks again.
Luckeyleo said:
thanks i have twrp recovery and unlocked boot loader. next step. im wanting to b able to play pokemon go. chainfire requires root. i havent rooted yet. because i know pokemon go wont work. any ideas what i can do? p.s. already backed up system image boot and efs. thanks again.
Click to expand...
Click to collapse
First of all make sure you never mount /system as rw when using TWRP.
Then just do a systemless root (download SuperSU from chainfire website on your phone, launch TWRP's terminal and type "echo SYSTEMLESS=true>>/data/.supersu", then flash SuperSU as usual), systemless root won't be detected by apps/os. Will probably be detected by SafetyNet but i'm not sure PoGo uses it. In case you have problems with root detection you can try suhide by Chainfire.
Also note that systemless Xposed (rootcloak, etc) and V4A are possible via Magisk (just search it on XDA).

Categories

Resources