TWRP can't see any partitions on restore - Galaxy S 5 Q&A, Help & Troubleshooting

Hello
I have to restore a backup. TWRP sees the folder. When I select it and want to restore, TWRP says no partition selected. Can I do something? Or is it hopeless?
Edit: I got it right. Just trunsfered the Backup files once again from my PC to the phone. ....

XtraWater said:
Hello
I have to restore a backup. TWRP sees the folder. When I select it and want to restore, TWRP says no partition selected. Can I do something? Or is it hopeless?
Edit: I got it right. Just trunsfered the Backup files once again from my PC to the phone. ....
Click to expand...
Click to collapse
In my case, there was just not enough free space on the internal memory. All good now.

Related

How to copy TWRP backup from PC to tablet while in TWRP?

Hi I need help, I want to copy a TWRP nandroid I have from my PC into my nexus tablet data sdcard to restore a backup. Accidently messed up my build.prop file. So want to restore nandroid but my backups are on my PC. How do I copy them over while in TWRP recovery? Thanks!
Syk69 said:
Hi I need help, I want to copy a TWRP nandroid I have from my PC into my nexus tablet data sdcard to restore a backup. Accidently messed up my build.prop file. So want to restore nandroid but my backups are on my PC. How do I copy them over while in TWRP recovery? Thanks!
Click to expand...
Click to collapse
If you have a microOTG cable and an SD key/reader. TWRP supports reading storage from a "usb-otg" source. If I can remember you need to turn that option on in the TWRP file mananger settings. It was not too hard to find.
Try copying the TWRP backup from the PC to the SD. Then attaching the microOTG cable, SD key/reader to the N10. Boot into TWRP recovery and do a restore from the "usb-otg" directory. Scroll down to the bottom of the directory list and you should see "usb-otg". Select it and select your backup.
Under mounts and storage there should be a Mount SD card and you can connect you tablet to the computer Mount it and copy them over
Sent from my Xperia Play (r800x)

[Solved] How can I delete my nandroid backups? I have no nandroid folder

Hi everybody, I was about to install a new rom, and I made a nandroid backup, when the progress bar had almost reached the end, it gave me an error, so I decided to leave flash for another moment, but when I turned on the phone, the internal memory appeared full, 0 bytes free. I guess it is occuped by the backup that cwm has been able to do until the error occurred (which surely have been because of the space). So, could you tell me please, where does the backup get saved, to be able to delete it?? seriously urgent as I have not even one byte free ....
PS: I've read that should be in a folder called ClockworkMod and inside, in a folder named backup, but I havent got that folder. Also I've noticed that the /data folder of the root directory occupies 10Gb, so I guess this could be the folder, as in internal memory I have only 3Gb, the problem is that I do not know which folders and files can be deleted from there, and what must be in that folder.
Thanks in advance!
Delete them from recovery
carmeloseven said:
Delete them from recovery
Click to expand...
Click to collapse
Thanks!! That was the solution. I entered recovery and in backup/restore y chose delete, then I pressed in the only option I had and that's all. Now I have 5Gb free!! Thank you very much!

TWRP Format Data

Hi all sorry for asking a dumb question, but would "format data" button inside TWRP's Wipe section (the button above factory reset) also delete a TWRP backup?
the_hatrix said:
Hi all sorry for asking a dumb question, but would "format data" button inside TWRP's Wipe section (the button above factory reset) also delete a TWRP backup?
Click to expand...
Click to collapse
If your twrp backup in microsd card then it will not delete.
"Format data" will delete ( system/data/cache/dalvic cache/internal storage)
If you are planning to clean your device to install new clean rom then Make a backup of current rom and all your data in microsd card/usb drive before you do this.
So if the backup was in the internal sd it would have been deleted then right?
the_hatrix said:
So if the backup was in the internal sd it would have been deleted then right?
Click to expand...
Click to collapse
Yes it will be deleted
Go to my files and copy entire TWRP folder from internal storage to microsd card if you need your backup.
Thanks!
Format data
Trex888 said:
If your twrp backup in microsd card then it will not delete.
"Format data" will delete ( system/data/cache/dalvic cache/internal storage)
If you are planning to clean your device to install new clean rom then Make a backup of current rom and all your data in microsd card/usb drive before you do this.
Click to expand...
Click to collapse
Hi, please can I recover files from internal sd after Format data ? I wanted to root my phone to recover files with disk digger and I followed a thread including Format data to root android phone and now I'm trying to recover all my lost files. If you have any advise please let me know if I have a chance .
Thank you !
infostar said:
Hi, please can I recover files from internal sd after Format data ? I wanted to root my phone to recover files with disk digger and I followed a thread including Format data to root android phone and now I'm trying to recover all my lost files. If you have any advise please let me know if I have a chance .
Thank you !
Click to expand...
Click to collapse
After FORMAT DATA there is nothing there to recover.
Everything has gone, sorry.
Only if you had made a TWRP backup, stored in the external sdcard, then you could restore it and get your DATA files back.
But in that case also, your personal files(pictures, music etc) are not included in this back up.
Only APPS data, meaning files that make apps working, are restored this way.
ALL your personal data, are stored in the internal storage.
If you have performed a DATA format, nothing is there anymore.
infostar said:
Format data
Hi, please can I recover files from internal sd after Format data ? I wanted to root my phone to recover files with disk digger and I followed a thread including Format data to root android phone and now I'm trying to recover all my lost files. If you have any advise please let me know if I have a chance .
Thank you !
Click to expand...
Click to collapse
So you can recover data if it was not overwritten, even if it was deleted. You can use special software.
Which options do we need to select to backup existing ROM? And to do a recover in case of device failure.
Boot? System? System Image? Vendor? Vendor Image?
Maybe a dumb question but: If you format data, can you boot in current rom?
Treeager said:
Maybe a dumb question but: If you format data, can you boot in current rom?
Click to expand...
Click to collapse
No, you can't lol. Format data wipes everything on the storage of the device. You better install a rom after wiping everything or you will get stuck in bootloader / bootloops.
In some a/b slot devices, if you don't have a rom installed, your custom recovery is also wiped because it usually resides on the boot.img.

LG G2, TWRP 2.8.6.1, Restoring data partion failed

Hello everyone,
I encounter a problem when trying to restore backup in TWRP. All md5 checksums are successfully verified, backup restores "Boot" and "System" partitions, then proceeds to "Restoring Data". After about 85% the process stops, and "Restore Complete Failed" message appears. The phone reboots OK but all data is missing. Essentially, that's like a fresh install: the basic setup has to performed. All apps are there but all settings are gone.
I see that people have similar problems but unfortunately I could not find a solution how to restore data partition. Is there a way to successfully restore data? What is causing the problem?
Here is just a bit more info about the device:
1. Rooted LG G2 D801 (lollipop, Android version 5.0.2)
2. Custom recovery TWRP 2.8.6.1 installed with AutoRec.
3. After rooting and installing the device was fully functional.
4. The initial backup was done in TWRP. The process completed successfully with no warning or errors.
Hope someone could help. Thanks.
Try to update TWRP to 3.0.2-1 and check will it help. Also... do you have enough of free space on your device? TWRP zip backups so it need to have a place to unzip it.
Try to update TWRP to 3.0.2-1 and check will it help.
Click to expand...
Click to collapse
Where do you get TWRP 3.0.2-1 for LG G2? The TWRP website says that LG G2 is no longer updated and the latest version for D801 is 2.8.6.0.
Also... do you have enough of free space on your device? TWRP zip backups so it need to have a place to unzip it.
Click to expand...
Click to collapse
That might be the issue.
I was trying many different ways to restore the data partition. The only way I was able to successfully do it if I wiped or formatted the internal storage (/data/media) in addition to TWRP defaults (data and cache; TWRP excludes /data/media). Somehow, the internal storage interferes with the restore process. I had to backup the internal storage separately to my computer before all the wipes.
The cause might be insufficient disk space (there is less than 1GB available). However, TWRP backups are uncompressed and kept on external storage via USB-OTG. The backups for data, cache and system seem to be regular TAR archives:
Code:
$ file data.ext4.win000 cache.ext4.win system.ext4.win000
data.ext4.win000: POSIX tar archive (GNU)
cache.ext4.win: POSIX tar archive (GNU)
system.ext4.win000: POSIX tar archive (GNU)
One would think the data is directly extracted from TAR archives to the data partition. Even with compressed TAR archives, decompression can be be done "on the fly" (eg. tar xzvf) without decompressing to disk first.
Not sure what exactly happens. The restore sort of works now (I do have to backup internal storage prior to this, which is a big inconvenience). I should have examined recovery.log after failed restore.
sakej said:
Also... do you have enough of free space on your device? TWRP zip backups so it need to have a place to unzip it.
Click to expand...
Click to collapse
Just did few more experiments and insufficient disk space is certainly the issue. This time I did nothing to the internal storage (/data/media). I have two backups: a larger one (includes an initial state of the device) and a smaller one (in which a lot of pre-installed LG G2 stuff was purged from the device). The larger backup consistently fails, the smaller one works like a charm. Of course, it would be great to know in advance whether the backup is going to fail during restore
Thanks for the help!
I've had bad backups in the past, despite completing successfuly.
ursus107 said:
Where do you get TWRP 3.0.2-1 for LG G2?
Click to expand...
Click to collapse
You will find it here on XDA
https://forum.xda-developers.com/lg-g2/development/twrp-twrp-2-8-0-0-kernel-f2fs-tools-t2898705
But if you using it, KEEP IN MIND THAT: https://forum.xda-developers.com/showpost.php?p=70091412&postcount=9
ursus107 said:
One would think the data is directly extracted from TAR archives to the data partition. Even with compressed TAR archives, decompression can be be done "on the fly" (eg. tar xzvf) without decompressing to disk first.
Click to expand...
Click to collapse
It's more the case of how recovery works I think, it cannot directly override files from backup in case if anything went wrong, so rollback is possible.
Turbine1991 said:
I've had bad backups in the past, despite completing successfuly.
Click to expand...
Click to collapse
Restoring from the larger backup only fails if I do not wipe '/data' entirely (including '/data/media'). Otherwise, everything completes successfully. So it has something to do with the available disk space.

Stock Oreo backup file ddmmyy on my pc...how to restore it?

Ihave taken Oreo backup after bootloader unlock..and I copied it in my pc too... unfortunately I formatted data from internal storage...how to restore that backup which I have backup in pc...I copied it in internal but it does not showing there... please help me...
[email protected] said:
Ihave taken Oreo backup after bootloader unlock..and I copied it in my pc too... unfortunately I formatted data from internal storage...how to restore that backup which I have backup in pc...I copied it in internal but it does not showing there... please help me...
Click to expand...
Click to collapse
A TWRP backup? Put it on the root of an SD card, insert it in the phone, start TWRP and restore from the SD card.
Actually I just dragged it in to the pc...now though it have quite 1 or 2gb size...it is showing empty...I think I forgot to follow ADB fastboot pull push command..if still possible to restore then it would be great...
[email protected] said:
Actually I just dragged it in to the pc...now though it have quite 1 or 2gb size...it is showing empty...I think I forgot to follow ADB fastboot pull push command..if still possible to restore then it would be great...
Click to expand...
Click to collapse
Sorry, I have no idea what you are saying...
If you backed up your TWRP directory (XXX storage/TWRP/BACKUP), copy it back to the "new" TWRP directory on the device... it is not a single file, you need the whole backup directory for your device to restore.
When I took backup of boot efs persist...then I copied it in my pc...and formatted Moto g5 plus...but now since I have that backup file in pc I copied it in mobile ..then I tried to restore but it is not showing there... although it has stock persist boot efs inside that file...my question is how can I restore it...
[email protected] said:
When I took backup of boot efs persist...then I copied it in my pc...and formatted Moto g5 plus...but now since I have that backup file in pc I copied it in mobile ..then I tried to restore but it is not showing there... although it has stock persist boot efs inside that file...my question is how can I restore it...
Click to expand...
Click to collapse
You have to put it back in the TWRP/BACKUP folder

Categories

Resources