No backups in twrp - Verizon LG G3

I have my original g3 backup and a CM12 backup, both on my SD(which twrp can read) but when I selected restore from external SD, nothing shows up.

Use the file manager option in twrp to see /sdcard/0
I had an issue where a rom i flashed kept moving my storage contents into more another 0/ folder so I ended up with /sdcard/0/0/0/0/allmyfiles
If you are comfortable with the linux commands you can mv the twrp folder back to /sdcard/0/twrp or I think the built in file manager will let you long press and move a folder.

Not sure if this is your issue, but I had problems on the 2.8.1 build of TWRP on another device. Apparently it has problems with external sd cards that are formatted as exfat. The backup will succeed, but will be deleted later. Downgrading to the 2.7.1 build fixed it. Again, this was on a different device, but might be the same issue here.

Related

[Q] How to Pull entire Folder with ADB

I am using Android SDK Manager Revision 22.2.1 with my Samsung Galaxy S3 GT-I9300 International which is running a leaked copy of the Official Samsung 4.2.2 Stock Jellybean ROM dated 24th June 2013. It is rooted.
I wish to copy my entire TWRP backup folder to my PC and in preparation I read several threads which purport to explain how to do it but I only succeed in copying 16Mb worth of .md5 and .win files out of a backup folder which is 2.56Gb in size.
All folders in the TWRP folder are readable, writable and not hidden.
I have used the commands adb pull/sdcard/TWRP/ D:\111. I also tried adb pull/sdcard/TWRP D:\111.
The best I have got so far is to copy BACKUPS/4df1bd936aae7f4b/Leaked_Samsung_4.2.2_stock-15.10.13 which contains the following files:
boot.emmc.win
boot.emmc.win.md5
cache.ext4.win.md5
data.ext4.win000.md5
data.ext4.win001.md5
recovery.log
recovery.emmc.win
recovery.emmc.win.md5
system.ext4.win.md5
There are four missing files including the following large files.
data.ext4.win000
data.ext4.win001
system.ext4.win
Admittedly I am not a developer and am new to ADB so I am presumably doing something wrong.
Can anyone assist please.
If you are wondering why I wish to do this I have twice tried to flash Cyanogenmod 10.1.3 Stable version to my phone but get errors both times. I thought it may help to format my phone but before doing that I want to copy the backup of my ROM so that I can recver back to stock if CM still causes problems.
Simple method would be to make backup to ext sd card or even int sd card .
Then via USB windows explorer copy and paste .
Although I have selected the "Use External Storage" option in ROM manager, it still does not allow me to choose the backup location and gives only the option to save the backup to the sdcard.
I also have TWRP recovery so I will boot into Recovery and see if that gives me the option to backup to my external sdcard which is my preferred option anyway.
matrixmainframe said:
Although I have selected the "Use External Storage" option in ROM manager, it still does not allow me to choose the backup location and gives only the option to save the backup to the sdcard.
I also have TWRP recovery so I will boot into Recovery and see if that gives me the option to backup to my external sdcard which is my preferred option anyway.
Click to expand...
Click to collapse
Thank you JJEgan! I have found an option in TWRP Recovery to save my ROM backup to my external MicroSDCard which is what I needed.
thanks again.

[Q] How to copy SD files from TWRP or fastboot to desktop

Hi guys,
I need your guys' help. Somehow I messed up my installation (Play store crashing, can't see SD card directory in the files browser etc.).
Goal:
All I want to do right now is to copy my SD card files from my N5 to my desktop (Mac) so I have all the settings and backups and then wipe the whole phone and start fresh, subsequently restoring app and settings.
I can see my SD card directory within the TWRP file manager, also my Nandroid backup, which I tried restoring (I don't know if you have to wipe anything before doing so), but after well over an hour turned the device off.
I read somewhere that there is a pull function to copy files from phone to desktop (see here: http://stackoverflow.com/questions/17629889/android-adb-pull-file-on-desktop). So I tried adb pull sdcard/ /Users/myusername/Desktop/android but it says "command not found"
Question:
What am I doing wrong and how do I copy the important stuff over?
Note: I have a N5 with TWRP custom recovery, unlocked bootloader.

CWM: Can't find restore folder

Never had this issue before in the past 4 year I've used Clockworkmod but basically I have my backup folder on my external SD and whenever I try to restore a backup via the backup and restore menu in recovery I get an error saying there are none to be found.
Been googling for the past hour with no luck and it's now 3:05am and I'm just about ready to launch my device out the window.
Any help is appreciated.
Thanks.
If we're assuming the SD card is functioning properly and in the correct format that CWM supports, then either your version of CWM doesn't support restoring from external, you have to manually choose restore from the external, or the naming structure is messed up. Have you just tried moving it to internal just long enough to see if the backup is working and then move it back?

[Q] htc one m8 - Please help restore stock Nandroid backup

Hello experts, I am a completely newbie. I just bought the HTC One m8, and I managed to install twrp, I then watched a video from youtube which showed me how to back up my stock ROM into the *internal* unit using twrp. The video did not mentioned I have to copy the file to the micro SD card first. The video continues to wipe the internal drive, and then do a restore (from the sd card). Unfortunately, when I do the same, wipe the internal drive, and then try to do a restore, only to find that the image is no where to be found in the internal drive. I didnot have a backup in the sd card. I try to look for the image file in the internal drive and I couldn't find the backup file. I came to this site and from the "collection of stock backups" thread and downloaded the nandroid backup for my HTC One m8 which is the "CID BS_US001". I then use my PC to copy this 2.22.1540.4.zip file into my sd card, put the sd card into the HTC unit and go into recovery mode in the twrp (down volume and power), and try to do a restore via the restore button, but it does not work. I don't know exactly the procedures I need to take to restore this stock ROM back to my phone. I want to thank you for providing this file, and I hope the experts here will not find my question a nuisance. I really needed help, I try to take the unit to a shop and they couldn't help. I now have the backup image file downloaded from collection of stock backups. I know the answer is pretty easy, please help. Thanks.
Clipper52a said:
Hello experts, I am a completely newbie. I just bought the HTC One m8, and I managed to install twrp, I then watched a video from youtube which showed me how to back up my stock ROM into the *internal* unit using twrp. The video did not mentioned I have to copy the file to the micro SD card first. The video continues to wipe the internal drive, and then do a restore (from the sd card). Unfortunately, when I do the same, wipe the internal drive, and then try to do a restore, only to find that the image is no where to be found in the internal drive. I didnot have a backup in the sd card. I try to look for the image file in the internal drive and I couldn't find the backup file. I came to this site and from the "collection of stock backups" thread and downloaded the nandroid backup for my HTC One m8 which is the "CID BS_US001". I then use my PC to copy this 2.22.1540.4.zip file into my sd card, put the sd card into the HTC unit and go into recovery mode in the twrp (down volume and power), and try to do a restore via the restore button, but it does not work. I don't know exactly the procedures I need to take to restore this stock ROM back to my phone. I want to thank you for providing this file, and I hope the experts here will not find my question a nuisance. I really needed help, I try to take the unit to a shop and they couldn't help. I now have the backup image file downloaded from collection of stock backups. I know the answer is pretty easy, please help. Thanks.
Click to expand...
Click to collapse
What part of it doesn't work? Can you not find the file? Does it give an error message? Info like that will be very helpful for us to help you.
Thank you es0tericcha0s, I put the 2.22.1540.4.zip file in the sd card. This is the nandroid zip file I downloaded in COLLECTION of Stock backup's for my HTC One m8 model. I did not use the linux adb command to push the file into the sd card, I just just Windows 7's file copy method to copy the zip file to the card. I supposed this means the same thing. I use twrp recovery method, and have already installed the twrp tool into my HTC, the HTC is *unlocked* but I am not sure if it is rooted as well. I booted the HTC by pressing the down volume button and the power button, I went into recovery mode. When I clicked the restore icon in the twrp menu, the internal storage is empty, there is a message that saids internal storage (25404 mb) at the top, I supposed that can't be my original backup nandroid file (too small), the nandroid file downloaded in COLLECTION of Stock backup is located in my sd card (the zip file). I don't know how to find the zip file in the sd card (what button combinations to press etc). There are 3 buttons in the bottom of the restore screen, the middle button when pressed, bring me into the screen that saids in the bottom updating partition details .... Full SELinus support is present (without the usb cable hooking to the PC).
So to summarized, my questions are:
1). does the 2.22.1540.4.zip file in my sd card is all I need for the backup image, do I need to unzip the file first and then change a few things, renaming boot.emmc.win to boot.img, etc.
2). how to get to the sd card to select this file to do a full restore.
3). Does the file 2.22.1540.4.zip found in COLLECTION of Stock backup truly is a saved file to restore, i.e., the actual original backup file. It seems big, at 1.5 gb.
Thank you for any help.
Clipper52a said:
Thank you es0tericcha0s, I put the 2.22.1540.4.zip file in the sd card. This is the nandroid zip file I downloaded in COLLECTION of Stock backup's for my HTC One m8 model. I did not use the linux adb command to push the file into the sd card, I just just Windows 7's file copy method to copy the zip file to the card. I supposed this means the same thing. I use twrp recovery method, and have already installed the twrp tool into my HTC, the HTC is *unlocked* but I am not sure if it is rooted as well. I booted the HTC by pressing the down volume button and the power button, I went into recovery mode. When I clicked the restore icon in the twrp menu, the internal storage is empty, there is a message that saids internal storage (25404 mb) at the top, I supposed that can't be my original backup nandroid file (too small), the nandroid file downloaded in COLLECTION of Stock backup is located in my sd card (the zip file). I don't know how to find the zip file in the sd card (what button combinations to press etc). There are 3 buttons in the bottom of the restore screen, the middle button when pressed, bring me into the screen that saids in the bottom updating partition details .... Full SELinus support is present (without the usb cable hooking to the PC).
So to summarized, my questions are:
1). does the 2.22.1540.4.zip file in my sd card is all I need for the backup image, do I need to unzip the file first and then change a few things, renaming boot.emmc.win to boot.img, etc.
2). how to get to the sd card to select this file to do a full restore.
3). Does the file 2.22.1540.4.zip found in COLLECTION of Stock backup truly is a saved file to restore, i.e., the actual original backup file. It seems big, at 1.5 gb.
Thank you for any help.
Click to expand...
Click to collapse
Ok, now I see where you are at. This should be easier than you think. So here's what you'll want to do:
Reboot to TWRP
Go to Backup ( I know, counterintuitive, but stay with me...)
Backup just the boot.img (This is to create the correct backup folder name/layout)
Unzip the nandroid zip and move all the .img and other files into the TWRP backup folder that has the boot.img that you backed up in it - just overwrite the boot.img you have there
Now go to Restore and you should see your option there now.
Your version of TWRP most likely has a file manager (under Advanced) and you should be able to unzip and move the necessary files all within TWRP. Make sure to pay attention to which storage option you are in if you have internal and external storage options.
If the restore is successful and the phone still does not boot, then return to recovery and perform a reset. If it still does not boot after that, then you'll need to copy the boot.img to a PC and use fastboot to install that.
Thank you es0tericcha0s
Thank you es0tericcha0s,
Based on your response, I am now able to do a full restore of the HTC One m8 stock ROM. What I did was to unzip the Nandroid backup file first and then copied the whole unzip directory into the twrp/backup folder, I then just do a normal restore from the twrp recovery menu, and it worked beautifully. Thanks again.
es0tericcha0s said:
Ok, now I see where you are at. This should be easier than you think. So here's what you'll want to do:
Reboot to TWRP
Go to Backup ( I know, counterintuitive, but stay with me...)
Backup just the boot.img (This is to create the correct backup folder name/layout)
Unzip the nandroid zip and move all the .img and other files into the TWRP backup folder that has the boot.img that you backed up in it - just overwrite the boot.img you have there
Now go to Restore and you should see your option there now.
Your version of TWRP most likely has a file manager (under Advanced) and you should be able to unzip and move the necessary files all within TWRP. Make sure to pay attention to which storage option you are in if you have internal and external storage options.
If the restore is successful and the phone still does not boot, then return to recovery and perform a reset. If it still does not boot after that, then you'll need to copy the boot.img to a PC and use fastboot to install that.
Click to expand...
Click to collapse
Clipper52a said:
Thank you es0tericcha0s,
Based on your response, I am now able to do a full restore of the HTC One m8 stock ROM. What I did was to unzip the Nandroid backup file first and then copied the whole unzip directory into the twrp/backup folder, I then just do a normal restore from the twrp recovery menu, and it worked beautifully. Thanks again.
Click to expand...
Click to collapse
:good::highfive::victory:

stuck in philz recovery.

so I wanted to try cm12. I did a nandroid of my current rom with twrp. I used flashify to install philz recovery. Here's where I went wrong, I should have done a backup using philz recovery first, instead I wiped system and data and realized philz recovery would not read my sdcard. (I do not have security encryption enabled) my nandroid backups were to my external sd card not my internal. I tried getting adb to connect from within philz recovery but that's a no go. might have a usb driver issue Philz file manager is not working also. any ideas for now. I do not want to flash back to stock as i havefiles on the internal sdcard I don't want to delete. i wasn't expecting this.
Can't you just flash cm12 and backup your internal files. You don't need adb with removable memory. Also, twrp will flash cm12
Edit: I mean format new SD card with recovery, place cm12 on it, flash. Than backup all your stuff and start over
luke1987 said:
Can't you just flash cm12 and backup your internal files. You don't need adb with removable memory. Also, twrp will flash cm12
Edit: I mean format new SD card with recovery, place cm12 on it, flash. Than backup all your stuff and start over
Click to expand...
Click to collapse
@rp201
+1
This guy has the right idea. Just save what you can from your SD to your computer, then format your SD using Philz so it can read it. Then pop your SD back in the computer and copy your files over and just flash CM12 that way or restore your old ROM using Philz "TWRP" restore method (it actually does backups to and restores from the TWRP folder on either internal or external SD).

Categories

Resources