yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] GalaticStryder:
The procedure went fine, the G2 screen/digitizer replacement was much easier than I thought it would be although the screen didn't settle down properly and it's of poor quality - far from stock - I can still use it with a case, this helps to settle it down too. I didn't buy the adhesive glue for this procedure so I kinda suffered a little bit. I may be using it the way it is for the couple months to come, I'd like to remove the old glue and do everything from the scratch in the future. Also, noticed the there's no LG logo on the front panel, this makes it look not an original phone. It's a pity to have such a powerful device without a decent customer service support, the replacement made by LG care was worse than mine. Anyway, touch works, I've got my custom kernel booting and CM on it, my device is back for 60 bucks and I could learn more about the hardware this evening. Put it to charge and wait to get all up-to-date on a clean flash. Let the real development begin.
[G2 Android Development] johnb380:
Oh ya! Let the fun begin!

?
[G2 Android Development] blastagator:
Had a hard crash. Beta N1. CM13.

Not sure I've ever seen this error before:

[47379.787365 / 03-30 23:15:19.865] L2 Error detected!
[47379.787374 / 03-30 23:15:19.865]	L2ESR = 0x00010001
[47379.787380 / 03-30 23:15:19.865]	L2ESYNR0 = 0x20002000
[47379.787386 / 03-30 23:15:19.865]	L2ESYNR1 = 0x0020d401
[47379.787392 / 03-30 23:15:19.865]	L2EAR0 = 0x20800028
[47379.787397 / 03-30 23:15:19.865]	L2EAR1 = 0x00000008
[47379.787403 / 03-30 23:15:19.865]	CPU bitmap = 0x1
[47379.787409 / 03-30 23:15:19.865] L2 master port decode error
[47379.787417 / 03-30 23:15:19.865] Kernel panic - not syncing: L2 master port error detected

Looks like someone may have found a way to help mitigate this type of error:

https://lkml.org/lkml/2013/10/28/635
[G2 Android Development] Floodland:
Unusually silent this forum today. Seems like something is currently cooking ;)

Let us know if you need a hand.
[G2 Android Development] Scrappy3416:
Is there a way to increase to 2.3 ghz the clock speed of beta n1? Not that 1.7 ghz is bad, i just want more performance

---------- Post added at 09:26 AM ---------- Previous post was at 09:14 AM ----------

Check that, got it. Can't wait for the next developments. So excited lols
[G2 Android Development] nitrobg:
F320L with Dirty Unicorns 9.8 (CM12.1) and 03/27 Galante build has no governors besides the default ones, defaults to performance, has no voltage control or hotplugs beside mpdecision. Is this normal?
[G2 Android Development] Kfcbuckets:
im getting error device not supported on synapse with resurrection remix from vs980
[G2 Android Development] idkwhoiam322:
N34 works pretty much perfect except for the default simple driver settings which you said you set to a higher level for the next update I believe . No reboot during entire testing time :D

However, if people want a kernel as daily driver, I would recommend to use domino stable or galante beta n1 just to avoid any unpleasentaries.

Great work so far bud, glad I'm using this kernel (:
[G2 Android Development] johnb380:
Your ROM has nothing to do with Synapse and UkM when you flash any of [MENTION=6175749]GalaticStryder[/MENTION] kernels they have UKM in them so it gets flashes too. So all you need is Synapse and your good. But sometimes you have to clear data of Synapse for it to register. Try that and I bet you'll be good!
[G2 Android Development] GalaticStryder:
State notifier is on board, finally. Windows are open for the sunshine.

I'm adding back everything and updating every part of the code on every incremental that I'm testing. Even using mpdecision seems to have a cooler and faster performance than I've ever got on G2 using AOSP/CM firmware. I think we'll get stable soon. Beta is scheduled for tomorrow after testing all I can merge today.
[G2 Android Development] Garfield3333:
The new one is amazing....

Please, can you describe your Fastlane in the Makefile...??

Thx for your work.....
[G2 Android Development] android extreme:
Garfield could i ask to you where you found the new version of lambda?
[G2 Android Development] GalaticStryder:
Everyone can build it, it's 100% open source. I just don't like when people share their builds cause it causes confusion every time.

I'll build the BETA in the afternoon today. You'll be amazed with the stuff we got.
[G2 Android Development] android extreme:
I'm sure that i will be amazed by the next incremental of your kernel. If i'm not inopportune could i ask to you what effect should have state notifier on kernel performance?
[G2 Android Development] johnb380:
I though you left XDA bro. Ain't heard a thing from you. O well...
[G2 Android Development] szabyka95:
[MENTION=6175749]GalaticStryder[/MENTION] can you share with us what apps are you using ? i refer to xposed modules, apps that kills services (servicely for example). also, what version of CM ?
[G2 Android Development] GalaticStryder:
BETA 2 on drive for all. I'll update the O.P. tomorrow.
[G2 Android Development] blastagator:
Which branch on github is this from? Saw hotplug branch is ahead of lambda.

Thanks as always :)
[G2 Android Development] GalaticStryder:
I only merge on lambda after deep testing. That's hotplug for this beta, although I need to push two commits that I have locally. I have other hotplugs in development locally as well.
[G2 Android Development] blastagator:
So far so good. Immediate note: On boot, using encryption, before it was slow as snail (sometimes) waiting for the keyboard to pop up. Seems like boot in general is faster now :) Thanks for all the hard work!
[G2 Android Development] ramabg:
]Just reminder for those who use Synapse. First of all, you need to wipe the data or UCI not supported message will appear. Next, I think you should disable one of two active hotplug in HOTPLUG tab because having two active hotplug is not recommended. [MENTION=6175749]GalaticStryder[/MENTION]: in HOTPLUG section,we can find this option: Runqueue Threshold Unplug CPU0. If this threshol is reached, CPU0 will be unplugged. I dont think we cant unplugged CPU 0. Did you miss write CPU 1 into CPU 0 ?
[G2 Android Development] -Orion:
Hi all and thanks [MENTION=6175749]GalaticStryder[/MENTION] for your work, I have a d802 and I am on cm13 03/31 nightly. I tried to flash the new Beta 2 but after boot I get a loop of SystemUI FCs, what could be the issue?
[G2 Android Development] GalaticStryder:
We use selinux enforcing by default, maybe you have something installed that needs permissive. Try cleaning cache after flashing, may work. Other then that grab us a logcat from adb or reinstall your firmware.
[G2 Android Development] -Orion:
I already tried to wipe both dalvik and cache, forgot to mention. The only thing I can think of that may need permissive is kernel adiutor, I'll try to uninstall it and flash your kernel again. Thanks for the help.
[G2 Android Development] GalaticStryder:
I use Adiutor on enforcing on beta 2, I think you should bump your CM version to the latest and test.
[G2 Android Development] -Orion:
I'll try to update cm later today, thanks.

EDIT: no system ui FCs on 04/04 nightly, yay!
[G2 Android Development] szabyka95:
what about battery life? is it any better? :D
[G2 Android Development] idkwhoiam322:
What CPU governer is used by default, mine shows performance :/
[G2 Android Development] GalaticStryder:
Lambda Kernel Beta 2

As I said yesterday, I'd update the O.P. today for everything we have inside this BETA. Well, I made it just know. Just a little heads up, I changed the default server to host the build to Android File Host, Drive is a little buggy for people using their phones to download. Added the 2 issues you may get on this build, I'm running it for more than 24 hours already, fairly good for me. No random reboots, no nothing besides the 2 issues I listed in the O.P. It's that for today, this is the last BETA for G release. Hopefully, we'll get the most stable release ever for the stable version. Anything weird, report.

It will fall back on performance if you don't set it on Synapse. I'm using ondemand, so far so good.

You dictate your battery, not me. Do your setup on Synapse, the default settings are balanced/efficient but you gotta do your part.
[G2 Android Development] idkwhoiam322:
Everything very smooth and standby drain also cool :D. Battery seems pretty good too. Will report more after 2-3 days :D. Unless you upload another amazing incremental I can't resist xD.

Btw, u didn't update date in Thread Name :P[3/27-->4/3]
[G2 Android Development] shaneel1491:
Running the latest AICP D802 nightly and Galante beta gives me FC's on most apps when exiting using the back button. Tried changing selinux and wiping davlik and cache but it's still giving me the FC's, anybody else having this problem?
[G2 Android Development] GalaticStryder:
Kernels don't summon force closes, if you got an FC it's totally system side. Don't use "hacky" stuff and you'll be fine. I never got a FC here since ever, not because of a kernel. I added viper support on enforcing, that's what people mainly used to need permissive. What I can ask is a logcat but as I said, if you use mods and xposed, it's no big deal though. It's been working fine for me on latest CM but I don't use any king of mod. Just plain CM + Gapps Nano and kernel.
[G2 Android Development] shaneel1491:
You're actually quite right cause I installed kernel fine earlier today then just now I flashed latest nightly and Xposed, so I'll uninstall and give feedback. Thanks :)

Edit: seems to be a ROM problem
[G2 Android Development] johnb380:
I knew it! ?

[emoji102] [emoji104] [emoji118] [emoji117] [emoji116] [emoji115] [emoji122]
[G2 Android Development] xxoscarxx28:
Lambda Kernel Galante N2 running on F320L!!! No bugs as of now except the fast heat build up (heat also dissipates fast ahahahaha)

I can now see the future of non-stock G2 ^_^

EDIT: Well... it is actually not a bug but... Simple Thermal failed me lately... my temps reached 89 C and 50 C for the battery... thermal throttled to 1.2Ghz as its supposed to do but not enough to maintain safe temps.. Maybe we should implement a much better thermal driver? Like inhibiting other cores when extreme temps are reached and/or a 5 stage mitigation instead of 3?
[G2 Android Development] GalaticStryder:
Sultan's kernel doesn't have what we've got in Lambda. Maybe the thermal is racing with another CPU frequency driver like the cpuboost. I've been using it for a while, I experienced heat once yesterday but it wasn't more than 70°C. I'll try to reproduce this bug and maybe fix it or switch to other thermal.
[G2 Android Development] shaneel1491:
I'm having no problems with temp, I use interactive governor and the bricked hotplug with the simple thermal driver and everything is good here. Thanks :)
[G2 Android Development] GalaticStryder:
It does work fine for me either in 99% of the time cause my setting is very minimal and battery efficient related. As for hard users, I'm not sure if this driver can hold it as of now. At least, it's very responsive and lagless.
[G2 Android Development] Boopie11:
I installed CM13 yesterday and default kernel does have some minor micro stuterring while begining to scroll in some apps.

Testing BETA 2!

Edit:

It changed my desktop background :confused::confused:

By default it show interactive gorvernor is it right if I dont want to mess up with the config?
[G2 Android Development] android extreme:
I can confirm that the phone(exodus+lambda) doesn't overheat also on heavy gaming with more faster setting(ondemand tweaked for performance). GalacticStryder why did you limited the tunables in ondemand governor? Furthermore would be possible reintroduce the beautiful ram management(zram zsmalloc) that you introduced in fabula n25?
[G2 Android Development] GalaticStryder:
I'm working on getting this from dorimanx with suspend memory compression. Ondemand is inline with N5 CAF.
[G2 Android Development] android extreme:
I asked the more tunables on ondemand because appling the setting of dorimanx on this governor you could notice a faster phone with the same battery usage but mine is only a question nothing more just to learn something more on this kernel.

Thank you for your work guy :)
[G2 Android Development] xxoscarxx28:
I reached the 89 C during video call for 30 mins... We use facebook messenger for means of real time communication during gaming sessions on pc (LoL).. Then when I touched my phone, it's hot, even the display feels so hot. I immediately powered off my phone...
[G2 Android Development] android extreme:
Use another app instead of facebook messenger(it's too hungry of resources)
[G2 Android Development] szabyka95:
the problem is that it should not have reach 89 C, even if the app is sh!t
[G2 Android Development] android extreme:
Did you tried to change rom or kernel setting? The phone overheat a lot also using every other app?
[G2 Android Development] Turbine1991:
I can't help but feel this kernel is slower and uses more battery life both on performance than Resurrection Remixes stock kernel. Kind of wish this had a different base.
[G2 Android Development] GalaticStryder:
Were you using the camera or just voice chat? I presume I found a fix for this and actually know how to reproduce your error. Please supply some more details, a logcat when using the app is enough.

"Both on performance". What does the kernel have to do with CyanogenMod battery profiles? You can change it back and forth, upside down and even back flipping, won't change the fact that you're killing the battery without any real performance gain. If you want to get in custom kernel world, please go download a kernel tweaker.

The way I set the kernel as of BETA2 is totally balanced (I know it has some values that need to be changed but I'm working on it, that's why it's beta). If you change to performance profile in CM profile and don't change anything on the kernel side, you're forcing your device to kill itself in many ways. The thermal mitigation will go crazy trying to cool down the events on CM performance profile (it's meant to), it will cut down frequencies, the hotplug is going to overload most of the time, screen will heat up because you'll keep touching it and cpuboost will answer the hints by setting higher frequencies against the thermal driver that is trying to cool everything down by setting lower frequencies.
[G2 Android Development] android extreme:
I've a freeze when i was whatching a video on officiale YouTube app
[G2 Android Development] jeebspawnshop:
This might be something that would interest you, GS;

http://xdaforums.com/showpost.php?p=66194107&postcount=7571
[G2 Android Development] xxoscarxx28:
Camera is turned on as it is a video call started by facebook messenger

We will try to imitate the setup during the previous session then get the logcat and dmesg... I shall return after 0200 or less ;)
[G2 Android Development] blastagator:
If this works, please please please. I stopped using my work WiFi because roaming in the building has caused some very bizarre issues with my phone. However, I had been attributing that to the IT department and their poorly configured APs :eek::crying:

Otherwise, everything is running ultra smooth. Did only minor tweaking. Battery life and heat seem well. Awesome work!
[G2 Android Development] GalaticStryder:
I added this change yesterday as well, my WiFi hadn't dropped the whole night on suspend mode. Also got a camera fix from dorimanx that may fix the heat even encoding videos. I think I found the best balanced profile for the G stable release, mainly by adding a 499MHz freq for CPU iterations, then I set touchboost to use 2 cores in 422MHz and bricked idle freq to 960MHz.
[G2 Android Development] Floodland:
Nice, hopefully it might also fix wifi misbehavior as well: For quite some time Aosp/cm Roms do not connect/reconnect to known wifi while the screen is off, there is no setting I could touch to make it happen and it is just wrong (at least in our devices) wifi spend less energy than cellular data). It does not seem to be kernel related, but, that commit might help
[G2 Android Development] jeebspawnshop:
That's a known issue with Marshmallow ROMs - it's an error in AOSP itself.

The issue tracker is here: https://code.google.com/p/android/issues/detail?id=196035

Until these guys sort it out, it'll be an issue to us all :(
[G2 Android Development] johnb380:
Just like lollipops infamous drain bug! It seems Google has 1 huge bug every damn release... It's really sad.

---------- Post added at 03:01 PM ---------- Previous post was at 03:01 PM ----------

Just like lollipops infamous mobile data battery drain bug! It seems Google has 1 huge bug every damn release... It's really sad.
[G2 Android Development] Floodland:
Damn, but actually it is even older. 5.1.1 Roms also had this (mis)behavior. I wish there were a workaround that could be implemented, because Google does not seem interested in fix it...
[G2 Android Development] errikosd:
Great, great, great, what you have done with this kernel is freaking awesome. I am on CM13-Snapshot-0317 on Galante-B2 and with a few tweaks I have a fantastic phone.

Here are my settings in Kernel Adiutor:

CPU

max_freq: 2265

min_freq: 300

governor: ondemand

interval: 40ms

input_interval: 300ms

input_boost_core1: 1497

input_boost_core2: 1497

input_boost_core3: disabled

input_boost_core4: disabled

CPU Hotplug

max_cores_screen_off: 2

I/O Scheduler

scheduler: zen

read_ahead: 1024kB

All other defaults. Hope the above are useful to someone. Cheers.
[G2 Android Development] szabyka95:
sound control is what we need, is it possible on cm ?
[G2 Android Development] GalaticStryder:
No, it's not. Faux Sound Control is deprecated for more than 2 years (officially). It is and we had it on previous release but it's not a 2016 sound driver. Viper4Android has taken it all, it's way easier and cheaper to have. I added an enforcing hooker for it, you don't even need to use low level selinux policies to have it's glory sound anymore. What I'm gonna do in kernel part is update video drivers (vidc) and sound stuff that is G2 related like overflows, patches, fixes and sound drivers. AudioFX works quite well in my setup of BT headphone if don't want to get dirty with viper. There are much more things to workaround in next release, like ramdisk files that aren't compatible in CM tree with my updated kernel. Sound amusement can be reached as I said above, flash viper and that's it + you don't need to pay any money on a deprecated app.
[G2 Android Development] szabyka95:
can i boost the in-call speaker sound ? it's too low for me
[G2 Android Development] Thunder1D:
Are any USB serial adapter modules enabled in this kernel? In particular is the CP210x USB adapter enabled?
[G2 Android Development] Thunder1D:
I'd like to try it out. I'll report back on it.

Thanks
[G2 Android Development] blastagator:
Beta 2 is crazy stable. Not a single crash! (Probably just jinxed myself.) No lag and battery life is amazing as well!

You rock! :good::good::highfive::fingers-crossed:
[G2 Android Development] GalaticStryder:
I'm gonna release the Stable tomorrow or the last Beta to test fast charger and impulse governor, I added some spicy things on it, adjusted boost values and stuff like that, it's colder and much faster than before. I'll build tomorrow morning for D80x family only, it's a quick match just for testing the gov. and fast charger.
[G2 Android Development] nitrobg:
Is it possible to have the kernel check for a proximity sensor (pocket detection) before executing dt2w?

Also, can you add in-call earpiece and headset volume control? I know that V4A can handle the rest but sometimes the volume seems to be too low.

Voltage control and possibly more governors would be a lovely addition as well.

Thanks!
[G2 Android Development] astherion:
Man, your kernel is AWESOME! Previously I use Dorimanx with stock LGE 5.0.2 rom. And after installation of unofficial cm13 for my ls980 I've try your kernel! All latest beta works stable, smooth & fine, not a bit laggy! I've install viper + selinux mode changer & thats all! Thanks for great kernel! Will be waiting for "fast charge" function added. Cheers!
[G2 Android Development] xxoscarxx28:
Proximity sensor check before allowing d2tw gesture to turn your screen on is handled by the ROM (cmhardware?) not the kernel afaik...

Increasing volume can be done by editing mixer_paths.xml (and for a fast test you can use tinymix), you will be playing specifically with the values RX(1,2 for headphones and 7 for speaker) Digital Volumes... Search XDA before posting, pretty please? ^_^
[G2 Android Development] vrwmiaris1:
Anyone tried it with aosp Rom?

Στάλθηκε από το Tesla powered G2 D802 μου
[G2 Android Development] GalaticStryder:
Google Stock >> Proprietary Android firmware for Nexus by Google employees.

AOSP >> Google's Open Android firmware filtered from Google's Stock with the help of the Open Source community.

CAF >> Fork of AOSP with the patches needed to extend Android to other devices and SoCs + mixed patches and stuff they find from Open Source LG, Samsung, Huawei from the employees of those brands...

CM >> Fork of CAF that adds new features, customization...

That explains why your LG G2 can't run AOSP. It also explains why CAF based firmware runs faster than CM based firmware and AOSP based firmware runs faster than CAF based firmware. Now you'll have the answers for branches like kk4.4 and kk4.4-caf in SlimRoms repositories. Nowadays everyone uses CAF cause it runs very close to AOSP and you don't need to develop 2 different branches, SlimRoms only have lp5.1, it's CAF then. Slim is just an example. As CAF based, CM supports devices that run AOSP like N6 and N5 as well, they just don't build the CAF stuff in the device trees for those devices. N5 has a CAF branch that has the CAF stuff on its tree, if you go to Nexus 5 development sections you'll see CAF and AOSP, hammerhead-caf and hammerhead respectively.

UPDATE: O.P. updated to the latest release that I'll push today, in the afternoon.
[G2 Android Development] 4r44444:
New Kernel very good
[G2 Android Development] matteo0026:
Fantastic, i've flashed the lastest version stable making wipe data, system, cache and dalvik, installed xosp, kernel and opengapps pico, reboot, and after 2 seconds it was beginning the bootanimation it reboots everytime in LG logo... now i'm trying to flash only with opengapps and when the phone boots i flash kernel... i have an d802

Edit: now it booted well... i update how it goes (for me it's important have a lot of battery life)
[G2 Android Development] jaydee 77:
I think you mean "500mA to 2000mA". Sorry for being a smartass. :cool:
[G2 Android Development] Floodland:
You are right about the general trees, but most of us refer to Aosp Roms for those CAF based ones, which do not use CM features (mainly the awful CM theme engine) and does include layers instead. Your clarification is a good reminder to use proper naming.

There are few nice CAF based ROMs for our devices: Exodus and Orion are the ones I recommend. Exodus in particular is mature and they release nightly builds. I am using it for some time now without anything to complain about.

Summarizing: Any CAF based ROM should team up with your kernel nicely. I even used your kernel with the good old Slim Saber one (5.1.1) with success some time ago.

Keep rocking
[G2 Android Development] szabyka95:
weird, min cpu freq stuck at 422 mhz, can't set to 300, CM 13, latest nightly
[G2 Android Development] tehsYs:
I lost audio completely after installing latest stable, I get the following messages in dmesg:

ImmVibeSPI_ForceOUT_AmpDisable: g_bAmpEnabled: 1

ImmVibeSPI_ForceOUT_AmpDisable: g_bAmpEnabled: 0

D802 + CM13

Edit: It seems like those messages are unrelated since I also get them with the stock CM13 kernel.
[G2 Android Development] MB525:
Should I avoid using this kernel with CM based RR 6.0.1 rom? Older versions caused bad stutter for me. Or does it work?
[G2 Android Development] 4r44444:
I use RR and have no problems at all.
[G2 Android Development] johnb380:
That's only because of touch boost your min CPU freq is correct it just doesn't show correct!

Sent from my LG-D801