#BOARD_KERNEL_CMDLINE := The bootloader ignores the cmdline from the boot.img
BOARD_KERNEL_SEPARATED_DT := true
TARGET_CUSTOM_DTBTOOL := dtbhtoolExynos
+BOARD_ROOT_EXTRA_FOLDERS += efs cpefs
# Kernel
TARGET_KERNEL_ARCH := arm64
# MACLOADER
BOARD_HAVE_SAMSUNG_WIFI := true
+BOARD_SEPOLICY_DIRS += device/samsung/universal8895-common/sepolicy
+BOARD_SEPOLICY_VERS := $(PLATFORM_SDK_VERSION).0
+
# Shims
TARGET_LD_SHIM_LIBS += \
/system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so \
/dev/block/platform/11120000.ufs/by-name/CACHE /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
/dev/block/platform/11120000.ufs/by-name/USERDATA /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check,encryptable=/dev/block/platform/11120000.ufs/by-name/TOMBSTONES
/dev/block/platform/11120000.ufs/by-name/EFS /efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
+/dev/block/platform/11120000.ufs/by-name/CPEFS /cpefs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check,nofail
# ADD FOR GOTA
/dev/block/platform/11120000.ufs/by-name/MISC /misc emmc defaults defaults
on init
- mkdir /efs 0771 radio system
symlink /dev/block/platform/11120000.ufs/by-name/RADIO /dev/mbin0
restorecon /dev/mbin0
chown radio radio /efs/factory.prop
chmod 0600 /efs/factory.prop
- # For cpefs partition
- mkdir /cpefs 0771 radio system
- wait /dev/block/platform/11120000.ufs/by-name/CPEFS
- mount ext4 /dev/block/platform/11120000.ufs/by-name/CPEFS /cpefs nosuid nodev noatime noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic
- chown radio system /cpefs
- chmod 0771 /cpefs
-
#For cpdebug partition
wait /dev/block/platform/11120000.ufs/by-name/EFS
mkdir /efs/cpdebug
import init.samsung.rc
on early-init
- mkdir /efs 0771 radio system
mount debugfs /sys/kernel/debug /sys/kernel/debug
on init
start watchdogd
- mkdir /preload 0771 system system
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
--- /dev/null
+/cpefs(/.*)? u:object_r:efs_file:s0