This is an old revision of the document!
Shuame
Shuame is a Chinese app for Windows. It could be Root Genius is the English translation. How can we be sure this is safe, not malware, not stealing IMEA numbers?
Videos
- How to Root every MTK China Phone takes you through making a recovery using stock ROM. Requires Preloader mode and a bunch of Windows apps. Walks you through generating a scatterfile.
Apps
- MTK Droid alternate link runs in Windows only and reads/writes scatterfiles. Can also root
- Mediatek (MTK) Auto Philz recovery porter creates custom recovery
Resources
- Hovatek has forums and how-tos and seems like a good source of information. They offer private consulting at $10/hour
- VCOM drivers (specifically for Mediatek for communication with preloader)
TWRP
ADB
Command | Action |
---|---|
adb disable-verity | disable checking of block devices |
adb shell “getprop ro.oem_unlock_supported” | see if unlocking is supported |
adb reboot-bootloader | boot into “fastboot mode” |
adb root | get status of rooting |
Fastboot
Some commands once in fastboot mode:
Command | Action |
---|---|
fastboot oem device-info | |
fastboot oem unlock | unlock the bootloader (2014 and lower) |
fastboot flashing unlock_critical | unlock the bootloader (2015 and higher) |
fastboot reboot | leave fastboot mode |
Wi-Fi
Custom Launcher
App and file permissions
Giving an app root access
Apps need to be system apps to have root-type privs
For apps to have root access they need to be system apps. For KitKat the app needs to be in /system/priv-app
with 644 permissions.
- Example:
cat /sdcard/SecureSetting.apk > /system/priv-app/SecureSetting.apk
(cp works too)
Tips and Tricks
-
- when compressing the animation to a zip, make sure the zip is uncompressed (use the
-0
flag)
- Mount system RW:
mount -o rw,remount /system
- Mount system RO:
mount -o ro,remount /system