[Q] Generic steps for un-rooting a custom ROM - General Questions and Answers

Can someone shed some light onto what needs to be done to un-root a custom ROM? Basically I have a crappy old phone which I decided to repurpose for working with an MDM solution my company is using(Citrix Worx Home/Zenprise). I can't use the stock ROM because it's Gingerbread which is not supported by the Citrix app, so I had to flash CM9 on the phone.
The problem is that the app checks for root access. I tried using some tools like "Hide my Root" without success. Even if the SU app is removed, the root detection still triggers.
So I am looking for generic steps of what can be done to remove root access from a ROM which came rooted. Doing a search the only posts I find are more relevant to people who want to return to stock ROM and not unroot a custom ROM. Are there other things that need to be modified besides removing the SuperUser apk?

Try this app..
https://play.google.com/store/apps/details?id=com.universal.unroot
Costs a little but hope it's worth for it
Hit thanks rather than typing it

Related

[Q] Root and then update or viceversa?

Hi, i got my first android and i´m VERY happy with it.
Although, i still want to make two things to make it better. Eliminate bloatware and update to gingerbread.
My confusion is that, to eliminate bloat i know i must ROOT, but should i root BEFORE updating or AFTER updating?
I have another doubt, will rooting affect functions of my phone like serving as a AP (access point) or any other???
Note: i do have the SGH-T959V (T-mobile´s) BUT it is unlocked and as i live abroad i´m using it with another telco. (Will rooting or updatind affect my conectivity to my other telco?)
THANKS in advance
Xavier
You need to first root in order to install a custom recovery, then the root should persist across different ROMs you flash.
I only encountered one ROM where I lost root after flashing, but I think that is rare.
Can ROOT be undone???
After the device has been rooted, if somethings comes out wrong, can i UNROOT it? and leave the phone as brand new???
Thanks
Yes, but I don't know how for the SGS4G.
For my Huawei U8100 it was as simple as reflashing the stock ROM, but for the SGS4G I don't think it is that easy. The closest thing to a stock ROM I found was a rooted stock ROM.
flash a stock rom with odin and use superoneclick root to unroot the phone. simple at that.

Possible to unroot a CM9 ROM to work with Good?

I'm trying to get Good to work with my phone but the method I used to try an unroot my phone was unsuccessful. I don't mind having it restricted. I need to unroot because Good finds all traces of the rooted files and then flags your account as rooted user, locking you out of the application.
youll have to remove the su and the superuser app. i read in a different forum that it will work to trick Good into working.
Sent from my Nexus S 4G

[Q] Root, Unroot and Good for Enterprise

I have to run Good for Enterprise for work email. My company has a root restriction in place where I can not use Good if my phone is rooted. The app looks for SU and Superuser.apk. On my old phone (LG Revo) I could root, put a custom ROM on, unroot and then use Good with no problems. When I wanted to change the ROM, I would just reroot the custom ROM and do the whole process over. All the rooting and unrooting was through the ADB shell.
Is this possible to do on the SIII? Or does anyone know of a way to hide root from Good?
Thanks for your help.
ms157858 said:
I have to run Good for Enterprise for work email. My company has a root restriction in place where I can not use Good if my phone is rooted. The app looks for SU and Superuser.apk. On my old phone (LG Revo) I could root, put a custom ROM on, unroot and then use Good with no problems. When I wanted to change the ROM, I would just reroot the custom ROM and do the whole process over. All the rooting and unrooting was through the ADB shell.
Is this possible to do on the SIII? Or does anyone know of a way to hide root from Good?
Thanks for your help.
Click to expand...
Click to collapse
I've been struggling with the same issue; I was able to use an app called "OTA RootKKeeper" to protect root and make it appear as if my phone was not rooted. In order to make this work I had to uninstall Good, protect the root (unroot) with the app, and the go through the setup process with Good all over again. I was running CM10 jelly bean for a couple of weeks and using GFE without issue.
In interest of full disclosure I recently had to revert back to the stock ROM and this workaround was not successful. So I'm not sure if the app is checking for only for root access or if they now also look for the superuser.apk as you described.
tag2480 said:
I've been struggling with the same issue; I was able to use an app called "OTA RootKKeeper" to protect root and make it appear as if my phone was not rooted. In order to make this work I had to uninstall Good, protect the root (unroot) with the app, and the go through the setup process with Good all over again. I was running CM10 jelly bean for a couple of weeks and using GFE without issue.
In interest of full disclosure I recently had to revert back to the stock ROM and this workaround was not successful. So I'm not sure if the app is checking for only for root access or if they now also look for the superuser.apk as you described.
Click to expand...
Click to collapse
Should help. http://forum.xda-developers.com/showthread.php?t=2040163
My company uses Zenprise which is similiar. It checks for root. I am runnong supersu. I just disable supersu within the app, which removes the binary and essentially unroota the phone.
If I need to do anything that requires roos I simply remove zemprise as a device admin and re-enable supersu.
Hasnt failed me yet.
Sent from my SCH-I535 using xda app-developers app

[Q] [NOT ASKING FOR HOWTO] A query about CM and rooting.

Hello XDA.
For a while now I've been thinking about rooting and adding a custom ROM to my phone. It seems like fun and I'd like to get involved.
Recently (as in I have no idea) Cyanogenmod released a new update that doesn't require the user to root their phone in order to install CM. However rooting allows full administrative access which is something that I'd like to have. Does CM root in the process of installation or does CM by itself have enough capability and features so you don't require rooting at all? If not, do people still root their phones before installing CM?
For starters I'm running Android version 4.1.2, if that will help in anyway possible.
taetiem said:
Hello XDA.
For a while now I've been thinking about rooting and adding a custom ROM to my phone. It seems like fun and I'd like to get involved.
Recently (as in I have no idea) Cyanogenmod released a new update that doesn't require the user to root their phone in order to install CM. However rooting allows full administrative access which is something that I'd like to have. Does CM root in the process of installation or does CM by itself have enough capability and features so you don't require rooting at all? If not, do people still root their phones before installing CM?
For starters I'm running Android version 4.1.2, if that will help in anyway possible.
Click to expand...
Click to collapse
Could you post a link to the source saying you don't need root to install cm? You can't actually post a link because you're brand new, but post the url anyway.
CM in itself does not root the device. The process of rooting is simply granting administrative permission as you already mentioned. It has root managing applications (such as supersu) installed, and a lot of its built in features require root access. I can't think of any instance where you could install the rom without root permission because it needs to change specific files to run, such as the kernel and system partition. This by default can't be changed without rooting the device.
Rooting is very easy and has to be done first, then you have to unlock the bootloader, then you can install custom roms. As long as you aren't on the 4.3 update.
Sent from my SCH-I535 using Tapatalk 2
BadUsername said:
Could you post a link to the source saying you don't need root to install cm? You can't actually post a link because you're brand new, but post the url anyway.
CM in itself does not root the device. The process of rooting is simply granting administrative permission as you already mentioned. It has root managing applications (such as supersu) installed, and a lot of its built in features require root access. I can't think of any instance where you could install the rom without root permission because it needs to change specific files to run, such as the kernel and system partition. This by default can't be changed without rooting the device.
Rooting is very easy and has to be done first, then you have to unlock the bootloader, then you can install custom roms. As long as you aren't on the 4.3 update.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
It's on the wiki under "/w/CyanogenMod_Installer"
Code:
Do I need to root my phone before installing?
No. You can have a rooted phone, or not. The installer doesn't care. However, to be in a supported configuration, you need to be running a stock ROM.
taetiem said:
It's on the wiki under "/w/CyanogenMod_Installer"
Code:
Do I need to root my phone before installing?
No. You can have a rooted phone, or not. The installer doesn't care. However, to be in a supported configuration, you need to be running a stock ROM.
Click to expand...
Click to collapse
OK, so no, this will not work on our device. Specifically because we have a locked bootloader.
A lot of the coding in the cyanogenmod wiki is extremely confusing. Even doing something as simple as installing the rom written on that website looks very unnecessary to me. There are much easier ways to do it that don't involve such complicated processes, with such potential to brick a device.
I feel like a lot of the developers know how to use heimdall which can write to any device. Our device can use Odin though which is much more user friendly. When they write guides, they write for many devices, and they're unaware of simpler methods on each phone.
In a nutshell, I'd follow guides here on xda on how to root and install custom roms. Just make sure to follow the correct guides for your baseband and you should be good to go. Once you root and unlock the bootloader, you can install any custom rom you want simply by flashing in recovery.
Sent from my SCH-I535 using Tapatalk 2
taetiem said:
It's on the wiki under "/w/CyanogenMod_Installer"
Code:
Do I need to root my phone before installing?
No. You can have a rooted phone, or not. The installer doesn't care. However, to be in a supported configuration, you need to be running a stock ROM.
Click to expand...
Click to collapse
I agreed with Badusername, to be safe you should just stay within Verizon S3 thread and here is the info how to root/unlock 4.1.2 bootloader, install custom recovery then flash custom rom http://forum.xda-developers.com/showthread.php?t=2046439

[Q] Security of rooted android devices

Hello!
I have some basic questions about the security of rooted android devices. I'm running Cyanogenmod 11 actually on my SGS3. Of course I rooted it to install custom Recovery and ROM. So is there any possibility for an App to get Root Access without recognition?
I dont need the Root access anymore, I only wanted to install Cyanogenmod and thats it. What to do to fully unroot Cyanogen?
Another question:
If i have enabled "only install from trusted sources" am I safe? Or could there be sort of drive-by-downloads for example on this site sometimes i get the pop-up "your phone has (13) viruses, click ok ...".
Yeah thats it, I'm a little bit paranoid especially according to my passwords, are they safe!?
Thanks a lot and Greets from Germany!
Can anyone help me?
RedMr said:
Hello!
I have some basic questions about the security of rooted android devices. I'm running Cyanogenmod 11 actually on my SGS3. Of course I rooted it to install custom Recovery and ROM. So is there any possibility for an App to get Root Access without recognition?
I dont need the Root access anymore, I only wanted to install Cyanogenmod and thats it. What to do to fully unroot Cyanogen?
Another question:
If i have enabled "only install from trusted sources" am I safe? Or could there be sort of drive-by-downloads for example on this site sometimes i get the pop-up "your phone has (13) viruses, click ok ...".
Yeah thats it, I'm a little bit paranoid especially according to my passwords, are they safe!?
Thanks a lot and Greets from Germany!
Click to expand...
Click to collapse
First, how do you define 'safe'? Nothing is ever really 'safe'.
I'm not sure if it is possible for an app to get root permissions without having the device 'rooted' first.
If you see your device restart(ed), it could have been done by some exploit in an app. But you have to have downloaded and run that app first. But don't rely on my answer on this one, my knowledge of this is not enough to give you an proper satisfying answer.
To unroot your phone just bring the phone back to factory state. This will reset everything on your phone back to normal.
If you want to be really sure, flash the original rom with KIES, which will restore your phone back to it was when you bought it.
Then put some recovery on it like TWRP or CWM and install CyanogenMod with it.
Maybe you could even use the stock Samsung recovery to install CyanogenMod, but I've never tried this so I am not sure this will work.
For the 2nd question:
The popups you are referring to are probably just advertisements. The same crappy things you get on a pc without an adblocker.
But for an adblocker to work, you probably need root.
From my perspective, there is no really being 'safe' without taking the necessary security precautions, but in most cases they require root access to work properly.
About your passwords:
If you are really paranoid about them being stolen from your phone, don't store them, period.
I would suggest AFWall+, which is a firewall based on IPTables (which are fully configurable to your own liking) and don't give any apps internet that don't need it.
Hope I could be of some assistance.

Categories

Resources