yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] osm0sis:
I'm just trying to make sense out of how things work together and adjust the tunables logically from that point of view. No great feat, but thanks. :)
[Nexus 7 Original Development] canofale:
I did as soon as I saw nexusmaniac's success. No more stuttering and everything is good. More monster kudos for this team, just one of the reasons I run this kernel. Love it !
[Nexus 7 Original Development] osm0sis:
Perfect! [MENTION=2918197]The Gingerbread Man[/MENTION] [MENTION=3292224]franciscofranco[/MENTION] These are our finalists then:

15000 / 90 / 1000MHz / 1 / 30000 / 30000 / 80 / 80000 / 80000 interactive and 95 / 25 / 50 hotplug.

Looks good for battery, and logically they make sense with the way hotplug and interactive both work; separately and together. :good:

Great work everyone! Special thanks to [MENTION=4953615]nexusmaniac[/MENTION] and [MENTION=1982270]canofale[/MENTION] as our two resident testers who could still reproduce stutter. :)

Anyone else who still had YouTube/Netflix/video playback stutter in r60+ please try them and report back to verify that we're good.

We're shooting for lowest common denominator here. So if somehow these still aren't good for everyone then we'll bump hf back to 1000MHz and that should cinch it.

Edit: Had to bump hf from 760MHz to 1000MHz - it's just smoother overall and worth the slight increase to battery.
[Nexus 7 Original Development] FitAmp:
Works good for me, no stutter with those values :thumbup:
[Nexus 7 Original Development] mothman57:
Thanks!

I just used those settings and it has helped the stutter out so much. There is still a few times I notice it quick while playing some high speed games, but has made a huge improvement! I gave thanks and kudos to you guys!
[Nexus 7 Original Development] nexusmaniac:
If your noticing lag in games then try setting the GPU freq to 484 MHz :)

N4/N7 - CM 10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] osm0sis:
Yeah I run GPU at 520 and these new settings have smoothed out all the microlags I was seeing in a few games. I think it really must have been oscillating like I hypothesized. :)
[Nexus 7 Original Development] jazzespresso:
For some reason, the setting : Input_Boost: 1, reverts back to Input_Boost: 0 (default value I believe). Maybe it was always like that or an app bug that I never noticed until today..
[Nexus 7 Original Development] FitAmp:
It stays at 1 for me
[Nexus 7 Original Development] osm0sis:
Pretty sure input_boost doesn't even do anything in the interactive configuration Franco's got in there right now. I wouldn't worry about it.
[Nexus 7 Original Development] jazzespresso:
thanks. I noticed that it reverts back to defauly when I do reboot..but like you said, I am not going to worry too much about it. the settings you guys posted seems like the best so far, zero YouTube lag so far, but playing high intensive game (I was testing Need for Speed Most Wanted) freezed on me couple times.I will try to set GPU freq to 484 MHz as nexusmaniac mentioned above. I know one of UBER's setting (forgot what was the setting he had it way back and I tested) played Need for Speed Most Wanted smoothly..hmmm...
[Nexus 7 Original Development] stormy_gale:
Deleted
[Nexus 7 Original Development] mothman57:
Now, do you see any heat or large battery drainage results with GPU at 484? I will try changing it and see my results.
[Nexus 7 Original Development] nexusmaniac:
I haven't noticed any substantial battery drain but there will be some, only a tiny amount though, you probably won't even notice :)

N7/N4 - CM10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] The Gingerbread Man:
I would like to thank [MENTION=4953615]nexusmaniac[/MENTION] and [MENTION=1982270]canofale[/MENTION] for your input and testing also. The new settings feel really nice and hopefully they should be better on battery life and I'd be happy to call these the new defaults, good work as a team to get there :) The fstab and mount tweaks Osmosis has done over on the galaxy nexus really do take things up another notch in terms of performance and I know you guys will love those
[Nexus 7 Original Development] Luk37astic:
For those on r47, or any version I suppose, what's the highest stable frequency to set the GPU to?

700 and 750 have done all sorts of bad to my device, but between 520 and 666, it seems to be a toss-up.
[Nexus 7 Original Development] osm0sis:
Lots use 666. If 700 is a no-go for your device, I'd say 666 is your max stable. :good:

Here are all your possibilities: http://xdaforums.com/showpost.php?p=34851789

Just updated it actually, since underclocking is an instant freeze.

---------- Post added at 05:48 PM ---------- Previous post was at 05:45 PM ----------

Ah man I wish the fix was as easy as another .so file, but I just tried Motley's power.grouper.so as you suggested, turned screen off and on to try and reproduce your positive results, but I couldn't. I set max to 1000 MHz and then went to Device Monitor and hammered the Recents button until I saw the current frequency spike to 1300 MHz. :(
[Nexus 7 Original Development] azoller1:
Hey what's the newest 4.1.2 kernel release?
[Nexus 7 Original Development] osm0sis:
http://minooch.com/franciscofranco/Nexus7/

---------- Post added at 06:22 PM ---------- Previous post was at 06:15 PM ----------

And speaking of which... ;)

http://d-h.st/users/osm0sis/osmod/

Got our new finalist interactive and hotplug tunables in by default plus said fstab/mount, systemui niceness (credit to boype/Fancy Kernel for the idea), slight entropy and lease break time tweaks for parity with tuna franco.Kernel + osmod. Improvement doesn't seem as dramatic over here but still quite nice.
[Nexus 7 Original Development] Gspin96:
Then, a screen off-on cycle doesn't do it? What a pity. I had noticed that it spiked to 1300 even if max frequency was set at 1000, but it seemed fixed after that. Well, i have to admit i didn't do a really deep test (i spent about 10 minutes on it).

By the way, these spikes absolutely don't happen on motley's kernel (been using it for varoius days). CPU Spy registered 13-14 seconds at 1300 (always on Motley), but they happen on boot, before the setting gets applied. I'd suggest franco to look at his source.

PS: looking forward to getting back to this kernel :p
[Nexus 7 Original Development] nexusmaniac:
Thanks osm0sis, the r61 osmod is fantastically smooth :)

N7/N4 - CM10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] The Gingerbread Man:
Might as well call r61 m1 as it features all of the current stuff and tuned values. Running very very nice here, thanks Os :cool:
[Nexus 7 Original Development] nexusmaniac:
I agree, r61 is definitely a milestone for grouper :cool:

N4/N7 - CM 10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] Shmi117:
How can you call r61 a milestone if UV is still broken? That's a giant feature that is broken.
[Nexus 7 Original Development] Gandalf:
This is just franco's r61 with your tweaks, correct?
[Nexus 7 Original Development] The Gingerbread Man:
I guess, but a lot of work has been done to get where we are now. I think pretty well everything is fine tuned to give optimal performance.

---------- Post added at 12:06 AM ---------- Previous post was at 12:04 AM ----------

Yup, modifications to stock r61 are in the post you quoted.
[Nexus 7 Original Development] N@th_OC:
Thanks a lot man,

I think your tweaks gives to franco Kernel the little thing that was missing...

It's just so great, performance is a lot improve, same as smoothness!

Thanks again.
[Nexus 7 Original Development] Gandalf:
Disregard this post
[Nexus 7 Original Development] brenopapito:
Can i apply these interactive settings without problems on GN ?
[Nexus 7 Original Development] lollyjay:
These are optimized for nexus 7. Not sure you would want to use them on GN.

Nexus 7 WiFi 32Gb | PA 3.50 13-May-2013 | Nova Prime | Franco-Kernel r61

Nook Color | PA 3.15 14-May-2013 | Nova Prime | Stock Kernel
[Nexus 7 Original Development] canofale:
Wow. Thanks a lot guys. I'm honored to be able to help out with small stuff here and there and even being mentioned in the same sentence as nexusmaniac brings a smile even though I know I'm still just a peon. So glad we have something truly great here. Loving the kernel. Thanks for the thanks
[Nexus 7 Original Development] Solaris81:
I worked out that this was related to an off screen setting in setcpu, so not related to the kernel, sorry.
[Nexus 7 Original Development] NYLimited:
Can you elaborate on what it was?

----

When the men on the chessboard get up and tell you where to go ..... go ask Alice, I think she'll know
[Nexus 7 Original Development] osm0sis:
Guys I think I'm going to have to lean for hf 1000MHz to resolve a slight bit of micro lags I was still seeing with some games.
[Nexus 7 Original Development] canofale:
Even with your fstab and mount tweaks? Bummer. Any particular game you notice it most on?
[Nexus 7 Original Development] osm0sis:
Just been messing around with Temple Run 2 and Osmos HD (:p), and you see with all the physics calculations in the latter sometimes things get a bit sluggish, and with TR2 just a bit of jitter at times.
[Nexus 7 Original Development] Bobtehblob:
Top effort guys, running smooth as with osmosis' revised settings :) Props to everyone that helped test too :D
[Nexus 7 Original Development] Solaris81:
For screen off I was using "on demand" and "noop" with "min 200mhz max 760mhz". Screen on was default settings for kernel with "interactive" and "cfg". I'm not sure if it was the governor or IO schedule but it was causing the issue with the power button when sleeping. I noticed if i held the power button down for about a second it would always start, but pressing it quickly would take 2 or 3 attempts. Anyway I tried disabling the offscreen profile in setCPU and it's been perfect since. I realized this kernel is very fast with good battery life without needing setCPU, so I haven't experimented to find out if it's a particular setting that causes it.
[Nexus 7 Original Development] Gandalf:
what app are you using to set the values you posted earlier tonight?

I'm looking in Trickster Mod -> General -> Governor Control (Interactive is selected governor)

Are those the values I want to change, in the order you posted them?
[Nexus 7 Original Development] osm0sis:
f.Ku always. The order is a bit different. They're pretty self-evident - many posts explain it, or you can just run osmod and check the defaults yourself. :)

New r61-osmod going up in 5 min with the default hf at 1000MHz - the drastically smoother feel ("iPad-like" I believe I saw someone say? ;)) is well worth the slight increase in battery usage. It should also ensure the video playback stutter is fixed since hf and mst are now both at the optimal values [MENTION=4953615]nexusmaniac[/MENTION] found each resolved it.

Edit: Done - http://d-h.st/users/osm0sis/osmod/
[Nexus 7 Original Development] Gandalf:
How would that remove journaling script work with this kernel?

http://xdaforums.com/showthread.php?t=2280496
[Nexus 7 Original Development] osm0sis:
Interesting find. Nothing stopping it from working. I've got barrier=0 in osmod there now and its always had data=writeback so that mostly ignores the journaling to start with.
[Nexus 7 Original Development] Bobtehblob:
Sorry if this is a stupid question but is osmod just a modified version of francos kernel with the changed values?
[Nexus 7 Original Development] NYLimited:
Thanks, I will have to check my settings and experiment some.

----

When the men on the chessboard get up and tell you where to go ..... go ask Alice, I think she'll know
[Nexus 7 Original Development] nexusmaniac:
There is definitely a performance increase from osmod r1 to osmod r2 so far I've noticed no micro stutter in any games :)

N7/N4 - CM10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] FitAmp:
Yup definitely feels great :D
[Nexus 7 Original Development] bagl0312:
Thanks, this is the smoother "r61" I found so far, probably it is the smoother kernel among r40-r60 releases

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Original Development] sjondenon:
This might be a stupid question but when I have downloaded and installed the kernel you uploaded (http://d-h.st/0FO), do I still have to apply the above values in the franco kernel app? And if I just have the normal franco kernel (r61) installed, does applying the above values the same as installing the kernel you uploaded? Thanks!
[Nexus 7 Original Development] nexusmaniac:
If you clear the app data before you install the osmod r61 then the settings will be the ones that you quoted :)

N4/N7 - CM 10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] zaclimon:
Yep guys you definitely nailed it with this one. I feel the milestone around the corner. :D

Thanks a lot for you time and help!
[Nexus 7 Original Development] Bobtehblob:
These have to be the defaults for the next nightly! Bloody perfect! Back on Franco full time on my n7 for sure :D It's back in the sig, so it's official ;)
[Nexus 7 Original Development] neo-X:
Osmod, what the hell did you do!!!! My N7 feels a million bucks! Thanks to all involved.

Sent from my Nexus 7
[Nexus 7 Original Development] stonebear:
Nice! Thanks guys. :)
[Nexus 7 Original Development] Antob125:
Off-Topic the 378 osmod in the folder I guess I missed on gnex forums. That is with corrected values or with new values?

Btw r61 osmod runs like a dream!

Sent from my Galaxy Nexus
[Nexus 7 Original Development] osm0sis:
Yeah you could say that. There's some other stuff I did in the ramdisk too with the fstab and some .rc files though..

That was what I considered the winner of 4 test builds on the GN side since the weekend. That's where I tested the same tweaks I've just brought over here. ;)
[Nexus 7 Original Development] sjondenon:
another stupid question, I just got my N7 and im wondering how I can flash the boot.img that osmosis uploaded? With my xperia ray I used flashtool for kernels and the recovery for roms. I already put the boot.img on my sd but couldn't find it when i rebooted into recovery...
[Nexus 7 Original Development] osm0sis:
franco.Kernel updater's Backup/Restore is by far the simplest.
[Nexus 7 Original Development] scream4cheese:
You can flash .img files via recovery.

Place the boot.img file into the "kernel_backup" folder in your SD card and use Franco's app and head over to "kernel backup/restore". The boot.img should be there. Install it.
[Nexus 7 Original Development] Antob125:
Last Off-Topic. Before your osmod I used row. Do you still recommended row over deadline in 378 osmod

Sent from my Galaxy Nexus
[Nexus 7 Original Development] osm0sis:
You could have asked this in the GN thread..

I still use row, but that's preference. cfq is hardcoded to our finalized tunables as well and a lot of people like it, but deadline isn't hardcoded on the GN yet. We're assuming it'll be in there for milestone along with a few basic flash media tweaks to bfq which pkgnex worked out.

Anyway just try them all and go with what feels best to you on your device with your usage.
[Nexus 7 Original Development] ganeshp:
Use flash image gui app

Works for both recovery and kernel.. :D
[Nexus 7 Original Development] lgalkis:
or just download an original Franco's kernel zip and change the boot.img file from zip with the osmosis .img
[Nexus 7 Original Development] sjondenon:
Thank you very much! I found out myself that it also can be done with the nexus root toolkit
[Nexus 7 Original Development] mothman57:
Hey osm0sis, ya, increasing the hi speed freq to 1000 helps out a lot. I been using it on bike race to help out. Thank for the hard work man! Helping us all out.
[Nexus 7 Original Development] Batfink33:
Osmosis mod has made this a great Kernel. I was using Faux which was totally smooth but chewed through the battery. The original r61 was choppy and not great but now with the Osmosis mod r61 is smooth and battery efficient. Great work!
[Nexus 7 Original Development] osm0sis:
Just got this via PM. (I don't answer technical questions via PM. ;))

Just flash osmod, clear f.Ku data+cache, then reboot to run things correctly; no need to double check all the time. :)
[Nexus 7 Original Development] jazzespresso:
ok thanks. I did not post it here to confuse others, since there's stock r61 and boot-grouper-r61-osmod.img, thus why sent you via PM. but after I sent, I saw one of your post said settings already in boot-grouper-r61-osmod.img.

I downloaded boot-grouper-r61-osmod.img and put in Kernel_Backup folder...I will restore it from there using Franco's app

EDIT: flashed. this is very smooth, very nice...excellent work!!
[Nexus 7 Original Development] jazzespresso:
Hi osm0sis,

do you see any benefit if these things turned off? I know this is probably a noob question. I am just curious about them.

Turn fsync off

Turn Logger off

Turn Events Logging off
[Nexus 7 Original Development] osm0sis:
Fsync I leave on for data integrity. I've lost stuff during freezes/reboots before. I do turn it off temporarily once in awhile if I want a bit of extra performance in a game. Loggers have next to no impact on battery, so I leave them on so that I can error report effectively.
[Nexus 7 Original Development] lollyjay:
Osmod "no ka oi"! I am so pleased with the smoothness and battery life.

Nexus 7 WiFi 32Gb | PA 3.50 13-May-2013 | Nova Prime | Franco-Kernel r61

Nook Color | PA 3.15 14-May-2013 | Nova Prime | Stock Kernel
[Nexus 7 Original Development] jazzespresso:
thanks for this insight explanation. I appreciated that!
[Nexus 7 Original Development] sjondenon:
Overall supersmooth with osmod but the when unlock the device and open the app drawer, there is always a lag when I switch from the first to the second tab, always. Then afterwards, everything works smooth as hell again. Kinda strange. (CM10.1 RC2)
[Nexus 7 Original Development] clueless_stranger:
Does this work on any other rom
[Nexus 7 Original Development] FitAmp:
Any 4.2.x rom
[Nexus 7 Original Development] The Gingerbread Man:
That sounds more like cm launcher (trebuchet?) issue apex I can't reproduce that lag
[Nexus 7 Original Development] jazzespresso:
I use Apex and I can confirm the same issue, so I have feeling it is related with Apex launcher. In fact, with last couple of new updates from Apex developer made this issue a little worst. This is also happening (at least to me) when using stock kernel too.

I don't think it is related to with this kernel.
[Nexus 7 Original Development] konradsa:
Great work, truly appreciated. Franco should make those default values. What is he working on? He hasn't been here in a while.
[Nexus 7 Original Development] Gandalf:
Nova launcher works just fine. I haven't used Apex in a while. this is running Mr Robinson's buttered AOKP 5.20.2013 and osmod r2
[Nexus 7 Original Development] nexusmaniac:
I've also noticed no such problems with the trebuchet launcher however if I do notice any issues I'll be sure to post them :)

N7/N4 - CM10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] bray424:
He's making a custom kernel for PA
[Nexus 7 Original Development] hutzdani:
Holy cow ! Been running cm10.1 stock kernel on my n7 and always found there was lag on screen on and in the app tray. . . just flashed r47 and woah ! No lag !

Awesome, seems I'll have to jump my nexus devices to these kernels now :)
[Nexus 7 Original Development] DubleJayJ:
EDIT - NVM. Good performance so far on this kernel man. Good job
[Nexus 7 Original Development] drose6102:
I have been running this setup since these values were first talked about and everything has been great. I had a horrible case of youtube lag and these cleared it right up. I have been running hf [MENTION=919381]760[/MENTION] but I will bump it to 1000MHz.

Thanks everyone for the help. Great community in here
[Nexus 7 Original Development] frost_nz:
The recovery has nothing to do with the kernel. Best to learn a bit more before you go flashing kernels and stuff. Read up on the stickies and familiarise yourself with the Android components and what not first. You'll find your answers there.
[Nexus 7 Original Development] hotrodwinston:
[MENTION=3292224]franciscofranco[/MENTION] I would love to get back on your kernel - any plans to add ad hoc (ibss.) WiFi support in the next kernel?
[Nexus 7 Original Development] khaytsus:
Thank you for the quote before he edited it, that's pure gold. :D
[Nexus 7 Original Development] DubleJayJ:
I know what I'm doing. :P I come from the Xperia Play section, and stuff is done quite a bit differently. Kernels come with recovery pre-installed, and there is no bootloader mode, just fastboot. But I'm adjusted now, already got my ROM and Kernel installed.
[Nexus 7 Original Development] NYLimited:
Just to confirm - you are right. My screen off speed in SetCPU was the default from the kernel so I am guessing that wasn't the issue. Due to lack of time to experiment I simply froze SetCPU for now and the device is waking up every time on first attempt as expected.

Thanks for the heads up!
[Nexus 7 Original Development] why always me:
Agree work flawlessly on stock launcher on booth of my devices(one running Putiry another on stock) too.
[Nexus 7 Original Development] ChemicalSymphony:
osm0sis, your tweaked settings are awesome. Never used this kernel til now but I think it's the best my Nexus has ever had. Also, nice app franco. I really like the UI. Simple, easy to understand descriptions.

Sent from my Nexus 7
[Nexus 7 Original Development] The Gingerbread Man:
Can you link to that post? I was thinking recently haven't seen much of him about
[Nexus 7 Original Development] poondog:
This is the case for nexus 4

Dunno about us though
[Nexus 7 Original Development] TureX:
In this kernel was removed debug USB ?
[Nexus 7 Original Development] cityeyes:
Absolutely no offense to osm0sis for the incredible tweaks (seriously, made my phone crazy responsive), but I did notice a pretty drastic hit to battery in sleep when I was using his kernel mod.

Non-scientific data incoming - your mileage may vary and it's completely possible that something else is going on - but these are my experiences.

Was running stock Franco as well as r48 for a while and when my tablet was off for a majority of the day (which it often is), I could turn in at night with 94+ battery.

Yesterday while running the modded kernel, I was keeping a close eye on battery because it seemed to be going down a lot more quickly than usual. Even when it was supposed to be in deep sleep, I was losing a few percent per hour.

Flashed back to r48 and I'm getting the insane sleep battery life again.

Again, just my experiences and don't let this turn you away from using osm0sis' mod - just figured it might be useful for some for verification if they notice something similar.

Edit: Apparently I'm in the minority here. Welp. Gonna have to figure something out.
[Nexus 7 Original Development] osm0sis:
0.2%/h deep sleep battery drain here.
[Nexus 7 Original Development] cityeyes:
Hm, no idea what might be going on then. Thanks for the heads up.

Could it be caused by the fact that I'm not using the "official" Franco kernel tweaking tool to flash the .img? I don't see how that could be the issue, but I'm lost as to why it might be happening.
[Nexus 7 Original Development] lollyjay:
+1:D

Nexus 7 WiFi 32Gb | PA 3.50 13-May-2013 | Nova Prime | Franco-Kernel r61

Nook Color | PA 3.15 14-May-2013 | Nova Prime | Stock Kernel
[Nexus 7 Original Development] jazzespresso:
the battery usage with osm0sis tweeks insanely amazing, the best I have never seen in any kernel so far, and I am seeing 0.1% to 0.2% deep sleep battery drain!

so could be something else is going on on your system?
[Nexus 7 Original Development] NYLimited:
Sorry to bring back an old topic here - was there ever a consensus or resolution to this?

My N7 is continually plugged into a 2 amp car charger with the charging only cable and while the screen is on it tends to actually drop power, albeit slowly, even while charging. All my other devices finish in relatively short time and remain at 100% while plugged in.

I would love to hear of a solution to this if anyone had it..