Edited by linuxslate.com at 3-3-2017 13:40 |
*** EDIT: There is a better fix in post #19 of this thread. I no longer recomment doing what follows in this post. ***
Here's how to do this on a the stock Hi12 with out actually rooting (temporary root).
I am telling how to do this, I an not telling you you should do this.
Not also that dm-verity is implemented on the factory Android. After you do this, you will no longer have dm-verity.
So what is dm-verity? Well, there is tons of stuff about it, but to make it really short, dm-verity is a way to make sure nothing has messed with system files. It essentially signs the /system partition.
We are messing with system files, so we break dm-verity. How will this affect you? Well first and form most, secure applications like Android Pay will no longer work. (Not specifically too important since the CW Hi-12 does not have NFC), but other applications may check this as well.
It is possible that you could get infected with some future root-kit. Consider this a temporary fix only. Chuwi needs to fix this in an official build.
Note also that I changed only build.prop. These should be the only place these changes need to be made. Note also that there is disagreement in the different segments of code above.
Wanna know what all these settings do? Read here:
1. Install adb on you desktop computer. (Skip if you have adb installed, or are OK with getting it from a non-official source.
a. Go to https://developer.android.com/studio/index.html
b. scroll to the bottom, "Get just the command line tools"
c. install the appropriate tools for your platform
2. Use the SDK Manager to install only the Android SDK Platform-tools. un-check everything else.
3. On Windows, you need USB drivers. These are the same as doing anything with this tablet using a Windows host PC, and is not covered here. Other OS's do not need the drivers.
4. Pull build.prop
./adb pull build.prop
You should have a build.prop in your current directory.
4. Using a text editor on your host PC, add the lines from the above post to the end of build.prop. Another Windows warning: This must be saved using UNIX line termination. Do not save using Windows/DOS line feeds. If build.prop is unreadable, the tablet will not boot. It is strongly suggested that you keep a copy of the the un-modified build.prop. This should also allow you to replace it, and turn verity back on. If any file in /system is changed by a single byte, verity will fail.
5. Remount the filesystem read/write. The tablet will need to be re-booted when you disable verity. See warning above.
---- Wait for reboot
./adb push <path-to-your-modified-build.prop> /system/build.prop
6. Reboot to enjoy a better Touch Screen. Your Tablet is not rooted, but it is /slightly/ less secure. (Note that Remix does not use Verity anyway, so you are no less secure than Remix or any other non-verity rom)
./adb reboot (or reboot using the power button)
Thanks to Slada2.