yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] :
Here's another if you need it. Reboot while scrolling. Alucard gov and hotplug. Aggressive oom, max temps lowered slightly, Kernel 1.8.

https://www.dropbox.com/s/dlm1kcdj3dqvpkq/last_kmsg-2015-05-17.18.17.35.txt?dl=0

Edit: I just had a look a Stweaks and I actually altered more than I remembered. Here is the profile I was using. (Just easier than writing it all out.)

https://www.dropbox.com/s/3fmuhj28yreulpc/default.profile_backup?dl=0
[G2 Android Development] Nussi29:
SOD in while scrolling in stweaks

Alu gov/hp

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

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Samstag494:
When I Flash the Kernel trough the app, in twrp, before the Phone reboots it shows "failed" in Red at the top for lass than one second and reboots afterwards. The Kernel is flashed correctly I think. If I boot to recovery and flash manually no Red failed is shown.
[G2 Android Development] poty87:
random reboot (freeze and reboot) 1.8....
[G2 Android Development] Pritt0:
Sod while surfing with chrome than reboot. After 1 min reboot again. V1.8

https://mega.co.nz/#!9Ax1TYDB!B25sfWXIpT6RI8CjOb-YbBP0JoqKxaKE8XxKW8qAYvA
[G2 Android Development] Januh:
Nice going iam using this Kernel on Oficial Rom D802 and it is really nice :D keep the hard work ;)
[G2 Android Development] Diechel:
You have no problems if you don't post a log. Is said 1000 times.

You will be ignored.

Take a log with DorimanX app in the tab kernel stuff with button kernel bug.

Good luck
[G2 Android Development] dorimanx:
i am still working on fixing... 4 hours now...

wait for next release...
[G2 Android Development] Diechel:
Waiting, good luck.
[G2 Android Development] oneway8000:
Waiting.. Thx
[G2 Android Development] dorimanx:
is it possible that reboot was when power was connected??? USB or charger?
[G2 Android Development] Diechel:
No

Not connected
[G2 Android Development] Ganjax:
There is any solution with this kernel maybe to change headphone type to line out? In my car aux is line in, and music from phone have no full quality and less volume :/

PS. 8.4 rock stable and fast with ROM Google Edition!

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] dorimanx:
Nope. But you can rise gain in control app, or use viper4android and boost gain there. Not best solution but its all i can offer.
[G2 Android Development] Ganjax:
In using V4A but it dont change quality so much, okay thanks Bro for reply.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] xGiox:
I did use report from your app,did you see last attachment i made,i think one is kernel and other app bug,but both from your app,i never took them before with any app anyway.But ok nice to hear that,just strange that i am using 8.1 whole day and i used it before and never got a crash,and now with 8.3 and 8.4 it keeps freezing,i am on 8.1 atm,and its stable for 9 hours,i will use it till next release,i didn't post log to cry,just to help you if there is any bug,and you help me to fix it,ty for your time :=)
[G2 Android Development] dorimanx:
Log is ok, just logcat is not needed.

You wasted your time... all i needed is the zip that app create.

And sadly there was nothing to debug in log, i dont have even tiny idea why for me all great and i guess for many many others, and for your device its such a problem.

Maybe you should not use extreme performance... this profile is pushing device to crazy limits, and not really stable...

I never use it by the way...
[G2 Android Development] the baptizer:
freeze and had to manually reboot with 8.4 (also on previous versions but it was time for me now to report)

i only get this freeze when a music track comes to an end when i have automatic replay enabled ( 1 track whole time replayed) It happens on all music players... not only stock LG

so to avoid this bug/freeze i have to manually rewind the track to its beginning before it ends
[G2 Android Development] dxkernel:
I had this with previous version , exactly when track repeat enabled , i tried to get kernel log several times but always Useless .

With 8.4 i think its gone.
[G2 Android Development] the baptizer:
its super annoying bug

stock cloudy and iceX rom doesn't has this bug
[G2 Android Development] errikosd:
v8.4 works amazingly. I use it with Stock LG OOM and it's super fast and fluid.

Once more, thanks a lot Dorimanx and I wish you and everyone here a happy new year.
[G2 Android Development] Lycanlk:
For me 8.3 is more fluid and better battery life than 8.4. I'm on ICX Rom. G2 is still worthy with this kernel. Thanks for the support
[G2 Android Development] masteril:
8.4 lags on screen wake like mad unusable
[G2 Android Development] dorimanx:
Rom dsp driver stuck and crash kernel as its not respond and kernel waiting.

I will test this bug, if i cant reproduce, then its not kernel bug.

Edit tested with stock and all other players i have, song start, reach the end, and repeat without any problem 5 times... i rewind to close to end...

Not kernel bug. Use stock rom.

All the rest not supported.
[G2 Android Development] KpKi:
on latest 8.4 all good with the past 24h also it seems because of the enhanced cpu freq scaling the sound buz error is gone without putting 2 cores to be always online .

and a side note :why Ondemand is always recommended to use while other governor like "Interactive/intelliactive" is known to be more advanced and responsive . I see Dev is always recomedning to stay on Ondemand to avoid bugs/compatibility issues ?
[G2 Android Development] Nightshadow931:
Here's my first reboot after long time using this kernel. Screen froze while unlocking, and phone rebooted few seconds after.

It happened this morning, and I took a log now. Hope there:s something useful inside.
[G2 Android Development] hitardo:
I notice something that I wanted to give feedback.

These last versions are very stable to me, since I stop changing I/O scheduler to CFQ and leave it at its default state of ZEN.

So, I am having zero reboots or freezes.

The phone just flies through everything.

Thank you [MENTION=2376110]dorimanx[/MENTION] for your work and for sharing it with us!

At the DorimanX OTA app I have the two options selected: erasing ".dori" folder and resetting every change on DorimanX's app.

I do this to avoid past versions junk or possible future problems.

After I flash the kernel, I just start using the device and never reboot it.

I go with 10 days of running time until a new version comes out.

So - as I said before and other member confirmed it - 8.3 seemed to have slower performance than versions 8.2 and 8.1. And with version 8.4 I felt the same.

But, just rebooting the device - right after the first boot after flashing or after a day or two - makes a huge difference.

I do not know what it is, but it made a difference: after the reboot the phone is very fast again.

So, what I will do from now on is:

- Flash the kernel, through DorimanX OTA app;

- Change the settings I want to change on DorimanX's app (like lower temperatures to thermal-throttling, NTP to Europe, charge to 1200mA maximum, etc...);

- Reboot the device one more time; and

- Enjoying the speed and stability of my G2.

Has anyone felt this?
[G2 Android Development] 60nine:
i've noticed something like this but i thought it was a placebo...

i guess the rom just cleared all the junk apps from cache/ram with the reboot and the device went smoother than before...
[G2 Android Development] dorimanx:
LP rom drain ram for crap things as recent nice animation.

Then kernel always have to fight to gain some ram for app you want to run, but kernel not allowed to kill systemui, so its start from small apps with low oom protect score, and its infinite loop, as apps start again all the time. As user not care to cut there permission to start again.

So you get more and more lag every day.

Its not kernel problem. Its yours and your rom.

Simple solution, reboot.

Harder solution, open recent and push clear all.

Then open dori app, go to memory and push clear cache ram.

And behold, all fast again, wow. Kernel is great again...
[G2 Android Development] 60nine:
on that note:

- anyone tried Recently by Chainfire? (i use it to remove unnecessary apps from lollipop's recents panel that are actually not active, but it can be set to periodically remove apps from memory when they're not used)

it would be great if we could somehow have a widget or button that would do those things when clicked (clearing cache/ram or whatever needed) - without entering the dorimanx app to do it > just a suggestion, not a request...
[G2 Android Development] dorimanx:
Process AsyncTask

Crashed zram, and other memory process functions.

No idea what is it, but its bugged app or its service.
[G2 Android Development] dorimanx:
Its what i use, and my ondemand is not stock. Others can be used too.

But i dont test them, so i cant say that all will be great, test and report.

or leave what i set.
[G2 Android Development] duki994:
It may run as service. That's core Java class of Android. Almost every app uses async task. If they were all sync, then phones would lag horribly.

App did not crash kernel. Nor did ROM services. Bad memory management or incompatibility with timers did.

And it heavily depends on memory functions.

Plus KSM/UKSM and zram can be in race conditions. I read somewhere on LKML mailing lists.
[G2 Android Development] hitardo:
I agree, LP is worse than KitKat in many ways, for example slower.

Google flagged KitKat as a version to regain the down-tear market and make Android run in slower / cheaper devices (to compete with Firefox OS) and allow OEMs to gain money on developing countries.

And then ruined it all with Lollipop.

Now that Firefox OS is out of the way, I assume it will get even worse.

I clear recent apps all the time.

I think I do this too often, as sometimes it is unconscious.

But I confess I do not do the clear cache ram on DorimanX app.

I will start doing it whenever I notice the phone is slower and I need right away.

But rebooting is somewhat simpler, as I can do other things while the phone reboots and gets everything into place.
[G2 Android Development] EnterpriseDeveloper:
Reboot 8.4
[G2 Android Development] dorimanx:
for "EnterpriseDeveloper" you can at least write what was wrong.

in your LOG i see charger logo debug log, it's useless.

(i have already correct debug script to tell user that log is useless if there is chargerlogo inside)

if you call your self EnterpriseDeveloper you should be one.
[G2 Android Development] AlexOB1:
Hi Dori, a crash while using ip cam viewer, same app that exposed a kernel bug a few versions ago. I hope the log helps, as ever I'm still adoring my G2 with your kernel!
[G2 Android Development] dorimanx:
Log do not show any bug trace, but its clearly currupted memory on that run when last log recorded.

Sadly no idea what was wrong.
[G2 Android Development] vhuiya:
F320s lollipop comfortable
[G2 Android Development] djtiesto22:
Freeze all default settings, using AllCast app to connect to TV.

LOG: https://www.dropbox.com/s/mi7wzppglm9eyw6/dorimanx_debug-V8.4.zip?dl=0
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

V8.4 + cloudyg2 3.3 settings without lags for me:

-Default profile without OC!

-Touch boost 1.7ghz

-Gov sample rate 15000

-4 cores touchboost

-2 cores min online

-4 step simple_laziness

And also good battery with 30h of battery 5h SOT medium usage and everything on (wi-fi 4g etc night and day).

Thanks Master for all ;)
[G2 Android Development] KpKi:
5 hour ost !!! Never reached 4 .. LoL and with default profile ... Is there a way to check if my battery life is degraded ? I think it may be the cause
[G2 Android Development] n@vier:
[MENTION=5608334]KpKi[/MENTION]

SOT depends from many things (usage, backlight, rom, services, apps on ram etc.) so it could change a lot between different configurations...
[G2 Android Development] dorimanx:
Ram crashed, zram hit bug.

I see that you have serious problem with app and supersu,

com.teslacoilsw.launcher" --ei "su_fromuid" "10182" --ei "su_access" "2" --ei "su_touid" "0" --es "su_cmd" "INTERACTIVE" --ei "su_code" "373377" --ei "su_uid_mismatch" "0" -n "eu.chainfire.supersu/.NativeAccessReceiver" 17633 root 0:00 {main} app_process /system/bin com.android.commands.am.Am broadcast --user 0 -a eu.chainfire.supersu.NativeAccess --es su_appname com.teslacoilsw.launcher --ei su_fromuid 10182 --ei su_access 2 --ei su_touid 0 --es su_cmd INTERACTIVE --ei su_code 373377 --ei su_uid_mismatch 0 -n eu.chainfire.supersu/.NativeAccessReceiver 17634 10037 0:00 {android.youtube} com.google.android.youtube 17686 root 0:00 sh -c /system/bin/am broadcast --user 0 -a "eu.chainfire.supersu.NativeAccess" --es "su_appname" "com.teslacoilsw.launcher" --ei "su_fromuid" "10182" --ei "su_access" "2" --ei "su_touid" "0" --es "su_cmd" "INTERACTIVE" --ei "su_code" "922505" --ei "su_uid_mismatch" "0" -n "eu.chainfire.supersu/.NativeAccessReceiver" 17687 root 0:00 {app_process32_x} app_process /system/bin com.android.commands.am.Am broadcast --user 0 -a eu.chainfire.supersu.NativeAccess --es su_appname com.teslacoilsw.launcher --ei su_fromuid 10182 --ei su_access 2 --ei su_touid 0 --es su_cmd INTERACTIVE --ei su_code 922505 --ei su_uid_mismatch 0 -n eu.chainfire.supersu/.NativeAccessReceiver 17704 root 0:00 ps

This has many threads running, each taking ram and not allowed to be killed as its run by supersu, in the end kernel just crash, its has no ram to work with.

Deal with this app, uninstall it.

And reinstall, check log, and see you you find more of that in ps section.

Check that supersu dont have block on this launcher, and delete any history in supersu for this app.
[G2 Android Development] djtiesto22:
Hmm when I updated nova launcher supersu delayed to ask for root acess, later when freeze happaned ask me at system startup, maybe that delay is problem using v2.46 supersu version..Which supersu version you recommend dori? And this is first reboot after day of release v8.4 so no need for panic ?
[G2 Android Development] dorimanx:
I use 2.46 for months, and no problem.

Seems like its was bug supersu vs launcher.

But its drained all ram and kernel crashed.

Not every problem is kernel bug :)
[G2 Android Development] dorimanx:
News Update!

Kernel 8.5

11/01/16

*Merged many updates to workqueue code.

*Merged updates to USB and MTP code.

*Merged Memory, SLUB, PAGE ALLOC and UKSM critical updates.

*Merged ARM IRQ updates, many bugs fixed, and new optimizations added.

*Merged update to Alucard CPU gov.

*Merged updates to KGSL GPU driver.

*Merged updates to DMA and IOPOOL.

*Merged updates and optimizations to DEVRES, CMA and SLIM.

*Corrected debug log script to detect chargerlogo log, and tell user that it's useless for dev.

Many things improved, include ram bugs fixes and workqueue code optimizations.

all good here.

enjoy.
[G2 Android Development] lollipo:
https://drive.google.com/file/d/0B-uFKRww3qhWRlFrRWRsbzJvaW8/view

(My problem)

Hello, your kernel works great as always but I ve one problem since I use dorimanx kernel. On every rom I tried, my quick Settings sometimes disappear (after boot). I never had this with stock kernel and normally I could get them back by rebooting but now since I updated to 8.5 this doesnt work anymore. Any clue?

Thank you very much
[G2 Android Development] 60nine:
never had such a problem... and i doubt it's kernel related in any way...
[G2 Android Development] lollipo:
Indeed it's a bit weird. But I solved the problem by wiping the cache. Let's see how long it works ;)
[G2 Android Development] Djsam92:
Do you have disabled the lock screen ? If yes then enable it, lock and unlock the phone and the quicksettings will come back..i don't think it's kernel related, btw many other people (include me on latest 30d eur) have this problem with lock screen disabled.
[G2 Android Development] lollipo:
Wow thank you for the tip. Yes I had disabled it. Problem solved.
[G2 Android Development] sturek:
I noticed that the previous version 8.3 and 8.4 on default settings showed in Geekbench 3 results: 946 (single) and 2967-3000 (multi).

At 8.5 is 940 (single) and only 2452 (multi).

Is that how it should be?
[G2 Android Development] 60nine:
noone cares about benchmarks...
[G2 Android Development] smartpr1v4t3:
OMG, thank you for this information.

Will try now version 8.4 vs Stock kernel, when 8.4 is also slower then stock kernel i will uninstall Dori kernel because it has to be really bad.

I never had the idea the kernel is so bad, because i never had a problem and the phone runs battery friendly and smooth,

but when geekbench 3 tells me that it must be true.

*sarcarsm off

Thanks Dori for your work.

8.5 runs fine for me in the last hours.

Hopefully you will never loose 6 points again in geekbench :p
[G2 Android Development] Djsam92:
Benchmarks are useless , btw this is the result on 8.5, default profile, seems pretty good to me
[G2 Android Development] sturek:
Sorry, Sorry, Sorry!

I flashed again kernel and made wipes and everything works perfect! Even in benchmarks :)
[G2 Android Development] 60nine:
once you forget about the benchmarks and start caring about real life performance - your world will be a better place, trust me ;) :)
[G2 Android Development] f4n471c:
I was stuck on 6.4 for a long time because all the newer versions did not get the same performance as 6.4.

But 8.4 now really is perfect. I would say it is even faster that 6.4. Really awesome work!!
[G2 Android Development] renzo090513:
Keep calm and use benchmarks !

Jaja. 8.5 is great. Thanks.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Peppe91:
Forced Reboot while scrolling Instagram. First reboot since several releases.. 8.5 it's great under any conditions.
[G2 Android Development] iall5tar:
8.5 is freaking snappy!!! How awesome work! [MENTION=2376110]dorimanx[/MENTION] you are the man!!!

Cheers!!

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] AlexVipXDA:
Can someone try Slim port for connect device to TV? Becouse for me not work.

[MENTION=2376110]dorimanx[/MENTION] you can try? For you work? Thans

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] masteril:
WoW dori 8.4 was unusable for me but 8.5 is another beast and you did it again thanks for your great work! Now i will report stability in a couple of days
[G2 Android Development] Nussi29:
SOD after going in drawer.

https://www.dropbox.com/s/b3gf9p208ddofzh/dorimanx_debug-V8.5.zip?dl=0

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] dorimanx:
nothing wrong in the log.

kernel recorded your power press till reboot. kernel was online all the time.

ROM/APP bug.
[G2 Android Development] dorimanx:
I am testing massive changes to kernel base code and usb updates.

And few other fixes for core functions.

So far all good, i will release next build this weekend...

No rush, as 8.5 is good as is. And stable.
[G2 Android Development] tonhao12:
Sorry to bring back this subject again, but do I still need to reflash modem(d805) after install your kernel ? It might be just wrong impression but i've noticed some signal drop after flash your kernel, it happens kind rarely but it does.
[G2 Android Development] Ganjax:
Some intention.. Do Dori kernel flash modem? Nope! So next time open zip, Look for modem.img, and all questions will be answered. If kernel doesn't Flash modem, so modem partition is untouched, problem is not from kernel side.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] dorimanx:
As stated above, kernel do not touch modem img.

You need to update your modem to lg d805 LP based. Once!

If you get disconnects, report to LG.

I cant fix that.
[G2 Android Development] tonhao12:
Just wanted to confirm, didn't know how to check myself, and I asked just because I saw that old post where you mentioned the modem for my device model.

Thanks for the clarifications.
[G2 Android Development] luq529:
Instant reboot when scrolling through facebook app.

I was charging phone with my computer.

Hope there is something :D
[G2 Android Development] KpKi:
Pop question: is the device DAC sampling sound at it's max rate or it's sound type dependent? If so does enabling max rate on a non lossless sound improve quality?

Is there an app to monitor my sampling rate ?
[G2 Android Development] Computoncio:
Search for Modem D805 by [MENTION=1670821]cybernetus[/MENTION]

I'm using it and works fine, with no issues.

Phone: LG G2 D805

Kernel: Dorimanx kernel v8.5 LP D802

1st ROM : SRK-D80230h_20160107_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] Alex93917:
Just perfect with LP Stock ! No more memory leak ! Your stable kernel very helped me ! Thank you Dorimanx ??
[G2 Android Development] duki994:
I will suppose that you use Viper4Android.

Stock AOSP/CM Android is setting sample rate to 48khz always.

LG heavily modified Android's built-in framework audio.

For MP3,WMA and all other lossy AND lossless formats with 16bit and up to 48khz, DAC samples at 48khz constantly.

Example: for files that have sampling rates of 22khz, 32khz... all <48khz DAC will constantly sample at 48khz.

If you don't use V4A, then DAC's minimum sample rate that ROM can set is 44.1khz.

If you play 96khz 24bit or 192khz 24bit, DAC will sample at 96khz or 192khz :)

Our DAC can't do oversampling (that's way too much power hungry, plus hardware for good oversampling is very big and couldn't fit in phone). So setting sample rate higher than audio file's sampling rate won't produce better sound. It'll just drain more battery for nothing.

Also, [MENTION=2376110]dorimanx[/MENTION] also added switch for UHQA (Ultra High Quality Audio) mode. When sampling rate is <= 44.1khz UHQA is off. If higher UHQA is on. Automatically managed by kernel.

UHQA won't change quality of lower sampling rate audio. UHQA sets DAC's op-amps to class AB mode (more power hungry) and sets listening clock source oscillators to higher frequency.

It's good for 96khz and 192khz music.

I don't know if there's app to monitor sampling rate. But you can see it in info about track in stock music player (or any music player).

Hope I helped :)
[G2 Android Development] KpKi:
[MENTION=3441913]duki994[/MENTION] wow dat answer ....thanks appreciated :)
[G2 Android Development] 139277:
This is from last version 8.4 but hopefully it can help.

Device would not wake up, hard reset. Thank you for keeping our phones alive!
[G2 Android Development] Rachid.Ala:
Sometimes wifi goes off by its own, am I the only one?

Next time I'll try to catch a log

Sent from my LG-D801
[G2 Android Development] KpKi:
Lollipop rom thing ... It's in MM too.

Google's "Energy saving"
[G2 Android Development] OT-Xtreme:
its not in lollipop, its in marshmallow and only in deep sleep scree off
[G2 Android Development] KpKi:
When I used CM 12.1 it was there !!! ..I even used "keep WiFi awake " app to keep wifi on while sleeping and to get notifications... But again that's CM ...it's just a speculation nothing more ....cheers
[G2 Android Development] Rachid.Ala:
I know that when screen is off wi-fi goes off too

I'm not talking about that

In last version sometimes wi-fi goes off when screen is still on

I was wondering if I've done something wrong because it never happened on previous versions

I'll try to investigate and eventually catch a log and post it here

Sent from my LG-D801
[G2 Android Development] dorimanx:
Nothing changed for wifi, so its rom or app that turn wifi off.

Maybe bad signal... or maybe you drop your device and something lose with connectors... just a thought.
[G2 Android Development] lordc:
For bug reports, should we use the bug section on this thread or just post here?

Enviado desde mi LG-D802 mediante Tapatalk