Device configuration for compiling Pitch Black Recovery Project by yourself. Please credit me (@NullCode on XDA) and all the appropriate people if you use it in one of your builds.
Flashlight does not work
MTP does not work
To use this tree for compiling PBRP, do the following:
- Have Repo and Git installed. For installing Repo follow everything Here and install Git by doing the following:
sudo apt-get install git -y
git config --global user.name "INSERT YOUR USERNAME"
git config --global user.email "MY_NAME@example.com"
- Install the required packages:
sudo apt-get install python-is-python2 rsync git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig python2 make
Now follow this:
1: Open your Linux machine.
2: Make a folder with any name.
mkdir ~/PBRP
cd ~/PBRP
3: repo sync the PBRP-6.0 sources:
repo init --depth=1 -u git://github.com/PitchBlackRecoveryProject/manifest_pb.git -b android-6.0
repo sync --current-branch --no-clone-bundle --force-sync
4: Once done open the folder where you synced the sources
cd ~/PBRP
5: Create the following folders:
mkdir device
cd device
mkdir samsung
cd samsung
6: Now git clone my repository:
git clone https://github.com/NullCode13/PBRP_tree_j2xlte.git j2xlte/
7: Now close that terminal and open a fresh terminal [This is real talk, because we will start building. Pay attention]
cd ~/PBRP
. build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
export LC_ALL=C
lunch omni_j2xlte-eng
mka recoveryimage
Depending on what you did, this build will either succeed, or fail. If it succeeded, you will see the TWRP flashable zip in the "out" folder. But if it didn't, follow the steps above properly again.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
SebaUbuntu (For his amazing Baseline Tree generator which I modified)
ME (For obvious reasons)
Aditya KR on XDA (because I st- took some BoardConfig props)
And of course, Pitch Black Recovery Project Team for building this amazing project.