[Galaxy Ace II Android Development] shaqman89:
[MENTION=5695278]ChronoMonochrome[/MENTION]

I just tried using latest CK from ace2nutzer, and I found some issues:

- Freezing of NT-app strangely doesn't works. I had to freeze it manually.

- zram seems not to be working. Below is what happens when executing 60zram

root@codina:/ # /etc/init.d/60zram
+ BB=/system/xbin/busybox
+ SIZE=75
+ NUMBLOCKS=3
+ /system/xbin/busybox echo 3
+ >/sys/module/zram_num_devices_ctl/parameters/zram_num_devices
/etc/init.d/60zram[7]: /system/xbin/busybox: not found
+ /system/xbin/busybox echo 0
+ >/proc/sys/vm/page-cluster
/etc/init.d/60zram[8]: /system/xbin/busybox: not found
+ /system/xbin/busybox echo 100
+ >/proc/sys/vm/swappiness
/etc/init.d/60zram[9]: /system/xbin/busybox: not found
+ test -d /sys/module/zram
+ /system/xbin/busybox insmod /system/lib/modules/zram.ko
/etc/init.d/60zram[14]: /system/xbin/busybox: not found
+ let NUMBLOCKS=3 - 1
+ seq 0 2
+ /system/xbin/busybox echo 78643200
+ >/sys/devices/virtual/block/zram0/disksize
/etc/init.d/60zram[24]: can't create /sys/devices/virtual/block/zram0/disksize: No such file or directory
+ /system/xbin/busybox echo 1
+ >/sys/devices/virtual/block/zram0/max_comp_streams
/etc/init.d/60zram[24]: can't create /sys/devices/virtual/block/zram0/max_comp_streams: No such file or directory
+ /system/xbin/busybox mkswap /dev/block/zram0
/etc/init.d/60zram[24]: /system/xbin/busybox: not found
+ /system/xbin/busybox swapon -p 5 /dev/block/zram0
/etc/init.d/60zram[24]: /system/xbin/busybox: not found
+ /system/xbin/busybox echo 78643200
+ >/sys/devices/virtual/block/zram1/disksize
/etc/init.d/60zram[24]: can't create /sys/devices/virtual/block/zram1/disksize: No such file or directory
+ /system/xbin/busybox echo 1
+ >/sys/devices/virtual/block/zram1/max_comp_streams
/etc/init.d/60zram[24]: can't create /sys/devices/virtual/block/zram1/max_comp_streams: No such file or directory
+ /system/xbin/busybox mkswap /dev/block/zram1
/etc/init.d/60zram[24]: /system/xbin/busybox: not found
+ /system/xbin/busybox swapon -p 5 /dev/block/zram1
/etc/init.d/60zram[24]: /system/xbin/busybox: not found
+ /system/xbin/busybox echo 78643200
+ >/sys/devices/virtual/block/zram2/disksize
/etc/init.d/60zram[24]: can't create /sys/devices/virtual/block/zram2/disksize: No such file or directory
+ /system/xbin/busybox echo 1
+ >/sys/devices/virtual/block/zram2/max_comp_streams
/etc/init.d/60zram[24]: can't create /sys/devices/virtual/block/zram2/max_comp_streams: No such file or directory
+ /system/xbin/busybox mkswap /dev/block/zram2
/etc/init.d/60zram[24]: /system/xbin/busybox: not found
+ /system/xbin/busybox swapon -p 5 /dev/block/zram2
/etc/init.d/60zram[24]: /system/xbin/busybox: not found

- zram from CK app also doesn't works, similar error.

- I noticed that the busybox that is included is 1.16.2 that is installed in /sbin/ which may explain the cause of the failure of script above. Fixing BB var to /sbin/ doesn't solve the issue though. Installing busybox 1.24.2 partially fixed the issue. Log:

root@codina:/ # /etc/init.d/60zram
+ BB=/system/xbin/busybox
+ SIZE=75
+ NUMBLOCKS=3
+ /system/xbin/busybox echo 3
+ >/sys/module/zram_num_devices_ctl/parameters/zram_num_devices
+ /system/xbin/busybox echo 0
+ >/proc/sys/vm/page-cluster
+ /system/xbin/busybox echo 100
+ >/proc/sys/vm/swappiness
+ test -d /sys/module/zram
+ /system/xbin/busybox insmod /system/lib/modules/zram.ko
+ let NUMBLOCKS=3 - 1
+ seq 0 2
+ /system/xbin/busybox echo 78643200
+ >/sys/devices/virtual/block/zram0/disksize
+ /system/xbin/busybox echo 1
+ >/sys/devices/virtual/block/zram0/max_comp_streams
echo: write error: Invalid argument
+ /system/xbin/busybox mkswap /dev/block/zram0
Setting up swapspace version 1, size = 78639104 bytes
UUID=55bbee84-6020-4406-95b2-2d17e9348469
+ /system/xbin/busybox swapon -p 5 /dev/block/zram0
+ /system/xbin/busybox echo 78643200
+ >/sys/devices/virtual/block/zram1/disksize
+ /system/xbin/busybox echo 1
+ >/sys/devices/virtual/block/zram1/max_comp_streams
echo: write error: Invalid argument
+ /system/xbin/busybox mkswap /dev/block/zram1
Setting up swapspace version 1, size = 78639104 bytes
UUID=cf5ba7f5-1eaf-411d-9422-97d6a7f1740c
+ /system/xbin/busybox swapon -p 5 /dev/block/zram1
+ /system/xbin/busybox echo 78643200
+ >/sys/devices/virtual/block/zram2/disksize
+ /system/xbin/busybox echo 1
+ >/sys/devices/virtual/block/zram2/max_comp_streams
echo: write error: Invalid argument
+ /system/xbin/busybox mkswap /dev/block/zram2
Setting up swapspace version 1, size = 78639104 bytes
UUID=ec80ee4e-4d5f-4b8b-bbb4-6b4f2fb515ee
+ /system/xbin/busybox swapon -p 5 /dev/block/zram2