Build Your Own Android CyanogenMod 11 From Source By : Randy Ahmad Nadzirin ([email protected])

Work with me on Ubuntu 14.04 Trusty Tahr

Proses Compile ROM CyanogenMod 11 : A. Buat Folder Working_Directory : $ mkdir -p ~/Android B. Build Environment • Install Oracle Java : $ cd ~ $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java6-installer $ sudo apt-get install oracle-java7-installer •

Install SDK Emulator (adt-bundle) : $ cd ~ $ mkdir -p ~/Android/adt-bundle $ cd Android $ wget http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86_6420140321.zip $ unzip adt-bundle-linux-x86_64-20140321.zip $ mv adt-bundle-linux-x86_64-20140321/* /adt-bundle $ rm -Rf adt-bundle-linux-x86_64-20140321 Download package yang di inginkan dengan menjalankan sdk emulator : $ ./android sdk



Install Package Pendukung : $ cd ~ $ sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev \ libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl \ libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \ xsltproc g++-multilib lib32z1-dev lib32ncurses5-dev \ lib32readline-gplv2-dev gcc-multilib



Install adb dan fastboot $ sudo apt-get install android-tools-adb $ sudo apt-get install android-tools-fastboot

C. Download Source Code • Siapkan repo $ cd ~ $ mkdir bin $ curl http://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo







Edit File .bashrc $ gedit ~/.bashrc $ export PATH=${PATH}:~/bin $ export PATH=${PATH}:~/android/sdk/adt-bundle/sdk/tools $ export PATH=${PATH}:~/android/sdk/adt-bundle/sdk/platform-tools Buat Identitas $ git config --global user.email "[email protected]" $ git config --global user.name "Nama Anda" Siapkan Folder Source $ mkdir -p ~/Android/CyanogenMod $ cd ~/Android/CyanogenMod $ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0 $ repo sync -j* ('*' Diganti sesuai koneksi internet yang digunakan, saya menggunakan -j8 dengan koneksi 10 Mbps. Tunggu sampai proses repo sync selesai, akan mendownload repo sekitar 12-15 Gb).

Gambar 1: repo sync -j16

Gambar 2: syncing work tree

D. Build CM11 $ cd vendor/cm $ ./get-prebuilts $ cd ~/Android/CyanogenMod $ source build/envsetup.sh $ breakfast 'codename' (breakfast untuk mendownload repo yang diperlukan untuk device yang ingin di compile. Ganti 'codename' dengan device codename yang ingin di compile, disini saya menggunakan nexus 5 dengan codename hammerhead)

Gambar 3: breakfast hammerhead $ make clean (Untuk membersihkan build folder) $ brunch hammerhead (Ganti 'hammerhead ' dengan device codename yang ingin di compile, disini saya menggunakan nexus 5)

Gambar 4: brunch hammerhead

Gambar 5: proses compiling

Gambar 6: proses compiling selesai E. Jika proses compile telah selesai, ROM Hasil Compile /home/username/Android/CyanogenMod/out/target/product/'device 11.0-'Tanggal Build'-UNOFFICIAL-'device codename'.zip

bisa dilihat di codename'/cm-

Proses Flash ROM ke Device : A. Install CWM Recovery, disini saya menggunakan CWM (ClockWorkMod) melalui adb shell 1. Device harus sudah di root 2. Download file recovery.img CWM (menurut saya, harus sesuai dengan device) 3. Masukkan file recovery.img ke /mnt/sdcard/ dengan perintah di terminal $ adb push /lokasi/file/recovery.img /mnt/sdcard/ 4. Install file recovery.img dengan perintah di terminal $ #dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13 5. CWM Recovery telah berhasil di install B. Flash ROM melalui CWM 1. Masuk ke Recovery Mode

Gambar 7: Home Menu CWM 2. Di Home Menu CWM pilih 'Wipe data/factory reset', Setelah itu pilih 'Yes – Wipe all user data'

Gambar 8: Proses 'Wipe data/factory reset'

3. Di Home Menu CWM pilih 'Wipe cache partition', Setelah itu pilih 'Yes – Wipe Cache'

Gambar 9: Proses 'Wipe cache partition' 4. Di Home Menu CWM pilih 'Advance'

Gambar 10: Advance Menu

5. Di Advance Menu pilih 'wipe dalvik cache', Setelah itu pilih 'Yes – Wipe Dalvik Cache'

Gambar 11: Proses 'wipe dalvik cache' 6. Di Home Menu CWM pilih 'mounts and storage'

Gambar 12: Mounts and Storage Menu

7. Di Mounts and Storage Menu pilih 'format /system', Setelah itu pilih 'Yes – Format'

Gambar 13: Proses 'Format /system' 8. Di Mounts and Storage Menu hubungkan device ke komputer untuk memasukkan file ROM yang telah di compile dan file Gapps (Google Applications), Setelah itu pilih 'mount USB storage'

Gambar 14: Proses 'Mount USB storage' 9. Masukkan kedua file yang dibutuhkan ke dalam internal (sdcard0) atau external (sdcard1). Setelah itu pilih 'Unmount' 10. Di Home Menu CWM pilih 'install zip' untuk menginstall file ROM, setelah itu pilih 'choose zip from /storage/sdcard0' atau 'choose zip from /storage/sdcard1' sesuai lokasi

kedua file yang dibutuhkan

Gambar 15: Install update from zip file 11. Di sdcard0 atau sdcard1 pilih file ROM contoh 'cm-11-20140704-UNOFFICIALancora.zip', setelah itu pilih 'Yes – Install cm-11-20140704-UNOFFICIAL-ancora.zip'

Gambar 16: Pilih file ROM CyanogenMod

Gambar 17: Proses install ROM 12. Setelah proses install ROM selesai, kembali ke Home Menu CWM dan pilih 'reboot system now'

Gambar 18: Reboot

Gambar 19: First Booting 13. Tunggu hingga proses booting pertama selesai. Kemudian lakukan pengaturan awal. Jika sudah selesai pilih 'Finish' dan akan langsung masuk ke 'Home Screen'

Gambar 20: Ikuti proses pengaturan awal

Gambar 21: Proses pengaturan awal selesai 14. Matikan device dan masuk kembali ke Recovery Mode untuk menginstall file Gapps

Gambar 22: Home Menu CWM

15. Di Home Menu CWM pilih 'install zip', setelah itu pilih 'choose zip from /storage/sdcard0' atau 'choose zip from /storage/sdcard1' sesuai lokasi kedua file yang dibutuhkan

Gambar 23: Install update from zip file 16. Di sdcard0 atau sdcard1 pilih file GAPPS contoh 'gapps-kk-20140606-signed.zip', setelah itu pilih 'Yes – gapps-kk-20140606-signed.zip'

Gambar 24: Pilih file gapps

Gambar 25: Proses intall file Gapps 17. Setelah proses install GAPPS selesai, kembali ke Home Menu CWM dan pilih 'reboot system now'

Gambar 26: Reboot

18. Setelah proses booting dan updating package selesai, Device sudah siap digunakan

Gambar 28: Home Screen setelah di setting

Gambar 27: About Phone 1

Gambar 29: About Phone 2

Build Your Own Android CyanogenMod 11 From Source.pdf ...

Build Your Own Android CyanogenMod 11 From Source.pdf. Build Your Own Android CyanogenMod 11 From Source.pdf. Open. Extract. Open with. Sign In.

13MB Sizes 0 Downloads 38 Views

Recommend Documents

Build Your Own Android CyanogenMod 11 From Source.pdf ...
Build Your Own Android CyanogenMod 11 From Source.pdf. Build Your Own Android CyanogenMod 11 From Source.pdf. Open. Extract. Open with. Sign In.

App Inventor for Android Build Your Own Apps - No Experience ...
App Inventor for Android Build Your Own Apps - No Experience Required.pdf. App Inventor for Android Build Your Own Apps - No Experience Required.pdf.

App Inventor for Android Build Your Own Apps - No Experience ...
App Inventor for Android Build Your Own Apps - No Experience Required.pdf. App Inventor for Android Build Your Own Apps - No Experience Required.pdf.

Build Your Own
Page 1. PDF Online Build and Pilot Your Own Walkalong Gliders (Build. Your Own) - PDF ePub Mobi - By Philip Rossoni. PDF online, PDF new Build and Pilot ...

Build Your Own Search String - 21cLiteracies Wiki
#1 Terms and Strings. The words that you enter in the Google basic search box are called terms. As you look for information, try to use terms that are commonly used and that are absolutely essential to your research question. A group of terms is call

Build Your Own Website.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect ...

Build Your Own Search String - 21cLiteracies Wiki
Sometimes the best way to find information is to search for two or more ... Build Your Own. Search ... Using a site operator as a term in your search string will give.

Build Your Own Telescope
Page 1. [PDF Online] Build Your Own Telescope - Best Seller Book - By ... Telescope, Full PDF Build Your Own Telescope, All Ebook Build Your Own Telescope, ...

Build Your Own BeLoved Meal.pdf
Classic Vinaigrette Lemon Balsamic Mediterranean Roasted Garlic. Peanut Lime Orange Honey Cilantro Lime Asian Sesame. ORG = Dirty Dozen PlusTM.

build your own codeplug
This Document will show you how to merge the individual MD380 codeplug files found at http://byrg.net. It will also show how to convert them to what model ...