yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] n@vier:
Erase also data/.dori and flash again the kernel with wipe dalvik and cache in recovery.
[G2 Android Development] huseinn:
yap, using the integrated TWRP + Root batch installer . (OneClick-androidth)

Recently change STweaks setting before sudden reboot happen.

Changing all 4 CPU governor to darkness ; Alucard-Suspend Mode :

Cron-OFF

I/O : SIO

TCP Congestion : Westwood
[G2 Android Development] iko11:
Hi [MENTION=2376110]dorimanx[/MENTION] after a long I have noticed that I couldn't set the Headphome PA Gain through Faux App, I will be glad if you can check this, not a big deal.

3.1.2 is rock stable again ( of course for me) Alucard is a great developer but seems like his governor can't completely implemented to our device. Not using it, not having reboots.
[G2 Android Development] capoooro:
No problem here with alucard...d802
[G2 Android Development] Nigglenuts:
The problem is not fixed. I still have random reboots every few hours. Sometimes twice in an hour. D800 completely stock setup. Im going to try 3.1.1. If that still gives reboots, I am going back to 2.8. Never had a reboot there
[G2 Android Development] merlin21:
did you change anything in stweaks or the reboots also happen with default settings? Please take a log to get more help [emoji106]

I use stock 30b and everything with v3.12 is working without problems (i also use xposed). For battery report its to early - i have to wait a few cycles.
[G2 Android Development] Nigglenuts:
Reboots also happen with stock settings. Im on official d80030f firmware. I'll post a log in a minute.
[G2 Android Development] iamtha1:
Same with me.. Running cloudy 3.1 with 3.1.2. Random reboots.. And rebooted almost everytime during calls. Other than the reboots performance is top notch.
[G2 Android Development] Capomen:
Im on cloudy 3.1. And dori kernel 3.1.2 no have reboots evrything working well

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] Nigglenuts:
https://drive.google.com/drive/my-drive?ltmpl=drive

[MENTION=2376110]dorimanx[/MENTION] here's my log. Sorry it took so long, I'm out of town and had to walk to a library.
[G2 Android Development] Eselter:
[MENTION=5222999]Nigglenuts[/MENTION] wrong link ;)
[G2 Android Development] dorimanx:
Lp not support pa gain any more.

Its not working control.

Sent from my LG-D802
[G2 Android Development] Nigglenuts:
You sure? I just checked and that brought me to my drive.

Edit: It should work with this one if the last link doesn't. https://drive.google.com/file/d/0BwLuGLzPvmW7NktIb1UtNVZoOFk/edit?usp=docslist_api
[G2 Android Development] RainGater:
I flashed 3.1.2 y'day on Cloudy 3.1 and haven't seen any reboots yet... that's great news. Thank you Dori for that.

But, I see that the battery temp, even after waking up from the screen off, hovers around 30 C. It used to be in low 20s or so I thought. Any ideas or is it normal?
[G2 Android Development] mannequin:
those battery temps were only possible on KK. on LP we have a portable stove on our hands pretty much where battery temps never drop below 30C and CPU temp gets to 70C after 5 minutes of using Chrome.
[G2 Android Development] RainGater:
Not true. I was on BlissPop LP 5.1.1 and I used to see lower 20s. Let's see what Dori have to say on this ;)
[G2 Android Development] mannequin:
can't comment on anything 5.1 but judging by other devices that run it, it's quite a difference from 5.0, temp wise as well.
[G2 Android Development] Computoncio:
[MENTION=2376110]dorimanx[/MENTION] if you have any clue or you want me to test/try anything to fix the intermittent signal on D805 just say or pm me if you want to keep the thread clean.

I have attached logs, but i don't have any clue where to begin searching :eek:
[G2 Android Development] dorimanx:
Do you see what you compared?

5.0.2 with 5.1.1 its like compare different phones.

Our temps are normal and same as with stock.

Sent from my LG-D802
[G2 Android Development] dorimanx:
To fix d806 signal drops, there is 2 things needed.

Modded modem image.

And kernel binary that should run on boot for d802 kernel.

I have added that binary to kernel, and its loaded on boot.

Thats all i can do. Is there stock d806 rom and kernel?

If not, then LP is not supported, same as for d803 and L02F.

Sent from my LG-D802
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

In testing fast charge, first tests for me works very well! (profile performance all set to default)

About 90-100 min to charge from 2% to 100% (about 45 min from 2% to 60%)

Great man, awesome work! :good:
[G2 Android Development] zwodziarz:
Flashed this 3.0 kernel on Kra-Pow-Moo-Sab ROM and the phone became really laggy, one time it stuck in a bootloop while watching a YT video. Then I got no singnal at all needed to reflash ROM again so BEWARE people! The battery life was good earlier thought.
[G2 Android Development] Peppe91:
D802, stock Rom, latest kernel, running performance profile but with stock frequency (reduced to 2.26).

No reboots, really smooth, no lags, battery drain just awesome, no temperature exceed but normal exercise temp (lollipop gets higher cpu temps).

Could be a stable candidate! Really no problems here, and yes I really use the phone a lot and the results are surprising. Just reporting feedback

Inviato dal mio LG-D802
[G2 Android Development] L0nelyE4rth:
3.0 is buggy.
[G2 Android Development] n@vier:
The Kra-Pow-Moo-Sab Rom has many tweaks and mod systems....dorimanx kernel works great on

stock

rom lollipop especially for D802.

So with custom rom these problems can happen.

PS: can you try v3.1.2 or v2.8
[G2 Android Development] 60nine:
just had a reboot on 3.1.2 reading feedly

4x ondemand, msm hotplug...

https://www.dropbox.com/s/256m15vnb6jdund/dorimanx_debug.zip?dl=0
[G2 Android Development] Computoncio:
I now you can't do anything because there's no souces :(

I notice in logs that the issue is that sim card keeps being restated like if i pull and put it back.

I'm trying to reach rom devs that made it work to see if they know how to fix it or if they allow me to dig around their souces to see what's "missing".

Do you know witch modules/drivers controls the sim?

I have already sync the ramdisk from a working kernel but the issue persist, that's why i bet my money on something "missing" in some module or driver ;) but i don't know witch module or driver controls the init of sim card :(

I know that's almost impossible for you to fix something without having a phone.

Well if i find anything i you let you know.

Thanks for sharing your work and handling impatient users like me ;)

The binary you added is acurafixril? or did you add something else?

Phone: LG G2 D805

Kernel: Dorimanx kernel v2.7 LP D802

1st ROM : QUETZAL ROM v1.3 Base30E

2nd ROM : Waiting for custom recovery ;)

MODS: Still searching
[G2 Android Development] dorimanx:
News Update.

Kernel 3.2

21/06/15

*Switched to LINARO 2015.03 GCC 4.9.3 as it's was great all the time.

I suspect that RAM bugs that lead to reboots started when i changed to GCC 5.1

*Reserved more 32MB for kernel drivers. so apps cant touch it. best to kills apps

to release RAM, and not kill kernel... and REBOOT or just stuck.

let me know how it's going. for me all OK few hours... need more testers.
[G2 Android Development] dorimanx:
yes binary is acurafixril

i think that modem and sim driver is:

-rw-r--r-- 1 root root 20956 Jun 21 17:25 arch/arm/mach-msm/smd_debug.c

-rw-r--r-- 1 root root 7612 Jun 21 17:25 arch/arm/mach-msm/smd_init_dt.c

-rw-r--r-- 1 root root 808 Jun 21 17:20 arch/arm/mach-msm/smd_init_plat.c

-rw-r--r-- 1 root root 6392 Jun 21 17:25 arch/arm/mach-msm/smd_nmea.c

-rw-r--r-- 1 root root 59900 Jun 21 17:25 arch/arm/mach-msm/smd.c

-rw-r--r-- 1 root root 23820 Jun 21 17:25 arch/arm/mach-msm/smd_pkt.c

-rw-r--r-- 1 root root 4416 Jun 21 17:25 arch/arm/mach-msm/smd_private.c

-rw-r--r-- 1 root root 14360 Jun 21 17:25 arch/arm/mach-msm/smd_qmi.c

-rw-r--r-- 1 root root 21500 Jun 21 17:25 arch/arm/mach-msm/smd_tty.c

this files control the modem and sim.

maybe change that i merged to them brake the D806 or change that needed i dont have.

my changes are only here:

https://github.com/dorimanx/DORIMANX_LG_STOCK_LP_KERNEL/commits/master/arch/arm/mach-msm/smd.c

https://github.com/dorimanx/DORIMANX_LG_STOCK_LP_KERNEL/commits/master/arch/arm/mach-msm/smd_pkt.c

i hope you can find solution.
[G2 Android Development] seba112:
1,2gb free ram on start (Cloudy 3.1), nice [MENTION=2376110]dorimanx[/MENTION]! :D
[G2 Android Development] nikkotsoi:
was having random reboot of about once per 1~2 hours (kernel 3.1 and cloduy3.1)

now just updated to 3.2 kernel

i hope it helps~:D

---------- Post added at 11:06 PM ---------- Previous post was at 11:05 PM ----------

btw

Is it possible to remove the camera sound for spy camera?

i think it is locked by kernel ?
[G2 Android Development] dorimanx:
no it's not. kernel dont care about apps. and sound they make.

hack is in rom.

if not helps, use stock kernel. for stock ROM! not Cloudy G4 port.
[G2 Android Development] renzo090513:
3..2 running smooth and great. No reboots so far and the ram increase a bit. Thanks a lot for your work.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] donalberto17:
I haven't had a reboot in two days in a row, even with the 3.0 "buggy version".

VS980 users are lucky I supposed.

Going to try the new version, I bet is going to be as great as the previous version. THX
[G2 Android Development] RainGater:
3.2 is running great on D800 - Cloudy 3.1. Free mem seems to be a tad bit more than before and great job Dori, as always.

I didn't tweak any of the settings as I am sure that you know better about your kernel than any of us mortals ;)

Hopefully, you killed the *random reboot* bug for good.
[G2 Android Development] Nigglenuts:
Just flashed 3.2 after returning to stock from cloudy 3.1 yesterday. I think that Rom was part of my issue. Stock Rom running much more fluently. I will report back with any issues.
[G2 Android Development] n@vier:
Flashed v3.2 I'll report soon :thumbup:

Thanks for new release ;)
[G2 Android Development] nikkotsoi:
thanks for you explanation

just got two reboot.. which the second one is just a few minutes after the first

but i think it is not a big problem

will continue to try and test
[G2 Android Development] Nigglenuts:
Which version of the kernel are you running?
[G2 Android Development] Lizzacore:
Reboot with 4xDarkness

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] renzo090513:
Im using darkness and all is working fine.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] RainGater:
Folks,

Whenever you get a reboot or some erratic behavior, please state the Kernel version + ROM version + logcat (if available). Without it, it's hard to know whether it's for the latest (3.2) or not. Since Dori is very, very active and by the time you report something, it might have been fixed already :)
[G2 Android Development] Lizzacore:
I know, I'm sorry but the gov on-demand is stable enough ,use it with extrem battery profit with some edits by me.

For all , on my device with 3.2 and stock 30b 4xDarkness isn't stable.

No log available ,sorry.

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] nikkotsoi:
the latest 3.2

cloudy3.1

d802
[G2 Android Development] saspo59:
My friend u alway complain about reboots and steek to darkness that also for me wasnt stable ,chang to yankactive and all fly[emoji12]
[G2 Android Development] gozzaa:
I just got reboot while using chrome

Didnt check the log but its attached
[G2 Android Development] nikkotsoi:
here is my log

it was idling ,, sleeping

View attachment 2015-06-22-03-11-01.log
[G2 Android Development] d_Schizzo:
Bug with BFQ

Hi Dorimanx,

just tested BFQ sched today and got into massive wifi & download problems. Every download i was trying breaks up after around 5% and also wifi is really slow. After setting ZEN as scheduler all issues are gone.

Tried BFQ also here and there in the past, but cant remember to had any problems like this. Maybe its related to the last update you have done to BFQ.

Except that last 2 releases are damn smooth and without any reboots.

Keep up the great work!:good:

Regards,

Schizzo
[G2 Android Development] oTeMpLo:
Sod with 3.2...

3.1.2 was quite ok .. Only 1 reboot while charging.. ;) mybe because no one was calling :)

Listening to music is ... impossible... Lg hbs800 disconnects at least once between every song,,, (it was working okay in KK)

G2 and LP is useless. --> without 5.1.1 we are at death end...

Stock kernel is not better (wifi / low signal / data lockups/ BT audio disconnecting).. only without reboots .. reboots are Dori's addition :)

its ****ty rom/release from LG...

To be honest 3.12 and 3.2 are improvement's over older versions..
[G2 Android Development] mannequin:
D801 here, all the latest versions are butter smooth, no reboots.

yes, out of the box LP on G2 is awful. heat issues, ram issues, media events closing on the background, etc. but with some patience and tweaking it's possible to make it usable. Dori's kernel makes it all possible.

debloat as much as possible, use BootManager mod to limit the amount of apps being started on boot, use something like Servicely with a screen off profile to shut down unnecessary stuff on the background, stay away from Chrome (it overheats our device like crazy) and use something like Lightning browser.

to battle heat (each phone's temps vary and sometimes by a lot all depending on the quality of your CPU and the quality of assembly plus physical drops might influence that as well) - and that might be the most common reason for most of the reboots here - i use some tweaks to the default profile:

- lower ondemand freqs through a script:

echo "960000" > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq

echo "1497600" > /sys/devices/system/cpu/cpufreq/ondemand/optimal_max_freq

echo "1497600" > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq

- disable touch boost

- use Default Temp Control only

- 2 CPU cores always online (that's an important one since on LP all media sound events produce random noise artifacts with only 1 core online so if you heard weird screeching short sound glitches while listening to music that will solve that)

- msm-adreno-tz extra controls in Auto Mode

- use ROW or ZEN only with 512kb read ahead

- OOM levels both on aggressive

- do not use Fast Charge if your phone shows any signs of overheating

my CPU always stays in the 40-50C even during heavy use (minus the gaming of course) with smooth performance across the board. my music apps never shut down, ever.

hope that helps.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Also v3.2 rock stable and super smooth, never and say never one reboot or freez (but also with previous release ;) ).

In this release I noticed on average more free ram :good:

Thanks, you Rock!

PS: test as always with performance profile (default parameters).....for battery drain I'll wait a couple of days to be more accurate.
[G2 Android Development] RainGater:
[MENTION=419143]Dori[/MENTION], did u get a chance to look at Adreno idler, an idling algorithm for devfreq-based Adreno devices - not sure whether it helps but thought of pointing it out - http://xdaforums.com/android/software-hacking/adreno-idler-idling-algorithm-devfreq-t3134872
[G2 Android Development] nikkotsoi:
i got reboot from incoming calls.

when i answer the call, after about 10sec , the g2 will reboot.

It happened twice already

i have tried to call someone to test, but its fine,, seems to be an incoming call problem?

attached the catlog , the last few lines are the logs when i receive and answer the call

i hope it helps to solve :D

View attachment 2015-06-22-12-05-40.log
[G2 Android Development] dorimanx:
Dont send me logcats i dont care about rom bugs.

I have my own log system, use it, and send what i need.

Or use stock.

Sent from my LG-D802
[G2 Android Development] nikkotsoi:
i am sorry...:(

here is the bug report for kernel from your app

hope it helps this time

View attachment dorimanx_debug.zip
[G2 Android Development] LeoPosas:
Support Development

Guys, I just want to give you an advice...

[MENTION=2376110]dorimanx[/MENTION] it's one of the best developers around here, and he's so brilliant with the things he do for us. :highfive:

I know, everyone want to use this awesome kernel with the awesome Cloudy's ROM (Including me), but remember that Cloudy's ROM it's a port and not all devices can run it stable with a CUSTOM KERNEL like this one.

So please, if you have random reboots, lags, freezes, FC's, or anything compared to this, don't bother to Dori, if you want to help him, try to figure out what's going on and attach a real log. Also, Beta Kernel, consider this too. :rolleyes:

Thanks Dorimanx for this great kernel, and I hope you enjoy the development of it.;):good:
[G2 Android Development] gozzaa:
[MENTION=2376110]dorimanx[/MENTION]

i have this issue too and i hate that i have to have 2 cores online just that i dont get this crap while listeing music.

is there anything that can be done kernelwise? like giving the soundprocessing abit more priority or something?
[G2 Android Development] mannequin:
another vote for this, would be amazing if anything like that is possible.
[G2 Android Development] smartpr1v4t3:
I think the log will not help. I sent many logs about this problem, but my logs

had nothing todo about a kernel problem

as it look like.

I had the exact same reboots in call and some random reboots.

The random reboots was reproduce able for me in one situation. Reboot the phone and dont touch it after the reboot, i also didnt enter the pin.

After 30-60 seconds the phone rebootet again. Most times when this happens it was possible to reproduce the reboot 2 times.

It looks like i

fixed the problem

now. I reinstalled the stock rom and couldy rom 3 times (didnt helped) but before the last time i did a

complete wipe

(Cache,Dalvik,System,Data).

I didn't restore my apps or settings with titanium backup

Now it looks like the reboot bug is gone. I think it was a

problem in combination

with an old xposed module setting (G3 Tweakbox?) that was imported

with Titanium Backup

or

happened because a setting in Trickster Mod was stuck. Sorry cant tell you exactly what my problem was.

TlDr:

I suggest you to installed the rom completly new with an full wipe, after that dont restore any app and test if the problem happens again,

when its gone you can try to restore you app settings with titanium backup.
[G2 Android Development] d_Schizzo:
I can tell you whats your Problem was: Dont use trickster mod. If you have Settings that are compete to dorimanx app, kernel will crash.

Regards,

Schizzo
[G2 Android Development] smartpr1v4t3:
I had trickster mod only in combination with UV (disabled long time ago) and it worked fine before. I really think that there was a stupid UV Setting stucked. Don't UV guys ;)

@ about Version 3.2

Is running fine on my phone, not a single reboot and everything is smooth.
[G2 Android Development] dorimanx:
it's happen because of Trickster Mod

if you think you need more control apps that mess kernel. use STOCK, they made for it. not for my kernel.

There is ONE app that i can say works good with my kernel is android tuner pro.

and yet! i never change my freqs with it. dorimanx app is all you ever need.

want to UV? then dont post every day that you have reboot. i dont care. UV and external config app are not supported.

I know for 100% that all reboot bugs are USER bugs. not my. when my device start to show problems, i fix kernel.

till all stable again as now with 3.2

But same people still report reboots. so as much as i want to help, better dont use my kernel. it's BAD for your needs.
[G2 Android Development] dorimanx:
I have merged GPU FREQ IDLER code,

https://github.com/dorimanx/DORIMAN...mmit/467c7605129316c93b342be332056ac7d0584356

look good, works good. save power! = great.
[G2 Android Development] nikkotsoi:
So what about the incall reboot bug?

I will give it a try anyway!

Thanks! I found that the income call bug will not happen when i use an earphone with screen - on

Maybe it is related to the screen off behaviour
[G2 Android Development] smartpr1v4t3:
All Bugs/reboots was gone after complete new installation without app restore. ;)

Write in the Q/A Thread when you have more questions, this doesnt belong anymore in the dev thread.
[G2 Android Development] boyheadkick:
alucard hotplug

row scheduler

everything else stock

running cloudyg2 3.1, no reboots since 2.9, skipped 3.0 and 3.1.2, and now just flashed 3.2..averaging 5.5 SOT for the last 3 days..all good!

btw, is it just me or the colors on the config app easier on the eyes now since 3.2 update?
[G2 Android Development] smartpr1v4t3:
Had the same feeling about the colours, that something changed.
[G2 Android Development] dorimanx:
it's just you :)

colors = colors.

maybe i will switch to ROW as main I/O gov. it's stock kernel i/o gov. and not bad.

100 KK versions where with it as default.

ZEN is working fine here. but for best stability i think people with unknown reboots, should select ROW active/sleep
[G2 Android Development] dante1976:
I'm on zen for 3-4 days, 3.0/3.2 kernel, cloudy 3.1, rock solid and snappier than ever ;)

Regarding "music bugs"... i also didn't have any problems, viper4android working fine... i only listen to online radios, stream music from cloud and on phone i have only 320kbps mp3's... i didn't have any problems and i don't have "2 cores always online". So i think that most of "music problems" comes when trying to get poweramp to work with viper. If you want to have 2 cores online just for music listening simoly set it when you want to listen music and revert it afterwards ;)
[G2 Android Development] dorimanx:
Small OT and Thanks to my supporters and donators!

For received donations i have ordered this great in ear headphones!

http://www.sony-asia.com/product/mdr-xb90ex

https://www.youtube.com/watch?v=K_prKr51fDg

85$ for them on ebay.

i know Sony stop producing them, but after many searches and review reading, i found them to be what i need!

So in 2 or 3 weeks i will BLOW my mind with super earthquake bass in my head. :p:D

Thanks to all people that support me, and donate so i can buy things like that and always remember who paid for them!

End of OT. :)
[G2 Android Development] dorimanx:
no need for that. when screen goes OFF. 3 cores are always online with 3.2! to reduce CPU shocks and system crash.

when screen is ON hotplug driver manage cores ON/OFF by need.

and it's not wasting power, as load split across cores and screen is OFF!

we know that main power drain is the screen :) not online cores.
[G2 Android Development] duki994:
3.2 working awesome here.

4x intelliactive (highspeed raised tof 1.7ghz, two phase freq lowered to 1.7ghz, sync freq on 1.4ghz) + MSM HP (stock config) and sample rate 20000 + touch boost 1.7ghz 30ms.

Smooth as hell and very battery efficient.

No RAM problems anymore. Always have minimum of 400MB free RAM and system is much more responsive. CPU temps are now under 50deg for medium loads.

Also no reboots, force closes and so on. Only thing I see in kmsg sometimes is "unbalanced IRQ35".
[G2 Android Development] dorimanx:
Good! i see that too. RAM finally normalized. LP is a beast! was crashing my kernel drivers on stress...

Now kernel will crash apps to survive! and we can have 1 reboot in days... and that is OK even by me...

none so far.
[G2 Android Development] Diechel:
Test version will be this evening on the OTA thread :)

Edit

http://xdaforums.com/showpost.php?p=60610982&postcount=416
[G2 Android Development] Lycidias:
Sometimes the phone becomes unresponsive and freezes for like a Minute, mostly in Google Chrome

Logs:

https://www.sendspace.com/file/vrbyne

Spoiler content hidden.
[G2 Android Development] Maxximo88:
Hi! [MENTION=2376110]dorimanx[/MENTION] you are amazing, thanks to develop this great Kernel for LG G2 D802!

I want to offer you a beer: Paypal donation 4LU62634NS9692135 :highfive:

Thanks a lot, hope to see an unlocked Bootloader to enjoy MultiROM too! ;)