Friday, October 21, 2016

We had been silent on our adventures with the latest Android version Lollipop. So here is it, the most simple and easy to follow build instructions for compiling Android Lollipop from source starting from scratch (bare minimum Ubuntu 14.04 PC with Internet and above 40GB usage remaining).

Its been long that this post has been in Draft  about 2 years so Lets go ahead and complete this.
All credit goes to : http://forum.xda-developers.com/chef-central/android/tutorial-compile-lollipop-ubuntu-t2929410

Here are the Compilation commands:

>repo init -u https://android.googlesource.com/platform/manifest -b android-5.1.0_r1 

>repo sync -j4  
>sudo apt-get install openjdk-7-jdk 

>sudo apt-get install bison g++-multilib git gperf libxml2-utils make zlib1g-dev:i386 zip 

>sudo nano /etc/udev/rules.d/51-android.rules 

>javac -version 
Should be Open JDK 7

>sudo update-alternatives --config java 

>. build/envsetup.sh 

>lunch 
You're building on Linux  Lunch menu... pick a combo:      
1. aosp_arm-eng      
2. aosp_arm64-eng      
3. aosp_mips-eng      
4. aosp_mips64-eng      
5. aosp_x86-eng      
6. aosp_x86_64-eng      
7. aosp_flo-userdebug     
8. full_fugu-userdebug      
9. aosp_fugu-userdebug      
10. aosp_deb-userdebug      
11. aosp_tilapia-userdebug      
12. aosp_grouper-userdebug      
13. aosp_hammerhead-userdebug      
14. aosp_mako-userdebug      
15. aosp_flounder-userdebug      
16. m_e_arm-userdebug      
17. mini_emulator_x86-userdebug      
18. mini_emulator_x86_64-userdebug      
19. mini_emulator_arm64-userdebug      
20. mini_emulator_mips-userdebug      
21. aosp_shamu-userdebug      
22. aosp_manta-userdebug  Which would you like? [aosp_arm-eng]    

Selected  12. aosp_grouper-userdebug  for Nexus 7 2012 tablet

Finally 

>make -j4 

Takes 2hours 30minutes on Quad Core operation

This time its become much Simpler and easier to compile. No need to too many complex installations.

Welcome to Boseji's Blog

Popular Post

Blogger templates

Welcome

Creation by Electronics Hobbyists from Bharat(India) to encourage & help people. This blog hosts the numerous innovations, discoveries and projects we provide.
Our Research Wing Adhar Labs
Contact Form | Email Address
We Support Open Source Hardware Definition v1.0
Creative Commons License
All works on this blog are licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at forbharat.wordpress.com and m8051.blogspot.com.

Permissions beyond the scope of this license may be available at http://forbharat.wordpress.com/permissions/.
Thank you for all your support.

© A.D.H.A.R Labs Research 2008-2013 . Powered by Blogger.

Follow by Email

Followers

PCB Unit Converter

mils
mm

- Copyright © Electronics for Bharat -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -