yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] Tomoms:
Nice to know!

zzmoove and several other governors were removed from the kernel after I backported the whole drivers/cpufreq/ framework from Linux 3.10. That update brought massive changes in the kernel so governors needed to be adapted. I've never bothered adapting them all, I've preferred to include in the kernel only those governors (i.e. the stock ones + HYPER, darkness and impulse) that I found already adapted to the newer framework in some other kernel's source. If you want zzmoove I'll have to look at it and find out what needs to be changed, then if I'll be able to do the job, good for you, you'll have zzmoove! Otherwise, if it turns out to be impossible/too difficult for me, I'll just abandon the thing.
[Xperia SP Android Development] Lubakabra:
Only If you have some free time for it and it will not bother you. I don't want to force you only because I think it would be great. ?
[Xperia SP Android Development] Tomoms:
It's been easier than I expected :) Helium v38.1 with zzmoove

I'm not sure the governor will work flawlessly, the features that rely on suspension (e. g. the frequency limiter for when the screen's off) might be broken due to the fact that my kernel uses state_notifier and not earlysuspend/powersuspend. In this case, I think I won't be able to fix it.
[Xperia SP Android Development] Tomoms:
About sdcardfs support

Starting from v39 Helium supports sdcardfs, an in-kernel replacement for fuse that's becoming more and more popular. Though in the kernel it's enabled, you have to add this line to your build.prop to activate it:

ro.sys.sdcardfs=true

If you've never heard about sdcardfs, I suggest you read this: https://www.xda-developers.com/divi...les-fuse-replacement-will-reduce-io-overhead/

If you don't add the line above to build.prop you'll stick to fuse.
[Xperia SP Android Development] Lubakabra:
Thank you a lot !!!?
[Xperia SP Android Development] Tomoms:
There's a new version available! v39.1 brings lots of f2fs updates to improve stability and performance. Also I'd like to tell you that I am going to replace my SP as my everyday, primary device with another device, due to some hardware problems that arose in the past days (i. e. the camera is completely broken, in-call audio often crackles a bit). This, however, won't have any impact on my work on Helium kernel. I'll continue its development with the same enthusiasm and interest in learning something new as before. So it's not time to say "farewell" yet: as far as my SP can boot, it will boot Helium kernel :)

Enjoy this new release: Helium v39.1
[Xperia SP Android Development] alitavas:
Installing AOSP 6.0.1 (2016.10.10)

Installing Gapps

Installing Helium Kernel v39

Installing Magisk with Boot Bridge

Installing A.R.I.S.E Sound Engine?

Everything works well after 3 days!!!?

No lag,No bugs,just 1 freeze

Sent from my LG G4
[Xperia SP Android Development] jan.zogmund:
Hi guys. I`m new to this so I apologise if my question will insult anybody. I would like to know if I can install this kernel for lineage os 14.1 rom. Thanks
[Xperia SP Android Development] Alvichone:
Of course you can. I have it running in LOS 14.1 and all run very well.
[Xperia SP Android Development] Tomoms:
Hey guys, I'm back :)

And I'm back with a new release, v40, that is a beta. Why? Simply because its main new feature is a new power management suspension method that might affect a mobile phone's functionalities (it's been extensively tested on PC's), so just to stay safe, don't flash v40 if you need a 100% reliable phone in your hands.

I really don't think there will be problems, but to avoid getting complaints, I think it's better to clarify this.

Report any issue you face, as usual, keeping in mind that this patch affects how the phone works in deep sleep. You could get better battery life, or maybe worse. The only thing to do is to try. When active, the device should work normally, as it did before.
[Xperia SP Android Development] Tomoms:
Hello! Another kernel for you :)

forget about v40 being a beta. That patch doesn't cause any problems at all. Try v41 and let me know if you face a better or worse battery life.
[Xperia SP Android Development] laim_name:
hm, v41 works good for me

im using mokee 71.2 now and microg in my rom (not sh*tty slow original google framework)

sometimes my xsp wake up about 2 seconds with this kernel but it isnt problem for me
[Xperia SP Android Development] Tomoms:
I've just released v42 that is built with the brand new GCC 7 compiler. This new Helium release potentially could worsen performance, though I'm not sure and while I'm already testing it I'd like to have some feedback by you too. Obviously, if you're not satisfied by v42, you can easily jump back to v41 (just flash it on top of v42).

EDIT: AnTuTu benchmarks' results show no worsening of performance.
[Xperia SP Android Development] Tazusp:
No problem with the new build. Using it with aosp-caf 7.1 + magisk + nanomod.
[Xperia SP Android Development] Tomoms:
Good to know, thanks.

Also, there's a new release, containing a couple of security fixes that are about to be merged into our Lineage kernel.
[Xperia SP Android Development] Tomoms:
I've released a new minor update: v42.3. It only brings a few source updates. As usual, let me know how it works for you.
[Xperia SP Android Development] Tomoms:
New major update! Lots of improvements and backports :)
[Xperia SP Android Development] Lubakabra:
Glad to hear that ? what specific improvements?
[Xperia SP Android Development] laim_name:
hm, ok

using v43 with mokee 71.2 for about one hour and all works faster than it was on stock mokee kernel

no freezes, no lags, no errors in apps

and i am not using kernel adiutor/no-frills cpu control/anything that trying to change kernel settings

lets test it further
[Xperia SP Android Development] Tomoms:
Mainly more clever state notifier and lots of kernel/sched/ updates.
[Xperia SP Android Development] mhdshobirin:
i flashed v43 in overlay 4 (mm 6.0.1), sony logo not even showing just black screen, managed to back with flashtool, any idea what's wrong ? i really want to use this kernel , my old kernel is so laggish, thanks
[Xperia SP Android Development] Tomoms:
If what you call Overlay 4 is that themed ROM called Xperia Overlay, you should bear in mind that I provide no support for that failure.
[Xperia SP Android Development] mhdshobirin:
so basicly that rom is a failure ?

thanks for your answer
[Xperia SP Android Development] Tomoms:
Exactly!
[Xperia SP Android Development] Tomoms:
I've uploaded v44, another quite big update with interesting updates and improvements. It also contains two CVEs (kernel security fixes).
[Xperia SP Android Development] laim_name:
used v43 for 3 days and can say that sometimes it freezes for about 20-30 seconds once or two per day

BUT now it have no lags like old 34 version that i tested 2 or 3 month ago

using mokee and helium 43 with default kernel settings, have no gapps in rom

so now helium works pretty good, will test v44, because of rcu and rng from 3.19 linux kernel
[Xperia SP Android Development] Indie Zex:
Hi there,

I just wanted to say thanks to Tomoms for all his hard work!
[Xperia SP Android Development] Gavao:
lineage os + Helium works very well but where is GPU oc and undervolt
[Xperia SP Android Development] Tomoms:
Thanks for providing your feedback. GPS OC was removed accidentally from v42 and v43 if I recall correctly, but I'm sure I've re-added it in v44. So flash the latest version of Helium and you'll find it. GPU undervolting was removed time ago because it was useless and broken too. I might look into it at some point later.
[Xperia SP Android Development] abocha:
Freezes

Myself and a few other Sony Xperia SP users from 4pda can report freezes that happen once in a while. For me, freezes on v43 were frequent but not long, opposite on v44 - less frequent but last from 30 sec to a minute (didn't measure exactly).

I use LOS 14.1, a few other people use Mokee, Resurrection Remix, maybe something else. Some say that v44 got worse, even to the point when they had to reboot the phone with soft-reset button.

I don't know if this will be useful or not, just providing some feedback.
[Xperia SP Android Development] Tomoms:
OK, today I'll upload an update that should fix everything.
[Xperia SP Android Development] laim_name:
yep, v44 freezes some more than v43 for me too
[Xperia SP Android Development] Tazusp:
I don't know. For me is just the opposite. The last version v44 is far more stable than v43. Now the smartphone is more responsible and fast.

I do had some long freezing but it is better than always small freezes.

Xosp 7.1 + nanomod
[Xperia SP Android Development] Tomoms:
I've released v44.1. Please make up your minds, guys, and tell me how it works, as it should be better than both v43 and v44!
[Xperia SP Android Development] laim_name:
44.1 drains battery fast as sonic the hedgehog

And it freezes like 44 or maybe a little bit less, but not more

I just flashed it over v44 and wipe dalvik/art cache

Rom: mokee 71.2
[Xperia SP Android Development] Tomoms:
Check if by any chance the CPU doesn't enter deep sleep, reboot the phone and check again after five minutes. For me battery drain is normal, in fact there's barely any change between v44 and v44.1.
[Xperia SP Android Development] abocha:
For me - so far, so good. Through the course of 5 days I've only experienced 2-3 little freezes, which I'm fine with. As for battery, it's very good - through the night it loses 1 or 2% at most.
[Xperia SP Android Development] Tomoms:
Thank you for sharing your opinion and experience. A new release is in the works, it will bring real CPU underclocking - let's see if it improves a little bit the battery life. I'm testing it extensively.
[Xperia SP Android Development] Tomoms:
Instructions to install v45

Hello, with v45 I bring for the first time real CPU underclocking for our device. The lowest frequency is now 137 MHz (precisely, 137,1 MHz) instead of 384 MHz. The init.d script needs adaptations, so you must edit it and replace

0:384000 1:384000

with

0:137100 1:137100

even if you've never bothered tweaking that script before. Then reboot your phone.

If you don't do it, don't come here complaining about any kind of issue.
[Xperia SP Android Development] Tazusp:
Nice,

I followed the structions and everything is running smoothly.

I was always wondering why you stopped the underclocking. What happened before?

Thanks for the hardworking and the every time better kernel.
[Xperia SP Android Development] Tomoms:
Basically, previously the 189 MHz frequency was useless because it was just the 384 MHz one, re-labelled as "189" MHz. The CPU, actually, was running at 384 MHz. As soon as I've noticed it, I removed that useless feature. Now I've implemented a real 137 MHz frequency.
[Xperia SP Android Development] :
How to edit inid.d file??

Thanks for the new update, I'm confused how can I edit the init.d script does I have to write new script in KA??
[Xperia SP Android Development] Tomoms:
Open the file with a file manager after remounting the /system partition in read-write mode.
[Xperia SP Android Development] :
This file??

Do you mean this file /system/addon.d/80-helium.sh??:confused:
[Xperia SP Android Development] Tomoms:
Nope, /system/etc/init.d/01helium
[Xperia SP Android Development] Tazusp:
Hey Tomoms, I don't no if is just my phone but the zzmove in the cpu setting is give me soft reboot when the screen is off, at least in the standard, 4 and 5 profiles. You may take it out from next building if you do experience the same problem.

By the rest, thanks man, this kernel is saving my diary usage of battery.
[Xperia SP Android Development] Tomoms:
OK, I'll check it out and if necessary zzmoove will be removed from the kernel starting from the next update, that BTW will be released within a couple of days.
[Xperia SP Android Development] Tomoms:
v45.1 is available. I don't know why on my device Qualcomm's mpdecision doesn't show up anymore in Kernel Adiutor, please check and let me know if you see it Never mind, it appeared after reopening KA. [MENTION=7262798]Tazusp[/MENTION] zzmoove hasn't been removed, I have tested it using profile number 6 and it worked perfectly for more than 6 hours. It would be great if you made a list of all the non-working profiles, so that I can eliminate them.
[Xperia SP Android Development] Lubakabra:
Zzmove is working fine for me as well??
[Xperia SP Android Development] Tomoms:
Hey guys, sorry for being quite inactive here on XDA but I'm in the middle of some really busy days right now. I'll release a minor update in the next few days to be as up-to-date as our Lineage kernel in matter of security fixes, full-time development of the kernel will restart after July 4th.
[Xperia SP Android Development] Tomoms:
Here's the minor update I'd promised. See you next week, I'll have some important news :)
[Xperia SP Android Development] Tomoms:
Ok, it's time for some news. Good news. In the last two weeks I've basically restarted my whole kernel project from scratch: there were too many problems and the last backports had been added to Helium in a way too dirty way (pun not intended!). So I've focused on backporting stuff in a clean, elegant and proper way, rather than adding stuff such as governors and hotplugs. The kernel is growing pretty well: currently it has got around 500 commits that bring updates to different areas of the kernel, plus some other features such as CPU and GPU overlclocking etc.. I think tomorrow I'll make it public and it will be labeled as Helium v46, although it is a brand new update, with a different base, with something more and something less than v45.2, but (and this is what matters the most) it's simple and fast.
[Xperia SP Android Development] RaptorCode:
great, can't wait to use your latest kernel , i've tried ur kernel in several nougat roms, but sometimes it have random freeze issue when playing game or watching hd videos
[Xperia SP Android Development] Tomoms:
It's been released!

To all users: lots of features are missing, if some missing feature is very important for you, write a request, and I'll try to implement it sooner. No new kernels will be released before early August, anyway.
[Xperia SP Android Development] Lubakabra:
I've been testing it for an hour and it seems way smoother than stock. Great job [MENTION=5727088]Tomoms[/MENTION]
[Xperia SP Android Development] finnal123:
I dont see 01helium when flashed v46 in su.d or init.d!? Dont we need it anymore?
[Xperia SP Android Development] varioventus:
1 - SOUND, it's a must, the only reason I used a custom kernel. It's missing in v46.

2 - ZEN governor, not so important as sound (please try to keep it slim, 100 governors will only make it more confusing), but ZEN is the one who usually won benchmarks, it could be an option.

Thanks buddy, nice release, fresh and slim.
[Xperia SP Android Development] Tomoms:
Sound: FauxSound will come back soon, but I'd like to slim it down a bit to remove all the useless/buggy options.

Zen: it's not a CPU governor, it's an I/O scheduler. The maple I/O sched. is partially based on zen.

Nope, for now it's not needed so the installer removes it. When it will be needed again the installer will re-add it and you'll be able to edit it!
[Xperia SP Android Development] :
hey [MENTION=5727088]Tomoms[/MENTION] thanks for the new update, just wanting to ask before doing stupid thing..

does Helium 4.6 compatible with your zram resize zip??
[Xperia SP Android Development] Tomoms:
Of course! That zip is universal, it will always be compatible with Helium and with Fusion kernel and also with Adrian's kernel.
[Xperia SP Android Development] varioventus:
You're right, I didn't realized I've wrote governor; it's a I/O scheduler, of course.

Run it since you've released v46, things are smooth and battery it's very good.
[Xperia SP Android Development] akimester:
installed via TWRP 3.1.1 on LOS.

after reboot ,the phone hangs @ SONY logo. :(
[Xperia SP Android Development] Tomoms:
Turn off the phone and retry. It happens, rarely, and I don't know why.
[Xperia SP Android Development] akimester:
already did 3 times. sadly no changes.

reverted back to stock kernel.
[Xperia SP Android Development] Tomoms:
Strange, on my phone when it happens it happens only once, or in extremely rare occasions, twice in a row.
[Xperia SP Android Development] :
Just let the boot process finish, it take some time don't disturb the boot process, it will bootloop cauple of time..
[Xperia SP Android Development] finnal123:
after flash v46, my phone really hot while charging and slow charging
[Xperia SP Android Development] Tomoms:
Did it happen only once? It might be a problem with the CPU not entering the sleep mode correctly. Follow this suggestion: reboot your phone and after Android has loaded, let your phone sleep for 5 minutes. Then open Kernel Adiutor and check, in its home screen, if the device has entered deep sleep for a while (it should). If Deep Sleep is listed among the Unused Frequencies, it's bad, there's something wrong. However, if the device has entered deep sleep for some time, charge it and it shouldn't become hot.
[Xperia SP Android Development] finnal123:
Problem solved, it's my bad, i have 2 hot plug enabled.

Does this kernel support init.d?
[Xperia SP Android Development] Tomoms:
All Lineage-based ROMs support init.d, even when using Adrian's/default kernel. So init.d support is not related to this kernel, it's related to the ROM you're using.
[Xperia SP Android Development] laim_name:
with v46 i often cant boot my phone because of stuck on SONY logo

i need to take my nillkin case off, open phone and take something to press reboot button

turn back to stock AEX kernel
[Xperia SP Android Development] Tomoms:
I might have an idea to fix this, but you'll have to wait a few days more.
[Xperia SP Android Development] laim_name:
waiting for this, because v46 works good (not better than AEX stock, but has lots of settings)

ALSO can i work with iptables on 46 kernel? i installed ttl master and it says that this rom cant use iptables

but when i turned back to stock kernel, ttl master says that all good
[Xperia SP Android Development] Tomoms:
I'll check this iptable issue as soon as possible. Thanks for reporting it.
[Xperia SP Android Development] RaptorCode:
same problem here, sometimes is stuck at SONY logo my rom is stryflex MM , but everything else work perfectly and my phone way more smoother than using stock kernel.
[Xperia SP Android Development] Tomoms:
[MENTION=5590235]laim_name[/MENTION] I've built a test kernel today and TTL master didn't show any error so iptables are working. Unfortunately I still haven't fixed the booting issue, I'll keep working on it.

All in all, you can expect a new build to be released next week.
[Xperia SP Android Development] finnal123:
How can i disable zram?
[Xperia SP Android Development] Tomoms:
Yes, there should have been 2 builds but I didn't have time to build again, so I delayed the 2nd build to Monday.
[Xperia SP Android Development] vvaklnprm:
Nothing drastic changes, just changed governor to ondemand, disabled the touch boost settings, set io to cfq

I think it may have been caused by KA because these settings were set on boot AFTER I flashed Helium (actually set these for the stock kernel)
[Xperia SP Android Development] Alvichone:
In my device helium 3.0 works OK. 1.7 GHz with ondenmandplus.

Edit: I have to regret to ROM kernel cause the screen didn't go on when the device was in deep sleep. Neither with a enter call the screen switch on.

I need my Sp working. I don't have time to do a log.text, sorry.
[Xperia SP Android Development] azerador:
Helium v3, freq scaling is normal for my phone, OC works fine, much smoother

View attachment 3572793View attachment 3572794
[Xperia SP Android Development] yunamunchy:
stuck at 1.4ghz but is very2 smooth though.
[Xperia SP Android Development] Tomoms:
Which hotplug were you using?
[Xperia SP Android Development] Alvichone:
The new hotplug mpdecison by...I don't remember the name. Yes, I think in that.
[Xperia SP Android Development] moozer:
[MENTION=5727088]Tomoms[/MENTION] - would Intellthermal be a better option and disabling MPDecision?

---------- Post added at 17:01 ---------- Previous post was at 17:00 ----------

[MENTION=5727088]Tomoms[/MENTION] - would Intellthermal be a better option and disabling MPDecision?
[Xperia SP Android Development] Tomoms:
It's bugged. Now I'm sure. Another user reported the same issue with that hotplug. I'll try to fix it in v3.1. Intelliplug and the standard mpdecision are stable and they don't give any issue.

Intellithermal is a thermal control driver. You can use it with both Intelliplug and mpdecision.
[Xperia SP Android Development] Andreus94:
I can confirm that the problem was the new MPDecision...(the phone doesn't wake up).

Helium 3.0 + CM 12.1 10/12 is fantastic, not a problem or freeze...

Maybe little less battery life... But I'm still testing... Congraz :D

Inviato dal mio Xperia SP utilizzando Tapatalk
[Xperia SP Android Development] Arturk8791:
What is MPDecision?

CM 12.1 sabermod build 20151211 + Helium 3.0 works fantastic and very very smooth! :) OC works good, no problems!

But at the night phone rebooted :o
[Xperia SP Android Development] steveglowplunk:
I'm facing some issues after flashing helium v3 kernel.

1. Can't swap ram with roehsoft ram expander(the phone crashes and reboots once activated the swap), while tangerine 10.1 can do it flawlessly(but the later version of tangerine kernel cannot). Tried the suggestion in post 2, didn't help.

2. Can't underclock under 384 mhz, while tangerine 10.1 can.

#(Not a problem) The splash screen of helium kernel shows 'powered by tangern kernel', and I think it causes confusion.:(

I've returned to tangerine 10.1 now and I think I'll just live happily ever after with it:)
[Xperia SP Android Development] ParanoidNemo:
Have you "dirty" flash helium over tangerine? Have you removed tangerine01 from your init file? It shouldn't show any splash on boot..and I think that using tkernel isn't a good idea..use helium 2.0 if the v3 doesn't work properly ;)
[Xperia SP Android Development] Tomoms:
Mpdecision is a driver that decides when the 2nd core of the cpu should be enabled.

If you see Powered by Tangerine at boot you didn't clean flash the kernel. Please install the default kernel of your rom and then reflash Helium. Swap is not working at the moment and I don't know why. You can't underclock the cpu because this feature isn't included in Helium yet.
[Xperia SP Android Development] steveglowplunk:
Sorry I may used the wrong word (bad English) but the 'splashscreen' I meant is in the attachment. And yes I dirty flashed Helium kernel. I don't want to shift to a very new kernel and suffer from the lag of ram (I've got used to do ram demanding stuff after I have the ram expander app) when I'm using a nearly perfect kernel.(I'm just wondering would other kernel solve the random freezes in cm 12.1 and so I tried Helium kernel, it was a fail:()

Also I did remove tangerine01, didn't help.
[Xperia SP Android Development] ParanoidNemo:
Exactly that..you have to clean flash helium to have it works correctly..that splashscreen means that you have part of tangerine kernel still in your system..and that's not good..as tomoms have said before you have to reflash the ROM and then flash helium to doesn't have strange issue
[Xperia SP Android Development] Tomoms:
There's no lag and no freeze with the new kernel. The only way to have a good experience with Helium is to flash default kernel and then Helium. Otherwise it will be a mess.
[Xperia SP Android Development] AbboodSY:
[MENTION=5727088]Tomoms[/MENTION] the faux sound is still not working properly (only the speaker gain) i tried on marshmallow and now on lollipop, still the same issue, the other sound gaining are working but the speaker is not, using kernel adiutor.
[Xperia SP Android Development] Tomoms:
It works for me. Use the + and the - button and not the slider, otherwise it won't work.
[Xperia SP Android Development] AbboodSY:
I tried both ways, as soon as i leave the sound tunnel the speaker gain returns to default, anything am i missing?? :/