Quick question...Has anybody successfully replaced the Kinguser app that KingRoot installs with
SuperSU?
Yep, just scrapped kingroot for supersu. I've got T-mobile's 7040T on build C28UM80, but no reason it should be any more difficult on other models. Without a custom recovery, it's not a trivial task, so fair warning.
This guide is a good starting point, though things change at step 8 (SuperSU didn't want to update itself for me) where you'll have to install it manually. I used a terminal app on the phone, but adb works as well, as long as you don't close either.
You'll also need the latest supersu.zip, extracted somewhere on your sd card. Specifically, we need the armv7 dir, and the common dir. You'll also want to reference the install script, you'll basically be doing the same from a shell. Take /armv7/su and copy it to the following:
Code:
/system/xbin/su
/system/xbin/sugote
/system/xbin/daemonsu
/system/bin/.ext/.su
Chmod each to 755 (as well as the .ext dir, you'll need to make it). Use chcon to set sugote to u
bject_r:zygote_exec:s0, it should be the only context you need to change. /armv7/supolicy gets copied to /system/xbin/supolicy, again 755. /armv7/libsupol.so goes in /system/lib/, as 644. /common/install-recovery.sh goes in /system/etc/ as 755, and then symlink /system/bin/install-recovery.sh to it (ln -s SOURCE TARGET). touch /system/etc/.installed_su_daemon, cp /system/bin/mksh /system/xbin/sugote-mksh and set to 755, and cross your fingers. Install SuperSU from the play store, run 'su --install' from your shell, and reboot. If you did everything correctly, you'll now have SuperSU working and be rid of the Chinese crap.
I'll make a shell script to automate it later if no one else does.