yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M4 Aqua] valyo_bg:
Will do this. Now I'm testing again script with 2 cores and Asmp enabled. I do some modifications inside script: low frequency for big and small cores 345MHz, maximum CPU's 8, enable 1.6GHz for big cores (value 1612000:90 is it correct?) and max GPU speed 700MHz.

With this settings no lag, till now screen is properly unlocked. Will try again continuous browsing with LTE to test.

Seems that temperature is higher than before during browsing, around 63C, so may expect lag if start overheating.

Also after charge my battery will measure consumption when phone is locked (idle).

I just enable watchdog in BBS with "watchdog on unlock" option. It's this correct, or I should disable this option, because I'm not sure (maybe should be disabled to have logs when phone is locked)?

Edit: it start lag, temperature is above 65C. So I enable 2 more cores and now configuration is with minimum 4 cores and maximum 8 cores. Now temperature is below 60C.
[Sony Xperia M4 Aqua] ivy.lally:
If Watchdog is enabled you will have additional options to choose which period of measure you want displayed (instead of Unplugged - Current), this is it.

And the options appear only after some period of sleep (depending what you have specified in Watchdog settings).

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
[MENTION=7837559]ivy.lally[/MENTION] could you please create script that bring back original kernel settings? It will be easy for testing if we can switch between different scenarios of kernel configuration. Kernel governor interactive can be used instead of interactive_pro for more easy script creation.
[Sony Xperia M4 Aqua] Thedalamsyh:
sorry guys I'm asking a bit out of topic question here. does anyone know what drains the battery when the phone touches 65-70c heat? mine drains pretty huge when it heats to the point it consume over 900 to 1300ma current on idle.....

pretty frustrating it is, considering I've turn 4 cores off and limit the max freq to 800mhz-ish on each cluster whenever it overheats.
[Sony Xperia M4 Aqua] valyo_bg:
Try to use SkyMelon 9 native, without any changes. Then will have no problem with battery drain when overheating, even no overheating will occur.

As soon good configuration with script file is tested and approved you can use Asmp again. Now, when Asmp is used there is a battery drain and overheating. I'm also in process of testing different configurations, but till now don't have good results with Asmp enabled. So my advice is to wait little bit and to use SkyMelon 9 as is.
[Sony Xperia M4 Aqua] ivy.lally:
Andy, please, would you share default settings like are set in ramdisk?

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Results from my last test of SkyMelon 9 kernel with this configuration using modified [MENTION=7837559]ivy.lally[/MENTION] script:

Asmp enabled with minimum 4 cores and maximum 8 cores of CPU

Minimum frequency for small and big cores 345MHz

Maximum frequency for big cores 1.6GHz

Maximum frequency for small cores 1.2GHz

Kernel governor "interactive"

Results:

At locked screen (phone not used) battery loose 0.5%/h - very good

At continuous browsing over internet with LTE data connection battery loose 10-15%/h - very good

No any lag during working or unlocking of screen.

Phone is cold, in heavy tasks is not very hot, around 58C temperature of cores

Normally work only big cores, small cores are activated during heavy tasks.

Frequency of cores is stay still, no nervous changing of frequency.

I'm very happy with results :)

I can share modified script if somebody is interested.
[Sony Xperia M4 Aqua] ivy.lally:
Asmp enabled with minimum 4 cores and maximum 8 cores of CPU - it is similar to cluster_hotplug, have you tried it and compare?

And yet about your result in sleep, 5% is still too much, I've 0-2%/h with only LITTLE cluster active.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Default settings for..?
[Sony Xperia M4 Aqua] ivy.lally:
You know, kernel configuration as it is, after just installing your newest kernel v9 without touching with KernelAuditor etc

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Well..

I changed swappiness from 100 to 30 and removed the cancer tuning of interactive governor. That's about it lol
[Sony Xperia M4 Aqua] valyo_bg:
Ivy, you use Amplfy, remove all Google staff especially replication and automatic backup. This is a reason for 0.2%/h when phone is locked.

I use almost stock Rom with all Google features, so having of less than 0.5%/h in locked phone is acceptable and very good result :) .

Yesterday I tune more Greenify (add more system apps to hibernate when screen is off) and this night my phone loose only 0.2%/h when is not in use (locked) :) .

I don't try cluster plug - how to configure script to try it?
[Sony Xperia M4 Aqua] ivy.lally:
Put this before processor settings:

write /sys/module/autosmp/parameters/enabled "N"
write /sys/module/cluster_plug/parameters/active 1

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Thanks, I just applied and now have 2 big and 2 small cores enabled.
[Sony Xperia M4 Aqua] valyo_bg:
With this configuration my phone run smooth and battery efficient :) :

1. Kernel SkyMelon 9, thanks to [MENTION=5689354]AndyPhoenix9879[/MENTION]

2. Modified startup script thanks to [MENTION=7837559]ivy.lally[/MENTION] with this changes:

- kernel governor "interactive"

- minimum frequency for small and big cores 345MHz

- maximum frequency for small cores 1.2GHz

- maximum frequency for big cores 1.6GHz

- cluster plug enabled with 4 minimum cores and 8 maximum cores

- GPU frequency 700MHz ( I like performance :) )

After each starting/rebooting of phone script should be applied. It's important to apply script at least 2 minutes after phone successfully boot to avoid execution errors. To apply script I use Root Browser. If receive errors message after starting of script, just wait 1 minute more and execute it again.

I'm very happy with this configuration, finally my phone work as expected :) .

My phone run smooth, no lag even during unlock, during browsing is cold enough with LTE data connection, battery loose around 0.2%/h when locked (not in use) and around 10-15%/h in continuous browsing. I think this is prefect result :) .

Here below I attach modified script if somebody want to test it:
[Sony Xperia M4 Aqua] armivzla:
Hello Friend.

Sorry for the inconvenience, can you explain how to install or configure that script?

Sorry if they explained it in some previous post, is that I do not speak much English and I find the search a bit difficult.

Thanks in advance
[Sony Xperia M4 Aqua] ivy.lally:
And the cluster_plug works in the way 4 big cores are always online and 4 LITTLE cores come online at once on heavy load.

[MENTION=3789992]armivzla[/MENTION] you may create home screen shortcuts to them using e.g. FX manager

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Just unzip file somewhere and start it with Root Browser or similar file manager with root permissions. You need to start this script on every start or after every reboot of phone manually. That's it :) .

---------- Post added at 21:46 ---------- Previous post was at 21:44 ----------

It work 2 big cores and 2 small cores. I can't get it to work with 4 big cores and when need to enable small ones. But it work very good with 2 big and 2 small cores :) .
[Sony Xperia M4 Aqua] armivzla:
In this active way the Cluster Plug? Or is there any other modification inside the Kernel Adiutor?

Are you using 9-12062017 or the previous one?

Thank you!
[Sony Xperia M4 Aqua] valyo_bg:
I use last SkyMelon 9 from first page of topic. You don't need Kernel Adiutor (I uninstall it), starting of script will do all need configurations related to kernel. You need only to execute script. Stop everything from Kernel Adiutor and disable or uninstall it to assure proper configuration of kernel.
[Sony Xperia M4 Aqua] valyo_bg:
[MENTION=7837559]ivy.lally[/MENTION] in attached file you can find which cores are working when Cluster Plug is enabled with script:
[Sony Xperia M4 Aqua] armivzla:
Run the script with Root explorer, but I do not know if it works, I notice the phone is the same.

In Kernel Adiutor (I deleted everything from factory, has no modification) in the governor, I still mark the default, interactive-pro.

Does this mean that the script is not running or not?

Thank you
[Sony Xperia M4 Aqua] valyo_bg:
You should see similar screen like mine. Just start script again. When you try to run, Root Browser will ask you what to do - choose execute. Then kernel governor will be changed to interactive. If not, uninstall Kernel Adiutor (it can conflict script if there is already changes made), reboot phone, wait 2-3 minutes after successfully boot and then execute script.
[Sony Xperia M4 Aqua] armivzla:
It works the same if I'm on the Pexo Rom, right?
[Sony Xperia M4 Aqua] valyo_bg:
Should work the same, but never try.
[Sony Xperia M4 Aqua] valyo_bg:
Just for information, after second executing of script big cores start to work permanently and small are started only on heavy tasks - like should be when Cluster Plug is enabled. So it's easy to choose 2 big + 2 small cores or 4 big cores - just need to start again script file till need configuration is enabled. I don't expect big difference between 2 scenario.
[Sony Xperia M4 Aqua] ivy.lally:
If you have as you've written: 2big and 2 LITTLE cores it is far less power efficient than just 4 big cores, because it is better to power one cache than 2 caches (every cluster: big and LITTLE, has it's own cache which needs extra energy). And additionally it's better for performance too if cores use the same cache and reutilise the same data in the same cache.

And this is why, I've come to a conclusion the best working is just LITTLE cluster ONline (with big cores switched OFFline).

You have reported it had issues with DeepSleep but I've used it already for a week and have sleep draining at the 0%/h level, unless I run Kaspersky antivirus (then it yields 0.2%/h but I freeze it and unfreeze just when needed i.e. when downloading apks).

If you had additional draining in sleep it was because of some application wakelocks, not of this kernel configuration itself.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Melon 8.1

Basically Melon 8, but with :

Underclocked frequencies of Melon 9

19MHz on GPU

Faster entry to deep sleep

BFQ I/O Scheduler

Relaxed thermal throttling

Updated Toolchain

F2FS support

Tell me how well this one goes, I'll put this up once everyone can agree it's nice and well

https://drive.google.com/file/d/0B4nj3MjAx2wIUmJSWFJCamtYTkk/view?usp=sharing
[Sony Xperia M4 Aqua] cirnocirno:
Is it just flash and wipe on top of version 9?
[Sony Xperia M4 Aqua] ivy.lally:
Andy what is the difference between this version and v9 if you took many features from v9 here?

And what does it mean it enters DeepSleep faster, technically speaking?

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Kernel SkyMelon 8.1 is booted successfully, but I can't execute script successfully, it give errors regarding Asmp (but it should be off already? ) and only frequency and interactive governor are applied. All cores are working, cannot start Cluster plug.
[Sony Xperia M4 Aqua] ivy.lally:
Asmp was introduced only in v9, wasn't it?

And cluster_plug is working as it should.

I've flashed this kernel and applied big cluster switched OFF, as previously. And have feeling it has bit bigger drain current as Ampere is showing, but it needs verification yet.

(Ampere indications constantly is changing now, is this kernel influencing its update rate somehow?)

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
With applied 345MHz for low frequency for big and small cores, and all cores are working, Ampere shows 190ma and this is low current than before (230ma+).

[MENTION=7837559]ivy.lally[/MENTION] I still can't start Cluster plug with script - all cores are working. What to do to start it successfully? I prefer to test all big cores enabled and small cores only on heavy tasks.
[Sony Xperia M4 Aqua] ivy.lally:
You should have:

# Enable/disable cluster-plug
echo 1 > /sys/module/cluster_plug/parameters/active

in your sh file run as possibly most recent

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Thanks, but I need to revise script to disable Asmp options inside. Unfortunately I'm not sure how to do it, so will need a time to examine your script better. Still can't enable cluster plug even with last command from you because of Asmp.
[Sony Xperia M4 Aqua] valyo_bg:
It work now, thank you. I remove all staff regarding Asmp and add command for Cluster Plug.

I'm testing with SkyMelon 8.1 now, let see battery life with Cluster plug enabled. Performance is very good :) , I still use 345MHz like minimum frequency for small and big cores.
[Sony Xperia M4 Aqua] valyo_bg:
This kernel 8.1 from link at the top work good except when Cluster Plug is enabled, because battery loose 1.6+/h on locked phone - not in use (i forgot to check pure Sky Melon 8.1 - with Cluster Plug disabled). With same configuration, SkyMelon 9 use less than 1%/h and if ASMP is enabled consumption is 0.2%/h on locked phone. I install back SkyMelon 9 to continue with checking of difference in battery consumption and performance when Cluster Plug is enabled if compare with ASMP.

Interesting part is that when Cluster Plug is enabled and work on big cores, if need enable all small cores at same time - not one by one or depending of task. Is this is a right way for Cluster Plug to manage cpu cores? For example when ASMP is used with configuration minimum 4 cores, maximum 8 cores, most of time work big cores, but small cores are switched ON one by one - i.e phone work with 5 or 6 cores and if task is very heavy then work with all 8 cpu cores.
[Sony Xperia M4 Aqua] pawwaap:
As for me newest kernel v8 works well with "just LITTLE cluster": optimal performance/energy ratio, 0.1%/h drain in DeepSleep.
[Sony Xperia M4 Aqua] valyo_bg:
Very good, I also will try with small cores and new kernel 8.1.
[Sony Xperia M4 Aqua] armivzla:
Will you get a .sh script for this new version 8.1?

regards
[Sony Xperia M4 Aqua] valyo_bg:
You can use old script, will receive only errors regarding ASMP (because is not enabled in this version of kernel), but this is not a problem, script work properly. I test it already.
[Sony Xperia M4 Aqua] valyo_bg:
With SkyMelon 8.1 and only small cores enabled via script justLITTLE.sh, during the night I loose 1.5%/h battery on locked phone (not in use). For kernel governor it give me "unknown"? Phone goes on deep sleep all the time, no apps draining battery, but still 1.5%/h ...
[Sony Xperia M4 Aqua] ivy.lally:
And try cluster_plug and say about draining in sleep?

And maybe this is because you have too high minimal frequency, I use scaling_min_freq=100MHz and have good DeepSleep results.

As mine, cluster_plug and justLITTLE, both have been tried and both seem to preform the same: for performance and battery.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Nope, I use unmodified justLITTLE.sh script, minimal frequency and other configurations inside are same like yours. Minimal frequency 345MHz is modified only for ASMP script file and with this settings and SkyMelon 9, I get 0.2/h battery consumption in deep sleep.

I'm testing now again with Cluster plug and SkyMelon 8.1, but Yesterday in this scenario I get 1.6%/h in deep sleep. Depending of results will try SkyMelon 8.1 with ASMP and Cluster plug disabled to compare battery consumption.

If consumption in deep sleep is still higher than 1%/h will revert back to SkyMelon 9 with ASMP enabled and minimal frequency of 345MHz - seems that configuration is more efficient for me because I have only 0.2%/h. Will compare with Cluster plug also.
[Sony Xperia M4 Aqua] AndyPhoenix9879:
ASMP does not exists in Melon 8.1. The features it has is similar to Melon 8. So some governors from Melon 9 doesn't exists and some IO schedulers from Melon 9 also doesn't exist in this Melon 8.1. That 8.1 is more similar to 8 than 9 is.

Also whatever you're doing with that script, try to stop using that and see how the kernel itself fairs
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Yes. Will and always be that way (but wipe isn't needed, unless stated) ;)
[Sony Xperia M4 Aqua] ivy.lally:
Andy, so both kernels (v9 and v8.1) yield the same results if configured the same (without Asmp and missing features e.g. governors in v8.1)?

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] cirnocirno:
I did that just noticed that it starts with overclocked settings, as in 1.6GHz on big and 1.2GHz on little. Is the 8.1 supposed to be like that? Don't know where the unclocked parts are as it seems like the v9 but about the phones say the kernel is 8.1
[Sony Xperia M4 Aqua] valyo_bg:
With 8.1 still battery consumption is around 1.5%/h in locked phone, doesn't matter of this if there is additional kernel configurations or not. As you say, this kernel not support ASMP, so can't be tested. I'm going back to SkyMelon 9 with ASMP enabled.
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Melon 8.1 resembles Melon 8. I thought the naming would've been obvious lol

That's normal, yes. The underclock is the same as Melon 9, just that I used Melon 8 as the base for 8.1

Try Melon 8, since it's the one everyone says is the more stable one. Though, 8 & 8.1's battery performance should be equal. Are you enabling mobile data during standby?
[Sony Xperia M4 Aqua] valyo_bg:
Yes Andy, my data connection is always ON. SkyMelon 9 work very nice, I don't have problems, it's a stable for me. I'm not sure if SkyMelon 8 have ASMP or Cluster plug enabled, but will try. With SkyMelon 9 and ASMP enabled via Ivy's script I have very good results at deep sleep - around 0.2%/h :) .
[Sony Xperia M4 Aqua] tomkho12:
Andy, can you upload a Noroot ver of melon 8.1? 8x noroot is good but an update is nice
[Sony Xperia M4 Aqua] AndyPhoenix9879:
https://drive.google.com/file/d/0B4nj3MjAx2wINk1YUGVpOVNqQk0/view?usp=sharing

:)
[Sony Xperia M4 Aqua] tomkho12:
You have my gratitude
[Sony Xperia M4 Aqua] valyo_bg:
[MENTION=7837559]ivy.lally[/MENTION] could please post your screen with Kernel Wakelocks on BBS?

I think I have many Kernel Wakelocks and most of them are related with Google play services.
[Sony Xperia M4 Aqua] valyo_bg:
Andy, SkyMelon 9 without additional configuration (pure kernel) give 1%/h on locked screen. If only Cluster plug is enabled it goes to 0.5%/h on locked phone - result is very good :) .

Phone itself run fast and smooth with SkyMelon 9 with Cluster plug enabled. In this configuration only big cores are working and when need start all small cores at same time.

To start Cluster plug without using of Kernel Adiutor, I made new script only with this command inside from [MENTION=7837559]ivy.lally[/MENTION]:
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Well you wouldn't necessarily need a script to do the cluster plug thingy. I have already written one up in my 3rd post lol (that one uses Kernel Adiutor's custom control). Glad it's working nicely for you :)
[Sony Xperia M4 Aqua] CactusPie:
What were the default CPU and GPU frequencies? I ran into some problems with my phone today, I think it overheated... It turned off all of a sudden while watching a YouTube video and whenever I turned it back on it froze with some graphical glitches on screen. Now after a couple hours it works fine though.
[Sony Xperia M4 Aqua] cirnocirno:
The snapdragon 615 can reach speeds up to 1.7GHz on the big cores. However Sony has set the default on this device to 1.5GHz.

So Big cores are set to 1.5GHz and small ones 1.0GHz.

I suggest you set it to 1.3GHz big cores and 800MHz on small ones to not battle with heat and problems. Specially if you're just gonna browse the phone and watch youtube stuff.
[Sony Xperia M4 Aqua] CactusPie:
Thanks, I'll give it a shot!
[Sony Xperia M4 Aqua] ivy.lally:
Yes, voila: http://cloud.tapatalk.com/s/5962653c03e75/BetterBatteryStats-2017-07-07_221819785-ths.txt

(It's better sending log, a text file has every information needed, instead of several screenshots with half visible data)

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] ivy.lally:
Yes, voila: http://cloud.tapatalk.com/s/5962653c03e75/BetterBatteryStats-2017-07-07_221819785-ths.txt

(It's better sending log, a text file has every information needed, instead of several screenshots with half visible data)

Statistic Type: Screen Off to Screen On
Since 7 h 31 m 48 s
...
============
Battery Info
============
Level lost [%]: Bat.: 0%(40% to 40%) [0.0%/h]

and screenshot of battery history:As you can see system settings battery history can show just last 48 hours, however I used to charge my phone once a 3-5 days (depending of usage).

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Thank you, perfect battery graphic. I'm really sorry that can't install Amplify, because of Xposed and Bluetooth audio bug. Will examine your log file :) .
[Sony Xperia M4 Aqua] ivy.lally:
In fact I haven't used Bluetooth yet in this phone, what do you need it for?

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
It's connected to my car's hands-free, easy to talk during drive.
[Sony Xperia M4 Aqua] peppercake:
Just a noobish question, does this kernel root my phone to?
[Sony Xperia M4 Aqua] HRSE:
I do not see Whatsapp in the log. Did you uninstalled it or you found a way to limit its alarms?
[Sony Xperia M4 Aqua] valyo_bg:
I use same program, but can't find such option inside Kernel Adiutor
[Sony Xperia M4 Aqua] 99poison:
Hi [MENTION=5689354]AndyPhoenix9879[/MENTION],

I flashed sky melon v4a kernel on my m4 aqua E2312. All are fine but my 64GB sd card is not working on your kernel. It always display corrupted sd card. When I format and try again it displays again this message and can't use my sd card. When I reflash firmware with original kernel, my 64 GB sd card is working. If ok, please fix it.

Thanks,
[Sony Xperia M4 Aqua] sucsong:
phone overheating when play video
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Maybe you can tweak around the Thermal settings in Kernel Adiutor. :angel:

I'm not entirely sure what is causing this - though telling me what filesystem (format) the sdcard is using could help me :)
[Sony Xperia M4 Aqua] 99poison:
I tried ext4, fat32. No one work.
[Sony Xperia M4 Aqua] Madnightkid422:
Can you fix that mic problem cause i'm suffering from it and when i try to raise the headset mic voloume it didnt do any thing
[Sony Xperia M4 Aqua] Dish76:
E2312 Also with a microphone problem V4a
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Try vfat

Revert back to v3. I'm finalizing my v5 build.
[Sony Xperia M4 Aqua] Madnightkid422:
That's good news but i can wait to be v5 finished when will you finish and upload it for us
[Sony Xperia M4 Aqua] kpbs92:
Please fix the SD card issue, (Partitioned SD card for link2SD) :good::good::good:
[Sony Xperia M4 Aqua] Luumumba:
Bluetooth Audio does not work for me with Kernel v4a, just do not know if it is a Kernel issue maybe someone else can test it. Had the SD Card issue, too, but booting the device again fixed that.
[Sony Xperia M4 Aqua] dagger1:
I had no issue with bluetooth audio with V4a (and I use it a lot) on my e2306.

I did start getting constant reboots (almost as soon as it boots) after changing from interactive to intelliactive governor.

EDIT: after 3 reboots, my phone went into bootloop (it would take a very long time to exit the splash screen, then start "updating apps" and then straight to bootup). I tried reflashing kernel, reflashing rom without data wipe (all with a cache wipe afterwards) but in the end in order to fix it i had to do a full wipe.

This was caused by either setting the governos to Intelliactive or activating Faux's thermal control. Needless to say I'm staying clear of both now.
[Sony Xperia M4 Aqua] dagger1:
¿Any chance on adding Assertive Display?