Any idea how to remove/disable KNOX on SM-T900 v5.11? - Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble

I successfully installed the official 5.11 ROM for my SM-T900 (wifi model) via Kies 3 and rooted it and also was able to get TWRP installed. I've seen several threads on removing KNOX but the option to uninstall does not exist for the KNOX app in the 5.11 ROM. I tried removing using Titanium Backup, but on the next boot, the Touchwiz interface would consistently crash forcing a TWRP restore. Unfortunately the TWRP restore also seemed to be imperfect as Touchwiz would also crash after the restore. I had to reinstall the v5.11 ROM via Kies and re-root and restore apps from Titanium Backup. Right now, it seems stable but from what I have read, KNOX can cause all kinds of issues so if there is a foolproof way to remove it, I'd love to hear it.
Thoughts?

hello
some root programs remove knox
regards

Rooting, might have possibly been one thing. You could have rooted your device with something like Towelroot, and still have, had access to Knox, again. (Once you were in rooted that is.).
But, the moment you flashed TWRP, (Or, indeed any other Recovery), to your Device.... Then it's automatically gone FOREVER!
As you would have tried the so called Knox Flag. So as it is you'll never be able to use Knox again. If you wish to be stuck on an older Stock ROM, then... Just use something like ES File Explorer, and locate the *.apk (Inside either ~/data/apps - ~/system/apps), and just delete it there, like you would any other piece of Bloatware.

Related

[Q] Unroot a custom rom?

Hey All,
For Work I need to install the app Good for Enterprise so I can get my calendar and work email pushed to my phone. Unfortunately it is company policy that it be unrooted. Presumeably a security issue. Is it possible to unroot a custom rom? i'd rather not go back to stock for the simple reason of app storage. I love A2SD+ and being able to have as many apps as I want installed. Also nandroid backups, that would go away without root too wouldn;t it? Can I just remove the SU.apk? Will that suffice to be "unrooted"? Is that even possible?
Tweak_four17 said:
Hey All,
For Work I need to install the app Good for Enterprise so I can get my calendar and work email pushed to my phone. Unfortunately it is company policy that it be unrooted. Presumeably a security issue. Is it possible to unroot a custom rom? i'd rather not go back to stock for the simple reason of app storage. I love A2SD+ and being able to have as many apps as I want installed. Also nandroid backups, that would go away without root too wouldn;t it? Can I just remove the SU.apk? Will that suffice to be "unrooted"? Is that even possible?
Click to expand...
Click to collapse
If you want to unroot, you'll need to go back to stock.
The reason they want unrooted phones, is not so much a security issue, as it is they just don't understand or don't wish to deal with possible problems.
If you backup your apps and data you can run the official RUU, and it will put the original unrooted system to your phone. I don't know other method.
Here are the official ROMs: http://shipped-roms.com/index.php?category=android&model=Bravo
Removing the SU binaries will unroot you, I don't see the need as to why you have to be unrooted though.
apparently you can't use the new movie-rental feature of google's market, when you are rooted.
Is it possible to stick to a custom rom but unroot it, so that google recognises your phone as a not-rooted device and allows you to watch movies from market?
I don't need root-permissions every day - in fact I only need it for Titanium Backup, so deleting su-binaries and/or superuser.apk would be ok - but it must be possible to restore them (via recovery/adb) to run TB.
This probably isn't what google wants you to do since you can download the movie to watch later and if you have a working recovery you probably could get you hands on the downloaded files, but still - would be nice, if this was possible.
Easiest way to unroot and go back to stock is to stick a PB99IMG.zip on your sdcard, and turn your phone on with volume held down
How about this:
1) Go back to stock ROM via RUU
2) Install Good For Enterprise (I guess your IT department installs this, so they can check you are not rooted?)
3) ROOT the stock ROM using UnRevoked
4) Take a Titanium Backup of Good For Enterprise
5) Re-install your custom ROM
6) Restore the Titanium Backup of GfE
-> You have a rooted, custom ROM with GfE installed. And your company will never know!
madcr0w said:
Easiest way to unroot and go back to stock is to stick a PB99IMG.zip on your sdcard, and turn your phone on with volume held down
Click to expand...
Click to collapse
Congratulations for not reading the post. Here is your cookie.
Sent from my HTC Desire using XDA Premium App
Demonic idea
kuroneko007 said:
How about this:
1) Go back to stock ROM via RUU
2) Install Good For Enterprise (I guess your IT department installs this, so they can check you are not rooted?)
3) ROOT the stock ROM using UnRevoked
4) Take a Titanium Backup of Good For Enterprise
5) Re-install your custom ROM
6) Restore the Titanium Backup of GfE
-> You have a rooted, custom ROM with GfE installed. And your company will never know!
Click to expand...
Click to collapse
I like your idea mate! Hahahahahaha....
Edit: Bad boy! Bad bad boy! hahahahahahahaha....
kuroneko007 said:
How about this:
1) Go back to stock ROM via RUU
2) Install Good For Enterprise (I guess your IT department installs this, so they can check you are not rooted?)
3) ROOT the stock ROM using UnRevoked
4) Take a Titanium Backup of Good For Enterprise
5) Re-install your custom ROM
6) Restore the Titanium Backup of GfE
-> You have a rooted, custom ROM with GfE installed. And your company will never know!
Click to expand...
Click to collapse
Has anyone ever tested this?
Or why don't you just delete superuser via adb or android commander
good for enterprise checks for root access/ su every time it starts. It's not an issue of not being able to install the app. It's available for free on the market. The problem is when entering all your info and starting it up, it checks for SU.
I am guessing the best way around this is to install custom rom, set everything up that you need that requires SU/root. Then delete all the su/root related files. Then install Good.
Unfortunately I don't have a list of all the files that have to be deleted for this to work.
There have been reports that other users who have tried this method got it to work but the App stopped syncing after a few days.
List:
/system/app/superuser
/system/bin/su
Sent from my HTC Desire using Tapatalk
I tried this method, renamed the 2 files. It has been working for last 24 hours. I'll update again after a week if it still works..
Edit:
yep this works perfectly.
vvelumm said:
I tried this method, renamed the 2 files. It has been working for last 24 hours. I'll update again after a week if it still works..
Edit:
yep this works perfectly.
Click to expand...
Click to collapse
You renamed SU.apk to SU.apk.bak most likely...
What did you rename the libs file to?
vvelumm said:
good for enterprise checks for root access/ su every time it starts. It's not an issue of not being able to install the app. It's available for free on the market. The problem is when entering all your info and starting it up, it checks for SU.
I am guessing the best way around this is to install custom rom, set everything up that you need that requires SU/root. Then delete all the su/root related files. Then install Good.
Unfortunately I don't have a list of all the files that have to be deleted for this to work.
There have been reports that other users who have tried this method got it to work but the App stopped syncing after a few days.
Click to expand...
Click to collapse
I have rooted my HTC Salsa to get apps2sd which is great, but now my mobile banking app says it will not work on a rooted device, similar to your issue.
I am new to android modding, what commands do i need to enter where to rename the files you mention ?
Thanks in advance.
Mike
wont work good enterprises would more than likely check every time like sky go. you would have to removed a2sd command line i think and all su binarys ( and su.akp ( difficult as its normally a system app and once one of the su has been removed you dont have premition to remove the other/
and to the donunt who said ( the dont understand root) wanna cookie 0. basicly good enterprise is a secure web client for companys to send information to mobiles, i have it on my work (iphone) <<<< scummmy.. anyways as root gives to the option to do what ever you or anyone else wants with the phone in theory you could use that system to breack the law or for instance chaindd could possible put an update in to su that will take data from the company> for google videos ) well with root you can screen record ( basicly ) excuse the spelling im trying to find out how to un root and keep all of my system ui mods and themes and my rom ( proving difficult)
hey I know that this is based on a old post but I have a question did you ever find out how to unroot a custom rom that is pre-rooted?

AT&T Update Help

I received the notification to update this morning to 4.4, however the update started to apply, it kicked it out with a suspected root error. Before applying the update, I had already uninstalled Xposed and unrooted my phone, so I am not sure what set off the root checker. I was wondering what my options were at this point. I know I can flash back to stock, but I would like to avoid this if at all possible. Are there any alternatives, or will I be forced to flash back to stock?
Thanks in advance for your help.
Sent from my LG-E980 using XDA Free mobile app
marksman81 said:
I received the notification to update this morning to 4.4, however the update started to apply, it kicked it out with a suspected root error. Before applying the update, I had already uninstalled Xposed and unrooted my phone, so I am not sure what set off the root checker. I was wondering what my options were at this point. I know I can flash back to stock, but I would like to avoid this if at all possible. Are there any alternatives, or will I be forced to flash back to stock?
Thanks in advance for your help.
Sent from my LG-E980 using XDA Free mobile app
Click to expand...
Click to collapse
I'm having exactly the same issue. I used the one click root method and have unrooted using full unroot in SuperSu.
But it appears full unroot per SuperSu is not enough? I tried root checker in Play Store and it says I am not rooted.
When I run the install it takes a long time to download and gave 0x13e error after the reboot while upgrading.
I also tried the LG PC Suite but it says my phone has the most current version, that is weird...
This OTA seems to be very picky as I was able to update in January 2014 fully rooted....
I wonder if I need to flash the IOT and go through the hassle of reinstalling all apps and config....that's a lot of hassle...
View92612 said:
I'm having exactly the same issue. I used the one click root method and have unrooted using full unroot in SuperSu.
But it appears full unroot per SuperSu is not enough? I tried root checker in Play Store and it says I am not rooted.
When I run the install it takes a long time to download and gave 0x13e error after the reboot while upgrading.
I also tried the LG PC Suite but it says my phone has the most current version, that is weird...
This OTA seems to be very picky as I was able to update in January 2014 fully rooted....
I wonder if I need to flash the IOT and go through the hassle of reinstalling all apps and config....that's a lot of hassle...
Click to expand...
Click to collapse
It is very strange but if I try update recovery it says my battery does not have enough charge. (but battery is at 100%).
I even bought a new battery. I did disable carrier iq spying service before I unroot.
Do I have to enable carrier iq spy in order to upgrade?
View92612 said:
It is very strange but if I try update recovery it says my battery does not have enough charge. (but battery is at 100%).
I even bought a new battery. I did disable carrier iq spying service before I unroot.
Do I have to enable carrier iq spy in order to upgrade?
Click to expand...
Click to collapse
Your phone needs to be 100% stock in order for OTA updates to work. This means:
no custom recovery (CWM, TWRP, etc)
all bloatware must be present
you can't be rooted
all system services must be like stock (this includes carrier IQ, so yes, it needs to be reenabled).
If you can't get the OTA to update after fixing everything, try flashing this:
http://forum.xda-developers.com/showthread.php?t=2760895
This IS the ATT stock ROM, but mildly debloated. The creator only debloated things that could be installed via the Play Store though (like Google Music, Newstand, Books, etc), so there isn't anything like the remote app or something missing.
I flashed this version because I'm too lazy to try and return my phone to pure stock just to get the OTA and then have to reflash root and a custom recovery. Too much work for me.
EDIT: I'm not too sure what's going on with your recovery... I hope someone else can answer that for you.
The easiest thing to do is just flash the 4.4.2 Rom found here: http://forum.xda-developers.com/showthread.php?t=2760895
This route saves allot of time having to flash back to pure stock, wait for your phone to receive the update again, and your phone taking forever to download said update.
spexwood said:
If you can't get the OTA to update after fixing everything, try flashing this:
http://forum.xda-developers.com/showthread.php?t=2760895
This IS the ATT stock ROM, but mildly debloated. The creator only debloated things that could be installed via the Play Store though (like Google Music, Newstand, Books, etc), so there isn't anything like the remote app or something missing.
I flashed this version because I'm too lazy to try and return my phone to pure stock just to get the OTA and then have to reflash root and a custom recovery. Too much work for me.
EDIT: I'm not too sure what's going on with your recovery... I hope someone else can answer that for you.
Click to expand...
Click to collapse
Thanks a lot. This is my wife's phone so she'd rather not to update if a data wipe is required. She's actually quite happy with 4.1.
Anything extra would only be a "good to have". I think I'll keep it on 4.1 until she switches to another phone.
I did download the slightly customized stock rom so that it could be updated in the future.
In fact, I still have stock recovery and the only reason I rooted was to disable carrier iq because it was doing funny things with the GPS, very annoying.
There is no other way to disable carrier iq without rooting...unfortunately...
View92612 said:
Thanks a lot. This is my wife's phone so she'd rather not to update if a data wipe is required. She's actually quite happy with 4.1.
Anything extra would only be a "good to have". I think I'll keep it on 4.1 until she switches to another phone.
I did download the slightly customized stock rom so that it could be updated in the future.
In fact, I still have stock recovery and the only reason I rooted was to disable carrier iq because it was doing funny things with the GPS, very annoying.
There is no other way to disable carrier iq without rooting...unfortunately...
Click to expand...
Click to collapse
If you flash that ROM over her current stock ROM, it should act just like an OTA update and replace the JB OS with the KK OS. It should also replace JB version Google apps with KK ones too.
If you decide to do this, you will need to do 3 things:
1) Make a backup just in case, but then copy the backup to your PC
2) Backup the internal SD to a PC and then format the internal storage. (see *2 below as to why)
3) After the flash, you will need to install the apk from the following thread and use it to install a Kitkat compatible CWM. If you don't while in recovery at any time, you may get stuck in what's called the Recovery Bootloop. Basically, every time you try to reboot the phone into the system (whether from a powered off state or from recovery), you will always go back to recovery.
The only bad thing about this recovery is that it can't read external SD cards, so anything you want to flash/backup will need to be stored on internal storage.
*2) Kitkat uses a different directory system for internal storage. If you were to not wipe the internal SD and managed to get the OTA working, it would wipe the drive for you automatically (which means all your data would be gone!).
However, with this flashable stock ROM, what will happen instead, is that all your data will remain, but will be hidden from view/access. If you have root, you can get it and move it, but it's a pain. Otherwise, your files are hidden from you, yet the system reads X amount of your internal storage as being occupied by "Miscellaneous" files, yet shows that nothing is there.
So just backup the files, then format the internal storage (which will leave her apps alone) before updating. Then flash that ROM and then copy the files back over.
All this is up to you and your wife as to whether or not you deem it to be worth the effort.

Phone acts weird after root

Hello,
I read about all the amazing stuff you can do with rooting and wanted to try it myself. I searched for a while and found a program called kingroot. After reading some positive reviews I decided to go with it. I downloaded the program to my pc and rooted my phone. Once my phone is rooted, super excited me starts downloading apps wich require root. After a while I saw that some weird apps where installed on my phone (porn stuff mostly). I decided to factory reset my phone. Unfortunately, when I booted up my phone again I got some weird adds on my home screen and the weird applications were still there. I couldn't delete them because they were classified as standard apps. I downloaded king root again and unrooted my phone. After it was unrooted I did a factory reset once again. When I started up again, I saw that the weird apps were still there. I downloaden avg Antivirus and did a scan. The two apps who had mallware in them were: com.android.system and com.android.systemui. I rooted my phone again and the problems are still there. Right now I don't know what to do. What would you advice me to do?
Hi !
You have very badly read this s4-mini section ^^
There are others way for to root our phone....
I recomand to flash cwm 6.0.5.1 and then "rootkitv2" (after root ,open SuperSU for to disable knox and update binary in "normal mode" => the root is good ! )
Kigroot it's the "hell" ,a big malware !!! The worst thing ....very very bad !!! There are repports who have said that it's dangerous...
And many known apps who need root din't reconize and like at all the root with this method because there are "kiguser app" !!!! It's not the SuperSU by chainfire...
Now you have to reflash a stock firmware with odin method ....and FULL factories wipes !!! .....and root .
(Or with cwm : format&wipes ...and flash customs roms^^ )
julpo2000 said:
Hello,
I read about all the amazing stuff you can do with rooting and wanted to try it myself. I searched for a while and found a program called kingroot. After reading some positive reviews I decided to go with it. I downloaded the program to my pc and rooted my phone. Once my phone is rooted, super excited me starts downloading apps wich require root. After a while I saw that some weird apps where installed on my phone (porn stuff mostly). I decided to factory reset my phone. Unfortunately, when I booted up my phone again I got some weird adds on my home screen and the weird applications were still there. I couldn't delete them because they were classified as standard apps. I downloaded king root again and unrooted my phone. After it was unrooted I did a factory reset once again. When I started up again, I saw that the weird apps were still there. I downloaden avg Antivirus and did a scan. The two apps who had mallware in them were: com.android.system and com.android.systemui. I rooted my phone again and the problems are still there. Right now I don't know what to do. What would you advice me to do?
Click to expand...
Click to collapse
Those malwares were installed in system partition, this is why Factory Reset (wipe of Data partition) can't solve your problem.
The best advice I can give you is to flash a STOCK ROM then :
1- If you only need root, use the corresponding version for your device of CF-AUTO-ROOT.
2- If you need root & ability to install custom roms, use Odin to flash a custom recovery (CWM or TWRP) through which you can flash SuperSU.

Unroot after Kingo ROOT... failed attempt to recover after surprising factory reset

My fiancé's Xperia Z1 compact suddenly did a surprising factory reset by itself couple days ago. To my surprise SD card has been deleted in the process as well. The phone that in the trouser's pocket. The reason remains mystery...
I recovered most data from the SD card (pictures and music mainly). However, I made attempts to recover the data from the phone as well and among certain options I tried EaseUS MobiSaver. In the process it asked to root the phone using Kingo ROOT... and to be honest if I know what problems it's going to cause, I wouldn't dare to do it. Kingo ROOT rooted the phone, EaseUS performed the scan, by memory seem to be totally wiped, so nothing from pre-reset incarnation has been found. I entered the Kingo Superuser app and ask for unroot... and that's where my problems started. The root exists and all banking apps refuse to log in (obvious reason why I don't want root anymore).
I tried to figure out what my options are, and tried to use Kingo ROOT PC app to unroot, but that fails after couple minutes without giving the reason. I tried to install SuperSU to use it's mechanism to remove root traces, but it fails to update binaries and attempt to unroot only removes SuperSU... Root checkers still shows phone is rooted. Any clues how to let SuperSU do it's job in such case?
Now, question is if anybody knows a method to wipe out damage done by Kingo ROOT using adb to restore the phone into state without root? I personally didn't touch bootloader, however I don't know what method Kingo applies to perform rooting (any clues?).
Next question to more experienced users is if I reflash the phone using Flash tool (I identified stock firmware already) am I going to face any bad side effects? Any advice, hints, clues here? What to avoid? How to do it right? Are data already collected back on the phone would remain intact? Can I eventually backup all of them (networks setting, sync setting, contacts, etc.) and restore easily?
I've seen some posts mentioning using repair option in PC companion to destructively reflash the phone to get rid of the root. Can anyone share experience?
Manneveru said:
My fiancé's Xperia Z1 compact suddenly did a surprising factory reset by itself couple days ago. To my surprise SD card has been deleted in the process as well. The phone that in the trouser's pocket. The reason remains mystery...
I recovered most data from the SD card (pictures and music mainly). However, I made attempts to recover the data from the phone as well and among certain options I tried EaseUS MobiSaver. In the process it asked to root the phone using Kingo ROOT... and to be honest if I know what problems it's going to cause, I wouldn't dare to do it. Kingo ROOT rooted the phone, EaseUS performed the scan, by memory seem to be totally wiped, so nothing from pre-reset incarnation has been found. I entered the Kingo Superuser app and ask for unroot... and that's where my problems started. The root exists and all banking apps refuse to log in (obvious reason why I don't want root anymore).
I tried to figure out what my options are, and tried to use Kingo ROOT PC app to unroot, but that fails after couple minutes without giving the reason. I tried to install SuperSU to use it's mechanism to remove root traces, but it fails to update binaries and attempt to unroot only removes SuperSU... Root checkers still shows phone is rooted. Any clues how to let SuperSU do it's job in such case?
Now, question is if anybody knows a method to wipe out damage done by Kingo ROOT using adb to restore the phone into state without root? I personally didn't touch bootloader, however I don't know what method Kingo applies to perform rooting (any clues?).
Next question to more experienced users is if I reflash the phone using Flash tool (I identified stock firmware already) am I going to face any bad side effects? Any advice, hints, clues here? What to avoid? How to do it right? Are data already collected back on the phone would remain intact? Can I eventually backup all of them (networks setting, sync setting, contacts, etc.) and restore easily?
I've seen some posts mentioning using repair option in PC companion to destructively reflash the phone to get rid of the root. Can anyone share experience?
Click to expand...
Click to collapse
I don't know exactly what you want to preserve, (if it's in the realm of photos / music or more in the realm of app data, etc), but I think if I were you, and I wanted to use the phone for daily, secure personal use, I would use official Sony and/or Google backup functions, (built into the phone), and then flash using Emma, (official Sony flash tool - https://developer.sonymobile.com/open-devices/flash-tool/how-to-download-and-install-the-flash-tool/), or use Androxyde Flashtool if you want. Then go back to the same Sony / Google app you backed up with, and restore. Anything that's restored from Kingo will be easy to delete, since it will only be /data and not /system.
I used Link2SD to uninstall Kingo ROOT

Apps complain about rooted phone even after un-root and locking bootloader

I had my OnePlus 5t rooted but need some apps which are not working with rooted phones anymore and where anykind of magix hide was not working anymore.
So I un-rooted my phone and locked the bootloader again. But now these apps are still complaining about a rooted phone. How can I resolve this?
Try uninstalling these apps, then reboot, then install them again. Does it work? If not:
make a backup with your recovery (I assume it's twrp?) and clean flash your rom. Don't clear internal storage, as this will also delete your backup (you may transfer it to your pc beforehand), and it's not needed for a clean install.
If you were on Samsung I would've said you tripped Knox counter, no way to fix it but since you posted here on OP5T.... I personally never had this issue before.

Categories

Resources