Please see forum thread at XDA for more information: link
Binary releases for Linux, Windows, OS X, and Android
Android app for switching between ROMs
Continuous integration build statuses can be found at the build status link above.
git snapshot releases (from Jenkins CI)
-
Clone git repository from GitHub:
git clone https://github.com/chenxiaolong/DualBootPatcher.git
-
Install needed dependencies
The following packages are needed for compiling:
- wget (or axel)
- p7zip
- patch
- gcc-multilib
- zip
- upx
- mono
- ImageMagick
On Fedora, run:
sudo yum install axel p7zip-plugins patch gcc-c++ zip upx mono-core ImageMagick glibc-static.i686 glibc-devel.i686
On Arch Linux, run:
sudo pacman -Sy axel p7zip patch gcc-multilib zip upx mono imagemagick
On Ubuntu, run:
sudo apt-get install axel p7zip-full patch g++ zip upx-ucl mono-mcs imagemagick
-
Create a configuration file
build/build.custom.conf
(or copybuild/build.conf
) for your system. Any options set here will overridebuild.conf
.[builder] android-ndk = /opt/android-ndk android-sdk = /opt/android-sdk
-
Compile!
The build script is used like this:
./build/makedist.py [--debug] [--release] [--android] [--no-pc]
Running the command with no arguments is equivalent to passing
--debug
. If you want to build the Android app, pass--android
, and if you don't want to build the PC program, pass--no-pc
. At the moment, the debug and release build types are used for the Android app only. Release mode requires that a signing key is set up.
The patcher is licensed under GPLv3+ (see the LICENSE file). Third party libraries and programs are used under their respective licenses. Copies of these licenses are in the licenses/ directory of this repository. Patches and other source code modifications to third party software are under the same license as the original software.