yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Dodgexander:
Hey thanks for the kernel, its the only available that works with themes with PA and supports F2FS.

I tried the latest beta v9 on the latest PA alpha, 5.02 AOSP. Formatted both cache and data to F2FS and it works fine, apart from only the data partition staying F2FS. When booting into android cache keeps reverting to ext4. F2FS on data however works fine.

Edit# tried most recent stable v8 and the same applies
[Nexus 5 Android Development] big_bum:
I'll tune the hotplug driver when I'll restore the VM.

I used to have /data and /cache in f2fs, and they stayed that way every kernel version.

Either you didn't format /cache in f2fs, either something reverts it back to ext4 when booting the ROM (I highly doubt it, but everything is possible).

The fstab is the same since V5, f2fs got one huge update in V7 only.

PS: V9 is V8 with the Samsung wifi driver reverted, and an in-kernel hotplug added.
[Nexus 5 Android Development] Dodgexander:
Thanks. I think the problem was with twrp or something. I read that the latest had bugs so downgraded to version 2.8.5.0 rather than the latest and it works fine.

You seem to be the only dev offering a kernel with f2fs support that also works with CM theme engine for aosp roms such as paranoid android, so many thanks from me.

It's a confusing world out there, but so many kernels don't have the ram disk for f2fs, yet note in there features they support it. You then have to go flash a kernel with the ram disk before you flash the final product.

Why can't everyone just have the ram disk for it to begin with like you have![emoji106]
[Nexus 5 Android Development] big_bum:
I'm glad that you solved the /cache problem.
[Nexus 5 Android Development] shadowdevil:
Confirmed v10 multimount boots fine on 5.1 with f2fs on /data and /cache :good:
[Nexus 5 Android Development] Chief_runningwater:
I can't seem to get to the download for v10 would live to test ?
[Nexus 5 Android Development] big_bum:
Because Tapatalk is stupid and can't handle FTP links.

Open the OP in your browser and then go to the test folder.
[Nexus 5 Android Development] socioteq:
Any luck with getting your V10 to boot on VividROM? I have tried and it won't boot past the Google splash...
[Nexus 5 Android Development] big_bum:
VividRom is CAF. Use the CAF version from the test folder.
[Nexus 5 Android Development] socioteq:
I did, no success.
[Nexus 5 Android Development] big_bum:
I'm currently using Vivid (the latest with LTO v4, Android 5.1) with my kernel, so it might be your setup.

F2fs? There's no f2fs support in the caf kernel.
[Nexus 5 Android Development] socioteq:
Ah yes, that is exactly why. Thanks for the response
[Nexus 5 Android Development] big_bum:
I'll update it wtih F2FS when CM will release nightlies for 12.1.

EDIT: updated, Tested on latest Vivid.
[Nexus 5 Android Development] Dodgexander:
I like this kernel as it supports the cm12 theme engine in aosp and f2fs. Using the latest stable though my phone gets really hot when charging in the car. I've had it before with other kernels and never quite figured out why it is. For example with franco kernel it doesn't get hot.

I'm guessing it is to do with fast charge, but then it happens on some kernels but not others?

I think it may have been uber that it also got very hot.

Charging at home it's not as hot, but the phone is very warm compared to normal still.It's like it's always hotter than I'm use too!

Any guesses what it could be?
[Nexus 5 Android Development] big_bum:
The thermal engine is the one from Franco.

Any chance you are using f2fs? Can you disable dynamic fsync if you are using f2fs?
[Nexus 5 Android Development] Dodgexander:
Thanks, I've been using your bbKT app to tweak values and I can enable disable fsync but can't set it on boot, the app force closes..Which is strange since other set on boots work fine like fast charge.

Nonetheless I'll test it some, do you recommend tweaking with a different app?
[Nexus 5 Android Development] big_bum:
Kernel Adiutor, or UKM + Synapse, in this order.
[Nexus 5 Android Development] Dodgexander:
Thanks I'm using Adiutor now and I can toggle fsync off and on boot successfully. It's a nice app I haven't seen before so thanks for recommending it! Do you also get a crash going to the cpu settings though?

But it seems fsync may have been causing it to heat up when charging. I haven't had the chance to test in car yet, but the home charger doesn't make the phone warm anymore. In time I'll have chance to test and report back in car. I don't really understand how fsync could affect the heat, do you have an idea?
[Nexus 5 Android Development] big_bum:
I don't understand it too, but it seems dynamic fsync doesn't play nice with f2fs. On ext4 there's no problem.

I had someone complaining about this issue back in the KK days.

What FC? Kernel Adiutor or BbKT? Kernel Adiutor might be broken because I made some changes on how some freqs are read to make BbKT compatible with cpu-boost driver, so yeah, maybe it's my fault.

I'm not using the AOSP kernel anymore (still going to support it though) so I can't tell you more.

I think I'll push V10 today, I didn't have any complaints, so I guess we're good.

EDIT:

V10:

-Lollipop 5.1 compatible

-disabled dyanmic fsync by default

-added an in-kernel hotplugger (msm_hotplug, developed by myfluxi)

-built with UberTC, (contains the best from SM and Linaro)
[Nexus 5 Android Development] reddvilzz:
Can't seems to download from either link and even the mirror doesn't have v10 yet. Link down?

Edit: nevermind adblock blocks the link so that it couldn't be downloaded

Edit 2: it seems not working on latest AICP 9.0, ended up in bootloop even on clean flash
[Nexus 5 Android Development] Incredible_Culp:
v8/9 is for 5.0.x ROMs correct?

and v10 is for 5.1.x right?

EDIT: nvm answered my own question.. i used v8 seems like a long time ago lol.. since bum has a 5.1 now, im coming back.
[Nexus 5 Android Development] big_bum:
Yes, V10 = 5.1, the rest is for 5.0.x.

The only difference in V10 from V9 is the 5.1 ramdisk and a tuned hotplugger.

Also it seems that on 5.1, not all ROMs boot.
[Nexus 5 Android Development] Dodgexander:
It was auditor that crashed but it doesn't anymore with a new update. Fsync of seems to have stopped the phone from getting red hot so thanks for the help!
[Nexus 5 Android Development] reddvilzz:
Where's the impulse governor? Is it being removed from previous version? I installed the one from vividROM thread the latest one
[Nexus 5 Android Development] big_bum:
Those are different kernels.
[Nexus 5 Android Development] reddvilzz:
Tried your kernel again on AICP the one from this thread and it ended up bootloop but the one on vivid rom works well. What makes it didn't work on AICP?
[Nexus 5 Android Development] big_bum:
Probably because the ramdisk is outdated.

I'll talk with [MENTION=3371513]reas0n[/MENTION] and see if we continue AOSP or CAF and if we go to AOSP I'll try to convince him to use this kernel. It's more advanced than the one in CM.

I tried to merge CM sound from this kernel to the one in Vivid and it's a PITA. It's easier to add some missing things from Vivid kernel in this one (like LTO) then the other way.
[Nexus 5 Android Development] big_bum:
Test version

-Sabermod GCC5.0

-in process of tuning/refreshing/debloating the defconfig (syncing with CM/Vivid)

-removed some things that might cause problems (also debloated the image a little)

-using Vivid ramdisk (5.1.1)+ Makefile/makeflags

-no LTO for now (the phone restarts at Google Logo, I can't see what's wrong right now)

-included some fixes from Sabermod/CM

-compatible with PCC, so LiveDisplay from CM works, savoca's color control is still there

-removed Franco's thermal engine (I think this was the last thing we used from Franco's kernel)

-compatible with VividROM (so it should be compatible with CM too), didn't test on other ROMs so be careful and backup

TODO: LTO, change to a non-permissive kernel, sync defconfig with CM/Vivid, update to 3.4.107

Kernel is attached below. (It's not a flashable zip so please don't try to flash it and complain afterwards. Just unzip the archive and flash the .img)
[Nexus 5 Android Development] Dr.Pepper:
Its for aosp,right?
[Nexus 5 Android Development] big_bum:
Yeah, AOSP. Or better said, CM AOSP.
[Nexus 5 Android Development] reddvilzz:
Last build works with AICP ROM now
[Nexus 5 Android Development] Mars04st:
Hi, i'm on Euphoria OS (la test build 5.1.1 28 april). I tried to flash big_bum v10 but UI torce close after boot. Why this?
[Nexus 5 Android Development] big_bum:
Can you try the test version from above?
[Nexus 5 Android Development] Mars04st:
This seems to be stable! Thanks!

Just curious: Why the v10 version doesn't work with euphoria OS?
[Nexus 5 Android Development] big_bum:
Because of the ramdisk most likely. V10 has the ramdisk from 5.1, the above mentioned has the one from 5.1.1.
[Nexus 5 Android Development] big_bum:
Uploaded a version for Android M.

Check it out.
[Nexus 5 Android Development] pianistaPL:
Thanks, seems interesting, does M kernel have f2fs support?
[Nexus 5 Android Development] big_bum:
No.
[Nexus 5 Android Development] BlazeForth:
Hey bro, test kernel got SystemUi fcs on euphoria rom after bootup...
[Nexus 5 Android Development] big_bum:
^

The one from the previous pages? If so, well, I guess this is the (official) end for Lollipop branch.
[Nexus 5 Android Development] BlazeForth:
Yes bro. Am using an unofficial build of eos.... Dont know about official. ? ✌
[Nexus 5 Android Development] Chirag7:
Are you planning to add the msm-adreno-tz gpu governor to Nexus 5? And I couldn't find the performance or ondemand gpu governors in your source code, like you mentioned in the OP. But I've heard devices such as the Nexus 6 have the msm-adreno-tz governor. Is it possible to port it to our device?

Where are the Gpu governors located, though?
[Nexus 5 Android Development] big_bum:
I think that's a CAF feature. I don't really know and I'm happy with ondemand. It alse works great with elementalx governor, so let's not break it.

https://github.com/StefanescuCristi...d-m/drivers/gpu/msm/kgsl_pwrscale_trustzone.c
[Nexus 5 Android Development] 71k170:
Best Kernel =) Thkz big_bum.
[Nexus 5 Android Development] pianistaPL:
Well, f2fs would be nice.
[Nexus 5 Android Development] big_bum:
I really don't like f2fs and I can't understand why people are using it, so I won't include it in my kernel anymore until it hits stable mainline.
[Nexus 5 Android Development] buru898:
What do you consider stable and mainline? All newer ROMS are compatible without having to change anything when flashing.
[Nexus 5 Android Development] big_bum:
I'll consider it stable when others will consider it too.

See the table from here? When Stable: yet to be released will change into something else then I'll probably include it.
[Nexus 5 Android Development] big_bum:
An updated kernel is for M Preview 3 is available at ftp://big-bum.uni.cx/misc/N5/M/ (V2)
[Nexus 5 Android Development] Vanesso:
Hi, i can't boot into M DP3, if i have installed a m (v2) kernel. What i need to do?
[Nexus 5 Android Development] big_bum:
Tell me more details about your setup.
[Nexus 5 Android Development] Vanesso:
I have already install m dp3 with fastboot. Then i tried to flash kernel via twrp and fastboot, but nothing - when i reboot my phone it stuck on google logo. I flashed v2 for m.
[Nexus 5 Android Development] big_bum:
Are you using f2fs by any chance?
[Nexus 5 Android Development] Vanesso:
No, I am not using f2fs. But will I flash any other files with kernel?
[Nexus 5 Android Development] big_bum:
Can you flash the stock boot.img to see if it boots?

If it's stuck at Google logo, I can't do much.
[Nexus 5 Android Development] Vanesso:
Yes, if I flash stock img it boots, but it doesn't want to boot with big-bum.

I flashed m dp3, then flash kernel img in recovery and reboot phone. Is it right?
[Nexus 5 Android Development] big_bum:
If the recovery knows how to flash .img, then yes.
[Nexus 5 Android Development] Vanesso:
Do you use v1 or v2?
[Nexus 5 Android Development] big_bum:
V2. There are some changes in initram in DP3 that are different from DP1.

I'll try to figure it out and send you a test build tomorrow.
[Nexus 5 Android Development] Vanesso:
OK, thanks a lot for your work.
[Nexus 5 Android Development] anonymous007:
Just thought I'd give some feedback running the latest test kernel on deodexed developer preview 3 and the performance is outstanding. :good:
[Nexus 5 Android Development] big_bum:
I've updated the thread with the new kernel name and pushed a new release. Nothing changed besides selinux that works in enforcing mode now, with root. You must use SuperSU 2.50 for this to work.

Check the download folder for boot-M-6.0-r1.img
[Nexus 5 Android Development] pianistaPL:
Couls you add Gamma control? I don't see it on the feature list in the OP.

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Android Development] big_bum:
Sure. Search the folder for the beta version.
[Nexus 5 Android Development] pianistaPL:
That was fast, thank you :) I will try out tommorow.
[Nexus 5 Android Development] SedyBenoitPeace:
[MENTION=4857170]big_bum[/MENTION] i saw that you merged things from CM12.1 CAF...can you tell what exactly? For example the Caf's audio is simply amazing are there commit about this? Thanks for answer...i'm looking to flash Marshmallow but before i need to see what kernel i will use...(for now i'm on CM12.1 CAF)
[Nexus 5 Android Development] pianistaPL:
All's running fine so far on the AOSP 6.0 :) Good work.
[Nexus 5 Android Development] big_bum:
Interactive cpu governor, cpu-boost driver, and some sched driver changes/updates/fixes are from CAF branch. Some little fixes for modem too.

There's no change for audio (yet, and even if I merge them, you will probably need to change some audio libs for it to function 100%) and no video updates(and there will never be). You can't use the kernel on CAF. It's for AOSP only.
[Nexus 5 Android Development] SedyBenoitPeace:
Yes I know.. Also because there isn't a marshmallow caf rom yet :)

However like I told I was just asking because soon I will change to marshmallow and of course I will use a custom kernel :)

Inviato dal mio Nexus 5 CAF utilizzando Tapatalk
[Nexus 5 Android Development] st3wart:
Links not working ?

Sent from my Nexus 5
[Nexus 5 Android Development] shadowdevil:
This is the direct link ftp://big-bum.uni.cx/misc/N5/M/boot-M-6.0-r1.img

[MENTION=4857170]big_bum[/MENTION] flashed latest one..working great with root..:good:

Really Android M is improved much better than LP ! Thanks Google for that :)
[Nexus 5 Android Development] marioemp2k7:
Great work! Can you please add fat charge? Thanks!
[Nexus 5 Android Development] st3wart:
Link for whatever reason is not working for me. Tried multiple browser on N5. Guess I'll try my PC

Sent from my Nexus 5
[Nexus 5 Android Development] big_bum:
I don't see why not, so I guess yes.

Regarding the not working link: It's a bug in Tapatalk. Something redirects ftp:// to http://ftp// and the DNS is not resolved anymore.
[Nexus 5 Android Development] rickballs:
Can't download either.
[Nexus 5 Android Development] big_bum:
There's a problem with the connection right now. I can't do anything to fix this, the problem is a hardware one.
[Nexus 5 Android Development] rickballs:
Thanks for the reply. I'll patiently wait
[Nexus 5 Android Development] CataHd:
This kernel has franko audio driver?

Or they work with fku app?
[Nexus 5 Android Development] big_bum:
It doesn't have franco's audio driver. It doesn't have any sound modifications yet.

There are some features that might work with FKU, there are some that might not work.

I recommend using Kernel Aduitor

If users are interested in franco audio driver, I'll probably merge it in the next beta.

PS: The server connection is up right now, but might fail again, so Google Drive mirror.
[Nexus 5 Android Development] SedyBenoitPeace:
Well with Lollipop Franco it's better and works with every kernel manager...instead Faux isn't that good (at least with Lollipop) because you need the official app to keep the preferences on audio stick also after a reboot..at least this is my experience (and i consider franco better also for quality but this is a personal opinion)
[Nexus 5 Android Development] big_bum:
Beta 2 available, built with Sabermod 5.2 + sound driver from franco + some little fixes.
[Nexus 5 Android Development] SedyBenoitPeace:
I'm on Marshmallow with your kernel...it's smooth like hell and it seems also rock solid in terms of battery (maybe it's also doze) the unique thing is that it seems that Franco Sound hasn't effect...but maybe it's just me!
[Nexus 5 Android Development] big_bum:
I tested it right now and it seems to work. Can you describe your problem?
[Nexus 5 Android Development] SedyBenoitPeace:
It seems that the volume it's the same as stock.. I will make further testing.. Do you use a particular kernel manager?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] big_bum:
Are you using Lux?
[Nexus 5 Android Development] dox81:
No, not using any of these kind of apps. Stock rom also. Until now I have not managed to reproduce it.
[Nexus 5 Android Development] Dark_Eyes_:
New franco r54 is up. Care to update?

Thanks man!
[Nexus 5 Android Development] big_bum:
I want to test v7 before releasing it. Wait a few more hours. I reverted some things and updated Linaro and I want to see if it's stable.

LE:

V7 - aa8a30ed4ceeca58dc58a13e5a207093e3621349

Changelog:

Linaro 4.9.1 2014.06

Linux 3.4.93

some little reverts

hotplug driver updates from franco
[Nexus 5 Android Development] dox81:
I can confirm that low light behaviour is better now. I think that are no more fast changes of brightness or it did not happen yet.
[Nexus 5 Android Development] big_bum:
Yeah. I am using Lux and noticed some wierd behaviour. (Well, the change was OK, but derped userspace)

I've reverted that commit.
[Nexus 5 Android Development] samgcw:
Using version 6 with Carbon Rom super smooth and good battery but got a SOD.
[Nexus 5 Android Development] big_bum:
Give me a log, please. Are you undervolting or overclocking?
[Nexus 5 Android Development] samgcw:
No touch on setting. Sry, no log app install. Will monitor again and report with log. Wiped cache and dalvik.
[Nexus 5 Android Development] big_bum:
Go into /proc/last_kmsg and copy what is in that file, then paste it on pastebin or other similar service.

There is no need to have an app installed.
[Nexus 5 Android Development] samgcw:
https://docs.google.com/file/d/0B1hiK3sx7fJ8TWhIQmFGOUI2R1k/edit?usp=docslist_api
[Nexus 5 Android Development] big_bum:
There doesn't seem to be anything usefull in the log. Update to the latest version and post here if you have another SOD.
[Nexus 5 Android Development] samgcw:
Ok.
[Nexus 5 Android Development] dox81:
[MENTION=4857170]big_bum[/MENTION]

How are the new optimizations in your git working?
[Nexus 5 Android Development] big_bum:
[MENTION=5015908]dox81[/MENTION] -fgcse-las -fgcse-sm -fgcse-after-reload are already in O3, so no benefit from those flags. It runs OK, I guess. I don't know what to say.

I merged the Makefile from LaboDJ and added a few new flags: :)

V8 - 075a453bb26acd0c3e6fc6d46264286dbbe326f3

Linux 3.4.94

more optimization flags
[Nexus 5 Android Development] PAIIITET:
what I've been waiting a few months. love the kernel.

thank you very much and respect for f2fs support
[Nexus 5 Android Development] dox81:
I'm getting very good perfomance with this kernel. Battery is good as always and the system seems more snappy than stock. No problems encountered until this moment. Very good. :)

Also, with so many flags, isn't there the posibility of over-optimizing? I don't have the knowledge in this field, maybe you can help us a little bit. And big thanks for the V8.

LE: Would we benefit more if we use this kernel with a linaro built rom? I saw that we have stock aosp built with linaro in the original android development. Thx
[Nexus 5 Android Development] big_bum:
What do you mean? Making the performance worse? It theoretically could, but not that worse that you can feel it. If you loose 10000 points in benchmarks, then there is a problem, but if loose 1000, you could say it's because of the variables (temperature, load). Read this. I've always compiled my kernels with -O3 and machine specific optimizations (-mtune/-mcpu) and it didn't feel worse, and linpack showed a little improvement on my machine. (20GFLOPS more, actually, but it's not our phone's case since we have a scalable frequency and thermal throttling)

More important: does it feel smooth? Worse? Better? The same? If it does not feel worse than what kernel you had before, then it's all good.

Linaro/Sabermod/GCC are just compilers. It's the optimization flags that count. Read here. And link me to the ROM's thread, it sounds good!
[Nexus 5 Android Development] dox81:
V8 seems even smoother and snappier. Will test further.

Link to ROM:

http://xdaforums.com/google-nexus-5/orig-development/rom-flonaro-june-13-2014-t2781599

What do you think?
[Nexus 5 Android Development] big_bum:
I personally don't see any optimizations. I didn't look in the ROM Makefile since from what I saw they use the AOSP one, but the kernel is built with -O2 (default). They use Linaro GCC, which is better than GCC by default, but I don't know if they optimize beyond that.
[Nexus 5 Android Development] big_bum:
Kernel Adiutor
[Nexus 5 Android Development] SedyBenoitPeace:
Also me... I found the problem.. For some reason the volume speaker setting doesn't stick.. However in franco sound there where also specific controls for headphone boost and now I don't see this.. I don't know what can be wrong

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] big_bum:
Ahh, yeah, I see the problem too, but only Kernel Adiutor (KA) has this problem. FKU works.

It seems like KA has a little bug with franco sound driver.
[Nexus 5 Android Development] SedyBenoitPeace:
Ok Thanks.. I will install fku that I have in paid version :)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] big_bum:
I'll search for an updated version of franco sound driver, maybe I missed something.
[Nexus 5 Android Development] SedyBenoitPeace:
Well it can be that with marshmallow there are some issues.. With lollipop I remember that all worked fine.. It's also true that we haven't an official Franco for marshmallow.. Thanks for your work however

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] big_bum:
The problem is how KA reads/works with franco's sound driver.

I will file a bug report, but I don't have time right now.
[Nexus 5 Android Development] jordirpz:
[MENTION=4857170]big_bum[/MENTION]

I use you kernel, and use cataclism rom. This rom have a feature that need patch in kernel. Atl4ntis( developer cataclism) provide information to kernel developers for this patch. Can you send pm to atl4ntis for introduce this patch in you kernel please?thanks for you work man!?
[Nexus 5 Android Development] SedyBenoitPeace:
At the moment also I'm on cataclysm.. But I didn't notice the bug of volume button.. Of course it will be amazing if [MENTION=4857170]big_bum[/MENTION] will make the patch also with his kernel

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] big_bum:
Tell me what patch.