I have a Sprint Samsung Galaxy S4 that was running JB 4.3. When I decided to root and ROM it, I read a lot. I'll tell you what I did and where I got my files so you know exactly what happened:
In Download Mode:
First I Odined UnknownForce's NAE Modem Only Firmware with No Bootloader
Then I Odined Philz Touch Recovery 6.15.6
I booted to Recovery.
I cleared Cache and Davlic Cache twice.
I did Wipe/Factory Reset twice.
Then I flashed using Rawintellect's Stock(ish) Rom
I install Ktoonsez Kernel for Sprint Touchwiz
At this point I am running a custom rom with a custom recovery and a custom kernel. It runs great
I have no SEAndroid messages about the kernel or recovery at this point.
I decided to upgrade to Kit Kat 4.4. I did a nandroid backup. Then I took the official Sprint MD5 update and Odin it right over my rom. It worked. When the system boots up, it is running the Touchwiz version of Kit Kat. But I don't have root.
So I go to recovery to flash CF-Auto-Root-jfltespr-jfltespr-sphl720.zip
but I'm back to stock recovery. So I go to download mode and re-Odin Philz Touch Recovery 6.15.6
. Then I reboot to recovery.
There is an SEAndroid Recovery Message! But it lets me into recovery and I flash the zip. Reboot.
Since I was back to stock recovery, I check the kernel in settings. It's back to stock to. So I boot back to recovery and reinstall the custom kernel. Reboot to system.
There is an SEAndroid Kernel Message now! But it lets me into the system and I have root. I run Titanium Backup and remove Knox Files according to these instructions
. I used method two for rooted phones. I also use method three.
Rebooted. Still showing the SEAndroid messages.
So I booted to download mode and re-Odined the NAE Modem Only Firmware with No Bootloader
. Shut down phone and rebooted.
Still have the messages! Now I'm frustrated. So I do a Nandroid Backup of the KitKat Version and restore my nandroid backup of the Stock(ish) rom.
Phone works but I still have the SEAndroid messages! So I restore my nandroid backup of Kit Kat and started researching this.
What I know:
Though the messages may cause issues and boot loops for some, it is not doing it for me.
The messages do not hurt the functioning of the system.
I know the Knox counter was tripped from 0x0 to 0x1. (I never saw the Knox counter till I did this In fact!)
I know going back to stock recovery and kernel will remove the messages.
What I want:
I know the "Kernel/Recovery is not seandroid enforcing" doesn't hurt the phone but I want the message gone. I was on a rooted phone with custom rom, recovery and kernel without these messages showing up. Something is different from the way the phone was setup before and now. I don't want to go back to stock anything.
The SEAndroid is software. Software can be removed.
How do you remove it?
I know Knox was tripped somewhere in this process. Will that cause the message to appear even if your running without a boot loader?
How can I remove the SEAndroid software so it doesn't even run? Any ideas?