yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] granets:
looks awesome. Can't wait for the friday when you'll push the sexy new material design theme :)
[Nexus 5 Original Android Development] Kobayashi_SRK:
Was browsing Twitter on Chrome today, phone crashed again. No changes made to the phone since my last post. After the reboot, I installed ES file explorer. Here is the last_kmsg

http://pastebin.com/3R2cGNcg
[Nexus 5 Original Android Development] franciscofranco:
Please flash r60.
[Nexus 5 Original Android Development] Kobayashi_SRK:
I will do another fresh install tonight of KTU84P and flash r60 directly from boot loader before even going through the setup wizard. No Google Play updates, no extra apps installed, no settings changed, no SuperSU, no TWRP. I'll report back tonight.

Thanks for the reply!
[Nexus 5 Original Android Development] gerbig:
Just confirming, no deep sleep issues with bluetooth on r60. Thanks for the awesome kernel!
[Nexus 5 Original Android Development] JNewms:
Just flash the kernel. There's no need to reflash your ROM
[Nexus 5 Original Android Development] Tzfardaya:
He's doing some testing...
[Nexus 5 Original Android Development] Tzfardaya:
Something like that... At least he tests independently before running to the forum with issues like so many others....
[Nexus 5 Original Android Development] bcote311:
Can confirm the same. No wakelock issues on R60. Thanks Franco!
[Nexus 5 Original Android Development] JNewms:
Ah, guess I missed a post or two somewhere.

---------- Post added at 01:00 PM ---------- Previous post was at 01:00 PM ----------

Mind=???
[Nexus 5 Original Android Development] Tzfardaya:
Your mind is made of sky flowers? Oooohhhhh
[Nexus 5 Original Android Development] JNewms:
Those are the emoji for explosions that SwiftKey has... But sky flowers sounds... Pretty trippy
[Nexus 5 Original Android Development] Tzfardaya:
And here I was jealous of the scarecrows bran new brain.... I think I want your sky flower brain instead now!
[Nexus 5 Original Android Development] JNewms:
I really don't think you'd want to be stuck with my mind... It's a trip ?
[Nexus 5 Original Android Development] looknohands14:
Hey guys, please pardon my ignorance as I am unsure to where I should post this. I just flashed the kernal onto my N5 and still getting fast battery drain, 100% to 9% in 6 hours. I used interactive and 1500 max cpu. I have yet to learn further on tweaking and I am currently looking for more things to read about it, a lot of jargons here and there. Can anyone help me with this quickly? Maybe I'm doing something wrong or missing something?
[Nexus 5 Original Android Development] JNewms:
Raise your max cpu some. I keep mine at 1950. I always get 5 hours SOT. Also, install better battery stats do you can see what's draining your battery.
[Nexus 5 Original Android Development] Tzfardaya:
First question is, how heavily are you using your phone in that 6 hours... On with my n5 I usually burn through the battery in a similar time span, 9 hours battery, 2-3.5 hrs screen on time, on mobile data with weak/poor signal, heavy apps usage...

---------- Post added at 11:39 AM ---------- Previous post was at 11:34 AM ----------

All the more reason to take it for a trip. ;)
[Nexus 5 Original Android Development] JNewms:
You sir, are a brave man then... Lol
[Nexus 5 Original Android Development] Tzfardaya:
Well, I do have a lovely bunch of coconuts... Perfect to put limes into....
[Nexus 5 Original Android Development] looknohands14:
I thought by lowering my max cpu, I would reduce the performance - better battery?

Cheers on the battery stat tip, I'll look into one.
[Nexus 5 Original Android Development] JNewms:
If you put it too low, it's kind of counter productive. If you're doing things on your phone that cpu intensive, then your device will be running at its max clock speed longer to complete the task. At a higher clock rate, it will finish the task faster and race to idle quicker
[Nexus 5 Original Android Development] looknohands14:
Ah I understand. Still can't believe how fast it drained though. I am guessing camera takes that much resource?
[Nexus 5 Original Android Development] JNewms:
The camera definitely uses a lot of resources
[Nexus 5 Original Android Development] Tzfardaya:
Well, from the caps, it looks like your phone is sleeping nicely when the screen is off, so not too many extra wakelocks.

Hdr is a little cpu intensive, and it looks like your mobile data is worse than mine... I get some green, mostly yellow, but you've also got a bit of red mixed in yours.. Two hours of screen on time with that connection quality is pretty good...

From what I've seen and experienced, you're going to be like me, 2-3.5 hrs of screen on time no matter what you do..

One thing you can to to maybe etch another 15 minutes of screen time is to disable the wifi always scanning.. It's in the advanced settings page in the wifi settings.

---------- Post added at 12:56 PM ---------- Previous post was at 12:55 PM ----------

And his radios... Wifi Scanning on and looks like he's on the fringe of his reception area....
[Nexus 5 Original Android Development] L.F.B.:
Ok, just flashed r60... all smooth with xposed and other things.

Will test my battery time but since last update it was good for me. Thanks again franco :)
[Nexus 5 Original Android Development] donwhall70:
Green flicker here also
[Nexus 5 Original Android Development] fonephanatic:
What rom?
[Nexus 5 Original Android Development] donwhall70:
Stock
[Nexus 5 Original Android Development] bknightt:
thx for the awesome work [MENTION=3292224]franciscofranco[/MENTION]. keep up!
[Nexus 5 Original Android Development] The Gingerbread Man:
I don't disbelieve you but I'm 23 minutes through watching star trek next generation on my phone which is quite incredible in its self but I have no green ****s happening here. No issues. All as expected. I am using WiFi to connect with Netflix. Are you using a different data type? Can you provide a log of some sort to back up your claim which should provide clues of what might need to be changed?
[Nexus 5 Original Android Development] donwhall70:
Lol @ claim
[Nexus 5 Original Android Development] Kobayashi_SRK:
Thanks for your help everyone! I'm doing the ultimate test. I've eliminated all the variables I could. Franco kernel r60, completely stock ROM. Here is my transcript of every single thing I have done with the phone, starting from flashing KTU84P. I'll report back when I have news! Cheers.

====================================================

Plugged phone into PC

$ wget http://kernels.franco-lnx.net/Nexus5/4.4/boot-r60.img
$ adb reboot bootloader
$ source flash-all.sh

After flash-all.sh, phone booted to Welcome screen of setup wizard, unplugged phone from PC, powered phone off

Reboot phone into bootloader manually, re-plugged phone to PC

$ fastboot flash boot boot-r60.img
$ fastboot reboot-bootloader

Selected "Start" in bootloader

Went through setup wizard, skipping Google account, skipping Wi-Fi, set up mobile network, unchecked anonymous location data collection and Wi-Fi scanning.

Wrote this forum post.

tl;dr: No root, no custom recovery, no apps, no Google account, completely stock KTU84P with only r60 as they single change, flashed via fastboot flash boot.

I will continue to use my phone in this manner until

A. The phone crashes or,

B. I go two weeks without a crash

I will log into Google on the Chrome browser to retrieve any contact information of friends I may have to text/call. I'll simply treat my N5 as a dumb phone.
[Nexus 5 Original Android Development] _raz_:
First run with r60 is just awesome! Now at 3h SOT, with heavy browsing and still have 33% juice left! Thank you! The promise of real improvement in battery life seems to be holding. Hope the results will stick. (stock KTU84P, root, xposed)
[Nexus 5 Original Android Development] maverick_hunter:
I'm also getting green flickers on r60. Both on LTE and WiFi.

http://youtu.be/Xztt8y-iX3A
[Nexus 5 Original Android Development] galakanokis:
I have read in other threads that the green flicker on Netflix is happening so it is independent of Franco's kernel. It seems to happen when Netflix switches in and out of HD to SD and back.
[Nexus 5 Original Android Development] maverick_hunter:
I can't seem to reproduce it on the stock kernel. Just watched 2 more episodes with no green flickers.
[Nexus 5 Original Android Development] Kobayashi_SRK:
That didn't take long. Browsing Twitter on Chrome, phone crashed, no other applications running or on recent apps. Immediately plugged phone into PC.

$ adb shell
# cat /proc/last_kmsg > /sdcard/log.txt
# exit
$ adb pull /sdcard/log.txt
$ cat log.txt | xclip -selection clipboard

Here's the pastebin: http://pastebin.com/Ebap89rG

I guess I just have bad luck.
[Nexus 5 Original Android Development] Tzfardaya:
I'm starting to wonder if you don't have faulty hardware....

Try pure stock, stock rom and kernel and see...
[Nexus 5 Original Android Development] galakanokis:
Can't say I have looked to much into it but it was happening on CM a week or so ago. I do believe it is kernel related as myfluxi was working on kernel fixes. It is just not specific to Franco outside of that I know nothing.
[Nexus 5 Original Android Development] Kobayashi_SRK:
Agreed. I believe that is my only recourse. I'll continue using my phone as I have previously outlined until I get tired of the crashes.
[Nexus 5 Original Android Development] PunchTheLion:
I'm getting the green flickering too.

It goes away for a bit if I turn the screen upside down. That's the only way to fix it if it helps anyone else.
[Nexus 5 Original Android Development] ben_pyett:
I'd say time to contact google and get a RMA, replacement.
[Nexus 5 Original Android Development] RobbieL811:
Seriously man? The answer is on the same page as your post!

Sent from my Nexus 5
[Nexus 5 Original Android Development] kashix:
Took the plunge to flash the moto x dalvik zip, now my phone is super fast! Like a turbo mode!

Mine is deodexed kitakang 4.4
[Nexus 5 Original Android Development] caribouxda:
Yupp & way better than that touch control app!
[Nexus 5 Original Android Development] jphilippon:
Can someone fill me in?

sent from my Nexus 5
[Nexus 5 Original Android Development] Dave778:
Would the Moto X dalvik patch work w ART enabled?

Or would one have to be using dalvik to begin w?
[Nexus 5 Original Android Development] Cyberz22:
I saw it now.... it was to early in the morning.
[Nexus 5 Original Android Development] Jubei527:
Yeah, I'm on r14 I only get about 4 hours. The picture below is r13 thinking going back.
[Nexus 5 Original Android Development] Pens and DreamS:
Really?! I thought it was just me. I had stock rooted and changed to Purity and with R14. I thought it was the rom draining battery fast but it seems is the kernel then?
[Nexus 5 Original Android Development] Triversity:
Really? Could you please provide some further information, this topic seems quite interesting.
[Nexus 5 Original Android Development] dwang:
http://tweakers.net/reviews/3298/3/...-accuduur-weinig-capaciteit-veel-snufjes.html
[Nexus 5 Original Android Development] The-Nazgul:
I increased the cpu threshold to 150 and the stutter problem while playing music with screen switched off is gone now.

Great kernel. Undetvolting by 50 and getting a great battery life!
[Nexus 5 Original Android Development] Triversity:
That's interesting because i've read on various other sources that the n5 doesn't have that feature.

Hopefully this mystery will be solved soon.
[Nexus 5 Original Android Development] hello5629:
I still have the music playback issue

---------- Post added at 09:44 AM ---------- Previous post was at 09:42 AM ----------

OMG what are your phone settings? 99%on wifi?
[Nexus 5 Original Android Development] :
Just got back home. Been using my phone since 9 AM PST so it has been unplugged for the last 16 hours. Running r13, Google stock ROM.

32 min of screen on time, battery is at 90%. Location off, Sync off. Only Gmail push is on.

Pretty amazing battery life. Nice to know I could use my phone with my usage pattern for 4-5 days with no problems (I usually only use my phone to quickly check Facebook, e-mail, texts, and I call maybe once a day, if that).
[Nexus 5 Original Android Development] Stevemeister:
90% on wifi, -50mV UV, 1 day 3 hours total on time with 6 hours airplane mode during sleep.

With 4G 50% and Wifi 50% I get about 5,5 hours of SOT.
[Nexus 5 Original Android Development] Pretoriano80:
I have no battery drain here with R14 and stock rom,imo this version it's the best so far.Also imho some of you guys should start learning how a kernel test should be made not just jumping back and forth between Roms and then spamming this thread with useless benchmarks screenshots (there's a dedicated thread in General forum).

It takes a lot of trial and errors to really test a kernel and most important a nice and clean test environment .

P.S: and again,please stop spamming this thread with off topic discussions ,thx.
[Nexus 5 Original Android Development] Media_Blitz:
Slight ot is acceptable, as stated in the OP; but to keep it On Topic, r14 running great.
[Nexus 5 Original Android Development] Bei60:
Im on r14 and battery is great.
[Nexus 5 Original Android Development] Stevemeister:
Seems to work here too. Got a Antutu increase from 27000 to 32000 and I'm on stock+r14.
[Nexus 5 Original Android Development] jaggyjags:
I'm just curious, so none of the nexus perform as they should due to missing libraries? I just don't get it. Why would Google miss that? Would they be added in future updates by Google? Please someone open a thread with the zip and talk about it. This is too OT to be dealt here.
[Nexus 5 Original Android Development] eigokyoukan:
Not sure if green flicker is FK only or not. Tested out code blue kernel for a bit and didn't happen with it, was going to test a couple more and stock to see if I can get it to happen.

I had the Netflix green flicker on r60 though. Going to cap a log of it once I get it again.
[Nexus 5 Original Android Development] wazka2:
I used to get a lot of green flickering on r59 on Netflix. Flashed PA kernel and then bricked and problem has gone.

After flashing r60 problem came back, however turning the screen do the job for now.
[Nexus 5 Original Android Development] WettbackMartyr:
Honestly man I think you're going through a lot of trouble that you shouldn't have to. I've been following what you are doing but, while I commend your work and spirit and willingness to make life more difficult with your phone, I would have went back to complete stock and used my phone as intended on a daily basis until it crashed, save a last_kmesg log, and get an RMA from Google while I still could.

Just sayin....
[Nexus 5 Original Android Development] jordirpz:
[MENTION=334712]francisco[/MENTION]

Fran, r-kernel for cm ya!! Please,please,please x 100000000000?

Ok,ok,ok dont ask for eta. Sorry

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 5 Original Android Development] The Gingerbread Man:
Please attach a log or it didn't happen. I watched over 1 hour of Netflix last night with no problem. I used WiFi. Did you use mobile data or WiFi?
[Nexus 5 Original Android Development] wazka2:
I can happily attach a log file but I don't know where to find it. It happens every time I start watching netflix. Rotate the screen problem gone. WiFi .
[Nexus 5 Original Android Development] The Gingerbread Man:
Use a logcat application from the play store.

I'm curious as to why you had issues and I didn't. I watched 2 45 minute programs. Maybe its the video codec?
[Nexus 5 Original Android Development] wazka2:
Here it is. Do not understand any of it lol :)

https://docs.google.com/file/d/0B7OkSeXPVN-bRXFkUFFLTXdfcEk/edit?usp=docslist_api
[Nexus 5 Original Android Development] topgeardave:
Hey Franco any reason why the kernel isn't updated to 3.4.102?
[Nexus 5 Original Android Development] Technecium:
It's not limited to Netflix, actually. I get it occasionally when watching videos through my browser, Opera. I think it first appeared in 58, but not entirely sure. I know 59 & 60 for sure.

I haven't been too concerned about it because it doesn't happen often. Changing the orientation of the screen usually clears it up.

Not sure exactly what triggers it but I believe it has to do with the quality of the feed or maybe when switching to/from a different quality.

Sometimes it starts fine and then goes green after a slight pause. Sometimes it starts green then it's fine after a slight pause. Sometimes it flickers back and forth from normal to green.
[Nexus 5 Original Android Development] franciscofranco:
Thanks for the log. Something is definitely wonky.

Just checked, my tree is completely ****ed, I have patches that shouldn't be there and I had them reverted for r60, but for some reason they weren't. **** this.

Just can't be arsed.
[Nexus 5 Original Android Development] topgeardave:
Haha appreciate the blunt reply :)
[Nexus 5 Original Android Development] franciscofranco:
For some reason, like stated in the previous post, my Kernel tree was completely ruined, I had duplicated commits and had commits applied that I have reverted before... Very odd... I'm just compiling it again with a proper tree and will post an image for users with that green **** and [MENTION=5579682]Kobayashi_SRK[/MENTION] to test on his ever rebooting device.

Edit: boot.img attached
[Nexus 5 Original Android Development] Tzfardaya:
Bit rot.... :p

Or you were compiling drunk again... ;)
[Nexus 5 Original Android Development] donwhall70:
Flashed that boot.img and, so far, I am not seeing any green flickering. I'll play some more movies later.. Usually it rears it's ugly head within the 1st 30 seconds or so.
[Nexus 5 Original Android Development] freshlysqueezed:
Same here. No green flicker in the first 2 minutes.
[Nexus 5 Original Android Development] wazka2:
I can confirm no green stuff as well. It always appeared at the beginning of watching. Nothing now :)
[Nexus 5 Original Android Development] occtec:
Does the new boot.img apply to everyone or only to those experiencing green flicker?
[Nexus 5 Original Android Development] Tzfardaya:
Everyone... His source tree got borked somehow...
[Nexus 5 Original Android Development] occtec:
Thanks man, time to flash again ;)
[Nexus 5 Original Android Development] Tzfardaya:
:( sorry...
[Nexus 5 Original Android Development] Tzfardaya:
Yes, because I'm actually sorry? :p you should know me better than that by now...
[Nexus 5 Original Android Development] Fluidification:
Getting a settings crash on the latest boot img that [MENTION=3292224]franciscofranco[/MENTION] uploaded earlier today.
[Nexus 5 Original Android Development] Tzfardaya:
Settings crash?
[Nexus 5 Original Android Development] Fluidification:
[MENTION=3292224]franciscofranco[/MENTION] I cannot open settings on the latest PA beta. It crashes every time I open the application. If I go back to r60. I can open settings again. I will attempt to get a logcat
[Nexus 5 Original Android Development] The Gingerbread Man:
I'm on latest PA beta and the boot.img posted just now. I can open the settings menu. Exactly which part is crashing or can't you open it at all? Either way I think your rom has gone funky and I advice wiping /system and reflash PA
[Nexus 5 Original Android Development] Fluidification:
http://pastebin.com/2t9sVHvB

---------- Post added at 01:26 PM ---------- Previous post was at 01:26 PM ----------

I can't open it at all. Its possible ROM went funky. Will reflash
[Nexus 5 Original Android Development] franciscofranco:
Has nothing to do with the Kernel, I can assure you:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.nfc.NfcAdapter.isEnabled()' on a null object reference
08-16 12:31:23.822 E/AndroidRuntime(3684): at com.android.settings.Settings.updateHeaderList(Settings.java:595)
08-16 12:31:23.822 E/AndroidRuntime(3684): at com.android.settings.Settings.onBuildHeaders(Settings.java:531)
08-16 12:31:23.822 E/AndroidRuntime(3684): at com.android.settings.Settings.onCreate(Settings.java:209)
08-16 12:31:23.822 W/ActivityManager(593): Force finishing activity com.android.settings/.Settings
[Nexus 5 Original Android Development] TheLastSidekick:
Next we found out Franco plays Pokemon. Hey but if you do, I used to play X and Y I can get you any shiny you want lmao
[Nexus 5 Original Android Development] fonephanatic:
Will the boot with the fixed tree be pushed to official?
[Nexus 5 Original Android Development] franciscofranco:
Gotta catch 'em all!
[Nexus 5 Original Android Development] TR2N:
Oh man, that is all confusing... If I did not read this thread here I never got the boot.img

To clarify, the new one is the r60 with your cleaned up build tree? You should release it as official.
[Nexus 5 Original Android Development] simonarturo:
You really don't know much about test images, do you?

Let the ppl having issues test it out for a few days before releasing to the general public. If you are diligent and interested enough, you'll find it on your own, just like you did.
[Nexus 5 Original Android Development] TR2N:
I know the normal procedure. But if r61-test is the just cleaned r60, there should be no problem to release it how it is.
[Nexus 5 Original Android Development] simonarturo:
I know what you mean, that sounds logical enough. But for all we know the new version could horribly break something, better to test it out a bit I think. It will probably be pushed sooner than later
[Nexus 5 Original Android Development] yoyoz808:
It's called Franco Kernel for a reason...it's his kernel and releases it when he feels it's ready to be a release. It's a cleaned version of r60 but just bc he reverted some patches doesn't mean it's the same. He could of added something he forgot to add on r60 or something and will mention it later...
[Nexus 5 Original Android Development] kvillafana:
Well I decided to try a different kernel did s reflash of my ROM and flashed ubers kernel and it has the same problem and when it goes away I have green lines in the right side and bottom of the Netflix movie so it doesn't seem to be limited to Franco
[Nexus 5 Original Android Development] TheLastSidekick:
Honestly I mean FK is the only kernel other than Stock that gives me consistent performance and battery. Trinity gives me constantly amazingly performance but at a slight expense of battery life.

Not to mention the amount of features built into FK can't be beaten and it's a major PITA when I can't change stuff like TCP algorithm, or custom screen gamma profiles, or even the gain of my headphones and speaker. Besides, FK is updated every couple of days, and as a Nexus owner I like to live on the edge.
[Nexus 5 Original Android Development] GtrCraft:
First day on FK in a while, I will not leave soon [emoji6]
[Nexus 5 Original Android Development] franciscofranco:
I didn't because I wanted to make sure it was working as it should and I was busy with something else....
[Nexus 5 Original Android Development] carlese:
I see what you did there :D

Is your kernel 100% compatible with synapse? Also, is frandom zip from code blue compatible with fk?

Thanks!
[Nexus 5 Original Android Development] franciscofranco:
I don't know about synapse, and I also do not care. I don't know what you mean by frandom zip.
[Nexus 5 Original Android Development] Gips3yD4ng3r:
I love this kernel, lately ive been having an issue where my alarm will be going off but i wont be able to wake my phone via power button, i even tried to plugging it in still no go, i had to hard reset and to be on the safe side i reflashed and wiped cache and dalvak
[Nexus 5 Original Android Development] carlese:
It's a zip provided in code blue thread to enable frandom.. Is your kernel compatible with frandom?
[Nexus 5 Original Android Development] baturcotte:
Take a nandroid, flash the kernel, flash the zip, and let us know...
[Nexus 5 Original Android Development] Eth4n:
For me r60 has an higher battery drain (1.5hrs on screen and battery goes to 50%, normal usage...higher drain on idle too)