yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] quicksilvree:
Freeze

I love this Kernel .... Just got a phone freeze though D800 while in gmail
[G2 Android Development] jeebspawnshop:
Last Kernel dmesg Info before BUG/Opps/Panic triggered:

there was no /proc/last_kmsg to read from

EDIT: BAM! Just saved Dori 20 seconds of precious time! Go talk with your woman and grab a beer, cuz I just donated you TIME, bro! The most valuable thing of all!

Geez I'm an idiot LoL!
[G2 Android Development] dorimanx:
I have already made that check in my mind waking up today before reading xda.

But thanks for thinking with me :)

I will auto call log dorimanx_useless_log.zip if its useless :)

Edit!

made the changes.

https://github.com/dorimanx/lp_ramdisk_dorimanx/commit/b5a72d0a2c547f8d6a63dbf069ca715e1e77ab79
[G2 Android Development] EnterpriseDeveloper:
I had something in 7.6 if you are interested:

Freeze in LG UI

D800 cloudy 3.3
[G2 Android Development] DennisvandePut:
Re: [LP 5.0.2 Kernel 3.4.110][08 Dec] Dorimanx 7.7 LG G2 D800/1/2/5 LS/VS980

And a phone freeze for me too. Sending email with aquamail. Log attachted.

G2 d802 32 mb cloudy g2 3.3
[G2 Android Development] dorimanx:
well. modem crashed. and that = game over. LG modem cant be restarted.

SMSM: Modem SMSM state changed to SMSM_RESET.

Fatal error on the modem.

modem subsystem failure reason: :Excep :0:Exception detected.

subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = RELATED.

subsys-restart: subsystem_shutdown(): [d3d90000]: Shutting down modem

kernel tried but failed waiting for modem to restart. as it's will never do.

blame LG. :)
[G2 Android Development] oscar mok:
Hi dori,

My phone just encountered a reboot during screen off.

I found the log had something to read for.

Here is the screenshot and the log.

https://www.dropbox.com/s/35khquyh66kmrak/dorimanx_debug.zip?dl=0
[G2 Android Development] dorimanx:
nothing wrong with kernel.

there was no errors recorded in last kernel log.
[G2 Android Development] android extreme:
Hi dorimanx i installed the latest version of your kernel(v7.7) on srk 3.0 rom. I've a couple of reboot and screen of death so i sent to you the link of the log and 2 screenshot of an error that was often repeated

https://drive.google.com/file/d/0B6T3A_XDN9sUSGJ5aHJIOUpPRTA/view?usp=sharing
[G2 Android Development] EnterpriseDeveloper:
Freeze in v 7.7

Freeze v7.7
[G2 Android Development] nexus_vl:
Report after 7.7 launch.

Unbelievable stable!

Can't get it to crash, even with all the playing and testing I did!

However, it seems to be only stable when using interactive on all cores.

No matter what other settings I use, always same result.

I tried to recreate a frees, cause that's what happens if I use other govs, set ondemand on all govs, played around for about 20 min, and there it was.

Log atached.

Back to interactive and problem is gone.

I do uv -50v but I tried the same without uv and it didn't help.

Using stock 30f Rom, clean install, only used your kernel (last 4 versions)

Everything works how it should be, fast, smooth and battery friendly!

First ever fully stable sins I switched to lollipop.

Hopefully the log helps, I am however satisfied with interactive.

Thanks for the marvelous work! :good:
[G2 Android Development] dorimanx:
kernel dev dont care about ROM logcat.

i need log from my app. kernel debug log. in ZIP format as it's auto created. in sdcard.

nothing else.
[G2 Android Development] Eminemiero:
Dori, im on stock 30f debloated version with 7.7.

Im using spotify and i started hearing those *bzzz* sounds that had appeared before. Can anyone el se confirm this?

Edit: found a guy un page 618 with this issue
[G2 Android Development] errikosd:
I hope you find this useful.

I was listening to music (stock LG app) and BAM reboot when I turned Data on (was in metro without signal previously).

https://drive.google.com/file/d/0B6187At2dZ9jOVJrclQySTBVZVk/view?usp=docslist_api
[G2 Android Development] oscar mok:
Hi dori

Once again my phone gets sod, I force reboot it and capture the log.

Although Last Kernel dmesg Info before BUG/Opps/Panic triggered there was no /proc/last_kmsg to read from, however, I see some errors states in the log. May you help me to look what that means for?

Here's the screenshot:

Log:https://www.dropbox.com/s/35khquyh66kmrak/dorimanx_debug.zip?dl=0
[G2 Android Development] dorimanx:
Boot warnings as with stock. Nothing for me.
[G2 Android Development] dorimanx:
No kernel panics or bug log.

Only stock player tweaking sound.
[G2 Android Development] dorimanx:
Did you also found that its with spotify and not other apps?

So what is the conclusion?

I cant fix driver for bad written app.

That do some buffer overflow and driver correct with bzz as driver dsp react and reset.

Something like that, its just a thought.

Tell that to app dev.
[G2 Android Development] Eminemiero:
With headphones i only use spotify, i dont plug in the headphones for other apps(without headphones there is no bzzz)

I will test it more with other apps and try my best to come to a helpful conclusion.
[G2 Android Development] falconhawk81:
7.7: Almost 3 days of use and any incident.
[G2 Android Development] lynxrz:
Also hear on youtube a tiny bzz sound and tested 7.7 for one day long. I don't know it is kernel or app so flashed 7.6 and tested these two app no bzz sound

It can be app error or kernel still I don't know, I'm not tested these two apps on stock with same situations(same apps same settings etc)

but there is no bzz sound on 7.6 for 2 days long on my device, that is all I know

- The guy from page 618 ;)
[G2 Android Development] dorimanx:
New sound driver updates are coming, test again then.
[G2 Android Development] n@vier:
[MENTION=5487085]Eminemiero[/MENTION] [MENTION=5169048]lynxrz[/MENTION]

In dorimanx app you can set:

-performance profile

-in tab cpu hotplug 2 core min online

This reduces all "bzz" in many cases ;)
[G2 Android Development] Trixanity:
There have been so many audio problems with this device since day one and with every new major update from LG it has gotten worse. Don't know whether it's poor software or poor hardware that needs good software to make up for it.

All I know is that Dorimanx has done an amazing job cleaning up that mess and providing clean high quality audio. This device is unusable with headphones if I'm not on the Dorimanx kernel. It will hiss, buzz and pop all over the place on pure stock roms.

I might get the occasional "bzzz" distortion, particularly if the app isn't using high enough frequency but I'm still in awe by what has been achieved here despite that awful audio implementation by LG.

And the fact that it's possible to continue to improve it over two years later. That's just fantastic.
[G2 Android Development] HzMeister:
not nearly as smooth as stock ls980.
[G2 Android Development] merlin21:
[MENTION=4690651]stan54[/MENTION]

Please wait for answers in QA Thread for this kernel. This one is only for dev messages that helps to find errors. Your statement has no message. If an app turns off with phone it's a crappy app that don't take the rights it needs.

My phone can flashlight without screen on - its faster then stock with performance profile and like you mentioned even the battery is better.

LS980 uses different hardware than eg D802. That could be the cause why this kernel isn't the right for you - dorimanx uses no 980, but many people that know the awesome work of him begged for a version that he self can't test because no hardware.

And that's the point this thread kicks in - if you have a error than report with description and log here. But if you have the feeling this isn't the one for your phone, try another. Peace
[G2 Android Development] raptorddd:
and what does lg say about this bzzz sound.? have anyone addressed this to lg. maybe its LP issue give us MM.;)
[G2 Android Development] Trixanity:
There's perhaps a 1% chance that LG will upgrade the phone to MM, but don't get your hopes up :)

LG have tried and failed to fix the audio - on multiple occasions I believe.

The "bzz" is most likely frequency related and/or app priority. Everything else such as hissing and distortion is audio driver.

If the bzz bothers you I think you should try increase minimum frequency and increase minimum number of active cores. Your battery life will suffer but the phone won't have to recover from insufficient resources.

The operating system can't ramp up the frequencies very quickly. That's why, for example, Intel put the control for that back onto the cpu on their latest products. A hardware implementation like that can increase speed in a few milliseconds whereas a software implementation in the OS can take up to 100 milliseconds.

So Dorimanx probably can't make the requests to the cpu to ramp up quickly enough to recover from a too low frequency, so the bzz sound will occur when the frequency drops too low. I'm certain if the kernel didn't tell the cpu to start working faster the bzz will occur for longer and more often. Keep in mind that a single core can only do one thing at a time but it looks like real time to us because it switches between tasks so fast. So in theory if all cores where kept online, 4 tasks could be executed at one time but the phone still runs like a 100 processes and often it's only using 1 or 2 cores to save power.

Now, I'm no engineer nor computer scientist, so there may be errors in my knowledge and in my assumptions but I do believe most of my reasoning is sound :P *crosses fingers*

I'm not sure if it's possible but if any fix is possible for just the bzz then I figure it would be like making an exception for the audio process and when the process is active, the frequencies should ignore Dorimanx app settings and increase minimum frequency and perhaps set minimum cores to two. This also means the exception is inactive when the audio process isn't active. Of course your battery life will still suffer but not as much.

I don't know if this is even possible and if it is, if it's feasible to do it. I mean Dorimanx has other things in his life than developing this kernel and even when he's working on the kernel, there are other things that have higher priority. I mean even if this so called fix (if it even works) was possible and feasible, the user could do it on their own with the more permanent settings available to them.

So in conclusion, try to fix it yourself if it bothers you - just know that it's a trade off.
[G2 Android Development] iall5tar:
Hiho guys!

Today I got 2 freezes

One surfing in Firefox and two with Hangouts,

Here is the log [MENTION=2376110]dorimanx[/MENTION] hope it helps.

https://www.dropbox.com/s/839ullkoln2vjvn/dorimanx_debug.zip?dl=0

Cheers!

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] jeebspawnshop:
chargerlogo: __reboot LINUX_REBOOT_CMD_RESTART2

mdss_fb_release_all: try to close unopened fb 2! from chargerlogo

mdss_fb_release_all: try to close unopened fb 1! from chargerlogo

mdss_fb_release_all: try to close unopened fb 0! from chargerlogo

uei_irrc_shutdown

Restarting system with command 'charge_reset'.

Going down for restart now

So... chargerlogo causing issues again?
[G2 Android Development] dorimanx:
I have good news to report.

Today i have finally connected my device to my LG 50" new TV.

And there was no need of any kernel changes.

Its was not working not matter what i tried.

But i found a way to sync them.

First you need to connect your device with tv by wifi direct link. So tv will add your device to trusted, and your device do the same for tv. They will ask to add or deny!

Then go to miracast and connect to tv, and boom, screen online :)

This seems to be some check that must be done.

Wifi direct in in advanced wifi property.

wifi must be enabled in device and tv.

Not have to be connected to same net.

They link with new net to miracast.

Proof :)

Sent from my LG-D802
[G2 Android Development] Peppe91:
Forced reboot after 70+hours of lag free without an issue!!!

the best kernel version in my opinion since far.
[G2 Android Development] dorimanx:
Kernel was online when you forced reboot. Even recorded you pressing the pwr. No errors found.
[G2 Android Development] Peppe91:
Uhm interesting, the phone was completely freeze.. Couldn't do anything and waited like 30 seconds before reboot.

I still wanted to share the log if ever there were to be something useful ..

Btw really thanks for your time to look every log! I would claim you the xda saint!

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] iall5tar:
Another freeze using Hangouts on calling...

Maybe Hangouts is like Chrome... Full bugs app?

Here is the log.

https://www.dropbox.com/s/rnlutst90p9bwu2/dorimanx_debug.txt?dl=0

Cheers!

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] dorimanx:
News Update!

Kernel 7.8 MEGA BUILD!

13/12/15

*Merged updates for ipc router.

*Merged updates for diag driver.

*Merged many updates for proc base driver and it's friends. massive update!

*Merged update for memory oom driver as made for marshmallow kernel.

*Merged many NET updates from 3.10.y

*Merged fixes for memory leaks in ARM code.

*Merged Many updates to Sound and USB drivers.

*Compiled kernel with more stable build flags to support ROM code.

*Converted all kernel drivers to use optimized helper function.

*Merged updates to keys driver that had memory leak!

*Merged updates and fixes to kernel modem driver.

*Merged new code for SDIV/UDIV emulation for ARMv7 processors will be needed one day.

*Merged updates and fixes for MMC driver!

*Merged updates for Kernel: timer,sched core,cpusets(massive update), and many many!updates

to kernel core drivers, All came from 3.10.y marshmallow kernel!

*Updated debug script to create zip with USELESS name if there is nothing for me

to find inside. to save YOUR time. and mine. :)

So they dont give us marshmallow, then i will go and take it my self! :)

This kernel is very close to marshmallow 3.10.y and it's works great for me.

Need to test for some time, by many people.

Report any problems with LOG if it's not named USELESS :)

This is MEGA BETA. with so many bugs fixed that i lost count. change log is just tip of the liberty statue :laugh:

Personal feeling about this build = SMOOTH! i love how animation is working under load.

Things just OPEN! and switching from app to app. CPU is idling so low. 3% on 300mhz with spikes to max to take some air

As expected! ram is released and filled very fast.

I hope i will read same feeling from others.

But i will also be ready to receive bug reports. it's new edge of kernel. all can happen.

Enjoy.
[G2 Android Development] g.paganini:
Before I flash 7.8, just to report on 7.7. I use it since release day, and took a chance with clean install of cloudy ROM. I had no single issue. My phone loves cloudy over stock. No freeze no reboot, no hissing no nothing and over 6hrs battery life. Since I was one of those who had weird issues from time to time. Bravo Maestro Dorimanx!
[G2 Android Development] Saud king:
Hi [MENTION=2376110]dorimanx[/MENTION] I am new here so help me little.Can I install somboons Stock v30f LP with your kernel 7.8 without installing kk bootloader?
[G2 Android Development] raptorddd:
you need to post more info. whats your current rom? are you in KK or LP

and this section if for bug reports or ideas. for this you either post in the q&a or in the dorimanx LP kernel q&A section.
[G2 Android Development] Saud king:
Bro I am on the Stock KK with root only.Just want to update to LP and find the somboons Stock LP flashablezip.
[G2 Android Development] dorimanx:
You can use it. Then return to recovery, install 20h bootloader only from my mirrors. Then install kernel.

Install latest recovery by blastogathor. (Rom install old recovery)

Boot.
[G2 Android Development] Saud king:
Bro are you talking about this bootloader KK-20H-D802-BOOT-LOADER_ONLY.zip.
[G2 Android Development] keaheng:
Lg must hate you so much haha.. Again thank you dori..
[G2 Android Development] dorimanx:
Its will be better if they use my work.

And improve it :)

But they stuck with 3.4.0 for us.
[G2 Android Development] dorimanx:
In short yes. Please use qa for questions. I am there too.
[G2 Android Development] n@vier:
LG should learn much from You ;)

Thanks Master for your awesome work!

PS: I'll report, as always, after some days of extensive test (v.7.7 was perfect 5 days without problems) :thumbup:
[G2 Android Development] raptorddd:
sorry i have no idea mine had LP check this thread.

http://xdaforums.com/lg-g2/general/05-10-index-guides-fixes-roots-t3218178
[G2 Android Development] berezker:
So I just installed 7.8 and Holy Sh** the battery is a 100 times better

I can easily get 10 mins SoT of mixed use and only consume about 1%
[G2 Android Development] Koucz87:
Which profile you use?

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] sheikhramnuj:
Big thanks to you master [MENTION=2376110]dorimanx[/MENTION] You given us another super kernel to test :D
[G2 Android Development] renzo090513:
Wow. Great update dori. Phone is smooth. And so far the battery is good. I will test more. To anyone who is reading this. Update to 7.8 its a MUST.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Rachid.Ala:
[MENTION=2376110]dorimanx[/MENTION] my phone is flyyyyyiiiiiiiing thank youuu

Sent from my LG-D801
[G2 Android Development] dorimanx:
Its should be better, but give it some time, its not real readings, need more time to test.

But listening to music (mp3) with screen off, reduced battery use from 300ma/h to 100ma/h. And that is real improvment.

3000 / 100 is 30 hours of music...

Sounds like joke. Crazy one. Need more time to test.

Edit:

100ma = 2%/hour so its 100% / 2 = 50hours? Haaa...? Nee cant be ..

Any way, web site status update for fun.

This in time range of 30 days, from today back.

2 mirrors status.
[G2 Android Development] RohanM:
I am quite happy with 7.7.. No reboot of freeze so fast hence being lazy to flash 7.8 but anyways will flash it today.. Thanks master [MENTION=2376110]dorimanx[/MENTION] you rock.
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

7.8 is finally smooth and fast on my device. With my LMK minfree tuning (same as in-kernel code preset) works fast and stable.

Battery reading seems too unstable. It drains fast(er) then goes up.

Example: 80% - 70% drain. Then when in deep sleep it goes up to 72%-73%.

This is not really bothersome. But when on lower percentage phone seems to shut down faster (on 0%). Then after few minutes it reads 5%.

I used stock from 7.5 'till now. No such battery problems. And sometimes those 5% all needed for my fundraising contacts. I don't know what causes this.
[G2 Android Development] marek_poland:
Just wait for battery callibration until saturday or calibrate now in Dorimanx app
[G2 Android Development] duki994:
I did calibration when 7.8 kernel was out. Waited to stabilize for about 1hr. Put it to charge at 500mA on stock charger in the evening. After I woke up phone was 100%. But sometimes it fluctuates wildly +-5%. Battery is in excellent condition (from official LG service center).

This happens on my device since 6.x versions.
[G2 Android Development] dorimanx:
What is this? Please use stock.

Kernel 7.5 is no longer interest me.
[G2 Android Development] dorimanx:
You can read code, look, there was no changes to charge or battery driver.

I dont know, no problem here.
[G2 Android Development] ivaneris:
Sori for a noob question dori...just curious..for 7.8 is it still need to use tonyp's lollipop fix memory leak?
[G2 Android Development] Berkandemir53:
I am using 6.0 M and i will downgrade 5.0.2 for use this kernel :) when UX 4.0 + rom released . Sorry for bad english.

LG-D802 cihazımdan Tapatalk kullanılarak gönderildi
[G2 Android Development] oTeMpLo:
https://drive.google.com/file/d/0BzGdGHHs0zdxT0xkUW5PNm5FMGM/view?usp=docslist_api

I hope link is now updated... I see 7.8 log.. I hope you too..
[G2 Android Development] merlin21:
No. For more answers see QA Thread linked in first post.
[G2 Android Development] dorimanx:
Nothing wrong with kernel. As expected.
[G2 Android Development] OT-Xtreme:
what's funny
[G2 Android Development] boyheadkick:
i can confirm this..i was listening to music on the way to work this morning, which takes about almost an hour or so....when i left the house, phone was at 100%, when i came to work, it was still 100%..superb work dori!
[G2 Android Development] Nightshadow931:
Yea, well, the phone needs a lot of time to come to 99%, it's just wrong readings I guess.

I had ~30mins of SOT once, and then it fell to 99%.
[G2 Android Development] Nussi29:
NO
[G2 Android Development] Dick Gordon:
Hi, dori.

Every single day i've got a freeze or reboot. Once every day usual. log attached.

d802 32gb lp dori 7.8
[G2 Android Development] dorimanx:
Want a news, i dont. Maybe my kernel is bad for your device.

7.8 is stable. If every kernel is bad.

Then use stock or other.

Thanks for report.

Nothing was wrong with kernel. No errors, or panics, or bugs, recorded.

I see something strange about supersu app. Its holding many process ids with broadcast and wrong uid. If you are using some beta... dont.. use the google play version.

My advice. Open the app, and uninstall root, uninstall app if its not auto removed.

Download stable version from chainfire website, as recovery zip.

Go to recovery and install zip.

Boot, do not set any mods inside app.

Just allow all your active rooted apps.

And test. Even send me one more log after all the above.

To see if no more mess with supersu service.
[G2 Android Development] Dick Gordon:
Thank you, Dori. I try.
[G2 Android Development] 139277:
You probably did not change any battery/charging code in 7.8 (?) but i experience better charging currents now. For months, with your kernels and stock, I've had slow charging with many chargers. But what was earlier max 350mA is now well beyond. Don't know how this works but it is better now. :)

And in general 7.8 is excellent! Not a single problem and extremely good performance! Phone feels like a brand new device!
[G2 Android Development] dorimanx:
Good news :)

If you love 7.8 then you will be very happy with 7.9 when all tested deeply.

I have fully merged marshmallows gpu driver from cm13 for nexus 5 :)

What can i say, its working great!

Many bugs fixed, and gpu boosted with high priorities and other cool stuff. See git.

Also i have fixed touch boots driver and fixed temp check bug, that was limiting cpu freq too early, and not allow to get full power. Now its checking zone 5 temp and not 0.

Its now freely working in range of 75c to 85c without any real heat feel by hand, as its not super real temp, as thermal driver already made corrections to freq to hold heat in stable zone. But its allow higher freqs to be used in stress or spiked operations. Cpu sched drop load so fast when there is no actual need that cpu have time to cooldown and push forward on max again.

Also some critical mods to kernel modem driver, should prevent very rare modem stall bugs that lead to reboot or kernel crash.

Good to have the fixes, even if i didnt seen bugs that came from updated functions.

Stay tuned for next build.
[G2 Android Development] berezker:
Hey dorimanx

What do you think about Voltage tuning?

It helps alot with temperatures
[G2 Android Development] KpKi:
I guess it's not optional for safety measures ... Because some WILL fry their boards.

Also it is there in ASOP but never used it ..needs trial and error .. Not all chips are manufactured the same so changing the voltage accross two devices will have different behaviour .