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?
| 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 |
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 |
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.
cat /sdcard/SecureSetting.apk > /system/priv-app/SecureSetting.apk (cp works too)To give emulator root:
~/.android/avd~/Android/Sdk/emulator/emulator -avd Nexus_4_API_19 -writable-system -selinux disabled -qemu -enable-kvmmount -o rw,remount /systemnot fully tested
-0 flag)/system/etc/install-recovery.shmount -o rw,remount /systemmount -o ro,remount /system