![]() |
|
Tutorial: Build OmniRom for Nexus 7 - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Computers (https://sinister.ly/Forum-Computers) +--- Forum: Mobile & Tablets (https://sinister.ly/Forum-Mobile-Tablets) +--- Thread: Tutorial: Build OmniRom for Nexus 7 (/Thread-Tutorial-Build-OmniRom-for-Nexus-7) |
Tutorial: Build OmniRom for Nexus 7 - Codec - 10-26-2013 How to build Omnirom for Nexus 7 (grouper) Quote:Requirements: 1. Open up a command prompt and install all the required packages: If you use 64bit: Quote:sudo apt-get install bison build-essential curl flex git-core gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev If you use 32bit: Quote:sudo apt-get install bison build-essential curl flex git-core gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev 2. After those packages have been installed you are going to create the directories for the sources and repo tool. Quote:mkdir omnirom Quote:mkdir bin 3. Now your going to download the repo tool and chmod it so that it's executable: Quote:curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo Quote:chmod a+x ~/bin/repo 4. Add the /bin/repo tool to your bashrc file: Quote:gedit ~/.bashrc A editor should show up, now add this line at the end of the file and then save it: Quote:export PATH=${PATH}:~/bin 5. Now it's time to initialize the repo: Quote:cd omnirom Quote:git config --global user.email "youremail" Quote:git config --global user.name "yourname" Quote:repo init -u git://github.com/omnirom/android.git -b android-4.3 6. Sync the sourcecode (will take a while): Quote:repo sync -j32 7. Add the prebuilts for Nexus 7: Quote:cd vendor Quote:git clone git://github.com/TheMuppets/proprietary_vendor_asus.git -b cm-10.2 asus 8. Building the rom: Quote:cd .. Quote:source build/envsetup.sh Quote:breakfast grouper Quote:make 9. After it's finished you will find the .zip file with the rom in the “out” folder. RE: Tutorial: Build OmniRom for Nexus 7 - Exiled - 11-12-2013 Great tutorial. Very detailed. |