yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] El Ha$on:
Still on the official build with bugs, finally getting tired and trying this out, I know I read somewhere that the steps to get this up and running have changed and are a lot simpler now but I can't seem to find or have been skipping over them completely. Can anyone point me in the right direction where I don't have to go thru all the steps mentioned I'm the OP or am I completely wrong and that it all still necessary?? Thanks in advance for the help!
[Verizon LG G2] R0gersism:
* device/lge/g2-common

48a828c Enable use of FFMPEG codecs for extended formats

Am I wrong in assuming this will resolve "unsupported video format" error during playback?
[Verizon LG G2] fordmanck:
This is the way I did it. Instead of flashing his Rom flash this one.

http://xdaforums.com/showthread.php?t=2715408
[Verizon LG G2] techbeck:
Is there a fix to the annoying message notify issue? Notification stays active even after you open it. Have to open it twice for it to go away.
[Verizon LG G2] jasondowning85:
do you have 2 messaging apps installed?
[Verizon LG G2] minnysota:
What's the early word on this build? Just as smooth as the snapshot? Theme engine working? :good:
[Verizon LG G2] fordmanck:
After using nothing but AOSP for years but struggling with it on this phone, I tried this yesterday. Everything, including themes, worked great except Bluetooth. Battery was decent, probably 20% off from stock for me. Sound was actually good which isn't typical of AOSP. GPS locked immediately as well. Bluetooth is really the only thing that kept me from daily driving it.
[Verizon LG G2] minnysota:
Bluetooth must be a new issue then? It works perfectly on the 20140504-SNAPSHOT-M6 build.

Can anyone else confirm?
[Verizon LG G2] fordmanck:
I only tried it with one device. I read in the OP that it wasn't working but that looks to be from awhile ago. Is there another build aside from the 9th build?
[Verizon LG G2] babygetoboy:
If we are already on 24a we can just flash this as normal right?
[Verizon LG G2] fordmanck:
Yep.
[Verizon LG G2] minnysota:
Yeah it's been fixed for a long time. The 9th build is the snapshot build from May 4. The 10th build is from yesterday, May 21.

Then there's an entire list of other builds in the OP, but bluetooth was fixed fairly early on...
[Verizon LG G2] fordmanck:
I appreciate it. I'll give yesterday's build a whirl. It's been so nice having AOSP back without SODs.
[Verizon LG G2] Unn113:
I'm using v10 since morning, and it's working flawesly, i haven't noticed any bugs, sod's or crashing. Dirty flashed over last M6.

From G2.
[Verizon LG G2] minnysota:
Good to hear! Have you tried bluetooth?
[Verizon LG G2] Unn113:
Yes, it's working, I used it to sending pictures with LG L9. Haven't tried audio, I prefer cable earphones.

From G2.
[Verizon LG G2] fordmanck:
I've only tried with a cheap speaker I bought in Singapore. It worked fine on stock but honestly, I could care less. After using stock again for a few hours this is so much smoother.
[Verizon LG G2] minnysota:
If someone could report back on bluetooth audio I would really appreciate it! :good:

[MENTION=2371208]fordmanck[/MENTION], did you try audio using the 5/21 build?
[Verizon LG G2] fordmanck:
Just checked. Works flawlessly. Thanks again for the heads up. It feels so good to be back on AOSP.

Edit - One thing I just tried to do which is weird that it's not working. I'm installing a machine at work that puts a 2D matrix on a part. So far none of the apps will work and it did yesterday on stock. Very weird.
[Verizon LG G2] t3project:
redraws upon signal return in low signal areas are present in this build
[Verizon LG G2] minnysota:
Could you explain what that means exactly? :eek:
[Verizon LG G2] t3project:
it means that when you are in a low signal area and you lose service, it closes programs you may have open. for instance if you are on your home screen, you will see the launcher refresh or redraw the screen. facebook will return to the top of the news feed. your kb will close if it is open and many other things. it is quite annoying.

it has been present in all aosp builds since cm made changes to ril stuff. no one has been able to figure out why at this point.
[Verizon LG G2] minnysota:
Thanks for the explanation. I remember seeing people with that issue on CM and Mahdi. Looks like I'll stick with the snapshot for now.
[Verizon LG G2] simon_lefisch:
I've been running mahdi since beta 2 and haven't had any redraws, even while in low signal areas. Seems to be a random phenomenon.
[Verizon LG G2] minnysota:
Interesting. I got them quite frequently when I tested his latest from 5/9.
[Verizon LG G2] jesssiii:
Pretty sure he fixed it in latest the other day.

VZW G2 (VS980)
[Verizon LG G2] JRJ442:
The problems in Mahdi were coming from the new theme chooser. It was a memory leak. Nothing to do with the RIL. He doesn't use CMs stuff for that anyway I don't think.
[Verizon LG G2] techbeck:
No, just the stock
[Verizon LG G2] t3project:
how often do you lose service to know though? lol.....I work in a very low signal area and I have to put my phone in airplane mode so I don't throw it against the wall. lol
[Verizon LG G2] Lawlrus:
For that reason alone I'm stuck on stock. Whatever was merged that started that destroys my battery.
[Verizon LG G2] HueyT:
Agreed. Stock always get best cell signal and call quality for me
[Verizon LG G2] endleesss:
Does the latest build support audio over micro USB yet?
[Verizon LG G2] yekniw:
HI, JackpotClavin, thanks for your detail steps.

I have some question: before seeing your note, my vs980 was OTA to 24A, then used IOROOT to root the device, I have also installed TWRP recovery.

now I am able to install the ROM downloaded from your build. but the official CM does not boot.

does that mean the aboot and boot image has been replced successfully by IOROOT and it match your steps?

another request, would you please help me build a CM M3 snapshoot version? somehow any newer version of CM/or other ROM based on CM, cannot lock mobile signal on my phone, I cannot make a phone call...

thanks very much!
[Verizon LG G2] simon_lefisch:
Official CM doesn't boot on the 24A (KK) base. It is still based off of JB.
[Verizon LG G2] mjones73:
Mind editing your post and removing the whole OP from it please?
[Verizon LG G2] gorm:
WtF lol
[Verizon LG G2] mjones73:
The guy originally quoted the first post which is quite big, it's been fixed, what's the problem.
[Verizon LG G2] yekniw:
yes, I am sorry for the mistake, and I have fixed it.
[Verizon LG G2] mjones73:
Sorry, I was just confused by the other poster's WTF comment. Thanks :)
[Verizon LG G2] travp624:
Mostly all these things you guys are talking about. Signal issues. Radio start/stop issue. etc. They were caused by the Multi sim implementation of cm's. So any rom based on cm will have the issue if they share cm's framework.
[Verizon LG G2] Unn113:
Battery life is perfect for me.

From G2.
[Verizon LG G2] bb12489:
Are you running a custom kernel? I'm going on 15hrs and I'm at 56% barely touched my phone at all today or last night. Definitely is draining fast.
[Verizon LG G2] Unn113:
Nope. I'm running it stock w/o tweaking. I use Ondemand and noop.

From G2.
[Verizon LG G2] KayIslandDrunk:
Any one having extreme battery drain when listening to music or podcasts with viper4android? On stock it barely touched my battery but I'm losing about 25% an hour on this ROM.
[Verizon LG G2] RandomPooka:
Excellent work. Just installed the 5/20 build and I love it. Have you submitted your changes to CM so the nightlies can be built off KK?
[Verizon LG G2] mjones73:
I found on Beanstalk once I use audio, the phone never sleeps again, traced it back to Viper, not sure if it's something related.
[Verizon LG G2] simon_lefisch:
Official nightlies for the G2 will not be supported ATM. The maintainer has no time, so unless someone else can step in and take over, their most likely won't be anymore official nightlies.
[Verizon LG G2] RandomPooka:
I guess I'll have to pull the changes made for this (with permission, of course) and roll my own. If I had time, I would definitely try to step up. Not sure if I'll be able to take on nightly builds or not

---------- Post added at 12:07 PM ---------- Previous post was at 12:04 PM ----------

Bonus points for having a reason to get back into the building end. Haven't messed with it much since the bionic got official nightlies. Before that, the DX with cm7
[Verizon LG G2] simon_lefisch:
I know the OP of this thread still puts out builds whenever he can (maybe every couple weeks-ish) so even something is better than nothing. If I knew how to build ROMs I would help.
[Verizon LG G2] RandomPooka:
No better time to learn than now!
[Verizon LG G2] simon_lefisch:
This is true. Do you have any references that I could use to learn?
[Verizon LG G2] RandomPooka:
Actually, Googling how to build cyanogenmod for Nexus gives you a very good link to CM's tutorial on syncing and building. Not much to a basic build. Github has excellent documentation on creating branches off the main tree so you can pull in the changes listed in the OP. I'll have to give it a shot this weekend and let you know if there's any other hiccups or problems that need addressed.

---------- Post added at 04:09 PM ---------- Previous post was at 04:08 PM ----------

I've got two years with this device, so I might as well make them good
[Verizon LG G2] RandomPooka:
Okay, so last night to this morning had me syncing and building. I managed to clone JackpotClavin's repos and get everything all set to compile here.

Ran a trial run and had a DisplayColorCalibration error that I tracked down. Just finishing the build up now and will flash it in a minute to test it out. If it works ok, I'll throw a copy up here for anyone who is interested. Actually, I'm uploading it to Drive right now, since it finished. Will update on functionality.

[MENTION=3727492]JackpotClavin[/MENTION] - If you haven't already fixed the problem, here's what I ended up doing

Your source may be forked direct from CM's, I don't know. If you frequently rebase off of their source and don't get these sort of errors, you may not even see this problem. But, this might help anyone else out there is trying to build using your repos.

---------- Post added at 10:31 AM ---------- Previous post was at 10:11 AM ----------

Well, I got my G2 build (VZW vs980) completed and flashed. Apart from an odd glitch where the vibration notification was going nonstop until I manually toggled the audio mode (to vibrate only, then back to sound), everything seems good to go.

I've also updated my makefiles for future builds to set screen density at 300 instead of 480. This build is at 480, but 300 just feels nicer to me. Something about a 5 inch screen with text on it that looks like it belongs on the face of a senior citizen's wristwatch bothers me to no end.

Link to this build HERE

If anyone else flashes this, would you mind letting me know if the audio toggle/vibration thing happens for you on first boot?
[Verizon LG G2] soundgirl101:
:cool::highfive::good: Good to see I'm not alone here!! Mine arrives on Monday, Will be watchin' this!! :good::highfive::cool:
[Verizon LG G2] RandomPooka:
Hey, stranger!! I'm digging this phone. Battery life gets me weak in the knees and giddy like a school girl.

After taking all the OTAs to get to Stock build 24a (mine actually came from the factory with 24a on it), there's like 2 programs you need to get TWRP going. You may also need to download the LG drivers for windows if you're rooting in that OS.

ioroot 25 has linux, mac, and windows scripts to root it. AutoRec will install TWRP on your rooted stock phone. I am INCREDIBLY glad that the first thing I did was make a nandroid of stock. Trial and error sucks if you don't have a fallback ROM!

I learned the hard way that you can't run ROMs for the 12b or lower firmware on 24a and vice versa :) It took me longer to find the hardware button combinations to reboot to recovery than it did to actually back up stock and restore it once I figured out how to get back to recovery :)
[Verizon LG G2] soundgirl101:
:highfive::good::cool: Will root thru Linux/Fedora distro, sweet, downloaded both apps, glad to see I've made good calls!! Count this girl in!! All that's missin' is Dumblecore and dtrail1:crying: :o :cool::highfive::good:
[Verizon LG G2] JackpotClavin:
Hey! What I do is repo sync just the stock CM11 from CM, then merge my repositories with the official. That way upstream changes (like to the g2-common and whatnot) are also included in the builds

So if you choose that route, that patch would be automatically merged into the source and there would be no build errors
[Verizon LG G2] RandomPooka:
I'll have to look into merging the repos, as that sounds far more failsafe! Right now, I've got them fully replacing the CM repos. I've got a script written to cherry pick the display-caf commit and to revert the media commit. I could just as easily add a couple of merge commands to that script.

Thanks for the heads up and advice.
[Verizon LG G2] joedajoester:
If i update to 24a and ioroot then autorec can i just flash this rom without anything extra stated in the op?
[Verizon LG G2] RandomPooka:
That's exactly what I did.

The directions in the OP were for before the OTA dropped, I believe.
[Verizon LG G2] koftheworld:
Just curious if anyone is using another kernel with this one. I downloaded dr87's but haven't flashed it yet.
[Verizon LG G2] Lawlrus:
There are no alternate kernels for this build.

Only the one baked in.

Sent from my Vs980 running CloudyFlex 2.4
[Verizon LG G2] HueyT:
dr87 AOSP is for 4.2.2 sourced KK roms only. It won't work for KK (4.4.2) sourced, AOSP roms like this one.

Furnace AOSP roms won't work for this one either as it's only for Mahdi AOSP KK rom (or 4.2.2 sourced AOSP roms)
[Verizon LG G2] koftheworld:
Thanks guys just was reading through that thread a bit more. Anyone have kernel setting tweaks they'd like to share? I haven't changed anything yet with mine.
[Verizon LG G2] Lawlrus:
Don't think the cm kernel has a whole lot of customizations. But if you're asking because of battery life, set the governor to ondemand max freq down to 19000 or 17000 and set multicore to 2.

Sent from my Vs980 running CloudyFlex 2.4
[Verizon LG G2] RandomPooka:
I'm coming from a Moto OMAP4 device, so battery life is ridiculously phenomenal compared to my XT875/Bionic. The things sits at 100% for the first two hours I'm at work.
[Verizon LG G2] jesssiii:
[MENTION=3727492]JackpotClavin[/MENTION], this rom has been safe from the screen damage issues?

VZW G2 (VS980)
[Verizon LG G2] Unn113:
[MENTION=2861395]jesssiii[/MENTION], yes it is.

From G2.
[Verizon LG G2] JackpotClavin:
I believe so. This kernel is pretty much stock, with only a few patches to get CM working.

Next build I'll make will be an M7 build on Friday where all devices are supposed to get a snapshot release. I'll also make a 4.4.3 build once everything gets merged into the CM repositories and sorted out :)
[Verizon LG G2] steveo17:
looking forward to the 4.4.3 build!! thanks JPC
[Verizon LG G2] RandomPooka:
Finally managed to merge in your trees to build current CM + fixes :)
[Verizon LG G2] ddzado:
So I'm trying to follow what this means... Cm11 officially with 24a updates in the kernels?
[Verizon LG G2] mjones73:
Pretty sure it means he built his own copy of CM11 with the latest CM11 fixes.
[Verizon LG G2] jordanl17:
What about this kill-your-screen issue. Is it isolated, and being avoided?
[Verizon LG G2] jesssiii:
vzw g2 (vs980)
[Verizon LG G2] RandomPooka:
Yeah, I had compiled from the source changes provided in the OP, but my device tree was out of date. Last night, I finally got around to building a current build through a tip JC mentioned about merging his stuff in instead of using it direct.

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

And yes, this is 24a. If you're rooted with recovery on the actual OTA (or have the 24a bootstack), you can flash this as is.
[Verizon LG G2] joedajoester:
delete
[Verizon LG G2] RandomPooka:
Here's the most recent version I compiled (last night) from JC's source. No modifications, I just have an updating addiction and thought I would share with others. All credit should obviously go to JC.

https://docs.google.com/file/d/0ByqY9YPMw9-zWHV2RHlJLWlYTlU/edit?usp=docslist_api
[Verizon LG G2] ddzado:
What os are you compiling on?

And is this last build newer than the last JC update?
[Verizon LG G2] MaceBewley:
Got my G2 about 2 hours ago!! Got JC's build running now, will give this a whirl as well. Still need to get caught up on how to fix problems with LGFlash Tool!!

And caught the CM7 on DX.... Been a looooong time!
[Verizon LG G2] RandomPooka:
Ubuntu 14.04 and this was built last night. It's got about 2 weeks of updates on CM's end.

The stuff from JC's device trees is what makes this work on the KK OTA, and I believe he said he may be tweaking the kernel on his next build. This is just something to get by until he has the free time and energy to throw some more awesome our way.

I remember having a blast with RevNumbers DX source after he dropped support for it. So many people came together to get that device back in the game. My pair of DX phones are both finally in the graveyard, we'll after the official EOL for that phone.
[Verizon LG G2] Lawlrus:
[MENTION=3053466]RandomPooka[/MENTION]

Have you noticed any redraws in low signal area? Last time o ran this, it would freak out and destroy battery life

Sent from my Vs980 running CloudyFlex 2.4
[Verizon LG G2] MaceBewley:
Just used my DX as the trade in for the G2 hated to see her go!
[Verizon LG G2] RandomPooka:
Only time I've noticed a screen redraw is on first boot when it acquires the first signal. Otherwise, I'm getting great battery life.

You get anything for it? I've always wondered how fair vzw is with that.
[Verizon LG G2] bose301s:
I have never seen this even once and I am in low signal quite often.
[Verizon LG G2] MaceBewley:
Not really, was a trade in for the edge program. Figured as much as I like new phones I would give it a try...
[Verizon LG G2] RandomPooka:
This is my battery life during the work day, on average.

---------- Post added at 09:45 AM ---------- Previous post was at 09:43 AM ----------

I think they were going to give me $20 for my bionic. Maybe?
[Verizon LG G2] mjones73:
Has CM added Active Notifications? I've become a fan of it on Carbon, it's in some other roms also.
[Verizon LG G2] RandomPooka:
Going to guess not. What is it?
[Verizon LG G2] mjones73:
Sorry it's called Active Display, it's a feature similar to the Moto X Active Notifications.

http://xdaforums.com/showthread.php?t=2450697
[Verizon LG G2] El Ha$on:
What do people do to get this kind of battery life???

I cleaned flashed this build this past weekend and while I think battery life has improved a little its no where near this..
[Verizon LG G2] jesssiii:
Don't use their phones, lol.

There's many factors, one of the most important being signal strength, that determine battery life. Even looking at on-screen time can be misleading. If I use my phone to read books all day (done it), my battery lasts longer than if I flash roms or surf the web.

My phone is my computer, my book reader, my music player, my alarm clock, my calendar... You get the idea. Occasionally I even text or make calls, lol. I'm just happy it makes it through my day (usually) and I charge every night.

VZW G2 (VS980)
[Verizon LG G2] RandomPooka:
Well, I was at work. I think I had 40 minutes screen on time all day and ended up with about 85% battery left after 8 hours. Once I get home, I'll drain another 30% or so and pop it on the charger around half full after 14 hours and a tiny bump charge on the ride home.
[Verizon LG G2] RandomPooka:
Has anyone run a benchmark on their vs980? Quadrant or AnTuTu?
[Verizon LG G2] psycho_asylum:
This is what I got just now running the 0603 build.

AnTuTu: http://i.imgur.com/h7PX2na.jpg

Quadrant: http://i.imgur.com/U3neFDS.jpg
[Verizon LG G2] RandomPooka:
Weird. Our quadrant scores are very close, but antutu is way different. Wonder why.
[Verizon LG G2] Lawlrus:
Because benchmarks are a skewed way of checking phones ability, and means nothing.

Sent from my Vs980 running Xdabbeb's 24a v1.1.1
[Verizon LG G2] RandomPooka:
Same exact hardware and software, though. Possibly free memory or cpu manufacturing batch?

---------- Post added at 12:04 PM ---------- Previous post was at 12:03 PM ----------

Same OS. Different running processes, I'm sure
[Verizon LG G2] psycho_asylum:
I got 19903 after a reboot and letting it settle for 5 minutes. The only process I have running is Pebble. Shrug.
[Verizon LG G2] jesssiii:
I'm awaiting [MENTION=3727492]JackpotClavin[/MENTION]'s new build, but every time I see there's a new post, I come here only to find more penis measurements. Oh, I mean benchmarks! ?

VZW G2 (VS980)
[Verizon LG G2] RandomPooka:
Settle down, kiddo. Nobody is whipping anything out. I just recently got the phone and was wondering what's typical of other users. Eagerly awaiting the JC build as well.
[Verizon LG G2] barrackOBAMA:
Does any one have a link to a video for the install.

On 24a with twrp.

And not sure what to do with the boot and aboot files.

I understand you write to the /root

But. Just too much of a noob to attempt terminal yet.
[Verizon LG G2] HueyT:
If u r on rooted 24A with TWRP 2.7.0.0 then u can flash away as u already have all necessary files and partitions
[Verizon LG G2] simon_lefisch:
-Put the files on the root of your SD card.

-Open terminal and type su (grant permissions)

-type "cd /data/media/0" (without quotes)

-type commands from OP

That's how I did it. Worked perfectly.

Make sure you read OP completely first before proceeding, that way you understand what's going on.
[Verizon LG G2] jesssiii:
Xdabbeb has a thread for his stock rom with a flashable zip to do what is in the OP more easily.

VZW G2 (VS980)
[Verizon LG G2] barrackOBAMA:
Are we talking about the bootsack zip?

Is it the 12b one?
[Verizon LG G2] RandomPooka:
Huey is right. If you were on 24a OTA and rooted it, then installed TWRP, you're good to flash.
[Verizon LG G2] jesssiii:
No.

It depends on how he got there, doesn't it? There are some parts missing if you just flash a modem I thought.

VZW G2 (VS980)
[Verizon LG G2] RandomPooka:
That's why I specified OTA.

---------- Post added at 07:59 PM ---------- Previous post was at 07:49 PM ----------

If you were on 12b and took a non OTA route to 24a, you're probably going to need to follow the OP procedure.
[Verizon LG G2] barrackOBAMA:
M

I was on 24a and rooted it. Had some problems with APN settings from previous owner

When to 11b by the flash tool.

Then ota to 12b then ota to 24a.

Rooted and running 2.7 twrp.

I previously tried to flash and twrp said

Failed. So when I booted into Room. I kept getting force closes on phone.sec or something. They popped up immediately after one another so Icouldn't even pick my language at set up screen

And what gapp package do you guys prefer?
[Verizon LG G2] HueyT:
Min gapps give u play store only

Sound like your 24a is messy. May wanna KDZ 24A, ioroot25, Autorec to get TWRP, and start over
[Verizon LG G2] barrackOBAMA:
haha i know. but im on it right now and there isnt much i can do since i didnt flash gapps.

but everything is working so far!

Edit: everything is working perfect and I can't believe how much I missed aosp.

But I got like a millimeter of black all the way around the edge of my phone. The screen doesn't reach the white bezel. Is this normal?

Edit 2: yeah the bars are normal. Guess I just noticed them haha. Awesome Rom.
[Verizon LG G2] ddzado:
It's anyone seeing that they can't download some apps because "your device isn't compatible?"

Amazon Mobile and ESPN Fc gave me this error.
[Verizon LG G2] Lawlrus:
There is a work around to make it so you spoof your device to allow all and any devices. Do some gooflefu, there's defiantly a way
[Verizon LG G2] joedajoester:
They got KitKat on the dx! Fully working and has twrp, you should try it out, bought the old phone back to life.