yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] Unusual Man:
[MENTION=5727088]Tomoms[/MENTION] can You add multiboot function?

If You can of course ;)
[Xperia SP Android Development] Tomoms:
Adrian is working on a new way to get dual boot without using kexec (the patch on which MultiROM relies). If it is usable and stable, I won't have to do anything and Helium will support dual boot as it is. Let's see how this new thing works.
[Xperia SP Android Development] Unusual Man:
Yay! :D

Thanks for info. I can't wait for this! :laugh:
[Xperia SP Android Development] Tomoms:
I'd like to add that if this new multiboot method doesn't work, I'll implement the current method soon.

EDIT: v12.1 for Lollipop is available :)
[Xperia SP Android Development] Aku Gendeng:
kernel hellium v12

please recommended set to kernel auditor in [ROM] [Huashan] AICP - 11.0 - MM 6.0.X | UNOFFICIAL BUILDS
[Xperia SP Android Development] pilger:
Is fast charging working for anyone!? Seems to be broken here. The phone actually drains more battery than it's able to recharge while plugged to a regular USB port on the computer. :(
[Xperia SP Android Development] Tomoms:
0. Open Kernel Adiutor and enable fast charging.

1. When you connect the phone to a computer, the phone automatically sets itself on the "Charge Only" mode (you can see it in the notification drop-down menu). Set it to MTP.

2. Check if it charges faster. Keep in mind that the output of an USB plug can be very low on some computers (like my laptop) and very high on other PCs (like a MacBook Pro). This affects the functioning of fast charging.

I hope I've been able to help you :)
[Xperia SP Android Development] pilger:
Thanks for the reply [MENTION=5727088]Tomoms[/MENTION]!

I've done those steps exactly. I actually have a Xposed Module that remembers the MTP choice when the plug is connected.

I get 150mA tops (usually 50mA) when plugged to a USB 2 port. Using the original cable that came with the phone.

While on AC i get around 500mA (usually 450mA).
[Xperia SP Android Development] JhonesMillionBR:
Wi-Fi not working.
[Xperia SP Android Development] Tomoms:
500 mA using the charger SONY provided in the box of the Xperia SP? That's not normal! I guess something in your phone is wrong. I get 650 or even 700 mA when plugged to the AC.

I measure the charging speed with Ampere. Which app do you use?

What ROM are you using? An old one I think.
[Xperia SP Android Development] pilger:
I'm using Ampere as well. Take a look at the screenshots. One is connected to original AC charger (and cable) and one is completely disconnected.
[Xperia SP Android Development] Tomoms:
I've just checked what value I see when charging with stock adapter and stock cable and the charging speed doesn't go below 600 mA... Tomorrow I'll test USB fast charging.
[Xperia SP Android Development] pilger:
Thanks [MENTION=5727088]Tomoms[/MENTION].

Can you tell me what is the drain!? Maybe my phone is draining too much... idk...
[Xperia SP Android Development] ryandizon:
battery drain

talking bout battery drain, install "wakelock detector" check whats prevent your phone from sleeping.

oh and check your setting > battery graph, see if you get good signal.
[Xperia SP Android Development] rejdovec:
cyanogenmod 12.1 nightly 20160501, wifi not working on helium 11 or 12.1, on helium 5 works fine, i dont know where is problem, can somebody send me helium 5, or advice? thanks
[Xperia SP Android Development] Smankusors:
yeap my WiFi cannot be turned on too :crying:

Currently my XSP still AICP Lollipop, planning to AICP/RR Marshmallow :rolleyes:
[Xperia SP Android Development] Tomoms:
You must run a CM12.1 nightly build from any date after May 11th to get WiFi. You can't use any older ROM (apart from unofficial CM12.1 by Adrian).
[Xperia SP Android Development] Smankusors:
damnit Tomoms :crying:

Btw, have you read my feature request? :confused:
[Xperia SP Android Development] Tomoms:
I'll check that thing as soon as possible.
[Xperia SP Android Development] JhonesMillionBR:
I am using the most recent CWM 12.1
[Xperia SP Android Development] Tomoms:
Official nightly? Unofficial? Give me the exact build date please.
[Xperia SP Android Development] JhonesMillionBR:
Official Nightly > cm-12.1-20160508-NIGHTLY

Does not have any build recent than Beta 2016-05-10
[Xperia SP Android Development] Tomoms:
If you want to use official nightlies, you must use the latest one (or one newer than 2016-05-11). Otherwise the latest beta by Adrian.

EDIT: v12.2 released! It includes optimizations and the feature requested by [MENTION=5586706]Smankusors[/MENTION]

Important! Please check if ZRAM is there. If it's not, I'll put it back tomorrow. Sorry but I'm out of battery and I can't check...
[Xperia SP Android Development] Smankusors:
thank you very much Tomoms :good::laugh:

Wait.... how to check... ZRAM? :confused:
[Xperia SP Android Development] Kordius:
zram works ;p thanks
[Xperia SP Android Development] shu2797:
One issue that I have been facing in almost all versions, including the latest v12.2 : If I keep the phone on sleep (that is, locked and screen turned off) for a long period of time (about at least 30 minutes), it does not wake at all when I press the power button afterwards. Even if I call on my phone, it shows no response (no vibration, screen still off, nor ringtone). It becomes like frozen. It works fine when I wake it every 5 to 10 minutes though.

I have used Kernel Adiutor to set the CPU min freq to 189MHz and max freq to 1944MHz.

Any thoughts on this?
[Xperia SP Android Development] Cyrus.xda:
You mentioned everything just one thing some times hot reboot when you change cpu frequency or governor
[Xperia SP Android Development] Tomoms:
I can tell you what's the problem: CPU overclock. Set max freq. to 1728 MHz (min freq. can stay to 189) and these sleeps of death will go away. I should have removed overclock from the kernel, I'm sorry. I don't know why this happens and I'll investigate ASAP.
[Xperia SP Android Development] bubbeld:
i'm experiancing a little anoying bug with the sound part on kernel adiutor with helium 2.1 that it alway's returns with the headphones with volume 7 =/
[Xperia SP Android Development] shavendum:
[MENTION=5727088]Tomoms[/MENTION]: No issues so far in 1 day of use. No freezes, No reboots, No lags. Just perfect. In general use, i feel the performance is at par with Adrian's kernel. I used it to watch videos and for browsing mostly. I am yet to test gaming on it. Battery is better than stock on bioshock governor. No overheating as well. All in all much better than tangerine imho. Good going.
[Xperia SP Android Development] Arturk8791:
This kernel will be good for cm 12.1 sabermod?

Wysłane z mojego Xperia SP przy użyciu Tapatalka
[Xperia SP Android Development] shavendum:
Why don't you give it a try and tell us? It works on cm based aicp so it probably should work on sabermod if it has the latest sources.
[Xperia SP Android Development] DahakePL:
Stucks on unpacking kernel in twrp while flashing with RR :/
[Xperia SP Android Development] jancsessz:
Yes, good kernel with CM12.1 sabermod ;)

Tapatalk-kal küldve az én Xperia SP-el
[Xperia SP Android Development] kar2rost:
Hi tomoms i download the helium2.1 and flash it every thing be ok but the recent app bottom is not working .when i press long switch between app. but when one prees its not work.i flash tk 9.2 and its fix.when i uninstall tk its not Woking too.if i want to uninstall every kernel and use kernel acip rom its the recent app not working .can i help me to fix it??
[Xperia SP Android Development] Arturk8791:
Helium 2.1 & CM 12.1 Sabermod 20151110 works fine! ;)
[Xperia SP Android Development] angelodim:
Can i use it on CM12.1 unofficial [MENTION=1211313]AdrianDC[/MENTION] ?

Where is the zip for lollipop?
[Xperia SP Android Development] Tomoms:
Yes you can use it on CM12.1 unofficial and you can use helium_v2.1.zip on Lollipop, there's only one zip as it works on both L and M.
[Xperia SP Android Development] moozer:
I can't get over 25500, using Helium 2.1 with Euphoria OS.

Care to share your kernel settings?
[Xperia SP Android Development] Arturk8791:
I didn't change in kernel audiutor or anything. Only suggestions by Tomoms in 1st post :)

Swapiness to 50 and delete 01tangerine

I use CM 12.1 sabermod, very smooth and fast rom + this kernel of course :)
[Xperia SP Android Development] DahakePL:
Flashing takes so long, I think it's stuck
[Xperia SP Android Development] moozer:
Yeah I did that too. Maybe its the ROM?
[Xperia SP Android Development] Arturk8791:
Maybe ;) CM 12.1 Sabermod looks nice and smooth, i suggest that rom. Nice battery life :D
[Xperia SP Android Development] DahakePL:
There's no way for me to flash this kernel, it always gets stuck on "unpacking kernel"
[Xperia SP Android Development] Arturk8791:
What recovery you use?
[Xperia SP Android Development] DahakePL:
TWRP as always the latest one, trying to flash with sabermod cm12.1
[Xperia SP Android Development] moozer:
I've just switched to 12.1 Sabermod and flashed Helium 2.1 with no issues. I flashed Helium then powered off. Waited 10 seconds then booted and here I am! Maybe try the way I did?
[Xperia SP Android Development] moozer:
This is all I can manage. Had same as you using Tangerine
[Xperia SP Android Development] shu2797:
Ahh okayy... Thank you... Now I get it :D
[Xperia SP Android Development] Cyrus.xda:
Tomomos please build a kernel for Z Ram Because The New Build Of Adrian Works Its not support zram anymore and plus before this new i could zram change to how much size i need actually 500mb of paging with kernel auditor but now my device lacking from Ram
[Xperia SP Android Development] destiny4life:
This folder only have unofficial till 10 may only. :crying:

https://basketbuild.com/devs/AdrianDC/Huashan/CyanogenMod-12.1

Where to find latest unofficial to use helium_v12.2_L?

Please reply.
[Xperia SP Android Development] Tomoms:
I don't know what are you talking about. My kernel already supports zram.

Any unofficial is good. Only official has to be newer than 0511.
[Xperia SP Android Development] Cyrus.xda:
I Get it Tomomos but when i want to turn z ram on kernel auditor from 120mb to for example 500mb total swap in kernel info turn to zero like no swap sorry i don't know what's happened but I'm facing this issue
[Xperia SP Android Development] Tomoms:
If in Kernel Adiutor, in the Virtual Memory tab, you have enabled Set On Boot, disable it and reboot, then change ZRAM's size. Do not set it to a high value like 500, try 300.
[Xperia SP Android Development] Cyrus.xda:
It Doesn't Matter How Much Tommoms If I Turn It to 150m its turn to zero its not your fault sorry its related to Adrian because on kernel 08/05 or 10/05 i can change the zram size how much i want but i want to know what's happened to these new kernels
[Xperia SP Android Development] Tomoms:
You're right, I face a similar problem too: no matter what size I set, it goes back to 120 MB.
[Xperia SP Android Development] destiny4life:
Hi Tomoms,

I download cm-13.0-20160518-UNOFFICIAL-BETA-huashan.zip and helium_v12.2_M.zip

After that I installed Kernel Adiutor (ROOT) from play store to minimise max. frequencty but on opening the app it is showing 'no root available'

What should I do? :crying:
[Xperia SP Android Development] ParanoidNemo:
You should activate root into dev option
[Xperia SP Android Development] destiny4life:
Wooohoooo..... this worked. Thanks a lot.
[Xperia SP Android Development] shu2797:
Still haven't removed the overclock frequencies[emoji14]
[Xperia SP Android Development] Tomoms:
I know, I forgot again! In next build I'll remove them :)

BTW, updates for Lollipop kernels will be coming less often, only when a major feature is added. As Adrian stopped updating his cm-12.1 sources, you won't miss anything. v12.2_L will be working fine on any future cm-12.1 build.
[Xperia SP Android Development] AdrianDC:
1. I haven't stopped the 12.1 kernel, I'm compiling it for myself to test on second SP and push it in sync with 13.0 once ready, no worries, I keep the repos updated until I switch to 13.0 fully.

2. Guys, please try to respect the devs names, failing once is OK, all the time + changing to something else wrong too is never pleasant.

3. What has been many times described as a fault in my kernels for ZRAM size changes sounds absolutely wrong to me, but I might be wrong too and never seen that case in 5-6 Months of ZRAM usage and dev..

I'd advise the use of the ZramCC app to see what's really happening under the hood : every time you decide to change the ZRAM size (which you shouldn't really because my default 128 was tested to be the most reliable one and the one giving the highest stability in face of 'visible' free RAM, especialy for 3D rendering allocations, but with the recent memory handling updates I might try more soon), the whole ZRAM space is shrinked MB by MB down to 0, and then instantly set to the new full allocated size. I just did it on 12.1 with 400 MB ZRAM for a fact. ZramCC can show the progress of this.

Obviously changing ZRAM every 2 secs is absurd for these reasons and it all has to be given a bit of time.

Hope this makes things clearer.
[Xperia SP Android Development] Tomoms:
1. Oh ok, great to know, I "revert" everything I said then!

3. The ZRAM bug is present on your kernel (I've tested it now): in Kernel Adiutor, set ZRAM to any value higher than 120 MB, exit KA, re-open it and you'll see 120 MB and not the value you set. I tried changing the ZRAM disk size by editing /sys/block/zram0/disksize, but as soon as I save the file and close the file manager the number gets reset to the default one.
[Xperia SP Android Development] Tomoms:
v13 released! (I'll upload the Lollipop version soon) [MENTION=6045150]shu2797[/MENTION] please test CPU overclock if you can. The sleeps of death should not happen anymore.
[Xperia SP Android Development] farnadsh:
Tomos what rom do you use and what do you prefer i dont want costomization just performance
[Xperia SP Android Development] Tomoms:
Unofficial CM13 by Adrian.
[Xperia SP Android Development] shu2797:
Ok, I'll flash it right now and report to you until tomorrow...

Btw, how did you install the xperia keyboard? Please provide the link if there's any... Thanks! :D
[Xperia SP Android Development] Tomoms:
http://xdaforums.com/moto-g-2014/themes-apps/xperia-keyboard-6-7-0-90-lastest-cm12-t3222712

For me overclock is not causing issues since yesterday night.
[Xperia SP Android Development] shu2797:
Okay, so I flashed it when I was in my tuition.. I tried to wake my device 30 minutes later when I got home and voilà... I faced a sleep of death... I pressed the hard shut down button till it vibrated 3 times, waited for 5 seconds and it booted up again automatically... I haven't put my device to sleep since then... I'll try again and let you know :)

Thanks again for the link btw :D
[Xperia SP Android Development] Tomoms:
:mad::mad::mad:

Did you use 1832 MHz or 1944? I'm trying with 1832 MHz.

EDIT: v13 for L is uploaded.
[Xperia SP Android Development] shu2797:
I used 1944... I think that's why I got the sleep of death again... When will 1944 be compatible?
[Xperia SP Android Development] Tomoms:
Who knows? :D
[Xperia SP Android Development] farnadsh:
Tomos. I know i told you thousands of time but i really like helium kernel. Please write how to Install. I cant install helium
[Xperia SP Android Development] Zenith:
1. It's "Tomoms", please at least try to spell the name right.

2. Just follow this tutorial once, you won't need to tell anyone anything a thousand times again :)
[Xperia SP Android Development] farnadsh:
You baby.i know this way but it doesnt work. I'm not idiot dude.
[Xperia SP Android Development] TechnoSparks:
If you have tried the correct way to flash the kernel, but ended up unsuccessful, there is only one explanation to this; the ROM you are using may not support this kernel.

Please do a favour and jump to the Q&A thread and provide useful information such as the behaviour of your recovery during flashing, the error lines expelled in the recovery log and most importantly, the ROM you are currently running.

IF the ROM is unsupported, chances are a fix may not be released. The nature of this kernel is for universal use. You may choose a different route of downloading older versions of the kernel and flash each of them chronologically until you find the one that installs, and works best with your current setup.

Remember, stub replies won't help anyone.

Thanks
[Xperia SP Android Development] Tomoms:
Try to flash my kernel and record a video with a camera in the meantime. Show me what happens. It might be the "stuck on unpacking kernel" error, I don't remember, you've already wrote me something about your problem in a PM, but I don't remember.

[MENTION=6045150]shu2797[/MENTION] forget it. Sleeps of death are still present, even when max freq. = 1832 MHz. I've got a few ideas to fix this though.
[Xperia SP Android Development] shu2797:
Okay, sure, no problem... Just let me know when you're done ;) I'll set the max freq back to 1728
[Xperia SP Android Development] farnadsh:
Exactly.it stops on unpacking kernel.it doesnt matter what rom i,m using because i used most of the roms that are supported with this kernel.it stops on unpacking kernel.even today i wanted to install and waited for 3 hours and nothing happend.i,m using cm12.1 sabermod now.i tried to install this on latest cm12.1,aicp.i used those links that have (L) near them that is for lollipop.please help.
[Xperia SP Android Development] farnadsh:
Deleted
[Xperia SP Android Development] Tomoms:
If you search on this thread, you'll find a guy who managed to solve this problem. If I recall correctly, it should be in the first quarter of the thread.

EDIT: it looks like I've helped him via PM. I'll forward those messages to you.
[Xperia SP Android Development] farnadsh:
Was this?
[Xperia SP Android Development] nicknacknuke:
I use sabermod 20160416 with helium 5.

Can i safely upgrade to this kernel ?

Tried with 12.2 but lost wifi.
[Xperia SP Android Development] Tomoms:
Use a newer build of the ROM. The latest if possible.
[Xperia SP Android Development] hamed24:
Hi tomoms, can I use swap and zram together in the moment, because zram not effect so much in performance

Thanks

sent from Xperia™ SP | Android 6.0.1
[Xperia SP Android Development] Tomoms:
ZRAM is swap. And it's not meant to enhance performance, but multitasking and memory management.
[Xperia SP Android Development] lex.vr7:
Temporary Fix for hanging at "Unpacking Kernel"

Hey everyone! I think I've found another fix for the hanging that occurs at "Unpacking kernel" when flashing. I was running the 22/5 build of AICP without a custom kernel before trying Helium (v13). I tried other solutions posted here before, but none of them worked. :(

Steps:

Flash stock C5303 boot zip from here [When you restart, the Sony logo keeps looping.]

Flash TWRP 2.8.7 from here using FlashTool through fastboot mode.

Power on your device--it should boot to TWRP2.8.7 by itself.

I re-flashed the 22/5 build of AICP, then rebooted into the new recovery, which is TWRP 3.0.1.

Flash Helium.v13 zip file and then power off device.

Power on and boot the ROM. You should now have Helium installed.

Although steps 1 & 2 seem redundant/plain stupid, I've included it because simply re-flashing the ROM and installing Helium didn't work. There are probably other ways too, but this worked for me. :fingers-crossed:

Thank you [MENTION=5727088]Tomoms[/MENTION] for your hard work! :)
[Xperia SP Android Development] Tomoms:
Thank you very much for this post! I hope it can be useful for many.

I've released v14 and from now on I'll drop Lollipop builds. Fare thee well CM12.1 :)

Maybe one more release for L will come, maybe not. Anyway, for those who want to stay on L ROMs, v13 will work fine forever.
[Xperia SP Android Development] yash8796:
[MENTION=5727088]Tomoms[/MENTION]

Can you please give perfect values of swappiness and zram? To get lagfree experience.
[Xperia SP Android Development] Tomoms:
The default ones.
[Xperia SP Android Development] yash8796:
I am using V5. And in kernel aduitor both values are zero untill i change them...
[Xperia SP Android Development] Tomoms:
I don't know why they're set to 0 and I don't want to know why.

Anyway set ZRAM to 120 MB and swappiness to 60.
[Xperia SP Android Development] yash8796:
Ok thanks buddy...

I will try..:o
[Xperia SP Android Development] hamed24:
Thanks for answer,so what you suggest to me with do it I can play games without lag and have good ram management, with default zram I have very ram management problem in simply games(without heavy data) and messenger apps?

sent from Xperia™ SP | Android 6.0.1
[Xperia SP Android Development] Tomoms:
Try ZRAM 200 MB and swappiness = 60.
[Xperia SP Android Development] Tomoms:
I might be close to finding a fix for the nasty hardware-related bug that prevents the CPU from running at more than 1458 MHz when using the new L2 frequency table!

Even though I've never experienced this bug in the past, now I've managed to reproduce it on my SP. In 14 days school will be out for summer and I'll have got plenty of time to tinker with this kind of things :)

Stay hopeful!

In the mean time, I've built v14.1 for you.
[Xperia SP Android Development] AbboodSY:
Maybe you could figure out why is fauxsound not working too when you get your summer time, I'm on stock 4.3 with Williams kernel because of that...

I really miss CM13 :'(
[Xperia SP Android Development] Tomoms:
Of course. This summer I'll have zero mercy upon bugs! There's also some strange kind of problem with intelliplug, I hope to be able to fix everything.
[Xperia SP Android Development] jk24777:
I'm having some serious crashing issues with my phone (ROM/KERNEL) because I'm using a very old build. :(

Please recommend me the best ROM+Helium combo if possible :) With Links too :P
[Xperia SP Android Development] Tomoms:
This question should have been posted somewhere else, e.g. in the M Hub.

Now that our M ROMs are so stable, I'd suggest you CM13 or AOSP-RRO (not AOSP-CAF). Links are provided in their respective threads that are available in the Original Android Development section.
[Xperia SP Android Development] VladHD:
Ok i have a question.

Everytime i try to increase the sound function - speaker gain from kernel adiutor, it just resets at its normal value as soon as i'm playing a song. Anyone else has this problem or knows why it's happening this?
[Xperia SP Android Development] Tomoms:
Try to increase the gain when the song is already playing.
[Xperia SP Android Development] VladHD:
Like that is working .. but for example when i play song from youtube .. i can't increase while playing because everybody knows you can minimize youtube xD
[Xperia SP Android Development] Tomoms:
EDIT: AFH is back. v15 can be downloaded from there now.

v15 is ready, but the AndroidFileHost site has got problems, and I don't even know if the file has been uploaded successfully. Anyway, if it's not there and/or you can't even load the download page, just wait patiently. The AFH team is fixing the website.

Temporary download link:

Helium v15 for Marshmallow
[Xperia SP Android Development] Arturk8791:
Good work! I have one problem on stryflex for mm rom (based on AOSP-RRO rom), when screen goes off max freq is set to 1444MHz. I have the same problem on v13 and v15

Sent from Xperia™ SP | Android MM 6.0.1
[Xperia SP Android Development] Tomoms:
Open this file: /sys/kernel/msm_limiter/limiter_enabled and check if it contains a 0 or a 1. If it contains a 1, change it to a 0.

Then, set the max freq. to 1444 in Kernel Adiutor or any other tweaking app and then set it back to 1728. Now it shouldn't happen anymore.
[Xperia SP Android Development] Arturk8791:
Works! Thanks :)

Sent from Xperia™ SP | Android MM 6.0.1
[Xperia SP Android Development] Tomoms:
You're welcome. It happens sometimes to me too. Just randomly I think :)

EDIT: v15 released for L.
[Xperia SP Android Development] hamed24:
Hi , I test v15 on RR marshmallow build 0529 ,but have some lag and freeze

sent from Xperia™ SP | Android 6.0.1