yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] Tomoms:
This sounds really weird. However, I'm not interested in how weird v27 is, I'll rather try to fix the issue on v28.
[Xperia SP Android Development] hafizhlf:
Is this kernel support MoKee OS ?
[Xperia SP Android Development] Tomoms:
Mokee is based on Marshmallow, so yes.

EDIT: [MENTION=4258328]cipetonk[/MENTION] epic fail. I did a stupid mistake in v28 so it's very possible that the CPU doesn't boot at 1728 MHz. Tomorrow I'll try to fix it.
[Xperia SP Android Development] wongyuhao:
V28.1 it seems to be stuck on unpacking kernel
[Xperia SP Android Development] wongyuhao:
My bad, seems to be a CM14.1 problem, problem persists even with v27 and v28.1
[Xperia SP Android Development] KrDigz:
Thanks for the report. I was about to install helium over AOSP 7.1... ????
[Xperia SP Android Development] Tomoms:
Try to install it anyway. The issue doesn't happen to me, for example. It happens quite rarely actually, only to some users. I've never ever faced it. Since I need reports of this error in order to let the users try a fix I have come up with, please try to flash the kernel. If it gets stuck, just shut down the phone. It will boot again using stock kernel, as usual.

It's not a CM14 related problem, read my answer above. It's just totally random.
[Xperia SP Android Development] KrDigz:
Flashed helium v27 successfully. But since im on Aosp 7.1, no root, then i cant tweak some of its features esp the usb charging... ????
[Xperia SP Android Development] Tomoms:
Unfortunately there's no way to tweak the values without root. So Helium is completely useless on AOSP Nougat for now.
[Xperia SP Android Development] makritomko1:
It will works

It will works this kernel with Stryflex Marsmallow 2.0 rom?

Thanks in advance.;)
[Xperia SP Android Development] hamed24:
Yes, this kernel work on all N & M ROMs for XSP like stryfelx
[Xperia SP Android Development] Tomoms:
Hello, I've been preparing v29, a big update, for the past 5 days. I'll release it very soon but first I need someone on a Marhsmallow ROM to send me a PM. I need a tester, but he/she must use CM13 or any other Marshmallow ROM. Thank you!

EDIT: enough testing has been done, thanks to [MENTION=7262798]Tazusp[/MENTION] and [MENTION=6995601]Iekuta[/MENTION]
[Xperia SP Android Development] Iekuta:
Could anyone tell me how to turn off the Z-RAM ?
[Xperia SP Android Development] ak.akshay:
i can help u with v29 as my xsp is lying down noting to do on it :P
[Xperia SP Android Development] Tomoms:
I had already found two testers and the kernel has been tested enough. Next time I need some testers I'll contact you! Thanks for your willingness :)
[Xperia SP Android Development] Midgardsormur:
I double the question. Is there any working way to completely disable Z-RAM?
[Xperia SP Android Development] Tomoms:
How to disable ZRAM or change its disksize

[MENTION=3137704]Midgardsormur[/MENTION]

Of course there is a way. This post will be helpful for all those who want to change size to or disable ZRAM. Since several months, in fact, for some reason not everyone is able to simply change the value in Kernel Adiutor.

So the tutorial is pretty simple:

download this file: https://www.androidfilehost.com/?fid=529152257862669636

unpack the zip and edit the file called edit.sh which is in the "tools" folder. Change the "219430400" to the desired size. 200000000 is ~200 MB, 400000000 is ~400 MB and so on. Don't touch the "419430400"

repack the zip and flash!

The zip must be flashed after every ROM or kernel change/update/reflash.
[Xperia SP Android Development] Midgardsormur:
Oh, thanks! Looked for that for quite some time already. So, as far as I understand, 0 value will disable Z-RAM completely?

P.S.: Sorry for being off-topic.
[Xperia SP Android Development] Tomoms:
0 will disable it indeed!
[Xperia SP Android Development] Andreus94:
I tried 4 times, no luck, always unpacking kernel...
[Xperia SP Android Development] Tomoms:
Don't worry, v29 will be released tomorrow and it'll use the kernel injector installer which was used until a few weeks ago. It never fails its task of installing the kernel :)
[Xperia SP Android Development] Tomoms:
Helium v29 is available

Hello!

I've uploaded Helium v29 to AFH. It's one of the biggest, if not

the

biggest update of this kernel I've ever provided. There are lots of important under-the-hood changes.

A few tips: before installing, remove /system/etc/init.d/01helium if present, and after installing the kernel re-check your CPU governor settings in Kernel Adiutor because chances are you will have lost them.

A long explanatory post will come tomorrow ;)

P.S.: this being a huge kernel update, I need your feedback more than ever! Write your opinion and tell me how you find this kernel not only if you face some problems, even if the kernel works fine for you!
[Xperia SP Android Development] destiny4life:
Is v29 is compatible with CM 14.1?
[Xperia SP Android Development] Tomoms:
There is a Q&A thread for this kind of questions! Yes it is, anyway.
[Xperia SP Android Development] laim_name:
v29 works nice but i have a bit more lags than on adrian's kernel

but i dont change any settings in kernel adiutor

OH, sometimes phone dont want to wake up so i need to press power button about three times

UPD: also google chrome is laggy with this kernel

and i dont know what's with battery drain just because i flashed this kernel only yesterday evening
[Xperia SP Android Development] cipetonk:
v29, max freq is set to oc freq many times by the kernel itself
[Xperia SP Android Development] Tomoms:
Remove /system/etc/init.d/01helium, uninstall Kernel Adiutor and/or any other kernel tweaking app, reflash the kernel and reinstall Kernel Adiutor.
[Xperia SP Android Development] cipetonk:
doesn't work, still same issue

edit: solved after executing 01helium manually, kernel adiutor fail to execute script on boot
[Xperia SP Android Development] Tebex:
Thanks man! My phone wasn't stable at all after flashing helium, but when i just ran that 01helium script it's really FASTER.
[Xperia SP Android Development] Nik_Simonov:
I flashed this kernel to stryflex (aosp) and I have some freezes :crying:

How to fix it?
[Xperia SP Android Development] lamtrinhan1503:
Try executing 01helium in kernel adiutor and see.:)
[Xperia SP Android Development] Nik_Simonov:
No changes :(
[Xperia SP Android Development] Tebex:
That worked for me. I did it by terminal emulator. Kernel auditor had some problems with running it correctly
[Xperia SP Android Development] Nik_Simonov:
How to do it by terminal emulator?
[Xperia SP Android Development] Tebex:
I've attached screenshot of 2 commands
[Xperia SP Android Development] Nik_Simonov:
Thanks!
[Xperia SP Android Development] lamtrinhan1503:
Do i have to execute it every time after i restart?And which app should i use?
[Xperia SP Android Development] Tebex:
Well it appears for me that it has to be repeated manually every time you reboot.
[Xperia SP Android Development] Tomoms:
I am aware of the issues of v29 and I apologize. Tomorrow morning I'll release v30 and I'll write the long post I promised for several days ago. What ROM are you guys using?

EDIT: update delayed to tomorrow (Monday).
[Xperia SP Android Development] Tebex:
My rom is CyanogenMod 14 (19.11.2016) from AdrianDC
[Xperia SP Android Development] Tomoms:
If you use CM the script should be automatically executed at boot. Add

mkdir /data/data/testdirectory

in a new line at the end of the script, and after a reboot check if the /data/data/testdirectory directory exists.
[Xperia SP Android Development] Tebex:
I 've added this line, and after reboot the directory wasn't there. I manually activated script through terminal emulator, and after this directory appeared
[Xperia SP Android Development] Tomoms:
I've uploaded v30

Hello guys!

Finally, after lots of days and delays, I've published Helium v30. This is an extremely important update because it polishes up v29 which was a very substantial update that had, as usual, some bugs and defect. Now I'm going to explain what changed, and why.

The installer:

I brought back the anykernel installer zip but with the helpful testing of [MENTION=5662807]Andreus94[/MENTION],

I managed to fix the "unpacking kernel" loop for good

. What's more, now the installer automatically detects whether you're using a CM-based ROM and in this case it creates a simple script in /system/addon.d that makes your custom 01helium init.d script persistent over ROM updates. So users of AOSP-based ROM's will need to re-edit the script after each ROM update, while CM-based ROM's users just need to do it once after they flash the kernel.

The backports:

from v29 onwards, the whole cpufreq and workqueue frameworks have been backported from Linux 3.10, bringing significant enhancements in performance and resource utilization. The drivers/char/random driver has been backported too (from Linux 3.16); also UKSM and other kernel drivers have been updated and improved. All of this, courtesy of [MENTION=6175749]GalaticStryder[/MENTION] and [MENTION=2376110]dorimanx[/MENTION], whose commits have been used in the process of updating my kernel.

The new features:

in v29 and v30 I have included some new/updated features: msm_limiter and the AutoSMP hotplug have been completely renewed (thanks to [MENTION=3795148]neobuddy89[/MENTION]); the ondemandplus CPU gov. has been updated and two new govs have been added (HYPER and darkness). A new CPU hotplug has been implemented too (thunderplug), and I have nuked the CPUQuiet hotplug by Nvidia (it was way too invasive).

That's all, folks; as usual the kernel is up to date with Adrian's sources so you really won't be missing anything in this release.

Happy flashing :)

P.S.: the kernel cannot be downloaded from Kernel Adiutor for now. Could you please check whether you actually see the option to download Helium from KA? It looks like it's broken for me. Just need to be sure. Thank you!
[Xperia SP Android Development] cipetonk:
v30 boots @ 1.72 ghz :good: only have 5 secs @ oc freq

and less freezes compared to v29
[Xperia SP Android Development] laim_name:
tried to use v30 of helium -- seen lots of freezes (i did clean install of cm14.1 25.11.2016 nightly build, installed firmware, xperia framework and gapps), and when i tried to open x-plore, app just crashes. chrome was so slow too

i dont install kernel adiutor and just tried to use kernel as is

then i just reflashed cm zip for getting adrian's kernel

now all is good
[Xperia SP Android Development] Tebex:
I experience freezes too. Sometimes i need to reboot my device, because it doesnt respond for a minute

Somehow v29 is more stable for me. When in v29 and manually run 01helium script it's fast and stable.
[Xperia SP Android Development] laim_name:
Yep, v29 more stable for me too
[Xperia SP Android Development] Tomoms:
Hello, thank you for your feedback. Could you please post here the full list of tweaks/custom settings you applied to the kernel using Kernel Adiutor (or whatever you use) and tell me if you edited the 01helium script?
[Xperia SP Android Development] Tebex:
I only changed frequency and turned on the "/sys/kernel/msm_limiter/freq_control". All in v30 01helium script.

I also don't think this script in v30 is run at startup. But it just might be that i don't test it correctly.(i've added "mkdir /data/media/0/dirname" line at end of script. after reboot this directory wasn't there. After manually running it by terminal emulator the directory appeared at /data/media/0 )

EDIT: I installed CM 14.1 01.12.2016 from AdrianDC with v30 kernel and since then, i haven't experienced any forcecloses, freezes, etc. It's really stable. (I changed frequency in 01helium and enabled freq_control, and it is stable too after that )
[Xperia SP Android Development] cipetonk:
maybe only outdated ROMs have freezes
[Xperia SP Android Development] parkavenu:
It failed. The device doesn't connect in fastboot mode. When I plug it, flashtool shows it's disconnected. If I succeed to connect it in fastboot mode and the LED becomes blue and I choose the flash kernel in fastboot, Flashtool can't recognize it so nothing happen and it keeps to ask me to connect the phone. It's weird! Is there any chance something was damaged in the phone ?
[Xperia SP Android Development] moozer:
Do you have all your device drivers installed? ADB drivers?

Is Fastboot installed on your PC?
[Xperia SP Android Development] parkavenu:
Oh :( , it seems not.

I upgraded to windows 10 recently and install flash tool. I've tried to install drivers that comes with flash tool app, but it fails. I don't know why :crying:
[Xperia SP Android Development] DahakePL:
Disable driver verification or something then install them
[Xperia SP Android Development] endursa:
i am having the problem with cm12.1 1124 nightly that the incall touch ui is not disabled when using this kernel, can this be fixed?
[Xperia SP Android Development] Tomoms:
This is a known bug, unfortunately I'm not a programmer so I don't know how to fix it.
[Xperia SP Android Development] endursa:
i think it has to do with the kernel codebase!

i tried tangerine kernel v 11.1 and this kernel did not have the incall touch issue, BUT in combination with cm 2411 nightly i do not get WIFI because the wlan.ko module is not the correct version :(

could you compile a kernel based on tangerine v11.1 with working wifi for CM12.1 nightlys ?
[Xperia SP Android Development] AbboodSY:
[MENTION=5727088]Tomoms[/MENTION] there's a bug in fauxsound in V2.2 on CM13, when i increase the speakers gain the sound just doesn't get loud at all like its not getting effected, and when i reboot the sp the values gets back to default.. Hope you fix it in the next update

Regards man..
[Xperia SP Android Development] Tomoms:
The reset after reboot is normal. Will test a fix for both issues ASAP (and I'll release a new version soon too).

EDIT: on L the gain works. If you're using Kernel Adiutor use the "+" and the "-" buttons, do not swipe on the slider. I guess FauxSound can't be controlled perfectly through Kernel Adiutor, the paid official "FauxSound" app is probably the only one that works flawlessly.
[Xperia SP Android Development] Tomoms:
I'm testing v3 right now and it's working fine! If there's no problem I'll release it on Wednesday. It will mainly bring CPU improvements :)

Inviato dal mio Xperia SP utilizzando Tapatalk
[Xperia SP Android Development] endursa:
is a fix for the incall touch bug in sight?
[Xperia SP Android Development] AdrianDC:
Spending an awful time on it, including the nights I should sleep, so please be patient,

it's not targeted to you, but to all the people PMing me, contacting and asking..
[Xperia SP Android Development] endursa:
sorry i did not mean to annoy you with my rant :D you are doing an awesome job breathing new life into the xperia sp!

have a nice beer, or red bull, whatever you prefer :highfive: 1LG38427PX786005C
[Xperia SP Android Development] Andreus94:
Yesterday and today my phone with latest Cm12 .1 and helium 2.2 doesn't wake up with power button. The only solution is the reset button. What is the cause of the problem?

Inviato dal mio Xperia SP utilizzando Tapatalk
[Xperia SP Android Development] Tomoms:
I don't know, but you can help me to find out. The next time it happens, use the reset button to switch off the phone, turn it on again and when it has booted copy this file: /proc/last_kmsg and paste it in your internal memory. Then send it to me in a message. Thank you!
[Xperia SP Android Development] AdrianDC:
Thanks ! :) :good:
[Xperia SP Android Development] vvaklnprm:
DO NOT flash on last Temasek 5.1.1 build

ROM becomes uber-laggy and unusable
[Xperia SP Android Development] Tomoms:
Can you share your kernel settings?

EDIT: v3 delayed to tomorrow.
[Xperia SP Android Development] Tomoms:
Brand-new version!

Hey guys, I've released Helium v3. It's a big update and - you'll be happy - a good one. I feel like it's way smoother than v2.2 or the previous versions, but I don't know why. Maybe because of the toolchains.

Please test it and report any issues (especially the

CPU frequency bug

)!!

Cheers :)
[Xperia SP Android Development] shavendum:
[MENTION=5727088]Tomoms[/MENTION]: the cpu scaling issue still remains. Having said this, the phone feels smoother at 1.4 as compared to stock.

Btw, there was supposed to be two different builds of this kernel, weren't they?
[Xperia SP Android Development] Tomoms:
v30.1 is an important update for those using Android 7.1.1 because it includes the fix for the tethering issue. Anyway, I suggest that you all flash this update.
[Xperia SP Android Development] ketuuu:
overclock issues

how can i overclock my phone? IT is always at 1728mhz:(
[Xperia SP Android Development] Tebex:
You will have to unlock this option in 01helium script (/system/etc/init.d/)
[Xperia SP Android Development] Tomoms:
Unless you've enabled MSM limiter in /system/etc/init.d/01helium, you have to install Kernel Adiutor and simply change the max frequency.

EDIT: v30.2 released. It includes the security fixes included in today's nightly, and it should be downloadable from Kernel Adiutor (I need confirmations).
[Xperia SP Android Development] ghst7:
Hey [MENTION=5727088]Tomoms[/MENTION] just to let you know, don't know if this happens just on my end but, 30.2 shows up in kernel auditor but it fails to download
[Xperia SP Android Development] Tomoms:
On my phone, for some reason, in Kernel Adiutor I can't even see Helium kernel :)

Anyway thanks for notifying me about this problem. It'll be fixed in a couple of minutes!

EDIT: should be fixed now.
[Xperia SP Android Development] ketuuu:
And how can i do all that?
[Xperia SP Android Development] Tomoms:
For the moment, don't mind msm_limiter. It's disabled by default. Install the Kernel Adiutor app, go in the CPU tab and you'll see the options well explained on your phone's screen. You'll be able to change the max frequency very simply.
[Xperia SP Android Development] ketuuu:
There's not a option to go beyond 1728mhz
[Xperia SP Android Development] Tomoms:
Don't you see this when you tap on Maximum CPU Frequency?
[Xperia SP Android Development] ketuuu:
I don't see anything higher than 1728mhzðŸ¤”
[Xperia SP Android Development] Tomoms:
At this point the problem gets burning: are you really sure you have flashed Helium?

Open Settings > Phone info and tell me if, in "Kernel version", you see '3.4.113-Helium' or '3.4.113-huashan' or '3.4.113-cyanogenmod'.
[Xperia SP Android Development] ghst7:
Yep, I can confirm that, downloaded and installed 30.2 from kernel adiutor.

So far so good, as always thanks for your efforts with this kernel.
[Xperia SP Android Development] parquet:
Quote:

Don't you see this when you tap on Maximum CPU Frequency?

Quote:

I don't see anything higher than 1728mhzðŸ¤”

Hello,

on last CM 13 08-12 Adrian DC,

Same thing, don't higher than 1728mhz !
[Xperia SP Android Development] Tomoms:
I ask you the same question: are you really sure you have flashed Helium?

Open Settings > Phone info and tell me if, in "Kernel version", you see '3.4.113-Helium' or '3.4.113-huashan' or '3.4.113-cyanogenmod'.
[Xperia SP Android Development] parquet:
I ask you the same question: are you really sure you have flashed Helium?

Open Settings > Phone info and tell me if, in "Kernel version", you see '3.4.113-Helium' or '3.4.113-huashan' or '3.4.113-cyanogenmod'.

My error, rectification, of memory, it arrived on CM13 AdrianDC of 04-12 + Helium!

I turn at present with CM13 AdriandDC "08-12 Stable"!

Sorry I shall try another time time, not for the moment!

The doubt, I had to forget to install Helium !!!
[Xperia SP Android Development] ketuuu:
Ok, everything is alright now. Thanks for help?! Is there anything else i can do to somehow boost my phone?
[Xperia SP Android Development] Annoyingmouse:
It does not boot on aosp 7.1.1. Sad because I ve flashed this rom only for you kernel. Using latest 30.2
[Xperia SP Android Development] Tomoms:
Please provide the following information: does the phone get stuck on the SONY logo or on the ROM's boot animation? Provide me a kmsg and a logcat, both taken while attempting to boot the phone.
[Xperia SP Android Development] Annoyingmouse:
Actually it dosen't get stuck but instead it automatically boots into TWRP recovery and the only solution to make it boot is to reflash the ROM.

EDIT: after I've flashed an older version of TWRP 2.8.7.0 the phone booted normaly and the kernel works like a charm.Thanks you for your good work!
[Xperia SP Android Development] Tomoms:
Hello lads, v30.3 is online and it only brings source updates to be on par with Adrian's latest updates :)

Due to the fact that AFH is giving issues, the kernel for the moment cannot be downloaded from Kernel Adiutor.
[Xperia SP Android Development] cipetonk:
I got stuck at "unpacking the kernel" and internal sd was formatted when flashing v30.3 from TWRP

must flash v28.2 first and then v30.3 without reboot

any app to restore formatted internal memory? my saved games were there
[Xperia SP Android Development] Tomoms:
I can assure you the installer hasn't changed in v30.3. There is not even one chance that the kernel installer wipes the sdcard. If you still have the zip file, check its md5sum and verify it's not different from the one you can find on AFH.
[Xperia SP Android Development] cipetonk:
agree, it's not kernel's fault, it was wiped several times when failed to flash ROM
[Xperia SP Android Development] finnal123:
i'm facing problem, my init.d not working, i uninstalled ultimate blazing speed mod and my init.d was disappered. Reflash kernel but init.d folder empty! i'm using v30.3 and stryflex mm rom v2.2.

i used govtuner mod, in terminal it said init.d not working!

sorry for my bad eng!
[Xperia SP Android Development] Tomoms:
Styrflex is based on AOSP so init.d doesn't work, it's normal. Instead, you should have a /system/etc/su.d folder which works like init.d: place the scripts there.
[Xperia SP Android Development] laim_name:
I dont know what was a problem (about a month ago i installed this kernel and it sucks and lags), but this day i installed helium v30.3 and it works good

Nice work, tomoms! Thanks for this kernel!
[Xperia SP Android Development] cipetonk:
what rom are you using? I still have lags on lastest cm13 snapshot whatever the cpu gov is, revert to v28.2 and lags are gone
[Xperia SP Android Development] laim_name:
im using aicp rom now, it rocks
[Xperia SP Android Development] dorolan05:
me too... i got a freez for about 2

1-2 sec. occasionally
[Xperia SP Android Development] incisi ker:
im dont find helium v28.2, can you upload?
[Xperia SP Android Development] cipetonk:
https://dl.dropboxusercontent.com/u/38255247/helium_v28.2_MN.zip

afaik this is the latest stable version for marshmallow, 29 and above only good for nougat

cmiiw

and don't flash helium (whatever version) on cm13 december 2016 snapshot, you will have wifi issue, need extra patience to connect
[Xperia SP Android Development] Tomoms:
[MENTION=4258328]cipetonk[/MENTION] [MENTION=6655633]incisi ker[/MENTION] [MENTION=5590235]laim_name[/MENTION] [MENTION=4474663]dorolan05[/MENTION]

v29 and v30 have been two releases with lots of experimentation happening in the background. I've commited a huge amount of source updates and backports to the code. Moreover, I also started playing with optimization flags, and I've tried several sets of them, taking the cue from other (well known) custom kernels for other devices.

Although I test all the releases before publishing them, and I publish them only if I'm satisfied with the result, it's possible (but still weird) that, due to these optimizations, the kernels behave differently on the different ROMs you have installed.

Since it's very unlikely that the source updates are the cause of these possible freezes, in the next days I will experiment some more with GCC and its flags, starting from scratch by enabling only those that are used to build Adrian's kernels.

Together with Helium, I develop my whole knowledge in this field too.

Thank you for your patience, for your understanding and for getting involved in this project!

Stay tuned.