1. Are you ready for the Galaxy S20? Here is everything we know so far!

Creating an AOSP Based Rom.

Discussion in 'Android Devices' started by SykkNyzz, Jan 16, 2016.

  1. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    I'm trying to do the best to create a ROM for this phone.
    But a problem I'm having is most of the guides I see are kinda making my head hurt.
    Are there specific sites or any advice I can get from the devs to create my own?
    I got 14.04, SDK, & JRE set up. But after that I'm lost.
    I really want to build a KK based ROM so I can get started somewhere.
    I would appreciate any help.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. whoshotjr2006

    whoshotjr2006 Android Enthusiast

    I'd start by forking my omnirom KitKat sources since they are closest to an aosp setup.

    I tried to build aosp in the past but ran into too many issues.
     
    mjhealy1978 and SykkNyzz like this.
  3. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    I meant to say an open source ROM.
     
  4. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    But sure.
     
  5. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    Where do I begin? OmniRom you say? Hmmm I liked it on Moto G. But I can try.
     
  6. PimpinEZ

    PimpinEZ Well-Known Member

    ive been looking at it too some things your going to need.. http://opensource.lge.com/osSch/list?types=ALL&search=lg+volt
    i also think you need jdk6 installed. there is also like 3 versions of KK. i downloaded the 3 revision but thats is far as i got since i uninstalled ubuntu 15.10 because it ran like crap on my laptop. i could only have like 6 tabs on firefox running and my system became really unstable. I switched to Chromixium. Its lighter and still uses ubuntu osp. Most of the asop forks are just built on cyanogen, and add intergrade features from xposed with a theme; which curtis is doing to the stock rom. So help us get cm11 smooth and it will be much easier to port to different asop, and will have curtis with his knowledge of the xml files come theme yo.

    Readme
    Code (Text):
    1. 1. Android build
    2.   - Download original android source code ( kitkat 4.4.2 ) from http://source.android.com
    3.   - Untar opensource packages of LS740_andoid_KK.tar.gz* into downloaded android source directory
    4.     a) tar -zxvf LS740_andoid_KK.tar.gz
    5.   - And, merge the source into the android source code
    6.   - Run following scripts to build android
    7.     a) source build/envsetup.sh
    8.     b) choosecombo 1 generic user
    9.     c) make -j4
    10.   - When you compile the android source code, you have to add google original prebuilt source(toolchain) into the android directory.
    11.   - After build, you can find output at out/target/product/generic
    12.  
    13. 2. Kernel Build
    14.   - Uncompress using following command at the android directory
    15.         tar xvzf LS740_KK_kernel.tar.gz
    16.   - When you compile the kernel source code, you have to add google original prebuilt source(toolchain) into the android directory.
    17.   - Run following scripts to build kernel
    18.     a)$cd kernel
    19.       $mkdir -p out
    20.     b)$export ARCH=arm
    21.     c)$export TARGET_PRODUCT=x5_spr_us
    22.     d)$export DTS_TARGET=msm8226-x5_spr_us
    23.     e)$export PATH=$PATH:tools/lz4demo
    24.     f)$export CROSS_COMPILE=$(pwd)/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
    25.     g)$make O=./out ARCH=arm x5_spr_us_defconfig
    26.     h)$make O=./out -j4
    27.         * "-j4" : The number, 4, is the number of multiple jobs to be invoked simultaneously.
    28.         * lz4demo : lz4demo is included in kernel/tools/lz4demo(change mode for excuting, chmod 777 lz4demo).
    29.             More information can be found at "https://code.google.com/p/lz4/"
    30.   - After build, you can find the build image(zImage) at out/arch/arm/boot
    31.  
    32. 3. how  to build chromium_lge (vendor\lge\external\chromium_lge\src),
    33.    please refer to README.txt at the folder mentioned above.
    34.  
    35.  
    36.  
     

    Attached Files:

    #6 PimpinEZ, Jan 16, 2016
    Last edited: Jan 16, 2016
    SykkNyzz likes this.
  7. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    I'm using Lubuntu now. And I will attempt this coding tonight.(HP 2133)
    Thanks P-EZ
    Hopefully some "magic" happens from this noob lol
     
  8. PimpinEZ

    PimpinEZ Well-Known Member

    I cant get the cm11 boot.img to decompile with the volt tool kit. how ever it does give stock.
    there is some good reading in /kernel/documentation inside the source files.
     
    SykkNyzz likes this.
  9. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    Well.. I'm in due process... Thank you for your assistance.
     
  10. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    The best place to begin is to try and replicate something that already exists - try compiling CM11 or OmniROM using @whoshotjr2006 's sources, as he suggested. It's a lot easier to pore over the code after that and figure out what's going where and how the compiler builds the Android system.

    Are you trying to port another open-sourced ROM to this device? Or are you trying to create something new, using one of these custom ROMs as a base?

    Glad to see someone else getting their hands dirty in the code here :)
     
    Bad_MOFO_33 likes this.
  11. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    I was trying to use the alpha PAC-rom from the g2 mini. But calls and status info goes blank. I'm going to try to get a lighter OS and do this again.
     
  12. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    What does your build machine look like spec-wise?
     
  13. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    HP 2133 Mini-Note... All I could afford at the moment.
     
  14. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    This one? http://www.cnet.com/products/hp-2133-mini-note-pc/specs/

    If you're going to build with something like that, you'll wanna go really light-weight, to the extreme. You can try installing Ubuntu's minimal installation package, which lets you install only what you need from the command line.
     
    SykkNyzz likes this.
  15. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    Yup. I am setting up #!++ as I speak. I was running lubuntu well until I upgraded and well... Ubuntu is sneaky with "giving you what you don't want". Kernel panics from preinstalled WiFi drivers are a hassle so I'm just trying anything Deb related. I lack an Ethernet cable and prefer not to connect to the modem constantly... So easytether is my go to. Although mini xp from Hirens, when configured, is a beast.
     
  16. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    Other than that.. The sound driver or an occasional GPU screw up can exist... Mostly based on what I'm trying to run. Found out some of them are kernel specific. And the wrong combo can FUBAR things. So little by little I'm just testing anything really lol.
     
  17. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

    I rather not run a list as this thread will turn into nothing more than a Linux thread. But hey good news.. If I can figure things out over time. Maybe I can make instructions for people who have a low budget that want to build for these types of communities. So that's a plus
     
    Ph0enix_216 likes this.
  18. SykkNyzz

    SykkNyzz Android Enthusiast
    Thread Starter

LG Volt Forum

The LG Volt release date was May 2014. Features and Specs include a 4.7" inch screen, 8MP camera, 1GB RAM, Snapdragon 400 processor, and 3000mAh battery.

May 2014
Release Date
0
Reviews
Loading...
Similar Threads - Creating AOSP Based
  1. ChristopheA
    Replies:
    2
    Views:
    218
  2. icronitar
    Replies:
    3
    Views:
    363
  3. SANJISH KUMAR
    Replies:
    0
    Views:
    302
  4. wingnit
    Replies:
    0
    Views:
    236
  5. FanyaApp
    Replies:
    1
    Views:
    208
  6. App Update
    Replies:
    0
    Views:
    187
  7. 6 Squares
    Replies:
    1
    Views:
    180
  8. boudemans
    Replies:
    2
    Views:
    257
  9. App Update
    Replies:
    0
    Views:
    210
  10. Samsung
    Replies:
    0
    Views:
    347

Share This Page

Loading...