Skip to content

Commit

Permalink
跳过新版fstab处理
Browse files Browse the repository at this point in the history
加回动态分区相关挂载点,否则相关分区会挂载失败
  • Loading branch information
ymdzq committed Jul 28, 2023
1 parent fe9b3fe commit 6d3a8df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recovery/root/system/etc/twrp.flags
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
/cache ext4 /dev/block/by-name/cache flags=display="Cache";backup=1;wipeingui;wipeduringfactoryreset
/storage ext4 /data/media/0 flags=display="Internal Storage";backup=1;usermrf;fsflags="bind";removable

# super
/system ext4 /dev/block/mapper/system flags=display="System";backup=0;logical
/vendor ext4 /dev/block/mapper/vendor flags=display="Vendor";logical
/product ext4 /dev/block/mapper/product flags=display="Product";logical

# Boot
/boot emmc /dev/block/by-name/boot flags=display="Boot";backup=1;flashimg=1
/dtbo emmc /dev/block/by-name/dtbo flags=display="Dtbo"
Expand Down
2 changes: 2 additions & 0 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
export OF_DEFAULT_TIMEZONE="TAIST-8;TAIDT"
# 设置默认关闭夏令时
export TW_TIME_ZONE_GUIDST=0
# 跳过新版fstab处理
export OF_LEGACY_PROCESS_FSTAB=1

F=$(find "device" -name "bomb")
# 修改启动画面背景色为#000000
Expand Down

0 comments on commit 6d3a8df

Please sign in to comment.