[Q] Installing Recovery Without Tripping Knox Or Flash - Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot

I'm curious as to if there's a way to install a recovery on the S4 NAE without tripping Knox or the Flash Counter.
I know for my Sprint Galaxy S III, the method was pretty easy.
METHOD 1
-Use adb shell or Terminal Emulator (on device)(Must be rooted)
-Download CWM Recovery and place it on the root of your internal storage and rename it to "recovery.img" (without the quotes)
-In adb shell or terminal emulator enter the following commands:
Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
reboot recovery
Click to expand...
Click to collapse
So I'm curious as to if there's the same way on the S4 or do I have to trip Knox. Either way, I'm installing a recovery as I need some Paranoid Android in my life.

U talking about that red and yellow writing before It boots into recovery?
Sent from my SPH-L720 using XDA Free mobile app

wcsc12 said:
I'm curious as to if there's a way to install a recovery on the S4 NAE without tripping Knox or the Flash Counter.
I know for my Sprint Galaxy S III, the method was pretty easy.
So I'm curious as to if there's the same way on the S4 or do I have to trip Knox. Either way, I'm installing a recovery as I need some Paranoid Android in my life.
Click to expand...
Click to collapse
that command looks pretty close, but p18 is actually the cache partition on the gs4. You want to change the dd destination to mmcblk0p21 to flash gs4 recovery.

wcsc12 said:
I'm curious as to if there's a way to install a recovery on the S4 NAE without tripping Knox or the Flash Counter.
I know for my Sprint Galaxy S III, the method was pretty easy.
So I'm curious as to if there's the same way on the S4 or do I have to trip Knox. Either way, I'm installing a recovery as I need some Paranoid Android in my life.
Click to expand...
Click to collapse
Is it possible to downgrade the S4 to a factory ROM that doesn't have Knox first? Or once Knoxed, does the Knox abide...

Related

[Q] [HELP] root Knox

hi i have a samsung galaxy s4 gt-i9505 xxuemj7 with android 4.3 and knox, how can i root and install CWM?
If your root and flash recovery note you will loose KNOX capabilities and trigger the KNOX counter and you can not downgrade to any lower firmware version after that.
If your happy with the above:
Flash CF-Root as PDA in Odin:
http://forum.xda-developers.com/showthread.php?t=2219803&highlight=chainfire
Then download any recovery you want to use, and flash again with Odin. Most here recommend TWRP or Philz Recovery.
nikzDHD said:
If your root and flash recovery note you will loose KNOX capabilities and trigger the KNOX counter and you can not downgrade to any lower firmware version after that.
If your happy with the above:
Flash CF-Root as PDA in Odin:
http://forum.xda-developers.com/showthread.php?t=2219803&highlight=chainfire
Then download any recovery you want to use, and flash again with Odin. Most here recommend TWRP or Philz Recovery.
Click to expand...
Click to collapse
Doesn't work, odin flash complete but the SU isn' installed
mirko0950 said:
Doesn't work, odin flash complete but the SU isn' installed
Click to expand...
Click to collapse
Flash philz recovery using odin and after that flash the update of supersuv1.65 using recovery ... then update ur su to 1.69 and install the binaries . Plz dont install binaries on su v1.65 as it give u FC of any apps..
Sent from my GT-I9500 using XDA Premium 4 mobile app

Rooted with cf-autoroot. Is it okay to flash custom recoveries, ROMs, kernels?

I recently rooted with cf-autoroot so I obviously tripped knox, now I want to make the most ouf this phone. Can I now change my recovery and flash custom ROMs / kernels normally? Are there any more restrictions by samsung?
lvnatic said:
I recently rooted with cf-autoroot so I obviously tripped knox, now I want to make the most ouf this phone. Can I now change my recovery and flash custom ROMs / kernels normally? Are there any more restrictions by samsung?
Click to expand...
Click to collapse
Nope, you can flash anything as you have administative (root) rights now, just flash compatible stuff for your phone (like N9005 fi).
You don't need root to flash recovery/kernel/rom...That's a myth.
Sent From My SM-N9005 To All You Wonder Nobodies!!
Khizar said:
You don't need root to flash recovery/kernel/rom...That's a myth.
Sent From My SM-N9005 To All You Wonder Nobodies!!
Click to expand...
Click to collapse
Yep. Rooting is just gaining Admin access within your software.
To replace Windows on your computer you don't need an Admin to do it for you, you restart and make sure it boots into the DVD drive, then you format and reinstall.
Same thing with a normal Samsung phone. You enter Download Mode (DVD Drive) -> Odin (Installer) -> ROM/Kernel/Recovery in .md5 format (Contents of new OS/partition data etc)
As the ROM, Kernel and Recovery are different partitions of the phone's SoC, Download mode can overwrite anything on there as they are independent on each other when they aren't booted.
I find I have less problems if I root first, but that's just me...

Should I reroot?

Hi,
When towelroot came out I installed it on my note 3 so I could get root without tripping knox. Last night I installed safestrap to get a custom rom without tripping knox, but when I installed alliance rom on rom slot 1 it somehow also installed the TWRP recovery and tripped knox. So now that my warranty is void anyway I was thinking about
installing another rom, just the normal way.
My question is if I should I unroot my phone first and root it the root de la vega method or can I just install whatever rom or recovery I want with my current settings/configuration? Also when I boot my phone into download mode I still get the custom OS warning, I don't know if that's a problem or should I press continue there?
Sent from my SM-N9005 using XDA Free mobile app
Marcel94 said:
Hi,
When towelroot came out I installed it on my note 3 so I could get root without tripping knox. Last night I installed safestrap to get a custom rom without tripping knox, but when I installed alliance rom on rom slot 1 it somehow also installed the TWRP recovery and tripped knox. So now that my warranty is void anyway I was thinking about
installing another rom, just the normal way.
My question is if I should I unroot my phone first and root it the root de la vega method or can I just install whatever rom or recovery I want with my current settings/configuration? Also when I boot my phone into download mode I still get the custom OS warning, I don't know if that's a problem or should I press continue there?
Sent from my SM-N9005 using XDA Free mobile app
Click to expand...
Click to collapse
Since you have tripped knox, no worry anymore on warranty. If you plan to flash new rom, you are always advised to have clean installation, meant to clean everything, else you will experience unnecessary problem. To backup your current setting, download titanium backup to make your apps and setting backup. You need to spend some time to familiarize with TB. It is very handy to help u restore previous rom settings and apps.
You do not need to unroot your current rom.
Sent from N9005 Tweaked Rom & Colonex Kernel R22
@Marcel94 :
I have never use safestrap anyway... so I have no idea how it works actually.
But... a clean installation will be good.
Grab latest firmware nd flash through odin, and go to recovery stock and do factory reset.
Then root with cf-autoroot, flash cwm/twrp.
Then flash ur rom.
Sent from somewhere under the sky, at the corner of this rounded earth
Thanks for the advise guys! What do you mean with "go to recovery stock"? Will my recovery be stock again if I flash the latest firmware through odin? Nevermind, I already flashed the stock rom and got stock recovery, thanks!

[Q] Knox 0x0 and downgrade w/ Odin

Hello
Is there a way to downgrade xxugng8 kitkat on i9505, without trigger Knox efuse, to the latest stock Knox enable fw supported by towelroot v3 in order to root my device without void the warranty?
-> which is the latest stock fw/kernel supported by towelroot and is it downloadable in sammobile?
Thanks.
Guillaume
Sent from my GT-I9505 using XDA Free mobile app
querty75 said:
Hello
Is there a way to downgrade xxugng8 kitkat on i9505, without trigger Knox efuse, to the latest stock Knox enable fw supported by towelroot v3 in order to root my device without void the warranty?
-> which is the latest stock fw/kernel supported by towelroot and is it downloadable in sammobile?
Thanks.
Guillaume
Sent from my GT-I9505 using XDA Free mobile app
Click to expand...
Click to collapse
You cannot currently downgrade from a knox enabled bootloader to a non knox enabled bootloader.
querty75 said:
Hello
Is there a way to downgrade xxugng8 kitkat on i9505, without trigger Knox efuse, to the latest stock Knox enable fw supported by towelroot v3 in order to root my device without void the warranty?
-> which is the latest stock fw/kernel supported by towelroot and is it downloadable in sammobile?
Thanks.
Guillaume
Sent from my GT-I9505 using XDA Free mobile app
Click to expand...
Click to collapse
Yes, it's possible. You can downgrade to NF1 and then user Towelroot.
Our you use this method
http://forum.xda-developers.com/galaxy-s4/general/root-how-to-obtain-root-permissions-t2862768
Sent from my Galaxy S4 using Tapatalk
DarkerTimes said:
Yes, it's possible. You can downgrade to NF1 and then user Towelroot.
Our you use this method
http://forum.xda-developers.com/galaxy-s4/general/root-how-to-obtain-root-permissions-t2862768
Sent from my Galaxy S4 using Tapatalk
Click to expand...
Click to collapse
Thank you so much!!!!!
You're the best! :good::good::good:
Root keeped after factory reset
DarkerTimes said:
Yes, it's possible. You can downgrade to NF1 and then user Towelroot.
Our you use this method
http://forum.xda-developers.com/galaxy-s4/general/root-how-to-obtain-root-permissions-t2862768
Sent from my Galaxy S4 using Tapatalk
Click to expand...
Click to collapse
I followed this method and it's worked well.
I did a factory reset because my phone became not stable with time - probably because I froze too many Knox app. or install some app. I shouldn't not - and I was very surprised to constate that my phone was kept rooted.
I don't understand why. A factory reset doesn't reset the kernel at well?
Also I wanted to dd my /data, and for this I needed to umount it. When I booted in recovery mode, adb seemed not to run... I tried Odin mode too but looks the same, adb launched on my PC didn't see my device.
Of course I checked everythings and adb does work well when the phone is fully booted.
The stock recovery doesn't allow to make system/data backup... - no menu items - is this normal?
I cannot flash any custom recovery because I want my Knox remains 0x0.
Thanks for your comments,
gb
gballet said:
I followed this method and it's worked well.
I did a factory reset because my phone became not stable with time - probably because I froze too many Knox app. or install some app. I shouldn't not - and I was very surprised to constate that my phone was kept rooted.
I don't understand why. A factory reset doesn't reset the kernel at well?
Also I wanted to dd my /data, and for this I needed to umount it. When I booted in recovery mode, adb seemed not to run... I tried Odin mode too but looks the same, adb launched on my PC didn't see my device.
Of course I checked everythings and adb does work well when the phone is fully booted.
The stock recovery doesn't allow to make system/data backup... - no menu items - is this normal?
I cannot flash any custom recovery because I want my Knox remains 0x0.
Thanks for your comments,
gb
Click to expand...
Click to collapse
Yes with a stock recovery your aren't able to make a complete system backup. And flashing a custom recovery will trip the Knox counter.
I don't deal with ADB, i can't help you with this, sorry.
No, a factory reset doesn't wipe kernel this would be very bad.
You have to delete every Knox app because they might cause reboots to your device.
Sent from my Galaxy S4 using Tapatalk
DarkerTimes said:
Yes with a stock recovery your aren't able to make a complete system backup. And flashing a custom recovery will trip the Knox counter.
I don't deal with ADB, i can't help you with this, sorry.
No, a factory reset doesn't wipe kernel this would be very bad.
You have to delete every Knox app because they might cause reboots to your device.
Sent from my Galaxy S4 using Tapatalk
Click to expand...
Click to collapse
Hello DarkTimes,
Thank you for your answering.
I don't know if deleting Knox app. cause reboots of device but freezing them for sure does!
For now, Knox doesn't have admin rights and doesn't bother me so I leave it untouched on my device...
I prefer to not attempt to delete them... because my phone seems quite stable after my factory reset...
Regards
gballet said:
Hello DarkTimes,
Thank you for your answering.
I don't know if deleting Knox app. cause reboots of device but freezing them for sure does!
For now, Knox doesn't have admin rights and doesn't bother me so I leave it untouched on my device...
I prefer to not attempt to delete them... because my phone seems quite stable after my factory reset...
Regards
Click to expand...
Click to collapse
Fine, yes if everything is all right don't touch it. Sounds good. [emoji106]
Sent from my Galaxy S4 using Tapatalk

Questions on Root / Recovery & Kernel

Hello there!
I'm new to the Samsung's world so I have few questions I hope someone can answer.
1, I am a fan of stock kernel and I noticed TWRP has a recovery and there is a No root method mentioned using Odin.
https://twrp.me/devices/samsunggalaxys6edgeplus.html
So if I flash this recovery and flash the SU will the device boot? So do I need the custom kernel to get the phone booted with custom recovery?
2, I hear we will trip the Knox in the process of root. Do I lose Knox functionality? Since I use Knox for my company apps I would like to know if I would lose that functionality ?

Categories

Resources