yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] franciscofranco:
Read last pages r15-test changelog is there somewhere.
[Nexus 5 Original Android Development] zephiK:
http://xdaforums.com/showpost.php?p=47877430&postcount=3938
[Nexus 5 Original Android Development] Marck527:
We can flash this using flashify right? Sorry having troubles installing drivers and crap on my pc.

Sent from my Nexus 5
[Nexus 5 Original Android Development] special.k:
Confirmed, just flashed boot img. Using flashify
[Nexus 5 Original Android Development] bikeryder007:
I used flashify and it worked fine.
[Nexus 5 Original Android Development] mrimage:
Were do go to get the latest beta
[Nexus 5 Original Android Development] franciscofranco:
By reading the thread, 4 posts above.
[Nexus 5 Original Android Development] bratfink:
Does anyone else get lag playing real racing 3? Only game that lags and jitters for me? Rubbing kernel v14 and tried latest 15 test version!
[Nexus 5 Original Android Development] omvir:
I also see that its spending a lot of time at 1.7+ barely spending time at 1.2 (where before it would stay hovering at 1.2 when scrolling) now its just 1.7+ the whole time when scrolling.
[Nexus 5 Original Android Development] JNewms:
OK, I'm finally off work and able to tinker. I'm currently playing with gamma. I've set up the perfect 2.2 gamma that faux posted. It looks good, but I'm going to see if I can achieve the amoled look that we had on the Nexus 4. Wish me luck guys.

On another note, performance on 15 is beast. I just got on the newest iteration, but have been testing a version since last night. I haven't had enough time on one kernel to evaluate battery to the fullest yet. A few impressions though, idle is absolutely excellent. However, I am seeing a little more drain in my normal usage, I may adjust hotplug and timer rate some more once I've got some quantifiable numbers to work with.
[Nexus 5 Original Android Development] dwang:
R15 test 3 is spending a lot time at the higher MHz ranges (1.7, 1.9, 2.2) and I'm definitely noticing worse battery w r15. No games just browser and apps.

R14 had excellent battery life while still providing good performance.
[Nexus 5 Original Android Development] franciscofranco:
Boosts to 1,2GHz on touch, but its most likely boosting the cpus to 1,7GHz due to thread migrations. Thanks for the report.
[Nexus 5 Original Android Development] franciscofranco:
Thanks for the report. Can you increase go_hispeed_load to 99 and see what goes? With this thread migration cpu boosting interactive tunables might need some heavier tuning to account for the performance increase to ensure we don't leak battery. If you feel adventurous you can also try timer_rate 50000 and target_loads 90.
[Nexus 5 Original Android Development] nikolkang:
go_highspeed_load 99 looks better to me. Idles at 300.. If I tap the screen it jumps to 1.267 similar to r14.

Can't tell much on battery yet but will keep an eye on it.
[Nexus 5 Original Android Development] franciscofranco:
Yeah I figured it needs some tuning after all this crazy changes, thats why I pushed it to test folder :) Thanks!
[Nexus 5 Original Android Development] dim.on:
My cpu temperature is 34 degrees Celsius now, phone was sleeping for 20 minutes, still only 2 cores online, this is why I tried to put them manually online.
[Nexus 5 Original Android Development] franciscofranco:
Show me your CPU temp. adb shell cat /sys/devices/virtual/thermal/thermal_zone5/temp
[Nexus 5 Original Android Development] dim.on:
hammerhead:/ # cat /sys/devices/virtual/thermal/thermal_zone5/temp

32

this should be enough ;)

hammerhead:/ # cat /sys/devices/virtual/thermal/thermal_zone5/temp;cat /sys/devices/system/cpu/cpu*/online

32

1

1

0

0
[Nexus 5 Original Android Development] franciscofranco:
Hmm. OK you win!
[Nexus 5 Original Android Development] franciscofranco:
Can you get me a dmesg log? adb shell dmesg | grep msm_thermal
[Nexus 5 Original Android Development] dim.on:
I'm not getting any lines, I also greped during boot. Hmm maybe there is some interference with bluspark, I had to flash it first to get r96 booting.
[Nexus 5 Original Android Development] franciscofranco:
Hmm... ok that's suspicious. I'll push r97 in a sec though, [MENTION=4544860]osm0sis[/MENTION] made some more fixes for Nougat on his AK2 script.
[Nexus 5 Original Android Development] osm0sis:
That seems to be because blu_spark replaces init.hammerhead.rc whole (generally bad practice since it could conflict with the underlying ROM more than it might help). I fixed one issue but apparently there's another? I'll look into it.

This is what happens when there aren't AOSP or CM device trees to keep everything uniform.. everybody does things differently and it's difficult to support. :silly:
[Nexus 5 Original Android Development] dim.on:
Yes, this stuff is really boring, so thx for looking into it.

We should look why it's not booting without first flashing bluspark. (I'm on BOKROM AOSP 7.0)
[Nexus 5 Original Android Development] osm0sis:
That's what I was referring to, not the cores issue. :good:;)

Edit

: Found the issue. Similar to last time, some of the new Nougat ROMs have made changes in init.hammerhead.rc that are different from the others.. Looks like we've got 2 schools, hopefully they can standardize their changes because this isn't good development.

Working as of the changes in r96:

boot-cleanaosp-20160916.img

boot-cm14_santhosh-20161012.img

boot-eucos-20161004.img

boot-fake_nexus-20161011.img

boot-pure_nexus-20161010.img

Broken as of r96 (but I've already sent the AK2 workaround/fix to [MENTION=3292224]franciscofranco[/MENTION], so should be working in r97):

boot-aosp_itigr-20160926.img

boot-aosp_santhosh-20160929.img

boot-bliss-20161010.img

boot-bokrom-20161005.img

boot-nitrogen-20161008.img
[Nexus 5 Original Android Development] franciscofranco:
Thanks for all the work!

Why aren't you all donating to this guy? Without his research I wouldn't be supporting Nougat like this since I wouldn't have bothered to do what he's been doing. And he helps me sometimes during his normal real work time.
[Nexus 5 Original Android Development] dim.on:
Yes, thx for the work.

I'm having some trouble paying my shared flat at the moment, so I can't donate. However I'm a mcs stuntent and can help with developement.
[Nexus 5 Original Android Development] franciscofranco:
Yeah I'm not forcing anyone to donate, was more of a "hey everyone, this guy is awesome, you're running FK on your N roms because of him, if you can, send him some diamonds pls" :)
[Nexus 5 Original Android Development] swallowingled:
You're right, I've seen his name in many threads I visit here on XDA. I always try to support developers by buying their apps even if free versions are available. Time to start giving back to some of these other talented devs as well. I just sent a small donation. I keep my old N5 updated with the latest FK in case I ever need a backup, still a great phone. Thank you guys for all your hard work, it's definitely appreciated!
[Nexus 5 Original Android Development] franciscofranco:
Thank you so much. He really deserves it, great guy and very talented.
[Nexus 5 Original Android Development] osm0sis:
Aw shucks, guys! Thank you very much! :o:D
[Nexus 5 Original Android Development] franciscofranco:
r97 is up with even better support for Nougat roms. Should be flawless now.
[Nexus 5 Original Android Development] osm0sis:
That one thing's fixed but who knows what else is/will be broken by hammerhead's divergent development. :eek::rolleyes:
[Nexus 5 Original Android Development] dim.on:
Thanks guys, works fine here.

Btw. I'm really surprised how low the battery consumption is without CPU hotplugging. Is there any information available how much our cores consume while idling? Do they have different power states (c-states) like we have on the x86 architecture?

Also, Linux has now a new (scheduler based) CPU governor approach called schedutil. This should reduce latency and power consumption. Might be worth to take a look at it.
[Nexus 5 Original Android Development] franciscofranco:
I don't remember from the top of my head, but on the N5 they have WFI, Power Collapse and I think Standalone Power Collapse. There's a Retention state too, but AFAIK not compatible with the N5. Those are custom idle states by Qcom as far as I know. I mean Hotplugging cores is just the action of turning cpus offline, it's present in any Kernel on a SMP cpu. What we don't have (because I disabled it) is the ability to dynamically hotplug cores based on system load. They'll just idle if they have no runnable jobs running/queued, more so after merging a patch from upstream which just bypasses load balancing if the core has <= 2 runnable threads, so it idles WAY faster and more often than stock, so I just leave them online and let the scheduler/cpuidle deal with them. Not to brag but I actually think these things through contrarily to other guys that just merge every patch without thinking or reading what they do :)

We have power profiles https://android.googlesource.com/de...works/base/core/res/res/xml/power_profile.xml but I don't know what's the test bench. I'd say they're probably accurate enough.

schedutil is for WAY newer Kernel versions than what we use and requires a ridiculous amount of patches on the scheduler (which is impossible to do here) to work.
[Nexus 5 Original Android Development] dim.on:
I took a look at your commits and this is why I'm using your kernel :)

Yes, it was first included in 4.8. It's really bad how things went for arm. I mean, I'm running 4.8 on an 8 years old PC and everything works.
[Nexus 5 Original Android Development] franciscofranco:
It's an hard topic. Either you get OEMs and Hardware manufacturers to contribute everything to upstream and build from there, or it's nearly impossible to keep up. Also Linux is always changing, and OEMs need code freezes to QA and then ship. I doubt it's gonna change any time soon.
[Nexus 5 Original Android Development] Ebra92:
Noob with franco kernel here. First off, I'm assuming this works with cm13 aosp, coz I just flashed it and mobile didn't explode,so, good,lol.and second, are all the tweaks available via kernel adiutor? If yes, what would make me want to buy FKU2? Other than supporting developer, I'm not being a brick or anything, just reallu curious. hope u reply and thx
[Nexus 5 Original Android Development] guanto96:
Hi, thank you for your work

I'm on the unofficial Pure Nexus android 7, i've fleshed the r97 but i get this
[Nexus 5 Original Android Development] CodemasterRob:
Hate to be that guy, but how do I go about looking at logs? I'm on stock 6.0.1
[Nexus 5 Original Android Development] fatspirit:
That's ok for now.
[Nexus 5 Original Android Development] Eltorito94:
Now r97 boot on nitrogen rom but i lost root! [MENTION=3292224]franciscofranco[/MENTION] [MENTION=4544860]osm0sis[/MENTION]
[Nexus 5 Original Android Development] TioCareca:
I think franco kernel not officially suport N...
[Nexus 5 Original Android Development] biontx:
[MENTION=3292224]franciscofranco[/MENTION]

#97

running nougat boot-aosp_itigr-20160926.img: no issues with installing, running very smooth! Thanks!!!

PS: waiting for update of #26 of our beloved Nexus 7 2013 running '[W.I.P] AOSP 7.0.0_r6 Nougat NRD90U [13.09.2016]' :)
[Nexus 5 Original Android Development] Dungeon47:
It's because these builds are officially for 6.0. Once they are categorized for 7.0, it will do the fancy.
[Nexus 5 Original Android Development] franciscofranco:
I don't know about other apps. I know FKUpdater has a bazillion great features that you won't find anywhere else. The awesome ability to auto-flash a new Kernel has been the signature feature since day 1. I don't think there's any other app that lets you auto-flash a Kernel built for AK2 for example. It has a built-in symbiose with the Kernel to offer you standalone performance profiles, one tap and you're good to go, no settings needed to be changed. Per-App profiles is amazingly powerful, you have built-in display color profiles, High brightness mode dynamic with ambient light etc etc etc... Most of this is written in the app description.

Because I haven't officially released this for N so the app isn't a magician and can't figure that out until I say it to.

Dunno what logs to look for. Since no one else reports such thing, something must be ****ed up on your setup. Are you 100% stock, no mods or anything?

Flash it again? It's not like it's hard to sideload SuperSu on the recovery -_-

It does, just not yet through the app (soon though).
[Nexus 5 Original Android Development] Jaizu:
I'm not using this kernel but I agree he makes a good work, I hope I can donate the next week, gota put money in the bank first p:

Also best of lucks with your kernel, looks like the work is being harder lately, so good we will have everything together in a few months with a totally stable Nougat enviroment.
[Nexus 5 Original Android Development] Olympus593:
r97 working great on NitrogenOS 20161008, but I had to flash bluspark's wifi fix zip to get Wi-fi to work, probably something with the ROM itself.

Thank you osmosis and Franco!
[Nexus 5 Original Android Development] Eltorito94:
Genius nitrogen rom have built-in root with superuser and i can't flash super su (i have tried)... when i flash you kernel its boot (finally without flash before other kernel, great work by [MENTION=4544860]osm0sis[/MENTION]) but i lost root

Have you root (with internal superuser)? If yes, how you do?
[Nexus 5 Original Android Development] franciscofranco:
Nothing I can do about builtin superuser.
[Nexus 5 Original Android Development] osm0sis:
Just FYI for the early adopters, r97 was reuploaded overnight with the "heat loop" issue (introduced in r93) corrected, so feel free to download and flash again. :):good:
[Nexus 5 Original Android Development] Olympus593:
How to install Franco Kernel r97 on NitrogenOS

Not exactly, I removed superuser because I'm a casual PokemonGo player, so I needed phhsuperuser's hidesu version instead of plain version that came with Nitrogen. Their stock kernel has the slow charge bug, but all others are having lag and freezing issues. Then came FK r97 without this bug and with amazing performance.

First things first:

There are people saying that flashing FK removes superuser, but the following instructions are meant to remove the bundled superuser from NitrogenOS (NOS) so you can flash FK and choose your own rooting method.

unSU.zip doesn't work to remove SU from this ROM.

You will need?

Latest NOS

Boot image from 0923, attached to this post (don't flash the zip, extract the boot.img from it and copy to your phone). 0923 was the latest unrooted NOS, so that's the one we use.

Copy the root file(s) to phone.

Copy FK and bluspark wifi fix to phone.

Instructions, assuming your installation of NitrogenOS is ok. If you want to start fresh, flash latest version before other steps inside recovery.

On recovery, do the following:

Go to Mount, mount /system

Press back and go to Advanced, File Manager

Remove the

/superuser

folder (click it and then click on the blue folder icon on bottom right, delete).

Go to /system/app and remove the superuser folder there too.

Press back and go to Install and click the lower right button to switch flash mode to image instead of zip, and flash the boot.img (to one attached on this post) to the boot partition

At this point, the ROM is rid of bundled superuser!

----------

Then flash FK r97, bluspark wifi_fix.zip and your preferred rooting tool.

Reboot to system.

(If you decide to install phhsuperuser with hidesu like me, install PHH Superuser manager from Play Store after reboot)

That's it.

If using phhsuperuser_hidesu, clicking the superuser item on settings will throw you to the PHH SU manager. PokemonGo works fine, but sometimes the SU doesn't get recognized by root apps like AdAway and TitaniumBackup, but a reboot will solve the issues.

For AdAway to work with phhSU hidesu, check this post: http://xdaforums.com/showpost.php?p=69022330&postcount=1367
[Nexus 5 Original Android Development] fatspirit:
What build time correct r97 has?
[Nexus 5 Original Android Development] osm0sis:
3.4.0-franco.Kernel root@franciscofranco #97 Thu Oct 13 15:54:29 UTC 2016 :good:
[Nexus 5 Original Android Development] ontic:
btw my N5 got a wifi problem with #97

how can i solve this?, just flash previous kernel or else?

thx

edited : using stock rom non-root MM (MOB30M)
[Nexus 5 Original Android Development] TioCareca:
Flash wifi fix:

https://mega.nz/#!pY8j0ZRA!_JG90zu-5Z1ohDnmEY-zA7W0G0Kv_EFV4IboKeYYuuE
[Nexus 5 Original Android Development] ontic:
thank you ! :)

is this will fix wifi for every version of kernels?
[Nexus 5 Original Android Development] TioCareca:
For now works with all existing versions because modify some libs in the rom not in kernel...

And works in different kernels, franco, bluespark...
[Nexus 5 Original Android Development] fatspirit:
Why don't you want to be up to date?
[Nexus 5 Original Android Development] CodemasterRob:
Nothing but SuperSU, BusyBox and your kernel. Maybe BB is messing it up somehow?
[Nexus 5 Original Android Development] ontic:
just security update right?

didn't need it for now, maybe later.

btw, can i update via OTA if i had CWM or TWRP?. or i have to flash all things ?
[Nexus 5 Original Android Development] osm0sis:
Unless you have busybox installed wrong (ie. to /system/bin or /su/bin) it shouldn't be a problem in apps.

No, obviously it has updated Wi-Fi drivers... so update. It was prominently in the f.K changelog for several versions after the corresponding change.
[Nexus 5 Original Android Development] PhilD41:
So is this why my phone gets toasty when I use it? Flashing the update. Hopefully it helps!
[Nexus 5 Original Android Development] osm0sis:
Nah that's why from r93 on it might reboot when it gets too toasty, and then bootloop until it cools; "heat loop". ;)

Definitely resolved in the new r97 however!
[Nexus 5 Original Android Development] fatspirit:
Sometimes it mat bring not just under the hood changes like drivers/radios/etc. And it's not that hard to update nowadays.

Go to Nexus Factory Images and grab OTA update. It can be flashed via recovery.
[Nexus 5 Original Android Development] franciscofranco:
It's pretty explicit in the Changelog that you need to update your Android version to the latest security release. Google shipped a newer Wi-Fi firmware couple months ago and if userspace + Kernel versions don't match your Wi-Fi won't work.
[Nexus 5 Original Android Development] TioCareca:
Do you known about this? What do you think about it?

http://xdaforums.com/showthread.php?p=67973569
[Nexus 5 Original Android Development] VictorLeandro:
this kernel (#97) is compatible for Android nougat? Excuse me for no read the completly post
[Nexus 5 Original Android Development] fmir864:
All good with Pure Nexus 7 at the moment.
[Nexus 5 Original Android Development] osm0sis:
Edit: Probably enough people. PM me to let me know your thoughts on the experiment please. :)
[Nexus 5 Original Android Development] drmjp93:
Dear [MENTION=3292224]franciscofranco[/MENTION] or any other member.

I am on Android N, BOKROM.

Flashed kernel for huge battery drain on stock. Charged device to 100%. After 15 mins I picked up the device and noticed 5% drop in idle state.

Checked battery stats - nothing there.

Using kernel adiutor , CPU and GPU governor are set to Conservative.

Can I get further guide?

EDIT: Installed Greenify. Now its perfect
[Nexus 5 Original Android Development] Arstoien:
Probably not the best place to ask but didn't Franco mention he was planning support for some OnePlus devices? After the price of the Pixel phones came out I'm thinking whether I should take a step away from Google's phones. I'm particularly looking at OP3.
[Nexus 5 Original Android Development] neFAST:
What did you greenified?
[Nexus 5 Original Android Development] franciscofranco:
I have an OP3, but my attempts to have a proper FK for it have failed. I have some weird wakeup bug since day 1 and haven't been able to fix (even when compiled straight from source without any change). Am still trying to figure it out.
[Nexus 5 Original Android Development] Arstoien:
That's a bummer. I don't know if I wanna go there without your kernel. Otherwise what's your opinion about it? For a Nexus user

Sent from my Nexus 5
[Nexus 5 Original Android Development] osm0sis:
Could it be the same thing the happened when Chainfire rooted some of the newer Samsung devices?

Solved with his 000000deepsleep script:

#!/su/bin/sush
for i in `ls /sys/class/scsi_disk/`; do
cat /sys/class/scsi_disk/$i/write_protect 2>/dev/null | grep 1 >/dev/null
if [ $? -eq 0 ]; then
echo 'temporary none' > /sys/class/scsi_disk/$i/cache_type
fi
done
[Nexus 5 Original Android Development] franciscofranco:
Great device for the price. I don't like the camera, the post processing is absolutely bollocks. Other than that, it's a great phone I guess. It's no Nexus though.

No idea. I can check.
[Nexus 5 Original Android Development] drmjp93:
All apps????
[Nexus 5 Original Android Development] prabhu_91:
Adios Amigos

[MENTION=3292224]franciscofranco[/MENTION] Thanks a lot for making my journey with Nexus 5 awesome for last 3 years. I heeded your opinion and went for the device that makes perfect sense for me. Best wishes for your future endeavours. Will really miss Fk and Focus :(
[Nexus 5 Original Android Development] franciscofranco:
Enjoy your new device & platform :)
[Nexus 5 Original Android Development] Gallardo994:
Thanks for the great kernel and the app, decided to buy it as soon as installed the kernel.

I got some little questions if you don't mind.

Are you considering to develop for Pixel devices?

Are you planning to continue supporting hammerhead later on?

Thanks.
[Nexus 5 Original Android Development] fatspirit:
Hammerhead will be supported as long as n5 of Franco's mother will work.
[Nexus 5 Original Android Development] Mazout360:
Hey quick question for you...

I saw that the new 4.9 kernel will support the N5 natively. Do you think a direct upgrade will be possible (and will be beneficial performance wise and security wise) ?
[Nexus 5 Original Android Development] franciscofranco:
Thank you! Yes and yes.

I already answered that question. Nope.
[Nexus 5 Original Android Development] franciscofranco:
FKUpdater 2.1 beta 2 new features: https://plus.google.com/u/0/+FranciscoFranco1990/posts/dQ1tGpSsiX1
[Nexus 5 Original Android Development] morphvale:
Just if anyone is wondering, v97 boots fine with Fake Nexus 7.1
[Nexus 5 Original Android Development] Arstoien:
That's good to know, since I'm thinking of trying an N rom and it's good to know which one keeps their **** up to date.

Sent from my Nexus 5
[Nexus 5 Original Android Development] franciscofranco:
r98 has been pushed! Also I promoted it officially as Nougat compatible through FKUpdater.
[Nexus 5 Original Android Development] Paschfire:
You have out done yourself with r98! I am going in apps just to scroll with the buttery smoothness! Seriously! It's everywhere!

XDA labs, Chrome, G+, The play store.... I just want to scroll everything! Animations as slick as ice, you can scroll a half loaded chrome page and it's smooth as if it was already fully loaded. Wowzas!

Another example,

I have custom animations with DU Rom(for list view: scale anticipate+overshoot), so before r98 if in the Google play store just scrolling my installed apps list was so janky & jittery. Not now with r98! The list scrolls so smoothly and the animation never misses a beat!

Thank you!
[Nexus 5 Original Android Development] guanto96:
I've flashed r98 but it continues to give this

Max cpu in Power saving is changed from 1190 to 1497?
[Nexus 5 Original Android Development] Gallardo994:
Sadly my device has become significantly hotter after the update. And I'm not sure what smoothness people are talking about, but I haven't noticed a single change, probably because I'm running nougat.
[Nexus 5 Original Android Development] M Asad Khilji:
Can anyone tell how is battery life with franco's kernel on Nougat Roms ?

I'm on Fake nexus latest build and want to use this kernel !
[Nexus 5 Original Android Development] guanto96:
It' s pretty good
[Nexus 5 Original Android Development] iason747:
Same here ... :(