To get started with the Resurrection Remix sources, you'll need to get familiar with Git and Repo.
- Operating system – Tested on Ubuntu 12.04, 12.10 and 13.10 (64-bit)
- Terminal
- Decent hardware (minimum of at least a dual core CPU and 4 GB of RAM)
- Optimally have an SSD (standard mechanical drives work as well but slow down the process drastically)
- Must have required packages for building installed, I will list them further down
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk
$ sudo apt-get install bison g++-multilib git gperf libxml2-utils
- Make required directories
- Obtain repo binary
- Add repo binary to your path
- Give repo binary proper permissions
- Initialize empty repo
- Sync repo
Alright, so now we’re getting there. I have outlined the basics of what we’re about to do and broke them down as I know them. This is all pretty much going to be copy/paste so it’ll be fairly difficult to screw this up :)
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir ~/RR
$ cd ~/RR
$ repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b lollipop
$ repo sync
- Follow the AOSP Porting Instructions stated here: (http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code)
$ cd ~/RR
$ . build/envsetup.sh && brunch <device>