Here is a custom kernel developed by xda member rob43 with minimal features and the best of all are some inique gestures which you may have seen on other big smartphones.
It is based off the stock kernel's source SGH-I257M_NA_JB_Opensource_Update1 but regardless of the SGH-I257M label it manages to function just fine on the GT-I9195 since both are pretty much alike.
The most notable features of this kernel are some of the gestures such as sweep2sleep, sweep2wake, doubletap2wake and fast charge. Please note that the doubletap2wake feature is still considered experimental and may not work fully as expected.
Be sure to download the latest kernel found in that directory. As of now the latest one is Minikernel-2. If there is already a 3, 4 or above available then be sure to download that.
Below you can find all of the commands that you can type into the Terminal Emulator and other information to operate the kernel. Before you begin typing any of the below commands, be sure to first type in su and grant the app Superuser access.
Sweep2wake, doubletap2wake (experimental!)
It is based off the stock kernel's source SGH-I257M_NA_JB_Opensource_Update1 but regardless of the SGH-I257M label it manages to function just fine on the GT-I9195 since both are pretty much alike.
The most notable features of this kernel are some of the gestures such as sweep2sleep, sweep2wake, doubletap2wake and fast charge. Please note that the doubletap2wake feature is still considered experimental and may not work fully as expected.
Features:
- SELinux permissive mode
- Undervolt (default on for lower frequencies)
- Fast charge
- Max screen off frequency (default on @ 702mhz)
- Sweep2sleep (default on, swipe from right-to-left at the bottom of the screen to turn off)
Be sure to download the latest kernel found in that directory. As of now the latest one is Minikernel-2. If there is already a 3, 4 or above available then be sure to download that.
Installation:
- Download the zip file to your sdcard
- Boot into Recovery mode by holding Volume up + Home + Power buttons simultaneously
- In recovery mode, choose install zip
- Then choose choose zip from external sdcard (it is labeled choose zip from /storage/sdcard/1 in newer versions of CWM recovery)
- Find the kernel zip file and choose it
- Now choose Yes to confirm
- After flashing is complete, go back and choose reboot system now
Using the features:
In order to toggle on/off the features such as doubletap2wake, sweep2take, sweep2sleep and others, you must download the app called Terminal Emulator which can be found in the Play Store for free.Below you can find all of the commands that you can type into the Terminal Emulator and other information to operate the kernel. Before you begin typing any of the below commands, be sure to first type in su and grant the app Superuser access.
Fast charge:
echo 1 > /sys/kernel/fast_charge/force_fast_charge - to turn on
echo 0 > /sys/kernel/fast_charge/force_fast_charge - to turn off
Undervolt:
Use Trickster Mod or look in /sys/devices/system/cpu/cpu0/cpufreq/vdd_levelsMax screen off frequency:
echo 1 > /sys/kernel/screen_limit/enable - to turn on
echo 0 > /sys/kernel/screen_limit/enable - to turn off
echo FREQUENCY > /sys/kernel/screen_limit/max_frequency
Valid frequencies for S4 Mini:
384000 486000 594000 702000 810000 918000 1026000 1134000 1242000 1350000 1458000 1566000 1674000 1728000
Sweep2sleep:
echo 1 > /sys/power_actions/mode - to turn on
echo 0 > /sys/power_actions/mode - to turn off
Sweep2wake, doubletap2wake (experimental!)
echo 2 > /sys/power_actions/mode - sweep2wake onlySource: xda
echo 3 > /sys/power_actions/mode - sweep2sleep, sweep2wake
echo 4 > /sys/power_actions/mode - doubletap2wake only
echo 5 > /sys/power_actions/mode - sweep2sleep, doubletap2wake