[Q] Saferoot to disable Knox problem

Search This thread

Tuppence_

New member
Mar 28, 2014
1
0
Hey! So I'm trying to root my device. I already ran an old rooting method using Odin, but when I tried to use it afterwards Knox was tripped. This led to finding Saferoot.

I've tried it a few times, only for it to get stuck at trying to disable Knox.

Code:
---        Samsung Galaxy S4 Android 4.3 Root         ---
--- Based on the CVE-2013-6282 exploit by cubeundcube ---

[*] Testing adb usability

Plug in your phone and Press any key to continue . . .

[*] Waiting for your phone to appear
[*] Your phone is detected and ready for rooting.

[*] Sending files to your device...

[*] Starting rooting program.
ro.build.product=t03g
ro.build.id=JSS15J
search kallsyms...
1
(kallsyms_addresses=c082efb0)
(kallsyms_num_syms=0000ef10)
kernel dump...
1 2 3 4 5 6 7 8 9

prepare_kernel_cred=c00c04c4
commit_creds=c00bfcb0
ptmx_fops=c0bda36c
ptmx_open=c02bb450
tty_init_dev=c02b3ff0
tty_release=c02b3a4c
tty_fasync=c02b117c
ptm_driver=00000000

Succeeded in getroot!
Remount success!
Copying files..
Done.. reboot to enable root! 
[COLOR="Red"](I don't actually need to reboot here, it just goes on to the next step)[/COLOR]

[*] Checking if rooting succeeded

[*] Removing temporary files...

[*] Trying to disable Knox...

Usually the program just hangs here indefinitely, but one time it rebooted my phone and tried to run SuperSU, only for it to be blocked by Knox. My phone seems to be rooted according to Simple Root Checker - it says Application Superuser found, Terminal Rooted, Busybox installed, and Busybox v1.21.1 - so I guess that the old method of rooting did work, but Knox remains.

Any ideas?

[edit] The additional text which shows after a reboot. Obviously I was unable to actually start SuperSU to update it.

Code:
[*] Checking if rooting succeeded
[*] Removing temporary files...

[*] Trying to disable Knox...

[*] Rebooting... Please wait.
[*] Waiting for device to re-appear...

Wait until your phone reboots,then unlock it and Press any key to continue . . .

On your phone, open SuperSU and let it update if it asks.
When SuperSU is done updating, Press any key to continue . . .
On your phone, watch for the SuperSU permission popup and give
permission for ADB Shell to gain root permissions.

I have to quit it manually thereafter.

Just to note, Knox is tripped every time saferoot tries to disable it.
 
Last edited:

m.b.jikre

Senior Member
Nov 30, 2012
176
20
Pune
Hey! So I'm trying to root my device. I already ran an old rooting method using Odin, but when I tried to use it afterwards Knox was tripped. This led to finding Saferoot.

I've tried it a few times, only for it to get stuck at trying to disable Knox.

Code:
---        Samsung Galaxy S4 Android 4.3 Root         ---
--- Based on the CVE-2013-6282 exploit by cubeundcube ---

[*] Testing adb usability

Plug in your phone and Press any key to continue . . .

[*] Waiting for your phone to appear
[*] Your phone is detected and ready for rooting.

[*] Sending files to your device...

[*] Starting rooting program.
ro.build.product=t03g
ro.build.id=JSS15J
search kallsyms...
1
(kallsyms_addresses=c082efb0)
(kallsyms_num_syms=0000ef10)
kernel dump...
1 2 3 4 5 6 7 8 9

prepare_kernel_cred=c00c04c4
commit_creds=c00bfcb0
ptmx_fops=c0bda36c
ptmx_open=c02bb450
tty_init_dev=c02b3ff0
tty_release=c02b3a4c
tty_fasync=c02b117c
ptm_driver=00000000

Succeeded in getroot!
Remount success!
Copying files..
Done.. reboot to enable root! 
[COLOR="Red"](I don't actually need to reboot here, it just goes on to the next step)[/COLOR]

[*] Checking if rooting succeeded

[*] Removing temporary files...

[*] Trying to disable Knox...

Usually the program just hangs here indefinitely, but one time it rebooted my phone and tried to run SuperSU, only for it to be blocked by Knox. My phone seems to be rooted according to Simple Root Checker - it says Application Superuser found, Terminal Rooted, Busybox installed, and Busybox v1.21.1 - so I guess that the old method of rooting did work, but Knox remains.

Any ideas?

[edit] The additional text which shows after a reboot. Obviously I was unable to actually start SuperSU to update it.

Code:
[*] Checking if rooting succeeded
[*] Removing temporary files...

[*] Trying to disable Knox...

[*] Rebooting... Please wait.
[*] Waiting for device to re-appear...

Wait until your phone reboots,then unlock it and Press any key to continue . . .

On your phone, open SuperSU and let it update if it asks.
When SuperSU is done updating, Press any key to continue . . .
On your phone, watch for the SuperSU permission popup and give
permission for ADB Shell to gain root permissions.

I have to quit it manually thereafter.

Just to note, Knox is tripped every time saferoot tries to disable it.
First try to update SuperSu manually it'd probably works.

Have you installed Knox full application which is around 150 Mbs? Then uninstall tha app and repeat the procedure.
 
Last edited:

Baller231

Member
Apr 7, 2014
22
10
If SuperSU is not working. Go to Application manager and try to uninstall. If u can not then re-flash 4.3 from Computer Odin to get rid of Corrpt SpuerSU.

Downgrade from 4.3 to 4.1.2. I have done this with 100% Success :)

BACKUP everything. (Important)

Turn ON USB Debugging mode and Unknown sources.

First ROOT your phone.

Open Playstore and Update SuperSU. Open SuperSU and it will give a message to disable KNOX. Click YES/Ok.

Then install Titanium backup root from Playstore. Open it, go to backup/restore tab.
Find,
1.com.sec.enterprise.knox.attestation
2.com.sec.knox.eventsmanager
3.KLMS Agent
4.KNOX
5.Knox Notification Manager
6.KNOX Store

Go to each one of it and Uninstall them.

Next restart your phone.

*VERY IMPORTANT* Now Backup your efs folder by using EFS Professional on you computer (Link: http://d-h.st/Gfo ). Because your imei number will be changed after downgrading. You can easily restore it later.

Now install Mobile Odin Pro from Playstore on your phone. Here is the link.
https://play.google.com/store/apps/details?id=eu.chainfire.mobileodin.pro

*IMPORTANT* DO NOT flash firmware for downgrading with Computer Odin as it will NOT work and it will FAIL. *ONLY Mobile Odin Pro from Playstore will work.

Copy your 4.1.2 firmware to your phone. Next Open Mobile Odin Pro on your phone and let it download some necessary files from internet.
When done, click on Open file and select the firmware. After loading the firmware scroll down and UNCHECK EverRoot(because it cause problems). Then click on FLASH Firmware.

*IMPORTANT* If your phone get stuck on samsung logo. Go into recovery mode by pressing Home+Power+Volume UP keys together for 15 seconds. Click Factory wipe/data and then Wipe Cache. Then Reboot.
Now check your imei by *#06#. If imei is changed then restore it from EFS Professional.
 
Last edited:

ghiros

Member
Sep 11, 2014
10
0
Downgrade from 4.3 to 4.1.2. I have done this with 100% Success :)

That would be awesome, but I am not sure if it will work for everybody. What phone/carrier did you use?
I am afraid to try it out, because I heard some attempt will results in a hard brick that can only be fixed using Jtag.

Thanks!