yashsingh1/xdaforums huggingface dataset:
[G2 Android Development (D802)] duki994:
Try switching to simple_ondemand gpu gov.

Cause is that i messed up and forgot several commits for devfreq while helping Boris31 get GPU UC/OC. So msm_adreno_tz gets bad data and devfreq frequency transition information is not working. You can see devfreq spamming around in kmsg/dmesg.

I fixed it now. Only Boris needs to compile with fixed gpu drivers and frequency reporting to see if there are any errors or if any code adaptations needed :)

---------- Post added at 07:47 PM ---------- Previous post was at 07:46 PM ----------

Oh and change thermal throttle from 70deg to 77deg :)

70 is way too low. Pur device can handle a lot more. Stock is 85deg, but don't go over 78deg
[G2 Android Development (D802)] StormIceX:
Much better with simple_ondemand thx! And thx for the fast fix. I wait the compiled version :D

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development (D802)] darckengel:
Thx it worked fort me now I have 12K in antutu for 3D and games are not laggy anymore.
[G2 Android Development (D802)] samuele94:
thermal problems with 2.1 stable,battery reanch 34°c without cpu stress. No problems with 2.0
[G2 Android Development (D802)] StormIceX:
Change the GPU governor to simple_ondemand. And wait until the dev compile the fixed version.

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development (D802)] infected85:
+ 1 for me from stock to this kernel the benchmarks dropped also.
[G2 Android Development (D802)] Boris31:
The new versions with all the fixes will be release very soon guys stay tuned :)
[G2 Android Development (D802)] Boris31:
BCKernel 2.2 released

This is mainly a bug fix release but voltage control and more gpu otimizations are up added. Enjoy guys this should be rock stable release :)

Download link here :)
[G2 Android Development (D802)] jaskooo:
Gpu voltage is still 650 mhz. Cannot get it to stay on 450 mhz
[G2 Android Development (D802)] mars3910:
+1 :( Simple ondemand Governor is on
[G2 Android Development (D802)] Boris31:
You mean gpu freq? Yes I'm aware of the problem will be fixed in next version workaround is just change to other frequency for now. :)
[G2 Android Development (D802)] jaskooo:
Yep gpu freq. My mistake. Its stays on 533 mhz but on 450 wont. What governor to use for now?
[G2 Android Development (D802)] Boris31:
Everything is fixed except the frequency bug. Now everything is smoooth. You can use again msm-adreno-tz governor :)
[G2 Android Development (D802)] shaneel1491:
+1, great kernel so far...
[G2 Android Development (D802)] jaskooo:
Charging not on max. Current 1010 mA with variatons from 310 to 1200 mA. Stock charger and cable.
[G2 Android Development (D802)] duki994:
I've found why GPU is not sticking to 450MHz. It's in kgsl_pwrctrl.c.

ROM thermal binary will reset frequency ton 450MHz max after cooldown. If someone from userspace set it to 450MHz (ROM thermal service is working from userspace) then driver sets 650MHz.

EDIT: sorry for tapatalk code mess

/* if ROM set 450 max, set 650Max */

if (level == 2)
pwr->thermal_pwrlevel = level - 2;
else
pwr->thermal_pwrlevel = level;

Dorimanx added this as a precaution. If you set 533MHz, then this code will set 533MHz, and if phone overheats then max level goes down(in kernel protection). When phone cools down and driver allows freq control ROM thermal binary will try to set 450MHz, but you'll get frequency that you set before (533MHz). Without this check, after every cooldown your max freq would be 450MHz, so OC would be useless.

Downside is that you can't pick 450MHz freq.
[G2 Android Development (D802)] Lycidias:
Could you maybe consider adding fauxsound?:)

Btw: i just noticed my powerbutton does Not work on 2.1 and 2.2 :/

Spoiler content hidden.
[G2 Android Development (D802)] citytrader:
Why the default max cpu frecuency is 1497 in v2.2 ?... Shouldn't be 2265?
[G2 Android Development (D802)] drew150931:
I have a few question. What are difference between this bckernel2.2 to bckernel 2.1 and to the stock kernel of v30a/b/d/e somboons rom? I just want to know the iprovements of this new release kernel before to install it. Thanks in advance. :o
[G2 Android Development (D802)] citytrader:
Somboons is pure stock, so the difference I found in my case are: the most important is WIFI@5Ghz (useless in stock LP kernel), totally stable, even in Kitkat I didn't get this stability, besides this, there is fastcharge and KCAL where you can calibrate the screen colors.
[G2 Android Development (D802)] drew150931:
Did you try the bckernel 2.2 new release of boris31? anyway i never experience wifi drops. or maybe i never foreseen that my wifi encounter signal drops. :D
[G2 Android Development (D802)] citytrader:
Wifi drops are from stock kernel, Bckernel solved them
[G2 Android Development (D802)] drew150931:
How about bckernel2.2 it has a fast charging or not? yesterday i installed the bckernel 2.1 stable but still has slow charging. and the battery drain fast. i have only 3hrs of screen on time while on stock kernel i have 4 to 5 hours of screen on time.
[G2 Android Development (D802)] citytrader:
I have got fastcharge even with 2.1TEST4, check if you have original charger and cable, for the battery is to soon to say anything, I will wait till the kernel settle down a bit.

A question for Boris, I have fastcharge with original LG charger, could be possible to enable fastcharge even for non original chargers, with original charger I get 1800ma, but with non original I get 330ma and the charger output is 2000ma, I tested all options on,off and custom without luck!
[G2 Android Development (D802)] SNaReX:
I wish you had kept this kernel as stock as possible.

As an Android enthusiastic, what I have seen in years, whenever a kernel is updated with new GPU, overclock etc. it becomes less stable.

See Dorimanx kernels. They are unstable as hell.

Do you all know why [MENTION=270378]Cloudyfa[/MENTION] 's rom was popular? He was using the stock kernel with minor tweaks, not with additional stuff.

I hope he will get back to XDA soon
[G2 Android Development (D802)] Danzano:
Dorimanx is merging lp code in his github he has the most stable kernels for the LG g2 I have seen his bug squishing and tireless effort they were both second to none during kit kat he will probably release an lp kernel soon.

As for stability and progress please keep your mouth shut till you can actually understand what is happening this kernel shows promise and does not need undertones like this.
[G2 Android Development (D802)] bender_007:
There is no need to discuss other devs work which also have their own threads.
[G2 Android Development (D802)] duki994:
No.

It's when you try overclocking/undervolting that kernel goes unstable if your device can't handle it.

Just look at franco's simple msm-thermal code. It protects phone much more and it's one of simplest and cleanest thermal drivers that I've seen. And works quite fast and effective.

On stock it's 85deg max. LCD will burn more quickly on many devices with that heat.

Franco set 70deg max, but that's overkill. You can change it to 76deg.

I'm able to get 3h heavy 3D gaming with WiFi and sync on with this gpu driver :)

So I think it's workin good.

Just apps don't have good sysfs paths for this new driver to set frequencies good. They use old deprecated ones.
[G2 Android Development (D802)] citytrader:
+1

The answer to you is NO, Dorimanx's kernel is totally unstable at least in my SEA variant (in Galaxy S2 and G2 the same history), I have been trying to make the effort to use it even if I did a donation but is impossible, the problem is they have a bunch of yes men followers and when someone say "hey, what you are doing does not work" he becomes angry, so please stay away from Dorimanx kernel modifications when possible, their kernel is ever in beta stage for it's instability.

I dont want to become controversial but PLEASE you are doing a great job with this kernel, is really important that the more you stick with stock kernel the more stable will be, for example what toolchain is more near to stock?... another developer says that 4.8.5 is the more stable version, are you agree with this?.

Just as a suggestion or comparison, could be possible to make a version that has fastcharge+your wifi drivers+kcal and that's it and another version maybe advanced with all the extra stuff you want to add?...

The last version is draining battery so fast with screen on, using with ondemand + zen+msm-adreno-tz with mp decision off or on.

On GSAM I see the kernel usage at the same level of Android System 7.0%

Othe thing is everytime I open Synapse is asking me to modify the settings and I have to hit cancel, is this a bug of Synapse?...

Seems with gpu simple_ondemand drains less battery with screen on.
[G2 Android Development (D802)] duki994:
simple_ondemand will drain less even with stock kernel (I think it didn't boot because of some pointer messup in original form).

KCal is based on LG's kcal control and invert control(LG made invert display code 100%) with more options added and exposed to user like saturation.

I have 7h SOT with intellimm. And 6h 30min with ondemand. With 2.1. And 2.2 is better now.

Problem is that ondemand is tuned low for optimal freq and bursts in 2.26GHz fast.

Synapse works on UKM scripts. UKM scripts are not good defined for this kernel. It has same bugs even with stock kernel. Try it.

And watch dor bam_dmux wakelock if you are using data :)

Some apps can constantly poll for internet and bam will poll network.
[G2 Android Development (D802)] citytrader:
The phone is connected with wifi and the comparison I'm doing is since I'm using TEST4 version, even in standby where I put the phone in

flight mode drained more than usual.

If synapse is not ok, what apk is better for cutomization faux kernel? For example using Kernel Toolkit, it says that GPU max freq is 650mhz and seems is not possible to change with this application.

I'm doing statistics to show the drain I have, I'm using battery widget pro to be as objetive as possible, for the other side,
[G2 Android Development (D802)] duki994:
https://github.com/simex31/BC_Kernel_LP_STOCK_D802/commits/master/net/wireless

No changes in wifi driver and no changes in suspend code :)

Those battery apps will drain a bit in idle. I have had high location wakelocks from Play Services.

Try using BetterBatteryStats.
[G2 Android Development (D802)] citytrader:
WIFI driver is ok and is the motivation why I will never use stock for now, battery widget pro is working great and is not consuming resources at all.

The idea is not to be to picky about battery, the point is I just see a drain that is more than normal, I will try to post some statistics later
[G2 Android Development (D802)] 4r44444:
Maybe OP help Dorimanx with his LP Kernel :D
[G2 Android Development (D802)] Boris31:
Thanks for you oppinions and your expiriance with this kernel. Post some statics from bbstats or something similar so we can help you. Bckernel 2.0 is bassicly what you want stock linaro toolchain, fastcharging and debugging removed and fixes nothing more added just 4 sheds mainly becouse of ZEN. But the 2.2 is excellent better than any my release before, stable, fluid,fast not battery hungry. I'v got ~ 6 and a half SOT with nothing much changed from default settings.
[G2 Android Development (D802)] koba:
Hope you bring UV for the Display.
[G2 Android Development (D802)] duki994:
UV for touchscreen voltage?

Then screen will be less responsive to touch. You'll nees to press screen more.
[G2 Android Development (D802)] koba:
I don't think so! It's the Best way to save battery.
[G2 Android Development (D802)] duki994:
It's not.

TS has very little currents. It must have very low currents due to nature of touchscreen working mechanism. It reacts to voltage so it very high impedanse/resistance.

Very low currents (microamp-nanoamp level). So battery savings will be from 0.1%-0.3% a day.

So lowering TS voltage will tamper with capability of registering touch (lower sensitivity) and possibly break double tap due to that.

Dorimanx's kernel had problems when lowering TS voltage from 3.3V to 2.7V.

It lowers sensitivity, especially when it's hot outside. Then TS starts working crazy and reports "ghost" touches.
[G2 Android Development (D802)] citytrader:
Please dismiss all the statistics I put before, bettery monitor widget pro demostrated to be inconsistent, so I will doi it again.

For the other side I experienced this, when the phone when charging arrives to 99%, it take much more time to arrive to 100%, this is happening with this kernel, is this normal?
[G2 Android Development (D802)] duki994:
It's normal for our LG :)

That's the time when phone balances voltage, current and other miscalculations due to charging and balances out battery to get it 100% charged and stable :)
[G2 Android Development (D802)] citytrader:
Thanks, by the way, all way around the kernel is fantastic, but you don't answer me if you can add the support for fastcharge for generic chargers, I think is the only missing feature of the kernel!
[G2 Android Development (D802)] duki994:
Sure. That's not a problem.

Also disabling cable check will remove some of problems people are getting with slow charging. Some cables are set to carry lower current. Disabling check will allow it carry more current but will lower (a lot) life expectancy of USB cable :)
[G2 Android Development (D802)] desiresiscool:
Installed the 30b zip ROM on this sub forum, what bootloader would I have
[G2 Android Development (D802)] Lycidias:
Same as before or 20H. Kitkat bootloader.

Spoiler content hidden.
[G2 Android Development (D802)] fikkri.fp:
Led notification

I have problem with my led notification not working for me. any suggestion guys?
[G2 Android Development (D802)] alex1690:
HI Duki, maybe in next kernel release or you've a patch to flash in TWRP?

Thanks!

---------- Post added at 12:18 PM ---------- Previous post was at 12:15 PM ----------

In another post I've read to disable all led notification, turn off, turn on and then enable again led notification :)
[G2 Android Development (D802)] Boris31:
We are now working on cable fix it will be included in next release it should fix all charging problems.

There was nothing changed with led lights and i dont have problems with it so check your settings, rom or apps which you are using.
[G2 Android Development (D802)] SNaReX:
I have been using your kernel with 30b and as you mentioned in OP this is rock solid. FYI I didn't choose any governors this is just default installation. I am not sure which governor is the default one. Please try to release new version when you are totally sure about stability.

I choose your kernel over other most popular kernels.

Good job
[G2 Android Development (D802)] Boris31:
Thanks for your kind words. Stability is the main reason why I build mine kernel :)
[G2 Android Development (D802)] r4Rok:
If you are still on stock recovery, then stock LP bootloader. But, if you have installed custom recovery using AutoRec Lollipop, you are on KitKat bootloader, probably (20A, or 20H).
[G2 Android Development (D802)] StormIceX:
Mpdecision on or off? Why?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development (D802)] Boris31:
On, mp decisions hotpluging is disabled by default and msm hotplug is enabled. Still there are mp decision services running for power HALL and some other stuff.
[G2 Android Development (D802)] Carter07:
[MENTION=4488538]Boris31[/MENTION] thanks for you work, this kernel is fast and very stable! :D

Only problem I found with 2.2 is that gpu frequency doesn't stick. I'm using TricksterMod.
[G2 Android Development (D802)] citytrader:
With Faux Clock seems that it sticks
[G2 Android Development (D802)] Boris31:
They stick well, just when you set 450 it reverts back to 650, trickstermod and a lot of other kernel tuning apps are not using good resource to check the freq but it is set. The problem is because of the changes done with gpu overclock but all works just fine :)
[G2 Android Development (D802)] dorimanx:
Gpu oc was tricky. But its works great.

Any way all apps mess with gpu driver set function path.

And should change the devfreq path. Its the real limit set control.

The one in gpu driver is just reflection of thermal load on max allowed freq by devfreq control.

This why my dorimanx app set it where its should.

Its in my ramdisk scripts. Correct path for you.

No other app will change the gpu as should.

Sent from my LG-D802
[G2 Android Development (D802)] koba:
And now?
[G2 Android Development (D802)] Boopie11:
I have noticed that on wifi, it barely goes to deep sleep .. (5 minutes awake out of 12)

With 3G no isues (1 minute awake out 16 minutes)

kernel version : 2.2
[G2 Android Development (D802)] Boris31:
Thanks for report. I'v got a lot of problems in real life so i will work on new version as soon as i can.
[G2 Android Development (D802)] SNaReX:
The thread has been quite for a week. Either everybody likes 2.2 or they switched to other popular kernels :) But I didn't yet.

Hopefully we will get an update soon.
[G2 Android Development (D802)] fridaycider:
Hopefully he gets his other problems sorted first and everything is ok.
[G2 Android Development (D802)] oudbrood:
The download link is broken for 2.2 (bad gateway).

Can somebody help me?

Edit: found it!
[G2 Android Development (D802)] arek78:
Okay for lollipop 5.0.2 v30b stock.
[G2 Android Development (D802)] oudbrood:
Yep....working good.

No problems at all with somboons 30b eur.
[G2 Android Development (D802)] Kuoi:
Installed this afternoon because other popular kernel had some battery drain.

I'm curious about this one , but I'll use it a few days before i decide to test an other ;)

Hope I can stick with this one ;)
[G2 Android Development (D802)] Lizzacore:
No F2FS support in 2.2 ? Stuck everything at boot with the error that settings will be closed
[G2 Android Development (D802)] TreviSyn:
I'm using on quetzal 1.3;very good but i found a problem with selinux:with stock kernel is set to permissive,with bc instead or set enforcing.you can change it with app but or a problem with some install from recovery
[G2 Android Development (D802)] Lizzacore:
Can you added OC and hotplug option ?
[G2 Android Development (D802)] zsmweb:
Hi,friend,how to modify the default.prop and remake a boot.img?

:confused:
[G2 Android Development (D802)] mujka:
Waiting support for cloudy 3.1 thank you
[G2 Android Development (D802)] asus535:
All I need is, a stable kernel as BlueCyclonKernel2.2, and a patch for charging my LG G2 with all chargers either connected to wall or car.
[G2 Android Development (D802)] PedroJuuu:
I installed your kernel, will support stweaks and other governors in the future? Thanks
[G2 Android Development (D802)] reddsmokee:
it's possible for f2fs?
[G2 Android Development (D802)] Boris31:
stweaks and a lot of futures are not in my main focus right now but im planing to add them once when im happy with the stability and optimizations.

Yeah definitely i will add f2fs in one of my next releases
[G2 Android Development (D802)] Boris31:
you can already change rgb colors with trickster app, yes im planing to add it but i dont know when will it be
[G2 Android Development (D802)] itomx:
@up

I understand but now it is only the color and I thought I had to saturation, brightness, value, contrast etc.

it would be nice to add it in the next versions ;)

for a moment the current kernel works very smoothly and steadily, many thanks ;)
[G2 Android Development (D802)] Boris31:
BC1.1 release

Changelog:

Fixed exfat support

Merge some fixes from nexus5 caf

Selinux permissions fixes

Build using -o3 compiler flags

Thanks for great responses and kind words guys.
[G2 Android Development (D802)] serial1005:
Hi.

I have a error when I will flash 1.1. E:error executing updater binary in zip '/sdcard/download/bluecyclonKernel1.1.zip.

hope it will help ;)
[G2 Android Development (D802)] lascoul:
I can confirm the same error
[G2 Android Development (D802)] Boris31:
Yeah thanks already got it fixed reuploading :)

Edit

New download links are up :)
[G2 Android Development (D802)] hamed...:
Here is No fast charge mod:rolleyes:
[G2 Android Development (D802)] Boris31:
Yeah i need some changes in ramdisk in next release fastcharge will be implemented completely :)

Edit

I will delete fastcharge from changelog so there will be no confuse
[G2 Android Development (D802)] reddsmokee:
i can't see the changelog for v1.1.
[G2 Android Development (D802)] Boris31:
Its is on page 3
[G2 Android Development (D802)] reddsmokee:
sorry for big mistake. i've missed that. thank you.
[G2 Android Development (D802)] cheloz:
Hello friend . Good job, just let me know if you have removed the safety of LG . Is that your kernel , as with the stock , if I modify the framework , then not boot .

thanks
[G2 Android Development (D802)] Boris31:
You mean you get security boot error when you modify the framework? I'v got it too when i try to deodex the rom, i still didnt find where is the problem but ill try to find it.
[G2 Android Development (D802)] cheloz:
No security error given. Just show the boot animation and multicolor LED. But not finish booting .

It scarcely be odex problem as with other kernel does not have that problem .

I trust you can solve this. Thanks friend
[G2 Android Development (D802)] Mastermind_hassan:
waiting...

Hope you implement fast charge as soon as possible
[G2 Android Development (D802)] pitsgraft:
[MENTION=4488538]Boris31[/MENTION],

Nice to see kernel development for Lg G2 D802 Lollipop version, I would love to try your kernel on my. G2 on 30a [MENTION=4008653]somboons[/MENTION] rom.

But before I test would you care to provide Lollipop super stock kernel 30a, 30d and 30e...

For users to notice the difference between stock and your mod kernel.

Aswell incase user want to revert back to original stock kernel.

Thank you for all your efforts, im hoping to get a positive response from you...

Cheers,
[G2 Android Development (D802)] somboons:
Stock-Kernel-LP-D802 30a,30d,30e
[G2 Android Development (D802)] daniel.stuart14:
min brightness

Pls, reduce the minimum brightness for a better reading in dark places.

Here's the mod .

In 5.0 kernel, the directory of "msm8974-lge-common" has changed. Now is on: arch/arm/boot/dts/lge/msm8974-g2/

Edit: Pm driver update also.
[G2 Android Development (D802)] Boris31:
Merged both commits thanks :)

https://github.com/simex31/BC_Kernel_D802_LP_STOCK/commit/2b427ea679fc832ac2cab5e8fecf45e9a09bb8de

https://github.com/simex31/BC_Kernel_D802_LP_STOCK/commit/6a6fd152cf6544d965a75be1d98e6fd0e9a99764
[G2 Android Development (D802)] daniel.stuart14:
You can't just merge it, because the LP kernel have some changes. (for ex: the directory of dts), and github will return conflict.

so, you need to do it manually. Just, edit the files.

;)
[G2 Android Development (D802)] Boris31:
yes i did it check my last few commits ;) https://github.com/simex31/BC_Kernel_D802_LP_STOCK/commits/master

BTW.

I started from 0, rebased kernel, more clean source and i implemented a lot of futures and fixed things that i missed in first kernel build, the new kernel source is here https://github.com/simex31/BC_Kernel_D802_LP_STOCK i'm planing to merge more things and fixes and maybe change the toolchain before i release 1.2 version.