MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.
Sign in to follow this  
Followers 0

Building CM9 for the LG E400 for yourself

9 posts in this topic

Posted · Report post

Make sure you have:

    Ubuntu 12.04 (Precise Pangolin) 64-bit
    Your computer has at least 4GB RAM
    Good Internet connection

install dependencies:

$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev \
ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 \
lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 \
tofrodos python-markdown libxml2-utils xsltproc readline-common \
libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev \
lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 \
libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev \
libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.6-dev
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so[/code] Configure USB:
[code]$ gksudo gedit /etc/udev/rules.d/51-android.rules
add this to the above:
#Garmin-Asus SUBSYSTEM==usb", ATTR{idVendor}==091E", MODE=0666" #Google SUBSYSTEM==usb", ATTR{idVendor}==18d1", MODE=0666" #HTC SUBSYSTEM==usb", ATTR{idVendor}==0bb4", MODE=0666" #Huawei SUBSYSTEM==usb", ATTR{idVendor}==12d1", MODE=0666" #K-Touch SUBSYSTEM==usb", ATTR{idVendor}==24e3", MODE=0666" #KT Tech SUBSYSTEM==usb", ATTR{idVendor}==2116", MODE=0666" #Kyocera SUBSYSTEM==usb", ATTR{idVendor}==0482", MODE=0666" #Lenovo SUBSYSTEM==usb", ATTR{idVendor}==17EF", MODE=0666" #LG SUBSYSTEM==usb", ATTR{idVendor}==1004", MODE=0666" #Motorola SUBSYSTEM==usb", ATTR{idVendor}==22b8", MODE=0666" #NEC SUBSYSTEM==usb", ATTR{idVendor}==0409", MODE=0666" #Nook SUBSYSTEM==usb", ATTR{idVendor}==2080", MODE=0666" #Nvidia SUBSYSTEM==usb", ATTR{idVendor}==0955", MODE=0666" #OTGV SUBSYSTEM==usb", ATTR{idVendor}==2257", MODE=0666" #Pantech SUBSYSTEM==usb", ATTR{idVendor}==10A9", MODE=0666" #Philips SUBSYSTEM==usb", ATTR{idVendor}==0471", MODE=0666" #PMC-Sierra SUBSYSTEM==usb", ATTR{idVendor}==04da", MODE=0666" #Qualcomm SUBSYSTEM==usb", ATTR{idVendor}==05c6", MODE=0666" #SK Telesys SUBSYSTEM==usb", ATTR{idVendor}==1f53", MODE=0666" #Samsung SUBSYSTEM==usb", ATTR{idVendor}==04e8", MODE=0666" #Sharp SUBSYSTEM==usb", ATTR{idVendor}==04dd", MODE=0666" #Sony Ericsson SUBSYSTEM==usb", ATTR{idVendor}==0fce", MODE=0666" #Toshiba SUBSYSTEM==usb", ATTR{idVendor}==0930", MODE=0666" #ZTE SUBSYSTEM==usb", ATTR{idVendor}==19D2", MODE=0666"
Set proper permissions:
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules
JAVA JDK Installation: http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
$ sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
install Java JDK:
$ sudo mkdir -p /opt/java/64/
$ sudo cp jdk-6u34-linux-x64.bin /opt/java/64
$ sudo su -
$ cd /opt/java/64
$ chmod +x jdk-6u34-linux-x64.bin
$ ./jdk-6u34-linux-x64.bin
$ exit[/code] Add JDK PATH to .bashrc:
[code]$ gksudo gedit ~/.bashrc
Add these lines:
# Java PATHs
export JAVA_HOME=/opt/java/64/jdk1.6.0_34
export PATH=$PATH:$JAVA_HOME/bin[/code] Android SDK: Download the SDK here: http://developer.android.com/sdk/index.html Extract the SDK and place it in your home directory. Add AndroidSDK PATH to .bashrc:
[code]$ gksudo gedit .bashrc
Add the following lines:
# Android tools
export PATH=${PATH}:~/android-sdk/tools
export PATH=${PATH}:~/android-sdk/platform-tools
export PATH=${PATH}:~/bin[/code] Add PATH to .profile:
[code]$ gksudo gedit .profile
Add these lines:
PATH=$HOME/android-sdk/tools:$HOME/android-sdk/platform-tools:$PATH"
To use the ADB Update software (or to verify a working adb path), use the following command:
$ android
Install the Repo:
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo ] ~/bin/repo
$ chmod a+x ~/bin/repo[/code] Initialize the CyanogenMOD 9 Repo:
[code]$ mkdir android
$ cd android
$ mkdir system
$ cd system
$ repo init -u git://github.com/CyanogenMod/android.git -b ics
Finally:
$ repo sync -j16

borrowed and adapted from Compile ParanoidAndroid

0

Share this post


Link to post
Share on other sites

Posted · Report post

next

~/android/system/vendor/cm/get-prebuilts
then
cd ~/android/system
. build/envsetup.sh
breakfast e400[/code] this will pull down all e400 files and dependencies. now connect your e400 with adb enabled and run
[code]/android/system/device/lge/e400/extract-files.sh
this will pull all props from your device run
brunch e400

0

Share this post


Link to post
Share on other sites

Posted · Report post

In the process of getting my build environment set up ... following your guide and found one ommission.

Before running "breakfast e400", you have to do the following:

cd ~/android/system

. build/envsetup.sh

Thanks for the great guide.

Sparhawk

0

Share this post


Link to post
Share on other sites

Posted · Report post

you also need to run:

~/android/system/vendor/cm/get-prebuilts

In the process of getting my build environment set up ... following your guide and found one ommission.

Before running "breakfast e400", you have to do the following:

cd ~/android/system

. build/envsetup.sh

Thanks for the great guide.

Sparhawk

you ran extract-files.sh yet?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yep ... although think the files I pulled back from my phone weren't working properly as my stock rom is GB based.

Trying another build right now incorporating some of the libs you sent me as you say they are ICS versions. Instead of using extract-files.sh, I have been manually copying the libs into the proprietary folder, and have been modifying proprietary-files.txt and running setup-makefiles.sh.

Just trying to learn my way around the android build system ... made a separate branch for the e400r in my build tree, got "USE_CCACHE=1 brunch e400r" running as I type this.

Learning alot as I go, but it's an exciting journey. Hoping I get some results out of this current build, will keep you updated.

0

Share this post


Link to post
Share on other sites

Posted · Report post

to get cm9 working for the e400r it "should" only need the ril libs replacing

0

Share this post


Link to post
Share on other sites

Posted · Report post

anyone got the msm-3.0.8 kernel?

0

Share this post


Link to post
Share on other sites

Posted · Report post

i think not yet.... :(

if there's already, i can't wait to port PACman into L3

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.