yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
please use my profile.

you created totally unstable configuration.

high pressure on RAM release, high OC on GPU, unstable CPU govs. high OC on CPU0

high VM pressure.

and you got reboot. WOW. it's must be something wrong with kernel.

some things, you should not touch, if you dont understand how to combine them with other things to balance power.

or it's will go KABOOM :)
[G2 Android Development] Vittorio_Fittaiolo:
Hi dori, do you use some tweaks of gplay service? Example disable some service

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] keeepinitgansta:
I've disabled cron entirely until a solution is found. Otherwise 10.2 kernel runs great!
[G2 Android Development] lynxrz:
Me too on d802

Signal gone and never appears until I restart the device

It can be stock rom problem I don't know.
[G2 Android Development] dorimanx:
no such problem here. and without LOG when problem exist, it's same as you wrote empty post in dev thread.
[G2 Android Development] dorimanx:
I have good news.

Its seems i have fixed the ram cache clean and some other ram management code.

See GIT few last commits.

I will build new release tomorrow.

Its 21:12 here.

For now testing other changes.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Thanks for your great support!

Few minutes ago my g2 freezed and rebooted. Attached the log I hope there is something interesting.
[G2 Android Development] RohanM:
Hello [MENTION=2376110]dorimanx[/MENTION]

My LS980 freeze completely while watching online video. Log attached. Please check. :)
[G2 Android Development] Gugazin:
What is the best profile in battery word should I use? Without those standards profiles , wanted one to save beyond that.
[G2 Android Development] Fr3dY:
[MENTION=2376110]dorimanx[/MENTION], it seems the zip log file is incorrectly named just v10 (instead 10.2).

BTW, the useless logs aren't including version string in the name, it could be handy.

Regards,
[G2 Android Development] RohanM:
[MENTION=2376110]dorimanx[/MENTION] another freeze and reboot while playing clash of clans this time. Log attached please have a look.

http://cloud.tapatalk.com/s/573a76f0d3adf/dorimanx_debug-V10..zip
[G2 Android Development] merlin21:
Please use QA Thread (linked in op) to ask non dev related questions.

For more battery saving then extreme battery profile, put on flight mode - it realy gets me an insane standby time (i get 2 weeks one time) [emoji106]
[G2 Android Development] dorimanx:
nothing in last log.

ROM panic. kernel was OK.
[G2 Android Development] dorimanx:
[sched_delayed] sched: RT throttling activated for rt_rq e9119800 (cpu 0)

potential CPU hogs:

AudioTrack (13563)

service AudioTrack stuck and cpu0 crashed.

kernel reported cpu lock.

possible application bug, or ROM sound driver bugs.
[G2 Android Development] dorimanx:
fixed the naming. will include 10.x now.

the useless log. will be corrected in next build. 10.3 already in upload stage.
[G2 Android Development] dorimanx:
nothing in the LOG.

kernel was OK when ROM panic and reboot.
[G2 Android Development] dorimanx:
News Update!

Kernel 10.3

17/05/16

*Merged updated to sched clock code.

*Merged big update to futex code and sync it with 4.6.y kernel.

*Merged swap speed update to ZRAM driver.

*Merged fixes for netfilter code.

*Merged fix for procfs from CM13

*Fixed clean cache code by reverting one change that i cant use yet.

Now RAM cache clean CRON will work as should.

This build fix memory release bugs. now ZRAM will work faster in swapping RAM, and releasing.

And RAM cache clean will not stuck anymore. (sysctl will not drain CPU and battery)

Tested many times, function is working as should now.

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

Thanks for new build!

I'm seeing in v10.3 that when I press the button clean ram cache in memory tab it stucks...I don't know why but in v10.2 it worked perfect.
[G2 Android Development] zdrawko12:
I've checked that and works for me like it should.
[G2 Android Development] n@vier:
Thanks I will investigate...
[G2 Android Development] dorimanx:
not good idea to push it right after boot.

system is loading.

if stuck, reboot.

wait few minutes. try again.
[G2 Android Development] n@vier:
My bad! After reboot it works perfect!

Thanks Master! [emoji6]
[G2 Android Development] Ganjax:
v10.2 180 hours uptime without any problem! :) Time jump to 10.3 and wait month for next reboot! Good job master [MENTION=2376110]dorimanx[/MENTION] , as always!

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] :
Great Kernel it runs great on my old G2! I used ur Work since HTC HD2. But now its Time to change again my Phone to the new Huawei P9.:) Somboo is change to this Phone too. Goodbye Dori thanx for all the Support ur are great!!
[G2 Android Development] keeepinitgansta:
Flashed 10.3 and Android OS is back to its old habits.... Draining batt like crazy... Couldn't produce a useful log so Went back to 9.8. All is well again :) Cron scripts aren't behaving on v 9.9+
[G2 Android Development] 60nine:
one does not simply quote the changelog
[G2 Android Development] saspo59:
Happend to me last night with 10.3 ,get 70% drain over night made log but it says uslless so didnt attach it in the other hand gsam apk says the cose of drain is kernel
[G2 Android Development] dodora3d:
i face lag when turn on wifi for 10 sec or more and back to work again .. may i do something wrong ?
[G2 Android Development] dorimanx:
i have solution for you!

DISABLE CACHE CLEAN CRON TASK.

easy no?

here some info about ram cache clean.

=============

There is plenty of anecdotal evidence and a load of blog posts suggesting that using "drop_caches" periodically keeps your system running in "tip top shape". Perhaps adding some kernel documentation will increase the amount of accurate data on its use. If we are not shrinking caches effectively, then we have real bugs. Using drop_caches will simply mask the bugs and make them harder to find, but certainly does not fix them, nor is it an appropriate "workaround" to limit the size of the caches. On the contrary, there have been bug reports on issues that turned out to be misguided use of cache dropping. Dropping caches is a very drastic and disruptive operation that is good for debugging and running tests, but if it creates bug reports from production use, kernel developers should be aware of its use.

====================
[G2 Android Development] saspo59:
I was all on default performance profile cache clean cron is not active
[G2 Android Development] hitardo:
Am I the only one that is feeling

more RAM pressure in the 10.3 version

?

I have a lot of applications.

I use Greenify, Amplify and Purify, all controling my apps.

But, as many are important, many run in the background.

So, I always expect 200-350MB of free RAM.

In this latest build, I started noticing an increase in free RAM (350-450MB) - which seems to be a good thing - but it is not my ideal case.

As the pressure in RAM management increases, not only my battery drains faster, but my apps get killed.

For example, LG Home (launcher) has to refresh almost every time I unlock my phone.

I need to know

what parameter

- in DorimanX app -

I need to change, in order to decrease this RAM pressure

?

Thank you in advance!
[G2 Android Development] errikosd:
You have too many apps installed and they "wake up" when WiFi state changes. Try Greenify-ing some of them (like Facebook or Snapchat, I have found these two have a significant impact on phone slowdown).
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

I had a freeze and I had to force reboot.

Anyway attached the log.... I noticed overheating but I don't know where could be the problem (same apps and settings) with previous version no one problem with latest versions I'm having these problems.

I hope there may be something to see but probably there will not be.

Thanks as always for all! :good:
[G2 Android Development] dorimanx:
You need to decrease the adaptive lmk ram limit, from 72 to 68 that will lower the apps kill, but allow lower free ram.
[G2 Android Development] dorimanx:
Rcu stuck. Cpu operation was delayed.

No log by who. Just binder_5.

I see you are using fstrim. Try not to use it.

Same for cache clean.
[G2 Android Development] n@vier:
I always used cron task (trim, Google services restart, restart ui) but now I will test your default settings [emoji106]

Thanks for your great support! I'll report after some days of use [emoji6]
[G2 Android Development] hitardo:
Thank you!

I will try it right away.
[G2 Android Development] repulse:
Anyone tried Eva L Rom with this awesome kernel ?
[G2 Android Development] Dimberr:
dropbox.com/s/brmigsv2dutfeyr/dorimanx_debug-V10.3.zip?dl=0

[MENTION=2376110]dorimanx[/MENTION]

Freeze and reboot. After that I couldn't create kernel bug because of SuperSU (was unchecked some option), changed it and rebooted manually one more time. I hope there is any useful info
[G2 Android Development] dorimanx:
Belong to development? Use qa.
[G2 Android Development] naraykln:
After installing 10.3, t2 expense and call meter apps when tried to open, it closes immediately. It's not crashed. Closes immediately. Tried re-installing the apps, still the problem occurred. Besides, I could see battery drain in this version. Rolling back to v10.2.
[G2 Android Development] wikowikowiko:
hello dori, i think i have problem with sysctl. tried to get the log but it was named useless.

i was sleeping for around 9 hours. when i woke up, my battery is critical.

please see screenshot as attached.
[G2 Android Development] keeepinitgansta:
Downgrade to version 9.8 and everything will be fine again!
[G2 Android Development] Fr3dY:
Hi,

First freeze and reboot on 10.3 since using Dorimanx kernels (default options).

When I click on "Bug report for Kernel" it says file has been created in /sdcard/dorimanx-debug.zip but file isn't there (I ran a search for 'dorimanx' string in / and no debug zip file was found) :(

Regards,
[G2 Android Development] n@vier:
Go in SuperSU and disable "mount namespace separation".
[G2 Android Development] Fr3dY:
Now it works, thanks! I'll send report if phone reboots again.

EDIT: Maybe this info could be added to OP?

Regards,
[G2 Android Development] saarxee:
Why battery was drain in the latest versions?
[G2 Android Development] saspo59:
The problem is that all good at dori side even that we have the same rom and and dori run many more apps then us and the log says uselles . we only can say thanks to dori for his affort to seek for the freezes and heating in the last versions
[G2 Android Development] Nightshadow931:
Please don't use this kernel if you don't know to find what's eating your battery.
[G2 Android Development] Ganjax:
I dont remember when i had battery problem with dori kernel, iv'e never deleted dori cache folders etc. My battery always is same. You know why? Because i know what eat my battery and i care about my rom and processes. This night my D802 lost 1% on 10.3 kernel. Peace

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] masteril:
No problem what so ever with 10.3 so far
[G2 Android Development] heliumn55:
Hello.

One question.

my current rom is ndm 5.5

kernel stock is very laggy

so i flashed dorimanx 9.8 and 10.2 test one day each kernel.

then i flashed xceed build 14 (wpr version).

and results are: my tests are 95% sleep and some sms that's all! for the 3 kernels.

plane mod 23h00 to 7h00

dorimanx 9.8 : 0.9% /hour (BetterBatterStats)

dorimanx 10.2: 1,2% /hour

Xceed 14 : 0.6% !!! /hour

Xceed seems simple kernel than dorimanx ,better results with antutu 54236), and best battery

Dorimanx 9.8 : antutu 52132

So Xceed or Dorimanx?
[G2 Android Development] raptorddd:
theres a question and answer thread..

ndm is bassed on fk320 variant so some report that dorimanz might not work. dorimanx doesnt support fk320

and to ask for xceed on a dorimanx thread is unrespectfull... you know the answer you place the numbers .. choose what you think its better for you..
[G2 Android Development] n@vier:
Stats can be useful in general but why this question here?

First because is a specific dev thread.

Second because if you ask which is better here...it is the same you go to Ferrari and ask if Lamborghini is better.

So you will realize that is a useless and wrong question... ?
[G2 Android Development] heliumn55:
it was not the goal " thread is unrespectfull..." ,you misunderstood sorry and.......I apologize.

but if someone can explain me the real difference between these two kernel dorimanx and xceed.....

it is the developpers.

I imagine that the developer has to analyze competition

just the mains differences as black color and white color!

Thanks all

:angel:
[G2 Android Development] Diechel:
What is really unrespectful is to not read the first post and post this DEVELOPMENT thread full of junk.

Bye, go here

http://xdaforums.com/lg-g2/help/dorimanx-lollipop-kernel-qa-thread-t3103105

My post was not meant to be disrespectful.
[G2 Android Development] heliumn55:
ok ok

Let move my post to Q&A.

:fingers-crossed:
[G2 Android Development] alirezagoli95:
I installed 2 version xceed and it so so buttery better then dori but it so so slowed then dori. I return to dori and I have not changed anything, because by this kernel 4.4.2've enjoyed my cell phone.

Thank you dori for everything's.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

After some tests v10.3 works great!

My problems started with my old settings in cron tab. With your default settings in cron tab, everything works great without overheating and freezes.

Last but not least: battery drain is perfect, it sleeps like a baby [emoji3]

Thanks Master!?
[G2 Android Development] merlin21:
I enabled nearly all cron tasks like reset google services etc and no errors with 10.3 Great response speed like 10.0 is back again for me with modded gov and hotplug - thanks.
[G2 Android Development] lance.zhou:
[MENTION=2376110]dorimanx[/MENTION] I saw some strange log in dmesg output when Bluetooth is on through Bluetooth work nicely for me.

msm_hs_clock_vote: entering

UART Clock already on or port not use : 3

UART Clock already on or port not use : 3
[G2 Android Development] Midosiwar:
Hi! I'm suffering from heating issue just after moving from stock kitkat to custom lollipop. Will flashing a custom kernel solve the problem?
[G2 Android Development] CampfireVibés:
Yes it will.
[G2 Android Development] albsat:
[MENTION=2376110]dorimanx[/MENTION]

Have you changed the battery of your LG g2? I think the old battery is not helping at using your awesome kernel.
[G2 Android Development] krija:
Dorimanx app update

Changelog:

- code cleaned (cca -6kB)

- removed hardcoded SU
[G2 Android Development] smartpr1v4t3:
Phone powered off suddenly when battery was at 30%

After reboot battery was at 2%

Dont know if it was a rom/hardware failure or kernel bug

https://drive.google.com/file/d/0B1cbckb82WVUYnFBTzl1V2l4bnc/view?usp=drivesdk
[G2 Android Development] CampfireVibés:
I can report 10.3 as 100% stable
[G2 Android Development] dorimanx:
probably will not boot. read why in posts at page 1. you didnt care to do it.
[G2 Android Development] 4r44444:
After Zipalign I lost ALL apps! Even play store,...
[G2 Android Development] 0xetrov1:
[MENTION=2376110]dorimanx[/MENTION] the phone doesn't boot up if we change /data partition to F2FS? right? because mine won't boot :( , it stuck at lg logo for like 20 minutes
[G2 Android Development] dorimanx:
OH!!! need to remove that.... i forgot sorry!

PEOPLE DO NOT USE ZIPALIGN!!! it's not supported with ART structure...

Please reinstall ROM, and your apps...

well BETA has it's price... :(
[G2 Android Development] 4r44444:
Reinstall whole rom necessary? Cant I just flash GAPPS again and download all apps again?
[G2 Android Development] dorimanx:
yes you can do that. as zipalign only touch DATA/APP/*.akp

system APK are OK...

any way, to honor you for this report i have made fast fix to clean zipalign from kernel.

https://github.com/dorimanx/lp_ramdisk_dorimanx/commit/cf21b569db07a410f19c5af7143450367fc95bf8

lets find more bugs, and i will release 1.2 build with more fixes...

sorry for this...
[G2 Android Development] dorimanx:
hmm... i was hoping it's will.... seems that i need to work with selinux policy again to fix that....

for now use EXT4 ONLY....

Thanks for report.

I have updated not supported list in OP.

strange, i have seen F2FS inside sepolicy binary... and was hoping it's will work....

will be fixed.

EDIT:

i have formatted cache as F2FS with LP.

and it's OK.

from dmesg:

<7>SELinux: initialized (dev mmcblk0p31, type f2fs), uses xattr

root@g2:/ # ls -la /dev/block/platform/msm_sdcc.1/by-name/cache

ls -la /dev/block/platform/msm_sdcc.1/by-name/cache

lrwxrwxrwx 1 root root 21 Jan 24 1970 /dev/block/platform/msm_sdcc.1/by-name/cache -> /dev/block/mmcblk0p31

root@g2:/ #

root@g2:/ # mount | grep cache

mount | grep cache

/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type f2fs (rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,user_xattr,active_logs=6)

root@g2:/ #

i think that for DATA is should work too... need more tests..
[G2 Android Development] zapppppp:
hello all

my problem is slow charging on lollipop. I have samsung charger 2A, on stock 4.4.2 or cloudy roms it charge great(1500-1600mAh), on lollipop it charge very slow(200-300mAh). I installed this kernel but fastcharge still dont work, 330mAh max. what I am doing wrong?
[G2 Android Development] 4r44444:
Try set Fastcharge to Manual and 1600MaH
[G2 Android Development] zapppppp:
i did it already, set fastcharge=on, fastcharge=manual 1600-2000, no difference

---------- Post added at 07:51 AM ---------- Previous post was at 07:46 AM ----------

i installed 30a cis today, than intstalled this fresh kernell on clean rom, is there any difference between 30a 30b? and i use ampere for measurement
[G2 Android Development] alex1690:
Hi! :)

Same here... but if i charge D802 in TWRP mode fastcharge work ok (1600ma) :eek:

Any suggestion please?
[G2 Android Development] TMG1961:
Quick question. I am running somboons SRK-D80230b_20150425_droidth Rom

Can i use this kernel or do i need to do anything before flashing it?

Great work and thanks for the help.
[G2 Android Development] smartpr1v4t3:
I know Dori wrote it in to small letters in his first post for you ;)

You need LP and the 20A or 20H Bootloader.

Next questions please in Q/A
[G2 Android Development] PhoenixNLx:
Installed the kernel, but when i go to settings it gets back to homescreen.

Have Open 30b, with root and latest bumped TWRP.
[G2 Android Development] dorimanx:
in ROM switch to MTP storage.

my charge 1600 with no problem.
[G2 Android Development] Indiant:
On 30e with Xposed, the same thing happens.
[G2 Android Development] luckydude:
one question MR Developer ;)

i have bckernel LP kernel . it means i have 30d bootloader

can i flash your kernel ? or i have to flash 20H bootloader then flash your kernel ??
[G2 Android Development] TMG1961:
Thanks for your answer.

I think i dont do it..just tooooooo scared to mess anything up and then got a phone that cant be used any more
[G2 Android Development] PhoenixNLx:
I have also exposed Alpha 3 installed.

Can go to WiFi settings through notification (finger hold on the icon).
[G2 Android Development] 4r44444:
I use 30a too and have 1100~1200 mAh.
[G2 Android Development] Diechel:
Try Lux from play store. Pro version has below zero filter.

Or use app like screen filter
[G2 Android Development] iAchilles:
Well i believe those Apps are just using an over-filter to reduce brightness, not actually decreasing backlight which also save battery, is itn't so????
[G2 Android Development] Diechel:
Yep filter, don't know if it reduces power
[G2 Android Development] Nussi29:
SOD while scroll in a app. 4xondemand/alucard hp

https://www.dropbox.com/s/3mb4yiwtjz8h2zu/dorimanx_debug.zip?dl=0

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] dorimanx:
total memory crash... no actual log remain...
[G2 Android Development] remorema:
having major slowdowns and just had a random reboot on 2.1

stock governor and hotplug.

if it happens again Ill try to get a log ;)
[G2 Android Development] the baptizer:
freeze and reboot while on fb with 2.1, 30B, stock governors and hotplogs & no mods

prior to reboot I experienced very much lagg
[G2 Android Development] Salvi1982:
Thx! :)

---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------

no words...

Have a great day!

:good:
[G2 Android Development] Diechel:
Wasn't meant to be rude. Just irritating that that question already been asked multiple times.
[G2 Android Development] duki994:
[MENTION=4455323]the baptizer[/MENTION]

Were you charging at the time of crash?

In [MENTION=4455323]the baptizer[/MENTION]'s log

smb349_is_charger_present: DC is missing.
smb349_set_pre_chg_current: bad mA=-1062902700 asked to set
healthd: battery l=48 v=3740 t=34.9 h=2 st=3 c=32 chg=
max17048_work : Reported Capacity : 47 / voltage : 3775
healthd: battery l=47 v=3775 t=34.9 h=2 st=3 c=32 chg=

And

smb349_is_charger_present: DC is missing.
smb349_set_pre_chg_current: bad mA=-1062902700 asked to set
healthd: battery l=85 v=4005 t=38.0 h=2 st=3 c=30 chg= //reports input current and no charger is connected!!!
lowmemorykiller: Killing 'x0.trickstermod' (18324), adj 1000,
to free 75080kB on behalf of 'kswapd0' (100) because
cache 196384kB is below limit 196608kB for oom_score_adj 1000
Free memory is 36164kB above reserved.
Free CMA is 0kB
Total reserve is 85560kB
Total free pages is 83304kB
Total file cache is 253116kB
GFP mask is 0xd0
smb349_set_thermal_chg_current_set: thermal-engine set chg current to 500
smb349_set_thermal_chg_current_set: thermal-engine: FFC active! battery is below 95 percent
smb349_set_thermal_chg_current_set: thermal-engine: requested_thermal mitigation 500, new_thermal mitigation=0, battery temp=380, battery capacity=85 //and new thermal mitigation = 0 while requested is 500? How? How did FFC code deduce that there is charger when it's not connected? Maybe it's not checking is_charger_present.
smb349_set_thermal_chg_current_set: thermal-engine: usb_power_curr_now=500, charge current=30 //and now entire code block setting charge current

How is healthd showing input current when no charger connected????

And why is also his new thermal mitigation 0? How? How did FFC code deduce that there is charger when it's not connected? Maybe it's not checking is_charger_present.?

And last line sets charge current to same as reported by healthd (which is userspace written in c++)?

Completely same situation as mine just with LMK killing Trickster MOD in meantime.
[G2 Android Development] Shaman4uk89:
I'm on V30e and not a single reboot or sod since 1.4 version, using ondemand and alucard gov with alucard hotplug.
[G2 Android Development] dorimanx:
i have found and fixed some bugs in FFC interface code. LP source is different....

had to adapt and add more checks for fails...
[G2 Android Development] the baptizer:
[MENTION=3441913]duki994[/MENTION]

No!! I wasnt charging phone..
[G2 Android Development] dorimanx:
News update.

Kernel 2.2

19/05/15

*Fixed Force Fast charge code. removed possible NULL pointer bugs, works very good now.

*Compiled and used new GCC 5.1.0 kernel build Toolchain! very advanced and powerful tool

on first compile found many bugs that can create many problems. and FIXED...

*Merged special binary for D806/5 models to create stable network connection with modded baseband.

Please try to use profiles that i have set... still more work needed on different CPU govs.

And no need to set OOM to aggressive. default works just fine.

Have fun testing.
[G2 Android Development] saarxee:
Stable?
[G2 Android Development] :
2.2 d802 bootloop :/...

I Update it via OTA ..fail now i download from my Pc and it works puhhh^^ sry.

Edit. Oh bootloop again...what the... My Phone charge and i reboot it and get bootloops. Hm..