yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] johnbeetee:
I know where to look :D ....

......you might want to try 8.8.1 beta

in case you missed this post, you could be the lucky one that got this bug :

http://xdaforums.com/showpost.php?p=56666172&postcount=10601
[G2 Android Development] Tinchoska:
What I meant is to let us reproduce it or help to know if the newest version fix that.. But whatever... As I always say I am nobody
[G2 Android Development] cybernetus:
If you need to help, read the log :)
[G2 Android Development] dorimanx:
To all BETA TESTERS:

After more checks, i see that CPU is not entering to suspend.

so it's waste -170ma, same as wakelock is held. but none seen.

So i have added back LGE TEMP LPM Hack and allow core0 to suspend.

now deepsleep is working.

Please update to 8.8.2 D802 and test if all ok with wakeup.

for me OK.

have fun.
[G2 Android Development] 60nine:
just wanted to report that something is fishy with deepsleep battery consumption in 8.8.1 and you seem to beat me to it [MENTION=2376110]dorimanx[/MENTION] :)
[G2 Android Development] gozzaa:
just wanted to report that :)

wasted about 40% over night, will flash 8.8.2 now

beside this no issues with 8.8.1
[G2 Android Development] harrybear25:
frequency won't stick

My frequency keeps jumping back to 22000 every time my gpu seems fine i am using trickster mod on my vs980 i am sorry if this question has been asked any help would be appreciated
[G2 Android Development] bloof:
Flashing 8.8.2

Lost 5.5% battery per hour overnight. Thank God i am not the only one.
[G2 Android Development] d_Schizzo:
OMG, whats up with your devices?! 40% and more over night?

I lost 11% in 5hours sleeping with 8.8.1. I woke up and saw this and i thought:"Uhh, 11% is a bit high but ok...:D"

Except high batteriedrain 8.8.1 was really stable for me. No wakeup problems...

Flashed 8.8.2 2hours ago and also no problems.
[G2 Android Development] g.paganini:
Yup , lost 31 % in 5h40min of sleep.. Gonna flash 8.8.2 .....Except that , Kernel is stable .
[G2 Android Development] =dgim=:
I had the same issue, I lost over 30% last night on 8.8.1.
[G2 Android Development] bloof:
[MENTION=2376110]dorimanx[/MENTION]

Dev suggestion for memory control: could you add an STweaks option to make "Home launcher" unkillable (lower OOM) to reduce number of screen refreshes?

Thanks.
[G2 Android Development] sankeerth24:
Same here with 8.8.1.. I lost over 10% on idle .. was using greenify too.. will try 8.8.2 soon
[G2 Android Development] deads.fear.death:
No battery problem with 8.8 and no SOD untill now. Performance is really great also. I guess it is safe to stay here [emoji3]
[G2 Android Development] berryman13:
really want to flash 8.8.2 but getting some irritating kernel build errors at the end so each build takes 15 minutes before i even SEE an error..

But i will get it building maybe 1 or 2 days [MENTION=2376110]dorimanx[/MENTION] and everybody else looking for non D802 devices but mainly focusing on d800.

I will release stock dori betas...no modifications. Linaro 4.9 2014.10
[G2 Android Development] Tinchoska:
I was just going to show this
[G2 Android Development] dorimanx:
Impossible, rom kill your launcher, not kernel.

To stop it, need to hack rom framework.

Sent from my LG-D802
[G2 Android Development] Au5t1n:
Got a SOD using intelligent hotplug v8.8
[G2 Android Development] Alexander1988:
Why people don't read it's beyond my comprehension... That being said please update to 8.8.2 beta ! dorimanx.com/LG-BETA
[G2 Android Development] Nigglenuts:
Not everyone has a d802...
[G2 Android Development] Alexander1988:
I understand that, but Dorimanx has specifically informed us of the existence of not 1 but 2 SOD bugs in 8.8. Besides that without a log your post is, for lack of a better word, white noise. Thank you for your understanding and please use last stable version for your phone.
[G2 Android Development] bloof:
Thanks Dori.

Any suggestions on Memory settings in STweaks to help with screen refreshes? What is better, low kill or exterminatee kill?

What about dirty ratio and dirty background ratio? Can they help?

Thanks.

Once i get an answer i will put this n Q&A thread instead.
[G2 Android Development] Lycidias:
Lock launcher in Memory With xposed app settings
[G2 Android Development] gozzaa:
beware that you are using your ram ineffective if you get redraws in launcher. much free ram = bad if you ask me.

we have 2gb of ram and thats more than enough, so you can use a less agressive setting

what are your benefits of having more free ram?
[G2 Android Development] bloof:
I will try it, thanks.

---------- Post added at 04:05 PM ---------- Previous post was at 03:47 PM ----------

I know I have a RAM problem... Trying to fix it.

I am trying different settings to see which ones offer best reduced home screen redraws, just trying to understand how some of these ratio settings impact it.
[G2 Android Development] Garfield3333:
Any chance for Kernel 3.10.40.....???

THX
[G2 Android Development] dorimanx:
Go ahead and make one :)

Sent from my LG-D802
[G2 Android Development] cybernetus:
Humm thanks, i will report this too but i need to come from a client has a big problem on network.

I will flash this now and report , thanks [MENTION=2376110]dorimanx[/MENTION] .

By the way, reporting my experience with the last kernels. All are good on ondemand, alucard, ondemand, alucard , all of the rest default except the net congestion on westwood.
[G2 Android Development] Garfield3333:
Hey Dori these words are not bad..... it´s only a question.....;)

by the way........... THX for your hard work ...........your Kernel is amazing :good: (your Code = genius)

LG G3 Lollipop has Kernel 3.4.0 so Lollilpop is nothing new........

F2FS cache is .....OK

F2FS data can be fixed........?

THX for your hard work...............
[G2 Android Development] infected85:
[MENTION=419143]Dori[/MENTION]

Just wanted to share this with you

http://xdaforums.com/showthread.php?t=2937534
[G2 Android Development] dorimanx:
so we can use kk bootloader, in the future. nice.

but i need the code, to sign kernel in my server, not to upload kernel somewhere then use.

it's not practical for development.
[G2 Android Development] enr88:
[emoji1]
[G2 Android Development] krija:
Hi [MENTION=2376110]dorimanx[/MENTION]. 2nd mirror and beta page are down. I can't download latest beta :(
[G2 Android Development] d_Schizzo:
Try different browser. Both sites are online.
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

8.8.2 beta

Deep sleep is very good. Losing 3% over 6 hours, with some messaging apps in background.

Somewhat quicker wake up.

This one is very stable. Couldn't crash it, even with UV. This is next STABLE MILESTONE since 7.8 :)

No visible bugs seen. Logs are OK, no unusual stuff.
[G2 Android Development] goran_oh:
8.8.2 is best release,tnx dori.
[G2 Android Development] ang1dust:
Strange question, I don't know if it's rom or kernal based. I am looking to switch my Verizon vs980 to AT&T. I tried it with a friends sim and it worked but it did not get data. I'm using stock based xdabbeb 2.2 rom and your kernal.
[G2 Android Development] d_Schizzo:
Strange answer.... its neither rom or kernel based problem. Your problem is that your device is carrier-locked. So, the sim of another carrier dont work in your device. Dont know how it is in US, but in Germany you can pay a price of round about 100€ to the carrier to unlock the sim-lock.
[G2 Android Development] bloof:
US contracts used to screw you over. Contact your carrier and ask policy.

ATT used to be: never unlocked!

Then they switched to 6 months or 2 years, can't remember. Check for your contract.

There's a reason why you get the phone so cheap on a contract.
[G2 Android Development] krija:
1 from 5. LG stock browser is a champ :D.
[G2 Android Development] d_Schizzo:
Dont know why you told ME that...:p

As i wrote, i live in germany and dont know about us carrier.

But thanks anyway for the explantation...:)
[G2 Android Development] EniGmA1987:
And isnt the modem firmware different too so it wont even be able to see the right bands.
[G2 Android Development] ang1dust:
Well i changed to cloudya s flex 2.7 and it works on hspa+ but no lte
[G2 Android Development] Minotavrs:
I strongly believe 8.8.2 beta is stable as a Rock and bug less. Deep sleep is excellent no battery drain at all and no SoD untill now!

2 many Thanks Dori bro...
[G2 Android Development] bloof:
LOL

Meant to reply to the other guy!
[G2 Android Development] x3m.zone:
I agree! 8.2.2 beta is excellent. The same good performance, no more heats up + the lowest rate of battery discharge ever!

Thank you dev, for your awesome work!

D802 + GloudyG3 2.1 + Dorimanx 8.2.2 beta.
[G2 Android Development] qweewq22:
[MENTION=419143]Dori[/MENTION] can u build 8.8.2 for d800?

I afraid 8.9 will be with new sod ?
[G2 Android Development] BOY_:
Dori, 8.8 running fine on both cloudyG3 2.0 and 2.1 on my vs980. Too soon to report battery life but performance is smokin and no sods or reboots.
[G2 Android Development] sheikhramnuj:
8.8.2 running smoothly here in my d802 with cloudyflex 2.7 no more battery drain, good deep sleep and no sods.

Thanks Dorimanx! Keep it up! :)
[G2 Android Development] Manbot27:
Just came back to Dori after a while on stock kernel and I'm getting crazy heat on the d800 while playing games. To the point where my fingers were uncomfortable touching the screen. Dual intelligent temp control was on and it's never been hot like this for Dori's past kernels. Was the temperature threshold raised or something?
[G2 Android Development] Diechel:
Dori managed to squeeze out more performance out of the phone. So is will get hotter.

A thing to compensate is to lower your frequencies. And of course lower your max temp in stweaks could help but will also give lag.

As more calculations brings more heat to cpu on same clockspeed. You can verify that by stressing your phone or computer.

Correct me if I'm wrong

NEXT TIME IN Q&A TOPIC PLEASE!
[G2 Android Development] d_Schizzo:
Well, it works because most Custom-Roms remove Carrier-Branding. But if you are on pure Stock, its like i said above.

About LTE, you will find the answer in Cloudyflex-Thread (just search or simple, read the OP).

OnTopic: [MENTION=2376110]dorimanx[/MENTION]

Just want to Report back, that 8.8.2 is really stable for me. No problems so far.

I installed 8.8.2 yesterday on my wife's phone. Will see how it works for her on Stock-ROM 20d.

She was more affected with SOD's than i was. But mostly after Charging she told me. Will also report back, how it goes for her or post a log if i can grab one.

Regards,

Schizzo
[G2 Android Development] klemenSLO:
As i know in europe all sold phones must be carrier unlocked by europe directive/law
[G2 Android Development] d_Schizzo:
You know it wrong. The only Country that that forbid SIM-Lock is Finland all others dont. Lets move to Q&A or PM me if you want discuss it. :)
[G2 Android Development] Tinchoska:
Just awesome version last beta dorimanx great battery life, no lag just great on stock 20G
[G2 Android Development] pitsgraft:
[MENTION=2376110]dorimanx[/MENTION],

I'm testing your beta 8.8.2....already 11hrs ....

No FC, no wake up delays...

Test NFC Bluetooth audio to sony SBH-52....viper or no viper works superbly

Test NFC Bluetooth Head Unit SONY MEX N5000...viper or no viper works flawlessly...

4hrs driving with Gps and Bluetooth audio on only takes 17% battery drain

your V 8.8.2 beta is awesome....well done...

Tonight I'll test for games...

Note :

And smooth connection to camera nfc wifi Sony ILCE 5000/ alpha5000...

all test on Default profile...

Cheers,
[G2 Android Development] bloof:
[MENTION=2376110]dorimanx[/MENTION]

Suggestion for TCP congestion. Since you have no description there, i find a short description of options on another website, you could maybe use that.

It is one of the friendliest descriptions i found.

What it does not have is a description of which is best in low network situations for example.

" TCP Congestion Avoidance Algorithms:

Tahoe:

Limits unknown packets being received. Limits the congestion window, and reset itself to a slow-start state.

Reno:

Basically the same as Taho, but.. if 3 of the same packets are received, it will halve the window, instead of reducing it to one MSS. It changes the slow start threshold equal to that of the congestion window.

Vegas:

One of the smoothest (next to cubic), it increases the timeout delay for packets, which allows more to be received, but at a higher rate. It also has set timeouts, which helps with speed because it's constantly being refreshed.

Hybla:

Penalizes connections that use satellite radio. Not usually used with phones.

Cubic:

One of the best, most recommended TCP options available. Less aggressive, Inflects the windows prior to the event. Used in Linux.

Westwood:

A newer version of Reno, and another commonly used one. It controls parameters better, helping out streaming and overall quality of browsing the internet. One of the most 'fair' algorithms out there, and is one of the most efficient algorithms to date."
[G2 Android Development] darknessmessiah:
Install Intelli3G and your problems will be solved!

Go to the configurations and set Fast Internet with LTE, GSM, WCDMA!

I recommend you to go through the automatic configs as well... It's a very nice app! No more tweaking and secret LG menu here.
[G2 Android Development] =dgim=:
Eh, I thought that 8.8.2 is perfect for me. My first SOD. Optimus 1.4.1, suspend mode, default option with interactive x4/intelligent hot plug and 2 or 3 other, small, changes.
[G2 Android Development] ziociccio:
Hi,

what changes from 8.8 to 8.8.2?
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION] do we have any deep states except C0 or C1 enabled?

C2 and C3 can crash some devices if enabled.

Also is arch power enabled in sched are sleepers enabled? Can't see on github, as I'm on phone. May be causing some troubles related to new SOD =dgim= experiences

WiFi is ok now. We don't need wifi debug enabled :)
[G2 Android Development] dorimanx:
Arch and sleepers are on.

I will reset to default set.

I need to check about c states.

I think we use c3

Sent from my LG-D802
[G2 Android Development] AlmightyAl:
Is the 8.8 download for d802 released 11/11/2014 the 8.8.2 beta??
[G2 Android Development] masteril:
Cloudyg3 1.3 d802 8.8.2 First sod ever on dori's kernel. Supersu 2.16

Sorry no logs /: so yes dori i know what you will say..its useless but still wanna mention.

All is default.suspend on and gpu 533mhz. Max screen off 1.7 mhz.

And by the way.8.8 and 8.8.2 the phone is kinda warmer especially when listening to music and very hot when gaming compare to 8.0-8.4.
[G2 Android Development] duki994:
Some guys from other forum mentioned that CloduyKernel also picked up SOD bug in version 2.1.

Please update to 2.0 or 2.1 ROM, because of different base.

Did you get sod from unlocking screen? Was it on charger?

Was fast charge set to 300ma? I've found that it bigs with 300ma option.

EDIT:

And update SuperSU to 2.19 beta

Older ones have confirmed bugs that can lead to SOD, regardless of phone model
[G2 Android Development] suhiiii:
You could update rom to 2.1 version.
[G2 Android Development] masteril:
1.3 is more battery friendly then 2.0.

I am very happy with 1.3 maybe i consider to try 2.1 when i have time.

Never get sod before on any version of dori's kernel maybe not super stable but sod is rare or the first time.

Off charger like 30 min.get the phone from my pocket try to wake the phone up=sod. 1800 ma fastcharge in the settings.
[G2 Android Development] duki994:
Arch power may be causing bug.

Also update SuperSU. It caused some SOD and random bugs to me earlier. From supersu 2.17 beta all is good :)
[G2 Android Development] g.paganini:
Had SOD on Beta 8.8.2 too. Phone was on Airplane mode while I was at work. Optimus 1.4.1,supersu 2.17.. 4 x alucard, hp alucard, rest untouched.

https://docs.google.com/file/d/0B_LbsT0gdUatLURiWDMtNTNObk0/edit?usp=docslist_api
[G2 Android Development] duki994:
E jbg sad.

Have you been charging your phone? Too much smb439 lines in log.

[MENTION=2376110]dorimanx[/MENTION]

Dori disable C1 retention if it is enabled, it caused bugs and instability with some devices on Render's kernel. C3 is okay for deepsleep.

And arch power + sleepers.
[G2 Android Development] g.paganini:
[MENTION=3441913]duki994[/MENTION] No , it was not on charger.. it was full charged in the morning.. went to work.. went airplane mode with about 100 or 99 % bat... after an hour , picked it up , trued to wake it... had to hard restart it :D
[G2 Android Development] 60nine:
:D :D
[G2 Android Development] merikgvr4:
Can you post a link to supers beta. Tried to search and couldn't find any. Thanks
[G2 Android Development] Diechel:
FIRST THING this is not Q&A topic.

Second thing search and you will find

I typed supersu beta in Google and got this

http://download.chainfire.eu/593/SuperSU/BETA-SuperSU-v2.19.zip

Next time better
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Unusual thing here.

In arch/arm/mach-msm/include/mach/cpuidle.h

here's definiton of msm_cpuidle_state

struct msm_cpuidle_state {
unsigned int cpu;
int state_nr;
char *name;
char *desc;
enum msm_pm_sleep_mode mode_nr;
};

And in arch/arm/mach-msm/cpuidle.c

msm_cstates is like this

static struct msm_cpuidle_state msm_cstates[] = {
{0, 0, "C0", "WFI",
MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT},

{0, 1, "C1", "RETENTION",
MSM_PM_SLEEP_MODE_RETENTION},

{0, 2, "C2", "STANDALONE_POWER_COLLAPSE",
MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE},

{0, 3, "C3", "POWER_COLLAPSE",
MSM_PM_SLEEP_MODE_POWER_COLLAPSE},

{1, 0, "C0", "WFI",
MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT},

{1, 1, "C1", "RETENTION",
MSM_PM_SLEEP_MODE_RETENTION},

{1, 2, "C2", "STANDALONE_POWER_COLLAPSE",
MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE},

{2, 0, "C0", "WFI",
MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT},

{2, 1, "C1", "RETENTION",
MSM_PM_SLEEP_MODE_RETENTION},

{2, 2, "C2", "STANDALONE_POWER_COLLAPSE",
MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE},

{3, 0, "C0", "WFI",
MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT},

{3, 1, "C1", "RETENTION",
MSM_PM_SLEEP_MODE_RETENTION},

{3, 2, "C2", "STANDALONE_POWER_COLLAPSE",
MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE},
};

So cpu0 has all three states at it's disposal, but other cores don't? Strange. Might lead to stuck cpu0 if C3 is enabled, but from the other side we have assymetrical CPU so this shouldn't be a problem.

core0 goes to C3, and all other to C2. I don't understand why other cores need to go to C2 (it's written in code comment that other can go only in C2), as I'm not a kernel developer.

I think we can enable C0,C2 and C3 states without C1 (caused issues on Render's kernel)
[G2 Android Development] dorimanx:
CPUIDLE code is not used.

https://github.com/dorimanx/Doriman...b/LG-STOCK-KK/arch/arm/mach-msm/Makefile#L212

from STOCK source.
[G2 Android Development] duki994:
Caffeine in me overlooked a simple fact of looking at makefile :)

[MENTION=4982853]masteril[/MENTION]

New SODs happening only on G3 ROMs.

Did you try stock ones?
[G2 Android Development] dorimanx:
This is our SOD BUG.

https://github.com/dorimanx/Doriman...mmit/26f7943f7d01a96bfab6c88b93d822dbb54fbb92

added at 4.3 kernel. and SODS begin.

it's stupid code that was added and reverted long time ago by CAF.

i have missed the revert :)

so it's was braking the mdss (screen driver) to 0 brightness and brake all the code with it.

also this one can help to brake the mdss driver.

https://github.com/dorimanx/Doriman...mmit/05cd67b669fce8a03b1c135ef697fc0fc4932071
[G2 Android Development] siankatabg:
Hello [MENTION=2376110]dorimanx[/MENTION].

I just want to inform you that Bump works perfect with kernels too.I manage to flash your bump'ed kernel using bump'ed TWRP recovery on stock 20G(fresh .kdz flashed with flashtool) without using Autorec to downgrade bootloader.I'm not saying you should use it, but just for information.
[G2 Android Development] ganggreen30:
Had sod on vs980 8.8 this morning sorry no log was rushing to work if it happens again will send log it was after sleeping all night
[G2 Android Development] Soured Lie:
Does anybody have a link for 7.1? I get bad battery drains with latest install. Lg d801
[G2 Android Development] duki994:
Don't mess with mdss (it rhymes) :)

A few more bugs, and there goes debug hell. Almost impossible to debug.

mdss fb0 overlay is always late in my logs
[G2 Android Development] dorimanx:
so it's booting on KK bootloader?

what about loki flash?

how did you flashed the kernel via recovery?
[G2 Android Development] berryman13:
Hey Dorimanx I have built the beta kernel for D800/1/2/3/4/etc.

I just noticed 8.9 was pushed. I will PM you my builds anyways so you can check them, if they check out then i will maintain D800 betas
[G2 Android Development] carlos67:
Erm, what changed from 8.8.2 beta to 8.9? Anything or just converted to stable release?
[G2 Android Development] dorimanx:
News Update!

14/11/14

Kernel 8.9

*Fixed Low Power mod code to prevent stuck in suspend.

*Merged updates to speed up CPU code.

*Restored BT driver updates.

*Restored LowMemKiller updates + fixes.

*Disabled ARCH POWER, may lead to SOD.

*Merged updates to main CPUFREQ driver.

*Removed mods to MDSS (LCD Panel driver) that caused BLACK screen on wakeup.

*Reduced overhead in Acpuclk driver, idea by @duki994

I am happy to report that now should be stable.

But test and see :)

Have fun.
[G2 Android Development] berryman13:
[MENTION=2376110]dorimanx[/MENTION],

I am building the latest betas and noticed 8.9 was pushed...but when I update my working folder to your repository it is still building releases that are regex tagged 8.8 - why isn't this getting changed?
[G2 Android Development] johnbeetee:
How about waiting for the official announcement ? :o
[G2 Android Development] berryman13:
Because it has already been added to the OP.....and thread title

Also,

14/11/14

Kernel 8.9

*Fixed Low Power mod code to prevent stuck in suspend.
*Merged updates to speed up CPU code.
*Restored BT driver updates.
*Restored LowMemKiller updates + fixes.
*Disabled ARCH POWER, may lead to SOD.
*Merged updates to main CPUFREQ driver.
*Removed mods to MDSS (LCD Panel driver) that caused BLACK screen on wakeup.
*Reduced overhead in Acpuclk driver, idea by @duki994

Updated OP with changelog, that's probably as official as the announcement will get...

I have been working on building non-maintained (D802) beta builds for D800 and others.

Your sig says you run 8.8.2 - cool. I want to also, but I don't have your device. So I built it myself.

So, my question still stands to dorimanx. Have the repos just not been pushed yet?
[G2 Android Development] markus4000:
Max GPU Frequency setting is not saved after reboot (at least on my D-802 running Pardus Classic). STweaks still says 100MHz when I open it but Synapse reports 450MHz.

When I change it in STweaks to a different value, save and change it back to 100MHz again and save it works as expected.

Tested on 8.9, working good so far.

btw, first time I flashed a version for a different device and I didn't immediately panic when I saw a black screen, yay :p
[G2 Android Development] blastagator:
Anyone else get SOD after first boot of last couple versions and then everything perfect after that? 8.9 did it to me also and smooth sailing since the very first one.

Awesome job dori :)
[G2 Android Development] dorimanx:
Nope,

Sent from my LG-D802
[G2 Android Development] Soured Lie:
SO... what exactly is synaps for aside from monitoring? Everytime I open it no matter what settings I use it says i need to hit cancel and that it is cancelling boot settings because of a crash or reboot even if I have not had a crash or reboot. Is it supposed to do this? It does it on default settings as well as any other profiles.
[G2 Android Development] xNotta:
In synapse go to the led settings and mark one of them then disable it.

That message should go away.

I made a post with this question in the Q&A thread and that was the solution that worked for me.