aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShilin Victor <chrono.monochrome@gmail.com>2021-08-09 23:21:31 +0300
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-07 17:41:33 +0200
commitf41dae6f18b1334287e602d6425f510172cc90bd (patch)
treeaf5c778c62c9a69ccc871f400a956566b32b6d6c
parentdd72725fd2a245391accdb7f7b4c1c199b186c8c (diff)
downloaddevice_samsung_i9300-f41dae6f18b1334287e602d6425f510172cc90bd.tar.gz
device_samsung_i9300-f41dae6f18b1334287e602d6425f510172cc90bd.tar.bz2
device_samsung_i9300-f41dae6f18b1334287e602d6425f510172cc90bd.zip
move init.smdk4x12.rc to common repo
Beside the modem specific part, all the content of the init.smdk4x12.rc is shared with the init.smdk4x12.rc from the device_samsung_i9305 repository. Change-Id: Iade835ea98cbf881f41f412405376fe9e361d7dc GNUtoo: rebased to take into account the modem changes, updated commit message Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--init.smdk4x12.rc41
1 files changed, 1 insertions, 40 deletions
diff --git a/init.smdk4x12.rc b/init.smdk4x12.rc
index 74d597d..414be9d 100644
--- a/init.smdk4x12.rc
+++ b/init.smdk4x12.rc
@@ -12,42 +12,10 @@
# 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
+import init.midas.rc
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 #
#########
@@ -69,13 +37,6 @@ on early-boot
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