yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M4 Aqua] ivy.lally:
If you speak 'interactive' it depends on its tunables, doesn't it?

And cluster plug works like you say: switches offline LITTLE cores and additionally on heavy load switchers them ON back temporarily (what's wrong?)

And maybe you have meant switching OFF big cores instead and to rely solely on the LITTLE ones? It'd be interesting as someone here already said the LITTLE ones have bigger power efficiency.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] mahmoud_ebada:
Am i download and flash all verions?? or just V9 only ??? and Am i flash (Foy_Kernel for the Xperia M4 Aqua ) too ?? ty
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Hello there, you seem very new to this.

Just download and flash any of the version. No you don't download ALL. If you flash Foy kernel, then you're using Foy kernel and not SkyMelon.
[Sony Xperia M4 Aqua] phoenix295:
anyone else having issues with cluster plug?

even tho i turn it on the small cores are online, running shell command for cluster plug again or doing it manually from root explorer again solves the problem but after 15-20 mins all small cores are back online

P.S.: I am using v8
[Sony Xperia M4 Aqua] ivy.lally:
As far the newest kernel runs perfect, cluster plug too, but every version so far ran cluster plug well.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] MGlolenstine:
SkyMelon v9 after installing wifi doesn't want to turn on on 2303 on stock rom.
[Sony Xperia M4 Aqua] valyo_bg:
I'm using SkyMelon 9 only with big cores with minimal frequency of 345MHz and intelliactive governor. For me this is best scenario for battery efficiency and performance. If I need more "power" for some heavy app or game I will enable small cores :) . In fact, till now using of only big cores is enough and everything work smooth and fast.
[Sony Xperia M4 Aqua] ivy.lally:
They use different wlan.ko kernel modules, you may copy the relevant one by hand (just one file with e.g. RootExplorer, without flashing anything by recovery).

And I use newest kernel with cluster plug and 40MHz min freq and interactive governor. As so far it is running the same smooth as with hard-closed LITTLE cores and 200MHz min freq and. And I use phone just for phoning, reading emails and Tapatalk.

As for music listening switch

to min freq 200MHz and interactive_pro (because with 49MHz Music stifles when screen is OFF, any idea why?)

Power efficiency needs verifying for various scenarios in some systematic manner, any idea how?

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
I don't know how to test more precisely efficiency - I just compare battery life at daily use. If made changes inside Kernel configuration use Ampere in different scenarios (reading, browsing and etc) to compare current from battery.

With my current configuration, when screen is ON, consumption is around 180-200ma. This is a lowest value that I can get with different kernel configurations. Of course I want to have good performance. I prefer my phone to work as smooth is possible. Battery life on my manner of usage is OK I think, after work time, more than 40% battery are available. Normally at night my phone is connected to the wall charger. So at daily use (browsing, mails, messengers, calls) consumption is approx 4-5%/h.
[Sony Xperia M4 Aqua] mahmoud_ebada:
skymelon v9 is bad i got lag in games that wasn't lag before :( how can i back to the original one and which one of skymelon versions is the best ?ty

---------- Post added at 02:46 PM ---------- Previous post was at 02:20 PM ----------

E2333 dont flash skymelon 9 games wasn't lag now it cant be played how to back to original flash of kernel ?
[Sony Xperia M4 Aqua] ivy.lally:
As observed seems if LITTLE cluster has lower minimal frequency than big cluster then indeed LITTLE cluster has problem coming offline with cluster_plug switched on.

---------- Post added at 04:30 PM ---------- Previous post was at 04:09 PM ----------

And it needs observations further but it seems if the min_freq=40MHz in big cluster then it easier lands into DeepSleep (~0%/h)

while when screen is on anyways CPU rarely drops below 345MHz in spite of having min 40MHz

If want to see yourself, tools like CoolTool clearly show CPU cores load in real time:

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] Mark.05:
sure

I turn the little cores off manually cause I have problem with custom controls in kernel adiutor it wont work for some reason

and there is no more tunables for the cluster plug

and as you said LITTLE cores should have bigger power efficiency and lower performance but you cant turn all the big cores off the first core will be always on

if we can reverse the cluster plug from turning the little cores on to running on the little ones and engaging the big cores on heavy loads that should give better power efficiency
[Sony Xperia M4 Aqua] ivy.lally:
You still can create KernelAuditor Custom Controls switch, as described in the second post

And what about achieving something between:

switching 2 big cores and 2 LITTLE ones, or

1 big core and 3 LITTLE cores?

Probably maintaining two working caches renders this solution inefficient, would you agree?

---------- Post added at 06:18 PM ---------- Previous post was at 06:06 PM ----------

Please, could you say something further about it, does it mean power consumption is the same if CPU works with freq=40MHz and with 345MHz, has it any reliable foundation?

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
i've just flashed v9 (although 8x has no issue for me :D )

Android™ is starting... Optimising apps...

just a small question: during flashing, the zip file verification failed, is it normal?

checksum of my zip downloaded from the first link https://goo.gl/WWyCGw

MD5 Checksum: D56B408030CA2987CE55A0F5862A67CA
SHA-1 Checksum: 1091D93B4863B5329A251906E153C71C7A2CDAE8
SHA-256 Checksum: 643AC0FE32398748220F4833A3BD5FC10569FBC1011DA41177610D83694E54E2
SHA-512 Checksum: 7189239CAEEB2D2C3C9AFB26B67BB91EEFF8A73F4D89BC491211C0E5D3AC9E65B153AE8EA3E4B5A141BC658A5E77308A5EAE361F76EDCA925280306F154EC4B6
Generated by MD5 & SHA Checksum Utility @ http://raylin.wordpress.com/downloads/md5-sha-1-checksum-utility

Edit: booted up & no issue so far

+1. Please share [MENTION=6590739]Mark.05[/MENTION]
[Sony Xperia M4 Aqua] HRSE:
i have switched from Tasker to AutoMagic as suggested by [MENTION=7837559]ivy.lally[/MENTION]

here are some (awesome) preliminary results after 2 hours:

[IMG="BBS"]http://imghost.ucoz.org/upload20/201706201837511220.png[/IMG]

i have to admit that i limit the CPU speed too much that the UI is a bit laggy now. let me tweak the governor a bit before sharing (i do not play game on my phone and my configuration is more towards power saving than perfomance so don't expect much)
[Sony Xperia M4 Aqua] Thedalamsyh:
I don't think 2hrs is enough to see some result, but I think it is good enough. I also see you have installed gravity screen. does it consume much battery during standby time?
[Sony Xperia M4 Aqua] HRSE:
according to my standard, it is acceptable (unnoticeable)

in BBS log, it used proximity sensor and acceleration sensor. so as long as you do not shake your phone or do funny things in front of the proximity sensor then it should not hold any wakelock (Automagic has a warning that the proximity sensor uses 0.75mA and the acceleration sensor uses 0.13mA, i have no idea if this is correct or not)

a few days ago, i attempted a home-brew proximity lock flow for Automagic, but it drained battery like **** and the functionality is not as good as GravityScreen, so i came back to GravityScreen.

Edit: i'm using the unlocked version of GravityScreen. The free version has some form of data collection and i'm not sure if Amplify can kill that service.
[Sony Xperia M4 Aqua] valyo_bg:
Very good result, but seems that you have small number of messengers and push mails installed? Maybe this is a reason to don't have big amount of kernel wake locks in your graphics. I have more processes on each of your screenshots that correspond to installed apps and of course have many wake locks if compare with your results.

Did you use Greenify and if yes, in which configuration?

Oops, I just see that Amplify is used and this explain low consumption from battery when phone is not in use.

Unfortunately I can't use Amplify, because of Xposed bug with bluetooth audio routing.
[Sony Xperia M4 Aqua] ivy.lally:
Anyways, must confirm entering into DeepSleep proceeds well also with bigger min freq e.g. 200MHz

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Kernel v.4 is installed, thank you for update :) . My phone run very fast and smoothly even with v.3 of kernel. Good work!

Is it possible in future release of kernel to change blinking frequency of notification LED - to blink every second instead of every 5-6 seconds. This will be great improvement for all Xperia M4 users. Of course I'm not sure if this is related to kernel or firmware.
[Sony Xperia M4 Aqua] EHSAN™:
Download Superuser Mod X Medule From XDA, Search :)
[Sony Xperia M4 Aqua] Madnightkid422:
Downloaded thanks
[Sony Xperia M4 Aqua] deepak1997:
sdcard not woking

sandisk 64gb sdcard of format "exfat" not detected/mounted in e2363 which was working fine before changing kernel. I have tried formatting but no hope. It is working with my laptop.
[Sony Xperia M4 Aqua] AndyPhoenix9879:
This problem arised before changing to SkyMelon kernel, or when updating to v4a from v4/v3? Also when formatting, did you format it to vfat? (I know vfat works because I'm using vfat filesystem for the sdcard).
[Sony Xperia M4 Aqua] deepak1997:
I am a new user for SkyMelon .My sdcard supports only exfat and ntfs both are not working. This problem has been encountered after flashing skyMelon 4a. After restoring my old boot.img the sdcard is working fine. I hope my problem will be solved.

Thanks in advance.
[Sony Xperia M4 Aqua] AndyPhoenix9879:
From my understanding, I don't believe that a sdcard supports just those two filesystems... Your method of formatting might be wrong. Do some Google search on ways to format the sdcard but BACKUP YOUR DATA to your PC first.
[Sony Xperia M4 Aqua] deepak1997:
It's a 64gb sandisk sdcard which doesn't format in fat32 in windows(also tried using diskpart).
[Sony Xperia M4 Aqua] yasingunes:
if only work this kernel for 5.0 :rolleyes:
[Sony Xperia M4 Aqua] LRafael:
64gb card format fat32

Windows will not allow you to create a partition bigger than 32GB in FAT32 you will need a 3rd party software that allows you to format the 64GB in FAT32. Do some Google research before say it isn't possible or that does not work.

For example Fat32Formatter this will allow you to format your card 64GB in FAT32 ;) i can't post links but just search for it...
[Sony Xperia M4 Aqua] GeXeH:
If you are having SD card issues after upgrading from v3 to v4a restart your phone and your SD card will work again with no data loss.

v5 with double tap to wake and faster notification light would be awesome!

Thanks for the great kernel. Keep up the good work.
[Sony Xperia M4 Aqua] nelmarvaz:
After I installed this kernel on my E2363, the device just shows 883mb of RAM memory. I tried to pass the original ROM both by Flashtool and by Xperia Companion, and nothing of the 2GB of RAM appears. What happened?
[Sony Xperia M4 Aqua] valyo_bg:
It's not related to kernel I think, my phone is same model and no problems with RAM memory. I think this is a coincidence. If you do research over internet you will see that many users reports problem with missing RAM.
[Sony Xperia M4 Aqua] valyo_bg:
Hi, I have problem with microphone with version 4 and 4a of kernel (E2363) - during call other parties hear me very bad and quietly. I try to reboot, clear cache and dalvic, reboot phone in safe mode - no luck, internal microphone not work properly. Same result when start microphone test - I can't hear almost anything even if I speak very loud. So my next step was to install kernel 4a - again microphone not work properly. Then I install back kernel v3 (2333.img) and microphone is work perfect :) . So definitely there is a problem with version 4 and 4a for E2363 and microphone. Should I try kernel v4 for E2333 or it's a same like E2363? My phone is E2363 version.
[Sony Xperia M4 Aqua] AndyPhoenix9879:
A fix will be due soon for the microphone. V4 shouldn't have this problem and yes, E2333 for E2363 will work just fine. Apologize for the inconvenience caused with v4a :silly:
[Sony Xperia M4 Aqua] valyo_bg:
Thank you for reply :)

I have problem with microphone with both versions of kernel: 4 and 4a for E2363.

My question was if img files for E2333 and E2363 are equal - same files, but with different names?

Should I try version E2333 instead of E2363 for kernels 4 and 4a to see if problem with microphone exist?
[Sony Xperia M4 Aqua] AndyPhoenix9879:
E2333 = E2363

And no just revert back to v3 - I'm hunting what's causing the mic problem with v4 and v4a lol. So I'll advice everyone to just use v3, but if you really want to use v4a, try the sound control (in the sound option tab in Kernel Adiutor) and raise the handset microphone gain - that's the only workaround for v4a (v4 doesn't have sound control, only v4a). Truly sorry for the inconveniences caused
[Sony Xperia M4 Aqua] Madnightkid422:
Me 2 facing that mic problem but i have to make my mouth near by mic and raise my volume hope u can fix that in v5
[Sony Xperia M4 Aqua] valyo_bg:
[MENTION=5689354]AndyPhoenix9879[/MENTION]

I can't find sound option in my Kernel advisor. Which Kernel advisor you use? I want to try 4a version with sound control for microphone.
[Sony Xperia M4 Aqua] AndyPhoenix9879:
Kernel Adiutor (that's the app name).
[Sony Xperia M4 Aqua] valyo_bg:
And with 345MHz entering of deep sleep is successful.
[Sony Xperia M4 Aqua] Mark.05:
I did as described but it wont create the custom controls probably if I reflashed my phone FW it will work

it wont give the same results for the power efficiency

no not the same 40mhz is for power saving not for computing when there is a load the frequency go up

notice the current goes up with the load even if you hold the frequency try it
[Sony Xperia M4 Aqua] HRSE:
I only use WhatsApp. No offense but I hate Facebook app and Facebook's Messenger app (they use a lot of storage, RAM and mobile data not to mention the wakelocks - I prefer to use Chrome to load Facebook) besides, if someone is truly my friend then he/she has my phone number, otherwise the updates and PMs can wait.

No I don't have Greenify at the moment. Actually I used to turn on Greenify aggressive doze, but since I found Power Nap then I uninstalled it.

Yes I use Amplify to limit a lot of alarms, wakelocks and services, but in the future I may remove it together with Power Nap and Xposed, since I have the annoying "optimising apps" when booting up (i highly suspect that Xposed is causing this problem - can anyone confirm?)
[Sony Xperia M4 Aqua] valyo_bg:
It will be interesting to see battery consumption without Power Nap, Amplify and Xposed modules.

Yes, I have same "optimizing apps" message at every boot of phone when Xposed was installed.
[Sony Xperia M4 Aqua] HRSE:
thanks for confirming. Let me enjoy this surreal power consumption for a while before removing Xposed.
[Sony Xperia M4 Aqua] ivy.lally:
Yes indeed, load turns up the current in far bigger extend than frequency itself.

And we're talking about what's better without load: 40MHz or 345MHz?

It needs some systematic verifying, with repetitive results, a

person has said of "App Tune-up Kit", it is the application for accurate measuring how much power a given app consumes. Please guys, take a look into it and maybe someone would come up with how to use it for the purpose? ;)

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] phoenix295:
Strange :| I have had Xposed on every device I had and never had optimizing apps on every boot

It just appears on first boot after installation and then never. :confused:

I have it installed now and I don't get that optimizing apps screen :eek:
[Sony Xperia M4 Aqua] HRSE:
I'm using E2353 26.3.A.1.33, SkyMelon 8x/9, SuperSU 2.79-SR2 (what I see from SuperSU app, binary can be different). Is your phone the same?

I read from somewhere that it could also because of SuperSU
[Sony Xperia M4 Aqua] ivy.lally:
Probably now I can answer this question, as just noticed if LITTLE cores have much lower min freq than big cores then the LITTLE ones come online reluctantly.

And now when having:

ASMP min_cpus = 2

max freq both = 1113MHz

min freq big = 345MHz

min freq LITTLE = 55MHz

gov interactive big target_loads "90 100000:50 499200:90 1113600:99"

gov interactive LITTLE target_loads "97 55172:95 345600:97 499200:98 800000:99"

etc

now I can observe the biggest efficiency so far, reading from both: Ampere and CPU temperature real time displayed by CoolTool.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
this is totally different from my knowledge that i learned a long time ago from this Microchip application note http://ww1.microchip.com/downloads/en/AppNotes/01416a.pdf

Or did I misunderstand something?

Another discussion on stackexchange

https://physics.stackexchange.com/q...h-the-processor-frequency-in-a-typical-comput
[Sony Xperia M4 Aqua] valyo_bg:
[MENTION=7837559]ivy.lally[/MENTION] which governor is used in your configuration?
[Sony Xperia M4 Aqua] HRSE:
I was always skeptical when looking at the CPU frequency and load displayed in Kernel Adiutor. The graph's update speed is around 1sec, but the CPU may have switched frequency 50 times during that 1sec and may even turned off.

So I ended up checking the frequency statistics, but there was no info about CPU load.

And just now there is a discussion about load vs consumption, it is indeed chaos.

It would be nice if anyone can recommend a monitoring app that backed up by good (proven) theory as a benchmark tool instead of gut feeling.
[Sony Xperia M4 Aqua] ivy.lally:
And [MENTION=1788771]mark_os[/MENTION] said about some special chip's architecture "Qualcomm dynamic voltage scaling" whatever it means.

In general it is right, according to physics, but there might be some specific algorithm tackling frequency dependencies.

Interactive, I've written.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] valyo_bg:
Not interactive_pro?
[Sony Xperia M4 Aqua] ivy.lally:
Interactive (without pro), it has the most tunable tunables so saying "governor interactive" means nothing without knowing its parameters. (It's somewhat similar to Amplify, it's settings is everything) ;)

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
does it mean 'ondemand' is the best governor in this case? Or maybe the stock kernel is already optimised but we are reinventing the wheel?

I'm so confused now
[Sony Xperia M4 Aqua] ivy.lally:
And this is why ponder observing CPU temperature in real time, the heat is the power consumed :)

Indeed, it is highly complex optimizational problem, it needs cluster of supercomputers to solve it (running by the algorithm worth PhD).

I have suggested application which would help: App Tune-up Kit, and now we need come up how to implement it :)

Aqua E2303, MM modded, SkyMelon

---------- Post added at 06:11 PM ---------- Previous post was at 05:55 PM ----------

I've tried on demand and it keeps too long high empty frequency (without the load).

Extremely doubtful, enough saying how it had the minimal screen brightness. And software is always on development, it is so multi variable entity saying "ready" is idealistic.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
this method is not yet perfect. Given the temperature sensor is very accurate, it is still biased by the environment: the phone temperature is not fixed, the heat transfer rate is not fixed (the higher the temperature difference the faster the heat is dissipated)
[Sony Xperia M4 Aqua] ivy.lally:
And this is why I keep observing the three indicators simultaneously:

temperature, CPU graphs, Ampere current.

Indeed, it is intuitive, maybe the application: AppTune-upKit would help.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
on my C3 stock kernel with ondemand governor I was able to keep the frequency low by adjusting the powersave_bias value, and it was still able to scale to the max frequency when needed. However on SkyMelon 8x the powersave_bias will limit the max scalable frequency (example max frequency is set to 1GHz, setting powersave_bias to 10% will also scale the max frequency to 900MHz internally)

Do you want to give it a try before informing Andy?
[Sony Xperia M4 Aqua] ivy.lally:
Powersave_bias, has it its value in percent, i.e. it needs to write 10 to have 10%?

And what do the others tunables mean core the ondemand governor?

You know, in interactive governor can tune it to make saturate single core to 1113MHz with full core's load, before the next core switches online. It is ideal to get most of ASMP.

And it lacks in ondemand, ondemand suits rather to cluster plug or at all switching off LITTLE cores.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
Value 100 for 10%, 300 for 30%, etc.

How did you control auto smp behaviour? Please share

i set min cpu to 1 and max cpu to 4, and i always see cpu1 toggling on/off while scrolling but cpu0 frequency hasn't hit max yet
[Sony Xperia M4 Aqua] Mark.05:
40MHZ

SkyMelon is way better than the stock kernel

the governor it depend on the tunables as [MENTION=7837559]ivy.lally[/MENTION] said
[Sony Xperia M4 Aqua] HRSE:
[MENTION=6590739]Mark.05[/MENTION] I understand that the governor name doesn't tell the whole story as the parameters also play a big role, but each governor is built with a specific purpose or idea (like interactive is for short burst load for responsiveness, ondemand is to let the CPU speed up when needed, conservative is to make the CPU stay at low frequencies, etc.)

So in your view, to save battery power, what should be the ideal goal when selecting the governor and adjusting these tunables? Make the CPU run as slow as possible or make the load to be stable in some range or something else?

Most governor has the setting timer_rate or equivalent to adjust the minimum time before reevaluating (and adjust) the frequency. Should we keep it low (more responsive to load, allow as many switching as possible) or make it high (less switching overhead)?
[Sony Xperia M4 Aqua] ivy.lally:
I've also tried on-demand with powersave_bias=100

and with LITTLE cores hard shutdown,

and as can see interactive with my settings and Asmp behaves better.

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
i just randomly throw this question since [MENTION=6590739]Mark.05[/MENTION] says that limiting the frequency and increasing load do more harm than good

but my initial question is whether ondemand governor on M4 internally cap the max frequency. can you observe this?
[Sony Xperia M4 Aqua] ivy.lally:
http://cloud.tapatalk.com/s/594a3d7c0d014/pkernel-Asmp.zip

Please take for granted it is still far from ideal, many tunables has still random values and many can be done to improve it :)

Aqua E2303, MM modded, SkyMelon

---------- Post added at 10:43 AM ---------- Previous post was at 10:39 AM ----------

A nice surprise :)

After the night BetterBatteryStats welcomed with this results:

Statistic Type: Screen Off to Current
Since 7 h 45 m 45 s
============
Battery Info
============
Level lost [%]: Bat.: 0%(38% to 38%) [0.0%/h]
===========
Other Usage
===========
Deep Sleep (): 7 h 44 m 8 s 99.7%
Awake (Screen Off) (): 1 m 15 s 0.3%
Screen On (): 21 s 0.1%

http://cloud.tapatalk.com/s/594a411654baa/BetterBatteryStats-2017-06-21_110414287.txt

As we can see, Amplify and Automagic combined render 0%/h in sleep, so e.g. can take phone for two weeks trip in the wild without charger :)

Aqua E2303, MM modded, SkyMelon
[Sony Xperia M4 Aqua] HRSE:
[MENTION=7837559]ivy.lally[/MENTION] i see that you set min cpu to 2

echo '2' > /sys/kernel/autosmp/conf/min_cpus

does it mean if set to 1 cpu it will keep turning on/off cpu1 even for this SkyMelon 9?