From 9499cce182d2030aeeed1f6cf7ec85bda50494d2 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Thu, 18 Jul 2019 19:40:40 +0200 Subject: init: Create /dev/xmm6262_boot0 for i9300 For some reason the shell script and its associated service that are supposed to do that don't end up creating /dev/xmm6262_boot0. As init does create dev nodes, it's safer to assume that it's supposed to work. For devices not needing /dev/xmm6262_boot0, having an unused dev node should probably not create any issue. Signed-off-by: Denis 'GNUtoo' Carikli --- init/init.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/init.cpp b/init/init.cpp index eb9dd755b..1282b90a9 100644 --- a/init/init.cpp +++ b/init/init.cpp @@ -596,6 +596,8 @@ int main(int argc, char** argv) { mknod("/dev/random", S_IFCHR | 0666, makedev(1, 8)); mknod("/dev/urandom", S_IFCHR | 0666, makedev(1, 9)); + mknod("/dev/xmm6262_boot0", S_IFCHR | 0777, makedev(180, 191)); + // Mount staging areas for devices managed by vold // See storage config details at http://source.android.com/devices/storage/ mount("tmpfs", "/mnt", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, -- cgit v1.2.3