yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] ndarkside93:
He's addressing it and had explained what is causing it. He's already branched 16.0 so we should see it soon
[Nexus 5X Original Android Development] :
Could you add overclock and underclock please and with these two things it will be the best kernel!

Thanks for working on our devices ?
[Nexus 5X Original Android Development] khanjui:
Always search before ask. Underclock has no benefits on this device. And he will not add overclocking due to safety reasons.
[Nexus 5X Original Android Development] jollaman999:
I will not disable zram.

And thank you for the commits. But "[PATCH] mm: prevent page thrashing for non-swap " is conflict with my source.

I will also look other commits when I have a time.
[Nexus 5X Original Android Development] Mrcactuseater:
I was talking about procees-reclaim lol, I think disabling zram would cripple our device!
[Nexus 5X Original Android Development] jollaman999:
I see. :D

But with several tries, leaving the process-reclaim is not good.

It just device go to hell. If there is less ram, then it will get freeze soon.
[Nexus 5X Original Android Development] Mrcactuseater:
Well on 14.1 (I rolled back due to bad battery life) I have enabled process-reclaim and not only is my battery life good, with maple I/o and f2fs I am able to keep 6-8 apps in memory no problem and not once have I ran out of memory! For example I have attached some screenshots of memory usage of my device for today's average :) I just feel after all that testing and adding commits it would be a waste to see process-reclaim disappear completely, which is why I suggest keeping it and disabling it by default and thus anyone that wants it and understands it can enable it :) that is my opinion and I respect any choice you do regardless, especially if you bring the battery life that this device deserves!
[Nexus 5X Original Android Development] jollaman999:
Thank you for your Screenshot.

It seems no problem with normally usage.

But the problem is happened when launching a heavily app.

The problem always happened when I'm using Pokemon Go.

I will release v16.0 soon. Let's see how it works.
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v16.0]

[bullhead-v16.0]

Here is new v16.0!

I was tested with so many methods.

Now, let's see how it works! :)

== Kernel ==

- zram: Applied CAF patches

- zram: Backported per-cpu compress streams

- lowmemorykiller: Applied CAF patches with adaptive lmk

- lowmemorykiller: Applied motolora's rbtree optimization

- mm: vmpressure: Applied some upstream patches

- mm: Fix missed page zone checks

- msm_thermal: -5 degree cooler without lose smooth performance

- binder, net: Applied Google's hwbinder branch patches

- msm_rng: Be quiet random failed messages

- arm64: irq: Be quiet affinity broken messages

- Bye per-process reclaim (It makes system lags and freezes.)

== AIO ==

- aroma: Fix installtion fail after installed magisk

(magisk make '/tmp/busybox' folder.

So, busybox will not run and the kernel installation will fail immediately.)

- ramdisk: Enable adaptive lmk

- ramdisk: Remove per-process reclaim lines

- f2fs-tools: v1.8.0

== Recovery ==

- Applied omni's recent patches

- f2fs-tools: v1.8.0

- Appiled jolla-kernel_bullhead_II-v16.0

* It also works on Android 7.1.2.

But I can't guarantee stability.
[Nexus 5X Original Android Development] Mrcactuseater:
I don't play PoGo but I have had alto's adventure stay in memory after I switched to Snapchat for a reply so I firmly believe it works, but yes I look forward to the release!

---------- Post added at 07:00 PM ---------- Previous post was at 06:55 PM ----------

Yay! Let the testing begin!
[Nexus 5X Original Android Development] :
bro elemental X (a very good kenel since lot of time ) and flash kernels had overclocked the device!!!

And you don't answer to my question!!!

Finally I read all descriptions and changelog and I don't read it was unsafe and overclocking is NOT unsafe on android and underclocking will safe a bit more juice...

SO agressives answers like that are not welcome!!!
[Nexus 5X Original Android Development] Mrcactuseater:
I would suggest you calm down a bit. If you want OC use a different kernel because [MENTION=5996255]jollaman999[/MENTION] has said multiple times it ain't coming here :)
[Nexus 5X Original Android Development] :
I was calm but the answer was kidding me but I actually use flash kernel but jolla has some features that I like so I will test it anywhere next time just answer me more friendly...

But thanks to developer for this kernel.
[Nexus 5X Original Android Development] Nicktheprofessor:
It's a good choice to remove per process reclaim since it's wholly incompatible with LMK. There is absolutely no use for per process reclaim when using LMK since they are two versions of the same thing whereas per process reclaim may be better for some instances and LMK for others i think it's safe to say that LMK is the better choice out of the two today.

I don't know if you have noted this but the version of rbtree in this stock kernel you are basing your kernel on is from 3.18 (upstream common implemented code) so the motorola standard patch will need to be adapted to 3.18, not 3.10.

I don't actually know if any further adaptation is needed but it's just something to consider if more problems on this should arise.

I'm doing a stock 3.18 version right now, i'll release it to devs that want to be a part of it within a week (first release, release early so it's WIP but whatever happens will be pushed upstream).

Also, i'm probably going to do Vanir official.
[Nexus 5X Original Android Development] jollaman999:
LMK, per-process: Yes. I saw that main sources are almost same. So I tried to merge per-process reclaim function in lmk. But the problem is not related with lmk. It seems the problem is occured while reclaming so many processes.

rbtree lmk: It's baesd on red-black tree's algorithm. lmk will scan all of processes to find higher usage process. But red-black tree will search faster this high usage process. It's based on sorting algorithm. So no adaption is needed. It just chaging scan algorithm.

Keep up your work. :)

Thank you.
[Nexus 5X Original Android Development] Nicktheprofessor:
If you look at the code i don't think just merging it will work since they both perform the same function and will triggers will inevitably coincide so locking it will just mean that one will not be able to be released. I've done the same thing using RCU locking and i don't really see how it can work together without ending up racing over the same processes without quite a bit of rewriting both.

Regarding rbtree, i'm aware of what it is, but from what i can see there are four different implementations and the algorithm differs (if only slightly) between them as does the actual implementations for LMK. that said i reviewed the code and you are using only the task adj and that would be fine with whatever version you have, that changes when you use old versus new node optimizations since those differ in the rbtree driver from 3.10 to 3.18.

Is there any kernel left that doesn't use the 3.18 implementation though?

Good job on everything, i am usually not a fan of everything and the kitchen sink but the setup of not enabling most things works great. ;)
[Nexus 5X Original Android Development] tuhinxp04:
February Patch released...please merge....!!
[Nexus 5X Original Android Development] khanjui:
Like I said, underclock has no benefits on this SoC. All frequencies that lower than stock values are using the same voltage with stock minimum values. Be prepared to answers like mine until you change your style.
[Nexus 5X Original Android Development] Nicktheprofessor:
Merge what?
[Nexus 5X Original Android Development] khanjui:
https://github.com/flar2/bullhead/commit/57cfba5073ac9e4687c892787f13b64d715a3f4f
[Nexus 5X Original Android Development] :
My style ?! I only asked you a question but now thanks for the answer I didn't know this , very interesting I'm going to instal this kernel.
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v16.1]

[bullhead-v16.1]

Here is February!

== Kernel ==

- Applied Google's Feburary security patches

- qcacld-2.0 (wlan): Back to stock driver

- msm8992-regulator: Slightly undervoltage at 1248MHz of little cluster

== Recovery ==

- Appiled jolla-kernel_bullhead_II-v16.1

* It also works on Android 7.1.2.

But I can't guarantee stability.
[Nexus 5X Original Android Development] zurik:
On flar2's thread, he is added usb wlan support. May you merge this in your kernel? :)
[Nexus 5X Original Android Development] Eugene729:
Hello, for some weird reason. I am unable to access the download page. Can someone provide an alternate link. The primary link usually works.
[Nexus 5X Original Android Development] edoardotavecchio:
I found that about EAS:

https://xdaforums.com/nexus-6p/development/kernel-elite-kernel-t3347511

In this kernel there's EAS support, which It means It can be compatible even with our device, considering that both devices use the same Linux version

PS: By hanging around in 6p forums, I've found that most of kernel developers implemented Lazyplug in their kernels. Wouldn't It Be good even for our device?
[Nexus 5X Original Android Development] Eurofighter_ty:
Sounds good for battery life:

https://www.linaro.org/blog/core-dump/energy-aware-scheduling-eas-progress-update/
[Nexus 5X Original Android Development] a1941fjz:
same as you. Maybe there's some problem on the server.
[Nexus 5X Original Android Development] jollaman999:
The LAN cable is disconnected while I cleaning the room...:eek:

Working fine now.
[Nexus 5X Original Android Development] jollaman999:
There was an attempt for Nexus 5X by Google.

But it is experimental and is not stable. So Google also not merged in production builds.

It is backported from 3.18.x kernel. Pixel is 3.18.x and there is a EAS function.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Anyone experiencing flickering the moment the screen goes to dim before sleep on v16.1?
[Nexus 5X Original Android Development] khanjui:
EAS has no benefits on this device, flar2 tried that before on ElementalX kernel and find it useless.
[Nexus 5X Original Android Development] Mrcactuseater:
I heard good reports about lazyplug, it's meant to be a pretty different methodology to regular hotplugging in how it only turns cores if in idle / video watching?

PS the Linux kernel got bumped to 105 :)
[Nexus 5X Original Android Development] mr.ace:
I personally tried merge lazyplug but didn't work for me i think we need some other patches for make this compatible for our device

And 3.10.105 will be released officially Feb 10th
[Nexus 5X Original Android Development] Mrcactuseater:
Fair enough, and thanks for the heads up!
[Nexus 5X Original Android Development] edoardotavecchio:
[MENTION=5996255]jollaman999[/MENTION], What do you think about that?
[Nexus 5X Original Android Development] jollaman999:
I'm going to merge 3.10.105 when it is released.

I will response for other posts later.

I'm going to get free hosting instead of using my personal server.

To prevent unexpected server connection problem.

I'm managing domain now.

So the download address will not work temporally.

I will notice again when it is ready.

Edit: Here is alternative link.

https://drive.google.com/drive/folders/0B6g4DsrPqTtjWmdLT2FRb2hJdEE?usp=sharing
[Nexus 5X Original Android Development] jollaman999:
It looks based on intelli_plug that quite old.

I was used it in my very old device.

We don't need it for our Nexus 5X.
[Nexus 5X Original Android Development] jollaman999:
Finished to upload files to my free hosting server.

You can now get into my download address.

But there will be need some times at least 1~2 days for stability of changed IP address.

http://tp.jollaman999.com

If you have a problem, you can download it here temporally.

https://drive.google.com/drive/folders/0B6g4DsrPqTtjWmdLT2FRb2hJdEE?usp=sharing
[Nexus 5X Original Android Development] ndarkside93:
[MENTION=1166502]jolla[/MENTION]man99 you are the man. I'm so impressed by your quality of work, and your willingness to experiment and implement new features
[Nexus 5X Original Android Development] jollaman999:
Thank you. :)
[Nexus 5X Original Android Development] edoardotavecchio:
In latest version WiFi seems to be active even when it's not. By watching battery stats in BetterBatteryStats, It gives me wifi Active in screen on even if It is disabled. I've disabled advanced gps option (search for position even if wifi's Turned off) and the 'search always for open network' option under wifi advanced options.
[Nexus 5X Original Android Development] jollaman999:
bullhead-v17.0

[bullhead-v17.0]

No more wait for 3.10.105.

== Kernel ==

- Linux 3.10.105-rc2

- lowmemorykiller: Back to stock with motorola's rbtree optimization

- Remove all of patches related with per-process reclaim and vmpressure

- qcacld-2.0: Get back CAF's wlan driver with Google's Feburary security patch

- USB wireless support

== Recovery ==

- Appiled jolla-kernel_bullhead_II-v17.0

* It also works on Android 7.1.2.

But I can't guarantee stability.
[Nexus 5X Original Android Development] leolawliet:
I gotta say, my favorite thing about your kernel has to be the consistency of updates. Your willingness to address problems so quickly, it's greatly appreciated. Thank you [MENTION=5996255]jollaman999[/MENTION]
[Nexus 5X Original Android Development] Mrcactuseater:
Great to see you always working hard as per, alas I am saddened by the rise and death of process-reclaim. Anyways, onwards and upwards to the future of buttery performance on this device
[Nexus 5X Original Android Development] khanjui:
MD5 Checksum is not matching on v17. I tried downloading them again but no luck.
[Nexus 5X Original Android Development] zurik:
Wow, very fast! But question, 3.10.105-rc2 is second release candidate?
[Nexus 5X Original Android Development] jollaman999:
Thank you. :laugh:
[Nexus 5X Original Android Development] jollaman999:
That is weired.

Re-uploaded again and matching now.
[Nexus 5X Original Android Development] jollaman999:
Yes, it will release officially soon.
[Nexus 5X Original Android Development] zurik:
And for USB wireless, you will need to connect otg and connect a USB wireless adapter, right?
[Nexus 5X Original Android Development] jollaman999:
Right. But I don't have usb wireless devices. Only tested with some other devices.
[Nexus 5X Original Android Development] zurik:
Thanks for answers!
[Nexus 5X Original Android Development] stason.s7:
Hello, jollaman999!

First of all, thank you for your work!

Unfortunatley, I'm issuing a few problems((

I was interested in your standalone unofficial multirom to leave my stock and try plasma mobile, coz I'm fan of KDE neon.plasma-mobile.org/devices/bullhead/

1st problem - I was unable to download APK file (it was 403 and later 404 error). All other files are available for download. I think, that it is problem of your hosting, and it is blocking it (maybe, you should try to put it into archieve?). But later I was able to obtain it from your google disk, so for me - everything is Ok.

2nd reaaly big problem - I'm unable to install plasma via multiboot :( When I'm trying, i see this error:

Can't install this package (Fri Jan 20 18:37:24 IST 2017) over newer build (2017.02.02 00:39:45 KST)
Updater process ended with ERROR: 7

I think, it could be a problem of the latest versions of TWRP. There should be possibility to remove from the install script line like

getprop("ro.build.date.utc"))) || abort("Can't install this package

Or maybe older version could work correctly?
[Nexus 5X Original Android Development] ndarkside93:
Try an older multi rom twrp. If the recovery date is after the rom date, it won't install
[Nexus 5X Original Android Development] stason.s7:
Unfortunatly, I can't find any another version. Only 3.0.3 from this topic.
[Nexus 5X Original Android Development] ndarkside93:
Download an older version of the kernel and only install the recovery Fein the sons installer. The 14 series works well
[Nexus 5X Original Android Development] jollaman999:
It seems downloading APK is blocked from hosting server.

I should compress to zip file.

If rom's date is older than my recovery's build date, it will show fail mesage.

If you look at your rom's script,(META-INF/android/google/update-script) at 1st line, there will be date check line.

Delete this line than re-compress your rom.

Flash it with this new archive. It will work.

EDIT: Changing apk to APK(upper case) is worked.
[Nexus 5X Original Android Development] ndarkside93:
Thank you for the info. I've done that before, but I didn't know how to explain it too someone else.
[Nexus 5X Original Android Development] leolawliet:
I'm loving v17 so far. Performance is really smooth with excellent battery life on my end. I'm using additional tweaks to help with battery life, even that additional stuff isn't causing the performance to drop at any point. [MENTION=5996255]jollaman999[/MENTION] excellent update thanks again!!

Edit: I have even better news after further testing out this update. The last couple of releases had an issue with taking pictures, I had the same issue with Franco Kernel even with his latest update. Version 17 of your kernel resolved this issue, I've not had any problems taking photos and recording videos that cause the screen to go black after processing the images. I'm very grateful for this :victory:
[Nexus 5X Original Android Development] :
you enabled sdcardfs via build.prop? maybe FK doesnt support it that way, that's why. I experienced it! :)
[Nexus 5X Original Android Development] jugoslavpetrovic:
What is usb wireless?

---------- Post added at 01:57 ---------- Previous post was at 01:33 ----------

Would you consider init.d support?
[Nexus 5X Original Android Development] jollaman999:
Yes. It's related with sdcardfs.

By the way. LineageOS use sdcardfs by default.

But it hasn't some sdcardfs patches.

I commited to gerrit but no news. :(
[Nexus 5X Original Android Development] jollaman999:
Wi-Fi via usb devices.

Removed cause of selinux permissions.

I can't support again.
[Nexus 5X Original Android Development] nders:
Does ticking the "update f2fs binaries" and "use sdcardfs" wipe anything?

Also the lz4 compression setting. Does it wipe anything? Thanks
[Nexus 5X Original Android Development] Topse:
No.
[Nexus 5X Original Android Development] jugoslavpetrovic:
How other kernels solved the selinux problem? I sorry, I dont understand what you are saying about selinux permissions.
[Nexus 5X Original Android Development] jollaman999:
It's not allowed to run init.d scritpts in Android 7.1.x.

Some of roms added some permisions to allow init.d.

But not working properly.

As I know, SuperSU has a feature to allow this.

But I don't know how it working.

So, I recommend to use init.d emulation supported by some apps.
[Nexus 5X Original Android Development] Giorgos Chatziioannou:
can i ask which twrp version you guys used to get f2fs? i am on 3.0.2.2 and i dont seem to be able to get that option, only show FAT, EXT, etc :/

using slimrom, latest sr3 supersu, i ticked the updated binaries
[Nexus 5X Original Android Development] khanjui:
Install the latest TWRP from here. AIO means all in one. It's not only kernel.
[Nexus 5X Original Android Development] Giorgos Chatziioannou:
thank you very much, hope it works :)
[Nexus 5X Original Android Development] jugoslavpetrovic:
In latest few builds I saw you put the default rw ahead to be 2048kb and I think it was 128kb before. Please advice:)
[Nexus 5X Original Android Development] zurik:
I noticed too this.
[Nexus 5X Original Android Development] khanjui:
I'm not the jollaman999 but here is advices from experts.

1 2 3
[Nexus 5X Original Android Development] zurik:
In 16.0 ,16.1 and 17.0 when I use for a while XDA or other app, the device is a bit hot ... (Without connected to charger)
[Nexus 5X Original Android Development] Mrcactuseater:
I have three things to sort of get out of the way:

1. Is anyone else experiencing this battery drop of 2% at a time? (Check included screenshots).

2. Is anyone else experiencing the big cores of their device near enough max out when using GPM?

3. Lastly, anyone with EXKM, could you PM me or post your battery stats, preferably of you're using F2FS. :)
[Nexus 5X Original Android Development] tassos_chry:
I had and still have the 2% battery drop issue since i bought the device. The only kernel that seemed to fix the issue was Flash Kernel. Dont use GPM so can't help there. Can post battery stats but I'm not using f2fs either
[Nexus 5X Original Android Development] leolawliet:
Have you tweaked your kernel settings to be different from the stock settings?

1.) Yes but that's pretty much a normal thing on our devices.

2.) This happens with me when running Hangouts or Allo, but never with GPM. Those apps seem to cause the CPU cores to all max out and stay locked onto those frequencies till the apps are completely exited.

3.) Battery life isn't too different, I know you asked for a screenshot but I don't use the built-in battery monitor, I've relied more on BBS for battery usage.
[Nexus 5X Original Android Development] zurik:
ALL STOCK!
[Nexus 5X Original Android Development] jugoslavpetrovic:
How to disable charging led support once enabled?
[Nexus 5X Original Android Development] Mrcactuseater:
1. Thank you, was there not a fix somewhere though?

2. How strange, maybe it's a ROM thing because it doesn't happen to me on hangouts.

3. I use BBS too, I like EXKM because it gives info at a glance, BBS is more in-depth and I can only diagnosis that so much
[Nexus 5X Original Android Development] leolawliet:
Try some custom settings. If you're familiar with EXKM, I highly recommend going with that.

There was a fix, some kernel patch. It was just different from the stock drivers for battery reading.

I'm sure it's a Google App thing, it only ever happened to me when running Google Apps in the foreground and background. No other apps are nearly as demanding as the Google Apps.

I totally understand your point, BBS could be a bit too detailed at times. I guess later I'll try enabling it through EXKM. I did just uninstall BBS, since I've tracked down what causes massive battery drains at this point I don't need it installed for the moment.
[Nexus 5X Original Android Development] tassos_chry:
What on your case was causing the battery drain?
[Nexus 5X Original Android Development] j-a-d-z:
Jolla once said dirty flash your rom to reset the charging LED setting. Don't know which file(s) are modded in root\system by the kernel installer. Maybe if one could backup the original files then there would be a simpler way to reset this.

Ah, I found it:

https://xdaforums.com/nexus-5x/orig-development/jolla-kernelbullhead-t3271530/post70831825
[Nexus 5X Original Android Development] leolawliet:
Mostly Google apps. They have a habit of trying to access WiFi and Bluetooth for location even when those settings are turned off.
[Nexus 5X Original Android Development] nokiagye:
Hey jollaman the kernel is now super. I haven't install since v12.6

The 17.0 is day with night great battery speed and temperature

Don't charge anything..
[Nexus 5X Original Android Development] tuhinxp04:
3.10.105 officially released https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?id=refs/tags/v3.10.105
[Nexus 5X Original Android Development] zurik:
I reflashed the 17.0 . Ok, fixed the overheat but now I am experiencing 2% battery drop.
[Nexus 5X Original Android Development] Giorgos Chatziioannou:
hey guys, do you notice too much idle power draw? i have disabled scanning and backup, so i shouldnt lose 10% when my phone is doing nothing for 5 hours
[Nexus 5X Original Android Development] khanjui:
It has nothing to do with this kernel, it's there since ever on this device.

https://xdaforums.com/showpost.php?p=70971829&postcount=2397
[Nexus 5X Original Android Development] zurik:
OK.
[Nexus 5X Original Android Development] jollaman999:
Thank you.

I did not tested accurately.

But I also saw this benchmark.

http://www.androidpolice.com/2011/0...-200-with-a-simple-tweak-hands-on-benchmarks/

I will test again with some tools like 'dd'.