the tool for rooted android devices
- get the icecreamsandwich jar with full source
$ wget http://rarnu.7thgen.info/downloads/icecreamsandwich15.jar
- backup your android.jar in $(ANDROID_SDK)/platforms/android-15/
$ mv $(ANDROID_SDK)/platforms/android-15/android.jar ./backup/
- replace android.jar said above with the downloaded file
$ mv icecreamsandwich15.jar android.jar
$ cp android.jar $(ANDROID_SDK)/platforms/android-15/
- import and fix CommandLib, CommonUtils, CommonDevLib, PackageParser4 and RootTools
$ android update project -n CommandLib -p . -t android-15
$ android update project -n CommonUtils -p . -t android-15
$ android update project -n CommonDevLib -p . -t android-15
$ android update project -n Emulator -p . -t android-15
$ android update project -n PackageParser4 -p . -t android-15
$ android update project -n RootTools -p . -t android-15
- build emulator so
$ cd Emulator
$ ndk-build clean && ndk-build
- build and install
$ cd $(PROJECT)/RootTools
$ ant debug
$ cd $(PROJECT)/sign
$ java -jar signapk.jar rarnu.x509.pem rarnu.pk8 RootTools-debug.apk RootTools_signed.apk
$ adb install -r RootTools_signed.apk
$ adb shell am start -n com.rarnu.tools.root/.SplashActivity