[Magisk] wogooo:
It now works on my Samsung Galaxy S5 Mini running CM13 :laugh::highfive:

Paging check..

No SWAP/ZRAM/RAMZSWAP was detected

Configuring kernel for swappless system..

Paging check completed

RAM values now:

Total: 1258 MB

Free: 592 MB

Real free: 284 MB

Cached: 308 MB

SWAP/ZRAM total: 0 MB

SWAP/ZRAM used: 0 MB

[15:34:33] 003 - ***RAM gear*** - OK

[15:34:33] Running 004 gear..

[15:34:33] 004 - ***Memory gear***

Device has 1258 MB of RAM and 0 MB of SWAP/ZRAM

Calculated readahead parameter is 6290 KB

Remounting EXT4 partitions..

Remounting EXT4 partitions..

Remounting EXT4 partitions..

Remounting EXT4 partitions..

Remounting EXT4 partitions..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new I/O parameters..

Applying new rnd parameters..

Applying new rnd parameters..

Applying new rnd parameters..

Applying new rnd parameters..

Checking. Current parameter is 6288 KB

[15:34:35] 004 - ***Memory gear*** - OK

[15:34:35] Running 005 gear..

[15:34:35] 005 - ***Kernel gear***

Writing optimized kernel parameters to sysfs..

Writing optimized kernel parameters to sysctl..

Executing optimized kernel parameters via sysctl..

Turning debugging OFF..

Turning debugging OFF..

Turning debugging OFF..

Tuning kernel scheduling..

Tuning Android..

[15:34:38] 005 - ***Kernel gear*** - OK

[15:34:39] Running 006 gear..

[15:34:39] 006 - ***GPU gear***

Remounting /system - RW

Mali GPU detected. Tuning..

Mali L2 cache tuned.

Tuning Android animations..

HID-magic tune-up

Tuning Android graphics..

GPU composition..

[15:34:40] 006 - ***GPU gear*** - OK

[15:34:40] Running 007 gear..

[15:34:40] 007 - ***Battery gear***

Re-calibrating battery..

LCD power reduce detected. Activating..

Tuning Android power-saving..

[15:34:40] 007 - ***Battery gear*** - OK

[15:34:40] Running 008 gear..

[15:34:40] 008 - ***Network gear***

Writing optimized network parameters to sysctl

Executing optimized network parameters via sysctl

Set larger net-buffer sizes..

Tuning DNS..

Data compression enabled.

Tuning Android networking settings..

[15:34:43] 008 - ***Network gear*** - OK

[15:34:43] Running 009 gear..

[15:34:43] 009 - ***VM gear***

Tuning LMK..

LMK cost fine-tuning..

LMK debugging disabled

Tuning Android proc..

[15:34:43] 009 - ***VM gear*** - OK

[15:34:44] Running 010 gear..

[15:34:44] 010 - ***CPU gear***

CPU Interactive tuning..

CGroup cpuctl tuned..

[15:34:44] 010 - ***CPU gear*** - OK

[15:34:44] Running 011 gear..

[15:34:44] 011 - ***GPS gear***

Patching GPS config...

[15:34:44] END start

Fix permissions and zipalign..

Google Play services fix

Checking all filesystems

FStrim init..

Trim /system

/system: 1360875520 bytes trimmed

Trim /data

/data: 1192681472 bytes trimmed

Trim /cache

/cache: 304467968 bytes trimmed

Optimizing DataBases..

[15:38:28] Applying kernel configuration..

vm.swappiness = 0

vm.page-cluster = 0

kernel.random.read_wakeup_threshold = 1536

kernel.random.write_wakeup_threshold = 256

vm.vfs_cache_pressure = 100

vm.min_free_kbytes = 10064

vm.compact_memory = 3

vm.drop_caches = 3

vm.oom_kill_allocating_task = 1

vm.dirty_ratio = 36

vm.dirty_background_ratio = 5

vm.dirty_writeback_centisecs = 0

vm.dirty_expire_centisecs = 0

vm.panic_on_oom = 0

vm.overcommit_memory = 1

vm.overcommit_ratio = 100

vm.laptop_mode = 2

vm.block_dump = 0

vm.oom_dump_tasks = 0

vm.min_free_order_shift = 4

fs.file-max = 81770

fs.leases-enable = 1

fs.lease-break-time = 5

fs.inotify.max_queued_events = 33966

fs.inotify.max_user_instances = 256

fs.inotify.max_user_watches = 16384

kernel.randomize_va_space = 2

kernel.hung_task_timeout_secs = 0

kernel.panic = 0

kernel.panic_on_oops = 0

kernel.softlockup_panic = 0

kernel.shmmni = 4096

kernel.shmall = 241536

kernel.shmmax = 989331456

kernel.msgmni = 16384

kernel.msgmax = 8192

kernel.msgmnb = 8192

Sleep, sync and free RAM

total used free shared buffers cached

Mem: 1258 805 452 0 4 210

-/+ buffers/cache: 591 666

Swap: 0 0 0

Remounting /system - RO

[15:38:40] END end

[15:34:44] First boot completed.

[15:38:40] FDE status - OK