yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] Docmine7:
Can I use this kernel on Roms with Android 4.4?
[Xperia SP Android Development] DahakePL:
As it's based on anykernel you can try but do not expect miracles. There's a high probability that it won't work
[Xperia SP Android Development] Docmine7:
Thanks : D
[Xperia SP Android Development] Tomoms:
It's definitely incompatible.
[Xperia SP Android Development] Docmine7:
Which kernel do you recommend for Cm11? Because I found a good Cm11. but have some lags...

I using FXP-cm-11
[Xperia SP Android Development] Tomoms:
I've uploaded a minor update that is worth flashing nonetheless. Any feedback is, as usual, appreciated. This new kernel should mainly improve filesystem speed and, possibly, decrease a little bit the overall power consumption of the phone.
[Xperia SP Android Development] ze7zez:
What from Nvidia is in Xperia SP?
[Xperia SP Android Development] Tomoms:
No hardware from Nvidia is present in the SP, however devs from Nvidia have written some generic patches for the Linux kernel, and I have added them to Helium.
[Xperia SP Android Development] laim_name:
IO errors while trying to read\write something on internal memory with last kernel

and i cant take logs with catlog because it save txtfile on internal memory
[Xperia SP Android Development] Tomoms:
No problem, the fix is easy to add and I'll release a new build today or tomorrow.
[Xperia SP Android Development] Tomoms:
[MENTION=5590235]laim_name[/MENTION]

The new release is available on AndroidFileHost. There shouldn't be any I/O error now.
[Xperia SP Android Development] Xperian1:
at first i have to thank you very much for supporting xperia sp,

i used helium v53 with Resurrection Remix Nougat v5.8.5 and i experience fast and smooth nougat on my SP also battery life is very good thanks to your kernel and RR,

but after flashing helium v54 i face an issue and not sure that it is because of kernel or not,

problem is that apps notifications don't show up when screen is off, they have been delayed and just when i turn on screen they 're immediately show up in lock screen...

it seems to be caused by Doze mode and battery optimization but i add some apps to "not optimized" and even no notification in off screen,

everything is ok with call and clock alarms but other apps like "Interval Timer" , "Tide" or any app that show notifications in specific times can't show notification at the right time when screen is off, then i flash v54.1 and face read and write problem on sd card and internal storage, after all i downgrade to v53 and issues solved...

what's your idea? should i try 54.2 ??
[Xperia SP Android Development] Tomoms:
Yes, go ahead and flash v54.2. I'm sure it'll work just as well as v53. There were a few issues with v54 and v54.1 but they are all solved in v54.2.
[Xperia SP Android Development] Xperian1:
Good Job... flashed v54.2 and recent issues are solved

Thanks
[Xperia SP Android Development] JhonesMillionBR:
Long time no see Tomoms hahah, I have changed my cellphone, now I am using Xperia Z3, could you work a Kernel for Xperia Z3? When I had Xperia SP I liked so much your Kernel, it was awesome! I would like a Kernel for Xperia Z3 but there isn't for Nougat.
[Xperia SP Android Development] Tomoms:
Nope, I don't develop for devices I don't own. The two I own already keep me busy enough.
[Xperia SP Android Development] Tomoms:
Hello, there's a new important update! Helium v55 brings lots of improvements under the hood: the whole workqueue stack is backported from Linux 3.10 and the random number generator driver from Linux 4.1. Minor optimizations, updates and improvements for several parts of the kernel (idr, kgsl, libraries like string and memcopy) have been implemented too. The AutoSMP hotplug is back as well, and it shouldn't cause any SoD now. However it's not enabled by default, so you have a stable kernel out-of-the-box. If someone decides to try AutoSMP, let me know how stable it is. Enjoy this new release :)
[Xperia SP Android Development] polo_joe:
Works good for me since some days, no hangs or sods.
[Xperia SP Android Development] Tomoms:
I've uploaded Helium v56. This version features a tweaked version of the interactive CPU governor that could consume less power without affecting performance at all. I've applied the "zen-tune" tweaks to the kernel's task scheduler, to improve the performance a little bit, and I have also updated sdcardfs to the latest upstream version. A couple of tweaks that will speed up the boot are present, as well. Finally, there are a few security fixes, too.
[Xperia SP Android Development] Tomoms:
Caution: do not flash this kernel on the new LineageOS 15.1 build, it won't boot. I'm working on a new build and I'll release it as soon as possible.
[Xperia SP Android Development] Tomoms:
The new kernel is available! I've switched to a GCC 7-based compiler and have updated the kernel sources with some architecture-specific improvements and optimizations. I've patched a couple of security issues and reworked all the optimization flags I use to build the kernel. The new release is compatible with the latest LineageOS 15.1 built (20180331), and you

must read

this post to find out which zip you need to flash.
[Xperia SP Android Development] Lubakabra:
Great ? thank you
[Xperia SP Android Development] nhicko95:
Where is download link im new on this thread
[Xperia SP Android Development] Lubakabra:
Well...it depends on what ROM you are using. See the end of the first post, there are both download links.
[Xperia SP Android Development] laim_name:
hm... can't launch last rom lineageos 14.1 (05.04.2018) with your kernel

i tried _alt version of helium and after reboot from twrp it tries to launch --> reboot itself --> tries to launch again --> reboot again and going to twrp itself
[Xperia SP Android Development] Tomoms:
I must have made a mistake while packaging the two zips. Could you try this kernel, please? https://drive.google.com/open?id=1k1yfechii_U2t27f0aCesfznRfLZShay
[Xperia SP Android Development] laim_name:
That's better :good:

View attachment 4468570
[Xperia SP Android Development] Tomoms:
I've released a new update, this time both zips have been tested and they all boot & work as expected :) [MENTION=5590235]laim_name[/MENTION] you don't need to flash v56.2 because it's the same build I gave you in my previous post.

Enjoy!
[Xperia SP Android Development] Alvichone:
56.2 works like a charm on lineageOs 14.1, better than stock kernel.

Good work!
[Xperia SP Android Development] puppetminds:
[MENTION=5727088]Tomoms[/MENTION] hey there, thanks for the updates. However I made the silly mistake of downloading and flashing the incorrect file even after reading post #2. Anyways I am now in fastboot mode, but can't seem to boot to recovery using Adrian's boot image from his TWRP page. Any thoughts on how to proceed? It keeps giving this error FAILED (data write failure (Unknown error)). I apologise if this is the wrong place to post this, but any help is appreciated.
[Xperia SP Android Development] Xperian1:
Hi, I'm not sure but try ADB and fastboot tool on windows PC and connect phone to PC with usb cable then flash correct kernel

ADB and fastboot tool link:

https://xdaforums.com/showthread.php?t=2588979
[Xperia SP Android Development] Mohammad7352:
I installed v56.2 on LineageOS 14.1 and can't overclock max cpu clock is 1.7GH. How can I enable overclock???

But v50 supports overclock max freq is 2.0GH.
[Xperia SP Android Development] Tomoms:
Starting from v51 all the features had been removed and I started re-adding them back step by step. So not all features have been implemented yet. Overclocking isn't possible as of now, but it'll be available in due time.
[Xperia SP Android Development] Tomoms:
I've uploaded a new kernel. It's just a minor update but it brings quite a few optimizations and improvements, so I suggest you to flash it soon!
[Xperia SP Android Development] DahakePL:
Tomoms still going strong I see, awesome :D
[Xperia SP Android Development] Tomoms:
Yes, indeed, and I have no plans to stop anytime soon :)
[Xperia SP Android Development] Tomoms:
I've released a new small update that includes the latest updates for the sdcardfs drivers (picked from Google's Linux 3.18 kernel source) and Adrian's latest fixes & improvements.
[Xperia SP Android Development] Tomoms:
Hi everyone!

I'm looking for some testers for the upcoming major updates of the kernel. All those who are interested can send me a PM. Testing involves installing new and possibly unstable builds, so keep in mind that there will always be an off chance your phone won't always work properly. Thank you!
[Xperia SP Android Development] aqvyx:
Wow, awsome to See people still develop for this phone. Awsome! Sady i sold my XSP a year ago
[Xperia SP Android Development] Tomoms:
Helium v57 is an important update because it features a ton of backported updates for the cpufreq driver. The whole cpufreq stack is now synced with Linux 3.10, and I have implemented a couple of improvements for the lowmemorykiller driver as well.

Enjoy!
[Xperia SP Android Development] CGmimi:
Hi, i don't why but on my SP, the kernel v56.4 works better than V57 (V57 lags) !
[Xperia SP Android Development] Alvichone:
In my case v57 works perfect with lineageos 14.1. But wifi issue remains when device was in deep sleep. I have to restart the device to get a working wifi net.

I don't know if is a lineageos bug or helium kernel bug.
[Xperia SP Android Development] cipetonk:
what about cpu governors? :)

waiting for bioshock and/or smartmax
[Xperia SP Android Development] Tomoms:
I'll add impulse in the next versions. I'll give a look at the two governors you mentioned and see if I can find a version that works with the 3.10 cpufreq stack (I'm sure such version of smartmax exists, but I have to check bioshock), then I'll decide what to do with them.
[Xperia SP Android Development] laim_name:
ok, i'm using helium v57 with aex 5.4 + microg + sony framework for about month and can say that v57 is really stable and fast

thank you a lot, tomoms
[Xperia SP Android Development] Tomoms:
Thanks, it's always nice to get some positive feedback :)

A new version is in the works, as always!
[Xperia SP Android Development] feromgar:
It's not a Heluim kernel bug. I have experienced that same bug on every Lineage 14.1 based ROM and so far you are the first person I see mention it at all. I don't know what causes it, but it is really annoying.
[Xperia SP Android Development] Evilmonk100:
how to install this kernel and also can i install this kernel on resuurtion remix rom

how to install this kernel and also can i install this kernel on resurretion remix nouget rom
[Xperia SP Android Development] globe79:
Hi! I'm new in this thread, but actively using AOSP & LineageOS releases by [MENTION=2233641]AdrianDC[/MENTION] with ROM kernels. Do you think I can benefit from Helium v57? Most of us (on Huashan) suffer from its low RAM and buggy touch. I've read that you optimize for the low RAM of this device.
[Xperia SP Android Development] Tomoms:
I (obviously) do think you would benefit from flashing my kernel, as it implements not only memory optimizations, but tons of other tweaks and performance improvements. Anyway, if you're sceptical, I suggest you to try it out, since going back to the default kernel, in case you're disappointed, is really easy.

By the way, Helium v58 is almost ready.
[Xperia SP Android Development] globe79:
Great news! I'm flashing Xperia SP (C5303 in my case) regularly since Adrians early AOSP Nougat releases - that's why I know it is virtually unbrickable :] Never tried alternative kernel, but was digging through different threads on XDA and yours looks promising as the only one:) and... you managed to jump from 3.4 to 3.10 tree. Actually I'm a little disappointed by phone manufacturers... they often stick to really outdated kernels (I'm using 4.19 on desktop and would call 4.14 stable enough for ARM devices, but my present phone Moto G6 was shipped with 4.4)... forgive me the off-topic! I'll give a try to v57 and v58 :)
[Xperia SP Android Development] Tomoms:
I did not update huashan's kernel to Linux 3.10. My kernel is based on 3.4, just like Adrian's. However, I have backported some important parts of the kernel from newer releases, namely:

cpufreq, f2fs and workqueues from Linux 3.10;

random number generator from Linux 4.1;

task scheduler from Linux 3.16.
[Xperia SP Android Development] Tomoms:
v58 is available!

After several weeks of development and tests, I've uploaded a new major update that, apart from a couple of new features (new default CPU governor, new behavior of bricked hotplug, and CPU OC), includes some minor tweaks and optimizations that seem to make app opening & switching a little smoother.

Do let me know your opinion on this new build.

Enjoy :)
[Xperia SP Android Development] cipetonk:
I think kernel behavior is weird, whatever we do 2nd core governor is always performance @1.99 GHz

is this intentional?
[Xperia SP Android Development] Tomoms:
Nope, it's not intentional, but I'm pretty sure I've never seen this behavior at all. Could you tell me what kernel settings have you changed? Tomorrow I'll check what's wrong.
[Xperia SP Android Development] cipetonk:
I flashed the kernel, wiped cache & dalvik cache & then reboot normally

then I find in kernel adiutor that 2nd core is always on @1.99ghz & 3c toolbox pro recognized that it was always performance, I changed to other govs but then the kernel always revert it to performance

I'm on AICP by Adrian with previous settings from helium 56.4 set on boot btw
[Xperia SP Android Development] Tomoms:
Ok, I'll check what's wrong and keep you informed.

EDIT #1: [MENTION=4258328]cipetonk[/MENTION] I think I know what's the problem. I'll try to fix this bug later today.
[Xperia SP Android Development] Tomoms:
I've uploaded v58.1, it fixes the bug reported by [MENTION=4258328]cipetonk[/MENTION].
[Xperia SP Android Development] polo_joe:
Kernel 58.1 works smooth for me on lineageos 15.1 experimental.
[Xperia SP Android Development] cipetonk:
v58.1 is really good

both cores are no longer forced online

audio stuttering in FPSe with advanced openGL is gone
[Xperia SP Android Development] polo_joe:
58.1 is also smooth on my los 15.1

Thanks!
[Xperia SP Android Development] cipetonk:
hi [MENTION=5727088]Tomoms[/MENTION], sometimes the kernel reverts min CPU online to 2, is there any way to keep it 1?
[Xperia SP Android Development] Tomoms:
The kernel should bring online all CPUs each time you unlock your phone; then, when you lock it again, the number of minimum online CPUs is set to 1, to save power in idle.

There is no way for you to change this behavior unless I recompile the kernel.

I think the current setup is the best solution, since when actively using the phone, the 2nd core is continuously hotplugged, and this is expensive in terms of battery drain. So I decided to always keep both cores online when the screen is on, and let the kernel turn off the 2nd one when the screen is off.
[Xperia SP Android Development] Evilmonk100:
Can i install this kernel on my xperia sp resurrection remix rom?. Is any one install it. Also if i get stuck on bootloop what to do at that time to slove stuck bootloop problem.
[Xperia SP Android Development] cipetonk:
you may want to read 2nd post of the thread to prevent bootloop

but if it occurs you can dirty flash the rom once again, or extract boot.img from the rom zip and flash it with flashtool
[Xperia SP Android Development] globe79:
I'm just writing to tell you, I'm giving v58.1 a try together with [MENTION=2233641]AdrianDC[/MENTION] AOSP (20180905) as promised :) Looks to be smooth! I need some time to evaluate because I have some problems with TWRP in FOTA mode (totally not related to Helium kernel). It stops me from partial flashes and tests. Could some of you take a look at my fresh post https://xdaforums.com/showpost.php?p=77716542&postcount=233 to put some light on my case?
[Xperia SP Android Development] cipetonk:
after flashing zram_size.zip, whatever the value in edit.sh, mine is always 47.7 MB in apps2sd pro & 40 MB in kernel adiutor [MENTION=5727088]Tomoms[/MENTION] what can I do to revert to 400 MB?

reflashing the kernel doesn't help
[Xperia SP Android Development] Tomoms:
Reflash the ROM and then the kernel. That zip is very old and for some reason it doesn't work anymore, apparently. I'll try to make a new version of zram_size, I'll send it to you so you can test it.
[Xperia SP Android Development] cipetonk:
thanks, it works, the new zram_size.zip also works
[Xperia SP Android Development] Tomoms:
Great, thanks for confirming it!
[Xperia SP Android Development] Tomoms:
I've released Helium v59!

From now on, I'll start naming the different zips in a simpler way, as I used to do until some time ago: helium_v**_MN.zip is the one for M/N ROMs and helium_v**_O.zip is the one for Oreo ROMs. To say the truth, some very old builds of our Oreo ROMs require the M/N version to be flashed, but I guess (and hope) that nowadays no one is using such outdated builds.

v59 brings lots of f2fs updates and a few very important fixes for maple. Some general improvements (especially for the ext4 fs) are present as well.
[Xperia SP Android Development] ouzqan:
Hi man can you port v.59 for Android pie?
[Xperia SP Android Development] Tomoms:
It'll come in due time, don't worry.
[Xperia SP Android Development] ouzqan:
Okey we waiting but this Phone need much kernel. :D
[Xperia SP Android Development] Evilmonk100:
but can i install it on resurretion remix nouget rom?
[Xperia SP Android Development] cipetonk:
yes you can
[Xperia SP Android Development] Evilmonk100:
How to upadate helium version every time i required to flash new zip? I already have installed magisk can it will create problem for helium installation? And thank you for ur reply.:)
[Xperia SP Android Development] cipetonk:
just flash the new verison zip, won't conflict with magisk
[Xperia SP Android Development] Evilmonk100:
After flashing kernel through twrp wipe dalvik and cache is required?
[Xperia SP Android Development] Tomoms:
Nope.
[Xperia SP Android Development] Evilmonk100:
Afte flashing the kernel my fota recovery is wipe out? And how to uninstall helium kernel if anything goes wrong.
[Xperia SP Android Development] Tomoms:
Flashing my kernel won't erase your FOTA recovery. If you want to revert to the default kernel, just reflash the ROM you're using (no wipes are needed).
[Xperia SP Android Development] Evilmonk100:
Finally i have install helium kernel v59 on RR Nouget rom.it will be Improve performance and also reduce heating issue. Everything is working good. Thanks tomoms and entire team.
[Xperia SP Android Development] Tomoms:
Hello!

I've released a new version of my kernel. It's the first one to support Pie ROMs, and it includes some miscellaneous updates (including the latest sdcardfs updates) and security fixes. I've used a new toolchain, based on GCC 8.2, to build this kernel and I've removed a few optimizations that could be harmful.

That's all, for now. Development has been slow for a while and it'll be slow for some more time, but it's definitely not dead!
[Xperia SP Android Development] cipetonk:
don't know why, v60_MN is very laggy and give me force closes

revert to v59 and everything is ok
[Xperia SP Android Development] Evilmonk100:
On which rom you had try this?
[Xperia SP Android Development] Alvichone:
In v60 pie version wifi don't swicht on. Reflash the v60 kernel again but the issue persist.

And a error window appear saying that bluetooth is not working.

Thanks for the work Tommons.View attachment 4661502
[Xperia SP Android Development] Tomoms:
Sorry, I forgot to mention that Pie users need to flash Adrian's kernel permissive patcher after installing Helium, otherwise Wi-Fi and Bluetooth won't work.

Just flash that zip and the issues will be gone :)

This is weird. v60 on Pie works perfectly. What ROM are you using?
[Xperia SP Android Development] Evilmonk100:
Bro but i will dont face any issue like foce close and lagging . I have install this on my RR nouget rom. And everything workig fine and great than previous. Thanks tommos and entrie team.
[Xperia SP Android Development] Onawt:
I can confirm as well that everything is working fine with v60_MN on an up-to-date install of LOS14.1
[Xperia SP Android Development] cipetonk:
AICP
[Xperia SP Android Development] globe79:
Dear [MENTION=5727088]Tomoms[/MENTION] ,

I'm just writing to confirm fully working ecosystem of your helium_v60_O.zip flashed (clean) over lineage-15.1-20181028-UNOFFICIAL-huashan.zip, together with current addonsu-15.1-arm-signed.zip and open_gapps-arm-8.1-pico-20181220.zip

I've got a feeling that [MENTION=2233641]AdrianDC[/MENTION] is phasing this phone out, but the above setup should be perfect for an average user!

I'm observing the amount of downloads on androidhost servers (Adrian's builds and yours) and see that userbase is decreasing, but my phone is still in perfect conditions thanks to both of you.

Thank you again! :)
[Xperia SP Android Development] AdrianDC:
I'm not phasing Huashan or Blue devices out, I've just been extremely busy with work over the last months and other things,

but still continue to overview & participate over code reviews & fixes whenever possible, and some interesting things might come very soon..
[Xperia SP Android Development] akimester:
Hi Tomoms !

Installing helium_v60_P.zip removes root access (SuperSU/bootbridge) from lineage-16.0-20181001-UNOFFICIAL-huashan.zip

Is this normal or am i miss something ?!
[Xperia SP Android Development] Tomoms:
I don't know why it happens, but anyway, just remember to reflash SuperSU after installing/updating the kernel and you're fine.
[Xperia SP Android Development] cipetonk:
it works with RR nougat, but there is no hotplugging in kernel adiutor?
[Xperia SP Android Development] s bandit:
helium v59 work fine on lineage 14.1,but v60 have problem,for example when I open a game stay in loading page and after 1 min close game cant play games but v59 haven't this problem .

lineage os 15.1 have this problem too such as helium v60.plz fix it
[Xperia SP Android Development] Tomoms:
Hello everybody!

I just wanted to let you know that soon I'll start working on a new Helium kernel release. I don't know when I'll manage to finish & release it though (probably within one month). Also, it'll most likely be the last one before I stop working on the SP :(

I'll keep you informed.
[Xperia SP Android Development] needperformace:
does it support?

Does it support sony xperia sp c5303:confused:
[Xperia SP Android Development] Tomoms:
Yes, of course.
[Xperia SP Android Development] laim_name:
So, as i see, it is a dead of SP. 6 years of good experience. Now i'm on XZ1 Compact.
[Xperia SP Android Development] Tomoms:
Yes, the community of active users is very small, but I don't consider it dead yet! I had promised one last version of my kernel for the SP, then never released it, but I assure you all that it will come! Sooner or later haha :D
[Xperia SP Android Development] xperiangood:
Hi

Can it be used on a Resurrection Remix Nougat ROM v5.8.5 ?
[Xperia SP Android Development] Tomoms:
Yes, provided that you flash the correct version.
[Xperia SP Android Development] xperiangood:
Thanks ...

By flash this Kernel A new software will be added to the phone?

I mean , the software to control Kernel
[Xperia SP Android Development] Tomoms:
No, you have to install it separately.