android_device_oneplus_instantnoodle_TWRP icon indicating copy to clipboard operation
android_device_oneplus_instantnoodle_TWRP copied to clipboard

createTarFork() process ended with ERROR: 255 when trying to back up data with multiple users

Open lhriley opened this issue 4 years ago • 0 comments

Note: This problem is most likely due to a desync in the https://github.com/mauronofrio/android_bootable_recovery/ fork versus the latest commits posted in https://gerrit.twrp.me/q/project:android_bootable_recovery, rather than a problem in this repo. However, there's no way to create issues in the forked repo itself.

This issue (https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1373) is still present, even though it appears that it has been addressed at least partially:

From https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1373#issuecomment-658774745:

TWRP 3.4.0 is able to decrypt secondary user accounts (including work profiles), yes. However, that is dependent on knowing what the password is for such profiles, and we've seen a few cases where those profiles were created by a specific application and won't decrypt automatically. The option to decrypt additional users is under Advanced -> Decrypt Users, but if the password for the work profile is unknown, it will still be unable to properly backup and restore.

and https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1373#issuecomment-661645842:

https://gerrit.twrp.me/c/android_bootable_recovery/+/2698 will at least warn the user upon doing backups and restores if they have undecrypted users.

Next I'll look into actually ignoring certain files/directories based on what is and isn't decrypted. Due to many differences between devices however, a general warning seems necessary.

I have looked for this option Advanced -> Decrypt Users, but it does not exist in the latest build pinned in https://forum.xda-developers.com/oneplus-8/oneplus-8--8-pro-cross-device-development/recovery-unofficial-twrp-oneplus-8-pro-t4101313

I'm also unclear as to what branch of https://github.com/mauronofrio/android_bootable_recovery/ the prebuilt images are based on as I'm unfamiliar with the build process for this project. The default branch android-9.0-new appears to be last updated as of https://github.com/mauronofrio/android_bootable_recovery/commit/27013a4227c305ca1815dfa045b91a83042e162c whereas the android-10.0-new is a few days behind in commits with a test commit at the head https://github.com/mauronofrio/android_bootable_recovery/commit/1a5e6ef8f8f91b5c190aba071652ba34e626147b.

The gerrit project has recent commits in the last few days: https://gerrit.twrp.me/q/project:android_bootable_recovery

Version: TWRP 3.4.0-14 by mauronofrio

lhriley avatar Oct 10 '20 21:10 lhriley