(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??
I rooted my phone, then installed CM12 Lollipop ROM. Now my phone is no longer rooted. I thought that after installing a ROM the phone remained rooted. Now I can't root my phone, the adb command doen't work to root it again, also tried the TowelRoot method, but it doesn't work. Any suggestions? I want to root it so I can reboot into recovery and install other ROMS or backup my current ROM (using TWR manager or Clockwork MOD ROM manager) and run other tools.
If you installed CM12, then you have root and recovery. I'm not sure what you did wrong or what you've missed, but it's all there. Did you go in Developer Settings and make sure that root access is enabled. Also, you need to have SuperSU installed as well. Good luck.
Sent from my LG-D850 using Tapatalk
Adb reboot recovery doesn't require root. So that's an option. Also cm supports advanced reboot into recovery when you enable it in developer options.
Off topic. How well does cm12 run on this device? Thinking about putting it on my d850.
Never mind. Don't worry about my question. I'll look through the thread and see what I can find about what's broken.
I installed all possible versions of Chainfire and enable ADB to USB debugging mode and applications, but I can not do root in this new version of Android (5.1) that I can do?
JHOSMAN said:
I installed all possible versions of Chainfire and enable ADB to USB debugging mode and applications, but I can not do root in this new version of Android (5.1) that I can do?
Click to expand...
Click to collapse
CM12 is pre-rooted, you don't necessarily need to flash SuperSU. Go to Developer Options and make sure at least apps are selected in the "root access" option.
Transmitted via Bacon
timmaaa said:
CM12 is pre-rooted, you don't necessarily need to flash SuperSU. Go to Developer Options and make sure at least apps are selected in the "root access" option.
Transmitted via Bacon
Click to expand...
Click to collapse
Thanks, I reinstall SO and solved whit your instructions
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.
Didn't realized and tried to install SuperSU on CM13. Got a bootloop which I fixed with unSU.zip (http://forum.xda-developers.com/showpost.php?p=63615067&postcount=2459). Now I have no root even though root is enabled in developer options. Any suggestions?
Me too, just encountered this problem
Edit: Dirty flashed ROM from update, seems to be working now.
iammarrk said:
Didn't realized and tried to install SuperSU on CM13. Got a bootloop which I fixed with unSU.zip (http://forum.xda-developers.com/showpost.php?p=63615067&postcount=2459). Now I have no root even though root is enabled in developer options. Any suggestions?
Click to expand...
Click to collapse
Wht did you flashed supersu when root was already available in developer options? :/
CM13 already have su binaries and to enable them you have to go in developer options -> root. If you flashed Sultan CM13 (which i really recommend) you have to install SU from here. Remember to keep the TWRP updated.
EDIT: i read again the first post. I guess unSU removes all the binaries, the ones from CM as well. Flash again the same ROM and gapps without wiping data and you should be good to go