yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] jk24777:
[MENTION=5727088]Tomoms[/MENTION] Dude I already tried that too. Does not Boot kernel. :confused:

I'm really confused. :crying:
[Xperia SP Android Development] Jammu93:
+1

something wrong with new cm kernel and twrp 3 ...i cant even install cm13...nymore since 0208 build or may b one or two build before

latest sabermod used adrian dc kernel....
[Xperia SP Android Development] jk24777:
Anyone please recommend me a good Helium and CM12.1 combo?

smoothest possible experience?
[Xperia SP Android Development] Alvichone:
F***g xperia sp....each one seems be different. I have twrp 3 v2 with 2 builds of cm unofficial this week. But when I installed OTA update, twrp 2.8.0_7 appeared suddenly.

Maybe aaking in twrp thread is better.
[Xperia SP Android Development] jk24777:
Tangerine 6.6 + AICP nov build working fine but ... I waited a lot to upgrade and get better experience.

Nothing stable as that up til now :(
[Xperia SP Android Development] Tomoms:
I have unofficial CM by Adrian + my private build of Helium v5 + TWRP 3 and no problems of any type. Try with my old TWRP 2.x.y and see if there is a difference. Flash it as a kernel, then flash ROM and gapps and see if it boots. Do not flash anything else for now.
[Xperia SP Android Development] jk24777:
[MENTION=5727088]Tomoms[/MENTION],

I already did that too but I did not try Helium 5 as there is no such kernel available for download. :p Tried TWRP 2.x.y already with no go! :(

Please point me to unofficial CM by Adrian. :fingers-crossed:
[Xperia SP Android Development] Tomoms:
https://basketbuild.com/devs/AdrianDC/Huashan/CyanogenMod-12.1

You don't see the download link of v5 because I'm still testing it so it's not public :)
[Xperia SP Android Development] jk24777:
[MENTION=5727088]Tomoms[/MENTION] I know this is a little off topic but can you point me towards a developer guide which has instructions to setup platform and get started with kernel and rom development. I know Java language but what else I need to know?
[Xperia SP Android Development] JhonesMillionBR:
Tomorrow is able to Download?
[Xperia SP Android Development] steveglowplunk:
Does this kernel have f2fs support?:confused:
[Xperia SP Android Development] Tomoms:
Of course!
[Xperia SP Android Development] jk24777:
I've Installed AdrianDC CM12.1 build. It's very stabe. Now waiting for the Helium v5. :D

I think This anykernel method is giving trouble.

Please make a IMG kernel too (maybe major releases only). [REQUEST] Its easier to flash sometimes. :good:
[Xperia SP Android Development] Tomoms:
No way. Anykernel saves you from TONS of issues and it doesn't give any problems if you use it in the correct way. In the last 3 weeks I've flashed 3 roms, 2 recoveries and 15 kernels using Anykernel and no problems occurred.
[Xperia SP Android Development] jk24777:
AnyKernel is just a possibility man. I'm just pointing out possibility.

I had trouble with AnyKernel in tangerine.

flashed 3 times the same kernel fixed the problem.

but the img always worked like a charm.

It's a just a possibility :p

you took it personal :p
[Xperia SP Android Development] Tomoms:
I'm sorry to hear that you had problems, but imagine what would have happened if I had released Helium v4.7 as an img file: Adrian would have updated the device sources as usual, maybe he would have done some changes in the ramdisk and... Boom! You flash Helium, which contains the old ramdisk and you end up with errors, bootloops etc.
[Xperia SP Android Development] jk24777:
I understand it now :)

Maybe I'll be the one generating such images if I'm able to get this up :D

All hails for Helium :D
[Xperia SP Android Development] JhonesMillionBR:
I'm excited cannot wait :D:D:D
[Xperia SP Android Development] Tomoms:
Yay! The wait has come to an end! v5 is going to be released within this evening! There will be a long explanatory post - don't miss it.
[Xperia SP Android Development] chinadyj:
waiting for helium v5, come on!:good:
[Xperia SP Android Development] Arturk8791:
Waiting! :D
[Xperia SP Android Development] Arturk8791:
Wow! Thank you! It works very very good! :D I see later how it works after few hours, but now its perfect! :)
[Xperia SP Android Development] xXHenlolXx:
Thanks for v5.0, but do you intend release it for marshmallow?
[Xperia SP Android Development] Tomoms:
Tomorrow.
[Xperia SP Android Development] AbboodSY:
The best kernel for lollipop for now (kudos to Adrian and you of course) but it only have the same problem that it exists on every helium version, the faux sound problem, it just wont work, tried by swapping it, by tapping on the + button... it just work for a few seconds then it gets disabled, hope you take a look in it for the next release because the SP has a real low sound in custom roms.
[Xperia SP Android Development] Arturk8791:
You are using Kernel Adiutor?

Check it in Sound directory
[Xperia SP Android Development] AbboodSY:
Yes I'm, the latest version and its not working
[Xperia SP Android Development] Iekuta:
Wooww !!

Thank you for this update (5.0) !

I really appreciate that you're hardworking for us,

for our old SP ...

Thank you guys really, you give life to our SP' s.
[Xperia SP Android Development] JhonesMillionBR:
Awesome!
[Xperia SP Android Development] finnal123:
Can anyone suggest smooth settings?
[Xperia SP Android Development] chinadyj:
It works well with MSM_Limiter enabled. But, ksm is not enabled by default? if not enable MSM_Limiter, the default max CPU freq is 1444GHz?
[Xperia SP Android Development] Arturk8791:
You can change it in kernel adiutor :) Easy option

I use now ondemandplus governor, max freq 1944mhz min freq 244mhz with multicore power saving mode and enabled hotplug boost. Enabled KSM, enabled swap to 50 and ZRAM to 250MB. Works very good for me! :)
[Xperia SP Android Development] Tomoms:
I'll check later but I'm pretty sure that Fauxsound for me works good.

If you don't enable msm_limiter the default max freq. is 1728 MHz, but you can change it easily via Kernel Adiutor. If you enable msm_limiter you have to write your preferred max freq. in the script as I explained in the changelog (for example, if you want to use overclock you must write "1832000" or "1944000" in the last line of the script).
[Xperia SP Android Development] vaibhavshukla:
waiting for Marshmallow version ....BTW many thanks for your Hard work on beloved XSP
[Xperia SP Android Development] AbboodSY:
After i wake up today my phone didn't power on when i pressed the power button (It was in a deep sleep and not shutted down) so i had to press the reset button on its back to get it to reboot and power on again.. (I had this problem twice today) and when it booted i was surprised to see that my battery was only 16% ! while it was 96% before i slept yesterday ! what has helium done to my battery D: I'm now back on Adrian kernel until this gets fixed.
[Xperia SP Android Development] Tomoms:
Give me last_kmsg and your kernel settings please :)

Also did you enable msm_limiter?
[Xperia SP Android Development] Arturk8791:
I had it today too once, but battery didnt drained too much. msm_limiter disabled
[Xperia SP Android Development] steveglowplunk:
[MENTION=5727088]Tomoms[/MENTION] will I loose my current twrp recovery if I flash helium 5.0? I don't know can I use install philz recovery with rashr then flash twrp, and I'm using f2fs for data and cache so I don't know does philz recovery support f2fs.:confused:

I'm really really really excited for the swap fix...Thanks for your hard work anyway!:o
[Xperia SP Android Development] Tomoms:
Give me your kernel settings.

I'm using Helium v5 since 2 weeks and I've never, really never had a single issue.

From your current recovery flash Adrian's TWRP. Then from there flash Helium. You won't loose anything.

Released! Read the second post!
[Xperia SP Android Development] AbboodSY:
I flashed Adrian kernel earlier today, will the laat_kmsg still be useful to you? also i didn't enable msm_limiter, and i disabled all the CPU hotplugs in helium while using it, would this be the problem!
[Xperia SP Android Development] Tomoms:
Having no hotplug was the cause of the battery drain. Imagine that the bug that caused the sleep of death pushed the CPU to its max frequency. Having no hotplug means that both cores were online and running at the max frequency, and the result is a huge battery drain. Send me the last_kmsg anyway, it could be useful.
[Xperia SP Android Development] AbboodSY:
Oh i see, thanks for clearing that up, so of i stayed on a hotplug i wont get a battery drain and i won't get the deep sleep death ? if yes, i will go back to Helium
[Xperia SP Android Development] Tomoms:
That last_kmsg is useless for me, unfortunately :(

Staying on a hotplug avoids battery drain for sure. That battery drain you experienced is however weird. The bug you faced is unfortunately unknown... If you want, when you have a bit of free time, flash Helium again and use a CPU hotplug. Then if the sleep of death happens again, reboot and pull last_kmsg. But don't hurry, if you need your phone in these days, stay on Adrian's kernel if it's stable for you :)
[Xperia SP Android Development] Arturk8791:
Wow, now i didn't had no more freezes ;)
[Xperia SP Android Development] ongkhel:
so smooth on stryflex keep up the good work
[Xperia SP Android Development] Tomoms:
Warning: do not use this kernel on the very latest CM builds: they are meant to be used with the default kernel until I update Helium. Helium will work fine on any build of any ROM preceding this date: 02.22. For example I'm on CM12.1, 0221 build, and everything is OK.

Inviato dal mio Xperia SP utilizzando Tapatalk
[Xperia SP Android Development] Gilberto_BR:
This kernel is just perfect, even on simple apps like LINE for example, on Adrian's Kernel it lags on the interface, but using this one, everything is smooth. Thanks!!!
[Xperia SP Android Development] Arturk8791:
I use on 0115 and now works good too :)
[Xperia SP Android Development] Tomoms:
Nice!

Inviato dal mio Xperia SP utilizzando Tapatalk
[Xperia SP Android Development] Miggystar:
then, about what you just say and just for let it clear isn't compatible with MM CM13 02-24 buid? im running 02-21
[Xperia SP Android Development] AdrianDC:
24/02 CM-12.1 and CM-13.0 test builds introduce a major RTC clock / alarm update,

which presents a different Android to kernel alarm interface,

therefore using 12.1 sources on 13.0 ROMs will not work properly.

It shouldn't work properly in the first place because CM-13.0 has SELinux updates for M

which shouldn't be there for CM-12.1, but it works so not visible so far,

but there's a few details kept different between both branches due to M.

Also, the new test builds I made should Not be used with any mod or custom kernel please,

the whole point is to test & confirm the new features, stability and here the whole alarm,

if it's not done properly I won't merge the changes anytime soon, not going to take the chance..
[Xperia SP Android Development] steveglowplunk:
I guess putting the warning in op would warn more people before they install helium and then complain here.:p
[Xperia SP Android Development] ExclusiveBFS:
I'm new to the kernel stuff, can anyone explain what are the changes coming with helium and are they useful for daily use?

Edit: Sorry I should have used the q&a thread instead of this thread, I posted here by mistake
[Xperia SP Android Development] Tomoms:
Next time use the Q&A :)

Anyway, the changelog will tell you every single feature that comes with the kernel. Generally, a custom kernel can improve smoothness and battery life, and gives you more control on the hardware of your phone. If you decide to flash Helium, please read the second post of the thread: it'll avoid flashing it on unsupported ROMs and will keep you up-to-date on known bugs etc.
[Xperia SP Android Development] ExclusiveBFS:
If it's improving smoothness I will definately flash it. Thanks for the information :)
[Xperia SP Android Development] yash8796:
I am using settings suggested by you and yes my phone is really very smooth. But my battery consumes so fast when I use wifi or watch video. Can you suggest me kernel setting for this..?
[Xperia SP Android Development] Tomoms:
I'm working on v6. It'll bring lots of changes under the hood and optimizations, plus some other things.

BTW, 4 splashscreens have been uploaded to the splashscreen folder! Check them in the first post :)
[Xperia SP Android Development] AbboodSY:
Please don't forget to check Faux Sound in it, I'm still wondering if its varies between every device so thats why its working for you but not for me...
[Xperia SP Android Development] steveglowplunk:
Faux sound is working for me on c5303 with candy5 rom and helium v5.:rolleyes: I can edit the faux sound settings with kernel auditor, the settings takes effect right away and it doesn't go back to default values itself.
[Xperia SP Android Development] Kordius:
Can someone post screenshot of default voltages ? (v5)
[Xperia SP Android Development] steveglowplunk:
Assuming you mean cpu voltages, reboot and the phone should reset the voltages to default values.:)Anyway here's the screenshot.
[Xperia SP Android Development] Kordius:
Thanks : )

But reboot, reflash Helium or crash don't restore default voltages :( (without "set on boot") [MENTION=5727088]Tomoms[/MENTION] ?

EDIT: Reflash stock kernel and again Helium help.

~Default voltages in attachment.~
[Xperia SP Android Development] Tomoms:
Assuming that some time ago you edited the voltages using the "General offset" option, I can tell you that sometimes Kernel Adiutor goes nuts and applies the offset many times, so you get too low or too high voltages. The only solution is this:

uninstall Kernel Adiutor

reinstall it

edit the voltages by hand and turn on "Apply on boot"

Of course, if you're happy with the default voltages, skip step number 3.
[Xperia SP Android Development] Tomoms:
News

Ok guys so I'm going to take a little "break" from kernel development. There are 2 reasons:

Helium as of now can be considered a complete kernel (I can't think at something big that hasn't been added yet)

I've got other things to do

This however doesn't mean that I'll stop releasing updates - on the contrary, as soon as Adrian finishes the new kernel updates I'm going to release v6 and I'll continue releasing fast minor updates when Adrian adds something - , it simply means that all the features I've been striving to implement lately are finally included, so there isn't much to do now.

And this doesn't either mean that I'll disappear from XDA: I'll follow ROM development and I'll be happy to answer your questions, discuss problems et cetera.

What to expect from v6?

lots of updates by Adrian

some CPU governors

optimized memcopy libs
[Xperia SP Android Development] Jammu93:
big thnx for ur work... appriciate it :good::good:
[Xperia SP Android Development] steveglowplunk:
Possible to add gpu overclocking?

Anyway helium v5 is really perfect...with the help of swap, my phone has stayed turned on for 7 days, without any lags.:D(without swap, my phone's physical ram will somehow be filled up in less than a day, while there are not much background processes.:rolleyes:, the same weired thing happens in stock rom too) Thanks for your work!
[Xperia SP Android Development] unclegreggy:
may I know what are your kernel auditor settings and how use that swappiness/z-ram? mine has been lately slowing down after sometime and sometimes fast or sometimes lags :/
[Xperia SP Android Development] steveglowplunk:
For swap I use the roehsoft ram expander app. I have 610mb (but I think 500mb is already enough, the phone doesn't really use a lot of swap) swap file on the external sd card, the swappiness is set to 35, and the drive cache is set to 1024.(turning on the 'perfect kernel' option might cause crashes?) Also for the low memory killer settings in kernel adiutor, I've set the 'light' profile (so that background apps don't get killed when you have so much swap space to use)

Note that enabling swap will decrease the lifespan of the sd card because data is constantly written into it. Your sd card should also be at least class 10 so that your phone won't lag while using swap (if you don't know what is the class of your sd card, just shutdown your phone, pull the sd card out and see the number inside the small circle) Try not to put the swap file in the internal storage, else it's lifespan will decrease instead of a replaceable sd card.:oHope I helped!
[Xperia SP Android Development] unclegreggy:
thanks i'll try it out after a fresh re-flash :) so the lower the swap memory the longer the sdcard will last? for example I set it at 250mb only..
[Xperia SP Android Development] Tomoms:
Lower is better.

Inviato dal mio Xperia SP utilizzando Tapatalk
[Xperia SP Android Development] Arturk8791:
Which option will be good, for good battery life? ;)
[Xperia SP Android Development] Tomoms:
msm_limiter enabled, intelliplug with conservative profile should help a bit.

BTW, v6 will be out in less than 24 hours :)
[Xperia SP Android Development] Arturk8791:
Thanks! :) I try it now, works good.
[Xperia SP Android Development] Tomoms:
v6 for L released. v6 for M is coming, just wait for ~4 hours.

The L version has got permissive SELinux due to my laziness, will be enforcing in the next release. v6 for M has got enforcing SELinux as usual.

You will remember that a couple of weeks ago I warned you about potential incompatibility of Helium with the newest ROMs. v6 has updated sources, so it can be used on all builds of any ROM. No more limitations.
[Xperia SP Android Development] AbboodSY:
Whats the difference between permissive and enforced?
[Xperia SP Android Development] Alvichone:
Can we change selinux to enforce with build.prop editor in kernel adiutor? Now is 1 (permissive I understand), what number would we write to change to enforce?

Thanks [MENTION=2854006]tommons[/MENTION], u are grate!

Enviado desde mi Xperia SP mediante Tapatalk
[Xperia SP Android Development] Arturk8791:
Thank you so much Tomoms! I will test v6 now! :)
[Xperia SP Android Development] Tomoms:
SELinux manages permissions and denials of system processes when they want to do something. Well, actually I don't even know how to explain it. https://en.wikipedia.org/wiki/Security-Enhanced_Linux

Basically Enforced means more secure, but I'm quite sure Google put SELinux in Android just to mess up custom ROMs etc.

Where do you find the build.prop line that toggles SELinux? Never heard of that. Also because 0 should be Permissive and 1 Enforced.

You can change SELinux state to Enforcing by opening a terminal on your phone and by running:

su -c "setenforce 1"
[Xperia SP Android Development] Alvichone:
View attachment 3675245

And in settings/about phone SElinux state says permissive.

Anyway, I follow your advice. Thanks.

Another offtopic question: Kernel adiutor seems me a real powerful tool. In settings/debugging we have "Logcat" and "Last kernel message". Are they the same logs that the developers need to see the error/crash/booms in our devices? I have never done any because I haven't a terminal in my Sp, but if this another method works...I start right now! XD
[Xperia SP Android Development] Tomoms:
That means "the ROM has got SELinux: yes", it doesn't toggle its state.

v6 for Marshmallow released!
[Xperia SP Android Development] Jammu93:
Touch Gone

i dont know whr is the prob? Rom or kernel or My phone:confused:

but until 5.0 it worked fine....

i checked it clean install with cm12.1 20160302 build.... nano open gapps.... i cant even take log... no touch... but harware keys working

back on helium 5.0.. :crying:
[Xperia SP Android Development] Alvichone:
Cmbroser freeze sometimes, and take several seconds to open (with helium 5 was faster).

Enviado desde mi Xperia SP mediante Tapatalk
[Xperia SP Android Development] Arturk8791:
Wow.. I have v6.0 and works very, very good. I think its better or same as 5.0. Build cm12.1 20160115 nightly
[Xperia SP Android Development] AbboodSY:
After a 1 day of usage for helium

I'm facing a small freezes while using apps for browsing, and which sometimes the phone reboots because of that. and today after i wake up i pressed the power button to wake my device but it didn't turn on as usual on every helium version i flash. so i was forced to hard reset it to get it to work. the kernel settings are the same, using interactive with maxed frequency and the lowest frequency. and by the way faux sound is not working as always (Only the speaker isnt working in it, the rest is working)

Sorry for the long report :)
[Xperia SP Android Development] shavendum:
I too am facing these freezes.
[Xperia SP Android Development] Alvichone:
I come back to helium 5.0. Is perfect to me

Enviado desde mi Xperia SP mediante Tapatalk
[Xperia SP Android Development] Tomoms:
What are the ROM build you're using and Web browser?

The log you gave me doesn't show any error, so it's possible that your sleep of death issue is a storage error or a ROM-related error. In either cases, I don't know what to do. I think that it may be caused by some apps, here's my example: I used to use Xperia keyboard on cm12.1 and sometimes I had freezes and reboots, usually when typing. I removed Xperia keyboard and used stock keyboard and the reboots didn't happen anymore.

Same as above. Please provide build and browser.

So freezes with Web browsers... Strange. I don't use them a lot, but when I browse with Firefox I don't face freezes or lags... A test build will come on Friday.

Same as above :)

...so the best thing to do as of now if you face freezes is to stick with v5 or Adrian's kernel.
[Xperia SP Android Development] AbboodSY:
I'm on the 3/2 official CM build, the freezes are happening when using Opera Mini, SnapTube, Kik, Line, UC Browser.. is it possible that the problem occurs because all of those!! And by the way i didn't play with the hotplugs so the death screen that i faced maybe its because of something else in the kernel.

I'm back on this build kernel for now
[Xperia SP Android Development] Tomoms:
Of course in this case it's not the apps' fault.
[Xperia SP Android Development] millikp:
Hey Tomoms. I've switched to Helium v5 before because I had lags on line app with Adrian's CM12.1 kernel. And apparently, the said lags on line app seem to be present on the Helium v6. Any clue on what's the problem? v6 seem to perform much better than v5 but just like I said, I get lags/freezes/fps-drop when scrolling on line app chat.
[Xperia SP Android Development] Tomoms:
Wait for tomorrow's test build.
[Xperia SP Android Development] Arturk8791:
Yep, v5.0 is better than 6.0
[Xperia SP Android Development] Tomoms:
Test build

[MENTION=6081643]millikp[/MENTION] [MENTION=5738548]shavendum[/MENTION] [MENTION=6681358]Alvichone[/MENTION] [MENTION=7019295]Arturk8791[/MENTION]

Test build: please report performance issues.

https://drive.google.com/open?id=0B-msDWtyu1JrSEc5R25kOFhDNTg
[Xperia SP Android Development] Iekuta:
Could i make custom bootlogo for Helium Kernel ?
[Xperia SP Android Development] gabriel2mm:
its work .205 ?
[Xperia SP Android Development] Tomoms:
Probably you didn't read the thread's title.

5.1/6.0
[Xperia SP Android Development] gabriel2mm:
I read my question was , install this kernel , put recovery and install lollipop because my device is ubl stock rom .205 only , has no kernel or recovery . not put recovery in ubl .205 to put the lollipop ^^
[Xperia SP Android Development] ryandizon:
testbuild

just installed this test build.

adrian build 07/march with v6.0 test build helium test build smooth.

adrian build 07/march with v6.0 feel choppy, alot of mini stuttering.

adrian build 07/march with v5.0 (this kernel is very smooth with 21/feb build) quite choppy.

will report back if any unwanted reboot happens.

ps. thanks for your hardwork Tomoms :)
[Xperia SP Android Development] unclegreggy:
this kernel compatible with CandyRom?
[Xperia SP Android Development] Tomoms:
The latest build of Candy I've found is from 12.01.2015, that is quite a long time ago. Unless there's another newer build nestled somewhere, I'd say that Helium is not compatible with Candy. Candy's too old.
[Xperia SP Android Development] unclegreggy:
ohh i see, well i'm i kinda flashed it lol so far new errors :/ might test for awhile hehe