yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] cityeyes:
Well looks like something else *has* to be happening on my Nexus considering everyone else is having such phenomenal battery life. Question is - what is it? I haven't changed anything but the kernel - all apps and the ROM are exactly the same, but I was getting more than usual drain while sleeping with the mod.

Only difference I can see is the method with which I flashed it - I didn't use the official Franco Kernel tool nor do I have it installed on my tablet - I don't see how that could be the problem though considering a kernel is a kernel.

No apparent wakelocks either - checked wakelock detector and saw nothing out of the ordinary. It's a mystery to me, but at least we've resolved that it's not the kernel.
[Nexus 7 Original Development] jazzespresso:
Way back, there was a post about Google Current (not here, probably one of other forum), which sync running on background and drains battery (slows down the system), I disabled it, and I did see some good improvement.

just an idea...
[Nexus 7 Original Development] bray424:
https://plus.google.com/107979589566958860409/posts/26wWsTrxqMP
[Nexus 7 Original Development] Solaris81:
Thanks for confirming it.
[Nexus 7 Original Development] osm0sis:
Thanks! Very cool! Here's the part "from the horse's mouth" in the comments there that caught my attention:
[Nexus 7 Original Development] cityeyes:
Thanks for the tip, but that's not it. Have Currents installed, but sync has been off because I typically update it manually when I'm charged.

I'm sort of a freak about what I have running resident/syncing in the background of my phone, so it's pretty much the bare minimum at any given moment.
[Nexus 7 Original Development] The Gingerbread Man:
Battery drain in idle is generally caused by apps running or not being closed down properly sometimes. For instance I know after I have been playing worms Armageddon and don't exit the app fully it causes audio wake lock for some reason.
[Nexus 7 Original Development] Triscuit:
Try installing the XDA version of better battery stats, I've caught a lot of apps red handed with that app. It takes some getting used to but when you figure out how to use it properly its great at finding out what is causing battery drain!
[Nexus 7 Original Development] fozzie:
Nope.
[Nexus 7 Original Development] Warren_Orange:
Can I flash kernels with the free Franco app? I would really like to flash osmosis's kernel.
[Nexus 7 Original Development] fozzie:
You mean Osm0sis’ tweaked Franco kernel ;)

I don't see why not. I'd recommend getting Flash GUI from the Play Store though.
[Nexus 7 Original Development] Warren_Orange:
Yeah that's the one :)

So it's safe to use flash gui to flash kernels? Could I just the kernel is twrp or in flash gui better?
[Nexus 7 Original Development] nexusmaniac:
Just use Franco kernel updater app, move the osmod.img into the kernel_updater folder and restore it :)

N7/N4 - CM10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] fozzie:
You can only flash zips with TWRP. Flash GUI or f.Ku allows you to flash .img files. (I have & use both.)
[Nexus 7 Original Development] Warren_Orange:
Hi.

I have the free version of the Franco app and I can't see any options for this.

Could I just downgrade to r47 via twrp by flashing the r47 zip?

Currently on r61 but it's a little laggy.

---------- Post added at 08:31 PM ---------- Previous post was at 08:29 PM ----------

I may try flash image gui. So I just grab osm0sis's kernel image and flash it via flash image gui?
[Nexus 7 Original Development] Lozzo:
Hmm. Right. Humour me here... :) Disable your wifi and see if it survives deep sleep then...

I'll explain. :)

I had a couple of SODs myself. Whilst looking around for what could be causing this, I noticed that during deep sleep with advanced wifi settings on "Never", *something* kept waking up wifi. I'm not sure if it was a rogue app or something to do with my router, but that's what I noticed. So, I wondered if all these constant wakes and sleeps could be freaking things out a bit. So, I turned wifi off inbetween long sleeps and I've not had a SOD since.

Try it anyway, see if it survives. Might give us a more of a clue as to what could be causing it.

Just noticed, there's a flashable zip elsewhere on here with updated (well, updated to my stock ROM) wifi/touchscreen/gps and so on drivers. Hmm. I wonder.... One for the weekend methinks.

Anyway, try disabling wifi first and see if it'll deep sleep. I'm curious to see if that works for you too.
[Nexus 7 Original Development] digweed4me:
R13 is the best for gaming I got no lag not even a little playing nova3, mc3,asphalt 7 heat, dead trigger etc. Franco is the magician man even better than stock kernel.
[Nexus 7 Original Development] eugenechiuu:
I remember toggling between 'Never' and 'Always' for the advanced wifi settings, both SOD'ed..

I just updated the latest PA 2.15 and r13, gonna try it again tonight
[Nexus 7 Original Development] :
I've had no sods. Using r13 on Aokp III. All running fine..:thumbup:

//Grouper/Aokp III/Franco's r13//
[Nexus 7 Original Development] franciscofranco:
I'm seeing a couple of users having SoD's with PA rom even with other kernels, so that might be the issue.
[Nexus 7 Original Development] ÜBER™:
My thoughts exactly. People reporting SOD's should flash another ROM.

Sent From My N7 via White Tapatalk

---------- Post added at 10:11 PM ---------- Previous post was at 09:22 PM ----------

Battery time.

Sent From My N7 via White Tapatalk
[Nexus 7 Original Development] kdo23:
Not that this helps in an scientific or probably even appreciable way but I have 0 sod with this kernel and pa. I have been dirty flashing the ROM since 1.98 too so its not that either over here. I have WiFi sleep set to never and leave all kernel settings to 100 min 1300 max. Basically 2ish months and this kernel and that ROM without issue. ,maybe I'm lucky, ,maybe its something else. I have let my tablet sleep for abut 20 hours a time the past 3 days as I have just been using it soley for kindle app in that time, so its not extended sleep periods either.
[Nexus 7 Original Development] Salv0:
I think is a bad install. I'm on PA and never had a single problem with your kernel :D ( well to be fair with the default cyano kernel too, but your is way better )
[Nexus 7 Original Development] Ronaldo Forenucci:
I wanted to update on the video pausing I reported with r13, I don't have it anymore. I went back to r9, but then updated RasBean Jelly to the 9/26 release. Since I had to flash a new kernel over stock, after the update, I tried r13 again. No more video pausing. I'm not a benchmark guru, and I know Quadrant is like dancing naked, but I'm getting in the 4700's (5100's with fsync off) consistently. Looking at YouTube Quadrant runs with stock, this is about 1000 points higher...so nothing to complain about. Battery life has been great as well. Great work franco.

RF
[Nexus 7 Original Development] eugenechiuu:
Thing is my PA 2.13 was a clean flash, dirty flashed to 2.15 still having sod with Franco's kernel within 2-3 hours deep sleep.. I have set wifi to 'never' and 'always' for testing and results was still the same.. I dunno anything technical but I think there's some incompatibility between Franco's and PA Rom.. Because I have flashed back to other kernels and there's no more sod.. Else it might some apps which is the culprit...
[Nexus 7 Original Development] bsw11:
Will this kernel work with 3.6 CodeName Android ROM?

Nevermind works just fine!
[Nexus 7 Original Development] ÜBER™:
Yes

Sent From My N7 via White Tapatalk
[Nexus 7 Original Development] M3drvr:
Having an issue with r13 on cm10. After a few hours my tablet suddenly stops clocking over 300mhz. It won't. Everything says it's set to 1.3ghz. No undervolting or any modifications. Running it as it was built. Flashed it right after flashing Rom update using your app. A reboot fixes it. But just odd issue. Any ideas?
[Nexus 7 Original Development] ÜBER™:
Been running r13 for two days its been Solid and has never done this. Even with an uptime of 1 day.

Sent From My N7 via White Tapatalk
[Nexus 7 Original Development] M3drvr:
I'll attach my log here. Maybe you can tell me whats happening. Its from System Tuner. Hopefully it can tell you something.
[Nexus 7 Original Development] ÜBER™:
Your using both the Franco kernel app and system tuner? That could be what is causing conflicts. Get rid of system tuner...

Sent From My N7 via White Tapatalk
[Nexus 7 Original Development] M3drvr:
I don't use system tuner to do anything other than notification packages... I wiped the data for system tuner and it's still doing it. Maybe Ishould change rom too since that has kernel options to adjust performance?
[Nexus 7 Original Development] krazeecracker:
ROM controls are fine. Its the 2 appa that are conflicting.
[Nexus 7 Original Development] ÜBER™:
This

Sent From My Toro+ via White Tapatalk
[Nexus 7 Original Development] mustbepbs:
Best. Kernel. Ever. Thank you for all your hard work Franco. This thing is super stable and fast and nets me a pretty decent jump in battery life over my wife's stock nexus 7. I loved your kernel on my old Gnex. I'm looking forward to the bounty thread over in VZW GS3 to take off and get you on there too!

Absolutely no sods or issues here. Just smooth sailing :) 100/1300 interactive.
[Nexus 7 Original Development] osm0sis:
Should actually be /sdcard/kernel_backups/ if I'm not mistaken, but yes, this is by far the simplest way and I've been flashing kernels that way ever since Franco added it to the app. :good:

That's correct! It's pretty straight forward. Have fun! :)
[Nexus 7 Original Development] Warren_Orange:
Cool thanks.

I have just been looking at a tutorial on youtube for flash image gui (its about a year old) and the guy says that after you flash the ROM you need to reboot into your bootloader and reflash your ROM? Is this correct?

Cheers.
[Nexus 7 Original Development] osm0sis:
My best guess is you may have some old settings conflicting with the new default ones in osmod. Uninstall any conflicting kernel management apps if you have more than one (SetCPU, Trickster, f.Ku), disable any conflicting on-boot ROM "performance" settings, empty out your /system/etc/init.d directory, then wipe data+cache on the kernel management app you still have and reboot.

Depending on your ROM and any previous kernels you may have been running, I'd also suggest clearing out /data/local/userinit.d/ to make sure you're running clean.

No need to flash ROM at all. That guy was smoking crack. :p
[Nexus 7 Original Development] osm0sis:
You'll need to reboot if it doesn't ask you to on its own. That's what f.Ku does.
[Nexus 7 Original Development] Warren_Orange:
OK deep breath here goes nothing!

edit - I got a CAUTION warning about WIFI and breaking modules. I take it I just need to reboot to fix these modules?

Cheers.
[Nexus 7 Original Development] nexusmaniac:
I don't know why but I'm still getting the occasional YouTube lag. I have changed a couple of settings to try and fix the problem but I can't seem to find a solution :(

Edit: I'm running osmod r61

EDIT: I've had no lag whatsoever since I changed the TCP congestion avoidance algorithm to Westwood and the I/O scheduler to ROW :)

N4/N7 - CM 10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] Warren_Orange:
OK just rebooting now. So all the tweaks are built into the kernel and I should be good to go now?

I was getting bad hangs with AOSP browser and Smooth ROM with R61. Do you think that could be the browser or the r61 kernel? Hopefully this tweaked ROM fixes it.
[Nexus 7 Original Development] fozzie:
Yep - that's a standard warning; as long as you've selected 'kernel image' and the right .img, then you should be fine. Also no need to have wipe cache & dalvik selected (but it'll do no harm if you do).

---------- Post added at 10:15 PM ---------- Previous post was at 10:14 PM ----------

Yep :)
[Nexus 7 Original Development] Warren_Orange:
Nice one Fozzie.

Osm0sis thanks for your help!
[Nexus 7 Original Development] osm0sis:
:( Did you try putting med thresh back to 20? That's really the only more aggressive thing you could do at this point..
[Nexus 7 Original Development] nexusmaniac:
No I didn't, I flashed the osmod.img again and rebooted, the lag seems to have gone away but if it comes back then I will try changing med thresh back to 20. I hope I don't have to go back to 20 :(

N4/N7 - CM 10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] osm0sis:
Me too.. if all else failed my only plan was to step med thresh down 1 at a time.

25 = 4 cores at 100%,

24 = " " " 96%,

23 = " " " 92%

22 = " " " 88%,

21 = " " " 84%,

20 = " " " 80%.

So ideally you don't want to go below 23 since then you'll be jumping to 4 cores before it even gets to go_hispeed_load (90), and even then, I don't like that the margin is only 2% of load..

24 really shouldn't make a difference since it's still higher than high thresh (95), but you never know, the hotplug driver seems a little finicky on the N7 compared to the N4 from what we've seen thus far; otherwise setting high thresh 95 while med thresh was still 20 wouldn't have made a difference before, but clearly we all felt it did.. :confused:

So yeah, if you get it again, drop it to 24 and see, then we'll go from there.
[Nexus 7 Original Development] nexusmaniac:
Since I flashed the kernel again I haven't seen the YouTube lag but if I do then I will edit the med threshold :)

Thanks for all of you help osm0sis

N4/N7 - CM 10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] jazzespresso:
Hi osm0sis,

quick question: I have been testing it, and have not seen any youtube lag. I am thinking I may be not fully testing YouTube, is there a sample(s) YouTube video you would recommend to play for testing? the way I was testing YouTube is playing HD trailers..
[Nexus 7 Original Development] Solaris81:
I have a pretty noob question about the voltage options. From searching this topic I'm not sure if they're working in r61, can someone confirm if they work? If so what would be a tangible but safe undervolt? I realise all chips are different but I'm just after an hour or two extra screen on time, if possible, rather than pushing the limits. Thanks.
[Nexus 7 Original Development] osm0sis:
It's only a few devices that can reproduce the YouTube lag now that the minimum has been raised to 204MHz. If you can't, that's a good thing and count yourself lucky.

UV is still broken.
[Nexus 7 Original Development] canofale:
Holy Liquid Smooth Kernel Batman! Still no stutters or lag on r2. first two battery tests have net a bit over 6hrs sot with less than 10% remaining. Sorry no screenies yet, I''ll have one here soon as I am working on my 3rd battery drain. My wife has a bad habit of putting it back on the dock when I am at work. Absolutely Ridiculous kernel!

note that my sot's include fair amounts of all types of uses from task intense gaming (someone here turned me onto OsmosisHD recently ;) wonder who that could be?), browsing, YouTube/Netflix, and a few readers/feeds. Mostly similar to what most of us do regularly, my goal is to put it through its paces.

edit. WiFi is always on, even while playing games as I always forget, and I bluetooth tether via Tablet Talk for about 3hrs most mornings or afternoons (for work, it sucks!)
[Nexus 7 Original Development] osm0sis:
Haha I was just rechecking my idle drain; I've had it off the charger for 3.5 hrs and it still says Charged and 100%! Amazing!

Edit: Left it for 8 hours over night and it ends up at about 0.3%/hr. Probably could have been better but Exchange email sh*ts the bed whenever it's got an email notification up. :good:
[Nexus 7 Original Development] neo-X:
Mine does the same though. Sometimes I can leave it 9 hours and come back from work and its still 100%. Once I start playing with it though it drops quickly

Sent from my Galaxy Nexus
[Nexus 7 Original Development] The Gingerbread Man:
Haha how's this for a good example of a wake lock? Only 1 hour screen on and off charger for 16 hours and down to 60% battery. Better battery stats is only showing apps causing a few minutes wake lock each but nothing to do with over 4 hours android os.
[Nexus 7 Original Development] Azarin:
Thanks for the suggestions. After performing a bit more testing, it seems I'm still having the issue. I have tried the SIM card in my Nexus 4 and it works fine. I have also replaced the SIM card with a new one from my provider, just to rule it out as being an issue.

The strange thing is it is completely replicable - Using the stock kernel 3G works flawlessly for days/weeks. Using the Franco kernel it dies after a few hours and doesn't come back till the device is rebooted - I have flashed backwards and forwards between the two well over a dozen times. Trying to manually search for networks instantly throws up an error message.

If the 3G part of the kernel is stock (can anyone confirm this 100%) there must be some other strange interaction going on somewhere. Any ideas would be most appreciated!

(As a P.S. a big thumbs up for osm0sis' settings with Franco kernel, the smoothest I have ever seen my N7)
[Nexus 7 Original Development] wags57:
Amazing, my only problem is the torrent APP in osmosis r61
[Nexus 7 Original Development] timbck2:
Which torrent app are you using? Have you tried aDownloader? I've never had any problems with it.

Sent from my toro or grouper
[Nexus 7 Original Development] Metallice:
Welcome to the same problem I've been struggling with in M-Kernel.

Status -2 errors show up in dmesg/kmsg, and then you get a loss of 3g that may or may not show a message saying that the RIL has crashed. What's strange is that according to users from my thread, these status -2 errors show up even on the stock kernel, yet they seem to be related some how.

I would advise Franco and you guys not to ignore this issue as it doesn't just go away. I've noticed users in this thread are quick to jump on these posts saying "my 3g is fine," "it must be some other problem on your end," or "3g has nothing to do with kernel." This is not helpful as I can promise you from my experience with reports in the M-kernel thread that the problem is definitely kernel related.

Hopefully Franco (and I?) can (work together to?) solve this issue as I've had no luck pinpointing the problem so far.
[Nexus 7 Original Development] cityeyes:
Welp, problem solved even though I have no idea what's changed. Didn't uninstall anything, didn't flash anything new, just did my typical "charge to 100%, flash kernel, wipe caches" and Osm0sis' mod of the franco Kernel is working perfectly for me with no deep sleep battery drain.

Completely clueless as to what could have been causing it before.

Thanks for all of the suggestions and help, by the way!
[Nexus 7 Original Development] The Gingerbread Man:
Im getting hammered by amdroidos wake lock at the moment and am going to have to have a serious googling session to fix it. Iv been at work all day, out of the house for some 10-11 hours and after my nights sleep I'm at over 6 hours awake time for my device, 1 hour 44 min screen on.
[Nexus 7 Original Development] osm0sis:
Looking like Maps to me. A count of 1000+ is a bit crazy. Probably matches up with a wlan_rx_wake lock too. Do you have location history (ie. Latitude) or anything on in it? If so, disable those settings. Have you opened it since it updated? Classic issue with Maps wakelocks is that you need to open it so it can tell you "Updated to the latest version" after an update, then it settles down again.
[Nexus 7 Original Development] canofale:
This is my first test that includes the bluetooth tether for about 1 hr and 42 minutes, Wifi on and the normal tests apply. Less sot but still quite reasonable considering wifi and bluetooth were being used, 1hr 42mins tether in which 7 messages were sent and a 3 minute were call made. None of my other 6hr + tests included the tether, sorry if I was misleading. bty my screen brightness is set at 25% for reference. 5 hours and 35 minutes is not too bad.
[Nexus 7 Original Development] The Gingerbread Man:
I have opened and seen that message 'updated to latest version'. I have just disabled location history and I'm not signed into latitude. I must admit I missed the actual number of wake locks being 1000+ for maps and I was looking at the time spent per app thinking 6+ hours doesn't match some 10-15 minutes adding up the total time per app. Anyway I'll see how it goes, its only been recently this has started for me. I'm really hoping this new location service by Google is as efficient as they claim
[Nexus 7 Original Development] slyd0997:
Sometimes (at least for me) getting a GPS is fix gets deep sleep back too.
[Nexus 7 Original Development] jazzespresso:
What battery monitor you are using on the screen you posted? Google+ updated on my N7, and Battery Status Pro keep poping up and says it is potential battery drain app. not sure...
[Nexus 7 Original Development] davisac:
I've been too busy lately to update my nexus for a while but I did today and I'm having a problem with Dice player. It starts off ok but 1-2 min into a movie it will start skipping almost like a scratched dvd.

Looking through some of the changelogs and posts I saw there was a problem with YouTube recently so i checked that and it works fine no lag.

It seems to happen when the clock speed drops to 204 from 475. I played with the hotplug control in the app but couldn't seem to get it right. Any ideas?
[Nexus 7 Original Development] osm0sis:
Count's just as important if not more so. Every time it wakes, the Wi-Fi powers up and you get a wlan_rx_wake. 1000+ wakes could easily add up to that much time overall.

---------- Post added at 06:47 PM ---------- Previous post was at 06:43 PM ----------

Try r61-osmod, we pretty much fixed it 99.9% of the time. ;) I tested with streaming to MX Player on my home network.

http://d-h.st/users/osm0sis/osmod
[Nexus 7 Original Development] frost_nz:
Is anyone else getting a force close when tryingnto open governor setting in the latest version of Franco kernel updater?
[Nexus 7 Original Development] nexusmaniac:
Yes but then I did a reboot and the problem is solved :)

N4/N7 - CM 10.1 Nightly, Franco Kernel
[Nexus 7 Original Development] The Gingerbread Man:
Its called wake lock detector, free off the play store. Its easier to see what stuff is going on relating to each application. I think its easier to use than battery battery stats
[Nexus 7 Original Development] osm0sis:
I still prefer BBS, because you can go by kernel wakelocks, then partial (userland) wakelocks, then alarms.
[Nexus 7 Original Development] The Gingerbread Man:
Yeah im having those force closes, even after a reboot. Bug report sent through play store.

Edit;

Solved by clearing all app data

Edit 2;

I think it was caused by setting govnor control on boot, input boost is now a check box no longer 0/1.

I agree its not as advanced but its much easier to read and see exactly which apps are running rouge and the service that's causing the drain. When I get it mostly sorted I'll load BBS again
[Nexus 7 Original Development] davisac:
That fixed it for me. Thanks osmosis!

Sent from my Nexus 7

---------- Post added at 07:05 PM ---------- Previous post was at 07:01 PM ----------

@franco: the update/check version page in your app flips to portrait mode. The others seem fine. Just a heads up.

Sent from my Nexus 7
[Nexus 7 Original Development] NYLimited:
Yes, indeed, unless the N7 is in the desktop cradle in which case it remains in landscape.. ^o^

----
[Nexus 7 Original Development] jlg19753:
Just flashed franco r61 for the first time on my nexus 7 and everthing seems to be working nice any tricks are things to recommend ?

What is the recommended Gpu over clock if any ?

Sent from my Nexus 7
[Nexus 7 Original Development] kecinzer:
Hi [MENTION=4544860]osm0sis[/MENTION]

your tunables are great. Do you plan do it also for N4? :)
[Nexus 7 Original Development] jlg19753:
Ok i got boot grouper osmosis .img r61 in my kernel backup folder in franco app so just push install ? All good ?

Sent from my Nexus 7