yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] RenderBroken:
So far in R6:

Sound Control Locking mechanism works automatically now! Yea!

Slimbus Overclocked and optimized - Should further increase sound quality!

Kexec Hardboot patched in

Underclocking

Ultra Conservative tuned (yet with no lag somehow?! lol)

Setup CONFIG_MSM_RUN_QUEUE_STATS_BE_CONSERVATIVE (Essentially hot-plugging occurs when your run-queue aka load level gets to a certain level. What this new options does is make the calculation more conservative. TL DR Should help increasing batter performance)

Oh and f2fs. (Finishing scripts to auto change fstab to mount partitions properly and automatically depending on whether you have EXT4 or F2FS!)

I may add something else in last minute, WHO KNOWS! Also I will be working on R26 for KK as well such ass:

Sound Control Locking

Slimbus Overclocked and optimized

Setup CONFIG_MSM_RUN_QUEUE_STATS_BE_CONSERVATIVE

F2FS (ppl have been asking forever for this and have been asking nicely! Time to reward that!)

LP-R6 s almost done and KK-R26 is mapped out and should be easy enough to complete.
[G2 Android Development] jasonj711:
Awesome can't wait til it's done! If it is out before I go to bed I'll test it out some and tomorrow have plenty of time to test and stress test it see how it runs and let u know.
[G2 Android Development] II_DiE_4:
Exciting.

I wanted to try F2FS. Can you please write a quick howto? What partitions should change into f2fs and also do we need to modified the rom's update-script?

Thanks and Merry Christmas.
[G2 Android Development] luiseteyo:
Wow... Exciting update, really thanks, waiting for this bacon update lol. Late Merry Christmas to all!!
[G2 Android Development] Maritus1:
+1 or can you give us a link? Thanks!

Merry Christmas to all you guys.
[G2 Android Development] marchino123:
When will next release?
[G2 Android Development] abdel12345:
Whenever renderbroken decides to release it:D. Just be patient. Don't worry everyones just as excited as you :rolleyes: but no ETA's so we just gotta be patient

Sent from my VS980 4G
[G2 Android Development] RenderBroken:
Its actually pretty simple. MY understanding is the Rom has to support it, Secondly you just need a compatible recovery to wipe/reformat certain partitions to F2FS. I will try to come up with something more concrete but that's the process.
[G2 Android Development] jasonj711:
Yea from what I have researched haven't done it yet.

1.rom and kernel and recovery all have to support f2fs. I am not sure if lollipop supports it or not need to do some more digging and ask in cm thread about it. The new twrp supports it and now render kernel will too. Just depends on rom.

2. U boot into recovery and go to wipe-advanced wipe-select data, system, and cache-format to f2fs.

So say it is lil fast in some aspects while slower then others. Will have to find someone with a LG g2 that has f2fs that can weight in on that. The stuff I read was for a different phone.
[G2 Android Development] RenderBroken:
You are correct, I am not 100% sure but I believe I heard from someone reliable that CM12 has support for it. I do know that the OSE Rom I have been a part of has support for it. Regardless it should go without saying that I don't hold ANY responsibility if someone borks their phone by not doing enough research and being comfortable with the process.
[G2 Android Development] jasonj711:
Yea sucks resurrection rom lollipop doesn't support f2fs. Otherwise I would give it a try.
[G2 Android Development] heleos:
I read somewhere that there is a format option you CANNOT use with f2fs or it will cause problems. I believe its the "rm - rf" option but definitely don't quote me on that without making sure
[G2 Android Development] Hid3rs:
Did you have any time to take a look at the camera stuff (dng) I showed you a couple days ago? I took some pics during the holiday, and indoor photos are mostly meh...

I tried to get raw shooting to work on Lollipop; I copied some libs, edited build.prop, etc, but I haven't had any success unfortunately, so my only hope is you.
[G2 Android Development] RenderBroken:
I do know you cannot have encryption and F2FS at the same time right now.

I looked but haven't found anything useful. I am looking into some out of the box solutions for this and a few other things but we will see.
[G2 Android Development] Hid3rs:
Would you mind to elaborate? I'm just curious to hear what you came up with as I have been reading and googlin' for hours, but in the end, I still have no idea how we could get great photo quality on these ROMs.
[G2 Android Development] RenderBroken:
One thing I am looking at is using recompiled lib/binary files that are copied into place when flashing my kernel. Now will this help I am not sure. It will bring in some other cool things I am wanting to try but i think I remember seeing something about camera lib files before. I have to look for it again but as I said, I am not really sure.
[G2 Android Development] r03ter:
With all that comes some love to the F320 users .... External SDcard fixed and I think [MENTION=5438598]RenderBroken[/MENTION] has baked more Xmas surprises too!
[G2 Android Development] luiseteyo:
Hey, [MENTION=5438598]RenderBroken[/MENTION], is it possible that bacon is causing mediaserver wakelock? I googled it and there are some posts in xda that talk about it...

Anyway thanks, this kernel is just AMAZING. If u could do something with camera I would start thinking u are god...seriously
[G2 Android Development] schwem:
I've been using bacon as well and better battery stats shows media server wakelock high percentage! You think this may be contributing factor and if so which other governor can we use to save battery without producing lag? I try powersave gov but I never had so much lag on a phone since my optimus s on sprint a long while ago! Any info would help! I don't play games so I just need a gov thats good for battery! On kitkat I was using alucard on dorimanx and it was near perfect.
[G2 Android Development] TDSJR:
[MENTION=4311896]luiseteyo[/MENTION] [MENTION=6089420]schwem[/MENTION]

I've been using bacon, well at least on cores 1 & 2, and in the last charge I got 40 hours of up time with 4 hrs SOT. There were some other tweaks but, obviously no wakelocks. I had used Alucard, on AOSP Dorimanx, and my configuration is as close to that as possible.
[G2 Android Development] jesssiii:
Render tweeks the interactive governor for better battery, might try that.

LG G2 VS980
[G2 Android Development] BoostRoid:
I never report things like this but I just got the best SOT of any phone I've owned. I used the stock kernel settings plus maybe one or two tweaks and I've achieved 7hrs and 30mins SOT on 31hrs battery life. Amazing. I guess having airplane mode active and running on WiFi exclusively (I'm on vacation) helps. But still amazing. Thanks Render.
[G2 Android Development] schwem:
Will do! Thanks. The post above says they get great battery from bacon as I do too but not 4 hrs sot or 40 hrs on a charge! I tweaked cpu to 1,9 ghz and gpu to 320 but havent really changed anything else! Any suggestions?
[G2 Android Development] Lycidias:
Hey guys, is this kernel using asynchron cpu Control?

Thx

D802
[G2 Android Development] phoenix_rizzen:
That is correct. That option doesn't actually format things with a new filesystem; it just deletes everything from the existing filesystem.

Never understood why that was even an option to begin with.

Typos courtesy of my Liquified LG G2 (D803).
[G2 Android Development] RenderBroken:
Interesting . . . Also dont even try to use your phone while using Powersave Governor. That will keep your phone on the lowest freq ALL the time.

No but something similar. I am using msm_limiter that has that type of function built in. You can set the governor per core.

Thanks for the info!
[G2 Android Development] schwem:
Yeah I found out the hard way! Phone is not functional on powersave Gov! Haha we live and learn!
[G2 Android Development] luiseteyo:
Please, dont misunderstand me, the kernel is great and i have never had a battery life similar to this, I am very thankful for this kernel.

However, the aim of any dev thread is to solve bugs and introducing mods to achieve perfection, in a ROM or a Kernel.

At the end i could stop the wakelock by wiping cache and dalvik.
[G2 Android Development] jabbarh123:
Cheers.
[G2 Android Development] r00sick:
Good. I got Trickster Mod and I can't get what to switch?
[G2 Android Development] r03ter:
Cannot find F320 version on the mediafire :?

r03ter - LG F320S
[G2 Android Development] Fuse8499:
Thanks for quick response. Always nice to see new kernels! I'll keep a look out for updates!
[G2 Android Development] crnkoj:
Gonna try this on Mahdi d802,thanks.
[G2 Android Development] LOBBS:
What is the max supported frequency for this kernel? D801/JDI here.
[G2 Android Development] Raagh:
Hey render is the new version without oc ready? I cant find it :). Day 3 with your test kernel(loving it, allthough i think intellimand was giving me issues, now im using it stock and testing)

Sent from my D806
[G2 Android Development] RenderBroken:
OK it looks like I was able to finally get the new loki script to work so hopefully I don't need to build panel variants along with Carrier variants. That would be like 12 kernels each build and I like to build often. So now I plan on adding in some of the changes I wanted to add for the first official release (r1)
[G2 Android Development] mzfckr993:
Has anyone experimented with the governor or the I/O scheduler or is it best to leave it stock?
[G2 Android Development] reas0n:
[MENTION=5438598]RenderBroken[/MENTION] I'd advice You to not to share this Personal Test Files folder, someone can be too curious, flash it, break things and blame You for nothing..

Oh and check my Feature Request please :)
[G2 Android Development] Raagh:
I tried intellidemand and had one hotboot(but im still not sure if it was intellidemand or powercore saving set to 1), so now im full stock and i ll try chaging one option at a time and testing every change( like when you oc a computer :) ahahah)

Sent from my D806
[G2 Android Development] bps119:
So, is this oc'd from the get go, or just has the ability to oc?
[G2 Android Development] Raagh:
Ability to oc, but from what render said. It ll be removed. Dr87 also removed oc from his kernel.

If you give the ability to oc, the cpu gets more voltage even if you re not using the oc. Also oc in this phone its stupid(2,26 quadcore really?) and dangerous( its stated that this phone has heating issues, why increase the danger?)

Sent from my D806
[G2 Android Development] RenderBroken:
Thanks, It was not supposed to be so good catch :) Remind me your feature request?
[G2 Android Development] Raagh:
Sorry to bother you, but it d be nice to have the possibility to set only 2 cores on touch like simplekernel(stock mahdi kernel). If its possible :)

Sent from my D806
[G2 Android Development] frenchy714:
+1
[G2 Android Development] BlakeSm:
So many governor options after only being used to 2 on Mahdi...which one is the best mix of battery and performance?
[G2 Android Development] RenderBroken:
AHHHHGGG! Why you bothering me!? lol j/k

I am confused by what you are asking because right now, 2 cores are always online. Then if needed it with hotplug another core. Are you wanting more performance or what? Just let me know and I will see what I can do or explain why not.

The default settings are what I would recommend. Interactive setup the special way I have it setup makes it the best option for performance + battery savings. Next build will have more GPU governors so you can really get into some battery savings there too.
[G2 Android Development] Raagh:
Simple kernel has an option to set up how many cores you want online when you touch the screen, now that i think of it maybe with your hotplug this is not needed :),

Cant wait for next build, start refreshing non stop ahaahha

Sent from my D806
[G2 Android Development] RenderBroken:
Ok thanks for explaining. Yea that would not be needed for my kernel. I am about to head out to watch some fireworks in a bit but when I come back EVERYONE GETS A BUILD!! Its like christmas for all!! Except Stock Lovers . . .I need to make more changes before building those so for now it will just be AOSP users who will benefit. Sorry Stock Lovers :( But I will get to yall soon.
[G2 Android Development] Raagh:
If you have some time then i could ask you some things? I think i ll setup my ubuntu enviroment again and start building mahdi directly with your kernel, i can maybe learn some few thing about the android world :)

Sent from my D806
[G2 Android Development] Lazy79:
Tomorrow's build of Slim will be finally kk based kernel-wise.
[G2 Android Development] Veliion:
Thanks for the help guys!
[G2 Android Development] undeadking:
Sweet! Glad to hear its working for Carbon. Really weird since its based off of CM. Oh well :) I wont knock it![/QUOTE]

Ive successfully flashed with Carbon latest nightly, and C-Rom latest nightly... Both CM based lol
[G2 Android Development] Raagh:
Ive successfully flashed with Carbon latest nightly, and C-Rom latest nightly... Both CM based lol

They are based of cm but they been updated to full kk kernel and blobs using dr87 method. The same mahdi uses :)
[G2 Android Development] RenderBroken:
Cool! Good to know. I hope more follow suite!
[G2 Android Development] bleached45:
Hey all. I have a quick question. Does the analog poweramp in fauxsound/trickster work for anybody else? The digital gain settings all work, but I don't hear anything after changing the analog gain. I'm on the latest Carbon nightly 7/13 with Render R2 on the D800. I have no idea which audio drivers Carbon uses anymore. That may affect it. Sound works everywhere though on Render (it may be a little loud, I'm not sure). I do use Viper4Android, but I uninstalled the driver to test the analog settings. Is it just me? Is it carbon? Thanks.
[G2 Android Development] RenderBroken:
Hey guys,

Sorry I have been swamped lately. I know I said I Would be able to at least get a test build out but I have been playing Fireman and putting out fires for the past few days. Personal tests have been outstanding! I just had my first reboot today but it was caused by the Modem so there is not much that can be done on that front though I am always looking for a solution. I still plan on releasing at least a test build VERY soon. I want to see how well it works for the masses. This would be a real test. Thanks guys for your interests. Hopefully we can put the reboot issue behind us and move onto more awesomeness!

Zachariah
[G2 Android Development] mistah_mumford:
That's great news [MENTION=5438598]RenderBroken[/MENTION]! I was recently introduced to the kernel by [MENTION=3288118]simon_lefisch[/MENTION] and have only experienced one reboot thus far! Very pleased!
[G2 Android Development] simon_lefisch:
[MENTION=5438598]RenderBroken[/MENTION], just had another reboot. I turned the screen on and changed my profile (I have a profile setup for when I leave my house to turn off the WiFi), turned the screen off, then went to turn it back on for something else. Wouldn't wake up, so of rebooted. Log below

http://goo.gl/tEqG2j
[G2 Android Development] fix-this!:
Still running good here. Battery has been a bit worse since i updated to the newest aicp nightly but still overall damn good.
[G2 Android Development] RenderBroken:
You think it is just the Rom attributing to the extra battery drain?

I should continue building tomorrow for those that are interested. I have a client that wants to sync 1.3TBs across a 1Mb VPN and it keeps failing for some reason lol. I wonder why! So it has been pretty crazy lately . . . But I will get back on track very soon. I am still pretty impressed with the stability and performance of this test build.
[G2 Android Development] simon_lefisch:
I can test on vs980
[G2 Android Development] 1ceb0x:
still interested. I am back on this kernel after I tried the aosp dorimanx.. I realized it has too many problems with making the sound to work good so I just dropped it. I moved to intellidemand governor and seems pretty good so far.

[MENTION=5438598]RenderBroken[/MENTION], you said that having over clock steps will increase the voltages even if you do not overclock. What about undervolting? I see we have 96 MHz step :)
[G2 Android Development] RenderBroken:
No, this issue is not present when Underclocking, Glad to have you back ;)
[G2 Android Development] bleached45:
I obviously don't know as much as Render (and I may be reading your question wrong), but I had read that underclocking this cpu is somewhat counterintuitive. It just increases the amount of work the cpu has to do to get to a responsive state. I doubt there is much you can do at such a low speed and it will spend more time jumping up.

I know from personal experience that my device wasn't as stable with that underclock. I had more SoDs.

But again, that's just me. And I have no links to more credible sources... So take it for what it is worth.
[G2 Android Development] 1ceb0x:
I understand your point of view but then again, the stock kernel doesn't have 300 MHz step as you probably run your phone now :). I am now in testing phases, trying to find more efficient ways to squeeze even more battery life out of this phone. the phone is pretty responsive and it has no problems from waking up or doing specific tasks. I am monitoring the CPU and if it jumps like crazy ofc it will not be good :). thanks for your post!
[G2 Android Development] jamesd1085:
One step down from 300 seems to be stable and helps with battery life...but all the way down to 96 causes random reboots, sod issues and worse battery life...I would love to have a bit of underclock on mahdi...
[G2 Android Development] 1ceb0x:
Have you experienced those?

I haven't.. maybe i am lucky.

As for the battery - i am still testing. It might mean worse battery life than a 300 mhz step.

After this i will also want to try a bigger step than 300 mhz (maybe 1 ghz like stock kernel) to see how that goes. Might also save battery (in my thinking) but i will suffer from hotter device.

Stats so far:

[IMG="stats"]http://xdaforums.com/attachment.php?attachmentid=2854047&stc=1&d=1405483016[/IMG]

What's more interested to see in this screenshot is that the max step that i have set: 1.9 ghz - it is used only for 2-3 minutes from a total of 12 hours :) The phone goes up until 1.7 ghz on 'browsing' mode (no games) and this with intellidemand governor.

Great job [MENTION=5438598]RenderBroken[/MENTION]!
[G2 Android Development] jamesd1085:
What app is that?
[G2 Android Development] 1ceb0x:
Android Tuner and Perfmon in the corner.
[G2 Android Development] fix-this!:
waiting patiently for R6.
[G2 Android Development] schwem:
As are we all!
[G2 Android Development] abdel12345:
Lol don't post that your waiting patiently. It makes it look like your actually impatient haha.

Sent from my VS980 4G
[G2 Android Development] RenderBroken:
OK, it should be done now. I am just testing the f2fs scripting. If anyone wanted to test f2fs let me know your results. Right now I just want it to mount all as ext4 via scripts and just have the ability to use f2fs.
[G2 Android Development] jasonj711:
Wish I was at home to make full backup of my phone or I would switch over to f2fs and test it out for u. Hope someone helps u test it out. If Noone does by tomorrow I look into it for ya. Won't be able til late tomorrow due to finally getting home tonight and gotta finally do my families Christmas. Just let me know if u find someone to test it.
[G2 Android Development] RenderBroken:
All tested fine! That is a relief! lol So the VERY LAST thing I am working on is Profiles in Synapse. I noticed where the code is not working but dont know why I dont have a certain directory that its looking for. I have enlisted some help and hopefully they can point me in the right direction. If not, I will proceed with releasing R6 without it for the time being.

Some new things I added since:

Hyper and Optimax governor

Tweaked Intelliplug slightly - Looked into why profiles are not working. I did find that it would adjust settings but would not change number of max cores. In the mean time you can manually set the Max # of cores.

Added Underclocking

Added Kexec Hardboot Patch by request

SMP/kthread optimizations - kthread stands for Kernel Threads fyi. It is very important with task handling and such.

CPUFreq Optimizations.
[G2 Android Development] luv2increase:
Can't wait!!!
[G2 Android Development] Floodland:
In order to make quick tests with F2FS, you can format cache partition using it and test any ROM without additional changes. If the system/kernel cannot mount the cache FS, the ROM will boot, but most programs will fail to load. If that is the case, just entering recovery and switching back will be enough to return to normality [emoji6]
[G2 Android Development] RenderBroken:
Good idea. I will give it a shot. So far the scripts work fine so I am pretty pumped about that. Just doing last minute f320x tests. I will go ahead and build/release for everyone else.
[G2 Android Development] luv2increase:
Thank you! I will be eyeing this thread all night waiting for the r6 goodness!
[G2 Android Development] sandys1:
[MENTION=5438598]RenderBroken[/MENTION] - check out my thread for a Frankenkernel for the camera. I located some source files for the G2 on a vietnamese forum and a similar attempt to port stock libraries for the LG L7.

In addition, someone replied on my camera thread with a ported stock camera that is giving fantastic pictures compared to Google Camera ... but it is quite broken featurewise. I wonder if that can be ported to the default camera libraries.
[G2 Android Development] RenderBroken:
I will look into it.

R6 has been built and uploaded to the new site. F2FS scripts appear to be working. If you want to test let me know your results. Thanks guys! Time for bed.

PS: Make sure the Rom actually supports F2FS first before formatting /data and /system to F2FS. Right now I just formatted /cache to F2FS to test and its safe enough to do. But the other 2 need Rom support.
[G2 Android Development] Matze060906:
Just downloading! Will report back later. Why is the size different between the builds?

Btw: You forgot the "6" in the name of the f320 build... ;)
[G2 Android Development] Hdlinh16:
Don't support for L01F....

Sad....:crying::crying::crying:
[G2 Android Development] RenderBroken:
lol fixed. Not sure. It may be that I have ExFat building for all variants regardless if they support it. Just easier for me to maintain Kernel features if I can just copy/paste them into each defconfig.
[G2 Android Development] RenderBroken:
Also I want to note that the way I have it setup is if you use Encryption you need to stick with EXT4. If not you can use F2FS. They way the script works is it will auto-detect the format but not detect that its encrypted.
[G2 Android Development] ceza1380:
Finally new build. Gonna flash now. I hope it fixes my screen flickering issue
[G2 Android Development] allan1229:
Running very well with Resurrection ROM so far.

LG D801
[G2 Android Development] Tiffany84:
So if I don't planning on messing with F2F2 is it still a good idea to go with R6 over R5? Don't know much about kernels but R5 was good to me and just wanted some knowledge feedback if it's worth jumping to R6? Thank you so much
[G2 Android Development] murdoch1:
Were you able to resolve the profiles issue??
[G2 Android Development] su660ics:
Mee too :( , so sad.

PS: animevn greeting you :D . Hello teacher, dont give up
[G2 Android Development] MrDarkKV:
R5 doesn't have F2FS support at all, also R6 has a number of other improvements other than the addition of F2FS. So yes, I would say it's worth the jump.
[G2 Android Development] MBurns2:
works good on latest LS unofficial for d802.

I changed governor back to bacon because interactive jumps too much to max freq even if i set it to stay more on lower freq. Bacon is ok for my use ;)

One curiosity: does the stock kernel has touch boost ?

Thanks Render for the hard work