yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Master Tenzing:
And I do the wipe after flashing the bootstack (before flashing the rom), right? Sorry for my noob questions, I just don't want bootloops or brick the phone.
[G2 Android Development] sunekosuri:
I would recommend KDZ to latest lollipop, root and then Autorec. After that TWRP http://xdaforums.com/lg-g2/development/twrp-twrp-2-8-0-0-kernel-f2fs-tools-t2898705 and from TWRP PA and Lambda Kernel.

In such scenario bootstacks are not necessary, in my case they were not. This is also recommended way to move to CM13 and any marshmallow ROM.
[G2 Android Development] errikosd:
Tip: Whoever has problems with GPS, just try replacing /system/etc/gps.conf with gps.conf from Stock LG ROM. Working a lot better for me.

[MENTION=6175749]GalaticStryder[/MENTION], can we override gps.conf for the D802 only in sources? Would such a change pass from gerrit?
[G2 Android Development] GalaticStryder:
Gerrit has nothing to do with the LG G2 unless it switches to official releases. I can test this GPS config here and push to the device trees if it's better.

Just dump it on gist.
[G2 Android Development] diegognvs:
ROM works great , very smooth.

Just a question, how can i switch off vibration?
[G2 Android Development] Josh:
Install kernell auditor
[G2 Android Development] diegognvs:
Nice, thank you, could not see it un synapse.
[G2 Android Development] METEMEDO:
Hey guys, I've been having a problem: I've updated the rom manually (flashed the update) and then I've installed the latest gapps. The problem is, my google keyboard doesn't change languate and if I go to Settings -> Input and language -> Google Keyboard, if I try to click on any submenu, I just get a "Google Keyboard stopped unexpectedly" popup.

What I've tried so far:

- Wipe the keyboard's cache and data

- Wipe cache, wipe dalvik

- Uninstalled the keyboard through lucky patcher, tried to install through play store but it gave me "error 505"

- Downloaded the google keyboard app and tried installing manually through a file explorer, but it "could not install"

- Installed through lucky patcher as a system app, it works like before uninstalling (doesn't change language and crashes on the Settings app)

It would probably work if I just wipe everything and make a clean rom install, but I've had so much work installing, logging in and customizing all the apps!
[G2 Android Development] liusi522:
:D:D:DI also want to know.
[G2 Android Development] errikosd:
There you go: https://gist.github.com/errikos/1bc75126fb503ec93268acd1f2de242b

Thanks!
[G2 Android Development] aleasto:
Have you tried UBER/Dragon toolchains? Either one should give a smoother experience, which is kinda missing on these builds imho. Rom is fast but not quite smooth, if you know what i mean... To make a comparison OrionOS, built with UBERTC feels quite a bit smoother.
[G2 Android Development] Master Tenzing:
Hello guys, I flashed the rom on my D802 last night with opengapps nano and the latest stable Lambda kernel. I did it from stock lollipop, without hybrid bootstacks. The Rom booted flawessly and is absolutely amazing, quick and snappy. Now it's time for root, so can you please tell me what the foolproof way is to flash superSU zip, without getting in bootloop?

And a minor thing: the back led doesn't work. Is it general or just mine is reluctant?
[G2 Android Development] errikosd:
Flash SuperSU and then flash Lambda kernel on top (it's OK if you have it, flash it again after SuperSU).
[G2 Android Development] Pacer_456:
Flashed on d800 and got stuck at LG logo like other people reported, I then flashed the rom and lamda kernel and it booted fine which leads me to believe it is a error in the boot partition, etc.
[G2 Android Development] GalaticStryder:
This variant leads me to nothing but nonsense hypothesis about the bootloader certification. The AOSPA kernel now uses infinito branch and seems to boot on fully enforcing environments.

Here's a build you can test: https://www.androidfilehost.com/?w=files&flid=88080

It will boot on enforcing.

No ETA, nougat-caf is now out focus. There might be some more marshmallow-caf builds before anything else.
[G2 Android Development] Master Tenzing:
Ok. Do I wipe anything in Twrp before? Does it matter which kernel I flash? Pure or stable?
[G2 Android Development] errikosd:
You don't need to wipe anything. I have tried with Hipnose N9 and Infinito N1, they both work.
[G2 Android Development] Fenri:
Every connection with this Rom to my Car makes a Bluetooth Notification. (Contacts, Messages etc.)

Can i disable this?
[G2 Android Development] schlager P.:
I got a question, I believe it's a bluetooth related problem (It occurs on a BT speaker as well as a BT headphone) (not on speaker) whenever it switches a track or ducks for an incoming notification it gives a sound (like a double tap)it's quite annoying since I bought a media player for gapless playback. Is it some setting I'm missing?

Sent from the den of inequity
[G2 Android Development] errikosd:
Dear [MENTION=6175749]GalaticStryder[/MENTION],

For the next build, please consider replacing fonts.xml and fallback_fonts.xml (in /system/etc) with the following: https://gist.github.com/errikos/e2c64a6a51bf0be9fac63f0b237c806e

I have just changed the order of some font families and the result is that all emojis appear as they should instead of some appearing black-and-white.

Thanks!
[G2 Android Development] Mirageux:
Hi guys,

I was in the same situation 5min ago with my G2 D802 so i've flashed SuperSU 2.60 in TWRP but I forgot to flash Lambda kernel after this and I've reboot the system instead...

I'm now stuck with a "Secure booting error ! cause : boot certification verify" when I'm trying to start my device.

I can't get recovery mode but I'm actually in Download Mode doing an "error recovery" with LGMobile Support Tool...

So I guess i'll have to do it all over again when it will be over ?

Or do you have any better ideas ?

Which version of SuperSU should I use next time ?

Thank you
[G2 Android Development] GalaticStryder:
Go to back to recovery using power key combos that we mentioned not so much time ago.

It's the post number #270.
[G2 Android Development] Mirageux:
Thank you it work now ! And it's rooted ;)

This rom is awesome, fast and stable !

Thank you for your work and help :)
[G2 Android Development] Master Tenzing:
Hello guys! SuperSU updated itself during the night from the Playstore. Is it safe to reboot the device or should Lambda kernel be flashed again?
[G2 Android Development] szabyka95:
Is safe
[G2 Android Development] schlager P.:
any news on the BT clicking sounds?

Sent from the den of inequity
[G2 Android Development] GalaticStryder:
Yes, this is related to offload buffering since I disabled all kinds of offload from the LG G2 properties and our CAF HALs don't support it at this time.

What I'm doing is to write a new offload implementation using some resources from CM together some cleanup and removal of non needed stuff.

This issue specifically can be addressed with changes in kernel instead of rewriting anything. Might wanna try Lambda H BETA N9 that has the sound patches.
[G2 Android Development] schlager P.:
ok, thanks! will try changing kernel!
[G2 Android Development] schlager P.:
how weird, switching to the latest lambda kernel didn't help, switching to (had it on my HDD as leftover) Galante did. thanks for making my d802 wonderful!

Sent from the den of inequity
[G2 Android Development] GalaticStryder:
I'll see if I can get it covered on 7.0, I vanished all the source code for marshmallow due to nougat builds, I don't wanna release before I can get the new guts of 7.0 working: sdcardfs and the new alarmtimer API (which is default on AOSPA 6.0 already).

As far as the sound I may adapt the GPL sound control to be HAL driven and then make finally great sound out-of-the-box.
[G2 Android Development] schlager P.:
since you're working on 7.0 anyway, quick question: is the "charging while MTP selected-bug" gone?

Sent from the den of inequity
[G2 Android Development] barrtzz:
It's safe to flash super su after installation? Its only way to have a root ?
[G2 Android Development] szabyka95:
you have to flash bump script, then supersu. or supersu + bumped kernel
[G2 Android Development] barrtzz:
Any link ? Or can i flash lambda then supersu ?

Edit. Everything is ok super su and script flashed .
[G2 Android Development] Holgott:
I just read that the camera quality is almost equal to stock rom? Ist this right compared to stock and cm? If so, which camera app do you use?
[G2 Android Development] schlager P.:
huh? how überweird. that sound's back! reinstalling kernel didn't work! will reinstall rom tomorrow to see if that helps

Sent from the den of inequity
[G2 Android Development] meloalain:
There is no build for the ls980 variant ? Please
[G2 Android Development] TSLNL:
I think this has been mentioned before, but does anyone have this problem that their date is set to 1-1-1970 when data is not connected? (Rebooting in flight mode)
[G2 Android Development] GalaticStryder:
I've migrated all the timer resources to the new nougat alarm system, as of previous PA builds it was using the old LG blobs that use plain (old) RTC timer and thus failed to work.

This seems to be fixed using OnePlus One blobs from cyanogen. The date is picked fine here when you turn flight mode on and reboot in the next release (my test builds).

Every Linux machine uses 1970 as the kick-off date in RTC core and this is normal, though it must update after some ~3s with the new timers.

My only racing point is CyanogenMod that is not migrating to the new timers and thus might break my custom kernel when it wants to pick the date (or not).

Those new alarmtimers are present in 3.10.y but in 3.18.y they were migrate to timerfd (as a filesystem code)! At least 3.10.y is more future proof since the timers are fundamental to get a working bluetooth and other services as of nougat and up.
[G2 Android Development] errikosd:
[MENTION=6175749]GalaticStryder[/MENTION], I know you are working on Nougat, but I want to point out something. There is a significant difference in user experience when comparing AOSPA to DirtyUnicorns or any other MM ROM. In AOSPA I can see micro-stutters in animations. The ROM seems to be "slower", but it's not, it's just that the animations are a bit choppy. At the beginning I thought it was a kernel thing, but then I tried Infinito N2 in DirtyUnicorns too and the animations were way smoother.

Maybe it's related to the Android Toolchain used? I don't know. I wish I had the time to learn about this stuff, so I could make my own research on these kind of "issues".

I am not asking you to "fix" anything, the ROM is just fine. I am just pointing this out, mainly out of curiosity and in case you have any idea of why could this be happening.
[G2 Android Development] GalaticStryder:
It's strange, we consider our bionic one of the most optimized across any CAF based project. There are plenty of other changes to make it snappier using -O3.

Presumably, it can't be related to the compiler at all. What I bet the most is display/gfx related, as we don't use CM for those hardware components we play a different role here.

I've already got everything needed (audio, camera, BT and RIL) in nougat-caf, I just need to push the updates and the needed repos we'll track to our gerrit. As far as the audio, I'm preparing the HAL and blobs to use LA.UM (MSM8996) resources instead of our old ones from LA.BR.1.3 (MSM8974). Primary audio offloading (UI) is still broken on this HAL but the kernel is not 100% ready yet.

Now, I'll start patching/addressing the policies to be able to run on enforcing and test the GPS a little bit more - it's not broken but ridiculously sucking all the battery: 90% to 5% in 25min isn't right at all.
[G2 Android Development] AlexBodewig:
Looks like you still need to flash the kernel on top of the rom. Got it working on the d800 but if you're used to some of the features of cm, switching over might be hard. I went back to cm because themes kept crashing every 5 minutes. Please fix?
[G2 Android Development] IronPudi:
Hi, i'm currently running cm13 nightly on my d802 and i would like to install PA, i tried but i get bootloop so if someone could explain me how to install it :) (sorry for my bad english i'm french :D )
[G2 Android Development] Popelll:
I did it like that and didn't get a bootloop, maybe it helps you:

1. Wipe everything besides internal storage

2. Install PA

3. Install Google Apps

4. Wipe cache and dalvik

5. Reboot

Later I went back into the recovery and flashed super user for root access and the kernel right after again, as galaticstryder explained in post 39.
[G2 Android Development] BuXuRa:
Hello, I flashed hybrid bootstack for my D800 via bumped recovery with thermal control, then I flashed this and got stuck at LG Logo. any advice?
[G2 Android Development] GalaticStryder:
Install Lambda Kernel Infinito BETA 1 for D800. The previous PA release had Kernel misbehavior during probe when SELinux was enforcing for some variants, mine wasn't affected though.
[G2 Android Development] IronPudi:
Thank a lot guy ! i did everything you write and now it's work :good:
[G2 Android Development] khanjui:
I can't take RAW pictures with FreeDCam (only app that allows RAW capture with Camera API 1 as I know). When I press the shoot button app is crashing. It's working without any problems on CM and stock Lollipop. Do you mind to looking that issue?
[G2 Android Development] GalaticStryder:
I've tested this app right now on CM14 and some days before on CM13, it works as expected but it does stuck on JPEG format on both versions. DNG works properly though but the result is poor, you'd drop a logcat to analyze.
[G2 Android Development] BuXuRa:
Thank you for help. It worked for me
[G2 Android Development] DFog:
Went for a clean flash earlier today on my VS980, but it seems to keep getting stuck on the "Welcome, please choose a language" screen. I can add a wifi device and verify my SIM, but can not go any further as the screen won't advance. Has anyone else had this issue, I'm assuming I messed up?
[G2 Android Development] aleasto:
Try changing gapps
[G2 Android Development] GalaticStryder:
GApps have been misbehaving for quite a while now, what package did you choose?
[G2 Android Development] errikosd:
I generally prefer Google Apps over AOSP. That being said, I have had no problems with OpenGapps Stock for quite a long time now. They just work.
[G2 Android Development] DFog:
It appears you were right, sir. Using a different GApps zip fixed the issue. Everything sees to be in good shape now.
[G2 Android Development] Popelll:
This might be a very dumb question: Does anyone know why the back-button of my d802 is sometimes taking me back to an app, that I used wayyy earlier, instead of to the home screen? I used multiple roms on different phones now and am confused why this keeps happening. I don't think I changed the way I use my phone and it's buttons.
[G2 Android Development] errikosd:
Indeed this happens and it's very annoying. I have learned to press the home button when I want to exit an app, but still...
[G2 Android Development] Litendria:
JPEG doesn't work too, thanks.
[G2 Android Development] alexx_kidd:
May I ask what cm14 build are you talking about? Is it something you compiled yourself? And if so, do you have any plans of making it public?
[G2 Android Development] BuXuRa:
This is a great rom. Amazing battery life... I cant even remember when i got 5+ hours screen on time last time.

i faced two problems so far:

1) when switched to speaker, microphone dont work properly and is very noisy

2) camera app is very glitchy
[G2 Android Development] poskylinks:
Pls what rom should i flash on my lg f320k?
[G2 Android Development] Holgott:
I recommend flashing CyanogenMod 7 :silly:
[G2 Android Development] patsonator:
Please with bootloader is required for this rom?
[G2 Android Development] GalaticStryder:
The same required for any other ROM, as for D802 you can use the stock modem/bootloader combo just fine since the kernel is bumped. Otherwise, you can flash the bootstack from Rashed but it ain't needed if you didn't screw your partitions after KDZ'ed.
[G2 Android Development] BuXuRa:
Quick question: is this rom still in development? (since I like it very much.amazing battery life, I easily get 5+ hours screen on time. in spite of glitchy camera,facebook and mic not working while in speaker mode I still ise it as my daily driver for about a week (also while pressing back button sometimes also home button is pressed)
[G2 Android Development] GalaticStryder:
Marshmallow is abandoned from AOSPA development, the development actually started way too much late and the promise of releasing stable software and quick updates stayed as a promise as far as marshmallow, most officially supported devices have some really critical problems (I'd say more than the ones we have on G2) like calling or UI rendering bugs.

It was a great shout out and advertising, though.

As for the problems you mentioned:

- The camera app is from CAF, it is "glitchy" sometimes as you say but it works.

- Facebook isn't part of the ROM thus a log would tell better what it is and why it's happening.

- I missed the speaker mode entry, not sure what you talking about.

I plan to release a final build for this after N for the people who eventually flashback "old" (not actually) ROMs.
[G2 Android Development] BuXuRa:
while in call and i switch to speaker mic is not working and they cannot hear me.

thanks a lot, so i will switch to N when ready
[G2 Android Development] Willian182:
Any LS980 build??
[G2 Android Development] aleasto:
Mobile data is eating a ton of battery, that gets listed as 'Miscellaneous' under battery graph. Is it normal behavior?
[G2 Android Development] errikosd:
[MENTION=6175749]GalaticStryder[/MENTION] I know you said that a final MM build is expected after N, and I don't like making requests like this, but I would very much appreciate if you could make a build with the Aeroplane mode fix integrated (if it is ready anyway). Lately it has been driving me crazy. I could make my own build, but I have no build machine ATM.
[G2 Android Development] GalaticStryder:
Don't remember Airplane mode getting fixed. Actually, I can't put effort if the team has abandoned this version too soon. I still have the sources in my computer and I'll build the other variants as a final release as I said but it's not gonna be a great update due to lack of marshmallow upstream development - it will be more of the same.

I'd enjoy fixing it but you'll need to refresh my mind.
[G2 Android Development] errikosd:
Oops sorry, I meant the "bug" where when in Aeroplane mode, if you reboot the clock/date reset and never come back unless you connect to a WiFi network. I think you have mentioned you got it fixed in your private builds.
[G2 Android Development] GalaticStryder:
Might have gotten fixed since I didn't have that bug triggered when trying to reproduce here some weeks ago. I'm using lazily using CM snapshot right now to focus on improving the kernel as nougat development is not consolidated yet to release something. I'm exchanging some ideas on Gerrit but stopped building nougat until they merge AOSP/CAF together.
[G2 Android Development] TSLNL:
I managed to fix that problem by using the following thread:

http://xdaforums.com/showthread.php?t=2580974
[G2 Android Development] avvocato.rossi:
notification panel

Hi

Is the "long press" function for kill app working? Is there a way for have the "pull down" button on the navigation bar like android 4.4?

Thanks!!
[G2 Android Development] :
Hello.

I notice that the wifi is always on even if i turn it off and also i see an over counted.

I use pa_d802-6.0.3-20160816 with open gapps. Then i notice that open gapps they have some issues. Because of them is wifi always on and over counted high on battery stats?
[G2 Android Development] GalaticStryder:
The dmesg will tell you if the Wi-Fi is really on, the battery stats aren't the most accurate in CAF devices. About Gapps, I don't think so. Our Broadcom Wi-Fi/BT card is totally kernel-driven, if the kernel suspends the driver after switching it off, it will shut down the card for Wi-Fi or BT since they are independent.
[G2 Android Development] :
Thank you. And one last question. Can i flash supersu? Because i flash it when i flash the rom and i get an error at lg logo.
[G2 Android Development] aleasto:
Flash this right after supersu and enjoy http://xdaforums.com/showthread.php?t=3325186
[G2 Android Development] datonedude:
Problem with GApps

Hi, I just installed this using TWRP Recovery. The Gapps I used were Banks GApps from a page called "android . how". Can't post the link because I'm new.

I get an error during first reboot, it says the installer stopped. Any way I can find a link to a working GApps version?

Thanks for the Rom!

Best,

Joe
[G2 Android Development] phikr:
open gapps nano worked nicely for me (just Google open gapps).
[G2 Android Development] datonedude:
Thanks a lot, they worked for me, too!
[G2 Android Development] miloske83:
Hello friends this ROM good for daily use? Newer tray MM ROM on my phone,can you tell me for bugs in this ROM, camera and wi-fi work OK ? Thanks
[G2 Android Development] errikosd:
Everything works fine. Pair this ROM with Lambda kernel for better results.
[G2 Android Development] GalaticStryder:
It runs my kernel but in the "pure" version baptized as #StayParanoid just to point out it's made for it. BETA 4 was flashed on it and worked just amazingly.
[G2 Android Development] adaytoremember:
Lovely! Just gonna try that combination... Another unexpert question, I tried to flash SuperSU but it seems my phone got stuck on LG logo, did I did something wrong? Is there a proper way to root PA?

Thanks,

-ADTR
[G2 Android Development] Eselter:
Are you bump kernel after flashing SuperSU?
[G2 Android Development] ghost141:
Wow. PA ROM!

First, thank YOU as always for using your time to bring such ROM for Community. Staff like you really make this device keep alive in XDA world.

Second, Thanks AGAIN for bringing NOSTALGIC ROM that almost dissapear.

Third, I gonna try this, and will report if i found something strange. :)

Overall, Thanks mate. :)
[G2 Android Development] adaytoremember:
Do I need to bump the kernel after flashing SuperSU? I thought you only needed a bumped bootloader.... is it safe?
[G2 Android Development] Eselter:
I don't use this rom but this should help:

http://xdaforums.com/lg-g2/development/cbump-bump-current-boot-image-t3325186
[G2 Android Development] jneto3000:
If you want to use the stock Browser and it FCs, just:

1. Change system language to English (USA);

2. Open the browser and pass through the first steps (You should grant permissions for storage and contacts)

3. Change back to your prefered language.

That's it.
[G2 Android Development] Moppusan:
[MENTION=5422660]Galactics[/MENTION]tryder (your name doesn't come up in the person you want to mention...odd). I have a d800. Do you just need computer resources to build for other variants or is there more coding involved? I've never built a rom but I am familiar with Linux, git, repo, etc., and I have a VM set up. I could compile other variants if it's just, like I said, computer resources that are needed. I have plenty of time on my hands. :victory:
[G2 Android Development] ytgbg:
Great news,

Just flashed.

Does anyone obtained root successfully?

SuperSU v46 is leading is leading to bootloop latest SuperSU is leading to security message, I will try after flashing SuperSu to BUMP and see what will happen...

Edit: Successful root method: flashing latest SuperSU zip, flashing BUMP zip from Blastagator = ROOT
[G2 Android Development] OMYx:
I have not see when somebody call to me or I call to somebody. Only sound. Nothing change on display.
[G2 Android Development] ytgbg:
I am receiving calls perfectly and I am making calls without problems.

Everything works fine for me, didn't notice any problems/bugs for now.

ROM is smooth and very fast.
[G2 Android Development] OMYx:
I glad for you. But I have this problem. I can not answer. Only when ring over I see that someone call to me.