Viewing recovery files on PC. - Motorola Droid and Milestone General

Is there anyway to view to contents of the recovery files on a pc? More so interested in the data recovery file. Using the phone the recovery came from is no longer an option.

If you mean nandroid images and you're looking for a tool to extract the image content on Windows PC, you can use e.g. this prebuilt unyaffs tool: http://jiggawatt.org/badc0de/android/unyaffs-x86-win.zip

It's a data file in a clockworkmod recovery folder. Will that handle this the same way?

st0ic_1 said:
It's a data file in a clockworkmod recovery folder. Will that handle this the same way?
Click to expand...
Click to collapse
Can anyone answer this for me? Thanks!

Related

Open a .img from bart backup?

I want to open up a system.img from an older bart backup to extract a couple apps. How can I do this? Seems like any archive program doesn't want me to open it.
Yeah you can't actually extract apps like that. You would have to flash the system.img, let it load up, and back up your .apks from there.
Another method that I have never tried for myself is to mount the system.img in the sdk emulator and see if that gets you anywhere.
If you are on linux, you can use the unyaffs to extract the contents of .img files.
peshal said:
If you are on linux, you can use the unyaffs to extract the contents of .img files.
Click to expand...
Click to collapse
a month and a half later, but thank you! This will be useful in the future.
Ooh yes that will be useful for me as well, thanks!

[Q] Trying to restore stock firmware, aborted each time

Hey All, have google and googled for the past week but nothing specific to this issue I'm having.
I want to restore my stock firmware so I can get OTA updates! I didn't make any sort of backup when I began playing with different roms. I have htc_039 unbranded aus htc one. Bootloader has been unlocked with S-on and TWRP installed.
Downloaded Deevans/bugsys nandroid backup that matched my phone details (http://forum.xda-developers.com/showpost.php?p=41368105&postcount=375&nocache=1&z=2030115523399023) but there isn't any sort of instructions on installing these.
When i have tried to flash the rom I get "installation aborted" and when playing with fastboot it has given me messages that it cannot find certain .txt files (something like android.txt and a few other ones.
Could someone please tell me what im doing wrong or list the instructions to install this? I don't know if I have to lock the phone again, restore the recovery file first, no idea!!! Or is there anyway to turn the Android Revolution 12 image to get OTA (i dont think so)?
If you need any further phone info I will post.
Can anyone help with this?
When I try to flash the file in TWRP it starts and stops at "Updating partition Details".
What have i not setup right? Have been using these resources:
http://www.androidpolice.com/2010/0...nandroid-backup-and-clockworkmod-rom-manager/
http://www.addictivetips.com/mobile/how-to-perform-and-restore-a-nandroid-backup/
http://www.redmondpie.com/how-to-ba...android-using-clockworkmod-recovery-tutorial/
http://www.redmondpie.com/how-to-in...recovery-on-your-android-smartphone-tutorial/
http://androidteen.com/how-to-restore-htc-one-to-stock-firmware/#Nandroid
???
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash "restore" nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
pjc21 said:
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
Click to expand...
Click to collapse
Thank for the reply
I have tried to install this with CWM which gave me those first missing ".txt" files. I will give it another go with CMW and post the results.
I will also S-OFF before doing the above.
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
jgt777 said:
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
Click to expand...
Click to collapse
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
pjc21 said:
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
Click to expand...
Click to collapse
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
jgt777 said:
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
Click to expand...
Click to collapse
Are you using TWRP recovery? or CWM recovery?
pjc21 said:
Are you using TWRP recovery? or CWM recovery?
Click to expand...
Click to collapse
I have now tried both TWRP and CWM and fails, also have installed ROM manager and another one I cant recall from play store. Also booted into recovery and went to the 'restore' option from the menu but cant find any directories..
I dont know if this has anything to do with it but noticed in the contents of the file:
ARCHIVE: cache.ext4.tar
ARCHIVE: data.ext4.tar
ARCHIVE: system.ext4.tar
boot.img
cache.ext4.tar.a
data.ext4.tar.a
nandroid.md5
recovery.img
recovery.log
system.ext4.tar.a
system..ext4.tar.b
Not to get ahead of myself but HTC ONE is ext2or 3 by default, its not something simple as having to change it to ext4? Its just something that stood out.
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
pjc21 said:
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
Click to expand...
Click to collapse
Interesting that there was no 'backup' folder inside that folder. Have created it and putting the files and zip in there now.
Was also googl'n and found this article:
http://miuiandroid.com/community/th...d-restore-error-while-restoring-sd-ext.15611/
Someone mentioned to now open the zip file when it downloads. I'll try your suggestions and this and let you know what happens tomorrow.
Thanks again
Morning,
Have downloaded the .zip file again twice and put it onto the SD and clockwork Mod backup folder and it has aborted again.
Any ideas on what to try from here?

[Q] ClockWordMod Zip Backup restore help

Hi All,
i made a nandroid backup with CWM and i used the server function to download it to my PC, now im trying to restore it but no matter where i place on my ONE i cant get clockwork to recognise it.
Ive tried the SD card, mnt/shell ect... nothing seems to work
would anyone know what im doing wrong?
JoeRadd said:
Hi All,
i made a nandroid backup with CWM and i used the server function to download it to my PC, now im trying to restore it but no matter where i place on my ONE i cant get clockwork to recognise it.
Ive tried the SD card, mnt/shell ect... nothing seems to work
would anyone know what im doing wrong?
Click to expand...
Click to collapse
what do you mean by "Zip Backup"? the backup is a folder called something like "2013-mm-dd-hh.mm.ss"
and that folder should be placed in /data/media/clockworkmod/backup/
if it's a zip you downloaded off the net, then unzip it on your computer first, then push the folder to above location.
nkk71 said:
what do you mean by "Zip Backup"? the backup is a folder called something like "2013-mm-dd-hh.mm.ss"
and that folder should be placed in /data/media/clockworkmod/backup/
if it's a zip you downloaded off the net, then unzip it on your computer first, then push the folder to above location.
Click to expand...
Click to collapse
Its recognised as a zip on my PC although it cant be unzipped with 7zip or WinRar. if you go to manage and restore back ups in rom manager it lets you download a folder to your pc, cannot for the life of me figure out how to push it back to the phone so it can be recognised though.
JoeRadd said:
Its recognised as a zip on my PC although it cant be unzipped with 7zip or WinRar. if you go to manage and restore back ups in rom manager it lets you download a folder to your pc, cannot for the life of me figure out how to push it back to the phone so it can be recognised though.
Click to expand...
Click to collapse
1- what do you mean it can't be unzipped? where did you get it from
2- never used rom manager so no idea about that
3- use "adb push 2013-mm-dd-hh.mm.ss /data/media/clockworkmod/backup/2013-mm-dd-hh.mm.ss" to get the backup onto phone

[Q] can i restore .win files?

Hey guys, I used TWRP to back up files, then by mistake I used format data instead advanced wipe!
So I lost everything on my mobile with the back up files! :crying:
Now I googled file extension for TWRP back up, it was .WIN
Even though all TWRP backup files carry the extension .win, they are either tar archives or filesystem images. System, data, cache and .android_secure are backed up as tar archives or gnu-zipped tar archives if compression is enabled. You can rename those .win files to .tar (.tar.gz if compressed) and extract them like a regular archive. Boot and recovery partitions are backed up as .img files using dd.
Click to expand...
Click to collapse
^ http://forum.xda-developers.com/showthread.php?t=1694617 ^
So is there any program that I can use to restore the back up files? If not, How can I restore at-least pictures, videos, messages, contacts.. etc?
If someone there can help me, please do! any little info can be useful!
Thank you.

[Q] Can't transfer backup files from Note 4 to PC via USB

When I connect my Note 4 to my PC via USB I can browse the folder structure but I can't drag and drop or copy/paste any files. What gives?
Also, I've tried in recovery mode to no avail. In fact, when I'm not in recovery mode I can't even see the files in the TWRP backup folders. In recovery mode I can see the files but I still can't copy them.
You should try using a file manager in recovery like this to move the files to your SD card.
http://forum.xda-developers.com/showthread.php?t=1646108
Good Luck
lmills.117 said:
When I connect my Note 4 to my PC via USB I can browse the folder structure but I can't drag and drop or copy/paste any files. What gives?
Also, I've tried in recovery mode to no avail. In fact, when I'm not in recovery mode I can't even see the files in the TWRP backup folders. In recovery mode I can see the files but I still can't copy them.
Click to expand...
Click to collapse

Categories

Resources