Skip to content

Commit

Permalink
blade2: add permissions for boostpulse and sideload
Browse files Browse the repository at this point in the history
  • Loading branch information
Daz Jones committed Jan 15, 2013
1 parent 511144b commit 36fbbe6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ramdisk/init.blade2.rc
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions recovery/recovery.rc
Expand Up @@ -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
Expand Down

0 comments on commit 36fbbe6

Please sign in to comment.