yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] osm0sis:
No need. Ramdisk will replace ramdisk. Flashing stock is only important when moving to a kernel that doesn't include its own ramdisk. Good question though. :)

Oh, and before anyone asks, if you're really quick about going into the ioshed tunables in f.Ku (as in, well under 1 second) after you change the scheduler then you'll still see the stock defaults for the scheduler until you exit the dialog and go back. Even though you are clearly quick-draw 6-shooter cowboys, take your time and it'll be seamless with the tweaked values. :cowboy::p
[Samsung Galaxy Nexus] Raijin:
Osmod installed. Is great to see the support you give to us.

For now my phone is still alive! :)

A question, the script that set the schedulers after change, is a loop that is running all time, or it only run after scheduler change?
[Samsung Galaxy Nexus] Empty Hand:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Thanks Osm0sis! I'm showing a Timer_rate of 30000. Isn't the winning value 15000?
[Samsung Galaxy Nexus] osm0sis:
No problem! I was bored last night and this afternoon. :p As you can see in 950iosettings, both that and r372-osmod (from /sbin/fixtunapower.sh) use a "while sleep 1" script loop running independently in the background that waits for the scheduler to change before doing anything, otherwise it sleeps. It doesn't affect performance, battery or deep sleep from my tests overnight (still at 97% deep sleep and 0.4%/h idle drain, same as always).

Nope. 15 above_hispeed_delay was our winner, with 30 timer_rate. 30 ahd was franco's choice, read back a few pages for reysonance's link to the original discussion on this. :good:
[Samsung Galaxy Nexus] Raijin:
Thank you for your response, then all correct. :) Big regards for you! :good:
[Samsung Galaxy Nexus] Piccles:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Cheers for the updated zip. Hope everyone has been having a lovely easter weekend :)

Paranoid Gnex
[Samsung Galaxy Nexus] WarByte:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Quite a fine present. Thank you! And happy easter. :)
[Samsung Galaxy Nexus] creeve4:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300

How does it work that ahd is half the timer rate? So effectively ahd is 30k?
[Samsung Galaxy Nexus] osm0sis:
That's what ~15 people agreed felt best when we had to retool the tunables for the new implementation of interactive governor. The timer_rate is how long it waits before changing cpu freq (ramping up/down) based on regular loads, once it hits go_hispeed_load then above_hispeed_delay comes in to dictate how long to wait before jumping to hispeed_freq.

Here's yellowdie's fantastic interactive tunables summary post from back when we were working on the original "magic" tunables for the old interactive implementation. Check it out for a refresher. :)
[Samsung Galaxy Nexus] jjhrrsn:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Damn os things flying now thanks for the zip
[Samsung Galaxy Nexus] bigbear6708:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Os, you have outdone yourself. This kernel has not been on my short list as it doesn't agree with my phone usually. I still follow the thread however. So when I saw you upload... Figured why not. It's a winner! So far so good!!! Thanks
[Samsung Galaxy Nexus] Spoderman:
Thanks Osmosis, you're really showing us a great support on the Galaxy Nexus ;) [Edit: Don't be sad Franco, you're really doing a freakin great job with the kernel, keeping us up-to-date, while you have a busy life! ^^ ]

By the way, im quite into playing on the Nexus with Hdmi out w/ Dualshock 3 (dead trigger and shadowgun:deadzone, both with tegra 3 graphics enabled on ultra high), both run perfectly, especially Dead trigger, always +30fps, no matter how much smoke or pretty water :), also deadzone does too! (gotta love my sgx 540 doing quad core work ;) ) But i wanted to ask, is there some tunables, or other "trick" to improve performance even better? I get the awesome results on games with 1500mhz w/ Performance governor, while maintaing good temperatures (normally it doesn't go over 60ºC, it stays at 60~64)

Can you, or someone, give me an answer?

Apreciated, Happy Easter!
[Samsung Galaxy Nexus] JBNex:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Thanks for Osmod! Its awesome!

My boot time is so much faster! :D
[Samsung Galaxy Nexus] Antob125:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

So should we restore defaults in fku before we flash your 372 zip?

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] osm0sis:
Shouldn't matter. iosched/queue never stuck to begin with and governor you can just untick set on boot to use our winning defaults in r372-osmod. There was a recent bug from settings migration to the latest version of f.Ku where The Gingerbread Man had all frequencies doubled in Min Freq and Max Freq. So check if you see that and reset if you do, otherwise I wouldn't bother; in fact, I didn't bother. :p

And folks, while I appreciate being showered with compliments, it's still franco's amazing kernel running under the hood. ;)

If you've been using our winning governor and test iosched tunables all along there's no way it'll magically make your phone boot more quickly or run drastically faster; it should be almost exactly the same, since there are only a couple of minor things I did differently. From governor to iosched, those tunables are the work of upwards of 15 people in here, and while I'm happy to say I'm among them, the work has been shared by us all and we have always striven for a consensus.

All I did (for fun) was make it a little easier to run by building them into the ramdisk (the same ways franco already sets his current defaults) to eliminate the fuss of init.d scripts. Something anyone could do with my Android Image Kitchen if you've spent a little time digging. :D
[Samsung Galaxy Nexus] haxor:
Google Nose Beta Is Out :good:

https://www.youtube.com/watch?v=9-P6jEMtixY&feature=player_embedded
[Samsung Galaxy Nexus] Edward Stanbury:
google you troller ;)
[Samsung Galaxy Nexus] bozint:
Guys I need a quick info from you.

I'm running stock 4.2.2 with 372 franco.nightly. The GNex is SuperSu rooted with CWM installed. However, I feel it's sluggish at times, and I want to do a factory reset. If I do that, will the phone boot normally as I have CWM and franco.kernel (and not the stock one)? I also want to delete the SD partition, and practically start from scratch.

I can just flash the stock google image in fastboot, but doing the factory reset is obviously the easier route. Any suggestions? Thanks.
[Samsung Galaxy Nexus] reysonance:
Doing a factory reset (from settings) will wipe you /sdcard clean, and it shouldn't replace the kernel with the stock one, I have done the exact same thing in the past (only with stock kernel) and as far as I can recall, CWM sticks.
[Samsung Galaxy Nexus] bozint:
Mate thanks for the fast reply. I don't mind if CWM is deleted or I lose root. It really is no hassle to root it again, I just want to be sure that it will boot normally. Your case differs since you had the stock kernel, but maybe everything will work normally. Just want to hear some other opinions. Thanks again.
[Samsung Galaxy Nexus] blsrbl:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Thanks! Good work Osmosis!
[Samsung Galaxy Nexus] joaquinf:
A factory reset won't wipe your sd card nor the boot partition it only wipes /data except userdata meaning only your current apps will be gone. ROM will be the same, kernel will be the same, all your sdcard data will be untouched and cwm recovery will be there too. You'll lost root as superuser is installed in /system.

If you want to start fresh and you don't mind formatting your sdcard best thing to do is to flash bootloader, system, boot and userdata from google factory image.
[Samsung Galaxy Nexus] bozint:
Thanks for the reply. I know that factory reset deosn't wipe the SD card, and I'll do it in CWM. I don't mind losing root, I'll root afterwards. I think via fastboot would be the best choice, and I'll probably do it this way. Thinking of trying out CM10.1 though, instead of the stock image.
[Samsung Galaxy Nexus] reysonance:
Factory reset via CWM won't format your /sdcard, that is correct, a factory reset from the Backup & Restore section under Settings will however, it even explicitly says so.

I was under the impression that he was talking about the latter :silly:
[Samsung Galaxy Nexus] osm0sis:
Yup and neither factory reset should affect anything installed to your system partition, including su unless it does a fix permissions. CWM 6.x protects against this if using that method though.
[Samsung Galaxy Nexus] Spoderman:
Wait a second.. is franco from Portugal? :D

(és de cá? porreiro! :D)

Does anybody here know some tunables to the kernel, or another kernerl(really didn't want too..) that affects performance on gaming more significantly? Not that Franco does a bad job, i'm just asking for some extra performance that franco is leaving to get better battery ;)

(I really can't stand the sgs2 having most wanted pretty with a gpu just a little bit better :/ With franco i get 20~25fps with those graphics in some tracks), other 30fps, and i know that the mali-400 is a quadcore, don't judge me :P)

Thanks
[Samsung Galaxy Nexus] Godra:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

SGS2 also has lower resolution screen
[Samsung Galaxy Nexus] Spoderman:
Yeah, that's true, i still prefer the nexus 1000x, for everything it has, sgs2 only wins with those 5~10fps in more demanding games (some say that with time, sgs2 will fall behind because the sgx540 has a higher output of MTriangles/s, and that the games that will appear will rely more on that)

Nexus also wins in CPU, stock cpu wins, OC cpu wins with 20% advantage (i tested that with CF-bench)

Still, there maybe some trick im missing, or tunable (like changing to noop) that will help, because all the games so far can run great on the nexus!
[Samsung Galaxy Nexus] The Gingerbread Man:
Franco kernel over clocks the GPU to 512 and if you use the version by osmosis it has all the optimisations from months of work all built in. I came by here to thank you for it Os and well done for getting the script to run checking for govnor changes without battery drain running in the back ground
[Samsung Galaxy Nexus] osm0sis:
And thanks to you for bringing up the idea in the first place! You got the old wheels spinning about where I'd seen things like that done before.

Anyways, it should tide us over until Franco hardcodes our winners into the scheduler source itself. :good:
[Samsung Galaxy Nexus] The Gingerbread Man:
I hope we can see something similar for the n7 perhaps ;)
[Samsung Galaxy Nexus] Gafanhotz:
I had problems to charge my phone after a full discharge, it was getting stuck on the battery with energy logo, it wasn't charging. It isn't kernel related, is it?
[Samsung Galaxy Nexus] bigknowz:
lmk

osm0sis, can I just edit the programs in list to any that I don't want lmk to kill? I have issue with lmk closing other apps that I would like to stay open.
[Samsung Galaxy Nexus] duduzinho15:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

It happening with me too
[Samsung Galaxy Nexus] Edward Stanbury:
happened to me once a simple reboot fixed it for me, if that doesn't work try wiping fk.u / trickstermod etc caches and reboot and everything should be okay
[Samsung Galaxy Nexus] Gafanhotz:
With me a simple reboot didn't do the trick. I had to plug the usb cable while holding the keys to enter the bootloader and then boot the system. It was the only way to start my phone, it was really getting stuck in that screen, even unplugging the usb cable that screen was there. Something is really wrong with r372 or osmod. (When I was on a pure r372, it wasn't happening.)
[Samsung Galaxy Nexus] Spoderman:
No problems here with osmod, it's been through a lot of benchmarking and full battery cycles alredy ;)
[Samsung Galaxy Nexus] osm0sis:
You are the only one with this problem of 150 people. Guess what that means?

Every time someone jumps to the conclusion that it's the kernel's fault a dev gets diarrhea.
[Samsung Galaxy Nexus] Gafanhotz:
Guess you didn't saw that: http://xdaforums.com/showpost.php?p=39830780&postcount=40681

And that: http://xdaforums.com/showpost.php?p=39831026&postcount=40682

And i'm not saying it's kernel fault just asking if it is related in any way.

Sorry if offended you. ;)
[Samsung Galaxy Nexus] The Gingerbread Man:
[KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Sounds to me like boot loader related rather than kernel (there was a similar bug on n7 which got fixed with newer boot loader). I suggest you lock and unlock your boot loader and then fast boot Google factory image of 4.2.2 and unlock your boot loader again. That will certainly clear out any software gremlins. Its good to start fresh every now and again too.

Edit

Or it's time to get a new battery...

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] ak:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

:thumbup:

ak v042 inside
[Samsung Galaxy Nexus] osm0sis:
And the other 147?

No there's no way it's related. The charger binary lives in the ramdisk but everything is untouched except for /init.tuna.rc and /sbin/fixtunapower.sh, and init.tuna.rc only has changes at the bottom where Franco sets the governor defaults already.

Not offended just being logical. Edward had the problem only once, so 2/150.

Weird things happen when the battery is low, look at the N7, it turns into a pixel party and then won't properly boot even though it should technically be able to draw enough to both charge and run (with its own 2A charger). Then when it's totally drained it doesn't even go into the charger, it gets stuck trying to boot the charger and you have to resort to hard booting the bootloader to power off again properly. The Gingerbread Man's right, much more likely bootloader or battery problems than kernel. Not entirely fixed on the N7 yet either, but it's a bit better.
[Samsung Galaxy Nexus] ChazzMatt:
WOW. Thank you, osm0sis. You have really gone above and beyond with this. :good:

_________

p.s. I flashed with both img and zip and both work fine.
[Samsung Galaxy Nexus] osm0sis:
Hahaha, in all honesty, the first thing I thought when I uploaded it was, "At least Chazz will be happy." :laugh:

I'm glad I got some bold, enormous letters out of it. Although I'll admit, I'm a little disappointed there aren't also randomly emphasized blue and red words scattered around. :p:D
[Samsung Galaxy Nexus] Antob125:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Thanks again so much! Any plans on doing something like this with N7?

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] osm0sis:
Nah, not really any need. Our winning N7 tunables are already in there and the 950iosettings init.d script covers everything else. Franco hasn't compiled his own custom PowerHAL for it yet (so no fixgrouperpower.sh to frig around with - though I could just add one), and besides, I guess there are some bigger issues along the lines of the hotplug driver in r48 at the moment.
[Samsung Galaxy Nexus] nikulogical:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Haven't tried out Franco kernel in a while. Does 372 and osmosis' kernel woke with pgm?

Sent from my Paranoid Maguro
[Samsung Galaxy Nexus] chickentuna:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Yes pgm works fine

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Gafanhotz:
My battery is only three months old and is stock battery. ;)
[Samsung Galaxy Nexus] nikulogical:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Does the latest osmod kernel have the -discard option so u don't need fstrim tweak

Sent from my Paranoid Maguro
[Samsung Galaxy Nexus] Khrushy:
Checked this with Os earlier - No. He didn't include -discard.
[Samsung Galaxy Nexus] whitedragonz83:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Seems like no matter how much I like ROW and know the tweaks that have been done, I find myself using CFQ due to it feeling a little smoother when I switch apps quickly and other small things.

Love the Os-ified Franco kernel BTW.
[Samsung Galaxy Nexus] osm0sis:
a) Not my kernel. osmod = os mod. I just fiddled with the ramdisk a bit to inject our test/ed settings.

b) Thought about it, but I couldn't find anything in Franco's commits about Samsung's patch disabling discard on the brick bug affected EMMC chips so I left it out to be safe. I've asked Franco to let me know if it's in there and include it if not, but he hasn't gotten back to me yet.

Yeah cfq is nice but it's been hell to tune those last 4 variables (fifo and slice). pkgnex has done some amazing experiment design and number crunching for us so we're getting there, but nothing seems to make any drastic differences so we've slowed. Going to try and hammer it out shortly though with the N7 where things feel a little more obvious at times.

osmod was a one-time bit of fun, but I might make one more that decides whether to run the built-in iosched settings based on whether there is an 950iosettings file present in the init.d; Originally I thought the init.d loop won, but it turns out it's more just luck with each boot. Might write creation of the init.d dir into the fixtunapower.sh as well just for sh*ts.
[Samsung Galaxy Nexus] creeve4:
Also experienced this with the osmod kernel.
[Samsung Galaxy Nexus] osm0sis:
Oh FFS. :rolleyes:

Simple: Don't like it / doesn't work for you (3/155...)? Don't use it. It was a one-time Easter present since I was bored. Nothing I can do about any of those "problems" because I didn't touch anything to do with that.

No wonder Franco's taken a vow of silence. :p
[Samsung Galaxy Nexus] Edward Stanbury:
Re: [KERNEL][GPL][GN] franco.Kernel

Hey bro you can take that down to 2 :) mine happened with the norm franco kernel haven't flashed yours yet but I know it will be amazing

Edit: unless I'm being silly and someone else reported an issue ;)
[Samsung Galaxy Nexus] irminsul:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

My phone went out and bought my groceries at the supermarket after I flashed osmod kernel. Is this normal?

Verstuurd van mijn Galaxy Nexus met Tapatalk
[Samsung Galaxy Nexus] jcmm11:
Re:[KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Actually Os you're wrong. It most definitely is related. I had just started trying to figure out what was causing this issue on my phone. Stated by redownloading and flashing bootloader. No help.

Saw posts here. Reflashed original nightly. Problem solved.

So something you did is definitely causing this issue.

Maybe most of the people aren't trying to charge their phone when it's shut down?
[Samsung Galaxy Nexus] osm0sis:
Haha actually made me laugh out loud! :D

Still not my kernel though; just my ramdisk modification of franco's, using our test/ed settings. ;)

Every time it's been reported (so 4 times now?) I've shut down my device and plugged it in. Works fine. :confused:

Everything I've done is already in 950iosettings. Those who are having problems flash the normal f.K r372 and get our latest 950iosettings from my d-h, let me know if you can reproduce the issue or not.
[Samsung Galaxy Nexus] Wynnded:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

I WISH my phone would do that. :cool:

Sent from my Galaxy
[Samsung Galaxy Nexus] fclifton:
I am still having the issue of apps from the Play Store getting stuck installing. I am wondering if I missed something. I am running mmuzzy's 4.2.2 ROM on a Verizon Galaxy Nexus, Franco r372 with default values. Is there something else I need to do?
[Samsung Galaxy Nexus] osm0sis:
F*ck. I'm a ****. I was running original recipe r372 when I was trying to reproduce. Forgot I switched back to try more 950iosettings stuff.

Charger issue reproduced. It wasn't anything I actually changed, just somehow in my repack of the ramdisk the /charger binary loses its executable permission. Really weird considering the /init binary doesn't. :confused:

Guess I owe you guys some groceries. :(;)

Not sure how to fix that, might be a lost-in-translation thing from Linux to Windows but I'll see what I can do.

Edit: Yup. Straight unpack and repack of an otherwise untouched ramdisk changes the perms on charger from 750 to 644 for some reason. Literally no other file in the ramdisk has any problem. Might be some off-by-one error because charger comes first. Must be a flaw in one of the Windows binaries I'm using in AIK; still trying to see if I can get it working.

Edit 2: No such luck. My guess is mkbootfs bungles the permission before it goes to gzip, but using regular find -> cpio -> gzip like you would on Linux doesn't create a usable ramdisk on Windows at all, so there's no way to check. An excellent dev I know, trevd, is working on an all-in-one util that can even edit files in the ramdisk on-the-fly, so any future attempts might have to wait on that. Sorry folks, no more osmod for now!
[Samsung Galaxy Nexus] jcmm11:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

No worries. At least you figured it out. Now get rid of that Windows junk and install a decent OS and things will work as they should. :D

On a serious note you could try using a bootable Linux CD.
[Samsung Galaxy Nexus] osm0sis:
Haha I could build it on my phone or my N7 if I wanted to but I'd rather have some working Android boot.img utils for Windows, which don't really exist at the moment as such.
[Samsung Galaxy Nexus] ak:
Re: [KERNEL][GPL][GN] franco.Kernel r372 -&gt; 4.2.2 | r364 -&gt; 4.2 | r300 -&gt; 4.1

Before repack ramdisk I'm changing always the permissions:

chmod 750 init* charger

chmod 644 default.prop

chmod 640 fstab.tuna

chmod 644 ueventd*

I don't know if I can help :D

ak v042 inside
[Samsung Galaxy Nexus] bat0nas:
Maybe somebody has found an ultimate franco kernel configuration to avoid phone freeze during app install/update from the Play Store?
[Samsung Galaxy Nexus] osm0sis:
Definitely appreciate the assist anarkia. :)

Unfortunately it's not so simple on Windows. Gave it a try anyway just to see but it doesn't make a difference.

I contacted trevd with our problem and here's the low-down:

So hopefully I just need to grab a newer win32 compile. :fingers-crossed:
[Samsung Galaxy Nexus] Gafanhotz:
Well... I wasn't wrong. But thanks to that I discovered how to make mods on bootloader. :P
[Samsung Galaxy Nexus] Jerreth:
not charging

ok I usually a lurker but had this happen to me as well and I don't know if it will help you or not but I was able to easily reproduce the no charge stuck on battery with lightning bolt every time. this morning I decided that it was taking far too long to charge so I turned it off and went about my morning I wondered back in and it was stuck and I had to do a battery pull to get it back to a point where I could turn it on. After I turned it on I verified that it charged it did. I then turned it off and plugged it in same it hung up and another battery pull was necessary. I am on the

r372-osm0sis edit before that r372 worked fine I'm not bashing just hope this helps.

Edit: Just got caught up sorry about the irrelevant post.
[Samsung Galaxy Nexus] Kurre:
Just read update info of HD Widgets on playstore. And they say that reboots during updates are caused by 3rd party lockscreen widgets :eek: Could that mean that also lockups are caused by those 3rd party widgets.. Since it seems that someones are still suffering from those?

Anyone have any more information about this? This seems very weird but plausible(?)