compile roms from source for e313 - Techno2Dev

Sunday, 24 July 2016

compile roms from source for e313


What you need?
  • Linux on your PC
  • Stable net connection (myself got 21 megabit/s broadband)
1. Update command for Linux

sudo apt-get update

2. Install Java Open-JDK 7 for Lollipop & Marshmallow support

sudo apt-get install openjdk-7-jdk

3. Installing necessary build tools

sudo apt-get install git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng g++-multilib gcc-multilib lib32ncurses5-dev lib32z1-dev repo maven2

3. Installing .repo

mkdir -p ~/bin

sudo curl https://storage.googleapis.com/git-... > ~/bin/repo

sudo chmod a+x ~/bin/repo

4. Make directory for cm13

mkdir -p ~/cm13

5.Initializing CM repo and Building the ROM

cd cm13

repo init -u git://github.com/ferhung-mtk/android.git -b cm-13.0 repo sync -j2

here -j2 is depends on your net speed u can use -j3 -j4 -j5 if u have a good Internet connection.

6.Building rom

1-If you are mt6582 user then type

source build/envsetup.sh

brunch cm_HM2014011-userdebug

Done for mt6582

2-If you are mt6592 user then download the device tree and vendor files for mt6592

After download go to home/cm13

Delet>device/xiomi

Delet>vendor/xiomi

Now create Folder MICROMAX/E313 in home/cm13/device

MICROMAX/E313 in home/cm13/vendor

Now extract device tree zip to device/MICROMAX/E313

And extract vendor zip to device/MICROMAX/E313

DONE NOW TYPE

source build/envsetup.sh

brunch cm_E313-userdebug

DONE

IS’T COMPILING ROM FROM SOURCE IS EASY ??

ALLCREDIT GOES TO FERHUNGFIREXENONXDA

No comments:

Post a Comment