Permalink
Browse files

blade2: add permissions for boostpulse and sideload

  • Loading branch information...
Dazzozo committed Jan 15, 2013
1 parent 511144b commit 36fbbe6bb0ea328b6006f8c3d7dd5ae769c44dc9
Showing with 11 additions and 0 deletions.
  1. +7 −0 ramdisk/init.blade2.rc
  2. +4 −0 recovery/recovery.rc
@@ -10,6 +10,13 @@ on early-init

on boot

# Setup boostpulse
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
chown system system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
chown system system /sys/devices/system/cpu/cpufreq/ondemand/boostpulse
chmod 0666 /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
chmod 0666 /sys/devices/system/cpu/cpufreq/ondemand/boostpulse

# cpufreq configurations
write /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate 500000
write /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 90
@@ -29,6 +29,10 @@ on init
mount /dev/block/vold/179:1 /sdcard/ vfat
symlink /sdcard /mnt/sdcard

# ADB sideload permissions
chown root shell /tmp
chmod 0775 /tmp

on boot
ifup lo
hostname localhost

0 comments on commit 36fbbe6

Please sign in to comment.