1 ## Checking out the source
3 You'll need the "Widgets" dependency.
7 * $ git clone git://github.com/koush/Superuser
8 * $ git clone git://github.com/koush/Widgets
10 These repositories do not keep the actual projects in the top level directory.
11 This is because they contain tests, libs, and samples.
15 In Eclipse, import Widgets/Widgets and Superuser/Superuser. It should Just Work (TM).
21 * $ mkdir /path/to/src
23 * $ cd Superuser/Superuser
27 * bin/update.zip - Recovery installable zip
28 * bin/Superuser.apk - Superuser Android app
29 * libs/armeabi/su - ARM su binary
30 * libs/x86/su - x86 su binary
32 ## Building the su binary
34 Make sure you have the android-ndk downloaded with the tool "ndk-build" in your path.
37 * $ cd Superuser/Superuser
40 The su binary will built into Superuser/Superuser/libs/armeabi/su.
44 ## Building with AOSP, CyanogenMod, etc