mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +00:00
walleye: Define fstab.hardware
* Since walleye and taimen require repartitioning so the definition of the system_ext is also different, we need different fstab adjustments, on the other hand this is necessary because we are no longer mounting from the kernel side. * Fixed walleye cant boot normaly or bring back to recovery mode after flash the rom Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
This commit is contained in:
@@ -36,6 +36,7 @@ BOARD_KERNEL_CMDLINE += androidboot.dtbo_idx=3
|
||||
|
||||
# Partitions (listed in the file) to be wiped under recovery.
|
||||
TARGET_RECOVERY_WIPE := device/google/walleye/recovery.wipe
|
||||
TARGET_RECOVERY_FSTAB := device/google/walleye/fstab.hardware
|
||||
|
||||
#BOARD_EXT4_SHARE_DUP_BLOCKS := true
|
||||
|
||||
|
||||
@@ -120,6 +120,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/walleye/thermal_info_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
|
||||
|
||||
# Fstab Hardware
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/walleye/fstab.hardware:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.$(PRODUCT_HARDWARE) \
|
||||
device/google/walleye/fstab.hardware:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.$(PRODUCT_HARDWARE)
|
||||
|
||||
# VNDK
|
||||
PRODUCT_COPY_FILES += \
|
||||
prebuilts/vndk/v32/arm64/arch-arm-armv8-a/shared/vndk-sp/libhidlbase.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libhidlbase-v32.so \
|
||||
|
||||
13
fstab.hardware
Normal file
13
fstab.hardware
Normal file
@@ -0,0 +1,13 @@
|
||||
# Android fstab file.
|
||||
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
/dev/block/by-name/system /system ext4 ro,barrier=1 wait,slotselect,avb,first_stage_mount
|
||||
/dev/block/by-name/vendor /vendor ext4 ro,barrier=1 wait,slotselect,avb,first_stage_mount
|
||||
/dev/block/by-name/product /product ext4 ro,barrier=1 wait,slotselect,avb,first_stage_mount
|
||||
/dev/block/by-name/persist /persist ext4 nosuid,nodev,noatime,barrier=1 wait
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,sync wait,formattable
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/userdata /data ext4 errors=panic,noatime,nosuid,nodev,barrier=1,noauto_da_alloc latemount,wait,check,formattable,fileencryption=ice:aes-256-heh,eraseblk=16777216,logicalblk=4096,quota,reservedsize=128M,checkpoint=block
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/misc /misc emmc defaults defaults
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
|
||||
/devices/soc/a800000.ssusb/a800000.dwc3* auto vfat defaults voldmanaged=usb:auto
|
||||
/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8
|
||||
Reference in New Issue
Block a user