[Q] htc one m8 - Please help restore stock Nandroid backup - Android Q&A, Help & Troubleshooting

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:

Related

forgot to do nandroid backup

i went to do a nandroid restore and it says it couldnt be opened
i need a zip file or something to flash an original ROM ot start over...
im afraid i may have screwed up my phone for good. i have it booted up into recovery mode but i formatted the sd card before i backed it up.
HELP! please!
silver2kgti said:
i went to do a nandroid restore and it says it couldnt be opened
i need a zip file or something to flash an original ROM ot start over...
im afraid i may have screwed up my phone for good. i have it booted up into recovery mode but i formatted the sd card before i backed it up.
HELP! please!
Click to expand...
Click to collapse
You haven't screwed up your phone but you have lost your data if you haven't done a nandroid... Why do you format your SD BTW? It is not necessary unless you have Apps2SD... Also a nandroid doesen't save your SD card data it saves your custom ROM with all your mods to your SD... Your text is actually quite confusing... Have you lost your modified ROM or your SD card data? If it's your SD card data you might be able to find software on the internet for recovery of lost files...
just download a new rom;
go into recovery;
check 'usb toggle mode';
copy *.zip to your phone;
wipe all the things you need to wipe;
flash your *.zip
*after you've created a new BART or Nandroid backup of your working system,
copy the BART or Nandroid folder from your SD-card to your local pc so you always have a good backup by hand
**you have NOT bricked your phone so don't stress out

Nandroid Backup?

I can't do a search it says search is disabled. I'm currently on rooted stock and want to make a nandroid back up of my phone. I got the recovery app installed and currently booted to the recovery screen. I see the backup & restore tab, but then it goes to internal SD card and External SD card. Which one do I want to back up. I'm guessing internal SD card, and where does it save it too. Can I take the saved file and put it on my computer for safe keeping? Any help would be greatly appreciated.
Again I did try to search, but it's broken.
If your using CWM recovery it will be under the folder Clockworkmod, then under the subfolder Backup or Backups. And it doesnt matter if you save on internal or external, of course you have to have enough space on which ever you select though. You can copy this folder to comp to keep it, if you decide to edit file name dont put any spaces in it use . or _ or you may run into issues.
Also, when it asks internal or external it's asking where you want to backup to. I usually choose external so I can format internal if needed.
I'm a MoPho-er
Thanks guys for clearing it up. I appreciate it. I just flashed a rom, and didn't like it then flashed back to stock and restore via nandroid and it worked flawless. Thanks again for the help.
Nandroid Backup error message
I have a stock photon that I rooted. I have both CWM and Rom toolbox pro installed. When I go to to a Nandroid backup it trys to boot into recovery and says "FAILED to boot 2 Starting RSD mode". If I reset the battery it boots fine. Android Recovery does the same.... Suggestions?

[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] TWRP Back up location

Hello.
When I made a backup with TWRP I saved it on my PC.
Since then I have re-flashed TWRP.
Now under the TWRP folder there is now backups folder, or the one with the code after it. There is only the TWRPS File. (Small text file)
I need help as I need to restore back to this backup!
Many thanks.
andregardner said:
Hello.
When I made a backup with TWRP I saved it on my PC.
Since then I have re-flashed TWRP.
Now under the TWRP folder there is now backups folder, or the one with the code after it. There is only the TWRPS File. (Small text file)
I need help as I need to restore back to this backup!
Many thanks.
Click to expand...
Click to collapse
Move the file from your pc to your phone. If you have an external SD I'd definitely recommend you put it on the external SD instead of internal
From my Wicked S3 running MIUI

TWRP backup not found in "Restore" (for Samsung Note 2)

My phone is GT-N7105 (Samsung Note 2)
I had a nandroid backup before, then I copied the backup to PC, still have it. Then I flashed lineage 13. I deleted the nandroid backup on the phone storage. Now I want to restore the backup so I copied the backup files from the PC.
Now when I go to TWRP Restore mode, no backups are found.
I already searched through the internet and found the renaming method but there's a problem:
this is my original backup:
TWRP/backups/42f7491d7b409fc7/2017-03-01--05-28-34_JZO54K.N7105XXDMB
I tried to make a new backup of my current lineage (just to see if the folder name changed based on the new folder the backup process will create), here is what the resulting folder was:
TWRP/backups/42f7491d7b409fc7/2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
As you can see, only the innermost folder name changed. So from what I found through searching, it said to rename the old backup folder to the new backup folder's name, meaning :
I changed
2017-03-01--05-28-34_JZO54K.N7105XXDMB
to
2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
TWRP still can't see the original backup.
So what should I rename the original backup folder for TWRP to recognize it and make it appear?
Not sure, but i know you must use internal storage, not external sdcard in order to restore . Does it help?
Sent from this galaxy
pr1jker said:
Not sure, but i know you must use internal storage, not external sdcard in order to restore . Does it help?
Sent from this galaxy
Click to expand...
Click to collapse
From the TWRP screen, there's a bar you can tap for 3 choices: internal, external or USB OTG, but I surely put the original backup in internal storage.
The experimental backup I made was in external storage. TWRP can recognize it.
Anyone can help me? I already tried renaming the 6 character code from the original backup folder's name to the 6 char code from new backup. still won't work.
Any helpful ideas please?

Categories

Resources