yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] 4r44444:
Flashed newest version, got instant restart after activating W-Lan, will edit log in this post.

Also I have problem with Synapse, get everytime "Synapse boot canceled" Error after phone restart and Synapse settings doesn't save after restart.

EDIT LOG: https://drive.google.com/file/d/0B5zPrCJoNwCDZGdSNmctMmZnbmc/view?usp=sharing

[ 457.872686 / 11-04 15:25:51.670] Unable to handle kernel NULL pointer dereference at virtual address 00000020
[G2 Android Development] GalaticStryder:
I'm finishing the patches slowly, I'm gonna push nougat as well. I'm writing a serialized script to build all variants in a row.
[G2 Android Development] 4r44444:
I tried it, phone started and working but unstable, some restarts.
[G2 Android Development] PtSp:
Beta7 working fine.

Enviado do meu LG-D802 através de Tapatalk
[G2 Android Development] Floodland:
I've got several SODs today with N7, with RR MM. I am out of reach of a decent connection and had to roll back to Beta N5. I will install it again tomorrow in order to reproduce the crashes and get logs to upload.

I had higher than usual battery usage with N6, but never a SOD with your kernel, at least since Galante betas.
[G2 Android Development] PtSp:
RR with n7 30min ago.

Enviado do meu LG-D802 através de Tapatalk
[G2 Android Development] Josh:
Aicp mm and nougat cant boot with betas 5,6,7 ,also tried crdroid 7.1 rom,nothing. Clean and dirty installs.Bootloops :(
[G2 Android Development] khanjui:
Which variant? My friend is using it with AICP Nougat and it works fine on D802.
[G2 Android Development] Davido_96:
For me beta n6 is better than n7. On n7 i have freez apps and my system slow down so much (cm13).

I dont know why but its my opinion
[G2 Android Development] Josh:
D802 ,also I've got fc on Aicp Nougat ,phone just turn off . othervise great rom. I really courious how to work with lambda kernel :/
[G2 Android Development] PtSp:
Had what u call sod twice .. Should we prompt to n5?

Enviado do meu LG-D802 através de Tapatalk
[G2 Android Development] chenweifei:
For me beta n6 is better than n7. On n7 i have freez apps and my system slow down so much (cm13).
[G2 Android Development] Hiyaslalabs:
Anyone tried the latest kernel on unofficial Cm 14.1? Thanks..
[G2 Android Development] 4r44444:
Yes me, phone starting, everything working but some random restarts (But only with activated wlan or when I activte wlan) when I use mobile network only it's quite stable and superfast
[G2 Android Development] android extreme:
Latest kernel release(beta 7) made the phone noticeably slower and laggy(animation are much less smooth and app opening time increased from 20% to 30%) compared to beta 6 with same configuration and rom. [MENTION=6175749]GalaticStryder[/MENTION] is your decision to develop the kernel in this way or is my fault?
[G2 Android Development] Punraz_:
Yeah me too. System lagging a bit and some stuff need to load longer like Snapchat or Insta.
[G2 Android Development] amynjimmy:
I've been using beta 6 with 7.1 AICP for several days no reboots, no SOD. Fantastic.... Bumped the max CPU to 2.5 for kicks.... Fast and fluid everyday driver!
[G2 Android Development] 4r44444:
So u oc to 2,5ghz, doesn't it eat battery like hell?
[G2 Android Development] Hiyaslalabs:
How's the battery life? I don't like random reboots though as per the stock kernel I only had once on my app.
[G2 Android Development] Floodland:
Well, flashed N7 to get logs after yesterday Sods and did not happen again. My guess is the issue could be related to the modem or Wi-Fi handling, as the only difference from yesterday is, today I still did not get out of home (yesterday I went to the office, in downtown, with maaany network changes between hangs, during the trip)... I will try to confirm/get logs later today (if everything keeps ok, my phone just had a bad day yesterday [emoji14] )
[G2 Android Development] 4r44444:
I looked, phone restarts after Wi-Fi trying to obtain IP adress, once it's connected after restart wifi works and no restart aslong in range of WiFi
[G2 Android Development] Glpcha:
Hi guys. I've been using the kernel for some time now and N5 has the best combination of responsiveness and battery life till now. I'm talking about default values. N7 is not near as responsive as N5.

For example: uber app takes almost 20 seconds to start from cold, opposed to 5 sec on N5 kernel. I'm running exodus rom.
[G2 Android Development] errikosd:
Yeah, something is not right in N7 Marshmallow. I haven't had time to investigate any further, but a lot of hiccups and slowdown fairly often.

Disabling MSM hotplug and enabling the MSM MPDecision one seems to improve the situation, though.
[G2 Android Development] VzQzZ:
I'm using a quite battery oriented profile and haven't seem any major slowdown or hiccups with Beta 7 + AOSPA.

My setup:

Interactive GOV - Max Freq. 1.9ghz / Max Suspended Freq: 883mhz

Auto SMP Hotplug - Default values

Undervolt - -25mv

Simple_Ondemand GPU GOV - Max Freq. 389mhz

Of course it's not the fastest perfomance ever, but it's fast and smooth enough to me.

The only thing I noticed is the bad graphics on Need for Speed No Limits. Didn't happen with Dorimanx similar setup.
[G2 Android Development] Punraz_:
Now I flashed all again with an newer build and no lagging . All works like charm . But got every time synapse boot failed.
[G2 Android Development] GalaticStryder:
Latest "KSM-able" builds are a total mess with my ZRAM. I found the root of many issues reported, it's usually coming from it. I've got a SOD for the first time too with N7.

The main cause of the issues arise from the compression of memory with LZ4 when KSM is verifying the pages, since the nodes are called back on non-coldstart, the process needs to migrate inodes and then finally verify for same pages with KSM, this is of complexity level that I can't imagine any way to make them both work at runtime without conflicting.

Still, I've merged UKSM today to test, for now the problems are the same as KSM, generally because it does the same thing after all.

I think the nice decision is to ship this feature but advise the users to avoid it when using swap + zram combo, or disabling it in the Kernel to avoid any "smart dude" enabling this feature thinking he's doin' AP. When he actually is screwing battery life and CPU usage.

Thus, recompiling the Kernel with only UKSM or KSM_LEGACY will still be valid in case someone prefers it for some abnormal reason...

Every time you flash a new Kernel, it corrupts the database. You need to open Synapse, clean the cache and then tune it again to create a new database or import a config.

Shi*ty SQLite...
[G2 Android Development] Josh:
I trying install Lambda with AICP nougat 7.1 without succes ,just got bootloop LG logo,what I'm doing wrong? Tried clean and dirty install with opengapps 7.1 :/ Does must flash Super su or something?
[G2 Android Development] GalaticStryder:
Clean, dirty or whatever the term is... this isn't needed for Kernel install. All you need is to have your ROM already running then boot to recovery and flash the Kernel flashable zip.

When installing the Kernel together the ROM and Google apps you'll be firing a lot of pressure on the Kernel, it will most likely work all of the time just like the original one but the processes can have some problems when a bunch of stuff is being configured at runtime altogether.

Make sure you are installing a version that matches the Android version, otherwise that's it.
[G2 Android Development] armivzla:
The Lambda v6 for nougat gives many random reboots.

I'll wait for the next v7 nougat flasher try! :c

Thank development
[G2 Android Development] brookemels:
What happened to the stable links? :( I had to go with the provided kernel in CM13 for a while, but I'd love to go back to this kernel! Sadly, I can't find links to anything stable anymore
[G2 Android Development] Josh:
On MM roms before I allready succesfully flashed lambda kernel,before i change motherboard on d802 now I flashed 7.1 Aicp rom without problems with opengapps 7.1 and tried to flash Lambda nougat beta5,6,7 without success just got bootloop on LG logo. Maybe is problem 7.1 release of Nougat I don't know or some app :rolleyes:
[G2 Android Development] GalaticStryder:
For the sake of democracy - if that really exists - I've submitted a poll to achieve a common sense on the default settings shipped with the Kernel by default.

I'm proposing this to put in the stable release, I've killed most of the issues by rebasing the Kernel and reverting some stuff, the core functionality stays as is...

So, we're back in the game.

OBS: Smartmax is not yet merged but I'll do that this week.
[G2 Android Development] PtSp:
Ahaha that's it.
[G2 Android Development] android extreme:
It's normal, sound like if i bought a ferrari then cut down the hp to lower the consumption of fuel then start to complain of the poor performance in acceleration and top speed. Use impulse gov(activate io is busy) set cpu max frequency to 2265600 mhz and gpu max frequency to 450 mhz, remove the flag on adreno idler and activate mmc clock scaling control(you should use also MSM Hotplug with io is busy activated as default).
[G2 Android Development] metteduch:
I'd vote for a slightly modified option: Battery: Interactive + AutoSMP at 2.2GHz.
[G2 Android Development] VzQzZ:
Like I said, I haven't seem any poor perfomance. The only thing I noticed is the bad graphics from NFS No Limits, probably some bad optimization from the game itself.

With the same config on Dorimanx, I get better graphics. Again, probably bad optimization from the game itself. Any other game runs as expected.

System-wise, I don't have any problem with perfomance. It's just as fast and smooth as it can be with my personal configuration. I don't have these slowdowns people had with Beta 7.
[G2 Android Development] Josh:
I found what happened with flashing kernel,zip verification failed .Also tried download from computer and found same issue with Nougat beta 5 and 6 for D802 . Any suggestions? Or can someone send me verified betas . I'm on AICP 7.1 11/4 build. Thanks in advance.
[G2 Android Development] SharpBang:
I would like to know if is there any way to configure battery charging process. I wonder some feature to allow bypass phone not charging because battery temperature sensor mistakenly shows -30C (-22F).
[G2 Android Development] android extreme:
Ok so tell me what do you mean for bad graphics in this game(bad fps lag struttering or else). You don't have any slowdown because ,for first, the aospa is well optimized for this kernel and maximize his performance and , for second, the kernel(beta7)doesn't provide random slowdown but just a generally slower performance(also the developer confirmed that).
[G2 Android Development] Josh:
Unbelievable,tried to install Lambda kernel on Exodus MM after Aicp 7.1 and nothing on d802. Same sh.t! Something is weird out there. After flashing 30d stock lollipop I install auto rec and get in recovery. After that flashed newest TWRP 3.0.2-1 and reboot recovery. Wipes everything except internal storage and Aicp 7.1 boot fine with opengapps like Exodus MM with opengapps. Super su works well and instaled Busybox. Any suggestion what I can i do. Just got Lg logo bootlops and some weird lines ,before i change motherboard everything works well al mm roms with lambda kernel. Realy frustrating.
[G2 Android Development] zauzaupt:
hey, i play that game to and i can say that the game never run so good like is runing now, so smooth and so fast...

im using crdroid 7.1 and lambda N6
[G2 Android Development] GalaticStryder:
Where's the sanity?

Hello, everyone.

After the latest releases problems, I've rebased the Kernel quickly from the stable point.

I've dropped a test build on my Drive for D802/5/6 MARSHMALLOW ONLY!

- Nougat changes on NET were removed, actually, I've created two branches for M and N to avoid problems.

- Added smartmax governor from N6, I still need to develop it to actually make it settle on my Kernel.

- The testing structure on MMC and the test I/O scheduler were removed to save some Kernel space.

- Updated my block code to 3.10.y.

- Probably restored the GPU sanity after some imports of code from dorimanx, I've reviewed them before on Galante but I forgot those were bad with my memory code.

So far the stability is back, probably just missing the F2FS inode issue, although I can't trigger it on my setup. The BSOD

might

have been fixed too but it's too early to say anything - don't wanna risk my *ss on this bet.
[G2 Android Development] guilledoc1:
After installing latest experimental build I've got 2 random reboots

Here is the log...
[G2 Android Development] GalaticStryder:
This is a logcat, it's useless for debugging the Kernel. Also, some custom ROMs create such mess that I will not even care about debugging problems arising from them, please be concerned only about last_kmsg and dmesg.

The ideal setup is quite simple:

- Clean install CyanogenMod 13.0 to refresh the init files.

- Reboot.

- Set the system up and go ahead to recovery.

- Flash the Kernel without wiping anything.

- Reboot.

Post more details next time, I'm not able to guess what you were doing nor what mods you had.
[G2 Android Development] Josh:
I've got problem with flashing kernel on my d802. After 3 times back to stock flashed kdz file with flash tool ,root ,autorec and recovery then flashed newest 3.0.2-1 twrp recovery wipe everything except internal storagel flash caf hybrid bootstack tried Aicp 11 and 12 rom ,Exodus,Cm14 unofficial and cannot boot,even somethimes can get in recovery and got this like in pics. . And without bootstack doesnt boot.What can get wrong when I see that kernel works well for most of you.Stock kernel with MM and N roms works well and boot without problem. Please can someone answer. Thanks in advance
[G2 Android Development] android extreme:
The lines that you had on the screen were caused by a damaged pixels on the screen.

Please explain better you issue:

1)you can't boot any custom caf based rom?

2)you can't boot any caf based rom after the flash of lambda kernel?

In the second case there is nothing to do, i know that some times ago a guy in the dorimanx thread asked the same thing about that and dorimanx answered to him that maybe is soc cannot support the changes made to the kernel(because every soc of the same series can have some difference from anothe, " no one were build ugual"), maybe the lambda kernel is to "extreme for your chip; did you tried to use zg85's kernel(HMM 45.X)?

Personally i can't believe that exist a phone affected by the first problem that i written before, seems just unreal. To wipe the phone did you tried also the TOT metod to reinstall everything?

Maybe did you perform some hardware mod on your soc that could have affected the stability of the system with the aosp rom?
[G2 Android Development] Josh:
I can booted any caf based rom with stock kernel but cannot with lambda kernel. I will try to flash Zg85 kernel later . I receive phone from service were they change mother board and after that they cannot boot with kernel. Before changing motherboard phone works well with lambda kernel. I flashed 3 times with Lg Flash tool but other metod did not. Maybe they in service messed up with something related to hardware. They told me that cannot flash my old motherboard because I bricked it and they put the other one .
[G2 Android Development] GalaticStryder:
My two cents would go for mismatching motherboard against the other peripherals, I've seen a dude talking he had overheats constantly with dorimanx's Kernel but those issues weren't present on stock and other CAF/CM custom ROMs out there, my simple guess is based on two facts: dorimanx uses a different thermal sensor to query the temperature and his replacement or whoever did the replacement wasn't professional and might have burned that sensor with electrostatic input on the board.

The solution for that case would be a shot to use the 5th tsens sensor back again by recompiling the Kernel with this change and testing.

As of your case, it can be pretty similar or not. My best guess is mismatching components or second-hand board that can't handle a certain feature of my Kernel due to a broken internal, which is vital for the display.

I can recommend some Kernel changes and reverts to remove those features and strip the Kernel down for your device but that would need some work on your own - my Kernel has a great documentation to compile it and it's not that hard. Unfortunately, I can't compile with blind eyes just guessing what the problem might be.
[G2 Android Development] Josh:
I also think that is problem related to motherboard. I ask bender007 for opinion and we will se. Also tried to flash recovery.jdi.img and it is same. Now i going to try zg85 kernel . Thanks
[G2 Android Development] ytgbg:
[MENTION=6175749]GalaticStryder[/MENTION]

The random reboots on Nougat with N6 could be because of CM (I had them on latest AICP), because I switched to unofficial XenonHD 7.1 Rom from yesterday and random reboots completely stopped and even Synapse behaves better (still wonky, but better)...

Could be a coincidence, but I wanted to report...
[G2 Android Development] GalaticStryder:
I use this Kernel branch on AOSPA and it's all fine, never had any SODs or reboots on 7.x, at the same time there's a BSOD on AOSPA 6.x that happens mostly when double tapping or touching the screen then dozing sometimes.

Unfortunately, I had this BSOD today when my phone was in my pocket and couldn't log it.
[G2 Android Development] 4r44444:
I only got reboots in CM 14.1 when WiFi searching for IP adress at connect
[G2 Android Development] Josh:
Tried flash zg85's hmm kernel aospa with PA 6.0.3,same thing ,even can't boot in recovery. Must flash kdz again.

Maybe can someone explain shortly in few lines how to rebased kernel. I'm totaly noob from that view but I've got will! I used Lambda kernel before and I totaly satisfacted and looking forward and hard to work again with awesome karnel. Thanks in advance!
[G2 Android Development] ytgbg:
I guess what I am trying to say is confirmed by you... On 7.x random reboots I think are some CM issue, not N6 issue. I guess in builds from yesterday CM changes something because I don't have them anymore and N6 is rock solid.

Anyway I am sure that Lambda Kernel will be a beast with upcoming AOSPA. CAN'T WAIT! Especially after some teases from AlexNDS on tweeter about AOSPA 7.x performance...
[G2 Android Development] GalaticStryder:
He has merged some real time updates to render the UI, it's almost 20% gain in responsiveness, lower latency. I've made the Kernel more friendly and all the governors are now just as they should, calibrated everything manually:

https://github.com/GalaticStryder/kernel_lge_msm8974/commits/lambda-6.x
[G2 Android Development] android extreme:
The zg85's kernel should be flashed on a cm based rom i would recommended to you the cyanogenmod. Why you kdz the phone when it goes in bootloop? It's enough boot it in recovery and flash another rom
[G2 Android Development] Josh:
I've seen that zg 85 release a kernel for Aospa. Cm is to slow for me lol . I can't boot in recovery,tried every combo and srk tool. It takes to much time in srk tool and device doesnt recognized so it's "easiest" to flash kdz. Is it possible to flash backuped file (rom) after backuped in TWRP and save it somewhere else because after flashed kdz must started again from start. Every rom worked well with stock kernel. I will try Cm with zg85 mm kernel.
[G2 Android Development] Josh:
Flashed latest Cm13 ,opengapps and latest zg85's kernel,booted fine and works well. So ,phone doesnt like Lambda kernel , like cat and dog :rolleyes::eek: dissapointed :laugh:
[G2 Android Development] Josh:
Clean install latest CrDroid 7.1 rom +opengapps reboot setup setings install apps and flash Lambda beta 6. Nothing ,same sh.t. :rolleyes:
[G2 Android Development] GalaticStryder:
Uncheck TWRP >> Settings >> Zip signature verification checkbox.
[G2 Android Development] Josh:
Same thing ,when I uncheck zip verification signature zip normaly flashed but got bootloops like I sad before,maybe in future releases something changes and boot fine because I don't wana mess with that ,I wana know but thats other galaxy for me. :good:
[G2 Android Development] errikosd:
By the way, not verifying the ZIP signature is not connected to possible bootloops in any way.
[G2 Android Development] Josh:
Problem is related to kernel like Galatic Strider sad few post before looking in too much aggresive to soc or maybe is corupted and I tried zg85 hmm latest kernel which works well with Cm rom.
[G2 Android Development] GalaticStryder:
His Kernel is the same CM Kernel with a few battery addictions. What about flashing AOSPA 6.x? It is a minimal version of Lambda before pushing the heavy duty part of the Kernel. You can install the boot.img directly as well so you don't need to reinstall the ROM.
[G2 Android Development] matteo0026:
Disable zip signature in recovery settings
[G2 Android Development] Josh:
I'll try to flash P.A.6.0.3. Now I'm on CrDroid 7.1 . Can you explain about flashing boot.img? Thanx in advance!

---------- Post added at 12:38 PM ---------- Previous post was at 12:37 PM ----------

That's always disabled
[G2 Android Development] DvineLord:
I'm on d800 my screen is cracked and half of it doesn't work. On newer betas my screen has touch freakouts on working parts. I reverted back to N1 and the problem is gone. Has anyone else had this issue? I'm going to slowly flash builds until the problem arises again.
[G2 Android Development] Josh:
What you mean cracked and half of it doesn't work? You boot fine and screen was no responsive after that? I've got bootlops even I can't get in to recovery .
[G2 Android Development] GalaticStryder:
I'm not sure, I merged some screen code changes from CM lately and from dorimanx some time ago.
[G2 Android Development] Josh:
Flashed P.A.6.0.3. with stock kernel, clean install,booted fine. :eek: Bricked last motherboard with 32GB and service man put in to 16Gb with some fails ,I'm so angry. It's absolutely the reason because I didn't see that someone got problem with flashing kernel. But at least phone works. :silly:
[G2 Android Development] 4r44444:
Will in next release the restarts when activating wlan fixed?
[G2 Android Development] GalaticStryder:
I don't know, there are no reboots on my device running AOSPA (d802). Some janky issues were killed in the latest changes but I can't really tell since it doesn't affect me - obviously.

Feel free to debug the issue if it's present in the next release.

Most issues arose from nougat/marshmallow code together in the same branch, now they're independent. The 3.4.113 merge introduced some non-sense too that doesn't settle with my enhanced memory driver, I removed them.

I merged more speedups and new features too.

Whenever you want to know stuff about the Kernel, go to this place.