[SuperSU] icy201:
I need help with my root, it is bugged i am told. Everything the guy whos been trying to help me tells me to do doesnt work.

Here are my problems that i know of-

1. I cant update the su binary from withing the supersu app.

2. I cant update the su binary by flashing the supersu update zip (twrp says that it flashed successfully but when i boot back into my system the supersu app is gone and when i install it again it still says i have to update the binary hense, flashing the update doesnt change anything except uninstalls the app).

3. All of the folders where files needed for root are installed are locked into read only mode. No matter what i do i cant mount them as r/w including /system folder which i believe is where my main problem is.

4. I cant preform a facory reset, all it does is soft brick my phone.

5. There are many files i have opened that are in the "r/o locked" directories have suspicious looking codes/lines in them which is leading me to believe ive been hacked and someone has permanently locked all the directories where root files are located into read only because theres a few scripts that say things like "patch on boot"and they also include lines that say kingroot and kinguser. Maybe kingroot has locked itself onto my phone?

Heres a script file located in /system/xbin (remind you i cant edit or delete any files in directories where files needed for root are installed)

#!/system/bin/sh

kr_set_perm() {

chown $1.$2 $5

chmod $4 $5

if [ -f "/system/bin/chcon" ]; then

chcon $3 $5

fi

}

SOURCE_PATH=/sbin

HIGHT_PROI_PATH=/system/xbin

RUN_ROOT=/dev/kingroot

XBIN_RUN_PATH=/dev/kingroot/xbin_bind

BIN_RUN_PATH=/dev/kingroot/bin_bind

# patch 1

if [ -x $HIGHT_PROI_PATH/supolicy ]; then

$HIGHT_PROI_PATH/supolicy --live

else

$SOURCE_PATH/supolicy --live

fi

chmod 00755 /sbin

chown 0.2000 /sbin

# patch 2

if [ -x $HIGHT_PROI_PATH/krdem ]; then

$HIGHT_PROI_PATH/krdem kingroot-dev 100002

else

$SOURCE_PATH/krdem kingroot-dev 100002

fi

run_bind() {

/system/bin/mount -o bind $1 $2

if [ $? != 0 ]; then

/sbin/krdem kingroot-dev 23 -o bind $1 $2

if [ $? != 0 ]; then

/system/xbin/krdem kingroot-dev 23 -o bind $1 $2

fi

fi

}

setup_kusud() {

# root dir

mkdir -p $RUN_ROOT

kr_set_perm 0 0 u:object_r:system_file:s0 00755 $RUN_ROOT

# xbin_bind

cp -f -a /system/xbin $XBIN_RUN_PATH

# ku.sud

cp $SOURCE_PATH/ku.sud $XBIN_RUN_PATH/ku.sud

ln -s $XBIN_RUN_PATH/ku.sud $XBIN_RUN_PATH/su

kr_set_perm 0 0 u:object_r:system_file:s0 00755 $XBIN_RUN_PATH/ku.sud

kr_set_perm 0 0 u:object_r:system_file:s0 00755 $XBIN_RUN_PATH/su

# bind

run_bind $XBIN_RUN_PATH /system/xbin

}

setup_mount() {

cat > $RUN_ROOT/mount <<-EOF

#!/system/bin/sh

((0))

EOF

# bin_bind

cp -f -a /system/bin $BIN_RUN_PATH

# replace mount

rm $BIN_RUN_PATH/mount

ln -s $RUN_ROOT/mount $BIN_RUN_PATH/mount

kr_set_perm 0 0 u:object_r:system_file:s0 00755 $RUN_ROOT/mount

kr_set_perm 0 0 u:object_r:system_file:s0 00755 $BIN_RUN_PATH/mount

# bind

run_bind -o bind $BIN_RUN_PATH /system/bin

}

if [ -x $HIGHT_PROI_PATH/ku.sud ]; then

$HIGHT_PROI_PATH/ku.sud -d

else

setup_kusud

#setup_mount

$XBIN_RUN_PATH/ku.sud -d

fi

/system/etc/kds --global-daemon 4

And the name of the script is "start_kusud.sh" my guess is that that means (start kinguser daemon)

Please try to help me regain control of my root and my filesystems if its possible. Thank you