TeamWin / android_bootable_recovery

1.31k stars 409 forks source link

Broken decrypted /data/media/0 path #255

Closed adomerlee closed 2 years ago

adomerlee commented 2 years ago

Device codename: ES2 (and CO2) TWRP version: 3.6.2_11-0 Device Tree: Common Tree

WHAT STEPS WILL REPRODUCE THE PROBLEM?

Decrypt /data

WHAT IS THE EXPECTED RESULT?

User data is located in the /data/media/0 folder

WHAT HAPPENS INSTEAD?

User data is located in the /data/media/ folder

ADDITIONAL INFORMATION

/data/media/0 is needed to store TWRP settings and MTP operation. I set TW_INTERNAL_STORAGE_PATH to "/data/media" but this value is overwritten after decryption:(

Maybe I made the encryption work incorrectly. For some reason, ro.crypto.type differs: On Android: ro.crypto.type=block In TWRP: ro.crypto.type=file

/tmp/recovery.log: https://paste.debian.net/1250521/

adomerlee commented 2 years ago

Sorry, this fixed issue.