Skip to content

Instantly share code, notes, and snippets.

@tkawajir
Created February 13, 2015 23:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkawajir/5be456e2a6cc1506d1a8 to your computer and use it in GitHub Desktop.
Save tkawajir/5be456e2a6cc1506d1a8 to your computer and use it in GitHub Desktop.
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
@lafaurie
Copy link

lafaurie commented Dec 9, 2015

Do you have more info for flash this phone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment