• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM][UNOFFICIAL][4.4.4] DeCAF Cyanogenmod 11, Release 1

Developers need time.

that we do. i just finished up my finals thursday, and am kinda recovering from two hectic weeks of crazyness lol. my build machine main hd took a crap too, so i had to dd a 170gb partition all night last night to a new hd, so now my build machine is back up and working semi decently. 6000 bad sectors on my old drive, crazyness.

a big reason for delays is swapping kernel sources back and forth from caf to stock to see what is feasible to fix in either. Bad_mofo clued me in to using legacy alsa and some new global cflags in boardconfig.mk, so im trying to get a stock kernel build up and compiling right now.

and with that said, come join us on ##LG_VOLT on freenode irc! thats where the real magic is happening.

I'm gonna check out the zv5 kernel source too and see if we can start using it to compile soon too.
 
that we do. i just finished up my finals thursday, and am kinda recovering from two hectic weeks of crazyness lol. my build machine main hd took a crap too, so i had to dd a 170gb partition all night last night to a new hd, so now my build machine is back up and working semi decently. 6000 bad sectors on my old drive, crazyness.

a big reason for delays is swapping kernel sources back and forth from caf to stock to see what is feasible to fix in either. Bad_mofo clued me in to using legacy alsa and some new global cflags in boardconfig.mk, so im trying to get a stock kernel build up and compiling right now.

and with that said, come join us on ##LG_VOLT on freenode irc! thats where the real magic is happening.

I'm gonna check out the zv5 kernel source too and see if we can start using it to compile soon too.
I mean no disrespect [emoji2] we are super lucky to have such an interactive community like we do with the Volt. I'll join the freenode chat later today. Thanks to all for the hard work!!
 
for those that want to chat on freenode, but dont want to install an IRC client use this http://webchat.freenode.net/
Again the channel is ##LG_VOLT
Whoshotjr2006 and myself are looking to put a team together for Development purposes. We will post a new thread with details soon.
 
Won't be around to use this... Just bought a new phone. This is a great device but Boost just isn't cutting it anymore. Best of luck to you guys and maybe I'll install this if I decide to keep this phone as a glorified ipod or something
 
OK, it's been a long marathon weekend (freezing system, running out of HD space multiple times, and a LOT of build errors!), but I'm ready to post my progress so far.
I'm gonna start by giving detailed build instructions to reproduce my progress. Maybe that will lower the entry bar for more builders to jump in...

I decided that once I'm spending the time to build, I would aim for the latest and greatest, so I went for CM12 (Lollipop) and LG's ZV5 kernel
I started with a clean install of Ubuntu 14.10 on my notebook (and I still ran out of space on the partiton!)
I ran
Code:
sudo apt-get update
just to update to the latest sources.
Then I made sure i didn't have any other JDK installed, i ran
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
.
Then
Code:
sudo apt-get install openjdk-7-jdk
to get the latest version of OpenJDK.
I installed build dependencies with
Code:
sudo apt-get install git gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
.

To get the source, I first downloaded "repo" and put it in the system path (each line is a new command):
Code:
mkdir ~/bin
PATH=~/bin:$PATH
cd ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

Now we're ready to pull the source (again, each line is a new command). This last command will take a while, depending on your connection speed:
Code:
mkdir ~/cm12
cd ~/cm12
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
repo sync

Next, pull the additional sources from @whoshotjr2006's sources (thanks @whoshotjr2006!) and put them in their correct directories:
Code:
mkdir device/lge
cd device/lge
git clone -b master https://github.com/touchpro/android_device_lge_x5 x5
cd ~/cm12
mkdir vendor/lge
cd vendor/lge
git clone -b master https://github.com/touchpro/android_vendor_lge_x5 x5
cd ~/cm12
cd device/qcom
git clone https://github.com/CyanogenMod/android_device_qcom_common common

I then chose to use the V5 kernel source from LG Open Source Code Distribution at
https://www.lg.com/global/support/opensource/opensourceList?types=ALL&search=lg volt.
Just click on the folder icon next to the "LGLS740_LG Volt_Android_KK_LS740ZV5_Kernel" listing.
Then unzip and place the contents of the "kernel" folder in the "kernel/lge/x5" directory. (If the these directories don't exist, just create them yourself.)

Now return to the /cm12 root directory and initialize the build environment
Code:
cd ~/cm12
. build/envsetup.sh

I'm not sure if this is necessary, but the following 2 steps are adapted from the site that was linked in the first post http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305:

Make a new local manifest file:
Code:
mkdir .repo/local_manifests
cd .repo/local_manifests
gedit local_manifest.xml

In the text editor, add these lines:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-12.0"/>
</manifest>

Then resync the repos:
Code:
croot
repo sync

EDIT: It's seems as if the prebuilts feature has been deprecated...
The last step before compiling is to to get some prebuilt stuff from the cyanogenmod team:
Code:
cd ~/cm12/vendor/cm
. get-prebuilts

Finally ready to build!
Code:
croot
brunch x5

Here's where the community comes in :)
As of now, the build won't complete. I get this error:
make[1]: Entering directory '/home/elisam98/cm12/kernel/lge/x5'
/home/elisam98/cm12/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/elisam98/cm12/out/target/product/x5/obj/ETC/sepolicy_intermediates/policy.conf
vendor/cm/sepolicy/file.te:8:WARNING 'unrecognized character' at token '+' on line 12463:
# Themes
+type theme_data_file, file_type, data_file_type;
device/lge/x5/sepolicy/wpa_supplicant.te:5:ERROR 'unknown type system' at token ';' on line 11556:
allow wpa_socket system:unix_dgram_socket sendto;
allow wpa wpa_socket:unix_dgram_socket { read write };
checkpolicy: error(s) encountered while parsing configuration
external/sepolicy/Android.mk:121: recipe for target '/home/elisam98/cm12/out/target/product/x5/obj/ETC/sepolicy_intermediates/sepolicy' failed
make: *** [/home/elisam98/cm12/out/target/product/x5/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/elisam98/cm12/out/target/product/x5/obj/KERNEL_OBJ/Makefile
net/ipv4/Kconfig:635:warning: leading whitespace ignored
net/ipv6/Kconfig:260:warning: multi-line strings not supported
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
#
# configuration written to .config
#
make[1]: Leaving directory '/home/elisam98/cm12/kernel/lge/x5'

Well there you have it, my weekend in a nutshell!

Thank you everyone who contributed and continues to contribute to this project!
@whoshotjr2006, @Bad_MOFO_33, @bakerd62, @adamhos1234, @Sands207, @AnDroiDHackxr, @Corey Fields, and everyone else in this forum (sorry if I missed anyone)

BIG thanks to the guys in the ##LG_VOLT channel on freenode!!!
(especially @Zef_MOFO)

Sources:
  1. Obviously, posts #1 & #2
  2. https://source.android.com/source/initializing.html
  3. http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
  4. http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305
Please post any input on this guide. Let's get this thing done!
 
Last edited:
Hey is this a working build I'm kinda new at all this I'm really interested in the development field. I don't have a comp anyways oneshot I downloaded ur ROM an origanaly had cwm an went to twrp to see how cm11 was haven't checked them out sence I had a s2 years ago anyways when I tryed going back to stock I believe I tryed going to cwm then I don't no wtf o did ended up formating everything an kept getting can't format android_secure or sumthing similar an after bootloop for 3-4 days I downloaded cm11 again an removed the 6 or so files on the script updater an now on back thank god would like to no if this cm12 is up an if o can get a zip for it or if you got a update for this one or any help getting back to stock lol sorry an can't get twrp to run again if Simone can point me in right path every time I flash with flashify I get a boot error PLEASE HELP!!!!!!
 
I maybe wrong but before I flashed this an o was playing around in xpoaed I think I might have read in a thread they could be turned off in build prop that possible I don't know the dynamics yet in the sence of build wise but getting good at reading an understanding everything need to get a comp asap! What type of hardware I need? I was stuck with no boot or DL mode an recovered using a 4g SD an a Samsung centra with no service only WiFi lol.
 
I maybe wrong but before I flashed this an o was playing around in xpoaed I think I might have read in a thread they could be turned off in build prop that possible I don't know the dynamics yet in the sence of build wise but getting good at reading an understanding everything need to get a comp asap! What type of hardware I need? I was stuck with no boot or DL mode an recovered using a 4g SD an a Samsung centra with no service only WiFi lol.
 
Sorry about double post can't figure out how to delete... Or phone messing up an how can I get service period? On boost an got service till end of month.I picked up a lil bit of 3g but dropped right after I flash my backup thru twrp so idk should flash c8 radio?? An word on sounds!
 
Does this build have USB OTG? I'm trying to hook up a USB device but not having much luck.

I started setting up my build environment, so hopefully I'll be able to contribute soon, just wanted to know if anyone else had USB working first.
 

Thanks for the link. Unfortunately, as the comments there said, without building from source you would probably need to find a VERY similar phone to port from. I would also assume that that phone would have to be on Boost/Virgin.
Is anyone aware of a phone that would do the trick?
Otherwise, I think we have to keep on trying to do it the long way :-(
 
Thanks for the link. Unfortunately, as the comments there said, without building from source you would probably need to find a VERY similar phone to port from. I would also assume that that phone would have to be on Boost/Virgin.
Is anyone aware of a phone that would do the trick?
Otherwise, I think we have to keep on trying to do it the long way :-(

Optimus L90. I think the Volt is just a rebranded L90 with a bigger battery and camera, their specs are exactly the same otherwise. They have fully working KitKat based roms and some beta lollipop roms. I mentioned this a while back in a different thread, and I think this is where some of our devs got their start.
 
Optimus L90. I think the Volt is just a rebranded L90 with a bigger battery and camera, their specs are exactly the same otherwise. They have fully working KitKat based roms and some beta lollipop roms. I mentioned this a while back in a different thread, and I think this is where some of our devs got their start.

That's awesome. :) Gonna have to take a look at that.

Is it difficult to port the L90 source to support CDMA? Any tips/guides on that?
 
http://www.mediafire.com/download/ptm2jdvvemtmcim/cm-11-20141226-UNOFFICIAL-x5.zip

nonCAF cm11 from 12/26. working camera and camera torch. torch app not working, but i know where the problem is. Data works if you set it to 3g only, uicc card not getting recognized for some reason and apns got borked somewhere in the process.

Still working on audio and sensors, after that I would call this rom a beta.

I need someone with time and knowledge to read dmesg and logcats and see if they can see what I cannot about sensors and audio. I tried building with legacy alsa audio and qcom directtrack, legacy alsa compiles but dirrecttrack throws all sorts of build errors.
 
http://www.mediafire.com/download/ptm2jdvvemtmcim/cm-11-20141226-UNOFFICIAL-x5.zip

nonCAF cm11 from 12/26. working camera and camera torch. torch app not working, but i know where the problem is. Data works if you set it to 3g only, uicc card not getting recognized for some reason and apns got borked somewhere in the process.

Still working on audio and sensors, after that I would call this rom a beta.

I need someone with time and knowledge to read dmesg and logcats and see if they can see what I cannot about sensors and audio. I tried building with legacy alsa audio and qcom directtrack, legacy alsa compiles but dirrecttrack throws all sorts of build errors.
I have been using Linux (mint & ubuntu) for over 7 years and I'm and I have LXDE 14.10 running on my laptop now and I'm definitely not worried to try an alpha or beta for the greater good and :) I'm going to try this as my "nightly" driver until we can iron it out enough to make it a beta, I can read/send you my logcats and any other info you need. Just a question @whoshotjr2006 I used twrp to flash the last test run you released but I would rather give it a shot with the cwm build we have this time around, do you think that will affect the radio as I know right now we have 3g working? I use wifi 90% of the time right now but when I tested the earlier alpha I was in a spot in maine for the week that has spotty 3g at best and no spark network yet that far north that I'm aware of yet even running the trimmed down ROM we have it would waver in and out so I just stick with wifi for the most part when I have to work up there. Anyway, THANK YOU for your time and effort man. I'll download the ROM now and will be able to flash it late tonight or tomorrow morning most likely after I can get some sleep and pay attention lol it's been a long week.
 
Does this firmware enable the virtual COM port for DFS / QPXT / CDMA-WARE ?

Lmao cmon now, some of these questions are getting out of hand. Nowhere in the op or any of my other posts does it say anywhere about enabling a virtual com port. And if you are in to phone programming, you should know by now that diag mode almost always only exists with a stock ROM. Please read and understand that this is just a ROM! Its not gonna give the volt super powers or anything like that its just cyanogenmod. Lets try to keep this thread dev-related, if you have any general questions, please start a new thread to discuss them.

Also sands, you can use twrp or cwm to flash, but I believe with cwm you need to delete the first couple lines of the updater script talking about a device model check. Radio will work with both recoveries, its just that stock ROM radio won't work with twrp and I still don't understand why at this point after messing around with it.
 
Last edited:
Back
Top Bottom