Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 46 lines (35 sloc) 1.13 KB
# CyanogenMod and AOKP Extras
Now that we have SuperSU for 4.3, no need to run this.
#import /init.superuser.rc
on init
export ANDROID_CACHE /cache
on post-fs-data
mkdir /cache/dalvik-cache 0771 system system
chown system system /cache/dalvik-cache
chmod 0771 /cache/dalvik-cache
mkdir /data/.ssh 0750 root shell
# Run sysinit
start sysinit
on boot
chown system system /sys/block/mmcblk0/queue/scheduler
chmod 0664 /sys/block/mmcblk0/queue/scheduler
# allow system to modify uksm control files
chown root system /sys/kernel/mm/uksm/sleep_millisecs
chmod 0664 /sys/kernel/mm/uksm/sleep_millisecs
chown root system /sys/kernel/mm/uksm/run
chmod 0664 /sys/kernel/mm/uksm/run
write /sys/kernel/mm/uksm/sleep_millisecs 500
chown system system /dev/cpuctl/apps/cpu.notify_on_migrate
chmod 0644 /dev/cpuctl/apps/cpu.notify_on_migrate
# adb over network
on property:service.adb.tcp.port=5555
stop adbd
start adbd
on property:service.adb.tcp.port=-1
stop adbd
start adbd
# sysinit (/system/etc/init.d)
service sysinit /system/bin/sysinit
user root
oneshot
disabled
Something went wrong with that request. Please try again.