yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] mr.ace:
You forget sched patches?
[Nexus 5X Original Android Development] jollaman999:
sched is very sensitive.

So I will go with stock.
[Nexus 5X Original Android Development] Mrcactuseater:
[MENTION=5996255]jollaman999[/MENTION] may I query you into the reason for a full rebase? I understand it's important to clean out old patches and such, but with the past 3-4 builds I have consistently been anywhere between 4 and 1/2 hours sot on a school day (8am-1am) to touching 6 hours sot during the weekend. Again I understand it's your kernel, but I just thought a bit of input would be appreciated :)
[Nexus 5X Original Android Development] jollaman999:
I just compared with stock. It's little laggy.

And there is a nearly 0~1% battery drain with stock.

But it's not with current version.

I'm keep testing with new kernel.

It's super smooth and I will check battery drain now.

Now I will go to sleep to see the battery drain. :)
[Nexus 5X Original Android Development] jollaman999:
It's really smooth and it also looks good in zram.

== LineageOS cm-14.1 with sdcardfs + jolla-kernel_v15.0 ==

bullhead:/ #
bullhead:/ # free -h
total used free shared buffers
Mem: 1.7G 1.7G 37M 0 1.8M
-/+ buffers/cache: 1.7G 39M
Swap: 509M 96M 413M
bullhead:/ #

== Stock with sdcardfs + jolla-kernel_v15.0 ==

bullhead:/ #
bullhead:/ # free -h
total used free shared buffers
Mem: 1.7G 1.7G 40M 0 8.0M
-/+ buffers/cache: 1.7G 48M
Swap: 509M 18M 490M
bullhead:/ #
[Nexus 5X Original Android Development] pepa 77:
Already I can not wait to try v15.0 ;)
[Nexus 5X Original Android Development] khanjui:
I'm happy to see that. Many people forgets how fast and smooth our phones are. Sometimes "less is more", seems it is also in this case (kernel).
[Nexus 5X Original Android Development] edoardotavecchio:
That's really good, I'm really excited about that! Are you going ti add overclocking in this version of the kernel? It's user in other bullhead kernels
[Nexus 5X Original Android Development] mr.ace:
Many people asked this in past(include me) and he said "no" to everyone, please don't ask it again
[Nexus 5X Original Android Development] Lord_Flaya:
Man, 0~1% drain at idle would be a dream with custom kernel/Rom.

I use this with purenexus and my drain is 2~3%/h at idle. And I use greenify+Naptime, no Facebook or similar apps. :)
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v15.0]

[bullhead-v15.0]

== Kernel ==

- Rebased!! (Super smooth and battery drain is nearly 0~1%!!)

- msm_thermal: Print message of vdd restriction

- msm8992: Disable vdd restriction

- msm_thermal: Rename some parameters

- msm_thermal: Control big cluster separately (More smooth.)

(Currently, when threshold temp is reached, both little and big will decrease frequency same time.

Add support to control big cluster separately.

So with this, it can start to decrease the frequency of big cluster in higher temperature.)

- msm_thermal: Fix explanation of prameters

- touchscreen, mdss: Fix touch wake functions not working after sound stopped

- touchscreen: synaptics: Do not try to turn off the touchscreen when screen turned on

- s2w: Fix wrong checks in s2w_input_event()

- mdss, touchscreen: Simplify touch on checks

- cpufreq: cpu-boost: Increase input_boost_ms to '1500'

(We disabled and tuned lots of things include 'msm_performance' and 40 is too short to keep higher frequncy.

Let's increase this value to keep higher frequncy while touching the screen.)

- tcp: enable sockets to use MSG_FASTOPEN by default

- ASoC: msm: qdsp6v2: Fix CVE-2016-2469 in Dolby (from CAF)

- ASoC: msm: qdsp6v2: Restore compliation of disabled modules

- crypto: sha256 - implement base layer for SHA-256

- crypto: sha512 - implement base layer for SHA-512

- crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512

- ANDROID: dm verity: add minimum prefetch size

(For device like eMMC, it gives better performance to read more hash blocks at a time.

For android, set it to default 128. saved boot-up time by 300ms in tested device)

- Applied some CAF patches from 'LineageOS/android_kernel_oneplus_msm8996'

- Applied camera patches from CAF

- cpufreq: Add Relaxed governor

- Makefile: Add Linaro optimizations

- qcacld-2.0: Build with O3

- qcacld-2.0: Fix maybe-uninitialized warning messages

- ext4: Applied some upstream patches from 3.18.y

- Remove adredo-idler

- Remove per-process reclaim

- Remove old CAF patches

== AIO ==

- ramdisk: Remove 'input_boost_ms' line

(The default value is changed to 1500 by kernel.)

- ramdisk: Remove devfreq lines

- ramdisk: Remove per-process reclaim lines

- Remove Marshmallow support

== Recovery ==

- Built with new LineageOS sources

- Applied omni TWRP's recent patches

- recovery: Remove 'input_boost_ms' line

- recovery: Remove devfreq lines

- jolla-kernel_bullhead_II-v15.0 applied
[Nexus 5X Original Android Development] jollaman999:
There was a random reboot when powered on.

I just fixed it. But if the problem occurred again, please notice it to me.
[Nexus 5X Original Android Development] mr.ace:
Yes I know this is your kernel but sched patches are very important for battery life
[Nexus 5X Original Android Development] jollaman999:
But I want to be clean. From now on, clean is important to me.
[Nexus 5X Original Android Development] mr.ace:
So you will merge old patches(franco,sched,..) in future
[Nexus 5X Original Android Development] jollaman999:
If you don't like my kernel, I hope you do not use my kernel.
[Nexus 5X Original Android Development] nirogu325:
I lost only 1% in almost 8hrs idling (forgot to charge the phone before falling asleep). Also using PureNexus and no, I do not use Greenify or Naptime as I feel Android does its job good enough already. I do have Facebook and its Messenger installed yet have so little battery drainage. What I mean is, it is not a dream. It is doable.

Sent from my Nexus 5X

---------- Post added at 01:37 AM ---------- Previous post was at 01:34 AM ----------

Please stop being disrespectful to the developer by respecting his decisions on his kernel. Otherwise you shall be reported to a moderator.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] zurik:
Why I cannot change the value on the little cluster the maximum frequency to 1440 MHz?

Edit:msm_thermal it was enabled. I disabled it.
[Nexus 5X Original Android Development] churchey360:
I have same problem.. big core is fine tho and everything else I changed is sticking.. previous update I had same issue but with both cores.. I was thinking could depend on what ROM you use or app but idk lol I'm really liking the new update tho very nice and smooth :)
[Nexus 5X Original Android Development] jollaman999:
I think something is set to that frequency.

Checked with both two devices. But it looks no problem.

I will keep testing if there is a problem.
[Nexus 5X Original Android Development] titodadro:
Hi, i have installed V 15.0 and cannot do thetering with my pc., speed is wonderful with V 15

I have returned to V 14 and everything is ok again. Thanks for your great job
[Nexus 5X Original Android Development] jollaman999:
I also give a feedback with network related app.

I will check this problem.
[Nexus 5X Original Android Development] L-ViZ:
just a little question to make sure i am doing it right.

if i want to use lz4 compression, i just need to flash SuperSU before kernel?

thx in advance :)
[Nexus 5X Original Android Development] jollaman999:
Yes, right. :laugh:

Flash original boot.img or your rom. -> SuperSU -> jolla-kernel with lz4
[Nexus 5X Original Android Development] churchey360:
I use kernel adiutor and I set little core to what I wanted and it didn't stick but after reboot it was fine.. try setting it and turn on "apply on boot" then reboot your phone and see if it applies it and sticks
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v15.1]

[bullhead-v15.1]

== Kernel ==

- Revert "netfilter: use jump_label for nf_hooks"

(This breaks tethering and some apps that use filtering when CONFIG_JUMP_LABEL is enabled.) [MENTION=7079177]titodadro[/MENTION]

- netfilter: Applied some upstream patches

- arm64, jump label: Applied some upstream patches

- PCI: Fix lockdep warning

== Recovery ==

- jolla-kernel_bullhead_II-v15.1 applied
[Nexus 5X Original Android Development] titodadro:
flashing right now, thanks again Jollaman999 :good:
[Nexus 5X Original Android Development] jollaman999:
Your welcome. :laugh:
[Nexus 5X Original Android Development] khanjui:
Three things that I noticed:

1) Backlight dimmer option is disabled by default.

2) Isn't 60° C too high for this device? What you think about using this tweak and revert all of your commits about msm_thermal?

3) Smooth notification light thing making the LED less bright than stock value. [MENTION=5996255]jollaman999[/MENTION]

I see great smoothness and decent battery life on latest build by the way. Good job! How can I donate to you?
[Nexus 5X Original Android Development] zurik:
My device with this kernel is too smooth....
[Nexus 5X Original Android Development] jugoslavpetrovic:
Tried 15.0 and had several reboots and it might be cuz of very high temperature which was around 90 celsius. I didnt lile that heatness either. Im not sure why. I havent seen it at first cuz it was charging and I rebooted it from recovery after flash and left it, then I returned some minutes later and saw it in boot animation, so then I kinda freaked out a bit, unplugged and I saw it lile a minute after boot to home screen it rebooted itself again. During that short time I was in exkm and seen it was around 90 celsius.

Will try 15.1 later.
[Nexus 5X Original Android Development] khanjui:
Don't use any other thermal throttling tweaks with this kernel.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Im not.
[Nexus 5X Original Android Development] buffer overflow:
That is "phrase of the day" ! ?:laugh:
[Nexus 5X Original Android Development] jollaman999:
1. I forgot to enable it. I will fix it.

2. I don't like stock based thermal throttling. Throttling is begin in short time.

There is throttling by kernel and throttling by thermal daemon(system). It looks confuse.

There is a hotplugging function in the kernel. But there is a same function in thermal daemon. It makes not sense.

That's why I disabled thermal daemon in the ramdisk and start to develop my own msm_thermal mod.

Temperature in the kernel is not match with the real temperature. So if I limited to 60, the real temperature is about 40~50.

3. That is normal. Higher LED brightness when backlight brightness is high. Same when it has lower value. This is useful in dark place.

Thank you. But I don't want to receive any donation. I just make for my satisfaction.
[Nexus 5X Original Android Development] jollaman999:
It is hard to guess what the problem is... :confused:

I'm sorry if this is my fault.
[Nexus 5X Original Android Development] jollaman999:
Should I say sorry? :silly:
[Nexus 5X Original Android Development] churchey360:
Thanks for the updates 15.0 and 15.1 both ran great on my phone :)
[Nexus 5X Original Android Development] jollaman999:
Thank you.
[Nexus 5X Original Android Development] razrlover:
Downloading update!!

Thanks for continued hard work!!
[Nexus 5X Original Android Development] churchey360:
It was the charger making the battery hot probably.. what ROM was you using also?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Yea, I know. I thought you mentioned some random reboots so I figured to say what happened to me.

I dont really think its you fault:)

Will give a shot to 15.1 and report.
[Nexus 5X Original Android Development] Mrcactuseater:
[MENTION=5996255]jollaman999[/MENTION] loving this new rebase, it is absolutely flying along man! Although you said you weren't taking requests, the difference in apps being kept in memory from process-reclaim is noticeable by at least three apps. Other than that, I think you're on a gold mine of greatness ?
[Nexus 5X Original Android Development] L-ViZ:
just a little question, using jolla since a few hours, can i dirty flash it with wiping cache/dalvik cache only?

edit:

nvm, just tried it and it worked :)
[Nexus 5X Original Android Development] Tipkaros:
[MENTION=5996255]jollaman999[/MENTION] Did you change the power button behavior in the 15.1 recovery compared to 14.1 or am I experiencing a bug? In 14.1 when pressing the power button while in recovery it shows the lockscreen while in 15.1 when the screen is on it turns it off completely, but when I press it when the screen is off nothing happens, I have to press the power button combined with one of the volume keys to wake the screen. I tried reflashing and it's the same.
[Nexus 5X Original Android Development] jollaman999:
I also notice it too.

It seems not bad. I will check again.
[Nexus 5X Original Android Development] jollaman999:
Wiping Cache/Dalvik is not needed with kernel. Just show some options in updater app.

Only first time, you must flash original boot.img or your rom before you flash jolla-kernel.

Thank you.
[Nexus 5X Original Android Development] jollaman999:
It looks some of change with recent omni patch make this problem.

I will check. Thanks.
[Nexus 5X Original Android Development] jollaman999:
Tested.

It just eat more ram usage. It seems not very effective.

The high zram usage is also related with this.

It looks better to use only with zram.

Thank you.
[Nexus 5X Original Android Development] jollaman999:
Tested with game that eat high memory and cpu.

It looks adjusted thermal limit get device hotter.

I found better values to use smooth in lower temperature.

I will apply these values in next version.
[Nexus 5X Original Android Development] jugoslavpetrovic:
PixelROM
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v15.2]

[bullhead-v15.2]

== Kernel ==

- mdss: Enable backlight dimmer by default

- Revert "workqueue: make sure delayed work run in local cpu"

- msm8992, msm_thermal: Restore poll-ms to 250

- msm8992, msm_thermal: Get smooth performance in lower temperature

- rmnet_data, ion, msm: Change %p to %pK (CAF)

- ASoC: soc: prevent risk of buffer overflow (CAF)

- ASoC: qdsp6v2: fix potential bug of infinite loop (CAF)

- qcacld-2.0 (WLAN Driver): LA.BF64.1.2.3_rb1.8 from CAF

== AIO ==

- init.bullhead.rc: Reduce LITTLE's boost freq to 960MHz

- init.bullhead.rc: Adjust hispeed load speedly

== Recovery ==

- Revert "gui: Actions: Toggle backlight on power key"

(Can't turn on the screen after turned off.)

- init.recovery.bullhead.rc: Reduce LITTLE's boost freq to 960MHz

- init.recovery.bullhead.rc: Adjust hispeed load speedly
[Nexus 5X Original Android Development] khanjui:
I hate that.
[Nexus 5X Original Android Development] jollaman999:
No more thanks!

I also hate that limit. :(

Thanks anyway. :laugh:
[Nexus 5X Original Android Development] Maritus1:
Hi,

i really like your kernel, thank you, especially that your Kernel is the only to support hotplugging.

One question, is vibration control integrated in your kernel, that is the only feature missing for me :)
[Nexus 5X Original Android Development] jollaman999:
CPU load: Depends on what you do or background apps. 0~30% when idle.

DT2W: It's the problem related with deep sleep. I tried so many times with this issue since my Optimus G's jolla-kernel. I don't know where I should fix it.

Thank you.
[Nexus 5X Original Android Development] jollaman999:
Thank you very much.

It is already implemented but has different name.

I will fix it.

What is your kernel control app?

Edit: You can see vibration control option in next version. :)
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v5.0]

== Kernel ==

- Linux 3.10.96

- mm: UKSM Support

- devfreq: Adreno idler Support

- wlan: qcacld-2.0: Get LA.BF64.1.2.9 from caf (No Wi-Fi issues/No slow Wi-Fi/No disconnection)

- sovc: Fix vibration again after removing finger from the screen

- msm_hotplug: Add new big_core_down_delay parameter

- msm_hotplug: Do not hotplugging when disabled or suspended

- msm_hotplug, cpu: Only block hotplugging for big cores when suspended

- msm_hotplug, fingerprint: Do not hotplugging when disabled

- msm_hotplug: Make it difficult to turn on big cores

- msm_hotplug: Remove 'apply_down_lock(cpu)' from big cores

- msm_hotplug: Increase DEFAULT_BIG_CORE_UP_DELAY

- msm_hotplug: Remove 'online_little' variables

- msm_hotplug: Skip if all of big cores turned on or off

- wakeup: try to deactivate a wakeup source when the user explicitly disables it from userspace

- wakeup: Add the guard condition for len in pm_get_active_wakeup_sources

- qcom: rpm-smd: Applied some of patches with workqueue warning fix

- soc: qcom: common_log: Fix a memory leak in common_log driver

- ASoC: Applied upstream patches from Cyanogenmod

- hid: Add driver for FiiO USB DAC

- cpuidle: Applied some patches

- msm: spm: Applied some patches

- msm: lpm-levels: Applied some patches

- lib: add support for LZ4-compressed kernel

- lib/lz4: Applied upstream patches

- lib/decompressors: Applied upstream patches

- bullhead_defconfig: LZ4 ramdisk/decompress support

- bullhead_defconfig: : Enable MODULES support

- bullhead_defconfig: Enable FB_MSM_MDSS_HDMI_PANEL

- PM / sleep: Applied some patches

- cpufreq: interactive: Applied some patches

- cpufreq: Applied some patches

- cpufreq: add ZZMoove big.LITTLE Edition (bLE) development version as of 09.01.2016

- cpufreq: Fallback to interactive governor

- haptic: Vibration control support by kernel control apps

== Recovery ==

- Built with lastest omni android-6.0 TWRP sources with cm-13.0 as base.

- jolla-kernel_bullhead-v5.0 applied

- f2fs-tools: Applied lastest dev branch patches

- f2fs-tools: Applied Android patches from Cyanogenmod

- Use LZ4 compressed ramdisk image

== AIO ==

- AIO: Use modified AIK scripts for mkbootimg and make LZ4 compressed ramdisk by default
[Nexus 5X Original Android Development] txuki2005:
Miles thanks!! Waiting new pure nexus to check it!!
[Nexus 5X Original Android Development] Schrotty35:
Have the Kernel decrypted support?
[Nexus 5X Original Android Development] jollaman999:
Yes.
[Nexus 5X Original Android Development] westernmg:
Cannot install SuperSU 2.66 on the newest kernel.

The boot image patcher says:

-Decompressing ramdisk

--- failure, aborting.

The same happens with SuperSU 2.67.

How to get root?

Could the LZ4 compressed ramdisk image be the problem?
[Nexus 5X Original Android Development] Fizwiz:
Same here whith 2.67 on Purenexus, but work with 2.52

Envoyé de mon Nexus 5X en utilisant Tapatalk
[Nexus 5X Original Android Development] Fizwiz:
V5 is smooth and very good battery.

Envoyé de mon Nexus 5X en utilisant Tapatalk
[Nexus 5X Original Android Development] SoMeiBoL:
I'm testing it, configured with Kernel Adiutor.

[MENTION=5996255]jollaman999[/MENTION] I congratulate you for the work done!
[Nexus 5X Original Android Development] jollaman999:
I forgot about that.

I will add the option next time.

Edit: Re-uploaded. You can reinstall with gzip compressed ramdisk image. Sorry for my mistake.
[Nexus 5X Original Android Development] jollaman999:
Thanks!
[Nexus 5X Original Android Development] jollaman999:
Your welcome. Thanks!
[Nexus 5X Original Android Development] skulldreamz:
[MENTION=1166502]jollaman999 You might want to ask [MENTION=631273]Chainfire[/MENTION] if he could add lz4 decompression to the next beta. Sounds like a great idea. I am going to flash v5.0 without root just to see the difference in boot time. Thanks
[Nexus 5X Original Android Development] Smac7:
How do i get lockscreen controls back for music apps? I saw that i could swipe to the next song and change the change the volume but i would like the stock controls when the screen is lit up. Right now i can't even pause music from the lockscreen.
[Nexus 5X Original Android Development] jollaman999:
Sounds good. I'll ask him.

Thanks.
[Nexus 5X Original Android Development] jollaman999:
https://www.google.co.kr/search?new...2.0....0...1c.1.64.img..3.13.2000.PdaIuoUZYo8

If you say about this. It's not related with kernel. Check your app's settings.
[Nexus 5X Original Android Development] Smac7:
I'm talking about this. It's missing now. The only recent changes i made were adding the kernel and turning on DT2W.

EDIT: you were correct, it was rom related. I guess it just took a while for me to notice the bug.
[Nexus 5X Original Android Development] SoMeiBoL:
Settings:

Double Tap 2 Wake, Sweep 2 Wake = off

Screen Off Volume Control = off

[MENTION=5996255]jollaman999[/MENTION] Reported, turn off the screen and you click on it, the "screen on" up 1-2 seconds O.o
[Nexus 5X Original Android Development] churchey360:
Lol guess i have to open jolla updater app then and download the new update :)
[Nexus 5X Original Android Development] Mrcactuseater:
Hmm ok, but isn't ram meant to be used up as someone once said maybe here "free ram is wasted ram"? But just flashed 15.2 and everything works great with f2fs and sdcardfs, but idle drain seems a tickle high, about 1-2% over LTE per hour? I'm going to clean flash tonight so I'll test further tomorrow :p

Edit 1: clean flashed and went with swappiness at 15 with process reclaim active on both 14.1 and flash 2.3, everything being kept in memory nicely. Tried 15.2, but active/idle just isn't what it was in comparison to 14.1 :(
[Nexus 5X Original Android Development] jollaman999:
Auto notice will not notice immediately. It needs some time or check after boot finished.
[Nexus 5X Original Android Development] jollaman999:
You are right. But with my test, in same situation (Large game app + Chatting app and doesn't kill anything.), it eats high memory with process reclaim.

Active will little bit less than before. I adjusted for performance.

With two devices(One is stock and other is LineageOS), idle is less than before.

I think there is some special cases. When wifi turned on and device is on the floor and not on the desk, it shows some idle drain.
[Nexus 5X Original Android Development] hilla_killa:
Now mr,ace is in racer kernel trying to tell him how to build the kernel. This guy
[Nexus 5X Original Android Development] ndarkside93:
I saw it earlier. I had to call him out. Not my thing, but nonetheless it's necessary. Now he'll go complain to Franco and we know how that will end
[Nexus 5X Original Android Development] jollaman999:
He does not try to fix his behavior and he wants to merge all of in Flash.

I don't know why he doesn't try to build with the Flash kernel.

I'm not blaming Flash. He has always been asking for it.
[Nexus 5X Original Android Development] 78jimm:
Does anyone have a problem with their media apps pausing or closing when the screen turns off? Be they streaming or locally stored music. They are the only apps running. I've de-greenified them.

i don't know if this is kernel related or not, i posted this in the rom's thread aswell. im using SAOSP
[Nexus 5X Original Android Development] edoardotavecchio:
Yes sometimes this happens but nota when I trun the screen off but when I open other media apps instead
[Nexus 5X Original Android Development] Smacksmack206:
Socv was working for me in the past i tried reflashing kernel and dalvikcache/cache wipe any other ideas?
[Nexus 5X Original Android Development] jollaman999:
Are you using Bluetooth device for listening music?
[Nexus 5X Original Android Development] Smacksmack206:
No im playing off handset speaker.
[Nexus 5X Original Android Development] jollaman999:
Hmm.. No problem until now with my 2 devices. I will check if something is wrong in the code.

Did you enabled any other gesture wake functions?