:DBuild your own rom today for Grand 2 or any
I. Installation of the required packages
II. Installing JAVA
III.Source
IV.building the rom
Things need for building:
A computer or laptop with 6gb ram and 500gb hdd with i5 processor
OS ubuntu/linux im using ubuntu 14
An good internet :)
Time
I.INSTALLING of required packages (ubuntu 64bit)
code: copy and paste this in terminal
Code:
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386II. Installing JAVA
Code:
sudo add-apt-repository ppa:webupd8team/javaCode:
sudo apt-get updateCode:
sudo apt-get install oracle-java6-installerCode:
$ java -versionIII. SOURCE
Install repo:
Code:
mkdir ~/bin
PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repocreate working directory
Code:
mkdir ~/any name for e.g rom
cd ~/romInitialize Repo
Code:
repo init -u chosen-manifest
AOKP: https://github.com/AOKP/platform_manifest.git -b Branch
Cyanogenmod: https://github.com/CyanogenMod/android.git -b Branch
for E.g
repo init -u https://github.com/CyanogenMod/android.git -b cm12.1The longest part
Code:
repo syncif process stucks use Ctrl+c to break and resume with
Code:
Repo syncInitialize the environment
Code:
. build/envsetup.shCreate it with
Code:
gedit ~/rom/.repo/local_manifest.xmlCode:
<manifest>
<project name="CyanogenMod/android_device_samsung_ms013g" path="device/samsung/ms013g" remote="github" revision="lollipop"/>
<project name="CyanogenMod/android_device_samsung_ms013g-common" path="device/samsung/ms013g-common" remote="github" revision="lollipop"/>
<project name="CyanogenMod/samsung-kernel-ms013g" path="kernel/samsung/ms013g" remote="github" revision="lollipop"/>
<project path="vendor/samsung" name="TheMuppets/proprietary_vendor_samsung.git" remote="github" revision="samsung"/>
</manifest>run
Code:
repo syncDownload the necessary prebuilts from cyanogenmod by running
Code:
~/rom/vendor/cm/get-prebuiltsIV.Building rom
now build
Code:
brunch ms013gWhen everything worked as it should you will find your new ROM-image in ~/rom/out/target/product/ms013g
It is called cm-12.1-DATE-UNOFFICIAL-ms013g-zip. You can flash.
Dont forget to press thanks :good:
Aucun commentaire:
Enregistrer un commentaire