yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] errikosd:
Kernel v10.0 is good for me too. :good:

Running LG stock, de-bloated from LG apps and using Google counterparts, my phone is flying. I don't even have to increase touch boost frequency as I did till now.

Hints if you have battery problems:

Use somboons ultra de-bloated stock ROM if you can. Stock LG ROM has a lot of useless services running in the background which somboons has removed.

Greenify-ing Facebook app, as well as Snapchat (for those who use them) should also save you a lot of battery life.

Thanks for your kernel, dorimanx.
[G2 Android Development] smartpr1v4t3:
Another hint for user with battery problems. Try to use your social apps in browser. Facebook with Chrome is working fine also the notifications etc.

I suggest in general use chrome/ webpage from webapps if possible.

Social Apps are mostly spyware on the phone. Incredible how many rom problems are postet here...

PS: Wtf should "butterly" mean? I think super smooth ( "butterly" makes me nearly angry when i read it xD)
[G2 Android Development] hitardo:
I have battery problems.

But these problems are related with my ROM: CloudyG2 v3.3.

This ROM is stable and beautiful, but the battery life is horrible.

There are some apps that, sometimes, ruin my battery.

But, with the help with many users here, I installed Amplify, Greenify and Purify.

These helped me control my battery, but the ROM is a big pain

So, get the hold of your phone, and see what is exactly eating up your battery.
[G2 Android Development] cuenta_clon1234:
Very noticeable battery drain since 10.0. Phone overheats and battery gets lowers very fast.

Tried to reflash, delete old folders, etc., but the problem persisted. Had to rollback to 9.8 and now everything is working fine.

PS, I've been using dorimanx's kernel since 5.9 without any problem. Also, no changes have been made to ROM (using stock), recovery or system.

Thanks!
[G2 Android Development] cybernetus:
And where is the info?

Enviado de meu LG-D805 usando Tapatalk
[G2 Android Development] cuenta_clon1234:
Cybernetus: what I've noticed is, android system process works non-stop and is always active, making the cpu lock in the highest frequencies all the time. In the battery usage screen, android system and such processes take the most use percentage by far (~30%); screen time is at the fourth or fifth spot.

Synapse shows quite a lot of time spent on the higher frequencies, and "overheating" of around 60-70 °C on the battery. Thus making the phone last 3 hours SoT, maybe less.

Sorry, I do not have any more detailed usage info.
[G2 Android Development] raptorddd:
i was the first one to report this . overheating and battery drain..i could see the battery graph going down too much.. not having stock kernek on hand decided to flash 9.8. then the android system was no longer on top... last night i was forced to go back to stock. decided to re install rom icex4.5 fresh installation. and i said. ill flash 10. and ill let it run till morning and ill check how much drain it suffered, but phone did not dropped in 4 hours. decided to adjust all settings yes i do this every clean flash.. i know there rom settings sometimes it gives bootloops.

so after using 10. no more over heating no more drain... its weird. cause before the only app i changed was kernel with app.. then same changed only kernel with app 9.8 and i did see a difference..

but now on 10. its normal after clean installation of rom. :highfive:

i know it over heated but am glad that its working like it should now.. maybe do as dori advise me to wipe data dalvik i think and deletind dori from data.

now am using same apps as on 9.9 and on 10. and when reverted back to 9.8 and same apps.

good luck guys.
[G2 Android Development] cuenta_clon1234:
Raptorddd, I have already tried deleting the .dori folder and re-flashing v10 (deleting cache and dalvik too). It worked properly for a full day until the problem started again. Thanks for your answer!
[G2 Android Development] raptorddd:
mine is working will see till tomorrow. i did that but flashed 9.8 when i tried 10. i was forced to go back to stock and flash icex5... not so sure as i didnt tried it again from 9.8 i would if i didnt had to flash whole rom again.. i hope mine stays like that knock on wood.
[G2 Android Development] gasReal:
+1 on google edition 1.5 :(
[G2 Android Development] mmd1907:
Flashed somboons stock rom and v10.0 kernel. Nothing flashed or installed

Battery problem is going on for me
[G2 Android Development] ceikokitkat:
I have problem with battery on the 10.0 kernel. Synapse says that my battery health is "overheat", all the time. But on 9.8 it says "good". Is anyone here also have this issue? My rom is stock 30D kdz.
[G2 Android Development] Danielf85:
Same me. V30h by somboons.
[G2 Android Development] dorimanx:
if battery heat is high, then it's will write overheat... not need to be astronomer to understand....

mine write GOOD. and temp is 30.5/86.9
[G2 Android Development] ceikokitkat:
Yes, I know, but it says "overheat" ALL THE TIME. Now, my battery temp is 29 and it says overheat.

On 9.8, I had more than 40 and it was "good".
[G2 Android Development] kocaman1321:
26°C overheat?
[G2 Android Development] mrkela:
same here
[G2 Android Development] dorimanx:
what about CPU temp?

need to investigate then... i didnt changed anything for battery health detection... it's STOCK code there.
[G2 Android Development] ceikokitkat:
CPU temp is about 40-50°
[G2 Android Development] gasReal:
come back to 9.8

this night drain battery again on 10.0
[G2 Android Development] Android -_- hacking:
Same Here ... Thats strange ... even though the phone feels normal the battery health displays overheat
[G2 Android Development] merlin21:
Question. Could it be, that the higher internal cpu clock speed ( increased 3 times since v9.9) could bring relatively more consumption of battery for those how had a worser deep sleep in versions before 9.9.

I mean that those people now with always working cpu now complain about the more drain because cpu needs more?

@ dorimanx do you know the difference in consumption between 100 and 300? I wonder that no one speak about this updated "big thing". Perhaps we could implement a switch for 100 or 300 mhz speed in dorimanx app? If it's possible and worth to test.
[G2 Android Development] dorimanx:
i see the bug... it's just fake reading... mess in code came from few changes to thermal code in 9.9

i will try to fix, or just revert, no big deal, was just cleanup, seems that something was missed in cleanup. there is no OVERHEAT for real.

just ignore it for now.
[G2 Android Development] dorimanx:
not possible. and problem is not there.

people have something running in background, that force CPU to work non stop. NO ONE gave me logs to see what can that be,

I have NONE of this problems, my device sleep with -10ma/h as was before.

nothing is changed for me. as i know how to handle apps that dont sleep. and drain power.

I am here to build kernel, not fix user problems.

things that connect to kernel, and i see them too, i can fix. all the rest with info like: i have battery drain" = USELESS POSTS.
[G2 Android Development] reamer1992:
Hi guys i rearly run in to problem (almoust none) and thus im not very active in the forum but i have the same problem. Since version 9.9. Since i decided the problem is from my side i decided to do some testing. Ive done clean install and tryed 9.9 no sucsess, cores stuch at max and no sleep. Then i decided to make clean install without any apps again no sucsess. Tryed soonboom roms clean install with no extra apps again stuck at max all 4 cores, basacly ive tryed stock lollipop rom soonbooms rom claudy rom no sucsess. In 10.0 version the problem was missing arround 4 or 5 houers and then again stuck at max frequency. Again tryed clean install with no apps and ive noticed that its says on battery health overheat. Im sory that im not very healpfull thats just my 2 cents on the matter :)
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

It's unbelievable that you write and people don't read or ignore what you write!

Thanks as always for your great patience and support! ?
[G2 Android Development] goblinapoel:
Guys,

I am new to Dorimanx settings change so I need your help here. Is there any legend from where I can find information regarding different governors, hotplugs etc etc explanation in order to better understand the settings? Furthermore, the discussion is over 700 pages long and the Q&A also is long. Can I find somewhere some recommended settings along with different ROMs? e.g. now I am on GE 1.5 and trying to find optimal settings to avoid lags but still get some descent battery life. Is my only option the Search feature of this forum to get my answers? :)
[G2 Android Development] runekock:
I tried to provide some logs 5 days ago. But it is not obvious what kind of log is useful for this. Can you suggest any logs that will be helpful for you?

Anyway, I haven't seen the problem since then. It only happens once in a while.

(@Nightshadow931 suggested to look at the BBS alarms tab. It did show rather a lot of alarms from com.android.phone. 43 per minute to be exact)
[G2 Android Development] n@vier:
I answered here: http://xdaforums.com/showpost.php?p=66752097&postcount=2023
[G2 Android Development] dorimanx:
News Update!

Kernel 10.1

08/05/16

*Merged update to sound driver.

*Merged fix for GPU driver.

*Merged updates for USB,arch_timer,NET,DM

*Merged kernel patch 3.4.112 many changes to NET/FS/USB/KERNEL/CRYPTO/TTY

*Restored lost configuration for FREQ INPUT. now all drivers that used that working again.

this fixed the "battery overheat bug" and many others that we didn't see.

This build should fix last reported bugs.

*Locked CPU

*Overheat battery state. (fake reading)

*Battery drain.

update when you can from 10.0 its unstable.

Have fun.
[G2 Android Development] Android -_- hacking:
Thanks for the quick update ! you re the man ! :D

Everything works flawlessly
[G2 Android Development] ceikokitkat:
Thank you [MENTION=2376110]dorimanx[/MENTION]

10.1 fixed all problems for me.

Your kernel is the best now!
[G2 Android Development] dxkernel:
Thanks for your support Master.
[G2 Android Development] alirezagoli95:
Thank you so mach everything is so so good.
[G2 Android Development] berezker:
Finally

10.1 fixed overheating issues from cpu always on 100% and battery
[G2 Android Development] saarxee:
Same battery drain on v10.1

V9.9 all ok
[G2 Android Development] ceikokitkat:
Boot into recovery, wipe dalvik and cache and delete /data/.dori through twrp's file manager. For me that worked
[G2 Android Development] PanzerRun:
Thanks.
[G2 Android Development] luq529:
Latest 10.1 kernel. I pressed clear cache im Dorimanx app than app frozed(I waited for about 1min)and process sysctl came up heating the cpu. I start the app again and the process dissapeared. Maybe the drain is because automatic cache cleaner? I have no idea :D. I am attaching the "useless" log. I really never experienced such things before.

https://drive.google.com/file/d/0BztSuSGELk2tVC1MQXlHSkpBc0k/view?usp=drivesdk

And one question, does system server process should be always working? I think it's stuck too for me I will reboot and see.

Edit: rebooted and same thing happened app frozed sysctl came up. Installed 9.8 and cache clearing works perfectly. Maybe there is something.
[G2 Android Development] cuenta_clon1234:
Cpu still hot, battery seems better. Dorimanx app crashes when trying to manually CLEAR RAM CACHE. Sticking to 9.8 for now.

Thanks!
[G2 Android Development] dorimanx:
I see this bug, its real.

Alert to all 10.1 users.

Please disable cache clean cron task if you enabled it. Its off by default.

And dont use manual clean cache button in dorimanx app.

Function got damaged in some change.

I will fix it.

Sysctl stuck and use max cpu non stop.

Drain power, only best way to stop it is too reboot.

All the rest is ok. Till found otherwise.
[G2 Android Development] stroge:
Is it the "clear file-cache" or the "clear app cache" task?

Thanks!
[G2 Android Development] wikowikowiko:
i have 2 logs for v. 10.1.

log with "a" was taken after i saw my phone restarted by itself.

another log was taken after i got stuck on lockscreen. cannot insert pattern code. need to wait several minute. blue notification led appeared.
[G2 Android Development] south956:
Long time [MENTION=2376110]dorimanx[/MENTION] , I thought you had left the g2 community for the g3. I destroyed my last g2 on a freak accident and since then have drifted off but seeing that you are still around has influenced me to buy another g2 and return to my addiction as a tester. Be back in forum before you know it. Sorry for unnecessary post Mods.
[G2 Android Development] n@vier:
It's clear file cache.
[G2 Android Development] dorimanx:
i am working on fixing clean cache code.

i have already found the problem.

trying to resolve without reverting code. by adding fixes from main line :)

if all goes well. new build will be up soon.

and kernels 9.9 + 10.0 + 10.1 will be deleted to the VOID.

for now best build is 9.8
[G2 Android Development] n@vier:
I never used clear file cache ;)

anyawy with 10.1 my g2 sleeps as baby and everything seems to work as it should be :)

Thanks for your stunning support! We'll wait the new great build (I saw github there are many new commits...awesome!)
[G2 Android Development] Astrako:
Hi [MENTION=2376110]dorimanx[/MENTION]

I see that it is impossible to install a custom stock rom with your kernel integrated in it in /data with f2fs. It reverts to ext4 at first boot. I have seen some files and in /init.recovery.g2.rc appears the following lines:

on fs

wait /dev/block/platform/msm_sdcc.1/by-name/system

mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system ro noatime barrier=1

wait /dev/block/platform/msm_sdcc.1/by-name/userdata

mount ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata /data nosuid nodev noatime barrier=1 noauto_da_alloc errors=continue

Could it be due to these lines??

Thanks in advance. All the best to you!
[G2 Android Development] alirezagoli95:
Thanks so mach for everything's [emoji173] [emoji173] [emoji173]
[G2 Android Development] dorimanx:
there is no problem with F2FS on data. problem is ROM.

to answer your question.

[root@dorimanx lp_ramdisk_dorimanx]# grep -R "init.recovery.g2.rc" *

grep: ROOT-RAMDISK/sbin/wget: No such file or directory

grep: ROOT-RAMDISK/sbin/watchdogd: No such file or directory

grep: ROOT-RAMDISK/sbin/adbd: No such file or directory

grep: ROOT-RAMDISK/sbin/ueventd: No such file or directory

[root@dorimanx lp_ramdisk_dorimanx]#

file is not imported or used during boot. it's just there...

and MOUNT dont change F2FS to EXT4 it's will fail if it's not EXT4... so ...
[G2 Android Development] dorimanx:
Kernel 10.2

09/05/16

Clean cache bug resolved. and much more.

kernels 9.9 --> 10.1 DELETED.

*Merged all mutex/spinlock locking code from 4.6.y! and many other changes to support it.

it's main driving force of kernel. all work on it.

many things fixed, and new code added.

*Merged new code for RCU used by percpu locks.

*Fixed cache release and calculation code by reverting few changes in memory code.

there is much to do more before using that part of code. all was great before, and should be now.

*Merged some updates to memory code from 4.6.y and some fixes to shrinker code.

*Merged updates to busybox from source and included in kernel.

Bugs removed:

*Problem to clean cache with manual click or using cron. now all OK.

*CPU stuck on max freq and heatup and drain power. resolved with FIX above!

Bugs Added:

??? :p

lets me know how it's goes.
[G2 Android Development] tripii:
Kudos to person who found culprit of battery drain. And thanks to [MENTION=2376110]dorimanx[/MENTION] for respond, at first you have not assisted but in the end all went good [emoji12]
[G2 Android Development] saarxee:
Dont working..
[G2 Android Development] ceikokitkat:
Update to kernel version 10.2
[G2 Android Development] n@vier:
If many of us simply said "I have battery drain" for him was too difficult to find where was the problem.

See OP [MENTION=2376110]dorimanx[/MENTION] develops this kernel from 7th may 2015!

Every day is here for us!

Honestly I can't read this: "at first you have not assisted...."

Ps: @ Mods sorry for my OT but in this case I can't shut up!
[G2 Android Development] tripii:
Yeah, I have understanding bro, no hard feelings. I was referring to this time only, cause many users reported battery drain without log and he didn't know where to start searching for bug. Cheers
[G2 Android Development] gasReal:
[MENTION=2376110]dorimanx[/MENTION]

thank you for exist :)
[G2 Android Development] olgos762:
first impression version 10.2 = Super!

thanks :)
[G2 Android Development] Jan Philipp:
Damn it, man! You're awesome. Unbelievable how fast you update and fix this kernel. I love it!
[G2 Android Development] Vittorio_Fittaiolo:
In the future it can be 4.x version instead of 3.4.x? Or it s impossible?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] axlrvx:
Impossible.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] errikosd:
We will never have kernel version above 3.4 because LG decided so, but a lot of v4 compatible stuff has been merged into the current kernel. Check the change logs.
[G2 Android Development] miloske83:
v 9,8 best

After update to v10 my phone go willd batery drain and overhiting batery temperature over 40c now back to v 9,8 and all good:o

And use default profile can tell me friends best profile for batery life and performance i am use phone most for internet browsing + viber and news apps tnx
[G2 Android Development] dorimanx:
you didnt bother to read the thread.

then DONT POST. thank you.
[G2 Android Development] miloske83:
Yea my fault not reading thread just jump to update!!!now learn a leson... Mr Dorimanx can you tell me beter profile to use for batery+performance tnx.
[G2 Android Development] Sucky1983:
Come on! Use Battery profile for powersave. Use Performance for better Performance. Or use the default for a compromise. It's that easy if at least you try to read the description.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] miloske83:
Ok tnx my friend use this great kernel only two monts and use default and batery profile just want to ask for oter opinions:(:p
[G2 Android Development] n@vier:
[MENTION=1538578]miloske83[/MENTION]

Which part of this answer you didn't understand?

Advice: read carefully OP [emoji6]
[G2 Android Development] Sly_North:
I updated from 9.8 to 10.2 two days ago, and I still saw a very deep battery charge drop during the first night; but only for 3 hours instead of the whole night, so I was a bit puzzled. I still gave this version another chance, and this time there was almost no battery drop during the night (maybe ~1% in 7 hours).

Thus it seems to be fixed for good now, awesome!

Thx :good:
[G2 Android Development] melvinsiminiano:
Support for F320?

Will you support f320x device? :(
[G2 Android Development] n@vier:
This question was made many many times and the answer is always the same: nope.
[G2 Android Development] mystril:
Had older version of kernel which was terribly lagging. No idea why. Turns out I didn't clear Cache and Dalvik. After updating to 10.2, cleared both in recovery, phone is perfect now. I dont see the need to get a new phone!

Kudos to creator for keeping this phone alive after 3 years!
[G2 Android Development] zdrawko12:
sorry to let you know that on 10.2 and stock rom (the same as yours) after checking cron to clean cache device heated up and causes fast battery drain. Tried to debug but says it is useless. Gone from 9.8 to 10.2 and deleted /.dori before flashing. Have anyone the same problem or it is just particular case?
[G2 Android Development] dorimanx:
Post the log, its will show me what eat cpu power.
[G2 Android Development] StructureDr:
I had it happen once when I first tested it after installing 10.2 - stock d802 ROM. reset everything to default in the Dori app and clean cache note works again as it always did on 9.8 and earlier. Hope that helps
[G2 Android Development] zdrawko12:
I was trying to bring that bug into kernel check, without results. But if i correct remeber it was a conflict with timed toogles app. Was trying to fix it by deleting remains in dalvik and cache and flashing again. That helps i think.
[MENTION=2376110]dorimanx[/MENTION]

I forget to run debugging before reverting to 9.8. Now back to 10.2 and problem disappear. So for now false alarm.
[G2 Android Development] dorimanx:
I will call it, useless post, sorry.

You dont need to clean cache and dalvik.

Bug was with cleaning RAM cache.

Not some files. Bug was fixed in 10.2

End of story.
[G2 Android Development] lance.zhou:
I noticed that when i disabled zram, the process reclaim efficiency is always zero. Is it a normal case?
[G2 Android Development] dorimanx:
I am not sure... if device is in low ram condition most of the time, then process reclaim not effective.

Or if there is plenty of ram free, its also will not show any effect. As its not used.

When zram active, there is always need to shrink it, to maintain lower cpu power use for holding ram in compression.
[G2 Android Development] PsuchO:
It's too bat. Many F320 people and no F320 kernel ((((( I hope Mr. Dori create F320 kernel in future "cry" "cry" "cry"
[G2 Android Development] khanjui:
He will not, don't cry.
[G2 Android Development] funkiexx:
I flashed 10.2 with the dorimanx app. Switched on all Reset Switches. After IT all works finde. But I cant Switch off sweep2sleep and Reset Battery every Day. There is no apply Button. I come from 9.9 and There was all fine. Nothing helps Reset profile save and Backup and so on
[G2 Android Development] n@vier:
Did you erase the folder data/.dori?

If you didn't... try this because everything works as it should be.. I switched off sweep2sleep it was the first thing that I did after the update and also cron works great that I use always [emoji6]
[G2 Android Development] funkiexx:
Yes I did. I can Switch IT on in the dorimanx Update app. But I will try IT manually
[G2 Android Development] Diechel:
Mentioning a bug with alucard that i reported earlier, long time ago.

Dorimanx app

- 4x alucard

- 4x 2.5 GHz

After screen off / on the max cpu freq gets locked to 1.9 GHz, synapse app shows the right value i set in dorimanx app. When i change the core0 freq in dorimanx app to 2.7 GHz it's working again untill screen off / on.

Maybe with the new changes to alucard gov the old fix has gone or something.
[G2 Android Development] PsuchO:
F - funy -_-
[G2 Android Development] zdrawko12:
Hi [MENTION=2376110]dorimanx[/MENTION].

Once again the problem with hi load of cpu approx 70'C appears. Please take a look at the debug file, maybe it can help to find my problem.

Or could it be that clear file-cache and trim system data and cache crons, while both are ON、 leaded to that?

Also happens that kernel debug says no useless so also enclosed that just in case. :)
[G2 Android Development] keeepinitgansta:
I second this...

Seems like sysctl (cron task) is getting stuck in a loop again on Dorimanx Kernel Version 10.2

PID USER TIME COMMAND

9710 root 0:00 /sbin/busybox sh /data/crontab/cron-scripts/drop-cache-only.sh

9722 root 114:20 sysctl -w vm/drop_caches=3
[G2 Android Development] ntu38:
kernel 10.2 get a reboot! here is log file.
[G2 Android Development] Al1key:
I have a problem with LTE on 10.2. I don't know where is the problem, but on 9.8 everything works.
[G2 Android Development] dorimanx:
yes i see that sysctl is stuck.

for now dont use clean cache cron task.

need to understand why its can stuck when device sleep, or maybe under pressure.

thanks for correct report. that is useful post :)
[G2 Android Development] raptorddd:
theres no connection between kernel and LTE. that must be an app or some service disabled.

is like i ask.. my car wont start.? license plate fell down.?