TWRP Backup with Magisk Root - Samsung Galaxy S7 Edge Questions and Answers

Hi, do somebody know a way to do a full NAndroid backup in TRWP.
I am using the last oreo UK (BTU), the Magisk Root is ok. I configured the phone, and now I want to do a backup, but the "data" partition is showning 0.
So the backup in TWRP is not useful at all.
I read that to Backup with TWRP I need to use SU, but I would like to keep using Magisk.
So is there a solution?

Related

Titanium Backup Compatibility Issue

Hi,
I am using XXU1BNL2 Android L, with TWRP 2.8.1.0 recovery and SuperSU 2.38. Titanium Backup unable to get the root privileges, any suggestions?

SM-G900F with TWRP 2.7.1.0 - Nandroid restore resulting in all apps force stopping

Hi experts,
I would very much appreciate some help regarding the following:
I have a Samsung Galaxy S5 SM-G900F with factory installed stock rom G900FXXU1BPA2 (Android 5.0). I used the SkipSoft Unified Android Toolkit 1.4.5 to root the phone and install TWRP recovery (2.7.1.0-klte as recommended by Unified Android Toolkit). I made a first Nandroid Backup and was able to successfully restore this backup (I restored boot, system and data to verify that Nandroid restore works). I then used Titanium Backup to restore my apps from another phone, and all was well.
A week or so later I wanted to modify something I wasn't sure I wanted to keep (using apktool). I therefore made a second Nandroid backup and then proceeded to make modifications to the phone. After I saw the result, I didn't like it, and therefore restored the second Nandroid backup. After rebooting, the phone gave a flurry of forced stops ("Unfortunately XXX has stopped"). It is not a bootloop but I can't do anything meaningful with the phone other than restart it.
To try and resolve this, I used TWRP to wipe cache and dalvik cache and rebooted. The phone went through the lengthy "Android is upgrading" process but the result was the same: all my apps force stop.
I then decided to try and restore the original first Nandroid backup (which I had been able to restore successfully earlier), and this resulted in the same issue. Since I have several backups of this first backup I was able to verify that the files were good. Also did MD5 checksum verification in TWRP and it all checked out.
Using Odin, I was able to restore a stock ROM from SamMobile (G900FXXU1BOL1_G900FOJK1BOL1_ILO) and after restart, the phone works as usual, but of course all my apps and data were gone.
I was then able to use TWRP to restore only boot and system from the second backup, so I would be back on the exact same ROM that my phone came with, and this worked just fine; the phone started as if factory restored.
I then used TWRP to restore only data, and this resulted again in the same problem: all apps force close. Note that this is a restore of data only to the same phone running the exact same ROM that the Nandroid backup was made on, and it still did not work.
I have been thinking about this issue and searching through the various forums but I did not find anyone having this same exact issue. Here are some questions I came up with:
1. Is TWRP 2.7.1.0 completely compatible with this phone and with Android 5.0? Would it help if I installed a newer version of TWRP? Would I be able to restore Nandroid backups made with TWRP 2.7.1.0 with TWRP 3.X?
2. Assuming my second Nandroid backup is not corrupt, is there a better (less intrusive) restore I can do of the apps? Can Titanium Backup read TWRP 2.7.1.0 backups and restore them, including SMS?
3. What could be the reason for TWRP 2.7.1.0 restore not to be working properly? I did activate the fingerprint reader after the first Nandroid Backup, but if that is the issue I would have expected that first backup (in which fingerprints were not yet enabled) to restore properly and it doesn't.
Would appreciate any help!
Thanks,
AH
That version of TWRP is pretty old, possible it doesn't fully support 5.0
Grab 3.0.0.0 from here (newer versions are not fully bug free yet)
https://dl.twrp.me/klte/
Flash .tar version with ODIN 3.10.7
TiBu can read Nandroid backups and restore apps yes
Not sure about SMS
The method you used to root and flash TWRP is not a usual method used here, most of us use ODIN to flash TWRP and then flash SuperSU from recovery
or use CF Auto Root to root, and then flash TWRP with ODIN
I'd flash stock again, factory reset, and then flash TWRP and SuperSU, then try restoring your apps with TiBu
*Detection* said:
That version of TWRP is pretty old, possible it doesn't fully support 5.0
Grab 3.0.0.0 from here (newer versions are not fully bug free yet)
dl.twrp.me/klte
Flash .tar version with ODIN 3.10.7
Click to expand...
Click to collapse
Thanks *Detection*! I installed TWRP 3.0.0.0 as per your instructions and restored just data. Same result as before.
Then I used TWRP 3.0.0.0 to restore the entire backup including system, boot, recovery, and data. Same result (of course I lost TWRP 3.0.0.0 and was back on TWRP 2.7.1.0).
This exercise was useful for one reason: I now know that TWRP 3.0.0.0 is able to read Nandroid backups from TWRP 2.7.1.0.
This is quite crazy but I seem to be unable to restore a full Nandroid backup and get a working system.
Am going to try Titanium Backup.
Thanks again!
AH

Backup existing Data after fresh install of TWRP before ROOT

Hello,
I have an S7Edge and looking to flash it. I am currently in Nougat 7.0 and would like to backup my data before proceeding with the root.
I have flashed the phone with TWRP but when following this tutorial: https://forum.xda-developers.com/s7...overy-official-twrp-hero2lte-3-0-0-0-t3334084
People say that you have to format the Data Partition in order to proceed with the installation of SuperSu and NO Dm verity.
Is there a way to backup my phone data [w or w/o TWRP] before ROOTING my phone with TWRP (format data partition to decrypt, install no dm verity and install super su)? This is so after my phone is rooted, I can restore all the apps, pictures, etc.
Thank you for the help! :fingers-crossed:
rods91 said:
Hello,
I have an S7Edge and looking to flash it. I am currently in Nougat 7.0 and would like to backup my data before proceeding with the root.
I have flashed the phone with TWRP but when following this tutorial: https://forum.xda-developers.com/s7...overy-official-twrp-hero2lte-3-0-0-0-t3334084
People say that you have to format the Data Partition in order to proceed with the installation of SuperSu and NO Dm verity.
Is there a way to backup my phone data [w or w/o TWRP] before ROOTING my phone with TWRP (format data partition to decrypt, install no dm verity and install super su)? This is so after my phone is rooted, I can restore all the apps, pictures, etc.
Thank you for the help! :fingers-crossed:
Click to expand...
Click to collapse
Dear All,
I would really appreciate if anyone could help me on the question above. Need to get my phone rooted but want to have it backed up first.
Thank you!
Same thread here https://forum.xda-developers.com/s7-edge/help/please-help-bought-7-edge-t3571403
Still no solution
smaberg said:
Same thread here https://forum.xda-developers.com/s7-edge/help/please-help-bought-7-edge-t3571403
Still no solution
Click to expand...
Click to collapse
Hi,
Thank your forwarding me to your thread. I think I figured out a way to fully back it up with the following steps:
1) If you are in Nougat, downgrade to 6.0.1
2) Root your phone by flashing CF-Auto-Root in Odin (it should not wipe any data)
3) Once phone is rooted, you can backup your phone with TitaniumBackup or Flashfire
4) Save the backup in your sd or other external
5) Update phone with official or custom Nougat FW
6) Root phone via custom recovery (TWRP), will have to format all your data
7) One phone fully booted up and rooted, restore from backup with TitaniumBackup or Flashfire
Let me know how it goes

Disable forced encryption - boot.img

Our MiA1 is fast, I know.. but can be faster (I think)
Does someone have an image with forced encryption disabled? December boot.img? I tried with "format data" option in twrp but I get bootloop and haven't tried with magisk
I also want boot image with forced encryption disabled.
Have you tried dm-no-verity.zip?
zeyaan said:
Have you tried dm-no-verity.zip?
Click to expand...
Click to collapse
No, I haven't tried that. I am running Oreo latest January patch rooted with Magisk.
Please guide me step by step:
how to disable forced encryption
Restore my Data with TWRP (I already have TWPR backup of Data).
Kindly also provide link of flashable zip.
I have tried the following steps to disable forced encryption with magisk but it didn't worked.
Factory Reset / Data wipe with TWRP
flashing of Magisk15.3.zip
Restoration of Data
Reboot
I think I can use latest zip from https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ but main issue is that I also want my Data back using TWRP. I don't want to backup and restore apps using Titanium Backup.
armujahid said:
No, I haven't tried that. I am running Oreo latest January patch rooted with Magisk.
Please guide me step by step:
how to disable forced encryption
Restore my Data with TWRP (I already have TWPR backup of Data).
Kindly also provide link of flashable zip.
I have tried the following steps to disable forced encryption with magisk but it didn't worked.
Factory Reset / Data wipe with TWRP
flashing of Magisk15.3.zip
Restoration of Data
Reboot
I think I can use latest zip from https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ but main issue is that I also want my Data back using TWRP. I don't want to backup and restore apps using Titanium Backup.
Click to expand...
Click to collapse
We gotta wait as the zips are device specific as per my understanding. Unless some builds it we have no option but wait.
Any news about this? I'm interested

Need help with TWRP backup

Hello!
After rooting and setting up everything I need, I wanted to make a full backup via TWRP.
Unfortunately it fails, as TWRP cannot create the necessary folder.
Also, I did not need to enter my pincode in order to use TWRP. That's not normal I suppose?
How can I get the backup working?
Thanks.
You might want to read through the twrp thread. https://forum.xda-developers.com/on...unofficial-twrp-touch-recovery-t3861482/page7
Thanks, that helped.

Categories

Resources