Twrp? - Moto G5S Plus Questions & Answers

How can I make a backup of the phones storage and partitions with twrp? I know how to use the recovery however the backup fails when it gets to the end..?

Related

[Q] Removing encryption

I am thinking of encrypting my HD+ (Settings>Security>Encrypt Tablet). As far as I can see this means simply that the /data partition will be encrypted and that CWM is afterwards not able to access this anymore (ie for backups or restores). I can do a complete backup by other means, but how would I be able to restore that?
Will the recovery still boot and will I then be able to format/wipe /data? Probably not because /data is not mounted!?
Also, what happens if I want to update the system, say to a newer version of CM?
So no one's ever tried to encrypt their HD/HD+?
I am still investigating this "problem" and it seems that quite a few people have run into trouble after encrypting their tablet (TWRP Recovery seems to support an encrypted /data partition but CWM doesn't... correct me if I'm wrong).
So here's a question for the Linux gurus: if I have booted an encrypted tablet and have opened a terminal window with full root access, will I be able to unmount and reformat the /data partition? After that I should be able to reboot into recovery and restore a backup.

[Q] TWRP crashing while doing backup of data partition

I'm currently using TWRP on my XT1063. I'm having weird problems regarding TWRP's access to the data partition. When I try to do a nandroid backup of the data partition, it gets 10-30% of the way through the backup then crashes and reboots to system.
I've successfully backed up the system partition to my external SD card, so it doesn't seem to be an SD card problem. I did TWRP fix permissions and it appears to have completed successfully. I'm not sure what is causing this nor how to solve it...
I think my next step will be to reinstall TWRP and try again. Failing that, I guess I'll switch to clockwork mod recovery, which I haven't used in a long time. Do you have any suggestions on things I could try before reinstalling recovery?

nandroid restore after filesystem changes

If I have a nandroid backup of cm11 and then went to try out cm12.1 which requires a bigger system partition, would all my partitions get destroyed?
If so, how do I restore the nandroid backup? Would I have to copy it off to a computer, get a rom that boots, copy it back, then boot into recovery to restore?

TWRP format/restore

After formatting data partition, I am unable to restore backed-up data directly as I get an error (255?). I have to always let the phone boot to the welcome setup screen before going back into TWRP to restore my backup.
Is there something I can do to avoid this lengthy step?
I found the same. It's almost as if twrp doesn't format correctly.
I typically use fastboot -w, flash, then boot into the ROM, then restore from backup.

TWRP Nandroid Backup and Restore with or without Root Status

Hi, I am new to this forum and also new to Rooting and Flashing.
Recently I rooted my Samsung Galaxy M20 device with Magisk after flashing TWRP Recovery with Odin.
Now I want to take a nandroid backup (full rom backup along with all system settings and apps data).
1. On Backup menu of TWRP, should I select only ''boot'', ''system'' , ''data'' or ''System Image'' along with these?
2. And as I am taking the backup after rooting, will the backup include root access? I mean if I restore the backup later, will then the rom be kept rooted?
3. Is there a way to backup rom with keeping root access for my device?
(I rooted the device by flashing magisk with TWRP. Before that I flashed a zip file ''disable dm verify''. I actually followed a youtube video.)
Maybe your best anwer is here .... official TWRP website.
A nandroid backup gives you back the exact status of the moment of backing up.
In your first backup, backup everything except recovery .... and place this on your external sd-card. Depending on your version of TWRP you might be able to backup a system image (and if so ... then this is your best choise) and if you don't see that choise then backup boot, system, and data . Be sure to have chosen the right and latest TWRP for your phone.
Keep in mind that not all data are backed up, especially not the data on your internal sd-card. (make a backup of them separately !)
Make sure that an external sd-card is added to your phone !

Categories

Resources