I have a ZTE Quartz z797c jelly bean 4.3. I used the app "KingRoot" (not KingoRoot) to root my phone and checked it with a root checker app. I've been able to access su from terminal and backup my device with Titanium backup. But somehow, my phone unroots itself and I am not able to grant su privileges to any app. So I went back to the root checker and it said that I was unrooted. I went back to the KingRoot app and it still said I was rooted. After that I tried terminal. Couldn't access su. To get root back, I reboot my phone so KingRoot will notice that it's unrooted. Then I root it again. But like 20 minutes later my phone will unroot itself again. So, whatever it is i want to do, I have about a 20 minute window before I have to reboot and reroot to continue. Can you guys help? Also, I've tried switching the SU Binary from KingRoot to SuperSU but it fails everytime. I've also downloaded a shell script from youtube that removes KingRoot and replaces it with SuperSU, but when I try to "update the binary" it always says "installation failed." That was one of my troubleshooting attempts, trying to see if it was the KingRoot app itself or if it was just my phone. Also, i researched my phone and everywhere on the internet says my phone can't be rooted... but i did... kind of... In another one of my attempts to fix this, I went to terminal and tried mounting /system as rw. It returned "mount: read only file system." I tried it again using my laptop. These are the commands.
adb devices --> (mine was listed, forgot the name)
adb root --> (no issues after rooting with KingRoot)
adb shell --> (went to shell)
mount -o rw,remount /system --> "mount: read only file system"
So, it failed again. In my next attempt, I tried linking /system/bin with a /data/data/ folder (rw) so I could try to add a /system/bin/su folder, but it said that the path was read only. So, I'm unsure of what to do next. Even if you don't have an answer, I'll accept any troubleshooting suggestions. Now, I don't much about androids or linux commands (everything i've done so far has been either youtube or commands from xda forums) so you will probably have to explain each step in detail (an explanation of each step is nice so i know why to do it and what it's doing. I don't like following steps blindly, but its what ive done so far.)
Also, I'd like to know how to root my device on my own so i don't have to use a one-click app (i don't think they are safe). I'll do a factory reset to clear out everything that KingRoot "put" in my phone, then i'll root it again. So if you know how to root, I'd appreciate it if you tell me. (I can't flash a custom rom on my phone because my recovery won't allow it and i can't get a custom recovery because twrp and cwm don't support my phone model.)
Thanks for your time, Tyler
adb devices --> (mine was listed, forgot the name)
adb root --> (no issues after rooting with KingRoot)
adb shell --> (went to shell)
mount -o rw,remount /system --> "mount: read only file system"
So, it failed again. In my next attempt, I tried linking /system/bin with a /data/data/ folder (rw) so I could try to add a /system/bin/su folder, but it said that the path was read only. So, I'm unsure of what to do next. Even if you don't have an answer, I'll accept any troubleshooting suggestions. Now, I don't much about androids or linux commands (everything i've done so far has been either youtube or commands from xda forums) so you will probably have to explain each step in detail (an explanation of each step is nice so i know why to do it and what it's doing. I don't like following steps blindly, but its what ive done so far.)
Also, I'd like to know how to root my device on my own so i don't have to use a one-click app (i don't think they are safe). I'll do a factory reset to clear out everything that KingRoot "put" in my phone, then i'll root it again. So if you know how to root, I'd appreciate it if you tell me. (I can't flash a custom rom on my phone because my recovery won't allow it and i can't get a custom recovery because twrp and cwm don't support my phone model.)
Thanks for your time, Tyler