Skip to content

Commit

Permalink
gemini: Remove early_boot init script
Browse files Browse the repository at this point in the history
  • Loading branch information
bgcngm committed Jun 18, 2016
1 parent f34796c commit 9e08888
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 107 deletions.
1 change: 0 additions & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ PRODUCT_PACKAGES += \
init.qcom.usb.rc \
init.target.rc \
ueventd.qcom.rc \
init.qcom.early_boot.sh \
init.qcom.sh

# CNE
Expand Down
8 changes: 0 additions & 8 deletions rootdir/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,6 @@ LOCAL_SRC_FILES := ueventd.qcom.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.early_boot.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.qcom.early_boot.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.sh
LOCAL_MODULE_TAGS := optional eng
Expand Down
97 changes: 0 additions & 97 deletions rootdir/init.qcom.early_boot.sh

This file was deleted.

14 changes: 13 additions & 1 deletion rootdir/init.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ on early-boot
setrlimit 8 67108864 67108864
write /sys/kernel/boot_adsp/boot 1
write /sys/kernel/boot_slpi/boot 1
exec u:r:qti_init_shell:s0 -- /init.qcom.early_boot.sh

on boot
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
Expand Down Expand Up @@ -108,6 +107,7 @@ on boot
# Create NETMGR daemon socket area
mkdir /dev/socket/netmgr 0750 radio radio

# Display and LED permissions
chown system system /sys/class/leds/red/blink
chown system system /sys/class/leds/green/blink
chown system system /sys/class/leds/blue/blink
Expand All @@ -118,6 +118,18 @@ on boot
chown system system /sys/devices/soc/75ba000.i2c/i2c-12/12-0020/input/input1/wake_gesture
chown system system /sys/devices/soc/75ba000.i2c/i2c-12/12-0020/input/input1/0dbutton

# Graphic node permissions
chown system graphics /sys/class/graphics/fb0/idle_time
chown system graphics /sys/class/graphics/fb0/dyn_pu
chown system graphics /sys/class/graphics/fb0/modes
chown system graphics /sys/class/graphics/fb0/mode
chown system graphics /sys/class/graphics/fb0/msm_cmd_autorefresh_en
chmod 0664 /sys/class/graphics/fb0/idle_time
chmod 0664 /sys/class/graphics/fb0/dyn_pu
chmod 0664 /sys/class/graphics/fb0/modes
chmod 0664 /sys/class/graphics/fb0/mode
chmod 0664 /sys/class/graphics/fb0/msm_cmd_autorefresh_en

# SSC/SLPI sensors
mkdir /persist/sensors
chmod 0775 /persist/sensors
Expand Down

0 comments on commit 9e08888

Please sign in to comment.