(1) Get the android base source code.
- Download the original android source code (Android 2.3.4 gingerbread) from http://android.googlesource.com
(2) Overwrite modules that you want to build.
- Untar opensource packages of LGP505_Thunder_ATT_GingerBread_v20f.tar.gz into downloaded android source directory
- And, merge the source into the android source code(gingerbread)
(3) Run the build scripts.
- You have to add google original prebuilt source(toolchain) before running build scripts.
- Run the following scripts to build android
$ ./build/envsetup.sh
$ make -j4
into the android folder
- If the android is built sucessfully, you will find the outputs in this directory,
"out/target/product/generic".
2. Kernel Build
(1) Untar using following command at the android folder (./android/kernel)
$ tar xvfz LGP505_Thunder_ATT_GingerBread_v20f_KERNEL.tar.gz
(2) Set the compile environment
- gcc 4.4.3
- Ubuntu 10.04.1
- export PATH=$PATH:/<android_path>/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/
("android_path" should be android path name in your system.)
(3) Run the script, "envsetup.sh" in the android folder.
$ cd android
$ ./build/envsetup.sh
(4) Execute make
- move to the kernel folder and execute make
$ cd kernel
$ make ARCH=arm thunderg-perf_defconfig
$ make ARCH=arm CROSS_COMPILE=/<PATH of android working directory>/android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- -j8
- If the kernel is built sucessfully, you will find the build images in this directory,
"kernel/arch/arm/boot/zImage"
I need to get gingerbread on my thrive to run the new OneNote for Android. Do I follow the source code instructions or is there something else I need to look at.
I am pretty stupid about this stuff especially running scripts but I am researching what I need to do but don't know where to start. Do I want the source code stuff from LG or something else like Gingerbreak.