Dear all,
I have my Z1C on the latest FW with Dual Recovery and root (SuperSU) but locked bootloader. Now, some apps will not run when they detect root. Can I "unroot" the phone in a convenient way and "re-root" when needed? Without using King Root and while keeping all my data etc.?
Cheers,
Ben
If you are willing to use Xposed, you can use a module called "RootCloak" which is used for hidding root from such apps which don't work unless your phone is not rooted.
BagOfLemon said:
If you are willing to use Xposed, you can use a module called "RootCloak" which is used for hidding root from such apps which don't work unless your phone is not rooted.
Click to expand...
Click to collapse
Thanks. So Xposed works with Dual Recovery/locked bootloader?
I was hoping I could just uninstall SuperSU and re-flash it in TWRP to re-gain root.
nurunet said:
Thanks. So Xposed works with Dual Recovery/locked bootloader?
I was hoping I could just uninstall SuperSU and re-flash it in TWRP to re-gain root.
Click to expand...
Click to collapse
I think it works with Dual Recovery, I'm not entirely sure though, same for Lock/Unlock BL but it should not impact how it works.
Also there is an option in several app for Root to disable it (Completely but you can re-enable it very easily)
BagOfLemon said:
Also there is an option in several app for Root to disable it (Completely but you can re-enable it very easily)
Click to expand...
Click to collapse
There is in the version of SuperSU I am using, but it doesn't seem to work for the banking app I tried. Root cloak reportedly works for it, but I was unsure if Xposed would work with my config and did not want to risk a boot loop or similar.
nurunet said:
There is in the version of SuperSU I am using, but it doesn't seem to work for the banking app I tried. Root cloak reportedly works for it, but I was unsure if Xposed would work with my config and did not want to risk a boot loop or similar.
Click to expand...
Click to collapse
It should work independently of your recovery so no worries. You can still download the zip to uninstall in case of something gone wrong or do a Nandroid backup to be sure
BagOfLemon said:
It should work independently of your recovery so no worries. You can still download the zip to uninstall in case of something gone wrong or do a Nandroid backup to be sure
Click to expand...
Click to collapse
I guess I'll try this WE.
I tried it. In SuperSU settings I chose permanent unroot, rebooted, and voilà: The banking app worked. Then I flashed the latest SuperSU in TWRP, and root was back. Neat!
Related
Hello everyone
Recently due to Niantic's decision to prohibit root users of playing Pokémon Go I decided to give a try to Magisk. I followed every step and even flashed my ROM again.
But when trying phh's root it wont work. Rootchecker says root was not correctly installed and trying to use any root app won't make Superuser show any prompt for root permissions.
Thank you so much for the help guys.
more info
renezada88 said:
Hello everyone
Recently due to Niantic's decision to prohibit root users of playing Pokémon Go I decided to give a try to Magisk. I followed every step and even flashed my ROM again.
But when trying phh's root it wont work. Rootchecker says root was not correctly installed and trying to use any root app won't make Superuser show any prompt for root permissions.
Thank you so much for the help guys.
Click to expand...
Click to collapse
What is your ROOT Method, That makes a difference since there might be a conflict in ROM (Preinstalled mods or apps), also, What ROM is it?
CKWTHN said:
What is your ROOT Method, That makes a difference since there might be a conflict in ROM (Preinstalled mods or apps), also, What ROM is it?
Click to expand...
Click to collapse
I flash Magisk v6 and phh's on TWRP. On the other hand I use the stock ROM MM 6.0.1 build 32.2.A.0.253
Apparently Magisk doesn't work properly on Sony devices. See topjohnwu's OP in the Magisk thread.
It partially works for me with some apps like Adaway and TiBU requesting for permissions and working properly but with most other apps not requesting root.
benengyj said:
Apparently Magisk doesn't work properly on Sony devices. See topjohnwu's OP in the Magisk thread.
It partially works for me with some apps like Adaway and TiBU requesting for permissions and working properly but with most other apps not requesting root.
Click to expand...
Click to collapse
I don't know how I could have missed that... Thanks a lot for that. I hope it gets a fix soon enough tho.
After successfully flashing CM12.1 and playing around with it a little bit, I wanted to completely remove root (to get a few apps running). So I was advised to download SuperSU and use it to make a full/complete root removal. After that I de-installed SuperSU and disabled root in the Developer Options.
Well, that worked, I could run the apps that were unhappy with just root disabled in Developer Options. But now I want to have root back and I read in a couple of place that just flashing the latest SuperSU.zip from recovery might be a bad idea.
Any suggestions how to properly re-root my CM12.1 ?
aalemann said:
After successfully flashing CM12.1 and playing around with it a little bit, I wanted to completely remove root (to get a few apps running). So I was advised to download SuperSU and use it to make a full/complete root removal. After that I de-installed SuperSU and disabled root in the Developer Options.
Well, that worked, I could run the apps that were unhappy with just root disabled in Developer Options. But now I want to have root back and I read in a couple of place that just flashing the latest SuperSU.zip from recovery might be a bad idea.
Any suggestions how to properly re-root my CM12.1 ?
Click to expand...
Click to collapse
Not sure what would be bad about it. If it's an issue with latest version, just use 2.46
levone1 said:
Not sure what would be bad about it. If it's an issue with latest version, just use 2.46
Click to expand...
Click to collapse
ok, thanks for the prompt answer! I am currently trying to find where I read this..... anyway, will then probably just flash it and see if it works
aalemann said:
ok, thanks for the prompt answer! I am currently trying to find where I read this..... anyway, will then probably just flash it and see if it works
Click to expand...
Click to collapse
https://download.chainfire.eu/696/supersu/
levone1 said:
https://download.chainfire.eu/696/supersu/
Click to expand...
Click to collapse
this is exactly the version I flashed onto my CM12.1, worked flawlessly
I've seen posts instructing how to root via SuperSu and Magisk; I know those methods have to be done a certain way because of the partition system. But I have not seen any posts about Kingroot. Would it work the successfully? I imagine it going like this:
1) root with Kingroot
2) boot to TWRP via ADB
3) flash TWRP
4) flash SuperSU if desired
Or
4) if desired, flash a kernel, flash Magisk, flash TWRP again
5) boot to system, uninstall Kingroot
Does that sound right? Would Kingroot even work to begin with?
GroovinChip said:
I've seen posts instructing how to root via SuperSu and Magisk; I know those methods have to be done a certain way because of the partition system. But I have not seen any posts about Kingroot. Would it work the successfully? I imagine it going like this:
1) root with Kingroot
2) boot to TWRP via ADB
3) flash TWRP
4) flash SuperSU if desired
Or
4) if desired, flash a kernel, flash Magisk, flash TWRP again
5) boot to system, uninstall Kingroot
Does that sound right? Would Kingroot even work to begin with?
Click to expand...
Click to collapse
Why use kingroot? Remove the first step and you basically have hot to flash su..
pcriz said:
Why use kingroot? Remove the first step and you basically have hot to flash su..
Click to expand...
Click to collapse
True, but if you happen to want to root while away from a computer it could be useful.
In any case, it was simply a curiosity about whether it would even work at all. I doubt I'd ever use Kingroot for my Pixel.
Sent from my Google Pixel XL using XDA Labs
GroovinChip said:
True, but if you happen to want to root while away from a computer it could be useful.
In any case, it was simply a curiosity about whether it would even work at all. I doubt I'd ever use Kingroot for my Pixel.
Click to expand...
Click to collapse
Oh okay. I was just curious. I haven't tried kingroot but since rooting requires patching the boot.img and I don't know if you can do that while booted into the OS I'd say no. I am only assuming how kingroot works but again whatever the solution it needs to be able to make changes to the boot.img without already having root privs.
The closest solution I would see is having twrp already loaded.
pcriz said:
Oh okay. I was just curious. I haven't tried kingroot but since rooting requires patching the boot.img and I don't know if you can do that while booted into the OS I'd say no. I am only assuming how kingroot works but again whatever the solution it needs to be able to make changes to the boot.img without already having root privs.
The closest solution I would see is having twrp already loaded.
Click to expand...
Click to collapse
This makes sense. Thanks
Sent from my Google Pixel XL using XDA Labs
Even if it did work it wouldn't work the way you are describing. King Root basically acts like malware and refuses to give root privileges to any app that interferes with its functioning. Adaway won't work with King Root because adware is part of the King Root program. You also wouldn't be able to install SU while King Root is on your phone. King Root will actively prevent you from installing any other root program. People used to be able to do what you describe but King Root was updated to prevent you from installing SU.
Anybody know if any Roms that are not pre rooted? I ahev to use AirWatch MDM on my device and can't with a rooted rom. I have tried unwatch and rootcloak already and they don't work. Thanks all.
gforceriders said:
Anybody know if any Roms that are not pre rooted? I ahev to use AirWatch MDM on my device and can't with a rooted rom. I have tried unwatch and rootcloak already and they don't work. Thanks all.
Click to expand...
Click to collapse
I do believe most of the roms for the P2XL are not inherently rooted. You have to go back to recovery to install magisk to achieve root after you have initially installed the rom. Have you tried to hide magisk from your AirWatch using magisk manager??
Badger50 said:
I do believe most of the roms for the P2XL are not inherently rooted. You have to go back to recovery to install magisk to achieve root after you have initially installed the rom. Have you tried to hide magisk from your AirWatch using magisk manager??
Click to expand...
Click to collapse
Yep tried that as well. I will test another rom and test.
Magisk hide works on airwatch but it stopped working on the last update of airwatch. So i just installed the prior version and disabled auto update.
Actually most roms seem to need to be booted once BEFORE rooting them or they loop... So I'm guessing most or none are pre rooted as of yet.
Badger50 said:
I do believe most of the roms for the P2XL are not inherently rooted. You have to go back to recovery to install magisk to achieve root after you have initially installed the rom. Have you tried to hide magisk from your AirWatch using magisk manager??
Click to expand...
Click to collapse
Magisk looks to be working for Airwatch this time around. Thanks for the help all.
Is this possible?
I unfortunately have to install a corporate app which won't install if the phone is rooted. Is it possible to put a custom rom and unroot?
prv8droid said:
Is this possible?
I unfortunately have to install a corporate app which won't install if the phone is rooted. Is it possible to put a custom rom and unroot?
Click to expand...
Click to collapse
I'm pretty sure all you have to do is not flash root when you're done flashing your custom rom of choice and you would be good to go, i could be wrong though. Or have you tried hiding root from your corporate app in magisk before? I
prv8droid said:
Is this possible?
I unfortunately have to install a corporate app which won't install if the phone is rooted. Is it possible to put a custom rom and unroot?
Click to expand...
Click to collapse
jr313 said:
I'm pretty sure all you have to do is not flash root when you're done flashing your custom rom of choice and you would be good to go, i could be wrong though. Or have you tried hiding root from your corporate app in magisk before? I
Click to expand...
Click to collapse
JR313 is exactly right :good: However, some of the custom rom features may not work without root. Then again, I've never tried it, so I could be wrong as well ?
prv8droid said:
Is this possible?
I unfortunately have to install a corporate app which won't install if the phone is rooted. Is it possible to put a custom rom and unroot?
Click to expand...
Click to collapse
Use Magisk to hide root (Magisk Hide in the Magisk Manager app) for the corporate app, the same as hiding Android Pay etc from root. Just make sure you hide it before you open the app.