How to unroot ADB root? - OnePlus 5 Questions & Answers

I rooted my Oneplus 5 using the "Engineering Mode" exploit that was discovered a few weeks ago. I want to unroot my device since I have to download the full OTA on every update. How do I disable ADB root?

Wouldn't flashing the stock ROM remove root access?
Can't the steps be done in reverse order to enable root again?
I don't know much about this root method, but, from my knowledge, Engineer Mode is an apk. Wouldn't completely wiping the phone and flashing the stock ROM return it to a stock state (without root)?

Related

OTA Update while rooted but still STOCK

Hey Guys,
I've done reading about this issue but I did not find an answer specifically to the Nexus 7 device.
I bought my mother-in-law the Nexus 7 and she loves it. However, she will be going back home (which is far) and I was wondering if an OTA update comes, will she be able to update? Will it mess with the system itself if updated over?
Do I have to unroot first, then OTA update, then reroot?
I will not install any custom rom. I will just have it rooted that is it.
Thank you
I unlocked my bootloader and manually rooted [superuser zip in CWM], then I installed the system update that updated it to 4.1.1 [JRO03D], and I still had root, so I'm pretty sure the updates on the N7 will keep the root.
However, you can always try "OTA root keeper" in the play store, it's supposed to restore root, in the event that an OTA update unroots it.
I downloaded it before updating because I thought I'd lose root with the update, but I didn't have to use it at all.
But I'm no longer on the stock rom, I switched to the ParanoidAndroid rom, it's excellent.
I see. Do I need to unlock the bootloader in order to root? Is it true that unlocking the bootloader is only needed if I want to install custom ROMs right? Can I just have root?
Thanks again!
You have to unlock the bootloader in order to root.
keplenk said:
I see. Do I need to unlock the bootloader in order to root? Is it true that unlocking the bootloader is only needed if I want to install custom ROMs right? Can I just have root?
Thanks again!
Click to expand...
Click to collapse
Unfortunately no, because there is no known exploit for loading an insecure boot image, in which case you could use 'adb' to push Superuser to /system/.. But unlocking the bootloader isn't a big deal, except for the fact it erases all the data. There are ways to back it up via adb, and I think the N7 Toolkit has backup & restore options.

[Q] Is root persistent through OTA update?

I'm looking to root my phone but I don't want to flash any new bootloader or custom roms. I'm under the impression that I'll still be able to get OTA updates if I do this. My question is if I download and install an OTA update will I still have root on the phone or will it remove root? Thanks!
psyphris said:
I'm looking to root my phone but I don't want to flash any new bootloader or custom roms. I'm under the impression that I'll still be able to get OTA updates if I do this. My question is if I download and install an OTA update will I still have root on the phone or will it remove root? Thanks!
Click to expand...
Click to collapse
I was still able to receive and apply the OTA after rooting, but the OTA did cause me to lose root. But re-rooting was pretty painless.
Its sure than rooting phone you receive OTA and can install it?? If yes, I want to root my phone, only root, i dont want to change anything more for receiving OTAs.
How can I do? just only root, any link to the safest way?
Is the same way when I receive an OTA and i have to root again?
many thanks.
1. You can use an app called OTA Rootkeeper. Use it to hide root before you accept an OTA, then use it to restore root after.
2. Yes, you can use adb commands (possibly the Nexus 4 toolkit as well) to temporarily flash clockwork recovery and obtain root. You will need to unlock the bootloader though, and that will factory reset your device.
http://forum.xda-developers.com/showthread.php?t=1993331
Nospin said:
1. You can use an app called OTA Rootkeeper. Use it to hide root before you accept an OTA, then use it to restore root after.
2. Yes, you can use adb commands (possibly the Nexus 4 toolkit as well) to temporarily flash clockwork recovery and obtain root. You will need to unlock the bootloader though, and that will factory reset your device.
http://forum.xda-developers.com/showthread.php?t=1993331
Click to expand...
Click to collapse
Good advice for OTA Rootkeeper! If I head down this path I'll make sure to use that. I'm still looking around for the best way to root without unlocking the bootloader or factory reseting.
Superuser contains a built in 'try and preserve root' function which worked well when I updated to 4.2.1

Can I boot lock my 6p if I have TWRP installed?

I installed twrp and SU. Really the only reason I did it is because I use titanium backup to back up and restore apps and such. Otherwise I really don't need root.
I have two questions.
First Question: Can I re-lock the boot loader if I have TWRP and SuperSU installed? If not how can I use Android pay? Is there a work around? It's not allowing me to because it can't verify
Second Question: The OTA 6.0.1 won't stick. I'm pretty sure I've done one other over the air update (at least I thought I did, I may be remembering incorrectly) and it worked just fine. But for some reason 6.0.1 isn't taking. Any ideas?
If you don't need root what you can do is download the 6.0.1 imag direclty from google, put it in your adb/fastboo folder and use the flash-all command and it will erase root, twrp and it will be like you just got it from the factory. The only thing that would be still there is the unlocked bootloader. Once you've performed the flash-all command, you can simple lock the bootloader again. That's if you want to get rid of Root and Twrp.. If not, you can try a Rom like Chroma that has android pay working on it.. Here's the instructions. Hope this helps: http://forum.xda-developers.com/showpost.php?p=64269166&postcount=2338
Edit: Make sure you follow the systemless root instructions from that link to get android pay to work...
So I cannot lock the boot loader if I have root and twrp installed?
I really don't want to use a Rom. I'm happy with stock, just want to be able to use titanium backup.
And are ota updates not working if you have twrp installed?
OTA updates won't flash properly if you have TWRP installed, though I heard there is a way to extract the components of the update you want to apply so you can preserve root and custom recoveries while still updating. Sorry I don't know where the instructions are though.
No you can't lock the bootloader with TWRP installed, it can result in a brick.
I would not lock the bootloader unless you are 100% stock. You open yourself up to unrecoverable bricks. As for the update if you download the image from google you can just flash the individual partitions in fastboot. This way you can preserve your data. Heisenburg has a great guide here: http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928 You will loose root but getting it back just involves reflashing the SuperSU-v2.62-3-20151211162651.zip from this thread http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344/post64161125#post64161125

Temp Root?

Is there a way to temporarily root my 6p, like kingo root? This is my mother's phone and I don't want root access permanently; I need to edit build.prop. I'm hoping to fix a call quality issue and revert back to non-root, and receive the final OTA updates. I've tried every method I could find, expect disabling noise canceling through build.prop. Thank you for the help
I'm not aware of a temporary root solution for the 6P.
Alternatively, you could flash TWRP via fastboot, reboot to recovery, pull the file via adb, edit, push it back via adb (make sure permissions are correct), reboot to bootloader, and flash stock recovery.
ske1555 said:
Is there a way to temporarily root my 6p, like kingo root? This is my mother's phone and I don't want root access permanently; I need to edit build.prop. I'm hoping to fix a call quality issue and revert back to non-root, and receive the final OTA updates. I've tried every method I could find, expect disabling noise canceling through build.prop. Thank you for the help
Click to expand...
Click to collapse
You could flash TWRP, back up boot.img then flash magisk. After you finish just flash the boot.img then your unrooted. If you want to go back to stock recovery put a copy on your phone and flash it in TWRP. I'm sure theres other ways but this is what I would do.

Im looking to do an ota update on my rooted s10+ and need help

I had rooted with magisk (no twrp installed) and i was following a guide to do an ota update without removing root but my device gave "stock back up doesnt exist" while i was trying to uninstall magisk with "restore images" option.
So do i have any other option then completely unrooting, doing the update and rooting again?
When i first rooted my device, it went to bootloop so i had to factory reset and after that phone was rooted and working. Does this mean whenever i want to do an ota update i will have to factory reset my phone?..
I am not super knowledgeable about files and methods. All i had done so far was follow well written guides on internet but i dont know what to do now

Categories

Resources