yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] joaquinf:
When your device reboots randomly or is freezed do the following:

Force a reboot by pressing the power button for about 10 secs

Immediately after reboot hold the volume down button, that will take you to the bootloader

double tap volume up when into bootloader mode and then press power button to boot into recovery mode

Assuming you have TWRP (if you are using cwm please read the bottom of this post to pull the file via adb when booted into cwm), go to advanced > file manager > navigate to this path /proc/ > look for the last_kmsg file and select it by tapping once > Select copy file > navigate to /sdcard/ > tap "select" > swipe to confirm

Done, now you have the last_ksmg file on the root of your sd card

You can also get the last_kmsg by navigating to /proc/ using any file explorer and copy the file to your sd card. Please note that the file is generated on every boot, that being said this method is only useful if you pull the file immediately after booting from a crash.

EDIT: Another way to do it is using adb (use this method when booted into recovery mode to pull the file if you are using cwm). To use this method open a terminal window, go to whichever directory you want to copy the file on your pc (i.e cd desktop) and type this:

adb pull /proc/last_kmsg

Done :)
[Nexus 7 Original Development] TheByteSmasher:
Cheers! I got another one from r36, maybe it'll help Franco, will post in a mo. BTW is the last kmsg only valid if I get it from recovery during recovery from a freeze? Or can I boot up and grab it from a root file manager?

Sent from my Nexus 4
[Nexus 7 Original Development] xateeq:
I wokeup with r33 flashed, hopping a sob but lucky me no problem.

Edit:sob=sod my bad :D

Sent from my Nexus 7
[Nexus 7 Original Development] TheByteSmasher:
Huh?

Sent from my Nexus 4
[Nexus 7 Original Development] joaquinf:
You can do it anyway you want :)

Try r37. Is out and any weird stuff should be gone for good

Try r37 and report your findings
[Nexus 7 Original Development] TheByteSmasher:
I guess what I'm wondering is what exactly is in the file, how often is it written to and how far back (history wise) does it go?

Sent from my Nexus 4
[Nexus 7 Original Development] osm0sis:
Reset on each boot. kmsg = kernel message. It's the kernel log basically.
[Nexus 7 Original Development] TheByteSmasher:
OK, last annoying question for the day, since both the N7 and N4 have IPS displays, why don't we have color correction available for N7?

Sent from my Nexus 4
[Nexus 7 Original Development] icepuente:
Well when I was on r36 I had a freeze and reboot. Ever since then I haven't been able to boot past boot animation. I have tried wiping cache and dalvik and reflashing the latest CyanogenMod zip and still didn't boot and also tried reflashing r37 via fastboot and zip which never booted.
[Nexus 7 Original Development] osm0sis:
If I recall correctly, they're not the same kind of IPS.

---------- Post added at 01:58 AM ---------- Previous post was at 01:57 AM ----------

Franco, while we've got you here...

Also .... runparts. :silly::p
[Nexus 7 Original Development] TheByteSmasher:
Use Osm0sis's kernel recovery zip. Just worked for me.
[Nexus 7 Original Development] opz187:
Unfortunately I just had another 2 freezes in chrome. I'll try to reproduce and grab last kmsg. Oh yea.. On r37
[Nexus 7 Original Development] TheByteSmasher:
@ Franco here is the last kernel message from r36, maybe it'll give you an idea as to why the freezes.. the last line has some sort of err... but I don't speak kernel. :D http://db.tt/HfXesDdr oh, it was just sitting there shortly after reboot from freeze
[Nexus 7 Original Development] RootTheMachine:
I was literally about to power down and go to bed when it froze on me with r37.
[Nexus 7 Original Development] galaningenieros:
Hi guys. I have not had any reboot since r31. Absolutelly none, and every new release has been excellent. Having a look to r37, i have noticed it works as r31, without 2 Cores when touch event and with lower frequencies than 400. Is that right Francisco?
[Nexus 7 Original Development] joaquinf:
Damn, just got a SOD (i didn't grab a last_ksmg for this) and then after a reboot i had a major slowdown on r37 like those we were having on the galaxy nexus, which ended up into a freeze. I was trying to watch some videos on Youtube BTW.

Here is the file francisco. I hope that helps
[Nexus 7 Original Development] farmerbb:
Well I decided to try r37 anyway. After almost an hour of constant usage, my Gmail app started freezing up, then finally the whole system did. :mad:

last_kmsg attached. Back to r31 again.
[Nexus 7 Original Development] ragnarok12:
Just got a freeze up, on r37, while using the Play Store.
[Nexus 7 Original Development] jpar:
I got a freeze on r37 too while in the play store.
[Nexus 7 Original Development] joaquinf:
Guys please go back to pages and read the post about how to pull a last_ksmg file. When reporting an issue is very important to give useful information not just "rebootz halp!" please provide the last_ksmg file next time if you want to help Francisco

Thanks
[Nexus 7 Original Development] joaquinf:
This time I had the slowdown of freeze (SOF) :p featuring a wifi drop while typing on Tapatalk

File attached
[Nexus 7 Original Development] xateeq:
Just flashed the r37 kernel and now cpu scales fine to all frequencies, no force close yet. will report back soon.

Governor set to interactive, powersaver had little jitters :)

P.S: Should i change some thing or just let it as it is, fsync or gpu scaling stuff.
[Nexus 7 Original Development] Jubakuba:
Actually, I prefer it off anyway.

Quite the slew of GNex users are having data problems due to fsync being disabled.

And I'd go the init.d route.

I have franco's app, actually.

And Glados.

And Trickster.

I just prefer not keeping them on device and use the stock Kernel values.
[Nexus 7 Original Development] Hussainally:
Any feedback on r 5,?....r 4 is so good dont wanna figgit
[Nexus 7 Original Development] franciscofranco:
Try it and see for yourself, r4 will be right here for download if you dont like r5 :)
[Nexus 7 Original Development] currydude:
R5 is excellent! Most stable and smoothest kernel available, no fussing around with overclocking/undervolting. Love it! Just as amazing as the r15 kernel for sgs3.
[Nexus 7 Original Development] drose6102:
Grrr just flashed R4 last night, now R5 drops lol. I will flash when I get home. Thank you Franco for adding the 7 to your app. Really helps keep the Galaxy Nexus and 7 up to date
[Nexus 7 Original Development] uaral:
sry for my noob question , can i use this kernel in stock rom? and flash it with cwm recovery?
[Nexus 7 Original Development] danielvc:
yes and no, with flashboot or the Franco.Kernel-app
[Nexus 7 Original Development] franciscofranco:
Follow the instruction in the OP to flash it.
[Nexus 7 Original Development] olrait:
Thanks a lot Francisco. Using your kernel since r3 and loving it ! Now on r4 no issues at all, will flash r5 asap though !

Thanks for updating your app for our n7's too !
[Nexus 7 Original Development] ximmox:
First time trying out any of your kernels (r5), I really like it so far!

Seems snappier to me then faux's and morfic's latest versions and will stay on my Nexus for some time.

Looking forward to the further development, thanks Franco!
[Nexus 7 Original Development] BrandT90:
I've used Franco's kernel on my GNex for quite a while now. Just flashed r5 to my Nexus 7 and wow. I usually underclock to 1100MHz and this kernel makes animations and transitions so smooth. I've tried trinity, motley, and clemsyn's kernels and I was surprised that Franco's is much smoother.

Thank you Franco! You never dissapoint.
[Nexus 7 Original Development] myepicyear:
Well, I guess I've told you nothing useful then, lol. Thought you actually needed help. Sorry.
[Nexus 7 Original Development] GchildT:
Nexus 7 + AOKP Nightly Test Build + Franco R5 = BeastMode
[Nexus 7 Original Development] ragnarokx:
Got my first random reboot on my Nexus 7 after flashing r5 with the Franco app (latest Eos nightly). I was using the app Pulse when it happened. After rebooting to the Google screen, the speaker hissed for a few seconds then popped, then booted normally. Only settings I changed were turning PM_FAST on and turning Logger off.

http://db.tt/yewhtRdf (last_kmsg)

Sent from my Nexus 7
[Nexus 7 Original Development] GeekMcLeod:
Been a huge fan of your kernel ever since I got my Gnex. Since I've had my N7 I haven't installed it, but knew I eventually would.

Last night, after doing a clean install of PA 2.1, I installed it. Great work so far!! I still need to donate something to you! Definitely will next time I get paid. Keep up this amazing work, Franco! :D
[Nexus 7 Original Development] osm0sis:
Nope. The CWM flashable zip is where Franco includes a cleaner script and he won't be making one for the N7 kernel until it matures a bit more. You can try the Kernel Prep (cleaner) script from the GLaDOS thread if you're really worried. It cleans out settings and files that all the most-used kernals might leave behind. I reposted it in the GN thread awhile back, along with its contents, for perusal: http://xdaforums.com/showthread.php?p=28420009#post28420009
[Nexus 7 Original Development] franciscofranco:
That was a kernel crash indeed. I guess it crashed when attempting to access a memory address that was null and it crashed. It was during a cpuidle call so I guess the new CPUQuiet driver was behind it. It's normal that the driver has a few bugs. First time I see a crash though.
[Nexus 7 Original Development] matius44:
My experience/feedback with this kernel:

Been using r4 (did not have the chance to flash r5 yet but will do later tonight) together with ParanoidAndroid.

Performance is top notch as usual with all franco's kernels :thumbup: what surprised me is how much battery life has improved! Today, after more than 13+ hours unplugged and some 2+ hours of screen on time I still have 75% remaining! With some logic and calculations this means it could go on for 2 days with around 7-8 hours of screen on time which is simply fantastic! This kernel has performance AND battery life!!

Amazing job franco! :D

EDIT: Forgot to mention that this was achieved with screen brightness set at 40% and wifi/sync always on
[Nexus 7 Original Development] harise100:
R4 runs smoother than R5 on mine.

I'm using AOKP nightlys.
[Nexus 7 Original Development] twirtle2:
What about those of us using cwm?
[Nexus 7 Original Development] osm0sis:
adb pull like he said. Though I don't think the > is necessary. :good: ;)
[Nexus 7 Original Development] twirtle2:
Oh is there no other way without a computer?
[Nexus 7 Original Development] currydude:
Root Explorer go to the proc file and copy the last_kmsg file? LOL
[Nexus 7 Original Development] bhu1:
@Franco I think I found the problem of freezes. Its something to do with interactive changes u made, metallice added the same changes in his kernel and now I am having exactly same freezes on his kernel. I hope this helps.
[Nexus 7 Original Development] currydude:
Changing to ondemand seems have solved to problem to me, so I think it is the interactive patches as well. Too early to tell though
[Nexus 7 Original Development] Puzzlegirl:
Changing to Ondemand seems to have stopped the freezing for me so far as well :)
[Nexus 7 Original Development] johnnyman25:
so how is the new r37 version?any crashes yet?? :)
[Nexus 7 Original Development] currydude:
After changing to ondemand, I've had no problems.
[Nexus 7 Original Development] poondog:
No problems so far on r35 on demand. Maybe it's placebo lol but no freezes yet... Then again I had no freezes with r35 interactive for like 4 hours
[Nexus 7 Original Development] johnnyman25:
the cpu drops down to 100mhz?for me almost it never drops.i must change sampling_rate to 40000 from 10000 to get the cpu down to 100mhz.
[Nexus 7 Original Development] Mutalisk:
last_kmsg

For the more lazy like me:

Put this in etc/init.d, remove the ".txt", give it - rwxr-xr-x permission and you'll always have a fresh last_kmsg.txt on your sdcard ;)

Edit: noticed that Franco didn't add init.d support yet, sorry.

Anyways, as soon as he does it will do the job, and you can use the script for your other devices as well. Good for troubleshooting :)
[Nexus 7 Original Development] Zorua:
I've always used ondemand, never had a freeze. Been running this for a week, ever since I got my Nexus 7.
[Nexus 7 Original Development] johnnyman25:
can someone post what ondemand settings he has?thx.
[Nexus 7 Original Development] Eef:
+1

and is it true that ondemand can be a little less smooth than interactive?
[Nexus 7 Original Development] swieder711:
Upgraded to r37. System hung while reading the news. Switched to ondemand and bumped min cpu speed to 200. Will report back.
[Nexus 7 Original Development] irminsul:
I think I'm the only one who's happy with r32, haha :D
[Nexus 7 Original Development] Antob125:
I'm planning on rolling back to 4.1.2 What is the most recent stable version i can use with 4.1.2
[Nexus 7 Original Development] Mac of York:
r25: http://minooch.com/franciscofranco/Nexus7/boot-r25.img
[Nexus 7 Original Development] timbck2:
I'll always get "copy failed" when I try this method. And yes, I have ES Files Explorer in root mode.
[Nexus 7 Original Development] joaquinf:
Do you have busybox installed? Or try using a different file explorer (i.e solid explorer)
[Nexus 7 Original Development] swieder711:
Was on r37. N7 hung while watching a video thru dolphin browser. Rolled back to r31. Was using ondemand.

Wish I had more details to provide Franco.
[Nexus 7 Original Development] xateeq:
I have to report SOD on r37, other thewn that every thing is normal.

Switching from interactive to on-demand governor, will report back soon.
[Nexus 7 Original Development] illmatic24:
You liked your own post from your other account?? LOLL
[Nexus 7 Original Development] -viperboy-:
That's because powersave governor uses only the min frequency :)
[Nexus 7 Original Development] timbck2:
Just had a freeze on r37. Hope the linked last_kmsg helps. http://db.tt/uP38wmjZ
[Nexus 7 Original Development] blipp:
Hey, just got a freeze on r37 while viewing the settings menu. Had been running for almost 11 hours no problems (and had lost only like 7%, love this kernel, good job Franco)

did an adb pull while in recovery, hope this is the right type of file http://db.tt/h2wuBtZ3
[Nexus 7 Original Development] timbck2:
Another r37 freeze while playing World of Google (hey, I'm on holiday!). Link to last_kmsg attached, hope it's useful. http://db.tt/n3N5rkTh
[Nexus 7 Original Development] C4SCA:
mine frooze playing ta on r37, back to r31

stock 4.2.1
[Nexus 7 Original Development] RootTheMachine:
You guys using interactive or ondemand?
[Nexus 7 Original Development] blipp:
I was on interactive, switched to ondemand after it booted back up after the freeze.
[Nexus 7 Original Development] ÜBER™:
Been up 17 hours on r35 with 0 issues, not even an SOD. What ROM is everyone on having issues? I'm on rasbean.

Sent from my Nexus 7
[Nexus 7 Original Development] osm0sis:
Yeah guys, it's a reasonable assumption that the freezes are caused by something going crazy in some of the new the interactive patches, so switching to ondemand is a good way to work around it but stay on the newer builds. :good:

---------- Post added at 01:38 PM ---------- Previous post was at 01:23 PM ----------

OT: Hey guys, wouldn't normally do this, but this is something we all have on our devices, so I think it's fair game to spread the word. ;)

The SuperSU Icon Competition Voting is finally open! AND I just happen to have a submission in there that I hope will appeal to everyone:

http://www.chainfire.eu/articles/127/_Vote_SuperSU_Icon_Competition/

[Click for full size]

Please cast your votes! :)
[Nexus 7 Original Development] co.ag.2005:
I had a freeze on r37, using Rasbean. I was using the calculator and it froze, had to had to hard reset. was running 1300/300, interactive/deadline

I'll switch to ondemand for now.

also, no log. last_kmsg looks blank.
[Nexus 7 Original Development] maarawoe:
Had a freeze during the governor change to ondemand....
[Nexus 7 Original Development] timbck2:
I'm pretty sure I'm on interactive at the moment so ill give this a shot. :thumbup:

Sent from my Galaxy Nexus
[Nexus 7 Original Development] stalkachu:
Been running ondemand on r37 most of today. So far, no issues.
[Nexus 7 Original Development] KiljoyMcCoy:
haveing random freezes using pretty much everything after about 20 mins of use. have tried different settings and still happens on jellybeer. when its not frozen it runs great though.
[Nexus 7 Original Development] jpar:
I was getting freezes when I was using r37 with trickstermod, but I uninstalled that to see how things would go and I haven't had a freeze since then. I don't really know if that was the problem though.. What apps do you guys use to turn off fsync and other settings?
[Nexus 7 Original Development] kingoanklebreakn:
I use Francos app.
[Nexus 7 Original Development] RootTheMachine:
Been using ondemand all day with no issues. When I booted it again with interactive, it froze within minutes. Interactive seems to be the problem for sure.
[Nexus 7 Original Development] xateeq:
2nd update, switching the governor did the trick. No more sod and every thing is smooth as silk.

P.s: i am using on demand governor.

Sent from my Nexus 7

---------- Post added at 01:59 AM ---------- Previous post was at 01:59 AM ----------

I totally agree with you.

Sent from my Nexus 7
[Nexus 7 Original Development] YoshiFan501:
is this kernel have the kexec-hardboot patch for nexus 7 multirom?
[Nexus 7 Original Development] opz187:
So I switched to ondemand... But my frequency is straight chillin at 1300mhz.. It won't move. I've rebooted, still @ 1300 MHz.. Anyone else?
[Nexus 7 Original Development] ÜBER™:
Nope scales fine for me, but I'm still on 35 I see no need to update until we hit a breakthrough.

Sent from my Nexus 7
[Nexus 7 Original Development] opz187:
Um, yea.. I'm talking about r37
[Nexus 7 Original Development] ÜBER™:
Um yeah there were no changes to Ondemand. Interactive only bud.

Sent from my Nexus 7
[Nexus 7 Original Development] illmatic24:
No need to curse. An ideal and logical thing to do would be to go back to r35 and see if you still have this issue.
[Nexus 7 Original Development] opz187:
This is what I'm experiencing on r37 ondemand.
[Nexus 7 Original Development] ÜBER™:
Also try changing to the gov parameters. This is what I'm using.

Sent from my Nexus 7
[Nexus 7 Original Development] opz187:
I see
[Nexus 7 Original Development] ashclepdia:
Have you maybe tried a different app to check the usage?

From what I see there it seems like trickster app seems to not know what's going on with the CPU usage.

Maybe check CPU spy and see if the results are the same?
[Nexus 7 Original Development] illmatic24:
It might be a bad app or something. reflash rom and kernel
[Nexus 7 Original Development] opz187:
I tried perfmon, that's what the 2nd screenshot is of, idk if you can see it tho. Gonna try reflashing and see if that does anything. Something interesting tho, after going to ondemand, then switching back to interactive, I don't seem to be having any freezes.. Yet. I usually had freezes while typing

---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------

How's the responsiveness with those settings
[Nexus 7 Original Development] ÜBER™:
Just fine, give it a shot. Also have my min at 200 instead of 100.
[Nexus 7 Original Development] opz187:
Will do. I apologize for cursing and being condescending.. Sometimes my frustration gets the best of me
[Nexus 7 Original Development] ÜBER™:
As does all of us ;)
[Nexus 7 Original Development] bossman137:
hooochi momma. What a conundrum. One one hand its a great kernal. I've used them all and this is the best bang for the least amount of extra tweeking and babysitting... good work on it! or it would be if not for the continual debilitating freezing and hard rebooting. I anxiously await future stable versions!
[Nexus 7 Original Development] stalkachu:
Have you tried using on demand? ;)
[Nexus 7 Original Development] Divine_Madcat:
Thread cleaned.... Please guys, at least try to stay on topic........ :P
[Nexus 7 Original Development] johnnyman25:
happy new year all!! :) i tried ur gov paraments with trickster app and it feels smooth now.what all these settings means?also for LP core max freq what setting u use?the default is 500!thx!!
[Nexus 7 Original Development] superbobup:
I don't think the LP core max matters, as I think Franco's kernel skips using the LP core altogether
[Nexus 7 Original Development] johnnyman25:
Thx for the fast reply.these settings uber posted is good?can u tell me what gov settings mean?(such as up_threshold ,sampling rate etc).thx again.

Στάλθηκε από το Nexus 7 μου χρησιμοποιώντας Tapatalk 2
[Nexus 7 Original Development] superbobup:
No clue about ubers settings, but I'm sure they're good enough for him. If anything, it's a good starting point and then you can fine tune them to your own needs.

There's an XDA thread that explains the governor parameters. Don't have the link on me, but if you Google "XDA governor value" it should be the first hit. That thread probably does a better job than I can do
[Nexus 7 Original Development] stalkachu:
On a related note, r37 ondemand, 64% battery left and 2 hours 50 screen on. Pretty much all streaming video. That's pretty darn good. @_@
[Nexus 7 Original Development] xateeq:
3rd update, still no issues what so ever on r37 with ondemand governor.

Sent from my Nexus 7
[Nexus 7 Original Development] TheByteSmasher:
@Franco: Are all these logs giving you an idea as to what the issue is? Using r23 on my N4 and I love it, no freezes sods etc.. but so far, can't use Franco for my N7 since its also my alarm clock and for obvious reasons it needs to be freeze free. Keep up the great work and I hope you get out figured out soon!

Sent from my Nexus 7
[Nexus 7 Original Development] anerik:
Guys i wanna clear my doubts before reflashing... from what i've heard, best thing to do is:

Flash via fastboot

Change governor to ondemand

Flash emergency zip

Is this correct? Thanks and great kernel
[Nexus 7 Original Development] bhu1:
Happy I could help. Now let's hope Franco fixes interactive governor soon.
[Nexus 7 Original Development] maarawoe:
Battery drain and sleep death over the night :( (ondemand 200/1300)

Yesterday huuuuuge lags caused by wpa_suplicant and no connection after the wake up so I had to hard reboot...

Sent from that su*kin-fu*kin piece of sh*t with a locked bootloader...
[Nexus 7 Original Development] irminsul:
Somehow my NFC doesn't work, its greyed out. I'm on stock ROM and r32. Can this be kernel related? Last time I used NFC on my 7 was about a week ago.
[Nexus 7 Original Development] timlambo:
Just flashed the latest r37 and got my first freeze with this kernel. Before that I was on r32 with no random freezes. Attached is the last_kmsg after I rebooted.
[Nexus 7 Original Development] Juzman:
Did a full wipe of my N7 today (restored to 4.2.1 sources). Then wiped, installed ParanoidAndroid 2.99 Beta 9 and then flashed r37. Undervolted with TricksterMOD and changed a few ondemand settings.

It is running beautifully, thanks for your work!
[Nexus 7 Original Development] Sib64:
@Francisco

Good work :good:

But I would like to know if your kernel is compatible with the specific Nexus 7 3G Tilapia ?

I'm not sure of this after reading all of the thread.

If yes can you add "for 3G also" somewhere in your OP

Thanks for your answer ;)

[Edit] I want to add your kernel in the Index for N7 3G, and I want to be sure before to add it
[Nexus 7 Original Development] darkdonkey:
It runs just fine on my 32gb 3g :)
[Nexus 7 Original Development] kenkiller:
I'm using r37 on temasek's unofficial CM10.1, 3G data works fine.

But if there's anything otherwise that is incompatible with tiliapia, I've not seen it yet.
[Nexus 7 Original Development] Sib64:
Thanks for your answers ;)