(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??
Hello all.
In a few days we will have CM12 "S" or oxygen os 12
For OnePlus one root with custom recovery how we do for a clean install and keep root?
Update for OTA or instal whith recovery?
Thanks for answers
You can't keep root during an OTA. Just take the update and then flash SuperSU again afterwards to get root back.
Transmitted via Bacon
Thanks, but i keep my custom recovery?
Jjul said:
Thanks, but i keep my custom recovery?
Click to expand...
Click to collapse
Yes, as long as you have "update cm recovery" disabled in Developer Options.
Transmitted via Bacon
Ok. I enable this option to install TWRP.
When the update will be available I accept it and installs it.
After I done parameter factory and I install su on market.
With this method i keep my root and TWRP
Thanks
Hi,
Does anyone know how to enable in-built root in COS 12.1 ?
I can very well flash supersu, but what I have seen, flashing supersu also enables the "Root access" in Developer Options as well.
Is there a way to enable it directly from adb without having to flash supersu? I'm just trying to test the ROM with everything as stock as possible, and without root access, life is very tough.
Well you can flash the debuggable boot.img found somewhere in the firmwares thread, that will show the enable root option in development settings, but in my experience, it still wont work unless you flash superSU. Maybe someone knows more.
There is no built-in root in COS 12.1.
Cheers !! Thanks ..
devlamania said:
Hi,
Does anyone know how to enable in-built root in COS 12.1 ?
I can very well flash supersu, but what I have seen, flashing supersu also enables the "Root access" in Developer Options as well.
Is there a way to enable it directly from adb without having to flash supersu? I'm just trying to test the ROM with everything as stock as possible, and without root access, life is very tough.
Click to expand...
Click to collapse
https://forums.oneplus.net/threads/flashable-zip-cm12-enable-integrated-superuser.297089/
flash the zip . you can enable root in developer settings.
pa1281 said:
https://forums.oneplus.net/threads/flashable-zip-cm12-enable-integrated-superuser.297089/
flash the zip . you can enable root in developer settings.
Click to expand...
Click to collapse
Thanks mate, will try this today after getting back home.
Please help me!
Do u have 1) bootloader unlocked and 2) custom recovery?
I need help on the same. rom: CM13, android 6.0. device moto g falcon, XT1033.
Need to root the device, but if i'm using old methods to root, then my bootloader hangs on loading.
Use the inbuilt root via developer options!
Andus1988 said:
Use the inbuilt root via developer options!
Click to expand...
Click to collapse
I enabled root access for apps and adb but unfortunately it doesn't work.
Root check shows that the device is not rooted.
System app remover (ROOT) used to work fine before upgrade to CM13.
I am on the most recent nightly and yesterday's gapps.
druhboruch1 said:
I enabled root access for apps and adb but unfortunately it doesn't work.
Root check shows that the device is not rooted.
System app remover (ROOT) used to work fine before upgrade to CM13.
I am on the most recent nightly and yesterday's gapps.
Click to expand...
Click to collapse
Inbuilt root on CM13 (official) is working for me!
Andus1988 said:
Inbuilt root on CM13 (official) is working for me!
Click to expand...
Click to collapse
Could you confirm it by running Root Check application?
druhboruch1 said:
Could you confirm it by running Root Check application?
Click to expand...
Click to collapse
Yes, it says "Congratulations! Root access is properly installed on this device!"
Hey there!
I did a clean install of the NitrogenOS. Now that im finished, I noticed that my phone probably isnt rooted, as I cannot give root permission to an app.
If I remember correctly ( its been a long time) I had to flash a custom kernel first in order to root my phone or something... Can I still do a dirty flash or a custom kernel + superSU over completely installed ROM ?
Thanks!
I'm am not familiar with the ROM but did you check under developer settings to grant root access?
audit13 said:
I'm am not familiar with the ROM but did you check under developer settings to grant root access?
Click to expand...
Click to collapse
Doesnt seem to have such an option.
Just tried to flash newest superSU over it, but nothing changes.
Just noticed that the ROM was supposed to have root pre installed , If I understood it correctly.. But root checker tells me it still isnt rooted.
Did you enable developer settings?
Go to Settings>About Phone> Tap on Build Number 7 times to enable Developer Options.
Go back in Settings. Tap Developer options. Search for "Enable Root Access" toggle and switch it on.