I have a Magisk rooted Samsung S5e with unlocked boot loader and Lineage 19.1 (lineage-19.1-20221114-nightly-gts4lvwifi-signed.zip), Android 12.
I have TWRP recovery (TWRP 3.7.0_9-0) and if I try to do a backup, I see only scrambled data on /sdcard
I did not set any PIN, though Security > Encryption and credentials is showing "Encrypted" (which cannot be changed).
Booted to TWRP Recovery - if Data selected to be backup up, it ends with "Backingup data (excl. storage)...
Backups of data do not include any files in internal storage such as pictures or downloads.
createTarFork() process ended with ERROR: 255
Backup Failed. Cleanning Backup Folder."
At droidwin I read, that I could flash "no-verity-opt-encrypt.zip" to permanently decrpyt data. I do not care for the security issue as my device will be kept at home.
But I am not sure, if this would cause issues with safetynet or if it even would break my device / installation.
What are the options if I want to be able to backup and restore Data via TWRP?
Thanks
Related
So I made a backup in TWRP and stupidly selected the "encrypt backup" button... now when i restore this backup the data partition takes 600+ seconds to restore and i boot into an empty ROM, like i had flashed the rom after a full wipe. no gapps either. any ideas?
Not stupid. However, we expected the feature to work, which it does not. I just encountered this with TWRP 2.8.5.0, so clearly this feature has not been tested.
I am trying to reinstall the original system and data onto my S5. I had Cyanogenmod on it, but before I installed CM12, I made a backup of {System, Boot, Data, Modem} as they existed with the stock system using TWRP.
I restored the partitions from my TWRP backup. Now when it boots, after the Samsung animation is shown, I am presented with a screen that says "Device memory damaged" (see attached image).
If I click the "Reset device" button, it boots into TWRP and attempts to clear some data. I assume it's not working because Samsung's stock recovery is supposed to do some magic that TWRP isn't capable of?
I have tried to clear the cache partition, and also tried to restore the data from backup more than once. The MD5 check on my backup files passes. Any ideas?
flash with correct pit and try to root, install cwm/twrp, restore your backup rom
I got it sorted out. I had to use Odin to flash the stock rom, which I downloaded from a questionable source online.
I have a One Plus 6t international version rooted through Magisk. I was debloating some One Plus system apps this morning and removed something I shouldn't have.... now the reboot gets stuck on the loading screen, then boots into TWRP recovery. I'm trying to restore from backup but everything is encrypted and TWRP isn't asking me for a password to decrypt.
I don't have a pin or anything set on the phone at the moment
Tried the twrp decrypt <pin> command with the default password but it just says 'Failed to decrypt data'.
Anything I'm missing here or do I just to reformat and give up on the encrypted data?
devianaviator said:
I have a One Plus 6t international version rooted through Magisk. I was debloating some One Plus system apps this morning and removed something I shouldn't have.... now the reboot gets stuck on the loading screen, then boots into TWRP recovery. I'm trying to restore from backup but everything is encrypted and TWRP isn't asking me for a password to decrypt.
I don't have a pin or anything set on the phone at the moment
Tried the twrp decrypt <pin> command with the default password but it just says 'Failed to decrypt data'.
Anything I'm missing here or do I just to reformat and give up on the encrypted data?
Click to expand...
Click to collapse
Managed to decrypt the files by installing a different version of TWRP: https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
Turns out I did not bother to do any backups...
Can copy all of the pictures and documents out though which was what I was primarily after.
Hello,
when I try to restore my TWRP backup of Lineage 17 on my Samsung Galaxy A5 2016 I run into the
extractTarFork() process ended with ERROR: 255​issue, and have tried several methods which I have found when googling for fixes, but none has worked so far.
This is what I've tried:
- unmount the data partition before restoring backup
- just restore system, data and boot, tick off the others
- wiped data/system/cache, flashed rom+gapps, flashed backup with all sections activated (radio, system, data,...)
- wiped data/system/cache, flashed rom+gapps, flashed backup with only restoring system, data+boot
- wiped data/system/cache, flashed rom+gapps, wiped dalvik/cache after, flashed backup w/ only restoring system, data+boot
- wiped data/system/cache, flashed rom+gapps, reboot, clicking next on every configuration screen, reboot to recovery, restore only data from backup
The issue seems to always occur at the same point in the process, in the progress bar its either at ca 45% or 58%, depending on if only data or everything is supposed to be restored. Restoring everything _BUT_ the data partition works, but the stuff I need to access is the data.
Kind regards
Hello,
I managed to fully restore the backup follwing this guide
Now my phone boots up to the point right after the Lineage logo is shown, where it says "starting the phone" and would probably ask for sim pin if I had a sim card in it. Then it reboots and does the whole thing again.
Does anyone have an idea how to fix this?
Kind regards
I'm getting enablefilecrypto_failed error after restoring nand backup in TWRP. Is there any solution? I know I can format data and install any ROM but I need some data from that backup.
How can I at least restore some data like sms, contacts from this backup? It seem Titanium Backup PRO cannot extract anything from it. I can't extract it with 7zip either (I read it somewhere it's probably TWRP's method of packing - f2fs.win000/win001/etc files, with matching sha2 files). Does it mean TWRP incorrectly encrypted this backup or is it incorrectly decrypting while restoring? I didn't get any error while backing up nor restoring (besides above, but that's after not while)
I'm also not sure if I had Magisk in this backup or not (maybe incorrectly uninstalled, which I tried to do apparently and lost device certification after and couldn't use gpay before said bootloop)
Failing to update Magisk was the reason that forced me to restore nandroid backup in the first place. But I'm getting above error even if I try to restore it from MIUI or any other lineageos.
you have backup, so copy it to PC, format data, install ROM and restore backup
My first sentence: "I'm getting enablefilecrypto_failed error after restoring nand backup in TWRP"
Solved it by uninstalling Magisk after restoring backup, even before first reboot