Development [REALME 8][RMX3085][TWRP]

Search This thread

xenosaur

New member
Nov 13, 2021
2
0
Hi. It seems that TWRP fails to backup /data, because of nandswap enabled and encrypted:
Code:
I:addFile '/data/nandswap' including root: 1
  ==> set selinux context: u:object_r:nandswap_file:s0
failed to lookup fscrypt tar policy for '/data/nandswap' - '3d9f7b4084c105e2afa6e9a9af04e6fd'
I:Closing tar
Splitting thread ID 0 into archive 3
I:addFile '/data/nandswap/3Fy90AAAAAwc5BNpDpQ7xnnx+IGdDnxz' including root: 1
  ==> set selinux context: u:object_r:nandswap_file:s0
I:Error adding file '/data/nandswap/3Fy90AAAAAwc5BNpDpQ7xnnx+IGdDnxz' to '/TWRP/BACKUPS/data.f2fs.win002'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/TWRP/BACKUPS/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
Please, exclude nandswap from backup or properly mount it (with encryption support).
 

Skyhuppa

Senior Member
Sep 17, 2016
81
27
skyhuppa.wordpress.com
Hi. It seems that TWRP fails to backup /data, because of nandswap enabled and encrypted:
Code:
I:addFile '/data/nandswap' including root: 1
  ==> set selinux context: u:object_r:nandswap_file:s0
failed to lookup fscrypt tar policy for '/data/nandswap' - '3d9f7b4084c105e2afa6e9a9af04e6fd'
I:Closing tar
Splitting thread ID 0 into archive 3[SPOILER="https://mega.nz/file/qBYxSKrC#_wIuk2Zgy08co64Xl20i0EfkElaBR1mYreoqYx__UEI"][/SPOILER]
I:addFile '/data/nandswap/3Fy90AAAAAwc5BNpDpQ7xnnx+IGdDnxz' including root: 1
  ==> set selinux context: u:object_r:nandswap_file:s0
I:Error adding file '/data/nandswap/3Fy90AAAAAwc5BNpDpQ7xnnx+IGdDnxz' to '/TWRP/BACKUPS/data.f2fs.win002'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/TWRP/BACKUPS/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
Please, exclude nandswap from backup or properly mount it (with encryption support).
Try this build let see how it solve your problem.
After flash check otg, sdcard functionality


 
Last edited:

Skyhuppa

Senior Member
Sep 17, 2016
81
27
skyhuppa.wordpress.com
Unfortunately, newer version is unable to decrypt /data at all: it do not ask for password at the start and fails to decrypt if mounting /data by hand.
Yea, this is a test build so it failed. Revert back to the original build.

This nandswap file is not included in build.

Follow this
Do you see nandswap file or folder? If really is empty you can delete it by using this method;

In TWRP, go to "Advanced" menu => "Terminal" =>
Type:
rm /data/nandswap -Rf
 

AE_Fahim

Member
Jan 19, 2018
15
4
Last edited:

Top Liked Posts