Compiling LG F60 Metro PCS Kernel from the source (WIP)

Assuming you have Ubuntu64 installed and prepared Android ROM / Kernel build environment setup.

Created a folder named android under your Ubuntu Home (/home/kyle/android)

Go to LG Open Source homepage. Search for MS395.

Download LGMs395_Android_L_V20a

Copy the Kernel source under /android.

Extract here.

You will have all sources extracted under /android/kernel

I will refer /home/android/kernel as KERNEL ROOT folder from now.

*** Preparing build env ***

export ARCH=arm


ARCH=arm CROSS_COMPILE=~/arm-linux-androideabi-4.7/bin/arm-linux-androideabi- make e2nam_mpcs_us

*** Tool Chains (various versions) ***

export CROSS_COMPILE=~/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-

export CROSS_COMPILE=~/android/kernel/toolchains/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-

export CROSS_COMPILE=~/android/kernel/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-


make e2nam_mpcs_us_defconfig

make menuconfig

make ARCH=arm CROSS_COMPILE=~/arm-linux-androideabi-4.7/bin/arm-linux-androideabi- menuconfig



  1. The Android L files disappeared from the website, do you have a copy?

  2. ^_^

  3. Thank you for the upload, now I am just having trouble figuring out how to build this, I have my environment set up, I have kernel and android in the android directory, using ubuntu 14.04. 16 GB of Ram/Swap, 4 cores, I run the commands and get errors, I'm newbie, Just want to start learning! and bring some development to this phone which is highly lacking in the dev department

  4. This is my first time trying so I am having errors as well. Also the text file they included in the source is overly simple so it didn't do much help at all.

    This is the guide I am following.|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)&__utmv=-&__utmk=235062274

    Also if you see file missing error. Try to change include to include "abc.h"
    When compiling try to use toolchain 4.7 or higher, this will solve major file missing errors.

    If I get good result I will post update.


Post a Comment

Popular Posts