diff options
| author | Shilin Victor <chrono.monochrome@gmail.com> | 2021-08-09 23:21:31 +0300 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-09-07 17:18:22 +0200 |
| commit | 7e9f9be4480d27c04b46f6a694aa47617b470814 (patch) | |
| tree | 82e55a007236eb438c7a802f005769627daedf0a | |
| parent | ea3615d87efabd6da85dc650dc4cca0da0893848 (diff) | |
| download | device_samsung_i9300-7e9f9be4480d27c04b46f6a694aa47617b470814.tar.gz device_samsung_i9300-7e9f9be4480d27c04b46f6a694aa47617b470814.tar.bz2 device_samsung_i9300-7e9f9be4480d27c04b46f6a694aa47617b470814.zip | |
i9300: move init.smdk4x12*.rc files to common repo
Change-Id: Iade835ea98cbf881f41f412405376fe9e361d7dc
GNUtoo: rebased
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
| -rw-r--r-- | device.mk | 2 | ||||
| -rw-r--r-- | fstab.smdk4x12 | 23 | ||||
| -rw-r--r-- | init.smdk4x12.rc | 81 |
3 files changed, 0 insertions, 106 deletions
@@ -29,8 +29,6 @@ PRODUCT_PACKAGES += \ srs-test \ PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/fstab.smdk4x12:root/fstab.smdk4x12 \ - $(LOCAL_PATH)/init.smdk4x12.rc:root/init.smdk4x12.rc \ $(LOCAL_PATH)/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ frameworks/native/data/etc/android.software.app_widgets.xml:system/etc/permissions/android.software.app_widgets.xml \ diff --git a/fstab.smdk4x12 b/fstab.smdk4x12 deleted file mode 100644 index 1f55a4f..0000000 --- a/fstab.smdk4x12 +++ /dev/null @@ -1,23 +0,0 @@ -# -# Copyright 2018 Joonas Kylmälä -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -/dev/block/platform/soc/12550000.mmc/by-name/SYSTEM / ext4 ro,noatime wait -/dev/block/platform/soc/12550000.mmc/by-name/USERDATA /data ext4 rw,noatime wait -/dev/block/platform/soc/12550000.mmc/by-name/EFS /efs ext4 rw,noatime wait - -# Recovery -/dev/block/platform/soc/12550000.mmc/by-name/BOOT /boot emmc defaults recoveryonly -/dev/block/platform/soc/12550000.mmc/by-name/RECOVERY /recovery emmc defaults recoveryonly diff --git a/init.smdk4x12.rc b/init.smdk4x12.rc deleted file mode 100644 index 74d597d..0000000 --- a/init.smdk4x12.rc +++ /dev/null @@ -1,81 +0,0 @@ -# -# Copyright 2018 Joonas Kylmälä -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -on boot - # Audio support - setprop ro.hardware.audio.primary exynos4 - # adb support - mkdir /dev/usb-ffs 0770 shell shell - mkdir /dev/usb-ffs/adb 0770 shell shell - mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 - setprop sys.usb.configfs 1 - setprop sys.usb.controller 12480000.hsotg - # Hack to make sure to get adbd at boot - start adbd - -on fs - mount_all /fstab.smdk4x12 - -on early-boot - mount debugfs debugfs /sys/kernel/debug - chmod 777 /dev/binder - chmod 777 /dev/hwbinder - chmod 777 /dev/vndbinder - chmod 777 /dev/ion # used by OMX / libstagefright - chmod 755 /sys/kernel/debug - chmod 755 /sys/kernel/debug/sync - - # Graphics - chown graphics graphics /sys/kernel/debug/sync/sw_sync - chmod 777 /sys/kernel/debug/sync/sw_sync - chmod 777 /dev/dri/card0 - chmod 777 /dev/dri/renderD128 - chmod 777 /dev/dri/renderD129 - chmod 777 /dev/graphics/fb0 - chmod 777 /sys/class/backlight/panel/brightness - chown graphics graphics /sys/kernel/debug/sync/info - - ######### - # Modem # - ######### - # HSIC bus reset (required for modem boot) - chown radio radio /sys/devices/platform/soc/12580000.ehci/ehci_power - # Modem power management GPIOs between the SOC and the modem - chown radio radio /sys/devices/platform/xmm6262/hostwake - chown radio radio /sys/devices/platform/xmm6262/link_active - chown radio radio /sys/devices/platform/xmm6262/modem_power - chown radio radio /sys/devices/platform/xmm6262/pda_active - chown radio radio /sys/devices/platform/xmm6262/slavewake - # Modem firmware (RADIO Android partition) - chown radio radio /dev/block/mmcblk2p7 - # Modem devices nodes - chown radio radio /dev/umts_csd - chown radio radio /dev/umts_ipc - chown radio radio /dev/umts_loopback - chown radio radio /dev/umts_rfs - chown radio radio /dev/umts_router - -on post-fs-data - setprop vold.post_fs_data_done 1 - start resize2fs_partitions - # RIL: Enable TelephonyManager to access /proc/cmdline - # This is probably needed to access the IMEI - chmod 777 /proc/cmdline - -service resize2fs_partitions /system/bin/resize2fs_partitions.sh - class main - oneshot - disabled |
