yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] RenderBroken:
I was able to set it to 1.7 with no issues. The only thing was Min freq imediately changed so I had to set it back down too. Then they both stuck fine. Not sure what happened to you.

I will keep that in mind. I am pretty pumped about the reboots. Once I am certain they are gone I can start on the rest. I also believe the settings I changed to be part of the reason for the sound issues in some cases. Can you tell me the settings you ran on R15? I was able to hit 35K on antutu last night (Not that I place a lot of stock in this) and that is the highest I have ever hit! Things to note in this build:

Hotplug Settings:

Now:

Boosted CPUS = 1

R15:

Boosted CPUS = 2

Since I had added an overhauled CPU-Boost I was worried about leaving it at two but now that I have revamped it so the boosting part of msm_hotplug is now actually handles by the CPU-Boost driver thanks to Neobuddy89's work. So If I were you I would change it to 2. because if you have the right tools running you will see that when you scroll or drop the share or anything like that only one core is online. If you open an app of change pages more cores would be hotplugged. If you change the setting to 2 then when you scroll or anything like that 2 cores would be online but when you are at idle it will go down to one core to save battery.

This is why I will be running with MSM_hotplug going forward. The user has COMPLETE control over the performance of their device!

If the reboots are resolved I will start testing special builds re-enabling the other C-States till I find the one causing all the heart ache. I am fairly certain the issue is with the Stand Alone Power Collapse but it could also be the retention state.
[G2 Android Development] bleached45:
Quick question, does R17 have sound control implemented yet?

My phone is my media player and that is important to me.

Thanks.
[G2 Android Development] mhajii210:
Sound distortion fixed (knock on wood)

So far everything is running great on R17 and D801 on Mahdi 8/17. So far no reboots and sound distortion appears to be fixed. I will test for another 72 hours and report. You're the best! Thank you for this awesome kernel!!!

mhajii210
[G2 Android Development] RenderBroken:
Yes it does ;)
[G2 Android Development] RenderBroken:
Did you used to get reboots often?
[G2 Android Development] mhajii210:
No reboots yet

I used to get a reboot every 3 days or so. Not very often so I have to test for a longer period of time.

mhajii210
[G2 Android Development] qwas7899:
Using Alegen w/ your latest. All seems well.
[G2 Android Development] phoenix_rizzen:
R17 running on Mahdi 20140817 on a D803 for about 8 hours now.

No issues to report. Lots of web browsing, email, Facebook, RSS reading, and listening to audio podcasts without any audio glitches, lockups, SoDs, or reboots.

Stability and performance are similar to R14 and R4, which were the only stable ones on my phone. R5-R13 were increasingly unstable.

Never tested R15-R16.

Keep up the good work! Looks like you're on the right path.

Typos courtesy of my LG G2 (D803) running Mahdi-ROM.
[G2 Android Development] 1ceb0x:
No issues on cm11 unofficial.No reboots or sods, phone wakes up quickly and i did a lot of stuff on my phone yesterday. The battery seems to go down quickly but it doesn't bother me. This kernel is like an alpha build now but running great anyway!

Thank you Render!
[G2 Android Development] RenderBroken:
I will probably enlist others for some reboot testing to see what power settings I can re-enable. There are more things I can do as well for battery savings. Now that the biggest hurdle is out of the way I can focus on them. I just wanted a solid base and it looks like I now have that.
[G2 Android Development] abby_nitewolf:
Running on Mahdi 8-17 with r17 and I'm getting massive reboots every few minutes.

Jk. :) It has been running smooth for 3 hours now. No reboots, no sod. Awesome work!!!
[G2 Android Development] Boot_Derran:
I wanna call it a SOD but idk. I rebooted it while screen was black but still on. But log here http://goo.gl/9IRwyy

Edit: D801, latest mahdi, R17. Been running it since release and only changed the read ahead speed to 1024 and increased sound gain in headphones
[G2 Android Development] mickskillz:
Render can this new version be used on spirit Rom? Is it based on same caf?
[G2 Android Development] bamonkey:
I don't place much into benchmarks either but thought I would try antutu scores after tweaking interactive a bit. Probably not as battery friendly but did get past 41k here. If battery drains quickly will probably revert to default. No reboots or sods on my device to report yet
[G2 Android Development] 1ceb0x:
What rom do you use?
[G2 Android Development] bamonkey:
Not sure if it's in my signature since I'm mobile but I'm on latest mahdi. Wish I had more info for tweaking but really I just make sure I start with a clean flash if I switch kernels then flash about 6 other files and then restore backups and do my setup that seems to not tax my device so much. Some of that is using tasker to make sure my device is only doing what i need it to do based on where I am or what I'm doing.
[G2 Android Development] RenderBroken:
I would imagine so, just try it. If not get back into recovery and flash a compatible kernel or re-flash the rom.
[G2 Android Development] RenderBroken:
This was the first thing I read this morning and my head nearly popped. lol I hope you feel bad oo cause my wife would have had to clean up the mess. I am glad this fixes the reboots. When I was building for the Moto G I was having similar issues and I would bet this is the cause.
[G2 Android Development] KiiKeEp:
Flashed R17, I miss Intelliactive Governor, and sometimes its hard to wake the device ??
[G2 Android Development] Matze060906:
I'm very happy to tell you that I had no reboots since 24 hours. And you know: I'm th master of reboots lol. Hope the reboots are gone forever. Great work, thanks...
[G2 Android Development] RenderBroken:
Hard to wake the device with power button or DT2W? I will be adding back intelliactive.

This is fantastic! Very glad to hear! Thanks for your patience and help in getting this resolved. I may enlist your help later. I want to re-enable some of the sleep states that I had turned off. I want to know if it was either retention or the idle_suspend power collapse that was the issue.

Retention is kinda like a light sleep state that would help during very light use. The other is the deepest sleep state we have.
[G2 Android Development] KiiKeEp:
thx Render
[G2 Android Development] Matze060906:
Sometimes Dt2w doesn't work for me. After flashing it works great a few hours. Power button works every time for me.

No problem. I'll test for you...
[G2 Android Development] fix-this!:
No reboots yet but tap to wake is still a bit buggy. Also quite a bit of stutter on 17 for me with aicp. Still would love to see zen and intelliactive back. Even a smartmax govenor.
[G2 Android Development] simon_lefisch:
No reboots in the last 24 hours on my VS980 running Mahdi and stock settings on R17 kernel. DT2W works great. No lag. Everything is smooth. Can't report on audio glitches/stutter as I never had them. Battery does drain a little faster than other versions but that's OK as I know the main prob to workout was the reboots. Otherwise, kernel is perfect.
[G2 Android Development] RenderBroken:
Zen is already back in my personal test build. I am working on intelliactive now. I am removing Optimax. And I am looking at adding SmartMax as well. Are you talking about Audio stutter? Does it happen while screen on or off? Thanks for your help.
[G2 Android Development] NEO2598:
We thank you for what you are doing.
[G2 Android Development] hamisgood:
I'm really looking forward to the F320 version! Really glad to see that the reboots have been eliminated =)
[G2 Android Development] Veliion:
Can anyone explain to me what the optimax kernel governor does?
[G2 Android Development] fix-this!:
No audio issues here. I mean just overall lag at times. Could be the aicp build to but never had that until r17. Yes, zen+smartmax would be kickass.
[G2 Android Development] RenderBroken:
change:

/sys/module/msm_hotplug/cpus_boosted from 1 to 2

This will greatly help with any lag you may be having. I will be changing this in the next build.
[G2 Android Development] Matze060906:
Will this not drain the battery more?
[G2 Android Development] RenderBroken:
only while screen is on. which you will have other cores onlined anyways, this just beats the hotplug to the punch.
[G2 Android Development] phoenix_rizzen:
Damn, had one reboot/lockup last night. Was listening to Podkicker Pro for an hour or so when it just stopped. Black screen, no notification LED. Didn't reboot or do anything. It was basically powered off. Waited for two minutes, and then had to hold the power button in for a long time to get it to power on again.

Grabbed logs via Syslog (attached).

No other issues to report; running nicely this morning.

Typos courtesy of my LG G2 (D803) running Mahdi-ROM.
[G2 Android Development] fix-this!:
Tried with root explorer, values wont stick after reboot.
[G2 Android Development] RenderBroken:
No they wont. That is because the "sysfs" is a temp file system. This is also why I will have to hard set it on my next build. But you can easily and quickly set it and just run with it til you reboot then set it again.
[G2 Android Development] Salamender:
Hi RenderBroken.

I have a request for you, can you make an other version of your Kernel with CAF sources to get compatibility with all CM based ROM like MIUI or CM11S by Vectus ?
[G2 Android Development] MaluNoPeleke:
R17 runs great, no reboots for me, too. Only the audio problems with Mahdi 08/17 but they even happen with Mahdi kernel.

It doesn't matter if the screen is on or off or if I increase the minimum frequency.
[G2 Android Development] fix-this!:
Had a reboot awhile ago. Shame. :( was browsing the internet.
[G2 Android Development] RenderBroken:
Not right now but I would like to in the future.

Logs?
[G2 Android Development] TDSJR:
I've had good luck increasing the Read Ahead Cache size. [MENTION=5438598]RenderBroken[/MENTION] Is there an equivalent processor configuration to mimic this effect?
[G2 Android Development] RenderBroken:
Can you explain further what you are talking about? I have not heard of this before. Thanks for the input though! I am always looking for solutions.
[G2 Android Development] mazroui:
just to pitch in , moved away from stock to Alegen's cm11... and this kernel...

Freshly installed and running version R 17 since yesterday and all i can say is its too smooth im guessing my battery is hating me XD

only had a couple systemui FC a couple of times changing from dalv to art but that got solved once the rom/kernel settled..

no Sod/Random reboots as of yet and will help test out user problems posted here...

for now no music problems what so ever, only cam got a few slowdowns other than that all is running very smoothly... charging tho is nowhere compared to stock and i know i saw fastcharge in OP somewhere, do i need to activate anything for it to run?

trying to configure optimax for a batt friendly environment but its still acting like ondemand in a way and no slowdowns yet

anyone working on tweaking the gov for more juice? wanna share profiles? hit me up

Great Work with the kernel render and wish u all the best
[G2 Android Development] RenderBroken:
THANKS! Welcome to the darkside! I didn't realize Ondemand had not been included in R17. It will be back in R18 along with

Intelliactive

HYPER

All IO Schedulers

Fast Charge will be added back in.

I did a rebase on new source so I had to re-add everything back in.

I will be getting rid of Optimax. I am not impressed with it and think it can be replaced. I am also looking into ways t increase batterylife as well.
[G2 Android Development] sai777:
No reboots whatsoever and battery life is pretty solid however, while I was browsing Chrome on my phone, my phone's system ui randomly restarted. Does it have to do with the kernel?
[G2 Android Development] mazroui:
Loving the darkside ever since the sgs1 :P except tho the g2 community is working hard on stock leaving little for the darkside but its moving fairly good now.. :highfive:

In no way am i requesting u add all that in just yet except for the basic govs maybe to stand on firm grounds, since i read the last 20 pages or so and guess were still fighting for stability. ( :fingers-crossed: hope i dont jinx myself n face crazy reboots/sods)

I sure hope we iron out the stability issues together as a community (loving the dedication from everyone and all the previous posts).

As for the new source rebase that should help a lot but much testing is needed too. Since optimax is leaving i'll switch over n try to squeez interactive for now :fingers-crossed:

all the kernel tweaking aside i have a Q in regards to Faux sound app or sound mods, which mod out there does everyone recommend for boosting phone speaker? i boosted V4A in every way possible and headphones r amazing but i guess i'll need more to match up with what i had back with dorimanx kernel... that thing gave boost beyond boost :p
[G2 Android Development] Dene_Bluesman:
Just wondering why no one has gone back to 7/29 mahdi with the current kernel, still running R15 on D803 without issues, 8/09 8/17 has the knock on issues and has been mentioned numerous times on this thread and the mahdi thread which one can assume its a rom issue and not a kernel one. Keep up up the great work [MENTION=5438598]RenderBroken[/MENTION] as always looking forward to the next version. I have follwing this thread since the day i heard of the first version and have flashed every version on 7/29 mahdi. no issues with knock on whatsoever, reboots yes on earlier versions, R17 has been solid, cheers! still partying lol
[G2 Android Development] simon_lefisch:
DT2W has been fine on my VS980 running Mahdi 8/17.

---------- Post added at 01:00 AM ---------- Previous post was at 12:52 AM ----------

@renderbroken, been running R17 for a little more than 24 hours. Solid build! No probs at all [emoji106]
[G2 Android Development] Matze060906:
[MENTION=5438598]RenderBroken[/MENTION]: I switched from wlan to mobile data for 2 hours. This time I lost 12% of battery life and the phone was all the time in my pocket. I think it's heavy. Any idea what I can do to stop the massive drain?
[G2 Android Development] Y. Heavenslaughter:
I cant download, the mediafire folder is empty on my device :/
[G2 Android Development] mazroui:
expect heavier drain from mobile data compared to wifi which is pretty standard but 12% in 2 hours could be anything using ur data in that period of time... check for wakelocks for apps running in the background... might wanna use Betterbatterystats or wakelock detector which work great in finding wakelocks and greenify for putting un-needed apps to sleep with screen off (currently testing the built in wakelock blocker- amazing thing having it built in alegens cm11 rom)

need more help with that ? pm me

---------- Post added at 01:22 PM ---------- Previous post was at 01:20 PM ----------

@simon_lefisch

very nice stats , any kernel tweaks or running default settings ?
[G2 Android Development] count_martin3z:
Allright, when reboots seems to be fixed with AlegenMod time to get back to my fav dev here :)

Thanks Zach for that you still want to fight and you didn't give up :)
[G2 Android Development] REV3NT3CH:
I know I've been working hard on NON stock stuff lol....over the course of the next week...everyone will be hearing a lot from me as let's just say...a revival is in the works as well as a couple other goodies that I'll be building and maintaining for....I believe I saw a few former rezound users in here haha...glad to be back with those few...I've been working with Render here lately as well...as we both are aiming for similar goals in terms of the best for g2
[G2 Android Development] mazroui:
wish u fellas all the best :highfive: , i sure will try my best n test it all i can to help :victory:

( non stock stuff ? :confused: ?? hmmmmm interesting :p )
[G2 Android Development] simon_lefisch:
All default settings. Wanted to make sure I didn't get any reboots before making any tweaks.
[G2 Android Development] mazroui:
just tested on laptop and g2 both show folders and files in them , tho i did get a pop up on the phone that asks for registering or something simply close that popup n click on the folders
[G2 Android Development] tholmes8291:
Yeah I'm one of those former Rezound users and I remember you from there. Looking forward to your work here.
[G2 Android Development] Y. Heavenslaughter:
Thanks that works :)
[G2 Android Development] RenderBroken:
SUPER POST!!!

There is probably some files where I could boost it straight out of the box. Yea, the G2 and its source is VERY picky about changes and you have to go in with a scalpel. I found that the tweak script I brought over from the Moto G was enabling low power states that were not stable for our phones. It is weird though becasue i had gotten them from Myfluxi on the N5 which is the same SoC. What this tells me is LG, has haevily modified the source for the G2 compared to AOSP on the N5. There is probably a reason for it too. Though I cannot say. I have heavily modified how interactive works. I would say that you get better response and battery than stock settings in OnDemand. See below:

echo 20000 1400000:40000 1700000:20000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay

echo 90 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load

echo 1190400 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq

echo 1 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy

echo 85 1500000:90 1800000:70 > /sys/devices/system/cpu/cpufreq/interactive/target_loads

echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time

echo 30000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate

echo 100000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor

echo 30000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack

echo 75 > /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load

echo 1036800 > /sys/devices/system/cpu/cpufreq/interactive/sync_freq

echo 1728000 > /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq

It is tuned to be reactive to what you are doing instead of just staying at max freq all the time.

Thanks! Yea something Rom side is not playing nice. If i get more time I will did into it.

Just wow . . .

Its tough to say when I see [MENTION=3288118]simon_lefisch[/MENTION] 's results. I would need more info. maybe low signal. Maybe just lots of push notifications at once coming through. I have 3 emails accounts I use for work along with 4 calendars I sync too. Sometimes depending on how busy I am the battery can drain faster than normal.

I forget but I think you need to look at mediafire in "Desktop" mode.
[G2 Android Development] Matze060906:
I'm using zooper widget pro. This shows me the location and weather. I've now set the location manually to see if this solves the problem. I had many wakelock with Google play services.

I'm using 2 email accounts and 3 calendar and always sync. I think this is not the problem.

Btw: no reboots since 48 hours. I think you fixed it...
[G2 Android Development] RenderBroken:
Glad to hear. I am not sure if you have heard but there is supposed to be an Xposed module to help with Google Play wakelocks.
[G2 Android Development] Matze060906:
Yeah, I'm running on it. This helps a bit, but a member here on this thread thought, that zooper is the reason for the massive wakelocks. I've set the location manually. I'll see if this helps and report after a few hours. Thanks for your help... [emoji2]
[G2 Android Development] jinetenocturno:
Hi guys, can i install it in my d802 with dirty unicorns? I read and i think yes but anybody can confirm it? Thanks very much
[G2 Android Development] ckyy:
I haven't had the chance to try your kernel since r3? But i wanted to thank you for your dedication.
[G2 Android Development] Boot_Derran:
DU probably hasn't been updated to 4.4 kernel source yet so in theory it shouldn't work. But omni just got updated to 4.4 kernel source so it's only a matter of time
[G2 Android Development] mazroui:
stupid me >_< didnt test the default settings on it before tuning, my settings are about the same settings with some lower hi speed load freqs and thresh.. but higher load percentage and still cant get it to heavy lag even on 1 core XD (i can sense some micro lag but nothing major)

got some wakelocks to put to sleep first and a strange reporting on systemui driving me crazy even tho bbs isnt reporting anything related to it, could be small things that r shown as systemui... dunno but still testing

anyways good luck with the upcoming version :victory:
[G2 Android Development] RenderBroken:
what rom?
[G2 Android Development] TDSJR:
If I have another kid, which I'm not, I'm naming him/her [MENTION=5438598]RenderBroken[/MENTION]. GREAT work! Thanks!
[G2 Android Development] bleached45:
Ren Der Broken.

I can go with that. Ren is a unique but kinda awesome name.
[G2 Android Development] mazroui:
[4.4.4][D802/0/1][ROM]Alegen Rom-temasek's Build - V7 [13/08]

im using a D802 incase anyone is wondering
[G2 Android Development] mhajii210:
R17 on D801 Mahdi ROM 8/17/14

Hi guys. I got a reboot after 48+ hours on R17. I was using Chrome with three tabs open, and it was loading a page when the phone rebooted. It may be a Chrome app issue since I've had Chrome cause a reboot on multiple ROMs and multiple kernels (stock Mahdi Kernel, Dorimanx and Render). It seems to happen when I have multiple tabs open and seemingly at random.

mhajii210
[G2 Android Development] Matze060906:
Which model do you have?
[G2 Android Development] mhajii210:
Model

I have a D801. I downloaded Syslog from the Play Store and uploaded the zip file it generated. Hopefully it's not too late to create the log.

mhajii210
[G2 Android Development] Matze060906:
Curious, on d802 it's fixed (I hope) and now it starts on other devices...
[G2 Android Development] RenderBroken:
Yea, this looks suspect:

mmc0: CMD52: Command CRC error

Some sort of corruption. So I would have to say that it is either your phone, or rom.
[G2 Android Development] mhajii210:
Corruption

Is it possible it was caused by Chrome? By phone do you mean a hardware issue? I hope not!

mhajii210
[G2 Android Development] simon_lefisch:
Trying using a different browser to verify. I never used Chrome. Always used the stock AOSP browser (on Mahdi) or Firefox. Never had any reboots with stock Mahdi kernel.
[G2 Android Development] mazroui:
might wanna start fresh ? dirty flashing usually causes data corruption since the problem is reproducable why not test ?
[G2 Android Development] thackoon:
Can anyone with a VS980 confirm whether wireless charging works with this kernel? Thanks in advance.
[G2 Android Development] NateK:
It works for me
[G2 Android Development] RenderBroken:
Uploading new builds now.

R18!!!

Thermal was not enabled by default so I am making it so.

I/O Scheds added: row, bfq, sio, fiops,zen, vr

FIOPS is the new default. Just best all around.

New Governors:

Ondemand added back in and has been updated

Intelliactive

HYPER

MSM_Hotplug: Set Boosted_CPUS to 2 changed from 1 in R17. This will only be while screen is on and should help with the micro stutter. If you are reading the screen and remain idle it will then go down to a single core. This is just to beat the calculation needed to online the 2nd core anyways.

Enabled some Low Power States: This should help it sleep deeper without the reboots again. If there are reboots I can just rebuild without them. Not a big deal but I need to test these first.

Also of course, there are other under the hood changes as well.
[G2 Android Development] thackoon:
Good to know. I didn't think it would since it's based on dr87's kernel.
[G2 Android Development] Matze060906:
Time to go to bed for me. First point of my to do list tomorrow: flashing R18...[emoji4]