yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] cipetonk:
aftre flash twrp, then flash kernel zip
[Xperia SP Android Development] Tomoms:
Is it so difficult to follow the tutorial linked at the end of the 2nd post and then report? All these suggestions have been already tested in the past without success.
[Xperia SP Android Development] Gshrestha:
Tried...I flashed the rom again , flashed twrp again and tried flashing kernel..but still the same problem :rolleyes:

---------- Post added at 04:44 AM ---------- Previous post was at 04:42 AM ----------

I downloaded the kernel from the link given above as well ..but while flashing it says :

Checking for MD5 file...

skipping MD5 check : no MD5 file found....

and later gets stuck at upacking kernel .....

Similarly , I tried checking the downloaded zip file , It only contains 4 folders :

kernel

META-INF

scripts

tools :eek:
[Xperia SP Android Development] VladHD:
how is not easy? download archive, put it on internal/sd card and flash it via twrp, it's not that hard.

or you can flash it via adb sideload
[Xperia SP Android Development] OsGhaly:
Just follow the instructions given by [MENTION=5727088]Tomoms[/MENTION] and stop spamming this thread.
[Xperia SP Android Development] Gshrestha:
Please read all of my queries :eek: , I already told that I AM UNABLE TO FLASH BY THE VERY PROCESS YOU TOLD - DOWNLOAD >>PUT IN SDCARD >>FLASH VIA TWRP :confused::confused:

---------- Post added at 10:09 AM ---------- Previous post was at 10:05 AM ----------

WOHH !! Thank You for the reply..But I found it very rude..:confused::eek: I told you already where I got the problem.If you can't give a proper solution , please don't interfere :) I hope now my reply ain't rude !!!!
[Xperia SP Android Development] Tomoms:
Ok, problem solved via PM. Let's stop with this verbal crossfire. Thanks!
[Xperia SP Android Development] Gshrestha:
[SOLVED]

Yupp !! Thank You for the solution [MENTION=5727088]Tomoms[/MENTION]:):o
[Xperia SP Android Development] Tomoms:
From now on, you cannot choose a custom splashscreen as the new installer doesn't allow to do this. But it fixes the endless "unpacking kernel" message, so I won't go back to Anykernel.
[Xperia SP Android Development] Unusual Man:
What about default settings after install on CM13? 2 hotplugs on, e.t.c?
[Xperia SP Android Development] Tomoms:
Maybe that's fixed, I didn't try.
[Xperia SP Android Development] Unusual Man:
Unfortunately not. It is as it was. :crying:
[Xperia SP Android Development] Annoyingmouse:
It dosen't work on CM13 - "installation aborted " .Please help :(
[Xperia SP Android Development] Tomoms:
Redownload and reflash.
[Xperia SP Android Development] Annoyingmouse:
I've alreadey did this,but it just don't works.Maybe because I'm on android 6.0.1 instead of 6.0 or because I use cynanogenmod's recovery ? I've also tried flashing via adb and I've got the same problem.I have a Sony C5302,is it compatible ?

---------- Post added at 08:08 PM ---------- Previous post was at 07:20 PM ----------

Thanks for help,now works after I've flashed twrp
[Xperia SP Android Development] Tomoms:
New version released!
[Xperia SP Android Development] Unusual Man:
Helium 20.2+CM13 Official 20160629

Very fast and smooth. Without any cutoff. SP is not overheating.

I recommend :highfive:

Good job [MENTION=5727088]Tomoms[/MENTION]! :good:
[Xperia SP Android Development] Andreus94:
please can you share your kernel settings? (governor, GPU, scheduler and other settings that you changed)
[Xperia SP Android Development] Unusual Man:
http://xdaforums.com/showthread.php?p=67383520
[Xperia SP Android Development] Kordius:
What is diffrent beetwen USB fast charge and USB fast charge v2 ?
[Xperia SP Android Development] Tomoms:
Read the message of this commit on GitHub: force fast charge v2
[Xperia SP Android Development] JhonesMillionBR:
How can I expand ZRAM Size?
[Xperia SP Android Development] Kordius:
Thanks, I couldn't found this :)
[Xperia SP Android Development] Limakos:
You should be able to do it through kernel adiutor

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[Xperia SP Android Development] miladn78:
I using another kernel , if I want to use this kernel how can I flash it ?
[Xperia SP Android Development] gabrielbolner:
Flash normally by TWRP
[Xperia SP Android Development] Tomoms:
Next time post in the Q&A thread, please!
[Xperia SP Android Development] Arturk8791:
Check latest posts in Tangerine kernel thread about bug max freq 1458MHz. Check this in kernel audiutor and frequency table

Sorry for my bad english [emoji14]
[Xperia SP Android Development] moozer:
I see no issue here...
[Xperia SP Android Development] DahakePL:
I think you didn't get me, it gets stuck while unpacking kernel message appears in TWRP
[Xperia SP Android Development] moozer:
I do understand what you're saying. Just trying to offer help, bro! Maybe try reflashing the ROM kernel. Reboot. Download Helium again and try flashing it? I've had this a few times before and just revisited the basics. It usually came down to EITHER bad download, or covering your back with a Dalvik wipe before flashing kernel. I hope you get it sorted.
[Xperia SP Android Development] Tomoms:
Check the md5 of the zip you downloaded (you can find the right md5 in the download page). Your zip may be corrupted.
[Xperia SP Android Development] moozer:
Tomoms - just to let you know that Helium 2.1 works perfectly with AICP MM - both WiFi AND data fully operational.

I tried the stock ROM and had no data/network, also Tangerine 11.1 - data/network but no WiFi

Weird, huh? Seeing as both base ROMS are AdrianDC builds!
[Xperia SP Android Development] Tomoms:
Weird but good! Please report if you find problems! (external SD?)
[Xperia SP Android Development] moozer:
No access to SD card.

Wifi abandoned me - randomly - restarted phone sorted it.

Edit: Scratch that - SD card fine
[Xperia SP Android Development] Tomoms:
Seriously? That's ridicoulous. SELinux is Enforcing, that should screw everything up on M...

However, v2.2 is out. M users - I've written it in the 2nd post - flash stock kernel before updating.
[Xperia SP Android Development] moozer:
Tomoms - it's the Xperia SP and a custom kernel and ROM! Of course, it's ridiculous...nothing ever makes sense with this phone and it's fickle fancies!!

Will try the 2.2 kernel later and report back to you - thanks for your work, bro!

;)
[Xperia SP Android Development] AdrianDC:
Just for info, the CM13 builds I publish are permissive, but fully ready for enforced,

I build as enforced for myself but keeping permissive for the public releases for the moment.
[Xperia SP Android Development] parkavenu:
I can't fix it. It's not booting. When I connect it in flash mode and try to flash kernel or rom, the operation aborted. I've attached a screenshot for Flashtool log.

Sorry guys, I know this not the right place to write my problem but I REALLY need help.
[Xperia SP Android Development] moozer:
Right click your ROM zip file and select extract to "ROM" - the "ROM" should be the same name as your ROM zip file.

Open Flashtool - without the phone connected. Let it do it's thing.

Flashtool should show your device to be disconnected.

Press and hold volume up whilst plugging the USB into your phone. The LED should now be blue and Flashtool should show "Device connected in Fastboot mode"

Click the lightning bolt.

Select Fastboot mode

On the right hand side of the new window that pops up, select "Select kernel to flash"

A new window will pop up .

In the bottom right, select (from the drop down menu) *.img

Navigate to where you extracted the ROM zip earlier and select boot.img

Let Flashtool do it's thing

You should be done.

Let me know ASAP if this helps

Good luck

---------- Post added at 00:33 ---------- Previous post was at 00:20 ----------

Just to add. Once this has been successful, you should boot into recovery and flash the ROM. Let me know how things go. ;)
[Xperia SP Android Development] finnal123:
V2.2, frequency doesn't go up 1728, 2.1 does. Check frequency table: unused cpu states: 1728, 1674, 1566, deep sleep!
[Xperia SP Android Development] Tomoms:
No problem for me.
[Xperia SP Android Development] shavendum:
[MENTION=5727088]Tomoms[/MENTION]: the cpu scaling issue is back. I remember last time this problem started, you had added clean frequency table in the changelogs..... Maybe some sp's like it dirty :P
[Xperia SP Android Development] Tomoms:
You're a genius! That is the issue for sure! In fact, in this release I've cleaned the frequency table, and the issue appeared! Next release will have both a clean and a "dirty" freq. table :)
[Xperia SP Android Development] moozer:
:highfive:
[Xperia SP Android Development] shavendum:
If that wasn't sarcasm, then thanks... :D
[Xperia SP Android Development] Tomoms:
No sarcasm indeed!
[Xperia SP Android Development] Tomoms:
Helium v21.1 is an important bugfixing point release.

I need your help to test a kernel that might cause sleeps of death when using CPU OC. Only flash it if you can risk a sleep of death! Otherwise don't flash it - use the regular version you can find on AFH.

Link for the test build: Helium v21.1 - test version
[Xperia SP Android Development] gabrielbolner:
I can

Well i can test it only tell which situations do you think this sleep of deaths will happen?

Sorry for bad english
[Xperia SP Android Development] Tomoms:
Of course, during deep sleep. Basically, you just have to set the CPU max freq. to something like 1,8 or 1,9 GHz and use your phone normally. It's possible that, after locking the screen, you won't be able to unlock it in any way, and you'll have to reboot the phone with the back button.
[Xperia SP Android Development] gabrielbolner:
[/COLOR]

Btw I'm using this with Mokee 60.1 today's nightly

Sorry for bad english
[Xperia SP Android Development] Onawt:
[MENTION=5727088]Tomoms[/MENTION]

I just installed your latest kernel on top of 06-07 CM13 nightly. Thought I would report my experience in this thread instead of Q&A.

Since I installed your kernel my device hangs quite occasionally, with a message "App X not responding", even with nothing changed to the settings in Kernel Adiutor. This didn't happen on the CM13 kernel. 06-07 CM13 kernel was very smooth and the device did never hang.

Also, for some reason Kernel Adiutor sometimes does and sometimes doesn't apply my changes on boot.

Lastly a Q&A question. What are you recommended settings? I now have everything as it came on first boot with CPU @ 1998MHz and GPU @ 480MHz. Are there any CPU governors recommended for our device and what about CPU hotplugs?

I have a feeling the frequent hiccups and "App X not responding" has something to do with RAM management. It feels like some buffer is full and that causes the whole phone to hang for a few seconds.
[Xperia SP Android Development] Tomoms:
I use slim governor, MSM hotplug and cpu-boost enabled. I also use row as my I/O scheduler. All the CPU frequencies are undervolted with a general offset of -25 mV.

What are the apps that stop responding?
[Xperia SP Android Development] Onawt:
Antutu stopped responding a few times. But also just the settings app. One time Trebuchet completed stopped and my phone hang for a few seconds. And it looked like Trebuchet had to restart itself. Overall the 'lag' and hiccups seem to be quite random.

Question about I/O scheduler: Is row a good balance between performance and battery life? I/O performance could definitely be improved upon and I know something about CPU governors and hotplugs, but nothing about I/O schedulers. The interwebs is also quite vague about what exactly each governor/hotplug/scheduler does. Are your settings good for a balance between battery life and performance? I'm looking for something that has good battery life, but I also want a fast, responsive device when I'm using it.

Thanks in advance for your advice!
[Xperia SP Android Development] Tomoms:
All you need to know is here: http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

Did you wipe cache after installing Helium?
[Xperia SP Android Development] Onawt:
Thanks for that link! That should really help me.

I didn't wipe cache/Dalvik cache after installing the kernel. Could that be the whole issue? Should I wipe only cache or also Dalvik cache (takes a long time at first start-up)?
[Xperia SP Android Development] Tomoms:
Although usually it's not needed, since you're in this strange situation wipe only cache in recovery.
[Xperia SP Android Development] Onawt:
I think it worked :). At least Kernel Adiutor gave a notification saying my settings were applied at boot this time. And with your settings regarding CPU governor, I/O scheduler and CPU hotplug, I managed to finally do a normal Antutu run which gave me 41683 points. I guess this is a valid score for a CPU and GPU overclock? Considering I got around ~39000 points on CM13 kernel. Antutu did hang one time in the info menu, but I think this wasn't necessarily my device but more Antutu's fault. At least it didn't cause the 'App X not responding' message or a complete system lock-up. Thanks for helping me!

It seems row as an I/O scheduler improves the benchmark scores somewhat. Don't know if it improves the snappiness of the device much, but the link you sent me suggested it as a good middle-way.

Btw: Is it advisable to set the 'read-ahead value' to 3072kb as that link suggests? It only mentions it for external SD card with >16GB, but don't know if it hurts the internal storage. According to that thread, it does provide some boost in I/O performance.
[Xperia SP Android Development] Tomoms:
Read-ahead for internal storage should always be set to 128 kb because our eMMC memory is very slow - unfortunately. So setting it to any high value would cause a lot of lagging when installing amd opening apps. 41k is a great score!
[Xperia SP Android Development] miladn78:
41K is great score, please share your settings :fingers-crossed::fingers-crossed:
[Xperia SP Android Development] Onawt:
I used the same settings as Tomoms did, regarding governors etc. My CPU is @ 1998MHz and GPU @ 480MHz (maximum allowed by the kernel). CPU governor is set to slim, without changes to the CPU governor tunables. CPU hotplug is set to MSM hotplug (don't forget to turn off the standard MPDecision hotplug; only one should be active at a time). Again I didn't change any of the MSM hotplug settings. GPU governor is set to ondemand (default). I/O scheduler is set to row and my external SD card's read-ahead value is set to 3072kB, because I have a fast SD card which can handle it (but I doubt it provides much boost in benchmark and normal use performance). Also in battery settings I enabled USB fast charge, just for convenience when my phone is connected to my PC :)

Mind you: this ~41K benchmark score was partly due to a 6800 RAM score. I've seen this score go as low as 5800 on my phone. It really depends if you have a 'lucky run'. But ~40.5K should really be the minimum score you get when using these settings.

I don't think I'll use 1998MHz for daily usage btw. It requires 1300mV on my phone and undervolting wasn't stable in Antutu (reboot). 1300mV seems somewhat high and I don't think it will provide me that nice battery life the Xperia SP used to have. This requires further testing though, so I'm not 100% certain.
[Xperia SP Android Development] Tomoms:
On my phone Antutu runs fine even when 1998 MHz draws only 1250 mV.
[Xperia SP Android Development] miladn78:
Which frequence you use for daily work and gaming?
[Xperia SP Android Development] miladn78:
You right when I run benchmark [MENTION=6016428]1998[/MENTION] GHz frequence it give me 31K score but when I come back to Kernel Adiutor , CPU frequence is 1728. Wht's going on ? I don't know and must wait for answer from Tomoms.
[Xperia SP Android Development] RogueanX8:
Like Adrian said, antutu is unreliable.... Maybe u can use geekbench or pcmark CMIIW
[Xperia SP Android Development] Onawt:
I tested Geekbench. That went just fine (even 1998MHz @ 1250mV). Antutu is unreliable as in, every run you do, you can get a varying score. But Antutu shouldn't be unreliable as in, it changes your CPU and GPU OCs. I mainly used it to test my CPU OC stability.

If Antutu is unreliable, do you know of other reliable apps that run a long test on the CPU/GPU to test for stability?
[Xperia SP Android Development] AdrianDC:
In my opinion, it's not a question of which one to use and which one not to use, I basically use all of them xD.

For good reliable results & to compare the improvements,

I run Antutu Benchmark at least 3 times, always the same conditions,

I also use Quadrant twice, which values are very reliable & stable,

then GPUbench for 3D smoothness & stability mostly,

Geekbench 3 for consistency test but the values are always similar.

And the best test of them all, Daily Usage.
[Xperia SP Android Development] gabrielbolner:
Still using Helium test version and no sleep of deaths yet

Sorry for bad English...
[Xperia SP Android Development] Tomoms:
Did you enable CPU overclock?
[Xperia SP Android Development] RogueanX8:
I dont know actually XD..... cause i dont care about my phone's score, i just care about my phone smoothness

Like FPS in game.... i'd rather choose 30 fps without stutter than 50 fps with stutter
[Xperia SP Android Development] Cyrus.xda:
Hi tomoms i want to report a problem your kernel is just amazing no words can't explain how good is that it's very fast no more hot reboot no more lag no more deep sleep like a dead phone but the only problem is when its over clocked cpu when i want play video with x265 convert its some times very laggy on mx player it's not related with overclock if tomoms you fix this one it's gonna be perfect thank you so much
[Xperia SP Android Development] Tomoms:
Man, the whole point of using the test build was to enable CPU overclock... Check if the max frequency is 1728: in this case it's obvious that you have never faced a sleep of death. Since I have flashed this test build too, I can assure you that the sleep of death aren't fixed, so don't enable overclock!
[Xperia SP Android Development] Cyrus.xda:
Mr tomoms i can reassure you sleep of death is gone in 21.1 version but the problem with your kernel is on before this post i explained if you fix this laggy playing x.265 media with mx player you can take a test if you want thank you tomoms i prefer your kernel
[Xperia SP Android Development] Tomoms:
We'll talk about x265 later. Are you using v21.1 or the test build? They are two different things, sleeps of death occur in the test build but not on the regular v21.1 build.
[Xperia SP Android Development] Cyrus.xda:
Sorry i couldn't test this not yet and i don't find it in folder test but 21.1 still amazing
[Xperia SP Android Development] Lubakabra:
For me...this is the best benchmark...it's Vellamo made by Qualcomm https://play.google.com/store/apps/details?id=com.quicinc.vellamo

Try :) ;)
[Xperia SP Android Development] Onawt:
Tested it. Everything ran stable at 1998MHz CPU [MENTION=654568]125[/MENTION]0mV) and 480MHz GPU. Still... it's a benchmark, not a CPU stress test really.

I have now tested Quadrant and got a score of 7007 and Antutu (finally had an actual run at 1998MHz and 480MHz as confirmed by Kernel Adiutor) gave me score of 41608. It seems 41K-41.5K should be the score for 1998MHz + 480MHz. Maybe someone who's lucky is able to get 42K.

Geekbench 3 got me 755 single core and 1366 multi-core.

I did a general voltage offset of -50mV on all frequencies. Thus far everything is still running stable. Quadrant and Geekbench were tested at 1998MHz @ 1250mV and I didn't experience any lock-ups, reboots or app crashes.

I would have to test daily usage in the coming days to see if anything happens, that could indicate instability [MENTION=654568]125[/MENTION]0mV.

[MENTION=5727088]Tomoms[/MENTION] Would it be possible to OC the GPU even further to say 550MHz? And CPU to around 2.1GHz? That would be amazing and squeeze every tiny bit of performance out of the silicon.
[Xperia SP Android Development] Tomoms:
It is possible (at least theoretically), but I wouldn't do it. Too dangerous.
[Xperia SP Android Development] gabrielbolner:
Yes, I don't know if the minimum freq matter,but it is set to 918mhz

Sorry for bad English...
[Xperia SP Android Development] kar2rost:
hi for aicp_huashan_mm-11.0-NIGHTLY-20160712 what kernel is the best??
[Xperia SP Android Development] shavendum:
That is an issue with mx player sw decoder. Use hw decoder and it runs fine.
[Xperia SP Android Development] Tomoms:
Post in Helium's Q&A thread. You won't get any answer here.

EDIT: the link to the Q&A thread is in the first post.
[Xperia SP Android Development] Tomoms:
v22: detailed changelog

Let's take a close look on the features brought by Helium v22.

new CPU governors: barry_allen and zzmoove

: barry_allen hasnt'g got anything special, but zzmoove is a very complex governor that is also a hotplug, so it's better to disable the other hotplugs when you use zzmoove. It has a lot of profiles that you can view by clicking here. To apply a profile, open Kernel Adiutor, go in the CPU tab, set the governor to zzmoove, tap on "CPU governor tunables", scroll down to "profile_number" and type the number of the profile you want to use, then tap on OK.

UKSM v0.1.2.3

: this is a replacement for the normal KSM; UKSM should use less CPU and therefore drain less battery.

CPUQuiet

: this is a kind of hotplug developed by Nvidia that doesn't conflict with the other hotplugs (so you can keep it always enabled). It forces the CPUs into a quiescent state when they're not needed.

dynamic fsync, asynchronous fsync, gentle fair sleepers, CRC cheks can be controlled easily in Kernel Adiutor.

Check my Github to find all the commits & updates that I've included in this update.

Important: today I've uploaded a new zip containing a generic init.d script instead of my customized init.d script that by mistake I had included in the zip uploaded yesterday. There's no need to reflash the kernel if you've already installed it, but it would be good if you edited /system/etc/init.d/01helium so that features you don't want are disabled. Do it, it's easy!
[Xperia SP Android Development] makritomko1:
Hellow everybody, and thanks in advance to the fantastic creator but i want to report somebug (for me i dont know if anyone has the same bug)

and i would like that someone can help me please,

i hava lollipop rom, Stryflex rom exactly but when i installed this kernel, the wifi doesnt work, can someone advice me ?? what i have to do to repair this?:confused:
[Xperia SP Android Development] Tomoms:
The only way to repair it is to stop using Helium. StyrFlex Lollipop uses a base ROM that probably was built before the "moduleless kernel" came, so I can't do anything. The ROM is too old. And next time, ask in the Q&A thread ;)
[Xperia SP Android Development] Cyrus.xda:
Hello Tomoms I Have A question I Install Multi Rom And Then I Have Official Rom 4.3 build 205 as a primary rom and the second rom cm 13 android 6.0.1 adrian my problem is relating your kernel because after flashing your kernel to my cm 13 and after some days trying to update my rom with latest build cm 13 my phone stuck in bootloop and the only way i found to reflash you kernel again to boot up but right now with your kernel keeps restarting on android is upgrading any solution please give me a solution to flash adrian kernel without bootlooping your kernel just amazing but recently very bad ram managment and slowly
[Xperia SP Android Development] ExclusiveBFS:
Anyone using helium with xosp? What do you think?

And [MENTION=5727088]Tomoms[/MENTION], is there a way to learn more detail about governors or I have to test and see it myself?
[Xperia SP Android Development] Tomoms:
Most probably there's no problem in using Helium on XOSP.

These 2 threads will teach you all you need to know.

http://xdaforums.com/lg-g2/help/test-t3032171

http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
[Xperia SP Android Development] Cyrus.xda:
Please Tell Me what i have to do i have to live with your kernel my device is become so hot and keeps restarting after very hot ram management worse and I can't flash Adrian kernel after flashing your kernel