Android: Install the Android 4.2.2 Source code

Let’s first create a working directory “/opt/FriendlyARM/tiny4412/android” 
Type the command below in a terminal: 

# mkdir –p /opt/FriendlyARM/tiny4412/android
# chmod 777 /opt/FriendlyARM/tiny4412/android 

The code that will be uncompressed in later steps will all be in this directory. 

(1) Get a Copy of Android Souce Code Package 
Create a temporary directory “/tmp/android” in PC.

#mkdir /tmp/android

Copy all the files under “Android” from the shipped CD to “/tmp/Android” 

(2) Uncompress Android Kernel

Execute the command below in “/opt/FriendlyARM/tiny4412/android” 

#cd /opt/FriendlyARM/tiny4412/android 
#tar xvzf /tmp/android/linux-3.5-YYYYMMDD.tgz 

This will create a “linux-3.5” directory which contains a complete copy of source code 

YYYYMMDD is the date when we released it 

(3) Uncompress Android System 

Execute the command below in “/opt/FriendlyARM/tiny4412/android” 

#cd /opt/FriendlyARM/tiny4412/android 
#tar xvzf /tmp/android/android - 4. 2.1_r1- fs - YYYYMMDD.tar.gz 

This will create a “a ndroid - 4. 2.1_r1” directory 

YYYYMMDD is the date when we released it. This source code contains a copy of Android-4.2 source code and compiling scripts. 


NanoPC       News       Download       Forum       FAQs       About us

English information | Follow Us: Google+ | Twitter
+86-755-29638421
Work time: 09:00-18:00
NanoPC Online Chat >
Work time: 09:00-18:00
Copyright @ 2014 to 2020 - FriendlyARM NanoPC Team