yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] Topse:
Never used Facebook and Messenger.

Maybe the problem is on my battery.

But I have in the last weeks problems with the battery runtime.

Especially overnight, I lose too much power.

Only 2-3 SOT.normal I had 3.5-5 SOT

But as I said I have the problems synonymous with all other kernels....

I like my N5X . But with that battery Google/LG make a bad (stupid) choice .
[Nexus 5X Original Android Development] nokiagye:
Maby your rom. Wait for an update
[Nexus 5X Original Android Development] buffer overflow:
For moment im use other kernel with 4 - 4.5 SOT. I think Jolla make a good kernel. Maybe i will try.
[Nexus 5X Original Android Development] jollaman999:
I'll check again battery time.

It needs some times to check total draining amount and usage time.

I also noticed some drain.

I'm very busy these days... :(

I'm sorry if your battery time is bad.
[Nexus 5X Original Android Development] jugoslavpetrovic:
V17.1 seems to be better, but from begining as I felt, then like after some time it gets more drain for some reason.
[Nexus 5X Original Android Development] Nicktheprofessor:
I'm mainly a Linux kernel dev and while i do appreciate your sarcastic tone i will still tell you that you can't get less power usage without taking it from somewhere.

If you run your clusters at lower speeds... it means? Come on, you know this one....

Compilation using different flags can absolutely help with some things but it's not going to be magical, the best devs can hope for is to find a good compromise between a fluent interface and power usage.

What makes this kernel special is the invested time into making the added function work so well, i have to say i'm a bit impressed at the time spent on actually making the additions work completely flawlessly.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Sorry if I sounded sarcastic:)

You are right, I know its a simple math with cpu clocks, performance vs battery, but I have seen some miracles in that case then with kernels reach of features not impacting either also on other device Nexus 5 which I had before. Currently for Nexus 5X, I have tried franco, elementalX, racer, flash and jolla. So far flash still satisfies me the most. Franco is so minimalistic and it tends to be battery friendly but you can feel its slow and lagish. But still flash kernel is feature similar to jolla, it has more govs and tcp and io scheds as well. There us something else that makes it run nice. I dont know if it whatever is used to make the kernel and also soecific thermal engine, boost parts, I cant tell. I really appreciate the time and the energy spent on this kernel, jolla is very nice and polite person. Sometimes I just throw an idea or out of curiosity ask, or even I know the answer if I feel like the answer would help others to understand I ask as well:)
[Nexus 5X Original Android Development] Dininthedrider:
Is it possible to change the theme to a dark one, or non material TWRP theme?

Thanks!
[Nexus 5X Original Android Development] zurik:
Google it! :)
[Nexus 5X Original Android Development] jugoslavpetrovic:
Here

https://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
[Nexus 5X Original Android Development] jollaman999:
There are some themes for original TWRP and MultiromTWRP but some of functions will not compatible cause of different version and this is customized version.
[Nexus 5X Original Android Development] leolawliet:
0% battery drain overnight. My device idles and deep sleeps properly with this kernel. There's nothing wrong with this kernel draining battery while idle.

For others it might have to do with installed apps or areas with poor reception. Take another look at background activity. Maybe run BBS overnight while the device is unplugged, you can find out what drains your device while you're not using it for a good while. Also check time without signal.

I'd suggest turning off location at night while you rest. Turn off WiFi at night when sleeping if you don't need to auto update anything. Turn off Bluetooth if you're not using it for something extraordinary like a Bluetooth speaker alarm clock, also if you're using an Android Wear that doesn't need to sync anything overnight forget about leaving Bluetooth on overnight. There are so many quick and easy ways to save power on our devices, but the simplest ways are already built-in. Just make a routine of this and you will get better use out of your phone's battery.
[Nexus 5X Original Android Development] edoardotavecchio:
I have two things to propose you:

-CPU quiet, recently picked by Rachanta for its kernel

-Why don't you try compiling with Uber toolchain? It should be more battery friendly (there are more advantages like more smoothness or faster app launching, I don't remember which of these are related to Uber and which are for Linaro)
[Nexus 5X Original Android Development] Mrcactuseater:
I know you are good with suggestions and such, but having just tried [MENTION=1863016]rachanta[/MENTION]s latest kernel I see no need, nor does Jolla as mentioned before, with active hotplugging of cores. Maybe when the device is sleeping or watching videos like lazyplug, the downsides outweigh the benefits. The TC however that frap129 develops and the one flash / rachanta uses is very good as it is a mix of both Uber and Linaro.
[Nexus 5X Original Android Development] edoardotavecchio:
So was I right about toolchain suggestion?
[Nexus 5X Original Android Development] Dininthedrider:
Thank you!

I knew that material dark theme exists, but I was not sure it is compatible or not.

Now it is clear that we are stuck with the light theme for now.
[Nexus 5X Original Android Development] edoardotavecchio:
Franco released a new kernel version in which there are some patches for battery life and less CPU stressing. Maybe you've already seen them [MENTION=5996255]jollaman999[/MENTION] let me know if my suggestions are wrong or annoying
[Nexus 5X Original Android Development] tyroneballz:
Hi friends

This version works on 7.1.2??
[Nexus 5X Original Android Development] jugoslavpetrovic:
Works
[Nexus 5X Original Android Development] leolawliet:
This kernel doesn't have a negative impact on battery when idle.
[Nexus 5X Original Android Development] LazerL0rd:
This means aptX(HD) can be ported over.
[Nexus 5X Original Android Development] Eurofighter_ty:
[MENTION=5996255]jollaman999[/MENTION]

Can you add these options to fstab on F2FS at least for testing ?

rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,acl,inline_data,nobarrier,extent_cache,active_logs=6

I found this:

http://taras.glek.net/post/Moto-Z-has-10x-less-lag-than-pixel/
[Nexus 5X Original Android Development] LazerL0rd:
Ha ha ha, lol. I just asked [MENTION=3292224]franciscofranco[/MENTION] the same thing.
[Nexus 5X Original Android Development] Eugene729:
Hey guys.. this might be out of topic. But is there anyway of enabling password protection for this multirom twrp 3.0.3.0?
[Nexus 5X Original Android Development] LazerL0rd:
Encrypting your device?
[Nexus 5X Original Android Development] jollaman999:
I will add 'background_gc=sync' and 'inline_data' options.

And other options are already set by default.

Thank you.

Edit: Result

rw,lazytime,seclabel,nosuid,nodev,relatime,background_gc=sync,discard,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,nobarrier,extent_cache,mode=adaptive,active_logs=6
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v17.3]

New f2fs options, Fixed idle drain.

== Kernel ==

- Back to Stock WLAN driver

- sdcardfs: Applied android-3.10 patches

- cpufreq: cpu-boost: Disable input boost by default

- msm_thermal: Turn off big cores when the screen is turned off

== AIO ==

- fstab.bullhead: Enable 'background_gc=sync' and 'inline_data' f2fs options

== Recovery ==

- Appiled jolla-kernel_bullhead_II-v17.3

* It also works on Android 7.1.2.
[Nexus 5X Original Android Development] ndarkside93:
Can you fix the typo so other poodle other people don't get confused? It's release 17.3 not 17.1 if not you'll have someone download the wrong file and complain.
[Nexus 5X Original Android Development] LazerL0rd:
Do you use Bluetooth CAF driver?

Also, well done for NOT adding the "nobarrier" as it easily causes corruption.
[Nexus 5X Original Android Development] jollaman999:
Oh. Sorry, I missed it.

Thanks.
[Nexus 5X Original Android Development] jollaman999:
Using stock with Linux upstream patches.

nobarrier is added.
[Nexus 5X Original Android Development] LazerL0rd:
Deleted.
[Nexus 5X Original Android Development] Nicktheprofessor:
I'm sorry, but discussions about things that defy the laws of physics are not up my alley.

I'm not going to have an argument on that matter.

Franco's kernel aims for better battery life while sacrificing a bit of fluidity, Jollas kernel aims for function while not sacrificing any performance at this point in time.

Changing governors or io scheds or tcp scheds will help in a production system, not in a phone.

I don't actually care about politeness, as i said i'm mainly a Linux dev and politeness isn't something we care about. We get things done so that people like Jolla can use a working kernel to build on. That is what matters.
[Nexus 5X Original Android Development] jugoslavpetrovic:
17.3 seems to be nice one. Proper battery life and performance. IO sched noop 512, dynamic fsync off.
[Nexus 5X Original Android Development] venkatsrin:
Thanks for reporting back, now I can feel more secure about coming back. I just switched to r35 Franco kernel as I was having poor (worse than stock) battery life with this kernel.
[Nexus 5X Original Android Development] Giorgos Chatziioannou:
the latest version finally fixed the idle battery life. you are the best, jolla :victory:

deadline 2048, f2fs, lz4, dynamic fsync
[Nexus 5X Original Android Development] nders:
Got a weird issue that my brightness would jump up to almost max for half a sec everytime I switch on screen. Any ideas?
[Nexus 5X Original Android Development] ndarkside93:
Are you running any app that sets aggressive doze? That's the normal cause
[Nexus 5X Original Android Development] nders:
Snap! That's it. Running naptime. Thanks for the heads up!
[Nexus 5X Original Android Development] ndarkside93:
Not a problem good sir
[Nexus 5X Original Android Development] jugoslavpetrovic:
Oh man, thanks. I have that as well and wasnt able to figure why even though it doesnt annoy me too much but still God dammit why, lol. Thanks, now I can rekax a bit more:)
[Nexus 5X Original Android Development] leolawliet:
I'm highly considering just using the aggressive doze from Greenify. I've been using the donation version of Greenify for years now and I do have other use for it besides doze, also I know Naptime is the cause for that brief moment of max brightness and it's finally getting to me how annoying it can be at the wrong time. I would like to minimize the number of apps I have installed and running, but if Naptime helps to save more power than Greenify's doze I might just keep it. Do you recommend Naptime or am I gonna get the same effect from Greenify to the point where it doesn't matter?

By the way, I'm not using the aggressive doze from both apps at the moment, I only use one at a time and I'm currently using Naptime for it.

Sorry for getting off topic guys.
[Nexus 5X Original Android Development] ndarkside93:
You'll still get that second of brightness regardless. But if you have both I recommend you use the one you more frequently use
[Nexus 5X Original Android Development] leolawliet:
I thought about it and decided to remove Naptime and try Greenify's doze for a bit. If there's any difference I'll post about it. Thank you for the advice.
[Nexus 5X Original Android Development] k0rin:
403 forbidden

I can't access the download link at http: //tp.jollaman999.com/jolla-kernel_AIO-bullhead/

I get

Forbidden

You don't have permission to access /jolla-kernel_AIO-bullhead/ on this server.

Is it just me?
[Nexus 5X Original Android Development] ndarkside93:
Not just you my friend.
[Nexus 5X Original Android Development] zurik:
I have Access...
[Nexus 5X Original Android Development] jollaman999:
I don't know why my Server's hard disk partition is broken after update. :(

That's why you can't access the server.

Restored from my backup hard disk. :)

Also my computer has been broken... :crying:

I bought new parts and I will assemble tomorrow.

So, I can't build new version for a while.

And I can build faster from tomorrow!

Thanks.
[Nexus 5X Original Android Development] Mrcactuseater:
As long as everything is all good now it's great! And faster build? Does that mean more builds lol
[Nexus 5X Original Android Development] razrlover:
[MENTION=5996255]jollaman999[/MENTION], 17.3 is ruining great, very smooth and fast. Thanks for the hard work!!
[Nexus 5X Original Android Development] edoardotavecchio:
Has anyone ever thought about giving the voltage control feature for this device? I think that It could be useful for anyone who wants to play with voltages despite it was sometimes recognized as a useless feature. I thought about by reading some threads about bootloop issue, someone suggests that lowering the voltage could be a solution. [MENTION=5996255]jollaman999[/MENTION], how about giving me your opinion about that? I've seen that in 16.1 update you've already undervolted 1248mhz frequence so maybe you can find it useful.
[Nexus 5X Original Android Development] Mrcactuseater:
The newer HMP devices use dynamic voltage scaling to pick the best voltage for the frequency / load iirc
[Nexus 5X Original Android Development] edoardotavecchio:
Why have you removed adreno idler? Along with display state awareness function, that should be really useful in terms of power optimization...I've thought about it now by reading some other Kernel's thread (In other device's thread, to pick up suggestions)

After that, I have another suggestion: why don't you think about making this kernel tickless? It should be a great optimization for the system. If you wanna take a look, this (https://xdaforums.com/nexus-6p/orig-development/kernel-electron-kernel-angler-t3443431/page31) is Electron Kernel, which frap129 made tickless.
[Nexus 5X Original Android Development] Siljorfag:
Which kernel management app fully supports this kernel? :)
[Nexus 5X Original Android Development] khanjui:
Both Kernel Adiutor and EX Kernel Manager are fine. Search the thread before ask.
[Nexus 5X Original Android Development] Siljorfag:
[MENTION=4984423]khanjui[/MENTION] Sorry. I'm little lazy. I already have EX Kernel Manager, but it constantly resets my settings (save on reboot), even on EX kernel i had this problem.
[Nexus 5X Original Android Development] khanjui:
Just wait a few minutes after reboot, then open the app.
[Nexus 5X Original Android Development] leolawliet:
If you immediately open the app without letting the settings apply on boot, those tweaks might not get set.
[Nexus 5X Original Android Development] Siljorfag:
[MENTION=4206297]leolawliet[/MENTION] I know. I click this little icon to set settings at boot, but few restarts later i see that settings are set to default. On any other Kernel Management app never had any problem like this. I'm just want to find alternative for EX Kernel Manager. :>
[Nexus 5X Original Android Development] leolawliet:
[MENTION=5766060]Siljorfag[/MENTION] Franco Kernel Manager is another option. You can try that out.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Kernel Aduitor, kernel aduitor mod

sent from Bullhead, tapatalk
[Nexus 5X Original Android Development] tuningsea:
imo 17.2 is more smoothness than 17.3
[Nexus 5X Original Android Development] LazerL0rd:
My PC broke the other day too. I feel you mate.

---------- Post added at 05:24 PM ---------- Previous post was at 05:20 PM ----------

@jollaman999, could you add support into your TWRP for "file-based encryption" please. The Pixel uses it by default but it's a really cool feature to have.
[Nexus 5X Original Android Development] venkatsrin:
I've been looking for this since switching to custom ROMs for my 5x - but can someone confirm the benefits Vs full disk encryption? I've already set don't require pin before start our whatever that setting is called. Is it going to be faster?
[Nexus 5X Original Android Development] LazerL0rd:
More secure. Faster. The not require PIN on boot thing. Something else about its keys getting reset on lockscreen similar to Apple (not quite there yet).

Apps can run on no storage and storage level, AKA some can run before unlock. In a way it's like using "Power Notifications Controls" but for security - "Power Encryption" xD
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v17.4]

[bullhead-v17.4]

:)

== Kernel ==

- Built with Linaro gcc 6.3.1 stable version

- lib/lz4: Applied upstream's udated version (upstream)

- zram: change usage of LZ4 to work with new LZ4 version (upstream/squash)

- qcacld-2.0 (wlan): Applied 7.1.2 Preview changes

- cpufreq: interactive: Fix for 64bit (Google android-3.10)

- android: binder: Correct the wrong pointer size (Google android-3.10)

- ASoC: msm: qdsp6v2: Fix memory leaks (CAF)

== AIO ==

- Revert "ramdisk: Add '50 768000' target load for big cluster"

(This causes device getting hot easilly and eats lots of battery.)

== Recovery ==

- Applied latest omni TWRP patches

- MultiROM: Allow using white spaces in internal ROM name

- Appiled jolla-kernel_bullhead_II-v17.4

* It also works on Android 7.1.2.
[Nexus 5X Original Android Development] jollaman999:
It's already merged. Is it not working?

I didn't tested because my two of device use normal encryption.
[Nexus 5X Original Android Development] Eugene729:
Hey, anyone facing issues where zram cant be enabled on 17.4? Could be my kernel app causing the problem. Just trying to rule things out. Thanks
[Nexus 5X Original Android Development] L-ViZ:
i can confirm this issue. no zram here as well. cant activate it. using ex kernel manager. but still smooth :D

but something is wrong with zram since latest changes.
[Nexus 5X Original Android Development] Eugene729:
Cool, Using Ex kernel manager as well. Yeap all is great except for that small issue. :)
[Nexus 5X Original Android Development] jollaman999:
Confirmed and fixed it.

I will release it soon. :cool:

Thank you.
[Nexus 5X Original Android Development] LazerL0rd:
Omg. Thank you so much!!

So I can finally go stock with the 7.1.2 official!
[Nexus 5X Original Android Development] elrosid:
7.1.2 already official?!
[Nexus 5X Original Android Development] LazerL0rd:
Sorry, I meant when it comes out ? (with Google Assistant!!)

---------- Post added at 07:34 PM ---------- Previous post was at 07:20 PM ----------

I'm test it soon!
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v17.5]

[bullhead-v17.5]

March! and zram fixed!

== Kernel ==

- Applied Google's March patches

- crypto: add lz4 Cryptographic API

- zram: Fix wrong initialize and switch to crypto compress API

== AIO ==

- None

== Recovery ==

- Appiled jolla-kernel_bullhead_II-v17.5

* It also works on Android 7.1.2.
[Nexus 5X Original Android Development] crazyates:
I'm using EX manager as well, and I'm having an issue where I can't turn off CPUs 4+5. I'm using the HEIMDALL_5X_V4 Interactive profile, which I'm thinking probably tries to re-enable them? I was able to underclock them, but sometimes I want to disable them as I barely use any apps on the phone, and I'm thinking a quad core A53 is fast enough.
[Nexus 5X Original Android Development] leolawliet:
Excellent battery life
[Nexus 5X Original Android Development] francesco totti:
Latest version works great !! Awesome battery life and smooth performance , and good RAM management , But I have a problem , since last night i installed new rom and jolla kernel, when my phone screen is off , the phone turns off , and i have to press the power button for about 10 seconds to turn it on, it's not a normal shutdown , why this happens ?? By the way i did a clean flash, thanks.
[Nexus 5X Original Android Development] leolawliet:
I'm having a difficult time trying to learn more about this:

qcom_rx_wakelock_ws

I don't really know if I need this to stay on or if it would be okay to toggle it off, I'd just like to understand what this does.
[Nexus 5X Original Android Development] Siljorfag:
I have this same problem. It's called "Sudden death", phone just dies (or hangs) when screen is off, so You must force restart phone, but it comes back on next hour or so. On screen on it happends too. When phone is "comming" to Sudden Death state and trying to turn on display I must keep pushing power button for 5 mins (just for display to light up), then i see what whole interface is messed up (it bypases lockscreen) No nav bar, no status bar. Nexus launcher is responding on touch, but icons are static (they dont move when i change screens), power menu works, but when i tap "power off" phone just hangs forever...

While this, notification light is still flashing normally, but all alarms are not triggered, and Google Device Manager says that device is offline.

Now I am on franco Kernel and that problem is gone, so there must be something wrong with Your kernel Jolla, all settings were stock, pure nexus onboard, latest bootloader, radio etc. even I wiped my whole internal storage but problem persists.
[Nexus 5X Original Android Development] francesco totti:
It just happened for me 2 times only the first day of installation , and i haven't face any shut downs since yesterday fortunately!
[Nexus 5X Original Android Development] m4mmt:
Made a fresh install with 17.5 and Resurrection remix 5.8.2 on f2fs. Great kernel so far, can someone suggest me a good I/O scheduler or governor for my usage? I never play games, but I have basically all the time music playing with phonograph or Spotify, a lot of heavy multitasking with WhatsApp Google plus chrome and sync for Reddit.

Thanks for the support!
[Nexus 5X Original Android Development] crazyates:
I've had this happen once over the past 5 days, and thought it was a fluke. I'll let you know if I get it anymore.
[Nexus 5X Original Android Development] jollaman999:
You must re-flash your rom before you change your kernel.

If not, there will be so many conflicts. It happens on all of kernels not only mine.
[Nexus 5X Original Android Development] AquilaDroid:
Or just restore boot partition from a nandroid backup?
[Nexus 5X Original Android Development] jollaman999:
Yes, but original boot partition(image) come with your rom.
[Nexus 5X Original Android Development] Siljorfag:
I already did this couple of times but without luck. I never had this same problem with any kernel on my Nexus. Maybe I will try to install this some day... I don't know.
[Nexus 5X Original Android Development] Eugene729:
Hi there, i was hoping if you could update the dualboot rom TWRP 3.0.3.0 to the recent latest stock twrp release version TWRP 3.1.0-0 ? I would deeply appreciate it, if you could implement it in your next update. :)
[Nexus 5X Original Android Development] jollaman999:
All of patches are already merged in v17.5.

I just need to change the version in next release. :D
[Nexus 5X Original Android Development] mr.ace:
[MENTION=5996255]jollaman999[/MENTION] can you merge fastlane from blu_spark?

https://github.com/engstk/op3t/commit/33a87dc3db3cd25bd4a0fd84ddca1a04f8452e98
[Nexus 5X Original Android Development] jollaman999:
I'll check later.

(I don't have a time recently. :rolleyes:)
[Nexus 5X Original Android Development] tuningsea:
delete