I was wondering if it's possible to root, install a custom recovery, ROM and kernel, and then unroot with that setup? I would like the performance improvements that come with a custom ROM and kernel, but need to be unrooted to run some apps (one being an app for work). Any help is greatly appreciated.
Sent from my Nexus 7 using Tapatalk 2
psousa781 said:
I was wondering if it's possible to root, install a custom recovery, ROM and kernel, and then unroot with that setup? I would like the performance improvements that come with a custom ROM and kernel, but need to be unrooted to run some apps (one being an app for work). Any help is greatly appreciated.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I believe that you could use the SuperSU application to disable root.
If that doesn't work, OTArootkeeper will actually allow you to make a backup of your root and then delete the regular root. When you need root again you just restore the backup.
theaftermath said:
I believe that you could use the SuperSU application to disable root.
If that doesn't work, OTArootkeeper will actually allow you to make a backup of your root and then delete the regular root. When you need root again you just restore the backup.
Click to expand...
Click to collapse
So disable root with SuperuserSU, then I could uninstall SuperuserSU? I believe the app for work will detect if Superuser or SuperuserSU are installed.
Sent from my Nexus 7 using Tapatalk 2
inksxpe pas
psousa781 said:
So disable root with SuperuserSU, then I could uninstall SuperuserSU? I believe the app for work will detect if Superuser or SuperuserSU are installed.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I kinda doubt it would notice. If root is disabled than it shouldn't be able to access whether or not other apps are installed. But you probably want to wait for a second opinion on that. I'm knowledgeable but I'm not a guru.
Thanks man, I appreciate the help.
Sent from my Nexus 7 using Tapatalk 2
You mentioned "custom kernel".
As near as I can tell some kernel devs have been shipping just a bare kernel (zImage, etc), and others provide flashable boot images - that is, kernel + ramdisk.
If the "kernels" which include a ramdisk do something typical like set "ro.secure = 0" as a convenience for adb users (in /default.prop et cetera), and your app which "checks for root" inspects this property, then even though you removed SuperSU/Superuser and their corresponding "su" binaries this (as a single example) might cause the root check to still fail.
I guess the point is that you would need to know what exactly the app in question is checking for to know whether your efforts will succeed. It could be one or more of any of these things:
- bootloader lock state (only if it is detectable from the OS, not sure if this can be done)
- presence of a /system/xbin/su or /system/bin/su file
- presence of SuperSU.apk or Superuser.apk in /system/app
- ro.secure value (or others properties such as adb settings etc)
- relative timestamp checks on certain /system directories.
- TiBu installed as an app?
- other ?
I think that it is feasible to detect a non-stock recovery or boot kernel but not very easily with a non-root app - so you can probably get away with having a custom recovery and an unlocked bootloader too.
No way to know in advance though.
theaftermath said:
I kinda doubt it would notice. If root is disabled than it shouldn't be able to access whether or not other apps are installed. But you probably want to wait for a second opinion on that. I'm knowledgeable but I'm not a guru.
Click to expand...
Click to collapse
This maybe stupid but I had the same issue with my xoom and a few apps not working while rooted. The solution was to go into system then apps and rename the superuser to something else and that fooled the program and it didn't sect root. Maybe try that?
Sent from my Nexus 7 using xda premium
Related
In my company we use the Exchange client «Good for Enterprise» on our private mobile devices. The problem is that it is setup to refuse execution if it detects a rooted device.
I prefer to use custom ROMs, need mostly Titanium Backup, custom notification bar symbols and CWM functionality. Is there a way to temporarily remove root (superuser.apk, su, busybox) so that it can be re-applied without having to use a PC (adb, Odib)?? Tried deleting the files but they seem to be recreated by the Kernel or some scripts (atm I am using ARIO ROM with Semaphore kernel).
Thanks for your thoughts!
Sent from my GT-I9000 using XDA
dachau said:
In my company we use the Exchange client «Good for Enterprise» on our private mobile devices. The problem is that it is setup to refuse execution if it detects a rooted device.
I prefer to use custom ROMs, need mostly Titanium Backup, custom notification bar symbols and CWM functionality. Is there a way to temporarily remove root (superuser.apk, su, busybox) so that it can be re-applied without having to use a PC (adb, Odib)?? Tried deleting the files but they seem to be recreated by the Kernel or some scripts (atm I am using ARIO ROM with Semaphore kernel).
Thanks for your thoughts!
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
http://www.xda-developers.com/andro...nti-root-apps-without-losing-root-completely/
maybe this'll help..
Can we use contacts.apk from cyanogenmod in stock rom?....if we can,anyone please upload it for our phone.I don't like the stock contacts.My phone is at&t model and Android 4.1
Sent from my MB886
No help for me.....why? Did I asked something wrong?
Sent from my MB886
SanthosneoV said:
No help for me.....why? Did I asked something wrong?
Sent from my MB886
Click to expand...
Click to collapse
I think u posted in wrong place. Btw, why dont u take it from cm10 and try then let us know whether it works or not.
Sent from my MB886 using xda app-developers app
SanthosneoV said:
Can we use contacts.apk from cyanogenmod in stock rom?....if we can,anyone please upload it for our phone.I don't like the stock contacts.My phone is at&t model and Android 4.1
Sent from my MB886
Click to expand...
Click to collapse
Have fun.
penser said:
Have fun.
Click to expand...
Click to collapse
On the stock AT&T firmware for the AHD (4.1), you only need to root the phone and remove the vendor apps and the AT&T Addressbook and Yellow Pages apks from the phone and Contacts will load up without any carrier reference. It's actually pretty cool to see how easy it is to remove carrier customizations from this build and look somewhat vanilla.
It should work...make sure you clear cache before you install. And you cant just install it, you have to copy with a root explorer and set permissions correct...
wamsille said:
On the stock AT&T firmware for the AHD (4.1), you only need to root the phone and remove the vendor apps and the AT&T Addressbook and Yellow Pages apks from the phone and Contacts will load up without any carrier reference. It's actually pretty cool to see how easy it is to remove carrier customizations from this build and look somewhat vanilla.
Click to expand...
Click to collapse
I try with root browser but appears uninstall unsuccessful. What I did wrong?
Need change permissions?
Need another program?
I don't find vendor apps.
My phone is only root.
If you are running the stock ROM with root access, you need to download and install Root Explorer. It isn't a free app but I'm all for supporting development. (Note: I am in no way affiliated with any paid apps on the Play Store)
Open Root Explorer and navigate to System\Vendor. There is a directory \apps that you can just delete, which will elminate most of the pre-installed applications. Root Explorer will ask for root permission, which will open up your SU app. Grant permissions, then Root Explorer will warn you that you are still in R/O mode and confirm that you want R/W access to delete or move the files. Grant access again and the operation will be complete. You aren't done though, as the rest of the apps are loaded in System\apps, so go up a folder back to \System then open up \apps. You want the AT&T phonebook sync, Ready2Go and Yellow Page apps for starters to be deleted. Caution, you will see a lot of force closures but this is to be expected. You'll have leftover entries listed on downloads in App Manager, which you can delete manually one at a time.
If you don't want QuickOffice, you can remove the apk for it and any other preinstalled application that came with the phone. Keep in mind that you will need to be conservative in what you remove because one wrong move/delete could cause you to lose functionality. You should notice a much cleaner app drawer for starters, plus the Contacts app looks like Jelly Bean / ICS without the Yellow Pages icon.
At this point you should have a fairly clean 4.1.1 stock install on the Atrix. What I would like to do at some point is make a 4.1.1 based ROM using the AT&T update, just removing Blur and making everything vanilla. After that make a vanilla 4.0 ROM that is compatible with the Lapdock. I may have moved onto the Nexus 4 but something has to be said for this phone's build quality.
Thank You.:good:
Just upgraded my phone to 6.0.1 and I went to uninstall a couple of system apps I never use (Google + and Google Fit). Normally, I just uninstall them with Titanium Backup and then reboot the phone and they're gone for good, at least until I flash the next stock rom update.
This time however, while Titanium Backup says the apps are uninstalled, after I reboot the phone they're still there, and in fact are once again showing as active in Titanium Backup. I've tried doing this a number of times, all with the same result.
I don't know if this is something model specific, specific to 6.0.1, or if it's just something with my phone. Never had this trouble before, which leads me to think that Google changed something in 6.0.1, and I will need to wait for Titanium Backup to update their app.
Anyone else experiencing these issues, or have any advice on how I can get rid of these unwanted apps?
just use any root file explorer, go to /system/app/ or /system/priv-app/, delete whichever app you dont need, reboot, and problem solved?
simms22 said:
just use any root file explorer, go to /system/app/ or /system/priv-app/, delete whichever app you dont need, reboot, and problem solved?
Click to expand...
Click to collapse
Tried that (using both ES File Explorer and X-plore). In both cases I get a message saying the file/folder can't be deleted.
The only other thing I can think of is that I'm now using a systemless root. Not sure if that would make a difference or not, but I believe that's different from when I was on 6.0.
Geese1 said:
Tried that (using both ES File Explorer and X-plore). In both cases I get a message saying the file/folder can't be deleted.
The only other thing I can think of is that I'm now using a systemless root. Not sure if that would make a difference or not, but I believe that's different from when I was on 6.0.
Click to expand...
Click to collapse
do you have busybox installed? do you want to try a custom kernel? oh, big question, are you sure that you have root???
Titanium Backup wouldn't work for me either with systemless root on 6.0.1. But I was able to delete some system apps using Root Explorer so I could install xposed.
Sent from my Nexus 6 using Tapatalk
simms22 said:
do you have busybox installed? do you want to try a custom kernel? oh, big question, are you sure that you have root???
Click to expand...
Click to collapse
Have Busybox installed (was part of the image I flashed), but I'd rather not get into flashing a custom kernel or using a custom ROM. Really just prefer the stock ROM, and to be truthful the only real reason I root my devices is so t hat I can have an ad-blocker, and to remove unwanted apps that can't normally be uninstalled.
Brokenbit said:
Titanium Backup wouldn't work for me either with systemless root on 6.0.1. But I was able to delete some system apps using Root Explorer so I could install xposed.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Looked into that, and if I was looking at the right app, it's a $3.99 cost to get it. I don't mind paying for apps, but not sure I want to go this route just yet if I'm only going to use it for this one instance. Will definitely keep it in mind though if no other options become available.
Glad to hear I'm not the only one having trouble though - makes it more likely the developers will work on getting a fix for the issue.
When in doubt on this kinda stuff try setting kernel to permissive with the SELinux changer app. Also you can try deleting them from recovery if you've got TWRP.
StykerB said:
When in doubt on this kinda stuff try setting kernel to permissive with the SELinux changer app. Also you can try deleting them from recovery if you've got TWRP.
Click to expand...
Click to collapse
Heh, what you're proposing goes a bit over my head, so I"ll have to do a bit of investigating if it comes down to it. It's not crucial that I get rid of these two apps, just something I've been doing since I never have any intention of using them. If the problem never gets sorted out by the developers however, and the aggravation gets to be too much, I'll take a serious look at the two options you've proposed.
StykerB said:
When in doubt on this kinda stuff try setting kernel to permissive with the SELinux changer app. Also you can try deleting them from recovery if you've got TWRP.
Click to expand...
Click to collapse
SELinux changer app doesnt work with 6.01. and SuperSu v2.62. It doesnt recognize the permissions?
---------- Post added at 08:53 PM ---------- Previous post was at 08:52 PM ----------
StykerB said:
When in doubt on this kinda stuff try setting kernel to permissive with the SELinux changer app. Also you can try deleting them from recovery if you've got TWRP.
Click to expand...
Click to collapse
SELinux changer app doesn't work with 6.0.1 and SuperSu v2.62 ... It doesn't recognize the permissions? ... Mine shows greyed out and an error.
Deckard_9732 said:
SELinux changer app doesnt work with 6.01. and SuperSu v2.62. It doesnt recognize the permissions?
---------- Post added at 08:53 PM ---------- Previous post was at 08:52 PM ----------
SELinux changer app doesn't work with 6.0.1 and SuperSu v2.62 ... It doesn't recognize the permissions? ... Mine shows greyed out and an error.
Click to expand...
Click to collapse
Huh no kidding? I've never had to use it since I started using the v4a permissive mediaserver zip. Yea I guess if that's the case you'll have to do it in recovery or wait for apps to be updated
None of these options worked for me. What did work, was using SDMaid to uninstall the apps. I got rid of Drive, Docs, Sheets, and Slides. It made enough space to install busybox, xposed, and adaway's hostfile.
On a stock rom you can't remount system as rw, so you can't delete stuff. So uninstall will miss its last step, deleting the apk, so reboot installs it again.
But you can boot into TWRP, mount system and have your way with it.
Sent from my Nexus 6 running cyosp using Tapatalk
istperson said:
On a stock rom you can't remount system as rw, so you can't delete stuff. So uninstall will miss its last step, deleting the apk, so reboot installs it again.
But you can boot into TWRP, mount system and have your way with it.
Sent from my Nexus 6 running cyosp using Tapatalk
Click to expand...
Click to collapse
With a permissive kernel this is not needed, correct istperson?
Droidphilev said:
With a permissive kernel this is not needed, correct istperson?
Click to expand...
Click to collapse
Yes, I have a very permissive kernel, and both in terminal and root explorer.
istperson said:
Yes, I have a very permissive kernel, and both in terminal and root explorer.
Click to expand...
Click to collapse
Ok, i will stay on permissive kernels too not to have these problems, thanks
Disregard this found my answer in the form
Hello, I bought my Nexus 6 from Amazon (US version) unlocked. I joined Project Fi which requires installation of the Project Fi app. Now I am leaving Project Fi going back to Verizon but I cannot remove the Project Fi app. I'm only able to uninstall all updates, and disable the app. Clearing the cache, disabling the app with SIM removed, rebooting with no SIM, etc. Nothing removes it. I also tried to remove it via the Play Store by holding on it and removing it with the X at the upper right. Well there is no way to select it in the play store, it can only be "enabled".
Project Fi support is of course useless. I know this app did not come on my phone unless it was hidden in a system partition until activation?
Any ideas on how to remove this app totally? I want to get it removed so I can get back on Verizon without it causing issues trying to interact with the SIM. Thank you
wats6831 said:
Hello, I bought my Nexus 6 from Amazon (US version) unlocked. I joined Project Fi which requires installation of the Project Fi app. Now I am leaving Project Fi going back to Verizon but I cannot remove the Project Fi app. I'm only able to uninstall all updates, and disable the app. Clearing the cache, disabling the app with SIM removed, rebooting with no SIM, etc. Nothing removes it. I also tried to remove it via the Play Store by holding on it and removing it with the X at the upper right. Well there is no way to select it in the play store, it can only be "enabled".
Project Fi support is of course useless. I know this app did not come on my phone unless it was hidden in a system partition until activation?
Any ideas on how to remove this app totally? I want to get it removed so I can get back on Verizon without it causing issues trying to interact with the SIM. Thank you
Click to expand...
Click to collapse
sure, its very easy, but you need root to remove it, since its a system app. just use a root file explorer to find it in /system/app/, then delete it and reboot. when you boot up, it'll be gone. or, you can perform a factory reset, then boot up first time with your Verizon sim in the phone. then the app will go back into hiding in your system partition.
simms22 said:
sure, its very easy, but you need root to remove it, since its a system app. just use a root file explorer to find it in /system/app/, then delete it and reboot. when you boot up, it'll be gone. or, you can perform a factory reset, then boot up first time with your Verizon sim in the phone. then the app will go back into hiding in your system partition.
Click to expand...
Click to collapse
Thank you sir. Just so that I am clear: I need to obtain root via this guide: http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
which will wipe the device. I can then use any root file explorer app to delete the system/app/folder
It's been a while since I've worked on phone but I've been rooting/flashing since the OG DROID. I just want to be very clear before I wipe my device. Thank you again for any clarification.
wats6831 said:
Thank you sir. Just so that I am clear: I need to obtain root via this guide: http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
which will wipe the device. I can then use any root file explorer app to delete the system/app/folder
It's been a while since I've worked on phone but I've been rooting/flashing since the OG DROID. I just want to be very clear before I wipe my device. Thank you again for any clarification.
Click to expand...
Click to collapse
well.. yes and no. root has slightly changed since 6.0.1. and i mean slightly.
1. unlock your bootloader(which will wipe your device, so move what you need to your computer). boot up once after this as well.
2. flash the twrp recovery to your phone via fastboot.
3. flash any nexus 6 custom kernel with twrp(new step)
4. flash the latest SuperSU zip(for root)
5. reboot.
the custom kernel will let you obtain root, its needed in there as of 6.0.1. oh, then don't delete the /system/app/ folder, delete the google fi app folder with its apk inside. otherwise you'll delete all your system apps.
simms22 said:
well.. yes and no. root has slightly changed since 6.0.1. and i mean slightly.
1. unlock your bootloader(which will wipe your device, so move what you need to your computer). boot up once after this as well.
2. flash the twrp recovery to your phone via fastboot.
3. flash any nexus 6 custom kernel with twrp(new step)
4. flash the latest SuperSU zip(for root)
5. reboot.
the custom kernel will let you obtain root, its needed in there as of 6.0.1. oh, then don't delete the /system/app/ folder, delete the google fi app folder with its apk inside. otherwise you'll delete all your system apps.
Click to expand...
Click to collapse
Ok. So do I still obtain root with the fastboot procedure linked in the FAQ? If not, can you link to a current guide for unlocking the bootloader and flashing the TWRP. I'm also not sure where to get a custom kernal, or which one. After that I think I got it. Thanks.
wats6831 said:
Ok. So do I still obtain root with the fastboot procedure linked in the FAQ? If not, can you link to a current guide for unlocking the bootloader and flashing the TWRP. I'm also not sure where to get a custom kernal, or which one. After that I think I got it. Thanks.
Click to expand...
Click to collapse
you can always check if you have root by downloading and installing a terminal emulator app from the play store, then open it and type su. if you have root, it'll return a #
simms22 said:
you can always check if you have root by downloading and installing a terminal emulator app from the play store, then open it and type su. if you have root, it'll return a #
Click to expand...
Click to collapse
I don't have root, I've never touched this phone. I'm just trying to make sure I understand the correct way to obtain root in 6.0.1. Your post made it sound like maybe that guide I linked wasn't the current way?
wats6831 said:
I don't have root, I've never touched this phone. I'm just trying to make sure I understand the correct way to obtain root in 6.0.1. Your post made it sound like maybe that guide I linked wasn't the current way?
Click to expand...
Click to collapse
no, it is the correct way. I just added that a kernel has to be flashed as well. but chainfire might have fixed that, I heard that a few hours ago. if he did, then the method is correct. I rooted over a year ago, my n6. so its been a while :angel:
I understand. Thank you for making that clear. I can't even root due to USB driver issues...not sure why. I followed the steps exactly.
I've switched to SuperSU 2.66, so I've just checked it, and you don't need a custom kernel for it anymore, just flash ir frim TWRP.
Sent from my Nexus 6 running cyosp using Tapatalk
simms22 said:
sure, its very easy, but you need root to remove it, since its a system app. just use a root file explorer to find it in /system/app/, then delete it and reboot. when you boot up, it'll be gone. or, you can perform a factory reset, then boot up first time with your Verizon sim in the phone. then the app will go back into hiding in your system partition.
Click to expand...
Click to collapse
So I unlocked, and rooted with Wugster and SUperSU. I booted first time with my Verizon SIM and project Fi app is still there. I can see it in my apps list, but i can't see it in the system/app/ any clue where it is? thanks.
It's in #/data/user/0/com.google.android.apps.tycho
somewhere but i can't find it
wats6831 said:
So I unlocked, and rooted with Wugster and SUperSU. I booted first time with my Verizon SIM and project Fi app is still there. I can see it in my apps list, but i can't see it in the system/app/ any clue where it is? thanks.
It's in #/data/user/0/com.google.android.apps.tycho
somewhere but i can't find it
Click to expand...
Click to collapse
it has a weird name, not fi. its like tycho or something similar. if you look into that folder, its there.
simms22 said:
it has a weird name, not fi. its like tycho or something similar. if you look into that folder, its there.
Click to expand...
Click to collapse
ok looking in that folder, i see nothing in any subfolder except for a file called "Switching.xml"
Should I delete the whole tycho folder?
The ProjectFi app is "Tycho"
You can also remove GCS (Google Connectivity Services). Only ProjectFi uses it for joining open wifi networks and the Google VPN, among other things. Totally useless unless you're a Fi'er.
Gandalf said:
The ProjectFi app is "Tycho"
You can also remove GCS (Google Connectivity Services). Only ProjectFi uses it for joining open wifi networks and the Google VPN, among other things. Totally useless unless you're a Fi'er.
Click to expand...
Click to collapse
So to be clear should I delete the whole Tycho folder? I don't want the app to show up at all in my app list.
Can GCS be removed or does it have to be deleted in /system/app? thanks.
wats6831 said:
So to be clear should I delete the whole Tycho folder? I don't want the app to show up at all in my app list.
Can GCS be removed or does it have to be deleted in /system/app? thanks.
Click to expand...
Click to collapse
You can delete it but I would recommend either Disabling it in Settings > Apps or using Titanium Backup to freeze it. Assuming you're running stock, mounting system rw will cause issues with verity
Hello I would like to know if it is posible.
I want to use some apps like titanium on my unrooted android 6
I have installed TWRP
so I think flashing the aps from zip in TWRP, setting root permission to the apps and placed on system apps, they are going to work like root?
Please help me, thanks!
??
publi0147 said:
Hello I would like to know if it is posible.
I want to use some apps like titanium on my unrooted android 6
I have installed TWRP
so I think flashing the aps from zip in TWRP, setting root permission to the apps and placed on system apps, they are going to work like root?
Please help me, thanks!
Click to expand...
Click to collapse
No, that isn't how that works, sorry. There is no such thing as "setting root permission". Simply moving the apps to /system won't allow them to get root, because you aren't rooted.
npjohnson said:
No, that isn't how that works, sorry. There is no such thing as "setting root permission". Simply moving the apps to /system won't allow them to get root, because you aren't rooted.
Click to expand...
Click to collapse
and why other preinstalled apps can work as root?
publi0147 said:
and why other preinstalled apps can work as root?
Click to expand...
Click to collapse
They don't... Because root doesn't exist on stock devices.
They do run as the system user, but that isn't enough for any root apps to function alone, as root apps rely on writing to non-user writable directories, which the system user cannot do.