yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v18.0]

[bullhead-v18.0]

New f2fs and sdcardfs with USB Keyboard/Mouse fix!

== Kernel ==

- f2fs: Add a missed check while mergeing upstream patches

- f2fs: Applied lastest f2fs-stable patches (git.kernel.org jaegeuk)

- sdcardfs: Applied lastest android-3.10 patches (Google android-3.10)

- binder: Applied lastest android-3.10 patches (Google android-3.10)

- cpufreq: conservative, ondemand, despair, relaxed: cache tunables (flar2)

- cpufreq: relaxed: Fix down_threshold_suspended sysfs input (frap129)

- cpufreq: blu_active: sync up with android-4.4 linux, bring back fastlane (engstk)

- usb: gadget: f_accessory: Fix kernel panic when unplugged the device after used USB Keyboard (Google android-3.10)

== AIO ==

- None

== Recovery ==

- init.recovery.bullhead.rc: Remove '50 768000' target load of big cluster

- Applied omni TWRP v3.1.0 changes

- Appiled jolla-kernel_bullhead_II-v18.0

* It also works on Android 7.1.2.

* If USB Keyboard application stopped at "Opening /dev/hidg0 and /dev/hidg1" message!

Check root permission and download "SELinuxModeChanger_MOD" from Server Folder.

http://tp.jollaman999.com/jolla-kernel_AIO-bullhead/SELinuxModeChanger_MOD/

Change SELinux to Permissive then re-open USB Keyboard.

Restore SELinux to Enforce after used USB Keyboard for security.
[Nexus 5X Original Android Development] leolawliet:
Excellent! I'll flash it now.
[Nexus 5X Original Android Development] zurik:
Nice work Jolla! One thing, Fingerpring performance is not that same as stock kernel... (I don't have issues with fingerptint recognition) I mean that it not recognize fast the sensor my finger. In stock kernel it recognize a little faster...:):)
[Nexus 5X Original Android Development] leolawliet:
Hey [MENTION=5996255]jollaman999[/MENTION] do your msm thermal tweaks have an impact on other thermal engine tweaks which rely on core control?
[Nexus 5X Original Android Development] nirogu325:
Kind of weird only TWRP 3.0.3-x themes work on the newest jolla recovery despite it saying it is 3.1.0-0. I tried 3.1.0-0 themes and they do not work. It says "Custom theme version does not match TWRP version" despite downloading the right one for 3.1.0-0. I'm using these (tried v1 and v2), anyone else facing this?
[Nexus 5X Original Android Development] zurik:
Still facing 2% drop.... Some other kernels like Franco doesn't have this...
[Nexus 5X Original Android Development] jollaman999:
Confirmed and fixed it. :cool:
[Nexus 5X Original Android Development] jollaman999:
Aim for smooth performance without poor battery time and high temperature.

It uses frequency control and core control.

And core control only working when device is so hot. So it will keep up smooth performance for a long time. :)
[Nexus 5X Original Android Development] jollaman999:
I don't recommend to use custom themes cause it will not compatible with my recovery.
[Nexus 5X Original Android Development] jollaman999:
Thanks! :laugh:
[Nexus 5X Original Android Development] leolawliet:
Thanks for the info :)
[Nexus 5X Original Android Development] rachanta:
Note of appreciation for the Lord of Nexus 5X

Thanks you [MENTION=5996255]jollaman999[/MENTION] for everything you do for Nexus 5x. I sincerely pray to God that you retain your interest in this device as long as I have it. I will switch to my next google phone the day you give up developing for N5x or Google stops its updates, whichever comes earlier. :D Great work man! :good::good::good:
[Nexus 5X Original Android Development] jollaman999:
It's a normal situation and not related with battery time. This problem has been mentioned a lot in the meantime.

I don't want to deal with this anymore.
[Nexus 5X Original Android Development] jollaman999:
Great thanks!!

I also always check your commits! :D
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v18.1]

[bullhead-v18.1]

Faster fingerprint recognition!

== Kernel ==

- input: misc: fpc:(fingerprint sensor) Prevent unneeded calls when screen turned on

- msm_thermal, fpc: Speed up fingerprint recognition by turning on all of cores

== AIO ==

- None

== Recovery ==

- Appiled jolla-kernel_bullhead_II-v18.1

* It also works on Android 7.1.2.

* If USB Keyboard application stopped at "Opening /dev/hidg0 and /dev/hidg1" message!

Check root permission and download "SELinuxModeChanger_MOD" from Server Folder.

http://tp.jollaman999.com/jolla-kernel_AIO-bullhead/SELinuxModeChanger_MOD/

Change SELinux to Permissive then re-open USB Keyboard.

Restore SELinux to Enforce after used USB Keyboard for security.
[Nexus 5X Original Android Development] chaos19:
Hello!

I was wondering if this kernel supports Marshmallow? I'm still hesitant to update to Nougat for now.
[Nexus 5X Original Android Development] buffer overflow:
Second row from OP. -Android 7.x.x support.
[Nexus 5X Original Android Development] leolawliet:
No fingerprint sensor lag :)
[Nexus 5X Original Android Development] jugoslavpetrovic:
Awesome build, runs well.
[Nexus 5X Original Android Development] angeltea4:
Unable to use tap2wake and music control features on my nexus 5x

I have flashed PureZRom v4.0 (based on nougat 7.1.1) and right after flashing the ROM i flashed the jolla-kernel_AIO_bullhead_II-v18.1. I am only able to sweep the screen or double tap on status bar to lock the screen but other shortcuts like doubletap2wake, music controls, lift to check phone etc are not working. I even tried running 'echo 1 > /sys/android_touch/doubletap2wake' command in my terminal but it still doesn't work. Also I checked those options during the kernel installation. Kindly help me with this. Thanks:)
[Nexus 5X Original Android Development] L-ViZ:
hey guys, got a little question.

in ex kernel manager there´s an option called "perfd" and its already enabled.

what does it mean?

thx in advance :)
[Nexus 5X Original Android Development] edoardotavecchio:
I can't find it, can you please tell me where it is?
[Nexus 5X Original Android Development] L-ViZ:
it´s under cpu->miscellaneous->perfd
[Nexus 5X Original Android Development] amag3308:
Thanks Jolla for your kernel, just installed on Purez 4.0. I ask you, how to verify if the codec aptX is correctly installed?

Inviato dal mio Google Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] buffer overflow:
Well, that is the process responsible for collecting system statistics for app usage, battery, etc. Don't mess with that. :silly:
[Nexus 5X Original Android Development] jollaman999:
https://xdaforums.com/nexus-5x/orig...elbullhead-t3271530/post71124361#post71124361

But it seems to work only on LineageOS.
[Nexus 5X Original Android Development] amag3308:
Ok I will test on purez v4.0

But I'm not familiar with scripts, all I have to do is to copy this on terminal with root?

adb shell
bullhead:/ $ ls -al /system/lib/libaptX*
-rw-r--r-- 1 root root 17588 2008-08-01 21:00 /system/lib/libaptX-1.0.0-rel-Android21-ARMv7A.so
-rw-r--r-- 1 root root 21684 2008-08-01 21:00 /system/lib/libaptXHD-1.0.0-rel-Android21-ARMv7A.so
-rw-r--r-- 1 root root 22132 2008-08-01 21:00 /system/lib/libaptXScheduler.so
bullhead:/ $ cat /system/build.prop | grep -i aptx
persist.bt.enableAptXHD=true
bullhead:/ $ logcat | grep -i aptx
02-19 23:35:49.478 6525 6665 I bt_btif_media: btif_a2dp_encoder_init Selected Codec aptX
02-19 23:35:50.086 6525 10870 W bt_osi_thread: run_thread: thread id 10870, thread name aptx_media_worke started

Inviato dal mio KFGIWI utilizzando Tapatalk
[Nexus 5X Original Android Development] jollaman999:
Enter the commands next to $.

Below lines are result of the command.
[Nexus 5X Original Android Development] amag3308:
This is the result

I assume it's not working, right?

Inviato dal mio Google Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] leolawliet:
Did you grant the terminal superuser permission?
[Nexus 5X Original Android Development] imarcel99:
Dumb question, but still..how do you convert to F2FS? Coming from stock 7.1.2
[Nexus 5X Original Android Development] frov:
In TWRP Recovery in the Wipe menu.
[Nexus 5X Original Android Development] ulxerker:
it handles processes, core frequencies, etc. ... just keep it enabled.
[Nexus 5X Original Android Development] jollaman999:
Yes, right. What is your rom?

Tested on LineageOS, PureNexus and Stock 7.1.2.

Only worked with LineageOS.
[Nexus 5X Original Android Development] amag3308:
PureZ ROM 4.0

But, to be sure... These were the three command?

1) ls -al /system/lib/libaptX*

2) cat /system/build.prop | grep -i aptx

persist.bt.enableAptXHD=true

3) logcat | grep -i aptx

If so, the last one didn't give the same result as your.

Inviato dal mio Google Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] LazerL0rd:
[MENTION=5996255]jollaman999[/MENTION], so it came the day for me to test file-based encryption (FBE) on my nexus 5x. seems you DO have the commit for it BUT.. it won't pass the splash screen. It gets stuck.
[Nexus 5X Original Android Development] forumi0721:
I want to use jolla kernel with PureNexus rom. But i

my nexus 5x cannot display on.

First boot, it will works fine, but after screen off, it cannot wake.

What's wrong?

I just flash rom and kernel flash, use jolla multitom twrp
[Nexus 5X Original Android Development] jollaman999:
Yes, right.

It looks aptx is not working.
[Nexus 5X Original Android Development] jollaman999:
I'll check it when I have time.
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v5.2]

== Kernel ==

- fs: Change fsync on/off to dynamic fsync

- msm8992.dtsi: Set default cpubw governor to bw_hwmon

- power: block IPA_WS wakelock on/off support

- cpufreq_elementalx: lower sampling_down_factor for big cluster

- sound_control: more cleanup and fixes

- Fix GCC 6 misleading-indentation warningsarnings

== Recovery ==

- TWRP version up to v3.0.0

- jolla-kernel_bullhead-v5.2 applied

== AIO ==

- ramdisk: Add init.bullhead.rc

- ramdisk: Include modified init.bullhead.power.sh scripts to init.bullhead.rc

- Fix big cluster's governor set to performance while booting
[Nexus 5X Original Android Development] Topse:
Works great !

Thank you for your Work !

I get with Krexus ROM

and stock jolla-kernel with your TWRP 3.0.0(Cach/Data f2fs).

90050 in Antutu. Best Score i faced.

I test always after changing my ROM/Kernel ,to check stability.
[Nexus 5X Original Android Development] skulldreamz:
[MENTION=5996255]jollaman999[/MENTION] you are doing such a great job with the development of this kernel. Every update has seems to always have major positive changes or additions i should say and its made this phone just a treasure to use. Keep it up my dude!
[Nexus 5X Original Android Development] buru898:
Hands down best kernel. Thank you so much. Especially thank you for f2fs.
[Nexus 5X Original Android Development] dario2106:
you could enter a chance to set things up by Aroma installer?
[Nexus 5X Original Android Development] koax88:
this kernel is too advance for me..:( im afraid to use it
[Nexus 5X Original Android Development] jollaman999:
Yes right.
[Nexus 5X Original Android Development] jollaman999:
Sorry.. :(
[Nexus 5X Original Android Development] marioemp2k7:
[MENTION=5996255]jollaman999[/MENTION]: Can you please consider adding swipe 2 sleep? There are roms that don't have any double tap 2 sleep and it would be more convenient not using the power button all the time. Thanks!
[Nexus 5X Original Android Development] Wamglou:
deleted
[Nexus 5X Original Android Development] skulldreamz:
Yeah that would totally put the crown on this kernel if we could choose each preference or feature we want through aroma installer. Ex: overclock/underclock, cpu governor, gpu governor, i/o scheduler, readahead value, tcp congestion algorithm, fsync, wake gestures, and all the other awesome features that you include with your "new bully on the block" kernel. I really hope people are giving this kernel a chance because it is sick. I mean the screen off volume control and track seeking is my favorite and most used kernel feature that i have ever used. C'mon guys and let's give [MENTION=5996255]jollaman999[/MENTION] the thanks and credit that he deserves. I really hope that no one is using his kernel without hitting the thanks button in the op. Just sayin...
[Nexus 5X Original Android Development] buru898:
I got 2 reboots while using Google Maps. The reboots only happened while I had all the stock settings, there are no reboots when changing kernel settings.

Here is the last kmesg.
[Nexus 5X Original Android Development] Topse:
I think there is no need to put all this in Aroma installer and not usefully.

We can simply use kernel auditor or something like that.

To change setting.

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Original Android Development] skulldreamz:
What do you mean by no need? A feature that might not seem appealing to you might just make another user really happy. This is the whole reason why aroma installer was and still is such a big trend in the xda community. Now even the most popular gapps, open gapps is using this format. To me that's kind of a answer in itself. And not usefully?? Especially on this device where Google used only 2gb of ram and ddr3 at that we need every bit of memory and resources as possible. So we need to be able to uninstall every single app that is not 100% needed so our phone is not sluggish and being passed off to swap and back constantly. So to me when you say that this idea is "not usefully" I see a totally different angle as you. It's not like this option would not allow people to install a kernel app if they want to change kernel parameters that route. This just gives people an added option to set everything up how they want in recovery and flash, simple as that. So at the end of the day if the end user wants to use a kernel app or not he/she still can. But for people that know what features and kernel parameters they want and don't want or need a kernel app sitting there taking up space and resources if not needed then this option is a no brainer. Did i mention that all the people that post in the kernel threads that their frequencies are not sticking (which can be a bad situation for battery and performance) while using kernel apps because of the implementation of touch boost on the 5X, well here is another added addition of using aroma installer as your frequencies stick. So to me i don't see why anyone would oppose this option as that is all it is, is a added option but does not hurt in anyway for people that want to use a kernel app still.
[Nexus 5X Original Android Development] buru898:
Now I'm getting very frequent random reboots :(. What did I do wrong.

Hmm after removing any layers theme, so far it's normal.
[Nexus 5X Original Android Development] jollaman999:
If we add options to aromoa installer we need additional scripts to do this.

And it makes confusion to kernel and settings.

That's why we are not add the options to aroma installer and using kernel apps.
[Nexus 5X Original Android Development] jollaman999:
It seems system restarted without kernel problems. There is no kernel panic in the logs.

It seems there is some problems in rom or theme.
[Nexus 5X Original Android Development] jollaman999:
It will convenient when added that feature.

But it makes unintented power off sometimes.

You can understand if you watch this video.

https://www.google.co.kr/url?sa=t&s...dLrPnUjsUD29tqzxQ&sig2=o0IwIFtIGt5Ic5ceGEZW4g
[Nexus 5X Original Android Development] marioemp2k7:
Well, I used it all the time on Phasma and I didn't have this issue. You could just add the first sweep2sleep implementation of flar since it doesn't require to reshape the DT2W feature. Thanks!
[Nexus 5X Original Android Development] skulldreamz:
Yes I'm aware how aroma works. That actually is the whole point in a sense that you want to also make a configurable script so the user can change settings simply by applying the correct variable to the configurable script and then by simply executing as root. Not sure by what you mean that it adds confusion to the kernel and settings when it's done the correct way. For example I have used elemental x for years using the aroma installer to make my default configuration and it has always worked flawlessly without having to have a kernel app installed. But anyway I love your kernel and appreciate all the hard work and hours you have put in to bring us jolla kernel and I eagerly look forward to your upcoming kernel releases ?
[Nexus 5X Original Android Development] venkatsrin:
Which ROM are you using?
[Nexus 5X Original Android Development] LazerL0rd:
Stock Nougat, PixelROM, and I've tried Android O too. All three get stuck at splash screen.

I know TWRP did SOMETHING with the FBE as all older versions (v7.0 of your MultiROM TWRP) just show undecrypted files.
[Nexus 5X Original Android Development] neth15:
Does Jolla kernel work with Android O Preview?
[Nexus 5X Original Android Development] Mrcactuseater:
Did you use the search function to check or even read the OP?
[Nexus 5X Original Android Development] neth15:
ofc, no direct answer found
[Nexus 5X Original Android Development] Mrcactuseater:
Well that means it isn't supported.
[Nexus 5X Original Android Development] jollaman999:
[Q & A]

[Q & A]

- Will you support Android O Preview?

Can't support for now and no plans until O becomes stable.

I checked O's boot.img and there are a lot of changes in ramdisk and I don't know how zImage is complied because there are no sources for now.

Downloaded and tested O preview with my second Nexus 5X. It's so laggy and there are some bugs.

- Is FBE working with your MultiromTWRP?

I don't know... Sorry about this. Both two of my devices encrypted with pattern lock and I'm very busy these days... :(

- I want to use custom TWRP themes.

jolla-TWRP is customed TWRP and it is different with origianl TWRP also different with origianl Multirom TWRP.

So I'm not recommend to use other custom themes. Some of people asked for using stock theme.

It is not just changing theme. It is related with all of functions in recovery. There will be compatibility issues.

- New Android 7.1.2 Beta 2 is released. Is it working with jolla-kernel?

Yes. But sources are not released yet. So there will be some missed patches of Beta 2.

I'm using now. (NPG47I + jolla-kernel v18.1)

- What is the best IO sched or the best governor.

I don't know and I can't tell you. Default settings are always good. :good:

- S*** battery. S*** performance.

Please use default settings. If you are using default settings, it's my fault. Give me some feedbacks.

- Why is your kernel so smooth?

I'm really really sorry about that. Is this the answer you want? :confused:

Thank you.
[Nexus 5X Original Android Development] sigurd_LU:
I tried to use this UKW Radio app with Pure Nexus and jolla kernel: https://play.google.com/store/apps/details?id=fm.a2d.s2&hl=de

When I launched the app, it said the kernel isn't compatible. Is it a lot of work to merge the right patches? If not, I'd really appreciate if you could include them.

Thanks for your awesome work btw :)
[Nexus 5X Original Android Development] jollaman999:
There is no radio support in specification.

I think it's impossible. :(
[Nexus 5X Original Android Development] SebTech33:
Systemless Root

can you make this compatible with Magisk Systemless Root?
[Nexus 5X Original Android Development] Mrcactuseater:
It is.
[Nexus 5X Original Android Development] t123yh:
The big kernel seems to be never turned on whatever I do and there are some lags especially when I use some giant and poorly-optimized apps from Chinese company. Is this OK? I'm on Lineage and 18.1.
[Nexus 5X Original Android Development] SebTech33:
it maby is but the SafetyNet is not pasing. so i cant use my banking app
[Nexus 5X Original Android Development] Mrcactuseater:
Well there are multiple other contributing factors to that, and i can vouch the kernel isn't the one that is hindering the process.
[Nexus 5X Original Android Development] zurik:
If you already flashed magisk, turn on Magisk Hide and check again.
[Nexus 5X Original Android Development] dominoeflux:
Does anyone know how to properly switch 2 f2fs file system? i need to see if i'm doing something wrong. i'm trying to switch, but when i reboot from restoring it takes to long to boot (preferably over 10 min.).
[Nexus 5X Original Android Development] phenom5150:
Make sure to turn off Android/USB Debugging in Developer Options.
[Nexus 5X Original Android Development] gorilla p:
Debugging isn't causing any issues for me. I primarily use AOSP ROMs.

When flashing ROM, make sure its not prerooted. Flash UnSu before first boot to make sure.

Use latest Magisk, enable Magisk hide in settings and hide from all Google services. Also enable Magisk BusyBox and systemless adblocking option. You can then use the latest AdAway with systemless opton. Disable battery optimization for Magisk manager.

Make sure you're not enabling any features while installing the kernel that make changes to system partition.
[Nexus 5X Original Android Development] SebTech33:
I run it how i like it with elementalx kernel and do the exact thing eith jolla-kernel and it does not work..
[Nexus 5X Original Android Development] gorilla p:
Then make sure you're not enabling one of the settings during setup that changes the system partition. These do notify you that it's changing the system partition.
[Nexus 5X Original Android Development] leolawliet:
I'm wondering if anyone else has run into issues with zRAM disabling itself.
[Nexus 5X Original Android Development] jugoslavpetrovic:
You are right, here too not being able to disable.
[Nexus 5X Original Android Development] jollaman999:
When disabling zram, it need some time to free zram area and move back to none-zram area.

Almost 1MB per 1 second in Nexus 5X.

So, when disabling 512MB zram, Kernel Auditor or other apps.. will show as disabled after nearly 512 seconds.
[Nexus 5X Original Android Development] jugoslavpetrovic:
[MENTION=5996255]jollaman999[/MENTION] how about adding more wakelock controls like franco? Just asking out of curiosity. Maybe it would help more with battery.
[Nexus 5X Original Android Development] LazerL0rd:
I doubt it. Jolla is a feature kernel. Franco battery kernel. And there are performance ones too...

Personally, I just want to use FBE but no TWRP supports it yet :\
[Nexus 5X Original Android Development] jollaman999:
Deleted
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v18.2]

[bullhead-v18.2]

No big changes.

== Kernel ==

- sdcardfs: Applied lastest android-3.10 patches (Google android-3.10)

- power: wakelock blocking improvements by franciscofranco

- Got some patches from Google android-3.10

== AIO ==

- None

== Recovery ==

- Re-built with recent LineageOS sources

- Try to fix FBE support (Please give me some feedbacks.)

- Appiled jolla-kernel_bullhead_II-v18.2

* It also works on Android 7.1.2.

* Not yet support Android O.

* If USB Keyboard application stopped at "Opening /dev/hidg0 and /dev/hidg1" message!

Check root permission and download "SELinuxModeChanger_MOD" from Server Folder.

http://tp.jollaman999.com/jolla-kernel_AIO-bullhead/SELinuxModeChanger_MOD/

Change SELinux to Permissive then re-open USB Keyboard.

Restore SELinux to Enforce after used USB Keyboard for security.

* In my test, Bluetooth's aptX codec is only worked with LineageOS.
[Nexus 5X Original Android Development] buffer overflow:
Is first time when i install and use this kernel. After 10 minutes... im impressive. Good work, [MENTION=5996255]jollaman999[/MENTION] ! ?
[Nexus 5X Original Android Development] jollaman999:
And now, I met the buffer overflow! :eek:
[Nexus 5X Original Android Development] buffer overflow:
I'm the good and non-harmful buffer overflow. :laugh::good: