Created
February 13, 2015 23:21
-
-
Save tkawajir/5be456e2a6cc1506d1a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make BOARD_HAS_QCOM_WLAN=false BOARD_HAS_QCOM_WLAN=false BOARD_HAS_QCOM_WLAN=false | |
1. B2G build | |
The build environment is virtually identical to Android. | |
However additional host tools are required, | |
please be sure to install all required prerequisites as listed in build prerequisites. | |
- Download original android source code ( kitkat 4.4.2 ) from http://source.android.com | |
- Untar opensource packages of LGL25_FFOS_KK_V10c_B2G.tar.gz into downloaded android source directory | |
tar xvzf LGL25_FFOS_KK_V10c_B2G.tar.gz | |
- And, merge the source into the android source code | |
- Run following scripts to build android | |
$ . build/envsetup.sh | |
$ lunch 1 | |
$ make | |
* "-j4" : The number, 4, is the number of multiple jobs to be invoked simultaneously. | |
- After build, you can find output at out/target/product/ | |
2. Kernel Build | |
- Uncompress using following command at the android directory | |
Unzip LGL25_FFOS_KK_V10c_KERNEL.zip | |
- When you compile the kernel source code, you have to add google original prebuilt source(toolchain) into the b2g directory. | |
$ cd kernel | |
$ export TARGET_PRODUCT=madai | |
$ make ARCH=arm CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- madai-perf_defconfig zImage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you have more info for flash this phone