yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] Dr.TheMaster:
Man, we really appreciate your work for this amazing device, keep up the good work and we are with you, just please don't abandon 6.0.1 soon :D there are a lot of users who still prefer it over 7.1.1 (myself I use it only for Xposed) thanks overall, have a good time :)
[Xperia SP Android Development] Tomoms:
There are two new test builds in Helium's download folder. These testing releases are not unstable, they are only built with different optimizations. Don't even waste your time by trying the kernel called helium_test_1.zip, as I know it's not good. Try helium_test_2.zip and let me know if you feel it's smoother.

It should fix the freezes and lags.

Please let me know!

Thank you.
[Xperia SP Android Development] Lubakabra:
Second test build works just as stock or even better (AOSP latest build)...No freezes, lags ...quite stable. Thank you ??
[Xperia SP Android Development] lamtrinhan1503:
Can I flash it over LP?
[Xperia SP Android Development] cipetonk:
what ROM? cm13 or cm14?
[Xperia SP Android Development] Lubakabra:
No ? it's AOSP 7.1.1 ?

---------- Post added at 08:53 AM ---------- Previous post was at 08:50 AM ----------

Flashing anything newer than v13 is not a good idea...It can brick your phone. But v13 and older versions are suitable for LP?
[Xperia SP Android Development] Tomoms:
Test build no. 3: https://drive.google.com/file/d/0B-msDWtyu1JrS3NCX3F3aUhwcDg/view?usp=drivesdk

It's available only from that link. Please test it and let me know. I feel it's even smoother than the previous build.

Reuploaded as v31.
[Xperia SP Android Development] lamtrinhan1503:
Can I flash it over CM13 SNAPSHOT?
[Xperia SP Android Development] Tomoms:
Yes.

EDIT: the latest test build has been reuploaded as v31 as it works smoothly and without problems. Do let me know what you think about it.
[Xperia SP Android Development] lamtrinhan1503:
Kernel is good, haven't seen lag yet. Im using Stryflex MM
[Xperia SP Android Development] dorolan05:
hi sir.. tnx for ur effort...godbless u..

anw . i dont know if i only still felt the freeze for about 1-2secs every now n then.. is there any special installation? coz i still have freeze.. thankyou!
[Xperia SP Android Development] finnal123:
Can i ask a silly Q?

01helium doesnt appear in su.d or init.d in stryflex rom, so i dont need it?
[Xperia SP Android Development] Tomoms:
It's not silly at all! That file is not strictly needed to run the kernel, but it

should be there

to allow you to fully control certain features. Did you root Styrflex with SuperSU? Can you tell me if the su.d directory is placed in /system/etc?

Thank you.

What kernel options and parameters did you change?
[Xperia SP Android Development] finnal123:
Stryflex mm has root as default, su.d folder is placed in system folder, not in etc folder
[Xperia SP Android Development] Tomoms:
Thanks, I will fix the installer soon.
[Xperia SP Android Development] dorolan05:
i didnt changed anything....
[Xperia SP Android Development] Tomoms:
New release later today. I'm still experimenting with optimization flags.

EDIT: v32 is up! [MENTION=4474663]dorolan05[/MENTION] this version will probably improve your experience.

The source is not yet on GitHub, I'm pushing it tomorrow together with the commit that will allow you to download v32 from Kernel Adiutor.

Please provide feedback about general performance and smoothness.
[Xperia SP Android Development] finnal123:
oh man, i have freezes on apps, watching video on YouTube like a pain! Image stop but sound still continuing
[Xperia SP Android Development] laim_name:
that's true

i'm using aicp 12.1, i haven sd card in my smartphone and i havent any kernel settings editor on my smartphone, and i have only 20 user (and 102 system) apps on my phone

and

how i install kernel:

download it

delete all things from init.d

go into twrp

flash rom (i had an update)

flash kernel

wipe cache and dalvik\art cache

reboot

it works good about 15 minutes but then... khm... its all about lags

Tomoms, if this kernel works good on your smartphone, please do backup of your rom with this kernel for us (just delete google account\facebook account and other personal things) and share it

maybe im doing something wrong
[Xperia SP Android Development] Tomoms:
Don't worry guys, unfortunately I've released the kernel, after changing a small thing, without testing it, because I hoped it would have been alright. Actually, it's one of the worst kernels I've ever made! New, smooth version will come out in less than one hour :)
[Xperia SP Android Development] laim_name:
ok, wait fixed version for testing :)
[Xperia SP Android Development] Tomoms:
Helium v32.1: https://www.androidfilehost.com/?fid=529152257862694779

Helium v32.2: https://www.androidfilehost.com/?fid=673368273298922955

if v32.1 is no good, try v32.2 that will be as smooth as expected.

On v32.2 I'm watching a video on YouTube (720p 60fps) without a single lag.
[Xperia SP Android Development] laim_name:
32.2 works nice

i will stay on it
[Xperia SP Android Development] Tomoms:
v32.2 is just v31 + optimizations, I'll gradually add the features of v32 to see what code causes this horrible performance, and once I find out, I'll fix/remove that code and release v33.

EDIT: it's been easier than I thought! v33 is up. Please [MENTION=5590235]laim_name[/MENTION] and all the others, test it if you can. I tried it and it seems to be ok.

Thank you!
[Xperia SP Android Development] laim_name:
oh you need to stop this and test your kernel before new releases :silly:

wait, ill test it for one day and say smth about it (there are 2:00 am now and i need to go sleep, but i have an exam at 9:00 am... rawr)
[Xperia SP Android Development] Tomoms:
Don't worry, no hurry! I'm testing it too, it's smooth.
[Xperia SP Android Development] Krawzer:
hey, Tomoms, thanks for the Kernel

I was wondering, what Helium configurations do you use?
[Xperia SP Android Development] laim_name:
i have freezes on v33 when i playing jusdice\scrolling vkontakte (its like facebook), listen music

it just stopped to work once in 5-10 minutes and you will wait abou 30-60 sec when it'll work again

music stopped, image freeze, power button dont work

i dont use any kernel setting editor, just because for first i want to be sure that kernel works good and it isnt my problem that it stucks
[Xperia SP Android Development] ghst7:
Well I've been using v33 for some hours now and here's my experience in the last few days:

v32 was bad, freezes everywhere;

v32.1 not bad but also not good as before(31);

v32.2 good, here we got back on track;

v33 so far so good;

v33 is smooth as before and no more freezes on general use, YouTube works fine, music player also working fine, actually so far haven't encountered any trouble.

As always thanks for your efforts Tomoms.
[Xperia SP Android Development] Tomoms:
A new version is available :)

Now Helium uses only one suspension driver (state notifier), as powersuspend has been dropped.

v34 is available via Kernel Adiutor as well.
[Xperia SP Android Development] milibombi:
i get booloop on sony logo. how can install with out problem.
[Xperia SP Android Development] Tazusp:
Give us some more information, like ROM, version, etc.

Just to remember, always do a backup of the ROM before install something, in this case a backup of the Kernel.

I have installed in the last version of the infected build CM13 and had no problem.
[Xperia SP Android Development] Tomoms:
Turn the phone off and then power it on again. Very rarely it happens to me too.
[Xperia SP Android Development] milibombi:
i use the lineage os 7.1.1 . i had problem with another rom afte installed the kernel and rebooted my phone :(
[Xperia SP Android Development] finnal123:
Random reboot :p
[Xperia SP Android Development] cipetonk:
do v33 and 34 have wifi issue on cm13 snapshot december 2016?
[Xperia SP Android Development] Tomoms:
WiFi issue? What are you talking about? (you can infer that my answer to your question is negative)
[Xperia SP Android Development] cipetonk:
please refer to post #1212, it was my personal experience, since then I do not conduct any tests to later helium version
[Xperia SP Android Development] Tazusp:
If u still are able to enter in the TWRP (during your boot the LEDs light still flash, some times at boot loop I just hard reboot again and them it works normally) u can try:

-clean cache and dalvik cache; if it didn't work.

-flash the previous version of your kernel or the whole ROM.

If you can't go to to Recovery:

Flash the image of the kernel via fast boot, and them reinstall your rom. (I don't think that your are going to lose your data, but just to be sure, make a backup of it before reinstall the rom).
[Xperia SP Android Development] Shanchak:
The smartphone restarts when you try to delete any application (CM 13).
[Xperia SP Android Development] milibombi:
what should we do with that?
[Xperia SP Android Development] milibombi:
Itested on xosp mm & ng , cm14 , stry flex mm , cm13 roms but looped on sony logo:rolleyes:
[Xperia SP Android Development] finnal123:
That's last-kmsg file
[Xperia SP Android Development] Tomoms:
That last_kmsg doesn't show any kind of error. The last time I had a reboot with a similar last_kmsg was several months ago. I honestly don't know what's the problem, if it's the kernel fault or not. Anyway: there's a new version.

You must have done something wrong then. How did you install the ROMs and the kernel. Provide a detailed explanation.
[Xperia SP Android Development] milibombi:
I just wipe(system,data,chache,dalvik) & then install the rom,gapps. and reboot my phone and when booted without any problom then reboot to recovery and install the kerenel and when phone rebooted looped on logo.

the roms work without any problem before i install the kernel
[Xperia SP Android Development] Tomoms:
After flashing the ROM, did you flash TWRP with fastboot in order to flash the kernel? Or you had TWRP in the recovery partition?
[Xperia SP Android Development] dorolan05:
i still have a small freeze in v34 but manageable..

then i notice app not responding while freezing
[Xperia SP Android Development] milibombi:
i flash twrp zip file after i install the rom

---------- Post added at 05:22 PM ---------- Previous post was at 05:15 PM ----------

and then i install the helium kernel

---------- Post added at 05:30 PM ---------- Previous post was at 05:22 PM ----------

now i installed the kernel after install the rom without install the TWRP .

and now looped again
[Xperia SP Android Development] bo_cah:
i did a same with u, then i stucked at sony bootlogo

so i did these steps >> flash rom + flash gapps + flash superSU + flash helium v34.1 than my phone booted normally.. i am using cm12.1

i hope it helps you :fingers-crossed:

Edited:

What is the best setting for better batery life?? Anyone can give some suggesstion..
[Xperia SP Android Development] ExclusiveBFS:
Is it possible and safe to flash helium on 7.1.1?

I can't see anything on kernel auditior's downloads page, I guess I gotta do a manual install. But I've seen that a few people dealing with loop issue.
[Xperia SP Android Development] Tomoms:
Totally supported, as you can read in the thread's title or in my signature. I don't see anything in Kernel Adiutor's download section too, I have no idea why.
[Xperia SP Android Development] laim_name:
34.2 works good but lags as hell when youre trying to watch some video

No kernel adiutor, all kernel settings are default

logs that have been taken by catlog:

View attachment 4020951
[Xperia SP Android Development] cipetonk:
occurs in v34.2 too
[Xperia SP Android Development] Tomoms:
Helium will undergo a general overhaul in the next weeks. I hope that by testing extensively every single feature I'll be able to create a better kernel.

BTW, I don't have any lag during video playback. I use VLC.
[Xperia SP Android Development] K.A.T.S.:
Can someone give me the link or file of helium kernel V5 for lollipop? I want to give it a try on stryflex ultimate rom thanks!
[Xperia SP Android Development] laim_name:
View attachment 4035453

View attachment 4035452

View attachment 4035456
[Xperia SP Android Development] Tomoms:
New release!

This kernel seems to be better than the last ones. Please test and let me know. It includes all the latest updates Adrian pushed to Lineage + some more I've picked from here and there :)
[Xperia SP Android Development] K.A.T.S.:
I tried helium v35 on Stryflex Marshmallow and it seems better than the last one :) The only issue I experienced is short freezes... I'm looking forward for this kernel :D
[Xperia SP Android Development] Tebex:
Yes I tried it too and it was really fast. But I also expirienced those short freezes. What I noticed is, that if you press power button it gets back to life after a second, but nothing else helps.
[Xperia SP Android Development] Tomoms:
Are you using a Marshmallow rom?
[Xperia SP Android Development] Tebex:
Actually i use newest ressurrection remix 7.1(20.01.2017)

Edit: currently im using stock kernel, but i will flash helium and get more precise info.
[Xperia SP Android Development] Tomoms:
Thanks, let me know!
[Xperia SP Android Development] Tebex:
Ok, so after a few hours I have some info.

1. Theese short hangs are quite common, most of the time it's like i said press power button and after a few seconds it gets back to life. Two times it was so bad I had to restart.

2. I might be doing something wrong, but I think, that on Ressurrection remix init.d is not run at startup. I added this line to 01helium:

mkdir /storage/emulated/0/newdir

And after a restart, this directory isn't created. But if I run the script manually (exec /system/etc/init.d/01helium) directory actually appears.

So in conclusion: very fast, but also quite unstable.
[Xperia SP Android Development] K.A.T.S.:
Any news in this kernel?
[Xperia SP Android Development] Tomoms:
Current status of things: the kernel is a bit of a mess, I've been very busy but now I've got some time for development. I'll improve the kernel, a little at a time. Thanks for your loyalty.
[Xperia SP Android Development] Tomoms:
v35 compiled with Linaro toolchain: https://basketbuild.com/devs/Tomoms/Helium_kernel

Please test the kernel and report whether there's more or less smoothness. Thanks! [MENTION=6358618]Tebex[/MENTION] [MENTION=7655966]K.A.T.S.[/MENTION]
[Xperia SP Android Development] K.A.T.S.:
Gonna test this out later and report as soon as I can :) Thanks Tomoms!
[Xperia SP Android Development] Tomoms:
Changelog for v36:

built with the latest Linaro toolchain based on GCC 6.3, with a few source updates and patches. The kernel seems definitely smoother to me, please test it and report back.

[MENTION=7655966]K.A.T.S.[/MENTION] you can throw away the other build, test v36 please.

Download link: https://basketbuild.com/devs/Tomoms/Sony Xperia SP (huashan)/Helium kernel
[Xperia SP Android Development] K.A.T.S.:
Edit: Just saw your latest post I didn't noticed it haha :p Gonna test your v36 and report back soon :)

Just tried your Linaro build but I experienced lag issues even I'm still not using any apps or after boot. It usually happens when I scroll and open apps. It's a different issue from your last build where I experienced short freeze issues. :)

---------- Post added at 12:30 PM ---------- Previous post was at 12:24 PM ----------

@Tomoms 404 page not found when opening your link ?
[Xperia SP Android Development] Lubakabra:
7

Link is broken but file is already there

https://basketbuild.com/filedl/devs... SP (huashan)/Helium kernel/helium_v36_MN.zip

[MENTION=5727088]Tomoms[/MENTION] v36 is Lit AF ⚡⚡
[Xperia SP Android Development] abhishek2945:
Actually i use newest ressurrection remix 7.1(20.01.2017)

so much lag in rom after flashing it damn irritating ..!!
[Xperia SP Android Development] Cyrus.xda:
Any Update For Lollipop?
[Xperia SP Android Development] Tomoms:
Nope. Lollipop support was dropped several months ago.
[Xperia SP Android Development] Cyrus.xda:
Hi Mr Tomoms I have a question from you last time I flashed v 35 over my lineage os 14.1 as a secondary rom but I have to Tell you I have multiple Roms and I flash this kernel to my second rom... I have another rom as a third Rom... This time after flashing I faced bootloop [bootanimation] even my recovery is gone if I have two roms only this problem is not happening is this issue remains in Version 36 sorry for bad explain Worse English
[Xperia SP Android Development] :
Goodday

Hey op nice rom, working great so far on my huasan c6603:good:

I want to ask does this rom require configuration for feature or it just work right out of the box??
[Xperia SP Android Development] Lubakabra:
It's kernel, not ROM

just flash it over MM or N ROM

if you want additional features, you must root your phone and install e. g. Kernel Adiutor, otherwise you can't do anything special
[Xperia SP Android Development] Tomoms:
The new v37 is Helium kernel "reborn" because, to eliminate the root of the recent instabilities, I made a leap backwards and restarted from Helium v30.1 (which was very snappy and smooth, according to users) and then added Fauxsound v3.8, the hotplug updates from v34 and most of the features introduced in v32. So in v37 you'll find: the smoothness of v30.1, the features of v34 and all of the source updates and security fixes pushed to Lineage's kernel by Adrian till now. The result is promising, I've been using it for a day and I haven't encountered a single freeze :)

But as usual, before celebrating, I must wait for the verdict of the most zealous judges, that is, you users! So please test it and give me feedback! Thanks :)

P.S.:

I'll make the kernel available to download through Kernel Adiutor tomorrow.
[Xperia SP Android Development] ma4a3er:
3 freezes till now flashed it 2 hours ago along with aicp 12.1 latest version
[Xperia SP Android Development] Tomoms:
Post your kernel settings with as many details as possible. After your next freeze, open a terminal emulator app and run

su
dmesg > /sdcard/helium.log

Then send me the helium.log file. Thank you.
[Xperia SP Android Development] Tomoms:
v37.1 is available (even through Kernel Adiutor)! It's a small update, but still worth flashing :)
[MENTION=5445530]ma4a3er[/MENTION] it's possible that this one will work better for you.
[Xperia SP Android Development] Tomoms:
v37.2 is up :)
[Xperia SP Android Development] adityav@xdad.com:
Can someone upload latest 37.2 build for 7.1.1...basketbuild is down ATM. Thanks in advance!

---------- Post added at 04:36 PM ---------- Previous post was at 04:32 PM ----------

Can you please mirror the links?..Thanks!
[Xperia SP Android Development] Tomoms:
Hey there! I'm back :)

Tomorrow I'll build and release a new kernel, a minor update with a few source fixes Adrian has pushed to our kernel.

EDIT: build available on Google Drive due to BasketBuild issues. Link: https://drive.google.com/open?id=0B-msDWtyu1JrNHVzSk4xVzFUd2M
[Xperia SP Android Development] X7SHaDe:
[MENTION=5727088]Tomoms[/MENTION] I would like to see Xperia SP perform with a smaller ZRam (preferably about 50mb or less). It is because I saw many other devices having only 1gb of RAM but can still manage doing multitasking (like chat heads of messenger on top of other apps without introducing UI lag, the devices I'm talking about have slower cpu than sp btw) . My suspicion is that when RAM is about to be filled, the kernel will push some memory pages to any swap device and expect that there will be indeed more free space equal to the amount of moved pages. But if the kernel moved the pages to ZRam (which acts as a swap device) and the ZRam is big, but the RAM is still being filled, the kernel will behave erratically due to unexpected mismatch in moved pages and the amount of "expected" free space in RAM - the kernel must double efforts to move more pages for more free space, which might never happen with an app needing large memory. This will cause the LMK to be triggered and kill System UI or any other apps. True, the RAM will be able to hold more memory pages but "Live" pages usable for "Active" processes will be reduced. So to balance this, I recommend having a smaller ZRam or a configurable one (the current ZRam implementation inhibits configuration after boot)

Edit: For clarity... Think of the situation like this

With ZRam:

Max Live memory = 830MB (SP RAM) - 400MB (ZRAM) = 430MB of memory

Max Memory pages = 430 + (400 + 400(0.4)) [this second term is an approximation of memory ZRAM can compress] = 990MB of memory

So we have small live memory for active processes but alot for others (we virtually added 160MB of memory but as stated, only 430MB is usable for active processes)

With smaller ZRam

Max Live memory = 830MB - 50MB = 780MB

Max Memory = 780MB + (50 + 50(0.4)) = 850MB

We have significantly more usable live memory for active processes, and virtually gained 20MB memory
[Xperia SP Android Development] AdrianDC:
Except ZRAM is not condemned RAM.

Some older devices with 512MB were in fact running with 100% ZRAM (not recommended but we saw that already).

By your assumption, 0 apps or OS would be running on that device, which is false.

Pages are compressed, when unused, but the whole size is not a blocked dead zone.
[Xperia SP Android Development] X7SHaDe:
But still, these compressed pages are swapped pages that are not usable for active processes. And btw, I never assumed that the size of zram is its size on ram in realtime. The size of zram is the size of the currently compressed pages, I know that. I calculated with the worst case scenario where zram reached its maximum defined size and explained other problems using a scenario where the kernel cannot gain the free memory it has to. (Swapped 4 pages, zram compressed it to 2, kernel only saw 2 pages freed (only happens when fully filled), kernel will swap again and again (performance penalty))

Anyway, tnx for the explanation

The problem must lie somewhere else then
[Xperia SP Android Development] Tomoms:
Anyways, if you'd like to experiment with ZRAM values, take a look at this post: https://xdaforums.com/showpost.php?p=69618238&postcount=1147

It'll let you change ZRAM's disksize easily.
[Xperia SP Android Development] Tomoms:
New build! v38 brings many source updates and backports from newer Linux versions. BasketBuild is still "partially down", so for now v38 will be available here: https://drive.google.com/file/d/0B-msDWtyu1JrWlVaRHB3LXBLUXc/view?usp=drivesdk
[Xperia SP Android Development] Tomoms:
v38.1

A new version is available on AFH and here: Google Drive

At the moment AFH doesn't allow downloading files, it shows an error message saying there aren't any mirrors. While they get things fixed, use the Google Drive link above. For this reason, I cannot update the Kernel Adiutor download links, so those used to using KA to download Helium will have to use a normal browser to go on Google Drive.

Talking about the release itself, it brings a new I/O scheduler, called "maple", that is basically a mixture of row and sio. It's hooked to state_notifier to behave differently when the screen's on and when it's off.

The most experimental change, though, is the new version of the CPU frequency tables I prepared. I've tweaked the L2 frequencies a bit so I need as much people as possible to try this version and let me know whether you feel it's smoother or not, if it drains more battery or less battery. Personally I couldn't find much of a difference, but I've only been using this kernel since yesterday night, a couple of days of testing could be necessary to feel the potential benfits.
[Xperia SP Android Development] Lubakabra:
Using v38.1 for 2 hours now and everything seems good. No lags, hang ups, etc..

P.S

Will zzmove be implemented in further updates? [MENTION=5727088]Tomoms[/MENTION]

TIA