yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] duki994:
Good way of solving:

Some app or script is changing it. Or something blocks Dorimanx App form changing value. Find what it is and stop it/delete it.

Bad way of solving (kinda hardcoding):

Try setting it hard way from sysfs (echo) and change permissions to read only if it bothers you too much. But then no app can change it until reboot.
[G2 Android Development] dorimanx:
You have some app that mess with kernel.

This kind of things that create bugs for people and then its become my problem.

Kernel will never change any gov or its default tuning. Or any other preconfigured values.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Memory leak by chrome. That killed systemui and then crushed uksm.

Get rid of this stupid bugged useless app.

Sent from my LG-D802
[G2 Android Development] smartpr1v4t3:
Reboot while browsing reddit app.

Think it was ram related

https://drive.google.com/file/d/0B1cbckb82WVURjM5Z2JwUDB3ZDA/view?usp=docslist_api
[G2 Android Development] szabyka95:
what browser do you recommend ?
[G2 Android Development] marek_poland:
I know you ask dorimanx, but I would recommend you Opera. It has synchronize system, so I have access to bookmarks/history/open tabs with every devices in my home(including PCs).

I deleted Chrome everywhere:), and btw Opera is faster:)
[G2 Android Development] pdimi70:
https://play.google.com/store/apps/details?id=org.adblockplus.browser

Firefox + Adblock combination but next time Q&A
[G2 Android Development] Alleks1802:
Got a reboot while playing hearthstone.

Was the first reboot since months.

Im on cloudy 3.3 and on latest kernel

Hope theres something useful in log... Really love this kernel! Dori you're the best ;)

https://www.dropbox.com/s/cef2dvbf5i223lg/dorimanx_debug.zip?dl=0
[G2 Android Development] iall5tar:
Hiho

I'm still alive testing your kernel buddy but today I had a reboot when I unlocked my device...

Looks like got an error in dmsg...

Here is the log... May it helps...

http://dl.dropboxusercontent.com/1/view/lieexf9r9nlz4zg/Public/dorimanx_debug.zip
[G2 Android Development] StDevious:
I ran the Freedom tool to get recovery on my stock LP G2. http://xdaforums.com/verizon-g2/development/tool-freedom-tool-vs980-39a-twrp-t3053134

Does that install the right bootloader to install this kernel?
[G2 Android Development] LitrosNub:
Has anyone tried Alucard Governor and Alucard Hotplug? Hows battery life and performance? I've heard it's pretty good but as I've seen on this thread. People are getting random reboots. I am very cautious about setting stuff since I hard bricked the thing (QHUSB_BULK).

Also I feel like I've got some extreme battery drain problems. Today I got 3 HR SOT. Also charging takes almost the entire night to go to 100! (Plug it in about at 7PM with 15%, I wake up around 6 AM next day and its around 98%) Is there anyone way to report this to you with some evidence? Fast charge is NOT enabled and I don't plan to enable it since my G2 has heat problems (but it never really effected battery life) and I feel it might break or something.
[G2 Android Development] masteril:
5.6 is incredible almost no performance issue compare to stock on some scenario even better and the battery life is just GREAT first time i got yasterday almost 6hr sot on lolipop with medium usage(heavy but almost no gaming)

Stock settings.gpu 533 mhz and sound increase a little bit thats all.great work dori!
[G2 Android Development] g.paganini:
First reboot since v5.0, while browsing files in ES file Explorer. Other that that, still works perfect. Maybe something useful.

https://drive.google.com/file/d/0B_LbsT0gdUatWHItb2ZfMjdMUEE/view?usp=docslist_api
[G2 Android Development] Koucz87:
On version 5.6my phone finally works flawless. Everything on default settings.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] Kemby13:
I must say thank you Dori for all your hard work - all these years.. I've been a fan of your kernel for some time now, but i bought myself a G4 today :)

I hope you will buy one for yourself soon :fingers-crossed:... The G2 is staying in my family and it will continue to run your kernel as long as you are willing to work on it.

Cheers!
[G2 Android Development] runekock:
[MENTION=6504970]LitrosNub[/MENTION]

I'll write an answer for you in the Q&A thread. Just wait 5 minutes.
[G2 Android Development] alpinotheoriginal:
I am on cloudyg2 3.3

I installed Dorimanx 5.6 kernel last night. But suffering from frequent reboots when in standby.Any help to resolve this?
[G2 Android Development] iko11:
I was on same config and didn't have any problem and I know many people using same config. I believe you should check other variables. And also please PROVIDE log or your post will be ignored by developer. You are not helping
[G2 Android Development] errikosd:
Freeze and reboot while talking on the phone, upon installing one app (XCam LG).

I had almost no custom apps installed on the phone (came from KDZ).

Kernel version 5.6 - stock settings. Hope it helps.
[G2 Android Development] zohaibkhan143:
ANyone post kernel feedback on ls980 with cloudy 3.3 rom.. I want to try this kernel

Sent from my LG G2 LS980
[G2 Android Development] pmgnet:
18 days, no reboot on 5.1. Updated to 5.6 yesterday, as I just didn't want to miss out on new kernel stuff. Got this reboot just now while in greader. D800, Cloudy 3.3
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Freeze and reboot v5.6 perfomance profile + cloudyg2 3.3

Attached the log I hope it can be useful.

Thanks master, enjoy the weekend ;)
[G2 Android Development] errikosd:
Hey [MENTION=2376110]dorimanx[/MENTION], just out of curiosity, have there been made any WiFi-related changes lately? Thanks ahead.
[G2 Android Development] masteril:
First freeze and reboot after 2 days with 5.6..just read some posts on facebook(app) and then freeze and reboot

Log:

https://www.dropbox.com/s/2w59k8ksu89pmke/dorimanx_debug.zip?dl=0
[G2 Android Development] rebar71:
I'm getting so many random reboots. Please don't tell me it's a corrupt file system again. I've already reformatted and reloaded twice. :crying: Maybe it's time to finally try Cloudy.
[G2 Android Development] OT-Xtreme:
i see you did undervolt... maybe thats the cause here. until dori will tell exactly his summary of this log
[G2 Android Development] Jeshuuu:
I have a problem, the signal is lost in my d805.

rom: cloudy 3.3 g2 (I chose in the aroma d805 option)

kernel: last dori d805

also copy the scrip 01signal.sh in system/ etc and restart, but I'm still losing the signal.

What else can I do?

Cheers, excuse my bad English.
[G2 Android Development] rebar71:
Are you replying to me? I'm not doing any undervolting. I've messed with it in the past and any gains are negligible and not worth the risk of stability.
[G2 Android Development] smartpr1v4t3:
Yep any app of yours still undervolt. Uninstall the old app that u used. The settings stuck ( had same problem with trickster)
[G2 Android Development] wisefreakz:
You have to manually run the script from terminal after phones boot.
[G2 Android Development] pmgnet:
Got my second crash today.
[G2 Android Development] rebar71:
Dude. I just fully wiped, formatted, and reloaded this phone yesterday. No undervolting. WTF do you see that is undervolting? Last time I ran trickster or any app doing undervolting was like a year ago. Never undervolted on LP.
[G2 Android Development] Mystique:
Changed my VS980 from stock vzw rom to cloudy..

Of course 5.6 dorimanx..

htcp tcp congestion..

Using the phone as a hot-spot..

Awesome data speeds..

Thank you [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] OT-Xtreme:
well, its a fact that something is changing your voltage
[G2 Android Development] dorimanx:
News Update.

Kernel 5.7

20/09/15

*Updated all CPU GOVS with more checks to prevent BUGS in CPU code when GOV start on cores.

This should prevent many random unknown reboots.

Thanks to Alucard for help! for more info see GIT.

*Updated LMK code that was found bugged and crashed kernel when there was LOW RAM. in some

rare conditions. now more stable.

*Merged few updates to memory code from 3.10.y updates.

Have fun.

report with LOGS to help me find more hidden bugs.
[G2 Android Development] Shaolin007:
Thanks for fast update at [MENTION=2376110]dorimanx[/MENTION]

But i have one question how to make battery less heated while charging....because i m using 4.6 kernel it does not get heated that much[emoji106]
[G2 Android Development] duki994:
Weird. It should heat same.

With stock charger and fast charging left on default (1600mA, Fast Charge Manual) you get 1600mA current maximum.

That amount of current heats devices battery reasonably fast.

If you lower it to 1200mA or less, battery will heat less. Charging code decides on number of factors how much current to pass. Due to this deciding mechanism, although set to 1600mA, your phone sometimes charges at around for example 1000mA and heats less.
[G2 Android Development] rebar71:
Reboot with 5.7. Was just browsing Facebook.
[G2 Android Development] dorimanx:
last_kmsg-Info:

there was no /proc/last_kmsg to read from

not kernel bug. ROM/APP
[G2 Android Development] Diechel:
Reboot on 5.7
[G2 Android Development] sheikhramnuj:
5.7 update no reboots here. All govs alucard plus hotplug. I want to experience some reboots but it doesn't give me. :D Keep it up! master [MENTION=2376110]dorimanx[/MENTION] ?
[G2 Android Development] wisefreakz:
Dori... Reboot right after flashing... But then, all good.

Maybe because of my setup by that time?

Log with kmsg https://mega.nz/#!ghRHiSqY!N3SrJnUW3SXws1o7i3QGAWfV6Lzmc8T1aSXxVszka5k

Hope it helps.
[G2 Android Development] Shaolin007:
Yes buddy as you u told it definately right can you just check version 4.6 it heats perfectly right means reasonable less while 5.5,5.6 heated like its too hot.
[G2 Android Development] danek731:
5.7 version can't boot on my LG G2 D802. It just gives me the "XYZ fastboot mode started" message, where XYZ are different numbers, and it's just stuck there.

Flashing back the 5.6 made my phone usable again.
[G2 Android Development] smartpr1v4t3:
Wrong kernel?

100% sure that u downloaded d802?
[G2 Android Development] danek731:
Well, I guess I am dumb enough to flash D800 version. So sorry, my bad.
[G2 Android Development] AlexVipXDA:
Guys There is a Way for reduce battery drain when I use Bluetooth?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] jeebspawnshop:
[IMG="o.O"]http://i60.tinypic.com/ern9s2.jpg[/IMG]

Dude, seriously?
[G2 Android Development] LitrosNub:
I'm getting really high battery drain from 'kernel' process. Anyone know why this is happening. Taken using GSAM. Also taking a ton of battery life (63% = 1 hr.) I'm thinking of reflashing since I've had the same ROM for months and countless kernel updates.
[G2 Android Development] bloof:
That high kernel wakelock means you are not searching the forums enough.

It is a combination of the partial kernel wakelocks (get the details in better-battery-stats app).

63% battery drain an hour is ridiculous unless you are playing heavy games (intensive AI games or all those stupid in-app purchases ****ty apps), those run at about 1% per minute.
[G2 Android Development] dbarmak:
Reboot at lockscreen.

D801 stock - dori 5.7
[G2 Android Development] LitrosNub:
I'm not playing those games. Also standby time is the f*ing worst (about 4-6% an hour). The most things I play is some small puzzle games (not games like candy crush), also Youtube and Netflix. Sometimes Reddit when bored. Other than that. I don't use my phone for much else.
[G2 Android Development] bloof:
Standby should be ~0.7-0.8% per hour. Mine is 0.2-0.4% on LG G2. Kernel is not your problem, these are apps killing you.

Clean flash might help, but find out what is draining first.
[G2 Android Development] merlin21:
Reboot while changed govs in default. Don't know if log is needed because i changed cpu0 to yankactive, but perhaps it helps to find the errors changing govs make for me since 4.x

D802 / Somboons 30b

http://wikisend.com/download/334456/dorimanx_debug.zip

Edit: looked into but don't see the error

Kernel worked top with ondemand govs like always. Perhaps yankactive and nightmare was a horrible combination [emoji12]
[G2 Android Development] Shaolin007:
Amazing 5.7 kernel built....using it for a day....

No reboots,No lags,No fc,buttery smooth and best of all during charging it does not heat up like its very very less...

Thanks [MENTION=2376110]dorimanx[/MENTION]

You are amazing....

Charged in 1hr 20mins....super fast.
[G2 Android Development] Garfield3333:
@ Dori

3.4.109 is out......

Thx
[G2 Android Development] teomor:
Hi guys. I have 2 issues with my stock G2 that I hope this kernel will fix. I want to keep my stock Lollipop ROM but I want these 2 things:

- CPU frequency limiter (or even undervolt if actually needed??) to save battery while actively using it

- reduce mic gain to help the camera app record loud audio (concerts, club music) with no (or less) distortion (does it work with the default camera or do I need the XCam? Either would be fine..)

Is this kernel what I need?
[G2 Android Development] dorimanx:
If you wish to be my kernel user, you need to be ready to help development, and experience bugs that we find and fix.

As this kernel is in constant development and some times builds are not stable, or can be for some testers, and for others stable. all the time.

This is not stock. No guarantee.

But what you ask is included. And much much more.

And more to come.

Use QA thread for questions next time.

Sent from my LG-D802
[G2 Android Development] masteril:
5.6 is great from the day of release ready to move on to 5.7! :) thank you again dori for your awesome work??
[G2 Android Development] Mystique:
[MENTION=2376110]dorimanx[/MENTION]

Request for optimax and smartmax governors..

Both are claimed to be great on Nexus 5..

Currently running impulse core0 ondemand for rest.. 5.7 cloudy 3.3 on vs980..

Best combination to date for me.
[G2 Android Development] MrDawn:
Hi!

First of all, thank you Dorimanx for this kernel for both KK and LP! I really admire and appreciate how much work and effort you're devoting to help all of us get the best of our phones!

And I will try to help as much as possible with the reports.

Here is my first contribution:

While using WhatsApp my screen froze completely, it didn't respond to touch or buttons, but I heard the sound playing from the sound clip that I managed to play before the freeze. Had to do a hard shutdown.

All the settings in dorimanx app are default and I'm running kernel 5.7 on Cloudyg2 3.3.

The kernel report file is in attachments.

I hope it helps.
[G2 Android Development] dorimanx:
News Update!

Kernel 5.8

22/9/15

*Updated with kernel patch 109. many drivers updated.

detected bugs by world DEVS now fixed.

*Merged new way to signal drivers when device screen is OFF

when to enter suspend mode and when to wakeup!

it's replaced older driver that seems to create reboot bugs

with LP stock kernel. and working fine for KK code.

so now all CPU Hotplugs, FS drivers, LMK, and logger use new code.

it's called State Notify. using LCD driver to ON/OFF to signal.

*Merged fixes to Alarm Timer code and RTC that used to sync device time

with NET, now should save correct time after shutdown for some time.

also other code fixes and optimizations added.

*Merged fix for mem leak in bam_dmux driver. (modem and chip set)

*Merged updates to interactive GOV.

*Merged speed boost for MMC driver.

*Merged fix for VMA ANON naming code.

*Merged updates to Alucard Hotplug from DEV.

*Switched all CPU govs and Hotplugs + touch boost to more stable

workqueue function. there is noticeable performance boost!

and should be more stable now.

*Updated Sweep2Sleep code, now it's OFF in second that screen is OFF.

No more screen touch regs when screen is OFF and suspend timer still

in range of 0 to 10sec.

Some reported that they can END CALL when screen is OFF by touch where

the button is located. now it's will not work :)

*Adapted cortex script to work with new state notifier to mod kernel

based on screen ON/OFF

*Updated CPU LIMIT driver, now it's fully using state notify and when

suspend Freq is set, it's set on all 4 cores! before was set only on core0

so now when we listen to music and screen is OFF. we save more power.

*Suspend delay for all effected driver is set to 10sec after screen was

been turned OFF by user or by auto. if in that range screen is turned ON.

counter is reset. and device remain in full wake.

that help with quick wake during usage.

*Disabled msm watchdog code that create false panic when CPU is loaded with something.

kernel know to panic when there is a real problem. (it's will reboot device).

Have Fun.

This is major update. that should improve stability and add performance and battery balance.

Report bugs with LOGS as always. use QA thread for common questions.

Enjoy.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Flashed v5.8 this release it's a beast! First impressions: an incredible smothness simply

awesome!

Thanks master for your great development, You Rock! ;)
[G2 Android Development] djtiesto22:
Yeah two last builds it's a beast! No reboots, using alucard hotplug and core0 impulse, all other default. Thanks dori you simply build like a PRO !

Послато са LG-D802
[G2 Android Development] flosha7c:
best kernel for lp! 5.6 2cores interactive very smooth and epic battery!
[G2 Android Development] Stud22:
Not sure if this matters since new build. Had screen not turn back on, on 5.7. Looks like stuff in log https://www.dropbox.com/s/7ny00hl38c217n9/dorimanx_debug?dl=0
[G2 Android Development] wisefreakz:
[MENTION=2376110]dorimanx[/MENTION] Got a reboot few minutes after firts boot with 5.8. Log looks interesting... https://mega.nz/#!loBS3ZAa!voLJu8WCgnwPV4-YSBxNADO4iQw66ZIS-aCoopLsv70
[G2 Android Development] dorimanx:
Please share the log in common store.

I don't want to install extra apps just to get it.

People, please dont do it hard for me.

Just share in here as file. Or drop box.

Any other stores i will not check.

Thanks.

Sent from my LG-D802
[G2 Android Development] siggey:
Little OT: mega is totally cripted and give you 50 giga free, so why not?

End OT.

_____________________________________Read more write less and be smart
[G2 Android Development] g.paganini:
Me again with reboot on 5.8 while typing a message in Viber. But it really runs butter smooth otherwise.

https://drive.google.com/file/d/0B_LbsT0gdUatWW5iMXdpR0Nzazg/view?usp=docslist_api
[G2 Android Development] xxoscarxx28:
I converted to CAF and so will [MENTION=2376110]dorimanx[/MENTION]?
[G2 Android Development] OT-Xtreme:
cause mega dosent like work with any browser, its not normal download and in phones you need to install some app for downloading properly
[G2 Android Development] dorimanx:
Major ram problems. None here.

So its your side. Rom or apps.

There was chain of fails when binder code triggered bug when running apps and rom threads.

Location of bug source is unknown.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Good luck. Ignoring.

Sent from my LG-D802
[G2 Android Development] nidzaaaa:
Damn fast.. Almost as my friends meizu mx4.. Great work with 5.8. Ty.

One question for doriman:

Which browser do you use? Almost all i tried, currently Yandex, are memory monsters..
[G2 Android Development] 5nickers:
Next browser
[G2 Android Development] purpleraintoxicity:
Actually, most browsers will consume lots of memory because modern websites are using js or php and load up huge memory for the graphics.

But it's off topic
[G2 Android Development] g.paganini:
Well, I don't care. I can't figure out ever what causes reboots, I'll just keep rolling with this kernel. No reboots for me for five consecutive versions,so, in general it's going good for me.
[G2 Android Development] wisefreakz:
Sorry... Blame it to Tapatalk app.... Google drive now... https://drive.google.com/file/d/0B95ky51rnleVS2thSkxySGZuOFk/view?usp=docslist_api

Thanks...
[G2 Android Development] dorimanx:
LGMDMUIApplicat

Caused stack limit in memory range.

Use stock rom.

If you have stock. Well then i didnt seen this service crash kernel with my device.

Thanks for report.

Sent from my LG-D802
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Freeze and reboot (v.5.8 performance profile + cloudyg2 3.3).

Attached the log, I hope it can be useful.

Thanks master ;)
[G2 Android Development] pmgnet:
5.8 is much snappier for me, fastest my phone has ran to date. Does not appear to be placebo.

D800. Thanks!
[G2 Android Development] wisefreakz:
Will go stock... Was with Cloudy...
[G2 Android Development] dorimanx:
Log is clean. Use stock rom.

I am tired to see reboots with cloudy rom.

Sent from my LG-D802
[G2 Android Development] LeoPosas:
I am tired to see reboots with cloudy rom.

Finally you said it! :laugh:
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

I'm sorry if my log is clean I don't know when the log can be useful or not.

Anyway the random reboots are rare for me and it's not a problem because the kernel works great for me as I said...and each new version it is always better.

Thanks as always for your work and support ;)

Good evening to all.
[G2 Android Development] Everhez:
CAF is for AOSP, dorimanx based on stock.

Enviado desde mi LG-D800 mediante Tapatalk
[G2 Android Development] errikosd:
Freeze while talking in WhatsApp call and browsing Instagram. Stock settings. Had to reboot manually.

Log shows kernel panic.

Log: https://www.dropbox.com/s/seczobawry68yyk/dorimanx_debug.zip?dl=0
[G2 Android Development] porselinaheart:
3 days using the 5.8 kernel and no issues so far on cloudy g2 3.3. my d802 is running uber smooth and fast. Those on cloudy having issues may need to check ur kernel settings/ or customisations as stock version is running fine on my phone so fr.
[G2 Android Development] edgd1er:
Hello,

I had two reboots while phone was sleeping. I got a pin code request when I woke it up.

Maybe the debug file has valuable information.

Anyway, thanks for your fantastic work, dorimanx, that made the LG G2 able to handle the Lollipop version of android. :good:

ps: all settings were default ones.
[G2 Android Development] marek_poland:
Your zip file is empty
[G2 Android Development] dorimanx:
Zip is ok, but log show no error with kernel.

So its was apps or rom.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Bug in app, that made unpredictable error in sound and video driver.

Called function without call first the correct one, so values in that function was nulled.

Kernel dont like null values in calculations.

so its panic. Its not something i should fix.

Sent from my LG-D802
[G2 Android Development] nidzaaaa:
Reboot with 5.8 and cloudy

http://qfs.mobi/f2621879
[G2 Android Development] n@vier:
After 2 days of tests:

- great battery (always on Wi-Fi + 4G/3G see screenshot)

- great performance in terms of smoothness and it also seems cooler in general.

Ps- my configuration:

- rom cloudyg2 3.3

-Xposed framework v74

-G3 tweaksbox

-Greenify + xposed module

-App OPS

- kernel dorimanx v5.8 performance profile (default setting with gain headphone I/r +2 and min backlight 100 lvl)
[G2 Android Development] d_Schizzo:
Screen frozen on 5.8

Hi Dorimanx,

my screen was complete frozen after wakeup. But device was working normally (was listen to music). I waited about a minute and rebooted the manually. Attached the log. At the end there are some mdss and init fails/errors.

Regards,

Schizzo
[G2 Android Development] indresh88:
Reboots happing with cloudy on

dorimanx is due to kitkat bootloader...change to original lollipop bootloader. I just find out from my experience of using both bootloader on cloudy on dorimanx.

Thanks
[G2 Android Development] d_Schizzo:
Link?!

AFAIK you cant have root and custom recovery on lp bootloader.
[G2 Android Development] OT-Xtreme:
you can have both but roms will not boot with lp BL. so i dont know what he used but it cant be lp BL for sure