yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] koboltzz:
Yeah very nice, fiops+Smartmax is topnotch imo. Anything new to VS980 build? I would be sooo excited if your kernel work on JackpotClavin's CM11.
[G2 Android Development] Matze060906:
I used optimax on on the built in kernel from liquid build 9/4. I had a very good battery life. I used it on blackbird kernel too and the battery life is very good too. That's the reason I ask, I'll test it on Your kernel. The battery life with your kernel (default settings R21) is near by the battery life with blackbird kernel, but I think it could be a little bit better. You're on the right way to build the best kernel for aosp roms and I want test different settings and give you feedback to help you. That's all what I can do.

Btw: I'm very happy that the fu***** reboots are gone.
[G2 Android Development] RenderBroken:
Lol thanks. I appreciate the help! Also you and me both!
[G2 Android Development] RenderBroken:
Not yet, I have not had time to download and extract the Ramdisk. Maybe I will remember this evening lol. Thanks!
[G2 Android Development] MaluNoPeleke:
Next random reboot, everything else is the same: https://www.dropbox.com/s/sjgxsqcz3dqusgk/2014-09-19_21.48.zip?dl=0

Edit: And a second one: https://www.dropbox.com/s/1clacpboayquisz/2014-09-20_07.57.zip?dl=0
[G2 Android Development] heleos:
[MENTION=5438598]RenderBroken[/MENTION] which governors have you tweaked? Looking for something battery friendly, currently trying ondemandplus
[G2 Android Development] Lawlrus:
Ondemand always works well for me. Its pretty good all around meaning screen on time and standby.

Of you do a lot with your phone like gamig and opening apps try interactive and intelliactive.

Sent from my LG-VS980
[G2 Android Development] Faakarna:
Does this kernel do the job on official cm 11?
[G2 Android Development] Lawlrus:
Official cm is 4.2 based. This kernel.is 4.4 based.

Sent from my LG-VS980
[G2 Android Development] bleached45:
I've read just about every page of this thread. Please Render, please put in the top of the first post that it does not currently work on official CM.

It is asked on just about every other page.
[G2 Android Development] RenderBroken:
Only Interactive and Ondemand right now. I plan on doing the rest very soon.

Not a bad idea.
[G2 Android Development] abby_nitewolf:
People still won't read it. Lol
[G2 Android Development] jesssiii:
Oh, this! ^^^ Please and thanks!

It's already on the first line or so of the OP! Even I saw it, and I'm an idiot?

VZW LG G2
[G2 Android Development] crnkoj:
So i gave another shot to the latest version of this kernel for my phone (d802). I wiped system/data/cache/dalvik, installed the latest mahdi rom (7/8) after that its patch and gapps and immediately after that the r2 version of this kernel. It booted fine, i installed android tuner pro to check teh cpu speeds and change governor if needed. i saw that this kernel uses 2 cores in idle as well on any of the governors i tested (ondemand, interactive, intellidemand, intelliactive, ondemandplus) and after chaging the governors a few times android tuner locked up again and the phone rebooted. So i gave it a second shot, wiped data/cache again, and used the free trickstermod app this time. Again i changed the governors, which all kept using 2 cores in total idle (i was under the impression that ondemand here uses only 1 core - much like the furnace kernel). Anyhow trickster mod didnt lock up/reboot the phone while changing governors, so the incompatibility is probably with android tuner (i will contact its developer as well). But as i was under the impression that certain governors in this kernel allow the use of only 1 core in idle, i was rather disappointed. Its not really documented in the op it can do that, but the general talk was about it in this and in mahdi threads.

Renderbokren thanks for the kernel, if it will be possible in time please implement a similar ondemand governor like furnace supports it, like it is now it seems less stable than the mahdi stock to me, while it uses the same governor tactics. i have tried furnace on the latest mahdi too, even though people suggest not to and it actually works and has the ondemand working with just one core online in idle. Please dont take this post the wrong way as im just reporting my observations.
[G2 Android Development] RenderBroken:
Its all good :)

I use a different hotplug driver than Furnace Kernel. I essentially used Furnace as a base because setting everything up from scratch would have taken forever. I contacted Savoca about it and he was cool with it just incase some were wondering. But My approach is definitely different than Savoca's and thats fine. Thats what makes Development awesome! I am certain that my approach is more efficient than Stock kernel even though it uses 2 cores online all the time. I have activated more PM sleep states than stock as well and have added more changes to support them. The argument (In general) is that leaving two cores online all the time reduces lag and battery drainage from hot(un)plugging the second core constantly.

Also keep in mind that my hotplug driver does not boost freqs, doesnt manipulate load, etc. It just hot(un)plugs cores. Thats it. It is entierly governor dependant. There is hardly any overhead. Becasue I like to discuss development, if anyone is interested, here is my hotplug driver (Falcon_hotplug) compared to stock QCOM MPDecision

https://github.com/RenderBroken/render_kernel_msm8974/blob/master/arch/arm/mach-msm/falcon_hotplug.c

https://github.com/RenderBroken/render_kernel_msm8974/blob/master/arch/arm/mach-msm/msm_mpdecision.c

Side note:

I would love for someone to let me know how the battery life was for stock Furnace, Mahdi, and the Stock LG Kernel. I haven't been around long enough to compare. If someone has any experience please chime in. Thanks!

In my experience with my phone, my kernel has been stable and efficient. I get great battery life and performance using my specially tuned interactive governor. The settings for it actually change depending on load. So instead of it just ramping straight to the top it takes the proper amount of time before doing so. However I am interested in such a function but need to figure out a way to do so without dropping the ball somewhere. I hope you give it some time and check it out. As always opinions are welcome here so let me know what you think. Especially coming from the kind of setup you like to run. Thanks for asking!

Render
[G2 Android Development] simon_lefisch:
[MENTION=5438598]RenderBroken[/MENTION], here's the battery life I got running your R1 kernel on Mahdi (6-28 build). Gonna flash the newest Mahdi in a bit and run stock for a bit, then run your kernel for comparison.

Gotta say, even tho your kernel is in its infancy, it runs great! Looking forward to watching it mature. Thanks again for giving our device another kernel option to use. Between you and [MENTION=5232783]dr87[/MENTION], there's no need to ever go back to stock [emoji106][emoji2]
[G2 Android Development] jeff5347:
Render I can say it must be a vanir thing for sound. Switched to lastest mahdi and installed r2 and I've got sound. Some reason vanir doesn't play nice. Anyways got it working and installed and all is good. Haven't had a chance to test battery so that's next. Thanks
[G2 Android Development] crnkoj:
Thanks for the in depth explanation. The thing why i would prefer a single core idle governor is that while im reading something in the browser/tapatalk/document or while i use the phone as a gps device for tracking my bike riding it doesnt need more than a single core at 300mhz, which sort of saves power in the long run, compared to two online cores at 300mhz. And yeah i have tried several kernels, stock on stock based roms, furnace on stock based roms, mahdi with stock kernel and with furnace kernel back when it worked and of all i had the best SOT and lowest drain during gps tracking with furnace on stock based roms and than on mahdi with furnace kernel. That was my experience, somehow now on all these new kernels i cant get more than 4 hours SOT, which i could before get 6+ and the battery shouldnt be damaged or anything as its only 3 months old.

Possibly you could implement a simple if clause option that can be set to use 1 or 2 cores in idle within your hotplug.

thanks again
[G2 Android Development] fix-this!:
The battery life on this kernel with aicp is out of this world good. Been off charge since 7am and its now 540pm and i just dropped to 99%. Granted i didnt use it much but wow!
[G2 Android Development] RenderBroken:
I am curious how your use case would work with intelli-plug for example (Furnace Hotplug of choice). I know when I used intelli-plug on my Moto G, it was like every time I touched the screen or scrolled in a direction or whatever, it would fire up a second and sometimes a third core. So if I just scrolled up a quick second it would hotplug core1 (Core0 is ALWAYS ON regardless) then if I am reading it would unplug core1. Then I scroll again and its back on. This is something I am looking to avoid. SO I am curious with your use case how well that would work and how intelli-plug hot(un)plugs the cores.

Also note that when the screen is off, all but Core0 are unplugged. I do have a version of this hotplug driver that will go down to 1 core and may bring it out to try out. Maybe it will improve battery life further. Who knows but I am willing to give it a shot in the near future.

Also keep in mind that I am not saying this at you and trying to school you. You seem knowledgeable so I am not trying to insult your intelligence. I just like to discuss things for those how read posts or who are following this thread. I really am trying to do something different. Rather than just building, releasing and then fix bugs, I want to teach others and instigate discussion.
[G2 Android Development] RenderBroken:
Danka :D
[G2 Android Development] 1ceb0x:
Totally agree with you! That's actually a waste of battery life to plug/unplug, ramp up when you just scroll your screen. The current implementation right now is top notch and it does its job beautifully saving battery life by using the CPUs when it will actually need them.

I hope this will not change because I really like how this kernel performs and while I tried dorimanx, savoca, dr87 kernel - at the end of the day this is just better in my opinion.
[G2 Android Development] simon_lefisch:
+1 to that. That's what I was trying to say in the Mahdi thread.
[G2 Android Development] Andrew_han:
Not a kernel Dev so forgive me if this doesn't contribute. I agree that it seems wasteful to constantly turn on and off the second core when just scrolling. To improve battery life, i've heard dorimanx has some way of disabling drivers while the screen is off to keep power minimal when t he phone is in your pocket. Any way to implement something like that? His kernel always gave me great battery life on stock, now that I'm on mahdi yours has been the best.
[G2 Android Development] 1ceb0x:
if it is best, why you want to change it? what is not broken, don't change. this is the second release. I am sure Render will add more things to this kernel in order to make it even more better than it is. I usually get 6 to 7 hours of SOT on this kernel so it is already a beast.
[G2 Android Development] :
Just wondering what the best governor /io combo is for this... I am running it on the latest Gummy... Thanks to the developer for this kernel :)
[G2 Android Development] 1ceb0x:
Stock settings:)
[G2 Android Development] RenderBroken:
I am always looking for things to try. I will look into it but I believe he uses some extensive scripting. At least thats what I remember about his S2 Kernel. BUt I am always looking for simple ways to get the job done. But still worth a look. Thanks for the suggestion!
[G2 Android Development] Chris Hansen:
Just wanted to say, this kernel seems pretty awesome so far, going to test out its battery life today on Mahdi 7/8.

I did have 2 SODs yesterday, will try to get a log if it happens again.
[G2 Android Development] insomniakAD:
Really looking forward to using this kernel with all the great feedback on battery life. I flashed it yesterday and got a reboot within five minutes. Then had another reboot later that evening. I'll provide more logs if they happen but here's the one of the first reboot.
[G2 Android Development] RenderBroken:
Great info! Love the discussion. I know using Trickster and the default GPU governor of Simple_Ondemand I usually stay at 200MHz. Even Powersave stays at 200MHz so not sure what going on for you. What App you using to find your GPU freq? Also you are completely right. This SoC is MILES ahead of the Snap 400 in the Moto G. I love this phone! lol The other big difference is the screen resolution between the two devices. So we have to keep that in mind when using apps or browsing and such. So if we were to adjust hotplugging values so that Core0 essentially stays on longer before hotplugging Core1, I worry that there "could" be lag in between during certain heavy load cases where the workload jumps up rather fast. But I say this hypothetically and don't have any experience with this phone to compare with. I have thought about doing what you suggested before. I do have a modified version of my hotplug driver that will go down to one core while keeping the spirit of Keep It Simple Stupid. May try it out in the near future or release a test build and place in in my Beta Folder for those who want to try it. You can do so and report back what you think.

Just because you have been respectful and helpful I will build one for you shortly. It will also have some additions for R3. In regards to my next few releases, I am pretty much bringing up certain aspects of the kernels different parts first before I bring in much more features. (Examples: Sheduler, Power Management, CPUFREQ) Also note that the reason Fast charge was not in R2 for yous guys was I had not updated the Defconfigs for all 7 variants. Just the D800 Defconfig while testing so the next build will have Fast Charge for everyone.
[G2 Android Development] RenderBroken:
I am alittle confused. First Both logs appear to be the exact same Second the logs are not even for my kernel:

Linux version 3.4.0 (drgravy@drgravy-i7) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Thu Sep 11 21:47:51 CDT 2014

Example of mine:

Linux version 3.4.103-render-g956a110 (RenderBroken@B14CK70P) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG hg+default-9321d9d7af9b - Linaro GCC 2014.04) )

So both of these are from the kernel of the Rom you are using by DrGravy I believe? But there is definitely an issue going on with his build and believe it starts with this:

[ 5.079089 / 03-16 07:07:12.650] init: Unable to open persistent property directory /data/property errno: 2

[ 5.080260 / 03-16 07:07:12.650] android_usb android0: gadget enable(0)

[ 5.080509 / 03-16 07:07:12.650] android_usb android0: gadget enable(1)

[ 5.089211 / 03-16 07:07:12.660] healthd: wakealarm_init: timerfd_create failed
[G2 Android Development] bleached45:
That is a new addition. I hope people see it.
[G2 Android Development] Lazy79:
[MENTION=5438598]RenderBroken[/MENTION] just wanna inform you that I finally managed it to compile the source with -Ofast (-DNODEBUG etc) and sabermod 4.10 toolchain! Strike! :) I reverted everything, went back to the complete original source, changed the Makefile step by step and tried to build it every time without modifying the defconfig. Finally, it works. Now, I have to apply my stuff at the defconfig and some other things by doing the same, step by step, However, it is great that it compiled now! Thanks a lot for this source :)
[G2 Android Development] frenchy714:
Just flashed r21, I'm on Deviant Zone BTW, very smooth. Just dled Synapse but don't know what a lot of these options do. Anyone have some good settings for r21 using Synapse?
[G2 Android Development] Voltaine:
These are mine (only the ones I've changed)

Be careful with the undervolt and the c states
[G2 Android Development] frenchy714:
Thanks. Run into any issues with retention checked?
[G2 Android Development] Voltaine:
I've personally never had issues (reboots,....) at all. But you got to try for yourself
[G2 Android Development] frenchy714:
Fair enough. Thanks again.
[G2 Android Development] NEO2598:
Clean flashed on latest Mahdi. All seems ok.
[G2 Android Development] MaluNoPeleke:
That is really strange because I use Mahdi ROM and your kernel, will flash it again to make sure everything is like it should.
[G2 Android Development] DrugsBunny:
HAving issues with r21 on d802 and liquid smooth rom whenever i put powersave on 2 the phone goes really slow and when i type or do anything theres lots of lag! :( everything is fine when i turn it off
[G2 Android Development] Matze060906:
Do you have latest liquid smooth build? I'm on this rom too running R21 (d802). I've no problems with powersave on 2 with scrolling...
[G2 Android Development] 1ceb0x:
lol..... that's not an issue. your phone cannot support your current load when you set powersave hence you get lag.

restore it back up and done. Render exposed more settings to bring power to the power users. Your post is not a real bug report, it is just an observation but not "an issue".
[G2 Android Development] veryjo:
I use Vanir Rom and Render-D802-R21.

Unfortunately I have no sound.

What can i do?
[G2 Android Development] RenderBroken:
Powersave mode is deprecated and should be longer be used. Mainline Linux kernel devs recognized that it is causing other unseen issues and needs to be replaced. This is why I no longer use it or enable it by default.

Vanir must have changed something on their end to make it not compatible with this kernel. If its sound then that's a bigger issue and just a quick fix. I don't use it but maybe another Vanir user can chime in. I do know they have some sort of audio files you can flash that fixes some issue but don't know if it's related.
[G2 Android Development] jjlyons:
Vanir uses LG audio in the rom and kernel, so I think that the use of N5 audio in this kernel messes with that audio setup. The audio file flash is for Bart's Dori kernel to be used on roms that have N5 audio, but I remember hearing that still has issues sometimes also.
[G2 Android Development] Matze060906:
[MENTION=5438598]RenderBroken[/MENTION]: Just installed synapse and take a look into the app: wtf! Before I change anything, I have to google what is the effect of the changes. To much stuff for an old guy like me... [emoji15]
[G2 Android Development] DrugsBunny:
ah okay thanks for the answer ill keep it off ^^ everything running fine so far
[G2 Android Development] mazroui:
Wonder if anyone tried the speaker volume boost I pushed it all the way to 10 but noti/ringtones volume is not affected...

Hmmm wait a sec.. Nothing is affected really..
[G2 Android Development] BlakeSm:
[MENTION=5438598]RenderBroken[/MENTION]

Reboot while typing in the Play Store. Mahdi 9/20, r21. Synapse settings: CPU Multicore Power Saving "Enabled", C1 (Retention) is checked. Should I undo both of these?
[G2 Android Development] RenderBroken:
I know! Lol but I have faith in you. Good news is you don't have to use Synapse. That is really for the power users. But I bet with a little bit of Google you will be right at home.

its kinda stuck in limbo right now. I will be working on audio if not in the next release, the one after.

I would. Just see if it is more stable for you. Thanks!
[G2 Android Development] RenderBroken:
Damn mobile app with your double posting bs lol sorry gents
[G2 Android Development] undeadking:
Just flashed with the new Beanstalk release VS980... So weird that your kernel has worked multiple CM roms- so far so good
[G2 Android Development] NEO2598:
Is it ok if I use performance control? (per app settings of CPU max/min speed and others)
[G2 Android Development] RenderBroken:
Should be fine. You can use whatever tuning program you like. But I am not sure if that is the one that has been kinda weird. Isnt that the same as Kernel Tweaker? I dont remember.
[G2 Android Development] NEO2598:
No, it is a xposed module that allows you to set profiles for each app(min/max freq, Governor, GPU frequency).
[G2 Android Development] RenderBroken:
Ah I see, yea it should be fine. All you can do is try. Thanks for letting me know!
[G2 Android Development] NEO2598:
No problem. The app itself works. I just wanted to know if there is anything bad that can happen.
[G2 Android Development] bleached45:
I used it with older versions and mahdi. I didn't notice any adverse effects.
[G2 Android Development] hovanhuang:
Im on mahdi 9/20. Chrome seems delay and freeze sometime? Anybody has the same issue? Is that a kernel setting issue? Or rom? Or chromes?
[G2 Android Development] hovanhuang:
1 SOD on R21. Mahdi 9/20. Is that a setting issue. Other time runs great. Will continue run and test.
[G2 Android Development] RenderBroken:
Did you make any changes to the kernel settings? Also a log would help. Thanks!
[G2 Android Development] hovanhuang:
Sorry didn't have logcat running.

Mod couple settings in synapse.

1. enable multicore power saving

2. Max CPUs Boosted = 1

3. Boost Lock Duration = 2024ms

4. Down Lock Duration = 500ms

5. Sync Threshold = 1574MHz

6. Input Boost Frequency = 1036 Mhz

7. Hotplug Boost = checked.

I think that's it.
[G2 Android Development] 93fuelslut:
Anybody here running Mahdi vs980 and got better battery life on render ?

sent from your moms phone
[G2 Android Development] goast:
You don't need a log for reboots just last.ksmg that's in sys/proc folder I believe

Edit: it's in the root of you storage in Proc folder you'll see the proc folder on the same screen as the system folder and all that stuff
[G2 Android Development] RenderBroken:
Those should not be an issue. Maybe Multi Core powersaving is being nefarious.

You are right! Thanks for jumping in!

Also you can use an app from the play store called syslog. It just makes gathering logs way easier.
[G2 Android Development] goast:
I helped a kernel developer on my lg og get his kernel up to par so that was what he taught me lol

Edit: that method is for random reboots
[G2 Android Development] 1ceb0x:
Nice... at least use [ HIDE] [/ HIDE] to hide the ****load of lines under a spoiler.....
[G2 Android Development] goast:
[MENTION=2640432]hovanhuang[/MENTION] next time just upload to dropbox or something like it and share the link but that is what he needed
[G2 Android Development] hovanhuang:
Will do

---------- Post added at 06:08 AM ---------- Previous post was at 06:07 AM ----------

Thanks for the tips
[G2 Android Development] jriv:
I can't get sound increase to stick with synapse always lowers to default a couple minutes later after I put it at ten
[G2 Android Development] blacklight1025:
Did you enable the lock option on the sound tables
[G2 Android Development] jriv:
Yes just reverts after a minute or 2
[G2 Android Development] blacklight1025:
Mine sticks. Did you click the check at the top? Maybe get clearing cache? Maybe edit the audio xml?
[G2 Android Development] bleached45:
Do you have any other apps that could be interfering? Trickster has sound mods, or faux sound? Do you have gain settings touched in viper?
[G2 Android Development] RenderBroken:
Yea sound is not quite up to par yet. The biggest issue with Sound is I am using N5 source that is kinda hacked cleanly to make it work for the G2. Now add in the G2's necessary changes and it gets complicated. I will be updating/upgrading sound and sound control in the next few releases.

Lastly, sorry I have not been very active like normal. Just have some heavy crap going on so this will take a back seat for now but I should be back at it sometime next week. Thanks guys for the ongoing support and love of this kernel.

Kind Regards,

Zachariah
[G2 Android Development] slebit:
I use r21 with latest liquidsmooth. Working really nicely together!
[G2 Android Development] Faakarna:
Will it work together with ehndroid rom?