yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] ongkhel:
why dont give you a try so you can know it by yourself :p
[Xperia SP Android Development] Tomoms:
I don't build kernels to burn phones and worsen RAM management. Anyway, it's more than understandable that you want to go back to Adrian's kernel. Since it's almost impossible that a kernel causes a bootloop, can you provide a logcat taken while your phone is bootlooping?
[Xperia SP Android Development] Cyrus.xda:
Sorry I don't mean your Kernel burn my phone but its on over clock 1.9gz default when im in kernel auditor and after very heat specially in charging its automatically restarting anyway my problem is that after flash your kernel when I update my rom to have original Adrian k it's goes to bootloop and I couldn't have a log or take a log in bootloop and beside I have multirom and im very rookie with multirom Mey be something cause with multirom I try to flash your latest test folder kernels calls helium_2.zip and start to bootlooop again right now I have only 22.1 working and bootup my q is that if I delete the rom in multirom recovery wipe everything and flash the new one can its bootup with Adrian kernel or Mey be I have to do something I mean that delete int.d helium99 and then flash Adrian kernel
[Xperia SP Android Development] Tomoms:
helium_2.zip is a test build I've built for an user and you shouldn't have flashed it.

Bootloop = endless boot animation or endless SONY logo or something else?
[Xperia SP Android Development] Cyrus.xda:
Endless boot animation sir but when i flash your kernel again Its Boot up and i dont know its relate with your kernel or multi rom and that my mind is blw up me be i have to wipe every thing
[Xperia SP Android Development] Tomoms:
Try to wipe cache and dalvik cache of CM13, and reflash the nightly you have installed now.
[Xperia SP Android Development] dorolan05:
hi sir how can i find other profile of zzmove governor? like yank.. etc tnx
[Xperia SP Android Development] Tomoms:
http://xdaforums.com/showpost.php?p=67729752&postcount=1017

Read carefully all the explanation about zzmoove governor.
[Xperia SP Android Development] dorolan05:
ooppss im sorry.. next tym i should read the Changelog next tym.. anw.. thankyou sir!
[Xperia SP Android Development] Cyrus.xda:
Okay but if it doesn't work I have to delete the rom and reflash fresh rom
[Xperia SP Android Development] Cyrus.xda:
Sir I Delete My Rom And Fresh Install The Rom Is Working Right Now With Original Kernel And I Can Update My Rom I Realize Your Kernel Cause Problems And It's Not Suitable For MultiRom If Someone Has MultiRom And Flash helium Over Cm 13 He Have To Live With Helium No Way To Back To Original it's get bootloop I don't know whats Cause but somehow it's about kernel
[Xperia SP Android Development] Tomoms:
Today's release brings an improvement you might like: the max CPU frequency is set to 1728 MHz by default, so when you update your ROM, your phone won't become burning hot during the app optimization process.
[Xperia SP Android Development] miladn78:
At v23,wich (userspace, balanced, runnable_threads) is better for CPUQuiet governor ?
[Xperia SP Android Development] JhonesMillionBR:
Hey Tomoms can I compile your Kernel with other settings? I will try search bugs :P
[Xperia SP Android Development] Arturk8791:
Which version is the best for normally use? I want to play pokemon go normally :D

Sent from Xperia™ SP | Android MM 6.0.1
[Xperia SP Android Development] Tomoms:
Yes... But no. You can get build errors if you compile without powersuspend, for example. If you have a bit of free time, however, you can try, and for any problem, send me a PM.

The latest (v23).
[Xperia SP Android Development] lex.vr7:
Random Freezes

Hey guys! Is anyone else facing little freezes after updating to v23? I'm running the 24th/07 build of AICP. I tried clearing cache and dalvik, but no difference. Here are my kernel settings, if anyone could point out a faulty setting: :confused:

CPU Max Freq=1728

CPU Min Freq=384

CPU Governor=conservative

Multicore PowerSaving=disabled

Schedule workqueues on awake CPU's.. = enabled

CPUQuiet Governor=userspace

CPU undervolted by -25mV on all frequencies

Hotplug=IntelliPlug

Profile=balanced

I/O Schedulers set to bfq

Disabled KSM

Z-Ram disksize=200 MB

Thanks!
[Xperia SP Android Development] Tomoms:
Set the CPU governor to something else (not conservative). For example interactive, slim, ondemandplus or zzmoove. In case you choose zzmoove, disable intelliplug and in the "CPU governor Tunables" subsection of Kernel Adiutor scroll down to profile_number and change that value from 0 to 6 (a balanced profile). Beware that using zzmoove without selecting a profile is bad.
[Xperia SP Android Development] miladn78:
I have updated my kernel to v23.1 and all the settings are normal but some times I have freezes.
[Xperia SP Android Development] Tomoms:
1. Define "normal". Normal settings just don't exist.

2. Describe when and how do you face these freezes. You're keeping things vague, if you open 40 tabs in Chrome it's obvious that the phone freezes.
[Xperia SP Android Development] SatrioDwiPrabowo:
Flahsing aborted bro why ?
[Xperia SP Android Development] miladn78:
Normal settings are CPU= 1728 ,GPU=480, CPU Governor = zzmoove with zzopt profile ,CPUQueit Governor= balance

When I Scroll down in settings or Instagram I have about 2 sec freeze at v23 and v23.1 but I haven't this issue at v22.1.
[Xperia SP Android Development] RastHacker:
Wtf this kernel ?! ;D

I've give my Xperia SP to my father he has no phone but when he buy an other, the first flash will be this kernel it's amazing.

The last version i see was 11.x now it's 23 xD
[Xperia SP Android Development] Tomoms:
Which ROM and recovery are you using?
[Xperia SP Android Development] ikoti:
whether it makes sense to be updated 23 to 23.1 ?
[Xperia SP Android Development] Tomoms:
Updating is always a good idea.
[Xperia SP Android Development] SatrioDwiPrabowo:
Problem solved bro
[Xperia SP Android Development] Tomoms:
Helium - test version

This is a test build that might be unstable/slow/whatever. Not suitable for daily usage. Flash it only if you don't need your phone to work flawlessly. If you do flash it, report about any problem you face.

Also, v23.2 (which is a stable release, working good) will be the latest release for a little while (2 - 3 weeks). I'll be back in mid August.
[Xperia SP Android Development] ChrzczonyMis:
How can I uninstall this kernel

I have a problem, cause after the SP (lollipop) goes sleeping it reboots, so how can I uninstall this kernel to install Marshmallow and latest version.
[Xperia SP Android Development] Tomoms:
Just install a Marshmallow ROM.
[Xperia SP Android Development] ChrzczonyMis:
But the kernel is for lollipop, won't the device brick?
[Xperia SP Android Development] Tomoms:
When you flash a Marshmallow ROM, it automatically installs the default kernel.
[Xperia SP Android Development] ChrzczonyMis:
Thanks, it's working :)
[Xperia SP Android Development] Tomoms:
Surprise! I managed to release a small update today. It just includes the new source updates merged in CM.
[Xperia SP Android Development] Tomoms:
Just another small update. This includes the fix for a nasty old bug. Thanks to Adrian of course!

EDIT: I'm also very happy to inform you that my kernel is available again (after a very long time) to be downloaded from Kernel Adiutor! It's very simple: open KA, search for the Download tab, open it and you'll find Helium in there :)
[Xperia SP Android Development] RJASSI21:
What Rom is everyone using? Whats the best fir performace with this kernel? Im currently using a cm13 rom but Web browsing performance isnt the best making it hard to download updates for the kernel directly on the device?
[Xperia SP Android Development] Tomoms:
Q&A next time :)

I use CM13.0(.1). Download the kernel from Kernel Adiutor, it's much simpler.
[Xperia SP Android Development] RJASSI21:
Yeah sorry I guess I didnt read my bad I realised afterwards I could use kernel auditor after I posted. Didnt know there was a q and a though so thanks for that.
[Xperia SP Android Development] alitavas:
Hmmm

Did you remove Multi Rom support?

Or i must flash a zip file after installing kernel?

Thanks for your works

It runs smoothly
[Xperia SP Android Development] Tomoms:
MultiROM support is still there. No additional zips required
[Xperia SP Android Development] Cyrus.xda:
Meybe mulirom supporting but if you flash helium you have to live with that no way to revert back to adrian kernel and if you flash adrian kernel or just update your rom to regain original kernel its get bootloop and the you have two way fresh install with wipe data and everything and don't flash helium anymore like me or flashing helium kernel after update your rom to bootup your phone sorry but its my experience
[Xperia SP Android Development] Tomoms:
Your problem tickles my curiosity so much that when I get back to my house I'll try to use MultiROM.
[Xperia SP Android Development] Cyrus.xda:
Mr tomoms its Bothering you sorry thank you so much to take your time actually take your everything for my issue because nowadays time is gold Thanks Again For Your Bless ?
[Xperia SP Android Development] xaviersoulful:
is possible to increase Z-Ram?? 120MB i think is not enough :(. I try use kernel adiutor, changing Z-Ram has no effect
[Xperia SP Android Development] matsas:
Try this. Disable the on boot option, restart the device and then try to change the z-ram to your preference.
[Xperia SP Android Development] Cyrus.xda:
Hi Tomoms Anyway To Flash Your Kernel Over My Device With multirom primary as 4.3 official and secondary cm 13 do you tested it on multirom and you could update your rom after flashing helium kernel sorry its rude Asking But its too risky for me because last time i tested your kernel and i have been reflash with wipe data till to updating my rom
[Xperia SP Android Development] francescohtc:
Guys i'm on latest nightly 6.0 and if i flash this kernel through TWRP i got black screen and the phone starts again with TWRP, someone has an idea?
[Xperia SP Android Development] Tomoms:
I've just got back to my hometown. I need a couple of days and then I'll test MultiROM.

Are you using TWRP 3 that you previously flashed to FOTA?
[Xperia SP Android Development] Cyrus.xda:
Thanks Tomoms And sorry?
[Xperia SP Android Development] francescohtc:
i've flashed twrp 3 and after the fota following instructions but i'm always stuck on continuos reboot in TWRP... :confused:
[Xperia SP Android Development] Tomoms:
Turn off your phone. Turn it on, keep pressing the Volume+ button. You should boot to TWRP. From there, flash ROM + kernel without wiping anything.
[Xperia SP Android Development] Tomoms:
Helium kernel v25

Hello users!

The new major release, v25, is available to download, but I need to get across a few easy things.

Firstly, the comeback of the 400 MHz step for the GPU might or might not be as good as it seems. If you check in Kernel Adiutor, it will show that the available frequencies for the GPU are 128, 200, 320, 320 (again!), 480. This is, possibly, only a visual bug, i.e. there are two frequencies shown as 320 MHz but the second one actually makes the GPU work at 400 MHz. I'll investigate and decide what to do. To help me, just tell me if gaming performance is worse than before and/or run a few AnTuTu benchmarks.

Now, let me explain the second big feature of this release: it's called "auto/manual UKSM handling".

Basically, it's based on the idea that having UKSM to run all the time is not useful. Some kernel devs added a similar feature in their kernels so that (U)KSM is enabled when screen is on and disabled then screen is off. In my opinion, this is quite illogical because I'd rather let (U)KSM use some CPU power when I don't need the phone rather than when I need it. So I decided to invert the mode of operation of this feature. Gamers will also benefit from this patch, as having UKSM to stop while playing games could eliminate some micro lags.

But this is not enough. It came to my mind that there could also be some users who don't like this feature and would prefer to have UKSM

always

enabled or

always

disabled. This is where my code comes in. Today I feel proud of myself because I managed to add my first "feature" to Helium kernel. Yes, it's quite small and simple, but it's original. I've never seen it anywhere before. I managed to code a new UKSM attribute called "toggleable". It's linked to this file: /sys/kernel/mm/uksm/toggleable. Write 0 in it, and UKSM will be handled by the LCD panel driver. Write 1 in it, and you'll be able to toggle UKSM as you are used to. A new entry in Helium's init.d script has been added.

Happy flashing!

EDIT: before flashing, delete /system/etc/init.d/01helium
[Xperia SP Android Development] dorolan05:
sir how do i enable uksm?? cos in kernel auditor its only ksm.. is this same?? and which do u prefer leave it on or off..

sorry for this question.. im new that word. tnx
[Xperia SP Android Development] Tomoms:
Yes it's the same. I prefer this new implementation that allows UKSM to be toggled automatically. If you want to follow my advice, just enable UKSM in Kernel Adiutor once, and enable the "Set on boot" switch. Don't worry if when later you go back to Kernel Adiutor you find UKSM off. It's working as expected.
[Xperia SP Android Development] miladn78:
Thanks for new version.

Where is the UKSM in Kernel Adiuter ?
[Xperia SP Android Development] *Geny:
Any solution for deepsleep?

Device freezes when screen locked. Especially when overclocked. Using "ondemand" without overclock, but device still deepsleeps a couple of times in a week... Any solution?
[Xperia SP Android Development] Tomoms:
It's called Kernel Samepage Merging.

The no deep sleep problem is quite random. Try rebooting in safe mode. If you're unlucky, you'll have to wipe data amd reinstall your ROM. Explain what you mean with "device freezes with screen locked". How can it freeze if it's suspended?
[Xperia SP Android Development] *Geny:
[MENTION=5727088]Tomoms[/MENTION]

There is no problem while using device. When screen locked, phone randomly freezes. No response from power or camera button... No receive call, alarm etc... Phone just freezes and stop working. Have to use that little lifesaver button on back.

I may have a problem with my cpu or gpu. I have that yellow-ish blackening screen problem. Screen freezes and starts blackening for 3 or 5 seconds. Then screen comes back and keeps working normally.
[Xperia SP Android Development] Tomoms:
Can you post a screenshot of your voltage table (from Kernel Adiutor)?
[Xperia SP Android Development] *Geny:
Using 1728 Mhz.
[Xperia SP Android Development] Tomoms:
There's no reason for the sleeps of death to happen. Try with Adrian's kernel and let me know.

BTW, v25.1 will be uploaded tomorrow.
[Xperia SP Android Development] *Geny:
"performance" works just fine without overclocking so far. And with less blackening screen. But I can't say the same thing about battery... I will test all governors with overclocking If I can find some free time.

Using Xosp 6.3 [6.0.1_r52] by the way.

Also... Does Z-ram really working?
[Xperia SP Android Development] Tomoms:
ZRAM is working perfectly.
[Xperia SP Android Development] *Geny:
How about 400 mb limitation?
[Xperia SP Android Development] Tomoms:
I've got a workaround for that. I'm going to test it with an user. I'll send it to you too if you want. It's not very straightforward, but at least it works.
[Xperia SP Android Development] *Geny:
Sign me up.
[Xperia SP Android Development] Tomoms:
v25.1 released! The three ZRAM testers will receive some mail tomorrow :)
[Xperia SP Android Development] Mas20:
How to active deep sleep ?

I was try using different CPU government, but I look no one going deep sleep, only in 384 MHZ

I want battery life :)
[Xperia SP Android Development] Tomoms:
It's a random problem that can't be solved. You might need to reboot in safe mode once or twice or, if that doesn't work, even wipe data...
[Xperia SP Android Development] Tomoms:
Today's release fixes the problem that caused the phone not to boot, staying on the SONY logo forever. Finally it's gone!

EDIT: forget it, zip is messed. I'll reupload it soon.

EDIT #2: uploaded a new zip!
[Xperia SP Android Development] Tomoms:
v25.3

v25.3 released to keep up with the status of CM's kernel. Also, it's been built with updated gcc and toolchain.
[Xperia SP Android Development] Kordius:
v25.3

I'm positively surprised :cool: :cool:
[Xperia SP Android Development] ma4a3er:
what about the performance ? or any bugs or lags ?
[Xperia SP Android Development] Kordius:
[MENTION=5445530]ma4a3er[/MENTION] good, really good. No lags, also I don't see any bugs caused by Helium kernel.

But rom is still alpha and have few bugs and kernel -I think- isn't dedicated for nougat.. but works good :D
[Xperia SP Android Development] kenyeldodol:
ROM you use 14 cm of Adrian? how do you install the kernel helium for cm14? Can you give way:laugh:
[Xperia SP Android Development] Tomoms:
While it's not a good idea to run Helium on N ROM's, you have to simply flash it.
[Xperia SP Android Development] AdrianDC:
Since we're talking about N, be aware that unlike other devices, the Huashan kernel

already had all security and needed updates to run N, therefore did not need anything relevant on kernel side.

Therefore for now the kernel side should be entirely compatible without any required additions or changes.
[Xperia SP Android Development] Tomoms:
Ok, while I was aware that on the kernel side nothing changed, I wasn't aware of the fact that this situation is not bound to change, so I advised against flashing Helium on CM14/AOSP N to avoid people complaining about broken things in the next days & weeks. Thanks for the clarification!
[Xperia SP Android Development] alphaon:
SpiritTransmit doesn't work with Helium kernel, it writes "Kernel doesn't support fm driver"
[Xperia SP Android Development] Tomoms:
If it's an app that uses the FM transmitter, it won't work on M and N ROM's for they don't support this feature anymore. Does it work with default kernel?
[Xperia SP Android Development] milibombi:
my phone crashed after the flash helium now my phone looped in sony logo
[Xperia SP Android Development] Tomoms:
Reflash the boot.img of your ROM via fastboot.
[Xperia SP Android Development] Tomoms:
Later today I'm going to release a new bugfixing version of Helium. It will include some fixes for Alucard hotplug and some source updates. Then, starting from this weekend, I'm going to build Helium from scratch on top of Adrian's kernel to check which commit are causing the notorious bug of the sleep of death when the CPU is overclocked. For those of you who have never heard about this problem, I'll explain it briefly: currently Helium has got CPU OC and it's working well, however it's enabled by default and thus causes serious overheating during the "Optimizing Apps..." process and when in TWRP you make backups or any other task that stresses the CPU. There is a way to limit the max CPU frequency to the usual 1728 MHz on boot but if I enable it, then the phone won't correctly wake up from deep sleep. I'll try to find the root of this bug but it's going to take some weeks.
[Xperia SP Android Development] parquet:
Hello Tomoms,

I tested helium 25.2, 25.3, 24.4, & now 25.5, above cm 12.1-20160719-SNAPSHOT.

Helium 25.5 looks better, but sometimes the SP restarts itself without reason, unexpectedly.

I have not found out why !!!
[Xperia SP Android Development] Tomoms:
Testing versions for Android 6 & 7 on an Android 5.1 based ROM is not a good idea.
[Xperia SP Android Development] parquet:
> Testing versions for Android 6 & 7 on an Android 5.1 based ROM is not a good idea.

[Kernel] [CM/AOSP _ Lollipop _ /M/N] Helium

I thought that it was possible !

Thanks Tomoms
[Xperia SP Android Development] Tomoms:
I dropped L support a while ago. The last version that works on L is v15 (as you can see from the file names in my AndroidFileHost).
[Xperia SP Android Development] Tomoms:
v26 might cause reboots. But maybe I'm wrong. Please test it and let me know!

EDIT: false. It works correctly.
[Xperia SP Android Development] lildaddy16:
Helium v5

can someone give me the Helium v5 cant find it anywhere :(

need it for stryflex LP rom
[Xperia SP Android Development] LightZone669:
I have no issues with cm14 0922 and v26
[Xperia SP Android Development] hafizhlf:
No reboot - CM13-Nightly
[Xperia SP Android Development] Tomoms:
Very good. Probably when my phone rebooted I had messed up with CPU voltages. It's working correctly for me too now.
[Xperia SP Android Development] parquet:
Ok ! I now try CM13, but I cry, I lose fm transmitter ! :crying:
[Xperia SP Android Development] hamed24:
Hi, I don't test new versions of helium on aosp 6 , are you think this kernel performance better Adrian DC's ??
[Xperia SP Android Development] Tomoms:
The best thing you can do is to try. If you want to go back to Adrian's kernel, just reflash the ROM or its boot.img with fastboot and delete /system/etc/init.d/01helium (not needed if you flash only the boot.img).
[Xperia SP Android Development] Tomoms:
I'll release v27 on Monday. This will be the changelog:

GPU idle frequency is set to 128 MHz

slight CPU L2 cache & bus overclock.
[Xperia SP Android Development] Tomoms:
Hey there, v27 is released but it can be downloaded only via Google Drive. Unfortunately AFH is painfully slow for me and I'm considering switching to another service. In the meantime, it will be impossible to download newer Helium kernels via Kernel Adiutor, only GDrive.

v27 is available here.

Test it and report any issue concerning CPU frequency scaling. This kernel includes the patch that caused issues in the past (i.e. CPU not scaling above the 1458 MHz step). Now I've rewritten the patch instead of blindly copying it :p so as it works for me, it should work for you too!
[Xperia SP Android Development] cipetonk:
hi [MENTION=5727088]Tomoms[/MENTION],

is it possible for the kernel to set max freq to 1.72 ghz by default, even though 1.9 ghz is available?

(not by init.d script, because init.d doesn't work on cm13)

1.9 ghz for each reboots and waiting for kernel adiutor to apply profile shorten our device life span
[Xperia SP Android Development] Tomoms:
init.d works out of the box in CM13 & CM14, but it's not possible to set the max frequency via init.d due to permission problems. And no, I don't think that 1 minute of OC will shorten the lifespan of our devices. But it is true that OC always enabled at boot is a problem, because it makes the device heat a lot during dexopts. Therefore, I'm working on a different way to limit the CPU frequency at boot. If you want I can send you some test builds in the next days.
[Xperia SP Android Development] kkumar326:
Little Help

I've helium v26 installed. Now, how to update it to v27? Sorry for this stupid question but I'm still learning these stuffs :P
[Xperia SP Android Development] Limakos:
Flash it through recovery
[Xperia SP Android Development] Tomoms:
To upgrade to a newer kernel, simply flash the new one! Next time, please, ask in the Q&A thread.
[Xperia SP Android Development] KulMak41:
How can I install this kernel?
[Xperia SP Android Development] Tomoms:
Flash it in TWRP and make use of the Q&A thread next time please!
[Xperia SP Android Development] Tomoms:
Hello, v28 is a new, quite big update. Install it and let me know how it runs. [MENTION=4258328]cipetonk[/MENTION] now CPU max frequency at boot should be 1728000 MHz.

I decided to switch back to the previous AnyKernel template, I have improved it and fixed it and now nobody should get stuck on "unpacking kernel" anymore. Or at least I hope! Please let me know if something goes wrong during the installation.

About GPU undervolting: it's not possible to change the voltages from Kernel Adiutor, tomorrow I'll look for the file that contains the voltage values and I'll let you know how to edit it.
[Xperia SP Android Development] cipetonk:
[MENTION=5727088]Tomoms[/MENTION] on v28 kernel still runs 1998 MHz on every boot

btw, on v27 kernel runs 1728 MHz after wiping cache & dalvik cache, and runs 1998 MHz on normal boot