Monday, July 16, 2012

Root the Android Emulator

The concept really isn't that hard, but someone has made a really nice windows bash script (that could easily be converted to a Linux shell script) that does all the work for you.


For the sake of posterity, it's essentially this:
emulator -partition-size 160 %*
adb wait-for-device
adb remount
adb push su /system/bin
adb shell chmod 6755 /system/bin/su
adb shell rm /system/xbin/su
adb shell ln -s /system/bin/su /system/xbin/su


1 comment:

  1. I utterly attitude and revalue your bushel on each and every target.
    android blog