commit | f940ba21b08706cf160eca8a021aa083c0bd1dac | [log] [tgz] |
---|---|---|
author | nkk71 <nkk71x@gmail.com> | Fri Mar 24 18:28:03 2017 +0200 |
committer | bigbiff <bigbiff@teamw.in> | Thu Nov 18 19:45:37 2021 +0000 |
tree | 633d11a3b52879db069741189e1caae33059bedd | |
parent | 543773227d45f84267dd101957cfb7077d6f0e45 [diff] |
Adopted Storage: Add support for mixed mode sdcards * Adds support for mixed adopted storage + removable storage partitioned sdcards. * Also symlinks Adopted Storage datamedia folder to an available /sdcardN (N being 2 through 9) folder. * Requires a suitable entry in fstab, for example: # Removable Storage /sd_ext ext4 /dev/block/mmcblk1p2 /dev/block/mmcblk1 flags=storage;wipeingui;removable;encryptable=footer /external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=storage;wipeingui;removable;encryptable=footer /sd_ext will be the mountpoint for adopted storage, and /sdcardN will become symlinked to /sd_ext/data/media[/0] * Fix adopted storage nickname being "" * Output adopted partition info after successful decrypt * Mimic single lun code for multi lun devices: "Mount CurrentStoragePath if it's not /data" Change-Id: I3874c09f1a1c3a81f04277e17f17cc03ecb4184a
Team Win Recovery Project (TWRP)
You can find a compiling guide here.