RootTools

the tool for rooted android devices

how to compile

  1. get the icecreamsandwich jar with full source
   $ wget http://rarnu.7thgen.info/downloads/icecreamsandwich15.jar
  1. backup your android.jar in $(ANDROID_SDK)/platforms/android-15/
   $ mv $(ANDROID_SDK)/platforms/android-15/android.jar ./backup/
  1. replace android.jar said above with the downloaded file
   $ mv icecreamsandwich15.jar android.jar
   $ cp android.jar $(ANDROID_SDK)/platforms/android-15/
  1. 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
  1. build emulator so
    $ cd Emulator
    $ ndk-build clean && ndk-build
  1. build and install
   $ cd $(PROJECT)/RootTools
   $ ant debug

signature

   $ cd $(PROJECT)/sign
   $ java -jar signapk.jar rarnu.x509.pem rarnu.pk8 RootTools-debug.apk RootTools_signed.apk

install and start

   $ adb install -r RootTools_signed.apk
   $ adb shell am start -n com.rarnu.tools.root/.SplashActivity