Hello,
this is a kernel tuned on battery life. It is supposed for stock M4 Aqua Android 5.0 version. Should work on all stock based rom, on all 23xx devices if bootloader is unlocked.
Please be careful and make a backup.
Tested devices
- Sony Xperia M4 Aqua E2306 OS: Sony Stock 5.0 26.1.A.3.111 :good:
- Sony Xperia M4 Aqua E2306 OS: Sony Stock 5.0 26.1.A.3.120 :good:
- Sony Xperia M4 Aqua E2333 OS: Sony Stock 5.0 26.1.B.3.109 :good:
Install instructions:
- boot into recovery
- backup full system (boot and system to restore previous version; data to avoid data loss)
- flash the zip file (see second post attachment)
Revert instructions
- restore boot, system
Additional instructions:
- for low power mode (only use little cluster, long battery life, but poor performance, ok for browsing, etc. to survive a desert holiday):
-- echo 1 > /sys/module/cluster_plug/parameters/low_power_mode
- for normal mode:
-- echo 0 > /sys/module/cluster_plug/parameters/low_power_mode
- reboot will restore normal mode (you can use script tools from market to make buttons to switch easily)
- the following script can be used with $cripter app (run as root) so you can make a toggle icon to change between modes:
init.d support:
- this kernel brings you init.d support, so no need to use other scripts to enable it
-- busybox needs to be installed in /system/xbin
Please report back if it works or not with your device info.
Credits:
@kaiiori: thanks for your "xperia M4 high temperature Decrease"; i based my scripts on your idea (but took them from another device)
@vinay: thanks for help with kernel assembly
for cluster_plug: all guys which worked on it in CM development
Kernel sources:
https://github.com/cyclon1978/m4aqua
Greetings,
Andreas
this is a kernel tuned on battery life. It is supposed for stock M4 Aqua Android 5.0 version. Should work on all stock based rom, on all 23xx devices if bootloader is unlocked.
Please be careful and make a backup.
Tested devices
- Sony Xperia M4 Aqua E2306 OS: Sony Stock 5.0 26.1.A.3.111 :good:
- Sony Xperia M4 Aqua E2306 OS: Sony Stock 5.0 26.1.A.3.120 :good:
- Sony Xperia M4 Aqua E2333 OS: Sony Stock 5.0 26.1.B.3.109 :good:
Install instructions:
- boot into recovery
- backup full system (boot and system to restore previous version; data to avoid data loss)
- flash the zip file (see second post attachment)
Revert instructions
- restore boot, system
Additional instructions:
- for low power mode (only use little cluster, long battery life, but poor performance, ok for browsing, etc. to survive a desert holiday):
-- echo 1 > /sys/module/cluster_plug/parameters/low_power_mode
- for normal mode:
-- echo 0 > /sys/module/cluster_plug/parameters/low_power_mode
- reboot will restore normal mode (you can use script tools from market to make buttons to switch easily)
- the following script can be used with $cripter app (run as root) so you can make a toggle icon to change between modes:
Code:
#!/system/bin/sh
echo 1 > /sys/module/cluster_plug/parameters/active
STATE=$(cat /sys/module/cluster_plug/parameters/low_power_mode)
if [ $STATE -eq 1 ]
then
echo 0 > /sys/module/cluster_plug/parameters/low_power_mode
else
echo 1 > /sys/module/cluster_plug/parameters/low_power_mode
fi
echo "low power consumption"
cat /sys/module/cluster_plug/parameters/low_power_mode
- this kernel brings you init.d support, so no need to use other scripts to enable it
-- busybox needs to be installed in /system/xbin
Code:
mkdir /system/etc/init.d
chmod 755 /system/etc/init.d
(put a script there)
chmod 755 /system/etc/init.d/00_myscript
Credits:
@kaiiori: thanks for your "xperia M4 high temperature Decrease"; i based my scripts on your idea (but took them from another device)
@vinay: thanks for help with kernel assembly
for cluster_plug: all guys which worked on it in CM development
Kernel sources:
https://github.com/cyclon1978/m4aqua
Greetings,
Andreas
Last edited: