mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
X6833B: Add recovery init scripts and required flags
Signed-off-by: Woomymy <woomy@woomy.be> Change-Id: I6a3b4ba0037d9fec49e8445ed8e615b2d14e8c7f Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
parent
d286f54a21
commit
bf2a36e7cf
|
@ -98,5 +98,11 @@ TARGET_COPY_OUT_VENDOR := vendor
|
|||
TARGET_BOARD_PLATFORM := mt6789
|
||||
BOARD_HAS_MTK_HARDWARE := true
|
||||
|
||||
# Recovery
|
||||
BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT := true
|
||||
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.mt6789
|
||||
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
|
||||
TARGET_USERIMAGES_USE_F2FS := true
|
||||
|
||||
# Inherit the proprietary files
|
||||
include vendor/infinix/X6833B/BoardConfigVendor.mk
|
||||
|
|
8
recovery/root/init.recovery.mt6789.rc
Normal file
8
recovery/root/init.recovery.mt6789.rc
Normal file
|
@ -0,0 +1,8 @@
|
|||
on init
|
||||
setprop sys.usb.configfs 1
|
||||
setprop sys.usb.controller "musb-hdrc"
|
||||
setprop sys.usb.ffs.aio_compat 0
|
||||
|
||||
on fs
|
||||
wait /dev/block/platform/bootdevice/
|
||||
symlink /dev/block/platform/bootdevice /dev/block/bootdevice
|
155
rootdir/etc/fstab.mt6789
Normal file
155
rootdir/etc/fstab.mt6789
Normal file
|
@ -0,0 +1,155 @@
|
|||
# 1 "vendor/mediatek/proprietary/hardware/fstab/mt6789/fstab.in.mt6789"
|
||||
# 1 "<built-in>" 1
|
||||
# 1 "<built-in>" 3
|
||||
# 341 "<built-in>" 3
|
||||
# 1 "<command line>" 1
|
||||
# 1 "<built-in>" 2
|
||||
# 1 "vendor/mediatek/proprietary/hardware/fstab/mt6789/fstab.in.mt6789" 2
|
||||
# 172 "vendor/mediatek/proprietary/hardware/fstab/mt6789/fstab.in.mt6789"
|
||||
system /system erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
|
||||
|
||||
|
||||
system /system ext4 ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
|
||||
|
||||
|
||||
|
||||
vendor /vendor erofs ro wait,slotselect,avb,logical,first_stage_mount
|
||||
|
||||
|
||||
product /product erofs ro wait,slotselect,avb,logical,first_stage_mount
|
||||
|
||||
|
||||
|
||||
system_ext /system_ext erofs ro wait,slotselect,avb,logical,first_stage_mount
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
vendor_dlkm /vendor_dlkm ext4 ro wait,slotselect,avb,logical,first_stage_mount
|
||||
|
||||
|
||||
odm_dlkm /odm_dlkm ext4 ro wait,slotselect,avb,logical,first_stage_mount
|
||||
|
||||
|
||||
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount
|
||||
|
||||
/dev/block/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,noflush_merge,fsync_mode=nobarrier,reserve_root=134217,resgid=1065,inlinecrypt wait,check,formattable,quota,latemount,resize,reservedsize=128m,checkpoint=fs,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized,keydirectory=/metadata/vold/metadata_encryption,fsverity,
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/tranfs /tranfs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,formattable,nofail,first_stage_mount
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/protect1 /mnt/vendor/protect_f ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable
|
||||
/dev/block/by-name/protect2 /mnt/vendor/protect_s ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable
|
||||
/dev/block/by-name/nvdata /mnt/vendor/nvdata ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable
|
||||
/dev/block/by-name/nvcfg /mnt/vendor/nvcfg ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable
|
||||
|
||||
|
||||
/dev/block/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/devices/platform/soc/11240000.mmc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
|
||||
/devices/platform/soc/soc:odm/11230000.msdc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
|
||||
|
||||
|
||||
/devices/platform/soc/mt_usb* auto vfat defaults voldmanaged=usbotg:auto,encryptable=userdata
|
||||
|
||||
|
||||
/dev/block/by-name/frp /persistent emmc defaults defaults
|
||||
|
||||
/dev/block/by-name/nvram /nvram emmc defaults defaults
|
||||
/dev/block/by-name/proinfo /proinfo emmc defaults defaults
|
||||
/dev/block/by-name/lk1 /lk1 emmc defaults defaults
|
||||
/dev/block/by-name/bootloader2 /bootloader2 emmc defaults defaults
|
||||
/dev/block/by-name/para /para emmc defaults defaults
|
||||
/dev/block/by-name/misc /misc emmc defaults defaults
|
||||
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/boot /boot emmc defaults first_stage_mount,nofail,slotselect
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/vbmeta_vendor /vbmeta_vendor emmc defaults first_stage_mount,nofail,slotselect
|
||||
/dev/block/by-name/vbmeta_system /vbmeta_system emmc defaults first_stage_mount,nofail,slotselect,avb=vbmeta
|
||||
|
||||
/dev/block/by-name/logo /logo emmc defaults defaults
|
||||
/dev/block/by-name/expdb /expdb emmc defaults defaults
|
||||
/dev/block/by-name/seccfg /seccfg emmc defaults defaults
|
||||
|
||||
/dev/block/by-name/tee1 /tee1 emmc defaults defaults
|
||||
/dev/block/by-name/tee2 /tee2 emmc defaults defaults
|
||||
|
||||
|
||||
/dev/block/by-name/scp1 /scp1 emmc defaults defaults
|
||||
/dev/block/by-name/scp2 /scp2 emmc defaults defaults
|
||||
|
||||
|
||||
/dev/block/by-name/sspm1 /sspm1 emmc defaults defaults
|
||||
/dev/block/by-name/sspm2 /sspm2 emmc defaults defaults
|
||||
|
||||
|
||||
/dev/block/by-name/dpm1 /dpm1 emmc defaults defaults
|
||||
/dev/block/by-name/dpm2 /dpm2 emmc defaults defaults
|
||||
|
||||
/dev/block/by-name/mcupm1 /mcupm1 emmc defaults defaults
|
||||
/dev/block/by-name/mcupm2 /mcupm2 emmc defaults defaults
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/md1img /md1img emmc defaults defaults
|
||||
/dev/block/by-name/md1dsp /md1dsp emmc defaults defaults
|
||||
/dev/block/by-name/md1arm7 /md1arm7 emmc defaults defaults
|
||||
/dev/block/by-name/md3img /md3img emmc defaults defaults
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/gz1 /gz1 emmc defaults defaults
|
||||
/dev/block/by-name/gz2 /gz2 emmc defaults defaults
|
||||
/dev/block/by-name/ccu /ccu emmc defaults defaults
|
||||
/dev/block/by-name/vcp /vcp emmc defaults defaults
|
||||
/dev/block/by-name/gpueb /gpueb emmc defaults defaults
|
||||
/dev/block/by-name/mcf_ota /mcf_ota emmc defaults defaults
|
||||
/dev/block/by-name/vendor_boot /vendor_boot emmc defaults defaults
|
||||
/dev/block/by-name/mvpu_algo1 /mvpu_algo1 emmc defaults defaults
|
||||
/dev/block/by-name/mvpu_algo2 /mvpu_algo2 emmc defaults defaults
|
||||
/dev/block/by-name/apusys1 /apusys1 emmc defaults defaults
|
||||
/dev/block/by-name/apusys2 /apusys2 emmc defaults defaults
|
||||
|
||||
/dev/block/by-name/spmfw /spmfw emmc defaults defaults
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/pi_img /pi_img emmc defaults defaults
|
||||
/dev/block/by-name/boot_para /boot_para emmc defaults defaults
|
||||
/dev/block/by-name/odmdtbo /odmdtbo emmc defaults defaults
|
||||
/dev/block/by-name/dtbo /dtbo emmc defaults defaults
|
||||
|
||||
/dev/block/by-name/otp /otp emmc defaults defaults
|
||||
|
||||
|
||||
/dev/block/by-name/vbmeta /vbmeta emmc defaults defaults
|
||||
|
||||
|
||||
|
||||
|
||||
/dev/block/by-name/tkv /tkv emmc defaults defaults
|
Loading…
Reference in a new issue