yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] PAIIITET:
kernel for cm support new cm super quality sound?

http://review.cyanogenmod.org/#/c/72905/

http://review.cyanogenmod.org/#/c/73154/

These features require the 42 kernel patches that I pushed. Custom kernels beware.

http://xdaforums.com/showpost.php?p=55827897&postcount=583
[Nexus 5 Android Development] big_bum:
We have them from V17. There are not all the patches merged, since that will break AOSP sound, but I merged all that I could merge and that is around 60%.

Check git:

https://github.com/CyanogenMod/android_kernel_lge_hammerhead/commits/cm-11.0/sound

https://github.com/StefanescuCristian/hammerhead/commits/nightlies/sound
[Nexus 5 Android Development] twistedumbrella:
[KERNEL] [Franco hybrid] [AOSP/CM] [F2FS] [3.4.104] big-bum V27

I guess "You need to squash this before we will approve it" doesn't apply at that tier.

Hopefully they don't have unrelated dependencies. You'd think by now CM would know they don't build kernels for anything more than a placeholder until a new one is chosen.
[Nexus 5 Android Development] WisdomWolf:
I've been scratching my head trying to figure out why logcat was broke. Your post was super helpful, not sure I'd have figured it out otherwise.
[Nexus 5 Android Development] Hayatzada:
why i see error in synapse sound tab under

i like your kernel very much due to battery life and features but i see some error in sound setting using synapse Seekbar has failed. plz tell me why this happen. i am using LS rom. thking you

MOD EDIT: Please dont quote the whole OP...there are mobile users
[Nexus 5 Android Development] big_bum:
Ooh. It's because the file doesn't exist. That doesn't influence the functionality at all.

Sent from my ΠΞXUS5
[Nexus 5 Android Development] Hayatzada:
sorry for that
[Nexus 5 Android Development] big_bum:
No worries. The problem is in Synapse.

Sent from my ΠΞXUS5
[Nexus 5 Android Development] AndreIrawan97:
I don't know if this a problem or not.... I set my freq to 2,7 ghz via kernel tweaker. I checked on Carbon built in freq changer, it says same... But after couple minute, i checked back and it says 1,4 ghz....

Is it normal?
[Nexus 5 Android Development] big_bum:
Never used ROM inbuilt freq changer. In synapse all is OK, but I can confirm that inbuilt freq changer is not playing nice with the kernel. But your problem might be thermal throttling. Higher freq=higher voltage=higher temps=thermal torttling kicks in earlier.
[Nexus 5 Android Development] :
Really liking this kernel. I'm a Franco fan for battery and faux kernel fan for performance. I like how you're going for best of both worlds. Been using this and purity ROM the past few weeks and battery life and performance has been consistently positive w/ stock settings. I only adjust gamma and sound gains. I average 4-5 hours screentime w/ some battery left over at the end of my day pending my usage which involves texts, news reading, Rdio, calls, and all autosyncs on. Also, I was a flashaholic for a while w/ ROMs and kernels and I use SMS backup/restore to restore texts. Your kernel, I notice, is the only kernel that restores it the fastest for me. So there's my unscientific examples of battery and performance experiences. Great job w/ your kernel!!
[Nexus 5 Android Development] kakabobo:
does this kernel support s2w and s2s?
[Nexus 5 Android Development] SnoopHTC:
Hello, just want say THANKS A LOT for your work, one week of tests and impressive, all i want is here ! And it's the only up to date who work with /data F2FS ! Thanks you very much !!
[Nexus 5 Android Development] SnoopHTC:
Hello, i think only DT2W ☺

@++
[Nexus 5 Android Development] SnoopHTC:
V29 F2FS

Hello, yes, V28, TWRP v2.8.1.0, only format /data in F2FS, reboot and enjoy ??

Will test V29 now ?

Thanks for your work!

Edit:

I'm on v29 F2FS all good ☺

For the settings : see screenshot :)
[Nexus 5 Android Development] BlazeForth:
[MENTION=4857170]big_bum[/MENTION] Thanks in advance for this awesome kernel. Am new to this kernel & i am loving it. I have used many kernels...But i have faced dataloss, random reboots, frequency not sticking with synapse, featureless.

And with intelli hotplug my frequency doesnt stick with synapse. So i use mpd. So if you are planning to continue this kernel to L or staying at KK, please can you add the feature screen off frequency like in elementalx kernel in mpd kernel. He uses mpd with screenoff frequency. And can you add FIOPS governer? [emoji4]

THANX AGAIN BRO. [emoji106]
[Nexus 5 Android Development] big_bum:
I'll try to add FIOPS. The thing is that I tried msm-limiter for freq limiter but a core gets stuck at the limited freq after a few days. I'll look into elementalX freq limiter.
[Nexus 5 Android Development] kakabobo:
can you help add in s2w as well. tks in advanced
[Nexus 5 Android Development] BlazeForth:
Will wait bro:)
[Nexus 5 Android Development] Hayatzada:
downloadin v29 now and will post after using it a while
[Nexus 5 Android Development] SnoopHTC:
Hello, i have random reboot with v29, i clean flash and same, go back to v28, all ok

Log attached is after clean flash and just after unlock phone.
[Nexus 5 Android Development] big_bum:
I see a kernel panic, and I think it's caused by the hotplug driver, but the code is the same as in v28,so maybe it's something else. I'll look into the code tomorrow.

Sent from my ΠΞXUS5
[Nexus 5 Android Development] pianistaPL:
It would be nice to see Lollipop version od this kernel :)
[Nexus 5 Android Development] big_bum:
There will be a lollipop version, just wait for the official release. When Google will release the stable images for lollipop, I'll make an L version. Until then, I'm not switching to L.

Sent from my ΠΞXUS5
[Nexus 5 Android Development] big_bum:
I installed lollipop on my phone, so I can work on the next version of this kernel. Unfortunately, the kernel as is in the moment doesn't boot, so I have to start fresh, and I want to do it from official Lollipop release. (Franco did this too)

I also don't think I will not support non-mpd anymore (meaning that there won't exist any non-mpd versions anymore)

I'll try to readd all the things that we had in this kernel, but this will take some time.

I hope that on monday I'll have a almost stock version of Lollipop's kernel (with build optimisations, latest Linux 3.4.y and bfq) running on my phone. After that, the tuning will begin.

LE: MPD and BFQ enabled, kernel booted and this is all I want right now.

LLE: A test build is in ftp/dropbox.
[Nexus 5 Android Development] Hayatzada:
i downloaded v1.img and try
[Nexus 5 Android Development] pianistaPL:
Since I was not happy with smoothness on Lollipop, I went back to KitKat - I installed Omni ROM and big-bum v29 - everything is flying. And stability is 100% good. Really good kernel and I'm waiting few weeks when Lollipop custom ROMs will come and your kernel with all features from KitKat kernel will be available :)
[Nexus 5 Android Development] big_bum:
Lollipop is the smoothest ROM I've ever seen. :P

I don't know what will happen in the next few weeks. Yesterday I tried to merge intellithermal v2 but it didn't work properly. There's still f2fs to merge, and also the sound changes from CM, and other small optmization changes. I can't update to 3.4.104 in a easy way. Also, CM compatibility was possible with some library hacking. If that won't work in CM12, then you could not use this kernel on CAF based roms.

Anyway, uploaded a new test image in FTP (checksum f0f24502bfedb34bbf2958b829995905). Last kernel commit before build: b145ee70f197c47c252515fa9bbeb07cc6a51ea2
[Nexus 5 Android Development] frontalot:
Really looking forward to the next release so I can use F2FS /data with Lollipop.
[Nexus 5 Android Development] big_bum:
Your waiting days are over. Test builds: ftp://big-bum.uni.cx/.not_so_private

Backup please. Don't come here and cry.

Kernel: 30c94540d3be35f65846977fc7278038b13e1ceb

Ramdisk L: 75e7e2cbd6f81bf01539ff0a357d2980b7cf5afc

L-f2fs: 890182885d2e12eefc691f85238e0359a7e97e3c

L-f2fs-all: fff0b84685b0b1245c29d8b1e74c6bcec3ce586f

Checksums:

67201abf9f6d8524ad9ed1c208776c50 boot-L-f2fs-all-v.img

1526d7b356d7e68c16846f0f91464cc4 boot-L-f2fs-v.img

b2a3e5389839f3b27d586893ff5a6d21 boot-L-v.img
[Nexus 5 Android Development] frontalot:
L-f2fs means /data F2FS only?
[Nexus 5 Android Development] big_bum:
Yes: https://github.com/StefanescuCristi...mmit/890182885d2e12eefc691f85238e0359a7e97e3c
[Nexus 5 Android Development] frontalot:
Before I convert to F2FS and try the new kernel, can you tell me how to backup and restore my data partition? Can I create a nandroid of /data on ext4 and restore to F2FS?
[Nexus 5 Android Development] big_bum:
It should work by doing a nandroid of /data. In TWRP the nandorid is actually a tarball archive that contains the files in /data, from what I have seen, so there shouldn't be a problem. I don't know how other recoveries store the data.

You should ask around some other users, since I don't use f2fs.
[Nexus 5 Android Development] big_bum:
Official big-bum kernel for Lollipop is out.

The reason it says beta in the title is because I only tested it on my phone and also, nobody complained about the test builds.

The changes in kernel are like in the OP.

For detailed changes, see git.
[Nexus 5 Android Development] phillysmako:
Running good so far! :)
[Nexus 5 Android Development] fKm:
Running very good! Do you have any suggested kernel settings?
[Nexus 5 Android Development] big_bum:
Well, I use it just like it's set by default, so not really.

You can set off screen freq to 729MHz since Google uses 729MHz as a max freq when power saving is active, and you can switch the default iosched to something else (not many people like BFQ), but other than that, I'd leave the kernel just like it is set right now.
[Nexus 5 Android Development] fKm:
Ok cool, thank you mate.
[Nexus 5 Android Development] mastero9017:
Is this kernel using MPD or code blue hotplug?
[Nexus 5 Android Development] big_bum:
It says right in the title and OP: MPD Qualcomm implementaion of hotplugging

If you want blu_plug, use V29 (incompatible with Lollipop).
[Nexus 5 Android Development] big_bum:
V2 - 4606af7d512ba61d458652f367111e1dd986dde4

What's new:

sound patches from CM (I can't merge all of them since it breaks the sound in AOSP)

removed useless things from config file

added interactive gov from CM, set as default.
[Nexus 5 Android Development] Brachacz:
Could you possibly add a flashable zip to your dropbox? ;)
[Nexus 5 Android Development] big_bum:
Sure. Just give me a few hours (I can't do it right now) and I'll upload zips for all V2s.

Until then, you can use flashify to flash the image.

Sent from my Nexus 5

[MENTION=4793902]Brachacz[/MENTION] check Dropox.

LE: Test build V3 - 583c94230d4a488c3560df32e10685f40dc70ef5 is up. Changes in git.

LLE: Another V3 test build - 44f48b5598ba74e55e8b473f89a1512cff3960e4.

LLLE:

V3 - 35a331311cf5bb0f28a8bff3501c216203dbd859

Lots of changes so tl;dr:

-updated main/used components to Linux 3.4.105

-added CM interactive(set as default) and cpu-boost driver

-updated arm topology and added cpu-power driver for arm

-removed more debugging and updated the config file

-I probably forgot something
[Nexus 5 Android Development] afraaa:
without developers without great man .. sacrifice their time . android would fall like symbian ! without these kernel nexus experience wouldn't be as nice as this .. I'm very very sry i live in country i Can't donate .. Please forgive me for now

when i see all this kernel i don't feel like i'm alone . i feel joy . Hope one day i can donate and get out of this shame !
[Nexus 5 Android Development] big_bum:
V4 - 084c9077b7421f15ce5472ab1cb0b2334957dd41

Reverted sound changes from CM, one fix for MPD and one for sched/realtime.

Disabled hotplug boost and increased migration load threshold in ramdisk.
[Nexus 5 Android Development] rener78:
Hi there how can I activate the d2tw features? Can't find the procedures anymore.

Thanks
[Nexus 5 Android Development] big_bum:
Some people prefer having f2fs file system instead of ext4 for /data and/or /system. That kernel is for them. You need to reformat your partitions for f2fs if you want to use it.

You can find more info on F2FS:

- http://xdaforums.com/showthread.php?t=2634271

- http://xdaforums.com/google-nexus-5/orig-development/nexus-5-f2fs-t2668486

You want to flash the non-f2fs (L) version if you didn't reformat the partitions to f2fs.

The L version doesn't have dt2w anymore. And please don't edit your post after I responded to it. You make me look like I'm talking to myself.
[Nexus 5 Android Development] pianistaPL:
[MENTION=4857170]big_bum[/MENTION] I have ext4 on /system and f2fs on both /data and /cache. So I should install big-bum-L-f2fs-v4.zip, right?

Sorry for the nooby question, I just want to be sure :)
[Nexus 5 Android Development] Thunderbolt:
Big bum after flash my two navbar signs disapeared.
[Nexus 5 Android Development] big_bum:
big-bum-L-f2fs-v4.zip is for f2fs /data and ext4 /system and /cache. I never heard of /data and /cache being f2fs without /system being in f2fs. I made the f2fs versions by request from [MENTION=5213672]_MirageX_[/MENTION] and he pointed me to a thread where users had /system /data /cache in f2fs and it's called f2fs-all and only /data in f2fs and it's called f2fs. I made the kernel versions accordingly.

You need to format your /cache to ext4, then you can flash big-bum-L-f2fs-v4.zip.

I don't think it's kernel related, but can you give me more details? Which version, which rom?
[Nexus 5 Android Development] pianistaPL:
Hmm, I use f2fs on /data and /cache and ext4 on /system without problems on Code_Blue. Many people use this configuration. Do you think bigbum-f2fs will not work with /cache on f2fs?
[Nexus 5 Android Development] big_bum:
[MENTION=4496256]pianistaPL[/MENTION] It will not work because of how the ramdisk is set right now. Let me look into code_blue f2fs and wait a few minutes and I'll send you a test zip.
[Nexus 5 Android Development] Thunderbolt:
Bigbum this problem was on the newest euphoria ROM. I checked twice. Circle and square disapeared.

Version v4
[Nexus 5 Android Development] big_bum:
I never heard of that. Can you go to settings and modify any option for your navbar? Like size or button order? Or clear the data/cache for the system_ui app.

The kernel doesn't know about the ROM, the kernel controls the hardware. The Rom makes system calls and the kernel reacts based on that received calls and tells the hardware what to do.

Sent from my Nexus 5
[Nexus 5 Android Development] Thunderbolt:
Bigbum which version should i use on cataclysm ?
[Nexus 5 Android Development] big_bum:
big-bum-L-v4.zip or boot-L-v4.img

Ok, V5 test build:

- linaro 2014.12

- unified ramdisk for f2fs and ext4 versions
[Nexus 5 Android Development] Thunderbolt:
Bum on catalysm flash complete;)
[Nexus 5 Android Development] big_bum:
It keeps reseting because of the touch/cpu-boost driver. The freq stays at 300MHz when you don't touch the screen, when you touch it, it goes to 1.2GHz.

The path is: /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq
[Nexus 5 Android Development] Paddybecks87:
DT2W

[MENTION=4857170]big_bum[/MENTION],

running V5 now, amazing work, thank you. Just one quick question: could you possibly add dt2w functionality? I'll gladly donate to you if this is possible!

---------- Post added at 04:13 PM ---------- Previous post was at 03:59 PM ----------

Just found the answer to my question myself. Nevertheless, even though you disapprove of it, could still compile a kernel of yours with DT2W included? I do not really care about battery drain, etc.

Thank you for your time/efforts.
[Nexus 5 Android Development] pianistaPL:
V5 works fine on /data and /cache on f2fs :)
[Nexus 5 Android Development] Hayatzada:
no sound slider in synaps plz add this i need it so badly
[Nexus 5 Android Development] big_bum:
I didn't change anything to the voltages. You can't get that low, or the phone reboots after undervolting? This is how franco set them. I'll look how low you can get with the voltages.

If you want to disable touchboost, use Synapse, and set touchboost to 0, or lower it if you don't want to completly disable it. We had something around 40-80ms in the KK kernel.

The thing is that when you touch the screen, and you open the synapse app it reads the touchboosted freq and sets the slider for the minimum freq to 1.2Ghz. When you hit apply, it registers that frequency. This is how synapse/cpu-boost works, unfortunately. You can go back to the CPU tab and set it back to 300MHz every time you modify something in Synapse. Or you can use Kernel Tweaker to set the kernel but you won't have so many options. I know it's annoying, but if you set 40 or 80ms boost, synapse won't have time to read 1.2GHz as a minimum. If someone here knows Java or can direct me (links) on how to build Kernel Tweaker (source) I think I can build a special version for my kernel with all the settings from Synapse included. I wanted to do that for some time, but I always got stuck on building the project.

It will be in the next (test) release. I never disapproved any request. :) This is how f2fs version was born. :P

If you want to build the kernel yourself, you can fork my repo, download the toolchain, run the build script and flash the kernel. See the first post for instructions or contact me. Eventually send me a pull request if you merge d2tw faster than me. That's the whole idea of open-source: making the software as you want.

Cool. From now on, we'll have only one kernel for all filesystems.

It should be there! Have you tried to reset synapse data? I personally use Kernel Tweaker and I can change the sound settings (boost/volume), so the files that need to be there for modifications are present in the kernel.

That's all for tonight. I feel like I just did a reddit AMA.
[Nexus 5 Android Development] Paddybecks87:
DT2W next release? Awesomeness.

[MENTION=4857170]big_bum[/MENTION],

thank you sincerely for your quick reply. You just made my day! If you can include dt2w in your next release, I'll hook you up with a small donation (to keep you going :-p)! Honestly, this is the only feature that's actually missing, from my point of view. Despite the fact that I'm quite experienced in flashing stuff (ADB and Fastboot, blabla), I couldn't for the life of me build a kernel/rom LOL

Thanks again. Can't wait for the next release! Greetings
[Nexus 5 Android Development] big_bum:
Test build, V5. DT2W, S2W and S2S added, disabled by default. You can control them via Synapse or /sys/android_touch.

Build date: 17:03:18 EET

MD5:

dbfcb91be99f13abd512412ce8d1fe32 big-bum-L-v5.zip
b5fa23eb15a1eefeaed11643f70f0929 boot-L-v5.img

To respond to the 2 previos questions:

The soundbar is present in UKM 3.6.1.

Voltages can go as low as 600mAh.
[Nexus 5 Android Development] Paddybecks87:
YES!!!

DT2W works perfectly fine. Damn, you're fast! Appreciate it! Donation coming your way so you can buy yourself a little something to drink :D

---------- Post added at 02:15 PM ---------- Previous post was at 02:10 PM ----------

@big_bum,

here you go: 65B74866N08909335

Thanks again, looking forward to testing future updates and getting even more functionalities!

Greetings
[Nexus 5 Android Development] shadowdevil:
Thanks big_bum v5 works great with f2fs on /data and /cache and running soo smooth !

Great kernel under the hood !
[Nexus 5 Android Development] big_bum:
Thank you! I'll consider it a gift for my birthday.
[Nexus 5 Android Development] Paddybecks87:
[MENTION=4857170]big_bum[/MENTION],

you're more than welcome. Just one question: seemingly, I am not able to choose a lower Min CPU frequency than 1190 MHz. When a lower value is selected, it always jumps back to 1190 MHz...am I doing something wrong? (Selected profile is performance)

Greetings
[Nexus 5 Android Development] shadowdevil:
I think he is already answered for that query :)

http://xdaforums.com/showpost.php?p=57673787&postcount=301
[Nexus 5 Android Development] Paddybecks87:
[MENTION=4610345]shadowdevil[/MENTION],

ah, you beat me to it. Thanks a bunch, dude.
[Nexus 5 Android Development] big_bum:
[MENTION=6266829]Paddybecks87[/MENTION]

It's because of the cpu-boost driver. The cpu-boost writes the touch freq to the same file where the apps read the minimum freq. Because the touch is set to 500ms, the app has time to read the value from the file.

I explained more on the last page. Check the link that [MENTION=4610345]shadowdevil[/MENTION] gave you.

To see the realtime frequency use this app: http://xdaforums.com/showthread.php?t=1933284
[Nexus 5 Android Development] Paddybecks87:
Still a lot to learn, as it seems. Thanks, guys!
[Nexus 5 Android Development] Hayatzada:
after installing v5 i can't adjust alarm(system crashes) while every thing is ok before installing this kernel. and after flashing other kernel on v5
[Nexus 5 Android Development] SnoopHTC:
Euphoria-OS

Hello,

Please help me...

My step:

in TWRP 2.8.3.0,

1-wipe dalvik cache, system, data and cache (/cache and /data in F2FS)

2-install (queued in this order) Euphoria-OS 2014-21-12 -- micro modular PA-Gapps 2014-18-12 -- SuperSU 2.40 -- big-bum v5 -- UKM v3.6.1

3-reboot

and i have "setup wizard has stopped" and "system UI FC"

It's ok with code_blue r777 kernel

Thanks by advance for your help.
[Nexus 5 Android Development] gamepois0n:
hahhaa, big BUM :)
[Nexus 5 Android Development] big_bum:
The only change in V5 (beta) is dt2w. Can you try with v4?

Sent from my Nexus 5
[Nexus 5 Android Development] SnoopHTC:
Euphoria-OS

I also tried with v4-F2FS (only /data in F2FS) and same.

I download your kernel here : https://dl.dropboxusercontent.com/u/24870763/N5/not_so_private/index.html

thanks to help me ;)
[Nexus 5 Android Development] big_bum:
I do exactly how you said:

Flash ROM (Optipop), flash PA-gapps (full), flash kernel, and then super-su. After that I dirty flash updates, using the same steps.

I don't use f2fs, I had /cache in f2fs (the metadata eats a lot of space), but it worked fine.

Can you try with the stock ROM's kernel? Or at least boot with the stock kernel the first time, then flash mine. (In the KK days, I had to to this with CM if I wanted my radio to work)

If the problem persists, connect the phone to the PC, get a `dmesg` and I want to see the output to `mount` command.

I see in Euphoria-OS' Google page that a lot of people complain of FCs for different system parts...

[MENTION=5366763]Hayatzada[/MENTION] the kernel doesn't know about the apps you're running. Most probably the Alarm app you were using wanted to display the alarm icon in the status bar (system ui) and it somehow crashed.

EDIT:

I changed f2fs to the one used in code_blue, since all of you who use f2fs said that in code blue you had no problems.

I tested it with cache partition and it works, but I need someone to test the latest beta build with /data in f2fs. My guess is that the permissions on f2fs get somehow messed with the version we had before and that's why we have FCs with f2fs.

I personally don't like f2fs due to the huge space occupied by metadata (124MB vs 4MB with ext4)
[Nexus 5 Android Development] SnoopHTC:
I made this:

1-Full wipe and all in ext4, flash Euphoria micro gapps supersu kernel and reboot, same.

2-Full wipe always ext4, flash Euphoria micro gapps supersu, reboot and wait 2mins on SIM code, reboot to TWRP and flash kernel, same.

3-Boot to recovery and in a windows cmd, I execute this command : adb shell dmesg > D:\dmesg.txt (I hope it's good one...)
[Nexus 5 Android Development] allindaze:
I just started using F2FS today. I have no way of measuring the benefits vs the extra space consumed by excessive metadata. Do you think the benefits aren't worth it?
[Nexus 5 Android Development] big_bum:
[MENTION=1834642]SnoopHTC[/MENTION]

I'll look into the ramdisk of euphoria.

EDIT: Is Euphoria CM or AOSP based?

[MENTION=4971757]allindaze[/MENTION] If you don't care about free space that much, stay with f2fs. Nexus 9 uses f2fs by default.