A friend of mine bought a used Samsung Galaxy S6 or at least we thought so, but it looks that it might be a chinese phone. After wiping all data/cache, the phone still had a lot porn/advertisement apps, so we decided to burn original ROM. The only problem is that, we can't get to unlock bootloader.
When I try with
adb oem unlock, it just hangs by
$ sudo fastboot devices mt6572v1_phone fastboot $ sudo fastboot oem lock ...
So I tried
adb shell and try to get root access, to see if can do anything from inside:
$ sudo adb shell shell@rtech72_we_72_kk:/ $ su wget: bad address 'static.zhiqupk.com' Unable to chmod /data/.n.b: No such file or directory pkg: /data/.n.b java.lang.NullPointerException at com.android.commands.pm.Pm.runInstall(Pm.java:982) at com.android.commands.pm.Pm.run(Pm.java:120) at com.android.commands.pm.Pm.main(Pm.java:83) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243) at dalvik.system.NativeStart.main(Native Method) Killed
So this looks for me like a custom ROM with full of spyware/adware/viruses. Any idea how to remove this stuff and get original firmware on it?