-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rova: Support Retrofit Dynamic Partitions
iusmac: adapt for ORFX Signed-off-by: iusmac <iusico.maxim@libero.it>
- Loading branch information
1 parent
cea7cd9
commit 64d60e4
Showing
6 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/system/bin/sh | ||
|
||
if dd if=/dev/block/by-name/system bs=256k count=1|strings|grep mi8937_dynpart > /dev/null; then | ||
echo >> /system/etc/recovery.fstab | ||
for p in system system_ext product vendor odm; do | ||
echo "${p} /${p} ext4 rw,barrier=1,discard wait,logical" >> /system/etc/recovery.fstab | ||
done | ||
else | ||
echo >> /system/etc/twrp.flags | ||
cat /system/etc/twrp.flags.nondynpart >> /system/etc/twrp.flags | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# mount point fstype device device2 flags | ||
/system_root ext4 /dev/block/bootdevice/by-name/system flags=backup=0;display="System";wipeingui | ||
/system_image emmc /dev/block/bootdevice/by-name/system flags=backup=1;flashimg=1 | ||
/vendor ext4 /dev/block/bootdevice/by-name/cust flags=slotselect;display="Vendor";backup=1;wipeingui | ||
/vendor_image emmc /dev/block/bootdevice/by-name/cust flags=backup=1;flashimg=1 |