yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] 0xetrov1:
There is something I don't understand, KK bootloader needs Bumbed Kernel & ROM, but JP BL doesn't need either of them, so it should not be any problem, if we flash on JB BL, right?
[G2 Android Development] L0nelyE4rth:
CAF Support LOL
[G2 Android Development] Snuzzo:
Not to mention if one wishes to flash a stock LP based ROM, it will allow it too. I know for myself I try to do any testing on latest bootstack and most up to date.
[G2 Android Development] Krenol:
Just noticed that my kernels won't turn off with screen on, all idle at 300 MHz. This happens with yankactive and smartmax. I am using the mp decision hotplug, might be changing it later and report back
[G2 Android Development] RenderBroken:
With testing going better and certain issues that have come up, I am working on R2 and plan on release asap. I would like to release today.
[G2 Android Development] iko11:
I am (and sure so many like me) ready to test this build! I hope you can have some time to add Faux Sound Control after solving real issues.
[G2 Android Development] Krenol:
I had a total dead phone after using intelliplug but couldn't get a log as I had to wipe cache and dalvik to boot up my phone.
[G2 Android Development] phoenix_rizzen:
Since switching to the MPDecision hotplug driver, the phone has been very stable.

MSMLimiter isn't limiting the max cpu freq, though. It's set to 1.9 GHz in Synapse, but CPU Info is showing each core going to 2.2 GHz on a regular basis.

Performance has been much improved over the kernel that comes with most if the ROMs I've been paying with.

Message delivered via a Bliss-full LG G2 (D803).
[G2 Android Development] RenderBroken:
Very glad to hear. That is one of the goals. Also this test has been very successful. I will be continuing to work on the next build with some changes incoming. Now that I have my test phone,it will be much easier to release a stable build. I appreciate everyone reporting the issues they have come across. R2 will essentially be R1 cleaned up and tweaked further. I may merge in even more features but have to see. I do have some more cool scheduler changes in have been wanting to try now for awhile. I plan on taking another stab at Faux Sound but make no guarantees. I plan on doing a large RENDER-UKM update as well.
[G2 Android Development] duki994:
MSM limiter not limiting freq's?

That's baad. Many other custom code depends on it. Some hotplug and governor mods mostly.

That's probably locking up when on other in-kernel hotplugs :)
[G2 Android Development] phoenix_rizzen:
It's changing freq correctly while in use. It just isn't capping the max freq to what's set in Synapse. The min freq seems to sick, though.

I like to run with the max set to 1.9 GHz, but it doesn't seen to be sticking. I see it running at 2.2 GHz quite often.

Edit: hrm, no, min freq setting isn't sticking either. It's from 0.3 GHz to 2.2 GHz, no matter what I set in synapse.

Edit 2: Neither MPDecision, nor MSM MPDecision are turning cores on/off. There's always 4 cores plugged in (except right after bout, when only 1 core is enabled until you switch hotplug drivers and then switch back). Intellipkug sometimes works and sometimes doesn't. Haven't really played with it much.

Switching to MSM hotplug, cores are enabled and disabled as needed. But the phone won't always wake after the screen locks. Maybe due to cores not coming online or something?

There was a similar issue way back in the early KK days, IIRC.

Message delivered via a Bliss-full LG G2 (D803).
[G2 Android Development] gozzaa:
Hi there,

I tried to install the kernel but couldnt boot

Tried loki and bumped bootstack for my device

Iam using the latest cm12.1. Any ideas?
[G2 Android Development] L0nelyE4rth:
KK Bootloader
[G2 Android Development] gozzaa:
As i said i tried kk and jp bootloader

Also i came from lp stock rom
[G2 Android Development] RenderBroken:
Still need more info like which bootstacks you tried along with what Rom you are trying to use. Lastly tell me the order of which you flashed everything. Thanks.
[G2 Android Development] gozzaa:
Of course,

I used the bootstacks you linked in the install instructions for my device (d802) snd the latests cm12.1.

First i tried to flash the kernel without changes because i was at kk bootloader already. That didn't work so i tried both of the bootstacks from your post (kk and jb)

First flashing the bootstack then the kernel

The lg logo disappears faster than normal, if that is of any help and after that black screen and nothing happens
[G2 Android Development] Matze060906:
I tested your kernel with latest slim LP and bootstack from LG devs (bump and loki). With both the phone was stuck at LG logo. Flashed bootstack, Reboot to recovery, flashed rom and banks gapps, Reboot...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Krenol:
try the kk 20h bootloader by dorimanx ;) it is on his homepage
[G2 Android Development] iko11:
Rashed97's LP Bootstack

Dorimanx 20H KK Bootloader

Your Kernel

It boots on AICP 10.0 5.1.1 CAF
[G2 Android Development] Matze060906:
I believe you that it will work, but I don't wanna flash bootstack and bootloader again, when I update the rom. And I'm not sure if dorimanx bootloader works with slim LP stock kernel. And I'm not at home and don't wanna run into issues, need the phone.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] gozzaa:
Yep, that did the trick. Thanks!
[G2 Android Development] RenderBroken:
I agree, we should have one definitive set of bootstacks to use. What bootstacks are the other kernels using? Are they having these issues? I am using the exact same source. . .
[G2 Android Development] iko11:
zg85's Fruity Kernel, Euphoria Os'es Kernel (took the boot.img from rom but my GPS not working with it), Llama Sweet Kernel works on my device when use with LP Bootstack only. No KK Bootloader needed. Maybe you can contact with zg85 he is so supportive and he can lead you to some point

Zdrowy Gosciu (@ZdrowyGosciu) https://twitter.com/ZdrowyGosciu?s=09

http://xdaforums.com/member.php?u=5236920
[G2 Android Development] Matze060906:
Stock kernel from Slim LP runs with bump and loki bootstack from LG devs. In thread this one is recommended...
[G2 Android Development] Krenol:
the bumped lp bootloader isn't working for the d802 so far I only know of the 20H bootloader by dori.. and it might be possible to keep this bootloader while updating roms by keep flashing this kernel afterwards :P
[G2 Android Development] Matze060906:
Both bootstacks are working on Slim LP. Don't know why it doesn't work on Render kernel...
[G2 Android Development] biron_w:
I'm running Candy5 and the LP bootstack and I also tried with the kk bootstack and it failed to boot both times.

---------- Post added at 07:42 PM ---------- Previous post was at 07:41 PM ----------

That's the one I'm using as well as it was recommended for CAF ROMs.
[G2 Android Development] Krenol:
[MENTION=5031300]blastagator[/MENTION] might know something we don't know :confused:
[G2 Android Development] Matze060906:
[MENTION=5438598]RenderBroken[/MENTION]: are you still in deso chat? What does devs like Adam and snuzzo say about the bootstacks?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] gozzaa:
iam having permanent sod's with latest cm 12.1

tried changing from msm to MPDecision hotplug but that didnt help

are there any recommended settings to use?

and why the hell is the dalvik cache cleared every time after a crash, takes ages to boot :eek:

last_kmsg was empty after reboot

dmesg is attached
[G2 Android Development] undeadking:
Running Temasek 12.1 8/6 build and rashed's bootstack. Lg splash screen and blackness after that...
[G2 Android Development] KevTheGuy:
Make sure you're on KK bootloader

(Rashed's bumped bootstack has kk bootloader, at least for most variants I guess)

I'm on temasek 08/05 build and Render's kernel is working for me
[G2 Android Development] RenderBroken:
Me too, Currently using the KK Bootloader. It should work on both though . . .

Regardless tests have been great. I am not having an SoD's when using msm_hotplug. Also to fix the issue with Bricked HP (MSM_MPDecision) you need to change the Idle_Freq from 499MHz (Doesn't Exist) to something else. This will be fixed in R2.
[G2 Android Development] Maritus1:
I have observed the same behaviour with my D802 after I flashed Rashed97's bootstacks. I've read that after I have flashed a KK bootloader the GUI that leads to TWRP is changed (after pressing power+down), isn't it? But after I flashed the Bumped LP Bootstack (=with KK Bootloader) it looks like nothing has happened, just the baseband changed to LP.

That might be the reason because your kernel doesn't work on most d802. It doesn't boot up using Rashed97's LP Bumped (=KK Bootloader) and with LP Loki Kernel (=LP Bootloader), too.

I'm running BlissPop 3.6 (CAF). I flashed Rashed Bumped LP Bootstack (=KK Bootloader), but no boot, just black screen after LG Logo.

Any suggestions what bootstack might work for D802?
[G2 Android Development] RenderBroken:
Not yet but someone has posted it in the thread. I believe the trick was to use Dori's bootloader. i am still gathering info.
[G2 Android Development] RenderBroken:
It was hard for me to find one at first that was optimized for the Cortex A15. Here is one I found from UBER:

https://github.com/UBERUTILS/LINARO-HAMMER
[G2 Android Development] fix-this!:
I still feel v3 is worse on battery and deep sleep than v2 was.
[G2 Android Development] RenderBroken:
I agree but worse is relative. Worse than R2 yes, Worse than Stock Mahdi, no by far. I am looking at what can be done to bring it back up but if not I am not too worried about it for the moment. I would like it to be back though. Thanks for reporting!
[G2 Android Development] metalboy94:
I too am getting sleeps of death (phone won't wake up, have to hold Power down for about 10 seconds then hold it again so the phone starts up again) every day and a half while on data. Otherwise the kernel is great. Still playing with interactive parameters to get the best battery life.
[G2 Android Development] RenderBroken:
What is your phone model? Also do you under-clock past the default 300MHz? Thanks!
[G2 Android Development] metalboy94:
D802, I underclock to 192 Mhz. Thanks for your work!
[G2 Android Development] RenderBroken:
That may be part of the issue then. To rule it out can you bump it back up to 300MHz? If it helps, one thing you can try next (I don't know if it will help first hand) is to bump back up to 300MHz then under-volt it slightly, or Over-volt slightly 192MHz. As I said I don't know if it will help at all but it doesn't hurt to test and report back. Thanks for your help and support!
[G2 Android Development] metalboy94:
I can bump it back up to 300 Mhz but I'd rather not **** around with the voltages. Last time I did this, i overheated the phone and the screen developed yellow spots around the top. I'm not exactly keen on paying for a new screen again :silly: sorry
[G2 Android Development] RenderBroken:
Holy crap! Then F that! lol how much did you change the voltage to get that result? This way I know for others sake and can correctly weigh in on this.
[G2 Android Development] metalboy94:
It's not exactly relevant for this thread as I had done it on the stock LG ROM w/ Dorimanx's kernel. I underclocked by at least 50 mV, then set the phone aside and went about my day. When I came back to the phone, it was very hot and not responding. After this moment the spots started appearing.

Lesson is, test voltage changes thoroughly :p
[G2 Android Development] Formhault:
Actually... lesson is : leave this to the pros.

There is more to lowering the voltage allowed for a specific clock frequency than... well, the actual undervolting. AndreiLux has elaborated this pretty thorough here - although that's for a different SoC, the principles are the same.

I used to be an undervolting amateur... now I'm totally against it.

Back when I had the original Galaxy Note, I used to undervolt it up to -125mV (was way less hot). Until one day, when it got extremely hot during gameplay (CPU @ 95 Centigrades, glass almost burned one of my fingers) and I took the battery out. 5 minutes later, after it had cooled down, I decided to power it on - 30% less battery.

And that wasn't the first time. I had various experiences with undervolting throughout multiple devices. Last experience : Galaxy S4. It would hang on me when undervolted 75mV, like... freezes due to CPU overload. At 50mV, it was totally fine. I told myself "yeah, I can live with 5 Centigrades more" and never tinkered with it again.

For the Snapdragon 800 (which already is a power sipper - it's very well optimized at the hardware level), I really don't think it is worth the headaches you will get when trying to find the optimum balance between voltage and clock speed. Leave that to the pros : engineers that designed the chip. :p

---------- Post added at 01:34 AM ---------- Previous post was at 01:33 AM ----------

Were the yellow spots temporary?

And what caused them in the first place? Extreme heat coming from the chipset (no thermal protection in this kernel?!) or... dumbing down the lowest CPU frequency threshold from 300 MHz to 192 MHz (and under-volting it)? :eek:
[G2 Android Development] metalboy94:
I'm already aware of the PVS and speed bin of the chip. I was making experiments for lowering idle battery drain, so I tried undervolting the frequencies most used while in idle. I was already undervolted by 50 mV across the board, which was indeed stable. It had all gone really well until that day when I just didn't check my phone for a few hours and this happened.

But yes, with judicious use of wakelocks and a good kernel, like this one, undervolting isn't really worth it.

And no, the spots weren't at all temporary - worse, the yellowing was more intense the hotter the phone ran, and the spots multiplied by the time I raised the money for a new screen.
[G2 Android Development] Formhault:
So... under-volting caused the phone to overheat so much that it damaged the display...

Are there no thermal protections (/controls) in this kernel?! :eek:
[G2 Android Development] metalboy94:
Remember, this is Dorimanx's stock LG kernel we're talking about. Maybe there were no thermal protections back then, it was before the entire LGD/JDI and white/black lines debate.
[G2 Android Development] Lawlrus:
I normally undervolt -25 across the board, to help keep things cool, but this kernel for me sits at 35-40c so I haven't been messing with it.

That's crazy it ended up frying your phone. Dorimanx messes with the type of thermal it uses all the time.

He makes a good kernel, but tinkers with way too much stuff so it always acts goofy for me.

Render, this kernel is great, just enough messing around to give it better battery life then what simple kernel is, and enough options to please most people, can't wait for R4

Sent from my Vs980 running SlimKat 4.4.4
[G2 Android Development] 1ceb0x:
True. Not trying to flame dorimanx because what he does for G2 is awesome at any level but (because there is always a but) - for me, he changes too many things in his kernel and he tries to keep it merged with the other developers (i.e when intelli hotplug gets changes, he merges them). This can cause issues although he tests his kernel, he cannot test all the user cases (some users have LTE, some users have d800 etc) and the principle of KISS is not there anymore.

I like a kernel that sticks to a certain thing (choose a hotplug and a governor and mainly develop on that) not one that introduces a lot of hotplugs, governors so that people can feel content and happy.

Well, i hope this post will not hurt anyone and sorry because it is very offtopic. And yes, dorimanx is my kernel of choice when i go back to stock but i haven't done so for over a month now.
[G2 Android Development] RenderBroken:
Yes, I use Franco's simplified Thermal Control and he did preface by saying that the issue occured when using an older build of Dorimanx's.

Still that is a pretty gnarly problem. lol

Thanks! That's the goal.
[G2 Android Development] coolcfan:
Any reason to use A15 optimized code for Snapdragon 800?

Well what I'm really interested in is the "screen memory to save battery" feature. When LG released G2, this was an important feature for people like me to choose this phone. I'm always wondering, when using AOSP roms, whether this "memory" is utilized. If not, can I flash a kernel like yours to enable it? Or, it's a feature in LG's proprietary drivers?
[G2 Android Development] Raagh:
I have a doubt

How can battery go up without charging?(battery lvl gows down. Then a lil up, and then down again).

Could this be why the reboot happens and after the reboot there is a jump in the battery curve?(reboot as a way to correct the wrong batterystats?) just guessing here
[G2 Android Development] Formhault:
Oh... My bad; I should've read back a bit more :D.

---------- Post added at 09:28 AM ---------- Previous post was at 09:20 AM ----------

This is why :D

What does that mean, exactly? :eek:
[G2 Android Development] Lawlrus:
You need to flash the LP zip that rashed put in his bootstack thread. Either that or use xdabbebs bootstack.
[G2 Android Development] abby_nitewolf:
Awesome! I'm happy to see a caf kernel for the g2. Especially since it seems like the rom I'm running has been abandoned :(

Flashed successfully on VS980 with Xdabbeb_vs98039a_bootstack.zip on euphoria 1.1 rom.

Only issue I'm having so far is SoD even after switching to MPDecision.
[G2 Android Development] Nicholi85:
Nice! Ill run d801 if i can get it.
[G2 Android Development] ytgbg:
Hi Render,

I am getting freeze after boot to startup screen, and after few seconds the phone is rebooting with R2 on latest SlimSaber Rom on 802 with LP Bootstack Bumped and KK bootloader from Dori. No xposed or any tweeks.
[G2 Android Development] iko11:
Yes the samething happaned to me. I have Kernel Adiutor app installed. I have freezed it, reboot and didn't system didn't freeze, I could use my phone.

Edit: [MENTION=5438598]RenderBroken[/MENTION] as usual it didn't boot up with LP Bootstack only. I had to flash Dorimanx KK 20H Bootloader too. And Wipe Cache-Dalvik

Edit2: Options for the Thermal control deleted from Synapse ? I have an empty tab

Edit3: GPU Freqs can not be set because no sliders to control

Edit4: No Baseband Info

Edit5: Experiencing Slowcharge values (Almost 700mA)

Edit6: Kernel has advanced KCAL control bu in Synapse only have R-G-B control. I hope you can add advanced controls too. Let's unleash the power this Kernel has!

Edit7: Sound Control is really needed G2's sound level is not enough :(
[G2 Android Development] bamonkey:
Latest SlimSaber d800 with R2 crashed on first boot, went to rebuilding apps and then crashed to repeated reboots on bootanimation. Thing is i have other stuff that maybe causing issues *im looking at you hacky sack version of xposed* so going to try a fresh install of SS then ill do r2 after that and report what i find

edit: seems people above are getting similar even without xposed. if possible ill try to grab a kmsg/dmsg from recovery in the next 5 minutes..or whever my phone starts behaving again :)

Edit: dmesg and kmsg attached
[G2 Android Development] ytgbg:
Hi,

Thanks for the suggestion, but I did that (Kernel Auditor thing) and the result is the same: freeze and reboots.
[G2 Android Development] iko11:
Wipe Cache and Dalvik ?
[G2 Android Development] ytgbg:
Did not. Did you wiped Cache and Davlik to get it work?
[G2 Android Development] iko11:
Yes do it after deleting Kernel adiutor. Because it's date and presets might left in the system
[G2 Android Development] Nicholi85:
D801 crash on first boot after flash. Running latest resurrection remix.
[G2 Android Development] mavishow:
rr rom> r1 and r2...

I have read since the beginning of r1.

I'm not a novice. I think.

Maybe I should change rom.

I tried all ways, ( KK-20H-D802-BOOT-LOADER.zip---JB-10A-D802-BOOT-LOADER.zip---KK_20H_D802_Baseband.zip--- bootstack-d802-lp_30d-bump-signed.zip---bootstack-d802-lp_30d-loki-signed.zip---d802_patch_go_lp_droith.zip---d802_patch_return_kk_droith.zip )

where I'm doing wrong, I do not understand.

I tried one by one bootloader. patch_go_lp flash,after notification led,long bootlogo, but restart go recovery,

patch_go_lp after kk-20h, not notification led short bootlogo one after another restart.

boot jammed not go recovery,,,,one, I had to do it twice(srktool>fixid utility, restore fastboot,restore recovery...)

and many other combinations.

full twrp2.8.7.1...

flash followed by R1 or R2.It is after. Wipe Cache and Dalvik. or waiting black screen. or restart.

I gave up.

fruity kernel not battery drain, I do not like. but I'll be back if the same setup render kernel.
[G2 Android Development] ertank07:
1. Kernel auditor data erase,app remove

2.Lp bump flash

3.Dorimanx kk bootlader flash

4.Kernel r2 flash

5.Wipe data+cache

Aicp aosp rom ı^m work.

source: iko11 :good:
[G2 Android Development] abby_nitewolf:
R2 is running great on VS980 with Xdabbeb_vs98039a_bootstack.zip running on Euphoria 1.1. SoD are gone, no reboots. Awesome work as always.
[G2 Android Development] biron_w:
No luck with this on D802 Candy5 with LP bootstack.
[G2 Android Development] KpKi:
Bootloop on D802 with kk bootloader and lp bootstack.
[G2 Android Development] Fobz:
I'm cm12.1 latest nightly with bumped 30d bootstack and dori's bootloader. It's working for me.
[G2 Android Development] android extreme:
Some one could tell me if this kernel (r2 version) overheat on d802? For me the r1 verion overheat to much( the phone never stays under 60 degree celsius)
[G2 Android Development] KpKi:
As for me I am on Resurrection 5.5.3 ..maybe ROM related issue?
[G2 Android Development] iko11:
No overheating.
[G2 Android Development] RenderBroken:
S-S-Super POST!!!

I had the same problem with SlimSaber. Not sure why it would boot all the way into the Rom then reboot like that but i am looking into it. Thanks!

Currently using Simplified Thermal Control. Its new and I will have to update Synapse to support it. The SYSFS files are:

/sys/kernel/msm_thermal

Not sure about the Slow Charge issues as I havent touched Charge Control at all. I will bring in Sound Control when I can.

What happened? Can you explain how it booted?

I was using the Stock Thermal control in R1 and have added Simplified Thermal in R2 and its enabled by default.

What happened when you tried to boot up?
[G2 Android Development] biron_w:
I tries the 30D bumped bootstack from Rashes's thread and it still won't work. Just stuck on LG boot screen.
[G2 Android Development] KpKi:
When I boot the resurrection boot logo appears (it enters the ROM boot screen) then after few seconds it restarts and show the lg logo , then a black screen then the lg logo again then black screen ..and so on ..........FYI cache wipe was done after installing and kk 20H dori bootloader was used. Cheers
[G2 Android Development] Jeik:
After flashing this kernel on CM12.1 nightly, after a reboot and the LG logo the screen becomes dark.

I tried wiping cache and dalvik too.

Same problem on RT.
[G2 Android Development] PlayFan:
Hello, I'm getting the same issue, but I can't even have the Resurrection boot logo.

I'm running with the Resurrection Remix's Latest ROM on my D802 (5.1.1), I did a full wipe, then installed Gapps and the ROM works perfectly. But when I try to install the Render Kernel, I have a bootloop with the LG Logo only. I also tried to install the Bootstack mentionned in the first page before, but didn't work either...

Thanks in advance for any help if you have any solution ! :)
[G2 Android Development] pqee:
D803 here on KK baseband and bootloader since there's no lp for us.

Bliss 3.7 and 3.8 as well as Resurrection all fail to boot with R1 or R2.

Boots to ROM logo then restarts.

This is with and without gapps and with a full wipe between flashes.

Hope this log helps.