yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] gasReal:
my experience with 9.9 on lp stock:

last night battery 97%, this morning at 6,30 battery noticed me 15%?

alarm off

what's happen?
[G2 Android Development] n@vier:
Do you think [MENTION=2376110]dorimanx[/MENTION] has the crystal ball? [emoji3]

Simply use wakelock detector (or similar apps) so you will know where is the problem [emoji6]
[G2 Android Development] EnterpriseDeveloper:
Happend to me too android os took 89 percent in 3 hours.

I can't generate log so where to find the log manually?
[G2 Android Development] samuele94:
hello [MENTION=2376110]dorimanx[/MENTION] , I want to give an opinion on dorimanx 9.9. It is stable but for me it lags when opening and closing the app (plus some random block). It seems to me as it be a RAM problem, I tried to restart and do wipe Dalvik cache and on Google 1.5 but nothing has changed. As soon as I put 9.8 the problem of the ram has disappeared, if it were to serve some more detailed information will be happy to make new Tests and to give you this information.
[G2 Android Development] Dick Gordon:
Hello.

Please tell me how I can return to the stock kernel? Now I use dori 9.9 on the D802 30d. Where can I download 30d stock kernel, and how can I install it? I tried to install the kernel with dori site, but get bootloop. Please give me the correct Web link.

My problem - Reboot twice a day for Dori core. I'm trying to return to compare the two kernels.

Thanx.
[G2 Android Development] Sucky1983:
Try Version 9.6 of the Kernel. It is marked stable and works like a Charm for me. The later ones also Reboot once a day on my device.

Don't forget to wipe Caches and try it for a few days.good luck

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] lance.zhou:
this also happened to me today, when i noticed phone was very hot and powered off due to empty battery.
[G2 Android Development] dorimanx:
News Update!

Kernel 10.0

05/05/16

*Merged updates to SCHED CORE.

*Merged big update to MUTEX lock/unlock code, core base for all drivers in kernel.

*Merged updates to stop machine (CPU) code.

*Merged updates to pipe code to limit apps hunger for RAM.

*Merged updates to FUSE and other FS code.

*Merged updates to F2FS from 3.18.y stable branch.

*Merged updates to SCSI and SG code.

*Tuned LMK to start free RAM at 294MB Free, to reduce LAGS with RAM under 300MB.

*Disabled Cleancache,ZBUD,ZCACHE to reduce LAGS with LOW RAM, battery drain, and cpu stress.

*Added new control to dorimanx app in Memory tab. for LMK min RAM before aggressive apps kill.

This build should fix LOW ram situations that people reported with 9.9, i seen them too.

This build will be faster than 9.9 as less CPU used for RAM compression.

If you have reboots every day, and no one else report that for weeks... then you have problem with device/rom.

Have fun.

Support my project if you like it.
[G2 Android Development] mmd1907:
I would appreciate if you let me know battery problems for some users have gone with 10.0
[G2 Android Development] StructureDr:
I had as similar problem yesterday. Investigation (Aida64) indicated cores not throttling properly. Reloading all settings in the Dori app seemed to solve the problem - no idea what caused the problem, though device had seemingly crashed overnight before it occurred - the related log stated useless.
[G2 Android Development] n@vier:
As I said, I repeat in other words so maybe I hope this concept could be clear.

Different rom + different apps = different behaviours = many different causes!

It's very difficult to understand where is the problem mostly if the problem comes from few users.

So a better thing is to investigate with apps that monitor wakelocks (like better battery stats etc.) ;)
[G2 Android Development] mmd1907:
read my message . I wrote

"battery problems for some users"
[G2 Android Development] n@vier:
I read...but please use Q/A for these kind of questions...this is a dev thread thanks [emoji6]

[MENTION=2376110]dorimanx[/MENTION] thanks for new update and for your awesome support!
[G2 Android Development] SREEPRAJAY:
Members,

I suggest that if you find any parts off topic or q&a stuff....please report instead of advising and getting into arguments which are equally off topic...

Thanks

sent using ANDROID and a wonderful device
[G2 Android Development] laranje:
Hi DorimanX !!

I have the G2 802 16 GB with cloudy 3.3 newly installed and your kernel 10, but still have a slight flicker at the bottom of the screen.

It all started when I put the kernel 9.9 on the stock cloudy 3.3, began flickers at the bottom of the very annoying screen which made me reinstall everything again with wipes, in the version 10 has improved somewhat but still have flickers sometimes especially in the unlock screen :(
[G2 Android Development] raptorddd:
phone is faster. but i noticed that phone gets hotter than usual. also battery seems to drain faster..

and past versions. ANDROID OS. wasnt as high as in this build.. always facebook was highest. and screen.. i only make phone calls facebook app and whats app. always ussed this apps.. great kernel.. very fast. :good:

going back to 9.8 or 9.9. i had

i had reverted to 9.8. used facebook and whats app ..the one with 10. is with android os in second place.. 9.8 with facebook at second place.. got 47 mins of SOT.. on 10. and 1:20 min on 9.8. 10. seemed faster. 9.8 lags but no big deal.
[G2 Android Development] boyheadkick:
12Hours of usage so far all good..memory handling is far better than 9.9 :good: no stutters when jumping from app to app ...phone is sleeping like a baby when idle, as always..lost 1% last night..

By the way, I'm not having problems with android system eating up memory...have you all tried limiting your system wakelocks with Amplify?
[G2 Android Development] dorimanx:
Possible hardware problem.

Kernel will never create any flickers.

Try to return to stock. If same, then hardware.
[G2 Android Development] dorimanx:
Not kernel related.

No problem here with all 5 last versions of kernel.

Wipe all. Reinstall rom. And kernel.

Install apps back, and be happy.

If same, try stock.
[G2 Android Development] raptorddd:
dori. i always do fresh installation wiping all. i just did it yesterday..

today i flashed 10. and used. till 81 % used...then android system is high.. then i flashed 9.8 deleted data/dori and sypnapse in twrp set same settings as always... use the same apps till 81 %..just this time different version of kernel. and they do felt different.. i think i should have same readings. if it was apps or rom.. but itisnt.. excuse i have never had complaint, and this isnt one am just saying android os, and phone gets hotter... in 1.0 then in 9.8.. but okey got it.i'll try stock thank you.
[G2 Android Development] Ati75:
Could you at least tell us which Gov you are using, which settings are active, are you using xposed modules? I think you want to help, but thats not the way to help in a dev thread...
[G2 Android Development] dorimanx:
I think its not kernel related....

Rom and exposed to check.

You can always use stock kernel for day and have all the same modules.

If any bugs, well then i dont have magic solutions.

I have no single reboot from 1.9

Sent from my LG-D802
[G2 Android Development] oTeMpLo:
Running stock 30b

stweaks: ..

All Default.. with default profile.. (2.1)... (2.1 is laggy and some apps even in "wait" state,...switching between then take ages..) reboot did not help...

Back to 2.0 .. and all is working is fine again. ..

Yes using exposed. .. only 2 modules: app settings and 3g tweekbox... As almost all LG software is FC if resolution is "lower" than 400 dpi.

Never had problems with reboots from 1.9 - 2.1 ... 1.6 was fast like a rocket... with low battery draining,, .. I was very happy with kernel at that point.

Just wanted to point out than changes from 2.0 to 2.1 made HUGE difference in speed and responsiveness of "phone"... .. alto antuutu only dropped from 41k to 39.8k.. (which is almost the same)...
[G2 Android Development] duki994:
Thanks for answer. Now stable when Amplify not running :)
[G2 Android Development] krija:
Near 35k points in antutu with those settings in default profile, with -25 mV UV. No reboot, stable and smooth.

stweaks_boot_control=yes
default_cpu0_gov=intellimm
default_cpu1_gov=intellimm
default_cpu2_gov=intellimm
default_cpu3_gov=intellimm
cpu_boost_freq=1497600
input_boost_ms=40
nr_boost_cpus=2
min_input_interval=300
sample_rate=10000
power_mode=1
power_efficient=on
cortexbrain_cpu=on
cpu0_max_freq=1728000
cpu1_max_freq=1728000
cpu2_max_freq=1497600
cpu3_max_freq=1497600
cpu0_min_freq=499200
cpu1_min_freq=499200
cpu2_min_freq=499200
cpu3_min_freq=499200
suspend_max_freq=1728000
msm_thermal=intelli_temp
limit_temp_degC=77
freq_step=2
poll_ms=250
temp_hysteresis_degC=5
thermal_limit_low=7
immediately_limit_stop=off
core_control=0
core_mask=2
core_limit_temp_degC=74
core_temp_hysteresis_degC=5
hotplug=msm_hotplug
hotplug_suspend=suspend_when_off
cpus_boosted=2
cpus_boosted_time=1000
eco_mode=all
min_online_cpus=1
gpu_governor=msm-adreno-tz
max_freq=389000000
min_freq=100000000
cap=75
target=80
simple_gpu_activate=1
simple_laziness=2
simple_ramp_threshold=5000
downdifferential=20
upthreshold=60
downthreshold=20
upthreshold_cons=50
lge_stweaks_control=1
generic_headphone_left=1
generic_headphone_right=1
incall_volume=1
lge_speaker_gain=1
lge_cam_mic_gain=3
lge_mic_gain=3
read_ahead_kb=1024
scheduler=zen
sleep_scheduler=zen
auto_oom=on
oom_config_screen_on=aggressive
oom_config_screen_off=default
dirty_background_ratio=20
dirty_ratio=25
crontab=off
cron_drop_cache=off
reset_battery=off
ad_block_update=off
cron_db_optimizing=off
cron_clear_app_cache=off
selinux_control=off
lm3630_min_backlight_reducer=off
lm3630_min_backlight_set=90
tcp_congestion_control=cubic
gpsregion=No_GPS_Zone_changes
init_d=off
logger=2
force_fast_charge=0
fast_charge_level=1600
usb_keyboard=disable
adb_selector=1
sweep2sleep=off
cortexbrain_background_process=1
cortexbrain_memory=on
cortexbrain_system=on
cortexbrain_kernel_tweaks=on
cortexbrain_io=on
cifs_module=off

thanks dori :)
[G2 Android Development] duki994:
Reboot again...

Stack error

No SIGSEGV errors. Logcat is good.

Log:

https://docs.google.com/file/d/0B3IE1a81eJwSSXpfLUE5a3lKcFU/edit?usp=docslist_api

EDIT:

Reboots happen only when CPU temps are higher than 65deg.
[G2 Android Development] xxoscarxx28:
Deleted
[G2 Android Development] dorimanx:
temp is controlled... kernel reboot, if temp is above 85c

i see in log that RAM was so low that LMK killed many apps from ram, and in some point, memory crash.

ROM bugs. reduce open apps in RAM.

the log dont point me to no where...

Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: "7çå :7

this not telling me anything... sorry.

P.S

No problems for 1 day for me... and i have 55 apps/services/rom system in RAM right now.
[G2 Android Development] duki994:
NULL pointer dereference.

https://docs.google.com/file/d/0B3IE1a81eJwSTXRBVkQ1dXFUUms/edit?usp=docslist_api

Switching to stock. Too unstable for me now.
[G2 Android Development] DerSpatz:
I can report no reboots or other problems, even though I have a lot of apps and xposed modules running...
[G2 Android Development] Pritt0:
Had reboot after call on v2.1 here logcat Dori ;)

No exposed or other things as usual for my configuration

https://mega.co.nz/#!sQZWkQYL!_6LUbhY-d-diK1qyz88zNI-R6XLdvK29RLzjFyODrdw
[G2 Android Development] Lycidias:
I'm only facing issues when i put on screen oom to agressive. Default works fine for me on 2.1 With somboons "thai rom".

Also the audio issues and stumblings (weird random noise) With ViPER4AndroidFX are now reduced to a minimum With 2.1 in comparision to 1.4 for example

Spoiler content hidden.
[G2 Android Development] lynxrz:
CPU governor sample rate

I'm using your kitkat and lollipop kernels

At kitkat setting 5000 above cpu governor sample rate phone become laggy (normally)

But at lollipop no difference

__________________________________

Kolay gelsin, kitkattan beri kernellerinizi takip ediyorum yalnız şöyle ufak bir sorum var

CPU governor sample rate'i 5000'in üzerine aldığım zaman kitkatta normal olarak takılmalar oluyordu, 5000'in altına alınca da performans kazanıyordum.

Tabi bu doğal olarak pil ömrüne yansıyordu.

Lollipop kullanırken bu değeri değiştirince bir şey farketmiyormuş gibi geldi. Bilmiyorum belki gözün algılayamayacağı bir şeydir ama 8000 yapmama rağmen hiçbir takılma donma olmadı.

Kernel olarak 2.0 kullanıyorum

Debug'ı da yüklüyorum. Belki benden kaynaklıdır bir şeyi yanlış yapmışımdır
[G2 Android Development] oTeMpLo:
Yes found out that Aggressive OOM is to aggressive in 2.1 :) setting it to default .. make 2.1 usable again.. :/
[G2 Android Development] dorimanx:
good, use stock, for day or 2... i have no problems at all... same config as you set.

i cant make your problems = my problems, this = your problem... sorry.

Unable to handle kernel NULL pointer dereference at virtual address 00000000

and where is address 00000000???? NO WHERE...(no such thing)

OK, here look:

the normal charge function looks like this when power connected.

<3>smb349_set_thermal_chg_current_set: thermal-engine set chg current to 1600

<6>smb349_set_thermal_chg_current_set: thermal-engine: FFC active! battery is below 95 percent

<6>smb349_set_thermal_chg_current_set: thermal-engine: requested_thermal mitigation 1600, new_thermal mitigation=900, battery temp=423, battery capacity=83

<6>smb349_set_thermal_chg_current_set: thermal-engine: usb_power_curr_now=500, charge current=31

<6>smb349_set_thermal_chg_current_set: thermal-engine: restarting battemp_work

<3>smb349_set_thermal_chg_current_set: thermal-engine set chg current to 1600

<6>smb349_set_thermal_chg_current_set: thermal-engine: FFC active! battery is below 95 percent

<6>smb349_set_thermal_chg_current_set: thermal-engine: requested_thermal mitigation 1600, new_thermal mitigation=900, battery temp=423, battery capacity=83

<6>smb349_set_thermal_chg_current_set: thermal-engine: usb_power_curr_now=500, charge current=31

this was OK after reboot.

Before REBOOT! there was real NULL in mitigation!

smb349_is_charger_present: DC is missing.

healthd: battery l=86 v=4080 t=36.8 h=2 st=3 c=30 chg= (THIS SHOULD NOT RUN! if not USB connected! but it's running! WHY?)

smb349_set_thermal_chg_current_set: thermal-engine set chg current to 700 << HOW it's reporting 700 when nothing connected???

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 700, new_thermal mitigation=0 <<<(WTF), battery temp=369, battery capacity=86

smb349_set_thermal_chg_current_set: thermal-engine: usb_power_curr_now=500, charge current=30 (NOW it's 500!???)

CFG80211-TRACE) __wl_cfg80211_scan : START SCAN

something REALLY bad with your hardware... see what will be with stock kernel...
[G2 Android Development] h@lek:
I had a reboot. Running 2.1 with darkness and MSM. Hope log helps.
[G2 Android Development] iAchilles:
Hi guys

Does anybody know how to reduce minimum brightness of the screen since its really bothering me through nights

I've already tried to edit the "build.prop" but there is no "ro.lcd_min_brightness" !!! ?? !?!?

Any help ????
[G2 Android Development] Lycidias:
Look in Dorimanx Stweaks app

Spoiler content hidden.
[G2 Android Development] iAchilles:
Thx man, i missed that one in tweak app :p

Still, i didn't what exactly "min backlight overide switch" do?????
[G2 Android Development] Lycanlk:
Thank you for the contribution!

Version 10.00 is flying with IceX Rom (previous version). No lags Buttery smooth. Can't complain about battery life yet at lease since my battery is more than 2 years old which is still enough to manage my daily usage.

I had a little issue after simple reboot with Dori's kernel that it gets a bootloop. It also happened to me with previous versions as well. Don't blame the kernel. I just think it has something to do with boot loader or may be the Rom is not compatible 100% with Dori's kernel. I have no idea..

Just for the reference, when I flash the stock kernel or any other, it just boot up even not cleaning the cache.

D802 here!
[G2 Android Development] saarxee:
Battery very bad on v10
[G2 Android Development] vagkoun83:
not useful post
[G2 Android Development] gamerZ1:
The phone overheats and the battery drains fast a with v10
[G2 Android Development] mrkela:
+1
[G2 Android Development] tripii:
Having same problem with Android OS. It took 60% in 2 hour while I was not using phone at all, it held CPU awake all the time. Just reporting cause I see I am not the only one.

Regards
[G2 Android Development] alirezagoli95:
Me too ?
[G2 Android Development] Claudius A.:
The device is smooth and flying.

but,

Last night before I go to sleep, I installed the v10 and left the battery on 28%, this morning I noticed that it has lost 8% just during the night (almost 9 hours)
[G2 Android Development] RegMaster:
Strange battery drain last night while phone was sleeping.... v10.0

And notice too that with v9.9 the phone was very laggy for launch apps or switching apps
[G2 Android Development] Nightshadow931:
No problems with battery at all.

You should all install BBS and take a look there at what's eating your battery.

'battery is bad' is not really useful.
[G2 Android Development] saspo59:
After night charg the fhone was hot i saw that all 4 cpu was on temp was near 70 deg.

Log says uselless
[G2 Android Development] boyheadkick:
Same here..

Get BBS, check whats going rogue in your system, and keep those wakelocks in check with Amplify...
[G2 Android Development] dxkernel:
Hi dori , thanks for your great job . I had a battery problem last night . I left 80% before sleeping and this morning i found it totally empty some 5% not installed any battery monitor app but in standard battery status Android OS kept awake all the time
[G2 Android Development] d_Schizzo:
I had that too yesterday! But i deleted .dori-folder in /data , reboot to recovery and install v10 again.

Battery is good since then and no more overheating.

Regards,

Schizzo

MOD EDIT: please dont post or quote such huge pictures...think about those using mobile to scroll and browse the xda FORUM
[G2 Android Development] merlin21:
[MENTION=5122680]laranje[/MENTION]

Do you use nova launcher? It's my favorite launcher and i noticed that only with this i have sometimes a flicker in bottom half of display when switching screen or app.
[G2 Android Development] hitardo:
v10.0 is amazing, in both performance and battery life.

v9.9 has some problems, specially in RAM management, to the point where my phone was unusable.

Right now, my LG G2 flies again :)

Thank you for your hard work.
[G2 Android Development] Rachid.Ala:
Am I the only one who don't have any battery issues with 10.0? Seriously guys, monitor your wake locks with Better battery stats so your posts can be useful

Cheers

Sent from my LG-D801
[G2 Android Development] laranje:
no no no , i use smart lock of the cloudy 3.3 only
[G2 Android Development] Nightshadow931:
So far, v10 is the best version ever for me(and I'm using this kernel since v6 I think).

RAM management is much more better than before.

Whatever you did dori, it's working great.
[G2 Android Development] n@vier:
@ All

Me too this night I had a battery drain but I'm investigating with BBS...and I'll wait before posting here because kernel needs in general 2-3 cycles of full charge... so my suggest is to wait before blaming the new version and mostly it's better to understand in steady conditions...after some days.

Anyway, to be clear specially for newer users, [MENTION=2376110]dorimanx[/MENTION] can solve problems only if we post logs and screenshots with stats useful (if we post battery's graphics how he can understand where could be the problem?)... all the rest is useless for development ?
[G2 Android Development] mmd1907:
All we are waiting for your useful post to solve battery problem.
[G2 Android Development] dorimanx:
What battery problems?

Do you know what system os is?

ROM! Or apps that use ROM services.

Kernel has nothing to do with your apps.

I had no problem with battery, and i dont have now.

Nothing in kernel changed that effect any wakelocks, or cpu idle/ deep sleep.

Find what lock your cpu online, kill it.

Be happy. I will not do it for you.
[G2 Android Development] alirezagoli95:
Hi i think problems of kernel v10 because in v9.9 no problem for buttery and so good but in end of version somebody have problem. I have 30a os and i don't have problem to v9.9 .but v10 have big problem .thank you so much for lessening to me.
[G2 Android Development] Nightshadow931:
Dear god.

Read his post again.
[G2 Android Development] kwiateusz:
Non of apps make wakelock as I can see, BBS only show that sysctl work almost 90% of time, as I search I can't kill that process. From 9.9 I haven't install any new app even I don't upgrade anything. It's weird that lot of users have that same problem. I've tried to delete /data/.dori then reflash but that isn't helped.

BBS screen: http://i.imgur.com/LIvoTXd.png
[G2 Android Development] gasReal:
hi schizzo, where do I find dori folder?

right name of folder?

I use es esplorer

by the way, google edition + dorimanx 10.0, all is ok
[G2 Android Development] d_Schizzo:
As i said in (device)/data/.dori

You need to show all folders in es explorer to see .dori

Regards,

Schizzo
[G2 Android Development] merlin21:
Android is linux based, so all folders with a leading point are hidden. In esfileexplorer you first need to allow root and then enable show hidden files/folders. All in settings.
[G2 Android Development] StructureDr:
I have also had the issues with battery life on 9.9 and 10.0 - both times had cores locked at max frequency. No indications in wake locks.

I understand the above is mostly unhelpful. The reason for posting is to mention that in 10.0 I also had some apps crashing (after clearing dalvik and cache) - specifically Aida64 and Quick boot. Switching back to 9.8 has both working again.
[G2 Android Development] Nightshadow931:
Had nothing to do with kernel, quick boot works fine here.

Not a single crash, not a single reboot, and without any wakelocks.
[G2 Android Development] dorimanx:
All that have "buttery" problems, please use stock kernel.

Should be good for all.
[G2 Android Development] gasReal:
in dorimanx app go to "reset to default" on three points up/right

prove if it works
[G2 Android Development] raptorddd:
but when am ok and i no longer need app removing gives me bootloop.. and it asks to install as ssytem apps same for WLD.. how to remove once you find out whats causing drain.?
[G2 Android Development] Nightshadow931:
How to remove BBS?

Uninstall with titanium?

Or remove manually from /system
[G2 Android Development] raptorddd:
not really. since i didnt have stock on hand i tried 9.8 and its back to normal..

to ALL that have battery drain in 1.0 flash 9.8 and it will be fixed.. post back. am doing good with 9.8.

if i have rom and no app has been downloaded .opened whats app and facebook.. and kept facebook open and posting till 81% then battery drains and gets hot.. then i deleted dori/ and sypnapse folders in twrp. then i flash 9.8 and all good.? no new apps installed? shouldnt i have same readings if i tested and open whats app and facebook and kept screen on till 81% phone did not felt hotter and battery lasted more..??

make sure you go to

recovery twrp. advance/ file manager/data/ select dori folder and sypnase.. then flash 9.8.. post back in Q&A thread.. results.
[G2 Android Development] StructureDr:
Cheers - did as suggested and so far all good
[G2 Android Development] olgos762:
no problem with version 10 for me also in terms of battery.
[G2 Android Development] mrkela:
I had that too yesterday! But i deleted .dori-folder in /data , reboot to recovery and install v10 again.

Battery is good since then and no more overheating.

tnx that worked for me
[G2 Android Development] n@vier:
Question: It's related to the kernel?

Answer: No

Tip: go here --> http://xdaforums.com/showthread.php?t=1179809