Hello, I have a few questions regarding the TWRP recovery particularly the NANDroid backups, please bear with me as I am new to this. I have made a few backups using twrp but I want to put them onto my pc in order to save space however when I plug my phone into my pc I don’t see the TWRP folder unless I boot into recovery and then plug it in. Is this how it is supposed to be?
I wanted to test out restoring a backup that I had saved onto my pc onto my device. To test this out I created a backup through TWRP booted into recovery plugged in my device into my computer copied the backup file located in the TWRP folder and then deleted it from my device. Next I wanted to copy the backup that I just put on my pc back onto my phone and then eventually restore it through TWRP. However I only get as far as copying it from my device onto my pc. When I try to copy it back into the TWRP folder on my device I get an error saying “cannot copy data.ext4.win000 its file size is larger than the device limit” The backup is 4.83gb and I have 10.7gb free. Does anyone know why this is happening?
Last question, seeing as a NanDroid backup is basically an image of your whole device, let’s say I am selling my device and I don’t want the buyer to have any way of accessing any of my data. Would the deletion of my backups, factory reset and an advanced wipe where I select all the partitions to be wiped be enough?
Thank you in advance for your help!
1 - no. You're on lollipop i presume. Read my /sdcard thread in general
2 - sounds like its being mounted as FAT with 4GB file limit. Try web push method
3 - not really. You'd be best overwriting the data partition with files first.
I have run into a problem, I was trying to install CM12 and besides factory reset I did format data in TWRP and and now internal memory was formated. I am not able to see any zip files of nandroid backup now. I had copied the nandroid backup to pc but phone's storage is neither shown in PC. What to do now.
If you can still boot in twrp use the adb sideload. Just seaech on youtube how to copy files by that.
My Mum's managed to mess up her tablet (seems to have reset it but not factory reset, as it's still encrypted, password protected, etc, just all her apps and even Apex Launcher have vanished) and the only recent backup I can find is a TWRP backup made with Online Nandroid Backup.
TWRP doesn't seem to recognise the files however, as it doesn't list any backups. I looked at the log and see that when pointed to the internal storage (which it can't mount as it's encrypted), it looks in /data/media/TWRP/ and I've recreated that structure on the microSD (where the backups are), giving me /data/media/TWRP/BACKUPS/0000000000000000/2015-04-05--07-14-50/
In that folder I have:
boot.emmc.win
cache.ext4.win
data.ext4.win
recovery.emmc.win
system.ext4.win
and .md5 files for each of those.
The .win files I can open with 7-zip, to show the files without that extension (e.g. data.ext4).
If anyone could help me restore this backup I (and more importantly my Mum) would be very grateful!
I tried installing Nandroid Manager and ES File Explorer and both failed, so something's clearly messed up. SU 2.46 is installed and I checked root with Root Checker and updated Busybox.
OK, I found a good tip to make a new backup (I just ticked boot to make it quick) and check where TWRP puts it. It turned out to be /micro_sd/TWRP/BACKUPS/Lenovo_A5500-HV/
So I moved my existing backup folder there, formatted /data to remove the encryption and then I was able to restore the backup. Now the tablet's stuck in a boot loop though and I can't even boot into recovery, so I'll have to start from scratch and then try and restore just /system and /data.
I keep trying to do backups but it gets about half way through and the error 255. I don't understand what I'm doing wrong. Is it not possible to backup through twrp on xt1955-5. If not any suggestions on other means. Something that would include my accounts as well would be great. I have an google acct that google refuses to give back. Be cause they say can't verify. I know password but 2sv got messed up. Which is a bunch of bs. They track everything. I would prefer to never have to go through this again. Any help would be great.
First question. What all are you trying to backup? Second, to where? Third, do you have adequate space for said backup?
Also, if you have a pin or code enabled for access to the device I would disable it for the backup process.
I'm trying to back up system and data only to my ext sd with 50g avail but only needing 12g
Pbsipher1 said:
I'm trying to back up system and data only to my ext sd with 50g avail but only needing 12g
Click to expand...
Click to collapse
I was able to use TWRP to create a backup on an SD card. I'm running Android 10 and rom RR.
You might try other avenues like titanium or migrate. A quick internet search might lead you to a better procedure and app.
I've been having the same trouble. I just restored my XT1955-5 to stock RETAIL. Then installed TWRP and Magisk. I set my phone up as I like it, and want to back it up - everything I can possibly backup - boot, data, system, system image, efs, persist1, persist2, fsg, vendor, vendor image, dsp, and boot logo.
Before I tried to backup anything, I made sure that I mounted all of the partitions in TWRP.
The first few times I tried to back them all up at once, I got the error 255. So I started backing up the partitions one by one. The only partition that would NOT backup was the data partition. I still get the error 255 on the data partition backup. But all the others worked fine. I even went back and selected all the partitions except the data partition, and it backed up in one large backup just fine. So I don't know what the deal is with the data partition, but I can grab it with adb pull, so I guess I'm good to go.
I even booted back into the system and turned off the screen lock PIN - changed it to none. But I still couldn't backup the data partition via TWRP.
This should work for you from adb to backup your data partition:
Code:
adb push mmcblk0p64-data.img /dev/block/mmcblk0p64
Thanks tom2112 I'll give it a try what can it hurt. I also heard u have to be decrypted in order to backup data but can't seem to get decryption to stick
i was no able to backup using that command got
adb: error: stat failed when trying to push to /dev/block/mmcblk0p64: permission deni
Tom2112 said:
I've been having the same trouble. I just restored my XT1955-5 to stock RETAIL. Then installed TWRP and Magisk. I set my phone up as I like it, and want to back it up - everything I can possibly backup - boot, data, system, system image, efs, persist1, persist2, fsg, vendor, vendor image, dsp, and boot logo.
Before I tried to backup anything, I made sure that I mounted all of the partitions in TWRP.
The first few times I tried to back them all up at once, I got the error 255. So I started backing up the partitions one by one. The only partition that would NOT backup was the data partition. I still get the error 255 on the data partition backup. But all the others worked fine. I even went back and selected all the partitions except the data partition, and it backed up in one large backup just fine. So I don't know what the deal is with the data partition, but I can grab it with adb pull, so I guess I'm good to go.
I even booted back into the system and turned off the screen lock PIN - changed it to none. But I still couldn't backup the data partition via TWRP.
This should work for you from adb to backup your data partition:
Code:
adb push mmcblk0p64-data.img /dev/block/mmcblk0p64
Click to expand...
Click to collapse
ed
Hmm... if it is "permission denied" that sounds like you need root permissions to back it up. I'm sorry, but I'm not good enough with ADB to tell you how to get higher privs. Maybe ADB SHELL then SU, but I don't honestly know.
Dear all,
I wonder whether you have solutions to restore old TWRP backups (by old, I mean, of different security patch level). I failed to do it on my Mix 2S device. After restoration, the system simply fails to boot.
First backup everything on your phone to external storage (computer or usb drive).
Try wiping everything including data partition (the one where you have to type YES to format). Then reboot to recovery and format everything but data partition. If backup is on usb drive restore from it. If backup is on computer then copy it to phone and restore. If that doesn't work try installing the full rom and if it boots restore backup.
I find this new Android feature quite annoying, in fact. Previously, a restoration only costs me a bunch of minutes, but now, in order to format `/data` etc, I need to do it for at least several hours.