yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] Tomoms:
Open 40 tabs of Firefox/Chrome and you'll see lags and freezes on any kernel/ROM. Please be more detailed: what were you doing when you experienced these lags? Are they present on the default kernel? Also, please share your kernel settings.
[Xperia SP Android Development] hamed24:
In default browser and when I want open second or 3ed tab have some lag ,in game like traffic riding (size=92MB) have lag and some a bit freeze . I don't change kernel settings.

Thanks

sent from Xperia™ SP | Android 6.0.1
[Xperia SP Android Development] Kordius:
[MENTION=6046799]hamed24[/MENTION] every times when I install helium I have max cpu ~ 1,4Ghz by default. Maybe U too.
[Xperia SP Android Development] Tomoms:
Set the governor on slim and check if the CPU max freq. is 1728 MHz.
[Xperia SP Android Development] Arturk8791:
This has been solved in previous posts, check it

Sent from Xperia™ SP | Android MM 6.0.1
[Xperia SP Android Development] hamed24:
Thanks , I do this and very very better and than before

sent from Xperia™ SP | Android 6.0.1
[Xperia SP Android Development] Arturk8791:
Yes, slim very good governor with alucard hotplug. Better battery life

Sent from Xperia™ SP | Android MM 6.0.1
[Xperia SP Android Development] Tomoms:
This kernel may have got a serious bug that prevents ZRAM from working properly, thus causing extreme lagginess. I'd be extremely grateful if someone opened a terminal, ran

free

and posted here the output, together with info about the version of Helium they're running. Thank you!
[Xperia SP Android Development] LightZone669:
u0_a129@huashan:/ $ free

total used free shared buffers

Mem: 878841856 844251136 34590720 0 8572928

-/+ buffers/cache: 835678208 43163648

Swap: 134213632 58183680 76029952

V15
[Xperia SP Android Development] steveglowplunk:
I don't know if it would be useful or not. I'm running helium v5 with TeamUB 5.1.1. I have zram set to 300 mb and swappiness set to 40, using kernel adiutor. The zram seems to be working fine and I haven't faced lags. The screenshot of output is in attachment.

Helium v5 seems to be the only stable kernel that runs on old roms.:rolleyes:
[Xperia SP Android Development] Tomoms:
Thank you!

Yep the bug doesn't affect Helium v5. Thanks anyway.

EDIT: bug fixed.

v16 has got CPU OC, but I suggest you not to use it as it's not stable and it's probably too high. Be careful. It'll be either removed or stabilized in the next build.
[Xperia SP Android Development] Unusual Man:
2106MHz?! :eek:

Really?! Wow! If it is stable in the future... You're God [MENTION=5727088]Tomoms[/MENTION] :highfive:
[Xperia SP Android Development] Tomoms:
1. I'm not God :o (faux123 who coded it for the Moto X 2013 is a God, though)

2. I'll remove that frequency soon (there's no point in having 7 overclocked frequencies when none of them works properly).
[Xperia SP Android Development] Arturk8791:
lol 2,1GHz

v16 works better, i think.. :D

Sent from Xperia™ SP | Android MM 6.0.1
[Xperia SP Android Development] Unusual Man:
What about GPU OC?

It's possible or not?
[Xperia SP Android Development] Tomoms:
Right now I'm testing 1,8 GHz. No sleep of death till now... However, don't use it for now.

What a fail :)

GPU OC is a mess. Today I tried 20 different builds of my kernel with GPU OC, hoping to see at least one of them booting, without any success.
[Xperia SP Android Development] Unusual Man:
[MENTION=5727088]Tomoms[/MENTION] I asked about GPU OC. No CPU OC :fingers-crossed:

Is it up to 400MHz? And nothing else? :confused:

---------- Post added at 22:46 ---------- Previous post was at 22:43 ----------

Ok. I thought that the GPU OC is abandoned, but there is a hope. :fingers-crossed:
[Xperia SP Android Development] xXHenlolXx:
Still can't change zram to more than 120 mb in v16.
[Xperia SP Android Development] Tomoms:
[MENTION=6748831]Unusual Man[/MENTION]

:victory::victory::victory::victory:

v17 has got GPU OC!

Next steps:

check if it causes too much heat

readd the 400 MHz step between 320 MHz and 480 MHz
[Xperia SP Android Development] Unusual Man:
Performance on Helium 16.1

Antutu 39618

3DMark 562

Settings: 1,7GHz, performance, GPU 400MHz

Performance on Helium 17

Antutu 32516

3DMark 486

Settings: 1,7GHz, performance, GPU 480MHz
[Xperia SP Android Development] ma4a3er:
is it ok to flash v17 with today's build of cm ?
[Xperia SP Android Development] Tomoms:
Please run 3DMark a few times again and report. I've tested some games and they work fine.

Totally fine.
[Xperia SP Android Development] ma4a3er:
i have some over heat issue with v17 with yesterday's build of cm...u asked if it exist someone inform
[Xperia SP Android Development] Tomoms:
Thank you for reporting. What were you doing when you experienced overheating? Generally speaking, to avoid overheating set CPU max freq. to 1728 MHz and GPU max freq. to 320 MHz. Unless you play heavy games you won't notice any issue.
[Xperia SP Android Development] AbboodSY:
Since we are able to OC our GPU, Then whats our actual GPU limit?? I thought it was 320 and know i see that we can OC it to 480MHz !!
[Xperia SP Android Development] ma4a3er:
surving facebook and Instagram while downloading new cm version .. don't really like gaming but really appreciated ur work
[Xperia SP Android Development] Tomoms:
The stock limit is 400 MHz. I removed that frequency and put 480 MHz in.

What temperature did you reach? Try doing the same things after applying the frequency limits I wrote earlier and then check again.
[Xperia SP Android Development] jancsessz:
[MENTION=5727088]Tomoms[/MENTION]: Set GPU governor to performance and check the laggs :D, this GPU OC is not good :/

Tips:

Revert this work to default gpu frequencies

Search this lines in devices-8960.c: .num_levels = ARRAY_SIZE(grp3d_freq) + 1 and look up change .init_level = 2 to 0
[Xperia SP Android Development] Tomoms:
Yep, the whole thing sucks...

I strongly recommend you all to flash v16.1. It's on AFH.

I'll work on GPU OC next week to improve it.
[Xperia SP Android Development] ma4a3er:
normal temperature is 43 c even when i'm not using the phone it keeps in that way for while then down to 40 but not lower than that...when am using phone its more than 43 c
[Xperia SP Android Development] Tomoms:
My phone hardly goes higher than 34 C when gaming. Flash v16.1, it's better. It includes all of today's source updates.
[Xperia SP Android Development] Iekuta:
W T F !

Is this really going to be?

MAKE THIS REAL lol !!!

2.1 GHZ CPU O.C omg ?:eek::victory:

1998mhz is working but

2052 and 2106 mhz not working.
[Xperia SP Android Development] Tomoms:
I've tested OC up to 1836 MHz and it's stable. How long have you used 1944 MHz?
[Xperia SP Android Development] Iekuta:
1998 Mhz is working properly, but 2052 mhz and up isn't working.

:good:
[Xperia SP Android Development] Arturk8791:
My phone never goes to deep sleep, why?

Sent from Xperia™ SP | Android MM 6.0.1
[Xperia SP Android Development] Tomoms:
Provide BetterBatteryStats info please!
[Xperia SP Android Development] Iekuta:
A little problem here, when i change max 1728mhz to max 1998mhz and is working fine

but it reverts back to 1728mhz after a while(i dont know how long it's staying on 1998mhz maximum)

EDIT: I think that the problem is about governer.

I used ondemandplus and i faced with reverting back issue.

But im using Bioshock govermer at 1998mhz and im not facing with this issue anymore (im using it for 30+minutes.)

Btw, phone is soo smooth on 1998mhz bioshock governer, i love it so much!

Im using Kernel Adiutor
[Xperia SP Android Development] Tomoms:
I know what's the cause of this problem. Unfortunately, I've forgotten to disable msm_limiter in this release so it's enabled by default. msm_limiter overrides your preferred max freq. To fix it, open /sys/kernel/msm_limiter/resume_max_freq and write 1998000 in place of 1728000. To avoid having to do this every time you reboot, open /etc/init.d/01helium and change 1728000 to 1998000. After doing this, you'll have msm_limiter still enabled (it sets max freq. to 1026 MHz when screen is off), but it will respect your preferred max freq. If you want to completely disable msm_limiter, open /etc/init.d/01helium and replace the 1 with a 0, then reboot.
[Xperia SP Android Development] Krawzer:
can I increase the max frequency when screen is off ?
[Xperia SP Android Development] Tomoms:
Read the second part of this post: http://xdaforums.com/xperia-sp/development/kernel-helium-v1-t3251298/post65462553
[Xperia SP Android Development] bisu20:
Hello Sir,

I have tried all version of Helium from 13 to 17 in AICP all are lagging during Candy Crush/Galary/contact/ucweb/play stores .. plzz help if possible

but battery changing time is reduced thanx 4 that..
[Xperia SP Android Development] Tomoms:
Send me your kernel configuration.
[Xperia SP Android Development] bisu20:
how can i get that details??
[Xperia SP Android Development] Tomoms:
Using an app called Kernel Adiutor. Check the CPU min/max frequencies, the governor, the hotplug...
[Xperia SP Android Development] bisu20:
cpu

min-384 mhz

max-1728 mhz

governer-interactive

hotplug- boost on
[Xperia SP Android Development] JhonesMillionBR:
Awesome Kernel!
[Xperia SP Android Development] Tomoms:
GPU OC performs better

[MENTION=6748831]Unusual Man[/MENTION]

please run some benchmarks using v18 and GPU OC. It performs much better than in v17.
[Xperia SP Android Development] Unusual Man:
3DMark 410-440

Antutu 27500-34000

1,7GHz, performance, GPU 480MHz
[Xperia SP Android Development] Tomoms:
Please try with v18.1. It's available on AFH.
[Xperia SP Android Development] Unusual Man:
Antutu 34000-40000

3DMark 380-470

1,7GHz, performance, GPU 480MHz
[Xperia SP Android Development] Tomoms:
Please try with v18.2. Thanks!
[Xperia SP Android Development] jancsessz:
Helium v18.2

Antutu:

3Dmark:
[Xperia SP Android Development] AdrianDC:
One Antutu Benchmark is too unreliable, a minimum of two or three with fairly similar results will give a real view of the results.

I like Antutu but with their glitches in the 3D tests and inconsistencies in the results (we gained 2000-3000 on 3D with their last crash fixes), it has to be used a few times and on comparison to a previous state with the same versions.

And also try to share the ROM build version, date, Antutu app version and 3D test version. Annoying but helps everyone comparing on a comparable basis.
[Xperia SP Android Development] Andreus94:
I tried v18.1 today but 3D on antutu was unsupported.

But this is my result with 18.2

CM13 nightly 9th June.

All my apps installed.

Kernel settings : default, with

CPU governor performance 1728MHz.

GPU 480MHz performance.
[Xperia SP Android Development] Unusual Man:
Antutu 33000-39500

3DMark 370-460

1,7GHz, performance, GPU 480MHz

I always make ~10 tests.
[Xperia SP Android Development] Tomoms:
Please try with default CM kernel in the same circumstances and, where possible, with the same kernel settings.
[Xperia SP Android Development] MupkyJI:
I do not speak English. Using translator)

My tests antutu

см13 (8,06)+ 18.1

slim 1988 gpu 320, intelliplug, zen(256)- 40000; slim 1988 gpu 480 zen(256)- power off, after the test graphic

slim 1728 gpu 320-480,intelliplug, zen(256) - 38100-38600

см13 (9,06)+ 18.2<->18,1

slim 1890-1988 gpu 320-480,intelliplug, zen(256)- power off, after the test graphic

slim 1728 gpu 320-480, intelliplug, zen(256)- 38100-38600, 38200+ stable
[Xperia SP Android Development] Iekuta:
wow great job ,

thank you all for your effort :good:
[Xperia SP Android Development] destiny4life:
@ Tomoms

Thank you for this kernel.

My screen is freezing sometimes and I reset it by opening back cover. Can you please tell me some solution to avoid it?

I am using cm-13.0-20160609-NIGHTLY-huashan.zip from http://download.cyanogenmod.org/?device=huashan and helium_v18.2_M.zip

I have added basic apps from play only and have not made any modification using other flashable zips or something like that (am a noob)

Thanks in advance
[Xperia SP Android Development] Tomoms:
Have you replaced your screen?
[Xperia SP Android Development] destiny4life:
Yup!

Few months ago I dropped my phone accidentally and original digitizer got cracked. Got new one from ebay and replaced it with the help of a phone repair shop.
[Xperia SP Android Development] Tomoms:
It could be a non-official touchscreen that causes you the freezing problem in certain conditions, e.g. high temperatures etc. Does that problem happen when you use Adrian's kernel?
[Xperia SP Android Development] destiny4life:
Ya, I fresh installed latest cm13 from official site today without flashing your kernel just to see if problem is in kernel or not and it got freeze sometime. So I thought that cm13 has some sort of problem.

Any cpu tweek to stop overheating or something like that?
[Xperia SP Android Development] Tomoms:
If we don't know what the problem is, we can't tell you a fix. It could also be a hardware problem.
[Xperia SP Android Development] Kordius:
I tried last Helium with AICP and I had a lot of lags ( default kernel settings ) even with charging animation of BatteryBar x_x

So I flash cm-13.0-20160610-kernel and also with default setting and phone just fly
[Xperia SP Android Development] ma4a3er:
on latest version of helium and cm and everything is more than fine with all my apps including facebook and messenger apps
[Xperia SP Android Development] Iekuta:
Helium v18.3 and 06.06.16 CM13 Build runs really smooth on 2GHz - 480Mhz :good:
[Xperia SP Android Development] destiny4life:
I think this is because of low quality touch. Whenever phone heats up, there is 90% chance that touch will not work.

Any recommended kernel setting to make phone temp. at minimum?

I just use SP for daily usage like checking mails, whatsapp and phone calls only.
[Xperia SP Android Development] Tomoms:
Underclock the CPU, don't use KSM. It could help a little, but don't expect miracles.
[Xperia SP Android Development] destiny4life:
Do I have to disable deferred timer too?

By Underclock the CPU, you mean minimizing cpu maxinum frequency?
[Xperia SP Android Development] Tomoms:
No, deferred timer will do nothing if the main KSM switch is off!

Underclock = set max frequency to a lower value, e.g. 1458.
[Xperia SP Android Development] destiny4life:
I did that but max frequency returns to 1728 and ksm again enabled after reboot. :(
[Xperia SP Android Development] Tomoms:
Did you enable "set on boot"?
[Xperia SP Android Development] destiny4life:
I have done that now. So, do i have to manually open kernel auditor every time (just opening it so some process start showing in notification) after rebooting phone so to apply those settings?
[Xperia SP Android Development] Tomoms:
No, if you enable "set on boot" Kernel Adiutor will automatically start itself within 1 minute after boot.
[Xperia SP Android Development] destiny4life:
Got it.

Thank you for this awesome kernel.
[Xperia SP Android Development] Tomoms:
v19.1 has a new feature: here's its explanation.

Every time you flash Helium, the 01helium init.d scripts gets replaced with the default one. This is very annoying for the people who had edited that script, for example to enable msm_limiter, as they need to edit it again after every update of Helium. From now on, if you don't want your script to be replaced with the default one, you just need to create an empty file in /data/data and call it script_persist. You don't need to type anything in it. If that file is present when you flash a new version of Helium, your custom script will be kept.
[Xperia SP Android Development] ma4a3er:
v 18.3 with latest cm13 is much better than v19 and v19.1 with both i found some lags and ui stop
[Xperia SP Android Development] VladHD:
well .. i don't have problems with ui, but some apps are force closing on 19.1, i'll also try 18.3
[Xperia SP Android Development] ma4a3er:
even v18.2 with latest cm is so smooth i guess there's something wrong with versions after 18.2 or 18.3 causing the lags
[Xperia SP Android Development] Tomoms:
Give me examples of these lags: when do you face them? I don't notice any difference between v18.3 and 19.1. If a kernel had had such issues, I wouldn't have released it. I'm using it with one of the latest CM13.
[Xperia SP Android Development] ma4a3er:
didn't mean to bother you... ! but latest cm with v18.2 i can use facebook browser and messenger without lags it only take a few seconds to open and surving without any issue with v19.1 it takes 2 minutes to able to open facebook and some time it freezes when i want to see notifications that didn't happen with older versions also on v19.1 when the phone has heat issue ... a hot reboot occurs always not just once i know u need logs but i don't know how . thnx for ur work
[Xperia SP Android Development] Tomoms:
Ok, on Monday I'll send you a new build. You'll have to check if performance is better or not. In the meantime, stick with the version that works better for you.
[Xperia SP Android Development] VladHD:
i'm using latest version of cm 13 and i don't have your problem, it's just a conflict with some apps, that's all.

did you wiped cache?
[Xperia SP Android Development] ma4a3er:
for sure did that am on v18.2 with the latest cm and every thing more than fine ...
[Xperia SP Android Development] VladHD:
I have a problem, i'm not sure because of the kernel or smg else.

I'm using kernel adiutor and every time i turn on screen, my screen settings from kernel adiutor are just resetting, but only the setting for screen and it's resetting to different value than usual(32000 - 28000 - 24000 kinda yellow collors)

How to i reset to usual settings?
[Xperia SP Android Development] Tomoms:
Does it happen at night? Sounds like LiveDisplay is enabled.
[Xperia SP Android Development] dorolan05:
where can i download older version pls.. like v7
[Xperia SP Android Development] VladHD:
omg i completely forgot about that .. my brother is using this phone now and i forgot i activated ld for him xD

thank you :)
[Xperia SP Android Development] dorolan05:
anyone pls/?? coz i cant use the newer version of kernel to cm13.. maybe because of my newley replace TS from not legit store..i manage to worked in v3.3 which i found from the thread other than that i cant find anything above that.. coz v.3.3 the wifi does not work.. TIA i hope someone upload v7 or anything with working wifi

:(
[Xperia SP Android Development] Tomoms:
If you use v7 with the latest CM, you'll experience some weird and bad issues.
[Xperia SP Android Development] dorolan05:
hhmm..:(.. then how am i able to fix wifi?? it seems for me the wifi is the only issue..
[Xperia SP Android Development] ParanoidNemo:
Sorry but if you have problem with helium why you're not using Adrian kernel?
[Xperia SP Android Development] dorolan05:
whre can i find that sir?? in his DL site?? i found i think its kerneldate-huashan?? the older 1 was working but the new one is same its boots then hang and fade then start..
[Xperia SP Android Development] ParanoidNemo:
It's with the ROM..when you flash cm13 you have Adrian kernel..don't need to download/flash nothing else
[Xperia SP Android Development] dorolan05:
ah.. ok sir. i tried that many time but still same its hangs slowly faiding then restart .. its because its new its not working to me.. i manage to finally booted but with the older version of kernel..:( which has broken wifi.. but data is working actually im using now cm13 using data.. not wifi:/
[Xperia SP Android Development] ParanoidNemo:
If you have problem with cm13 boot post your problem into the specific Q&A thread..should working perfectly
[Xperia SP Android Development] Unusual Man:
Ok. After much testing, I think that everything works as it should.

The results of the benchmarks(Antutu, 3DMark, Quadrant) are very good. Higher than in the original kernel.

Everything runs smoothly and without any cutoff.

But I have problems with the GPU frequency settings in the kernel adiutor.

When changing from 320MHz to 480MHz it kind of changed the way I want to, but then I check and still is 320MHz. Any ideas? :confused:

Helium 19.1+CM13 Official Latest Build(Always)

Btw.

What settings do you recommend?

These are mine:

CPU Max: 1728MHz

CPU Min: 384MHz

CPU Governor: Ondemandplus

Multicore Power Saving: Enabled

Sync Threshold: Disabled

Input Boost Core 1&2: Disabled

CPU Hotplug: MPDecision&MSM MPDecision - Default

GPU Max: 320MHz but still I try to set 480MHz but this is only temporary, because immediately returns to 320MHz.

TO TESTS - Multicore Power Saving: Disabled; CPU&GPU Governor: Performance.

P.s. Sorry for my bad English :silly:
[Xperia SP Android Development] Tomoms:
Each frequency of the GPU is used only when needed, it's normal that unless you play a game, it doesn't scale up to 480 MHz. BTW, if I understood well, you have 2 CPU hotplugs enabled; that isn't a good idea. Only use one of them.
[Xperia SP Android Development] Unusual Man:
2 CPU hotplugs is enabled by default.

After a fresh installation of CM 13 Official and Helium 19.1 this settings is default and I changed nothing:

CPU Max: 1728MHz

CPU Min: 384MHz

CPU Governor: Interactive

Multicore Power Saving: Disabled

Sync Threshold: 1566MHz

Input Boost Frequency Core 1&2: 1458MHz

CPU Hotplug:

----MPDecision: Enabled

----IntelliPlug: Disabled

----MSM Hotplug: Disabled

----MSM MPDecision Hotplug: Enabled

----Alucard Hotplug: Disabled

----AutoSMP: Disabled

GPU Max: 480MHz - but later is 320MHz

GPU Governor: Ondemand
[Xperia SP Android Development] Tomoms:
That's risky! Thanks for reporting :)
[Xperia SP Android Development] Gshrestha:
I am really willing to flash your helium kernel. I am currently using cm13 in my Xperia SP.I tried reflashing the ROM , relashing TWRP zip..but still m stuck in Unpacking the kernel. I had found a thread somewhere regarding the solutions but m confused.So could you please kindly suggest me some working alternatives / suggestions.
[Xperia SP Android Development] Tomoms:
Rule #1: never quote the first post of a thread.

Rule #2: always read the second post of this thread before asking anything.
[Xperia SP Android Development] Gshrestha:
M really sorry !! This might be the first time I am replying in any quotes. Sorry if it bothered you.

I looked into the second post as well. Currently , i downloaded 18.3. Will it be good if i flashed the v18.3 with the cm13 -2016.06.16
[Xperia SP Android Development] Tomoms:
Don't worry, you didn't bother me, it's just a general rule to keep the threads clean. Why don't you try v19.1? Follow the tutorial I linked in the second post and let me know.
[Xperia SP Android Development] Gshrestha:
Is it weird that I didn't see the tutorial in the second post :(

Recently , I downloaded the V18.3 and tried flashing it as well , but it too got stuck in Unpacking the kernel. :(
[Xperia SP Android Development] Tomoms:
http://xdaforums.com/showpost.php?p=67022772&postcount=819
[Xperia SP Android Development] Gshrestha:
I wish I could simply flash the helium v19.1 just as previous ways :( :( :(

I could easily flash William's Kernel in CM11 :(

Are there any other ways !!

Missing the simple flashing of the Kernel zip :(
[Xperia SP Android Development] cipetonk:
what? simply flash via twrp
[Xperia SP Android Development] OsGhaly:
Check the md5 of the downloaded zip file, may be you have a corrupted one due to bad connection or SD card problem.
[Xperia SP Android Development] Gshrestha:
Previously , while I had CM11 installed in SP , I flashed the william's kernel simply by flashing the zip file via CWM recovery.

But now since I upgraded to CM13 , and the basic cyanogen recovery ain't good .Then I flashed TWRP .I want to have a custom kernel for CM13 too..But I can't easily flash as i did earlier. :(

---------- Post added at 11:46 AM ---------- Previous post was at 11:43 AM ----------

Could you please tell me from where shall I find the md5 of the downloaded zip..As to my memory , while flashing , it said something abt uanble....md5..missing
[Xperia SP Android Development] OsGhaly:
You can find the original md5 at the kernel download page:

https://www.androidfilehost.com/?fid=24591020540821671

Just compare it with the one you've downloaded.. You can get the md5 of the downloaded zip file using any file explorer app such as ES Explorer.