yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] skullassfreak:
Hey guys ive been expericing system freezes with a few Roms (all running Franco). The screen would lock up and the system wouldn't respond to any input (vol/sleep) and I'd have to do a hard reboot (and unplug the USB if it was in). If I was listening to any music at the time it would just make a really annoying tone and wouldn't stop until the system powered down.

I flashed back to stock. No problems at all. Then i reflashed the r19 (default settings only changed rbg colors, balanced profile when screen on) and I experienced a freeze just now. I was just surfing chorme. Now I think there could be 2 things causing this

1. The kernel itself. I went looking for last_kmsg but there was no log. There were a few tombstones that mentioned nuplayer but idk what that means and why it would pop up.

2. I was using a battery saving ovelay to kill every other pixel (pixel battery saver). And I'm not sure if that could cause it. If there is a log for that or if anyone experienced similar problems please let me know. This was working without flaw in stock.

EDIT- Disabled and got another system freeze. I was exitting out of a game this time.

Now these crashes are very much random and I cannot reproduce them. I've tried stressing the system using antutu, while running background music, and other apps.

If it help I attached all logs from my last boot except tombstones.

EDIT- New crash new log. Still have not touched any other settings in FKU. I hope these logs are useful. I'm not a Dev but I think these are the logs you may need. If they are not please let me know what would be more useful.
[Nexus 6  Original Android Development] hdtechk:
Try going into developer setting and disable unplayer see if that helps
[Nexus 6  Original Android Development] hdtechk:
Sorry I meant nuplayer
[Nexus 6  Original Android Development] franciscofranco:
I can't see any **** on the Kernel log. I can only see some weird selinux denials for app_process32_o.

Without a reproduceable case it's impossible to understand what it is. Besides, I don't see anyone else with that problem, which leads me to believe there's some weird ass compatibility issue when running FK. Are you using xposed? What is that battery saver overlay? My mdss (display) drivers are not stock, plus, I have display adjustment drivers, which may be conflicting with that thingy overlay you're using.

I think you're on your own with this, I can't really help.
[Nexus 6  Original Android Development] curtdragon:
I searched but cannot find it. Can anyone tell me what the default governors are for the cpu and gpu please?
[Nexus 6  Original Android Development] anthonyg45157:
Default for franco?

Cpu- conservative

Gpu- mines in simple on demand, but could be because of vomer tweaks.
[Nexus 6  Original Android Development] franciscofranco:
I've put it on simple_ondemand myself, so you're correct on both.
[Nexus 6  Original Android Development] skullassfreak:
The overlay is on the play store (its called pixel battery saver) and all it does it turns off every other pixel. I thought it was that until i got a crash with it disabled. I dont have xposed because no roms are compatible with it. Other than that there isnt much else that can be messing with the system. I have bootlog uptime running so the next time i get a crash ill try and read it. The crashes arent frequent maybe 1 or 2 a day so i was just trying to make sure i didnt have a hardware problem. Just one question, i have a rather bulky rubber case on the phone, if it get too warm would the kernel cause a shut down?

I was worried about it being something that was impossible to identify since ive never had a problem with your kernels before. If it become too much of a nuisance i may rma my phone unless its a lollipop bug and 5.1 fixes it but that seems unlikely since I am literally the only one with problems on the standard factory image & your kernel.
[Nexus 6  Original Android Development] curtdragon:
Awesome!

Thanks
[Nexus 6  Original Android Development] franciscofranco:
Sorry I don't know. If it works fine on stock Kernel then it's something on FK, but without a reproducible case it's impossible to debug.
[Nexus 6  Original Android Development] tansuperman:
Msm hsic host wake lock . enabled or disabled folks?
[Nexus 6  Original Android Development] TMYINC:
Disabling would probably save battery life of course. I'm not sure if it would cause any data issues or not. The issue a while ago was that the wake lock would enable to ping of of towers, location, etc but wouldn't suspend completely causing battery drain. This was a while ago on the nexus 4 I believe so it may not hold any relevance here lol.
[Nexus 6  Original Android Development] tansuperman:
Thank you. I saw it in fku and didn't know what it was. I just knew wake lock meant bad. I'll try it disabled for a few days.
[Nexus 6  Original Android Development] GregNexus:
http://www.androidpolice.com/2015/0...nexus-6-android-5-1-update-will-be-out-today/

Hope this will happen today:D

- 5.1 release for the Nexus 6
[Nexus 6  Original Android Development] anthonyg45157:
He will. Also he's waiting on 5.1 I'm pretty sure
[Nexus 6  Original Android Development] russlowe73:
Using stock settings, no wakelocks, but phone won't deep sleep? Any advice?
[Nexus 6  Original Android Development] purian23:
It's the fault if the newest play store update I believe. Not the kernel.
[Nexus 6  Original Android Development] DominoDoug:
Just want to update with an experience I had last night. Running CM12 nightlies. Flashed the kernel. Boot up and have no root. Do some researching and find out I need to flash SuperSU zip. Flash zip. Reboot. Have root.

Reboot one more time before bed. Wake up and go through my routine to find that I have no root again. Not sure if this was an anomaly or if I did something wrong. I'm running encryption and prefer to stay that way. Any advice would be appreciated.
[Nexus 6  Original Android Development] USA-RedDragon:
I ported it for Vindicator, the commits are on githib. Should be easy to merge
[Nexus 6  Original Android Development] zenxaero:
I too like to play with fire [emoji6]
[Nexus 6  Original Android Development] githyanki:
Perhaps CM12 updated overnight? I know they have updates working, not sure if they are set to automatically install. Open superSU and set the option to install script to have SU survive rom flashes.
[Nexus 6  Original Android Development] DominoDoug:
I manually flash my updates. So in my case I flashed 3/10, flashed Franco, flashed Super SU. Maybe the reboot after all this was set up forces Kush's su to take over? I'll try the script method. Didn't select that initially because I wanted to just give it a test trial.
[Nexus 6  Original Android Development] lobrau:
Can anyone tell me that when the image drops for 5.1 if Franco kernel will have an issues if flashed along with it. I'd rather stay unencrypted. But also want to flash it right when available.
[Nexus 6  Original Android Development] funkpod:
Help... Weird problem... I'm getting static from my speakers when playing Clash of Clans... I notice this because the sound is off in the game.

Could this be a kernel problem?

Anyone else?
[Nexus 6  Original Android Development] anthonyg45157:
Highly doubt it. Franco doesn't mess with sound. I just tried clash of clans and when turning off music and sound effects I have absolutely no sound coming from speakers. With sound on it may sound like static because of the ocean sounds... Other than that I don't have the same issue. I'm on Chroma and also using Viper for sound.
[Nexus 6  Original Android Development] funkpod:
Thanks, but it is definitely not any of the sound effects. All sounds effects and music is turned off. It's a weird problem.
[Nexus 6  Original Android Development] Amos91:
Its fairly common, particularly if you are low on battery.
[Nexus 6  Original Android Development] funkpod:
Really? Interesting... What causes it? I will experiment with more battery.
[Nexus 6  Original Android Development] franciscofranco:
Generally a bad idea to be flashing older Kernel binaries on newer Android versions. I'm pretty darn sure it needs updated ramdisk and updated Kernel commits to match changes on Android's side. You gotta be patient after 5.1 images drop.
[Nexus 6  Original Android Development] shivindera:
Hi [MENTION=3292224]franciscofranco[/MENTION],

I know there are many posts before this but I couldn't find a valid answer. My phone shuts down (not reboot) when I have battery level hitting below 40% (usually when I am using dialler) . Once I power it on, this repeats continuously for 3 to 4 times before finally stabilizing (stops powering off).

I read somewhere to check logs in /sys/fs/p store but I find the folder empty. My configuration is:

CM12, your latest kernel, rooted (superSU), installed xposed.

A little history. I have had this happening since I got the phone. Initially I thought it was stock kernel issue. Then after flashing ur kernel it stopped for a while... but it again started some time back. I had these when I was on stock ROM also.

Any kind soul who can help me, I would be extremely grateful.
[Nexus 6  Original Android Development] Janzen254:
Look in /data/system/dropbox for some of your previous kmsg.
[Nexus 6  Original Android Development] franciscofranco:
No one knows the cause for that. It also happens on 100% stock devices. I can't reproduce it. It's probably a wrong reading of the battery level and Android gets all confused. Hopefully 5.1 fixes it.
[Nexus 6  Original Android Development] shivindera:
Hi,

I checked the folder you mentioned. It has a lot of txt files but on opening them there is nothing in them. :(
[Nexus 6  Original Android Development] Janzen254:
Yeah might not be showing the correct battery life %. Why is it I never have any of these weird problems people have with my Nexus 6? Now if Google would release 5.1
[Nexus 6  Original Android Development] shivindera:
Thanks for replying. I guess wrong reading on battery does explain it switching off, I really hope 5.1 fixes all this. There are times when this sudden switch off leads to me missing as to who called or stuff like that. Also, it doesn't power off with the shut down message and everything. It just goes poof and phone off.

---------- Post added at 06:11 AM ---------- Previous post was at 06:08 AM ----------

Well the battery is there for sure, because once it stops going poof dead 3 to 4 times continuously, it runs smoothly till 0% battery. So no complains there. But this sudden switch off is irritating at times. Happens almost every other time.
[Nexus 6  Original Android Development] Janzen254:
They probably have nothing important but just to check:

Look for SYSTEM_LAST_KMSG@*.txt.gz in that /data/system/dropbox directory

* is the numbers which I think is the time maybe?

You might have to extract the gz.
[Nexus 6  Original Android Development] shivindera:
Can't find any SYSTEM_LAST_KMSG one you mentioned. Have a lot of system_app_strictmode, system_tombstone and 1 system_app_wtf
[Nexus 6  Original Android Development] franciscofranco:
Crash logs are in /sys/fs/pstore/console_ramoops
[Nexus 6  Original Android Development] cabagekiller:
Kernel source should release soon as sprint OTAs are starting. Someone post the URL for it.
[Nexus 6  Original Android Development] franciscofranco:
The sources are not up yet. I'm flashing my N6 right now with 5.1 and get a headstart.
[Nexus 6  Original Android Development] franciscofranco:
If you don't want to wait for the images and if you're rooted and/or with a custom Kernel (regardless of which) you need to:

1 - fastboot system from 5.0.1 images

2 - fastboot boot.img from 5.0.1 images

3 - boot into stock recovery

4 - apply update from adb and sideload the ota.zip

That should do it without losing any data.﻿
[Nexus 6  Original Android Development] stas333:
Does the bootloader needs to be relocked?
[Nexus 6  Original Android Development] franciscofranco:
No - if it did I would've said it, but that would be stupid.
[Nexus 6  Original Android Development] Janzen254:
Yeah, but I also have older kmsg in /data/system/dropbox I only have one of right now maybe because I haven't rebooted since updating to r19.
[Nexus 6  Original Android Development] franciscofranco:
But dropbox has nothing to do with crashes or the Kernel... never seen anything like that before, I think you're a bit confused.
[Nexus 6  Original Android Development] Janzen254:
Then why does mine have these in my dropbox?
[Nexus 6  Original Android Development] jtorress:
Charging LED remains on even with toggle off on CM12. Is this on purpose? Anyway to turn it off?
[Nexus 6  Original Android Development] franciscofranco:
Anyone with 5.1 already? If so, can you confirm that all cores are online by default?
[Nexus 6  Original Android Development] suku_patel_22:
Does 5.1 OTA encrypt the phone?
[Nexus 6  Original Android Development] szale9001:
Just about to say that! Yes, they are indeed all online for me. I hope this isn't a mistake, I rather like the idea of abandoning hotplugging :)
[Nexus 6  Original Android Development] franciscofranco:
AMAZING :D
[Nexus 6  Original Android Development] hlxanthus:
I have it up and running. They seem to be.
[Nexus 6  Original Android Development] Janzen254:
I have been running mine with all 4 on for a while now. No issues and no loss of battery life.
[Nexus 6  Original Android Development] noneabove:
Sorry is this stock or with franco kernel ? I'm gonna wait for franco cause I want to flash it before my first boot so it doesn't go encrypting on me :rolleyes: though it's possible encryption is better now.. still, easier to encrypt than to decrypt so i shall wait :)
[Nexus 6  Original Android Development] franciscofranco:
Stock.
[Nexus 6  Original Android Development] noneabove:
Ah okay, I thought maybe people were being experimental ;) either way still interesting ! I'm anxious to get my hands on 5.1 but with needing to backup, flash 5.0.1, then upgrade, then root, then stop the forced encryption and it being 1 am when i have a morning class.. Guess i'll be waiting another day !
[Nexus 6  Original Android Development] szale9001:
I am already encrypted so I make no promises, but I saw this floating around reddit. Looks like someone already made a boot.img for 5.1 without the force encrypt. Fell free to give it a try if you don't feel like waiting for custom kernels, but like I said, I can't vouch for it.

https://www.reddit.com/r/nexus6/comments/2yrk8f/lmy47d_boot_image_without_forced_encryption/
[Nexus 6  Original Android Development] poczynek:
There's already one here:

http://xdaforums.com/showthread.php?t=3052425
[Nexus 6  Original Android Development] suku_patel_22:
Man this stock 5.1 with encryption is smooth. Did Google online all cores to improve performance with encryption turned on?
[Nexus 6  Original Android Development] TEW999:
No I do believe all the cores are now on permanently because the benefits of this out way the negatives. This should hopefully help with system hangs and improve responsiveness throughout the system. The battery shouldn't be affected too much because hotplugging a core online uses a fair bit of power in itself. When I had my nexus 5 and nexus 6 I ran Francos kernel on both with hotplugging disabled. My battery life never took a noticeable hit and my device seems to perform smoother :)
[Nexus 6  Original Android Development] danielvc:
Just FYI: when I rebooted in recovery (stock) for sideloading the OTA, it automatically wiped my /data partition. It think it has something to do with the forced encryption in Lollipop/Nexus 6?

Now patiently waiting for Android 5.1-kernel from Franco :)
[Nexus 6  Original Android Development] franciscofranco:
I'm waiting for the sources to be out, they are taking their sweet time.
[Nexus 6  Original Android Development] xReaper7x:
Your the best Franco! Can't wait for a 5.1 kernel! Keep up the good work amigo :)
[Nexus 6  Original Android Development] suku_patel_22:
I am running stock 5.1 at the moment. It is as smooth as FK v19. Wonder what Franco will do with this base.

Now that I have gotten used to the cooler color Profile, the stock colors look horrible.

Sent from TheSixthDimension
[Nexus 6  Original Android Development] EnterLordVader:
Was about to write exactly this.
[Nexus 6  Original Android Development] Arunabh:
5.1 image is out.

Sent from my Nexus 6
[Nexus 6  Original Android Development] suku_patel_22:
And so are binaries

https://developers.google.com/android/nexus/drivers#shamulmy47d

Sent from TheSixthDimension
[Nexus 6  Original Android Development] franciscofranco:
Ok the sources are out, but I need to start fresh so this is going to take a while.
[Nexus 6  Original Android Development] dougiefresh36:
Do your thing Franco!
[Nexus 6  Original Android Development] Nocturnal86:
No worries I understand all good things come with time. Plus it gives me time to play with stock and see how it performs comparatively lol
[Nexus 6  Original Android Development] Ladduro:
Any way to flash 5.1 without wiping?
[Nexus 6  Original Android Development] franciscofranco:
Yes. There are tons of info around the web, my G+, XDA general forum etc.
[Nexus 6  Original Android Development] Hereisphilly:
Yes there are plenty but beware if you are decrypted, without a modified boot.img your phone will encrypt itself on 1st boot
[Nexus 6  Original Android Development] Ladduro:
Ok, thanks, will wait then.
[Nexus 6  Original Android Development] lobrau:
There is already a working modified boot image for 5.1 so you wont encrypt on first boot it's in android development subforum
[Nexus 6  Original Android Development] Mr. Steve:
Has anyone tried using r19 on 5.1? I'm just curious to know if it works or not.
[Nexus 6  Original Android Development] Ladduro:
Yes, I found that already, now I am looking for a way to avoid wiping, so I was thinking to do it this way:

Flash stock 5.0.1 boot.img

Sideload the OTA

Flash unencrypted 5.1 boot.img

Franco feel free to delete this if you consider it is way OT.

---------- Post added at 09:06 PM ---------- Previous post was at 09:05 PM ----------

Unless the sideload will auto reboot and I will get encrypted :)
[Nexus 6  Original Android Development] knevelsg-j:
As far as I know sideloading the OTA does indeed auto reboot when it is done
[Nexus 6  Original Android Development] lainemac:
Actually it doesn't. Did it last night.
[Nexus 6  Original Android Development] lobrau:
These are the commands that I used. Note: I didn't write them but can't remember where I found them, these were for 5.0.1 but will work for 5.1 assuming you grab the newer kernel

Here you go (assuming you have the sdk and know how to use adb): Download the factory image. There is another zip in that file called "image-shamu-lrx22c.zip"

Extract that image and copy everything to where you have your adb, fastboot, etc. files located.

**Make sure you download the modified boot.img and replace the one that came with the factory image with the modified noencryption one http://www.filedropper.com/boot-501-noforceencrypt[1]

adb reboot bootloader - to get into your bootloader and run fastboot commands

fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img

fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img

fastboot reboot-bootloader

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash cache cache.img

Just change the commands for the correct radio and bootloader and be using the 5.1 image instead as well as the 5.1 no encrypt kernel instead.
[Nexus 6  Original Android Development] Ladduro:
Quoting [MENTION=2632235]bbedward[/MENTION] For everyone else wondering...
[Nexus 6  Original Android Development] franciscofranco:
Obviously not, don't do it!
[Nexus 6  Original Android Development] Mr. Steve:
Sounds good to me!
[Nexus 6  Original Android Development] laureanop:
Yeah exactly. WARNING :do not flash 5.1 on a 5.0.x kernel!!! It optimizes then it goes into a bootloop. I accidentally let the phone boot normally after fastboot flash system.img . Luckily I had a 5.1 modified boot.img that I was able to flash through twrp and everything is fine now.
[Nexus 6  Original Android Development] Utini:
I have a tasker profile that switches to power-safe profile when the battery goes below 15%. I have experienced three reboots so far. They occur a few seconds after switching to power safe profile. Once the reboot is done the system runs stable with the power-save profile.

Any idea? Thanks

[MENTION=309187]edit[/MENTION]: alright now for the first time my phone rebooted again (switched to power-safe, random reboot, 5 mins later another reboot - still in power-safe).
[Nexus 6  Original Android Development] noneabove:
Have any logs of this happening? Those would definitely help.
[Nexus 6  Original Android Development] GPS3:
Not sure if it's been posted, but you made it to Yahoo News, Franco!
[Nexus 6  Original Android Development] franciscofranco:
Very gud :D
[Nexus 6  Original Android Development] nexusmaniac:
How's work going on the new kernel? :) Got yourself something working on 5.1? :D
[Nexus 6  Original Android Development] franciscofranco:
Not yet, haven't even booted it. Just finished all the Kernel work, starting with the ramdisk now. I still have around 10 lines of code to add on my Hotplug driver after I'm done with the ramdisk. Then it should be good to go. It takes some time to start fresh.
[Nexus 6  Original Android Development] nexusmaniac:
Haha :)

Ah nice, did they change much on the ramdisk then? :P

Wicked! Can't wait ;)
[Nexus 6  Original Android Development] franciscofranco:
Some things, nothing drastic.
[Nexus 6  Original Android Development] RoscoeDpG:
you know waiting is no prob for us we know the final product is always top notch so do ur thing
[Nexus 6  Original Android Development] DroidIt!:
Hey [MENTION=3292224]franciscofranco[/MENTION]. So I was reading your post that was posted in a post in a thread and I was just thinking maybe you should give Linus a call and maybe that Larry Page guy too and tell them to fix their kernel and hardware respectively...just a thought :)
[Nexus 6  Original Android Development] franciscofranco:
LOL I know less than 5% of what Linus knows about the Kernel, I would be laughed at. I've had conversations with Linux upstream developers, I feel dumb next to them.
[Nexus 6  Original Android Development] funkpod:
I can do this, I won't lose data, but I won't be rooted any longer, right? How do I obtain root again, I can fastboot the recovery twrp and then flash supersu? But don't flash the kernel yet?
[Nexus 6  Original Android Development] Janzen254:
You obtain root the same way you did it the first time.
[Nexus 6  Original Android Development] Skripka:
Actually Linus and the LKML have had some very pointed things to say about Android wrt Linux kernel.

Last I followed LKML was when they stripped most of the Android stuff out of the Linux kernel mainline...because Linus and everyone else thought it was idiotic to merge Android code that would never run-because the device drivers needed to make any of it actually work are not open to anyone.
[Nexus 6  Original Android Development] grayskul:
Wugs toolkit should fix you right up[emoji3]
[Nexus 6  Original Android Development] DroidIt!:
Now that's a scary thought [emoji32] [emoji16]

---------- Post added at 07:49 PM ---------- Previous post was at 07:45 PM ----------

Please don't use a toolkit. It may work perfectly fine or in some off chance it may not. Just download the SuperSU binary zip and flash it in recovery if you lose root ;)

---------- Post added at 08:11 PM ---------- Previous post was at 07:49 PM ----------

Ups :) You said reroot. My opinion still stands :) If a toolkit stops in the middle of doing it's thing you have no idea what to try to fix. Do a google search :) for "how to root a nexus XDA" ;)
[Nexus 6  Original Android Development] franciscofranco:
Rooting is like the easiest **** in the world.

adb reboot bootloader

fastboot boot recovery.img

adb sideload supersu.zip

reboot

done

I do it all the time, takes me less than 1 minute.
[Nexus 6  Original Android Development] Janzen254:
People would rather click a hundred things than type a few lines into terminal in this world.