Instructions on how to unroot the VIM_Marshmallow_170929 (it should work on other versions too)
Steps to take:
-
Install
“Root Browser Classic”
https://play.google.com/store/apps/details?id=com.jrummyapps.rootbrowser.classic
https://apkpure.com/root-browser-classic/com.jrummyapps.ro4otbrowser.classic
“BusyBox”
https://play.google.com/store/apps/details?id=stericson.busybox
https://apkpure.com/busybox/stericson.busybox
“supersu”
https://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip
(you’ll find the superuser.apk inside the folder common) -
Open “Root Browser Classic” and check/enable all the permissions; read,write,execute for owner,group,others for the following files/folder
/system/bin/.ext/.su
/system/etc/init.d/99SuperSuDaemon
/system/etc/.installed_su_daemon
/system/priv-app/SuperSu
/system/priv-app/SuperSu/SuperSu.apk
/system/xbin/.tmpsu
/system/xbin/daemonsu
/system/xbin/su
/system/xbin/supolicy
(the file “/system/xbin/.tmpsu” is created only if you update su with supersu or during the uninstall)
3a. With “Root Browser Classic” find the file
/system/build.prop
open it with the text editor and change the line ((I do not remember the exact value but should be something like)
ro.build.fingerprint=Khadas/kvim/kvim:6.0.1/.../20170929:userdebug/test-keys
to:
ro.build.fingerprint=OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/release-keys
3b. With “Root Browser Classic” delete the file
/system/priv-app/SuperSu/SuperSu.apk
and the folder
/system/priv-app/SuperSu
(you may need to reinstall supersu after deleting them)
-
Open “busybox”, install/update the already installed version, close it, reopen it and now uninstall it.
-
Open “supersu” and select to completly uninstall root.
-
Perform a factory reset and your Vim 1 will be fully unrooted.
Google’s “SafetyNet” check will result to
CTS profile match = true
Basic integrity = true