how can i mount the twrp backup files to view whats inside of them? - Defy Q&A, Help & Troubleshooting

I want to basically open the data.ext3.win file that holds all of the backuped data i had. anyone know how to do it?

Codeseven said:
I want to basically open the data.ext3.win file that holds all of the backuped data i had. anyone know how to do it?
Click to expand...
Click to collapse
connect youy phone to your computer. In TWRP mount the USB storage. On the computer the sdcard will be mounted. Open the data.ext3.win file with P7ZIP or an other archiver.

ewilly88 said:
connect youy phone to your computer. In TWRP mount the USB storage. On the computer the sdcard will be mounted. Open the data.ext3.win file with P7ZIP or an other archiver.
Click to expand...
Click to collapse
I tried using 7zip, but it couldn't open the file as an archive. is P7zip different?

Codeseven said:
I tried using 7zip, but it couldn't open the file as an archive. is P7zip different?
Click to expand...
Click to collapse
it's a TAR archive perhaps try to change the extension

Didn't work either. Moved the file to my ubuntu server and tried tar -zxvf, errored out. changed the extension to tar in windows, cannot open file. Oh well, I just ended up using root explorer to copy the entire data directory to my SD card and pulled it from there. Thank you though!

as you have P7ZIP i suppose you are on a Linux system. P7ZIP is able to open TAR file but only if you have install the fulle version of P7ZIP. On wich distribution do you are ?

Codeseven said:
Didn't work either. Moved the file to my ubuntu server and tried tar -zxvf, errored out. changed the extension to tar in windows, cannot open file. Oh well, I just ended up using root explorer to copy the entire data directory to my SD card and pulled it from there. Thank you though!
Click to expand...
Click to collapse
try $tar -xvf , z is for tar.gz , worked for me

Related

[Q] How to load system.img?

I've compiled and installed a modded kernel. I'm trying to figure out how to load AOSP compiled binaries. I've tried using adb flash_image system /sdcard/system.img, but I get "failed with error: 6." Does anyone know what this means or how to load system.img on a Galaxy Tab from VZW? I'm working on reactivating the phone dialer...
the galaxy tab has nothing like fastboot, so its pretty hard to flash it! but u can try to overwrite a stock factory.rfs with the files from ur system.img and flash via odin!
That sounds like a great idea. However, I'm trying to figure out how to put the vendor specific drivers in the system.img, which is mountable and editable. If I could get my hands on an original stock system.img, that'd be awesome.
Sent from my SCH-I800 using XDA App
As far as I know, the Tab doesn't use mtd file system, so I don't think it uses .img extensions.
Not positive though. Somebody correct me if I'm wrong.
I know for a fact that img files are created as the output of an Android system build. This img can be broken apart with standard Linux tools. I've already done this. I've also mounted factoryfs.rfs to a local directory, which allows me to move apps to and from the file system.
Sent from my SCH-I800 using XDA App
If you have a md5 of it too, you should be able to flash it via an advanced restore in CWM recovery. That is if it is only the data that is flashed to /system. otherwise I would suggest converting it to a .fs or .tar and flash via heimdall or Odin (respectively).
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
http://android-dls.com/wiki/index.p...cking.2C_Editing.2C_and_Re-Packing_the_images
Landroid said:
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
Click to expand...
Click to collapse
thanks! this was very easy to use

[Q] How do I run some software on Folio 100?

How do I run/install some software in my Toshiba Folio 100.
I download any zip packet for Folio 100 from internet and unzip it in my Folio's hard drive.
Zip file contains files
resources.arsc
classes.dex
Android Manifest.xml
and folders res and META-INF
I can't find any .apk file from any folder.
So do I need some installer or something. I download software from internet to my laptop and trasfer zip packet to Folio via USB
try renaming the .zip to .apk
and remember to enable unknown sources in setup > applications
kepler1982 said:
try renaming the .zip to .apk
and remember to enable unknown sources in setup > applications
Click to expand...
Click to collapse
This is something else I guess. This is something very simple but I just don't get it.
So basically what I need to do that I can install software example finger bowling from....
w w w.freeware4android.net/toshiba-folio-100-device-1711/games-tag/finger-bowling-get-18990.html
So I download zip file and unzip it to my Folio. So is there some trick when I do not download it direct to my Folio but via my laptop.
Currently I have 3g via laptop only.
kepler1982 said:
try renaming the .zip to .apk
and remember to enable unknown sources in setup > applications
Click to expand...
Click to collapse
You were right. No I managed to do it.
Windows really changed .apk file to .zip file....
I tried solve this with some java compliers
kermiitti said:
Windows really changed .apk file to .zip file....
Click to expand...
Click to collapse
It is very unlikely that windows changed the file extention. Probably the site you downloaded from doesn't support files with the .apk extention and they changed it to .zip to allow the upload.

[HELP] Retrieving TWRP data [SOLVED]

Hello, I would like to know how I could extract backed up TWRP data on my computer? maybe because the data was large TWRP split it into two files : data.ext4.win000 and data.ext4.win001 (sizes 1.5 and 1.2 GB)
How I got there:
I've been using XenonHD rom for quite a while, and this rom uses koush's superuser app.
I noticed there was a newer version on the market so I installed it; however it appears the one used by the rom developer was modified and therefore had a different package name: I ended up with two superuser apps, one of them asking to update the binaries, which I did.
After that the phone got stuck and rebooted two or three times before being stuck indefinitely at 'updating app' message right after the bootanimation. I tried:
- to wipe dalvik cache but it was still stuck;
- I reflashed the rom + gapps but it was still stuck;
- then I went to the /data/app/ folder (via TWRP) and deleted the superuser app i installed from market, as well as the corresponding data in /data/data, wiped cache and dalvik again: still the same...
-the I decided to make a backup via TWRP : one of the whole system, and one of Data partition only;
- then I realised I couldn't transfer it to my computer in TWRP, so I finally made a factory reset, re-flashed the rom+gapps, and then (it worked) copied my backup to the computer
now; how can I retrieve the data of my apps only, as I guess it is the system data that is messed up?
Of course I tried to restore the Data backup in twrp and it got stuck again the same way....
any help greatly appreciated!
You could try appextractor on the play store
Sent from my Nexus 4 using xda app-developers app
forvrknight said:
You could try appextractor on the play store
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It didn't work for me...
I finally got my data back by this tricky procedure (there might be an easier way but google+xda was not my friend on this one, I tried ext2explore and ext4explore, linux_reader, Andoird_ICS_JB_ext4_unpacker and maybe some more without success)
I renamed the two files:
data.ext4.win000 renamed as data.ext4.tar.001
data.ext4.win001 renamed as data.ext4.tar.002
Unzipping the first one with 7zip recreates a .tar archive named data.ext4.tar, which is not really a tar archive (extracting it will only give a very few files, for me it only included the image files of my custom bootanimation)
On this file I used AccessData FTK Imager, which would recognise the 'evidence' as a tar file and would allow you to export the data, however this is only the data contained originally in the first file (data.ext4.win000) (although the reconstructed archive was the right size, for me 2.7GB, the part extracted by this software was only 1.5GB)
To recover the second part, simply rename the second file (initially data.ext4.win001) into data.7z and then extract. (this does not work with the first file, all you would get is again a very few files, for me it looked like the content of a single apk file)
All you have to do now is to merge the two data folders and voilà
I could then retrieve my sms mms messages by retrieving the file smsmms.db (and eventually smsmms.db-journal) located in /data/data/com.android.providers.telephony/databases, and putting them on the phone in the same folder
I could also retrieve my phone call logs by retrieving the files contacts2.db (and eventually contacts2.db-journal) located in /data/data/com.android.providers.contacts/databases, and putting them on the phone in the same folder
Hope it helps someone someday
For some reason replacing the data folder of a particular app does not always work, I have to investigate a bit or maybe start fresh with a new rom and try again
asim0 said:
It didn't work for me...
I finally got my data back by this tricky procedure (there might be an easier way but google+xda was not my friend on this one, I tried ext2explore and ext4explore, linux_reader, Andoird_ICS_JB_ext4_unpacker and maybe some more without success)
I renamed the two files:
data.ext4.win000 renamed as data.ext4.tar.001
data.ext4.win001 renamed as data.ext4.tar.002
Unzipping the first one with 7zip recreates a .tar archive named data.ext4.tar, which is not really a tar archive (extracting it will only give a very few files, for me it only included the image files of my custom bootanimation)
On this file I used AccessData FTK Imager, which would recognise the 'evidence' as a tar file and would allow you to export the data, however this is only the data contained originally in the first file (data.ext4.win000) (although the reconstructed archive was the right size, for me 2.7GB, the part extracted by this software was only 1.5GB)
To recover the second part, simply rename the second file (initially data.ext4.win001) into data.7z and then extract. (this does not work with the first file, all you would get is again a very few files, for me it looked like the content of a single apk file)
All you have to do now is to merge the two data folders and voilà
I could then retrieve my sms mms messages by retrieving the file smsmms.db (and eventually smsmms.db-journal) located in /data/data/com.android.providers.telephony/databases, and putting them on the phone in the same folder
I could also retrieve my phone call logs by retrieving the files contacts2.db (and eventually contacts2.db-journal) located in /data/data/com.android.providers.contacts/databases, and putting them on the phone in the same folder
Hope it helps someone someday
For some reason replacing the data folder of a particular app does not always work, I have to investigate a bit or maybe start fresh with a new rom and try again
Click to expand...
Click to collapse
It actually helped me, thanks a lot!
Two Questions
asim0 said:
On this file I used AccessData FTK Imager,
Click to expand...
Click to collapse
This is a 4.6 Gigs professional software. If TWRP can read this type of file there must be a smaller tool available for this.
Can you please let me know of any other toll which would do the same?
asim0 said:
All you have to do now is to merge the two data folders and voilà
Click to expand...
Click to collapse
For the 2nd file do we need to follow the same procedure like 'evidence' and stuff?
Thanks, I am desperate to read some information from TWRP backup and cannot wait 6 days while the 4.6 Gigs of ISO will download.
pi_yush said:
This is a 4.6 Gigs professional software. If TWRP can read this type of file there must be a smaller tool available for this.
Can you please let me know of any other toll which would do the same?
For the 2nd file do we need to follow the same procedure like 'evidence' and stuff?
Thanks, I am desperate to read some information from TWRP backup and cannot wait 6 days while the 4.6 Gigs of ISO will download.
Click to expand...
Click to collapse
These files (at least the ones produced by TWRP2 on my phone) are just standard gzipped tar archives. The tar command has supported this format for at least 20 years. You can extract with a command like this:
Code:
tar xvfz data.ext4.win000
tar xvfz data.ext4.win001
number_thirty_two said:
These files (at least the ones produced by TWRP2 on my phone) are just standard gzipped tar archives. The tar command has supported this format for at least 20 years. You can extract with a command like this:
Code:
tar xvfz data.ext4.win000
tar xvfz data.ext4.win001
Click to expand...
Click to collapse
Thanks number_thirty_two, I copyed thes to a folder I named untar in my home folder of CYGWIN, and extracted my system files perfectly
C:\cygwin\home\carl\untar\
system.ext4.win000
system.ext4.win001
tar xvfz system.ext4.win000
tar xvfz system.ext4.win001
Apologies for resurrecting this, but does anyone know how to extract them if they were compressed as .comp files?
asim0 said:
It didn't work for me...
I finally got my data back by this tricky procedure (there might be an easier way but google+xda was not my friend on this one, I tried ext2explore and ext4explore, linux_reader, Andoird_ICS_JB_ext4_unpacker and maybe some more without success)
I renamed the two files:
data.ext4.win000 renamed as data.ext4.tar.001
data.ext4.win001 renamed as data.ext4.tar.002
Unzipping the first one with 7zip recreates a .tar archive named data.ext4.tar, which is not really a tar archive (extracting it will only give a very few files, for me it only included the image files of my custom bootanimation)
On this file I used AccessData FTK Imager, which would recognise the 'evidence' as a tar file and would allow you to export the data, however this is only the data contained originally in the first file (data.ext4.win000) (although the reconstructed archive was the right size, for me 2.7GB, the part extracted by this software was only 1.5GB)
To recover the second part, simply rename the second file (initially data.ext4.win001) into data.7z and then extract. (this does not work with the first file, all you would get is again a very few files, for me it looked like the content of a single apk file)
All you have to do now is to merge the two data folders and voil
Click to expand...
Click to collapse

Exploring TWRP backups on Windows

This question is not specific to the G2 however since it's the device I currently own I figured I might as well ask it here since it seems as good as place as any to ask. That being said I would like to know how I can explore the contents of a TWRP created nandroid backup from my PC running Windows 7 professional. I have already transferred the files to my computer without issue, but when I try to extract the "data.ext4.win000" or "data.ext4.win001" files using 7Zip it just says the files are not supported so I am not sure what piece of software I need to get to open these files and explore their contents from within Windows and any help would be greatly appreciated.
TIA,
MTCellph
You need a specific program to view the files inside, as soon as I check the one I use on my laptop I'll let you know
Sent from my LG-D800 running stock kk, rooted with philz using XDA app
---------- Post added at 11:34 AM ---------- Previous post was at 10:49 AM ----------
Ok so here's what you want to do rename the file to data.est4.tar.gz and you will be able to explore the archive using 7zip
Sent from my LG-D800 running stock kk, rooted with philz using XDA app
I did that and there was a Tar file inside of the tar.gz file which I tried extracted to my desktop and tried to open in 7zip, but it would not open so I am at the same spot I was in to begin with
mtcellph said:
I did that and there was a Tar file inside of the tar.gz file which I tried extracted to my desktop and tried to open in 7zip, but it would not open so I am at the same spot I was in to begin with
Click to expand...
Click to collapse
for some reason that keeps happening with the data folder but you can easily view the system
XxZombiePikachu said:
for some reason that keeps happening with the data folder but you can easily view the system
Click to expand...
Click to collapse
Thanks again for the reply. I was trying to view the DATA folder as you may have guessed which as you found out does not work (or atleast I could not get it to work for me) on Windows so I had to boot up into my Ubuntu partition on my machine and concatenate the 2 .WIN files into one file using the following command from the Ubuntu terminal.
cat data.ext4.win000 data.ext4.win001 > data.tar (or tar.gz if compression was enabled when you created the backups in TWRP)
I then used the built in archive manager in Ubuntu and was able to browse the DATA partition and extract the information that I needed. This should not be necessary, but as we both discovered, windows (for whatever reason) does not seem to be able to handle the DATA partition while Ubuntu can so if anyone stumbles upon this post wanting to know the same information then you should try downloading a live cd / live usb version of Ubuntu (if you don't already have it installed on your machine that is) and running it and follow the steps above to access the files in your DATA partition.
Note: In the above example I had to combine the 2 data.ext4.win* files into one file before I could access the archive. If you do not have multiple data.ext4.win* files then you can skip that step and go straight to the next step which is opening the data partition in the built in archive manager that comes with Ubuntu.
HTH,
MTCellph
mtcellph said:
Thanks again for the reply. I was trying to view the DATA folder as you may have guessed which as you found out does not work (or atleast I could not get it to work for me) on Windows so I had to boot up into my Ubuntu partition on my machine and concatenate the 2 .WIN files into one file using the following command from the Ubuntu terminal.
cat data.ext4.win000 data.ext4.win001 > data.tar (or tar.gz if compression was enabled when you created the backups in TWRP)
I then used the built in archive manager in Ubuntu and was able to browse the DATA partition and extract the information that I needed. This should not be necessary, but as we both discovered, windows (for whatever reason) does not seem to be able to handle the DATA partition while Ubuntu can so if anyone stumbles upon this post wanting to know the same information then you should try downloading a live cd / live usb version of Ubuntu (if you don't already have it installed on your machine that is) and running it and follow the steps above to access the files in your DATA partition.
HTH,
MTCellph
Click to expand...
Click to collapse
great I already run Ubuntu on a virtual machine so this is very useful information
explore/extract system.ext4 with IZArc
Sorry - please ignore this post - I don't know what I'm talking about sometimes...
I know the thread is over 6mon old, sorry...
I have a recent backup from TWRP 2.7.x and really need to figure out how to get into /data/media or whatever the equivalent is in the archive. I did a 'cat' of my 4 data.ext4.win00* files and opened that in Ubuntu. All it contained was a big stack of APKs and a subfolder with a bunch of 0 byte objects. What bugs me the most is that the file browser reports the data.ext4.tar.gz I created at 3.3GB, but the ubuntu handler only reports the /data folder inside at 1.6GB.
I lost a buttload of data and files to an Odin restore necessitated to wipe 2 stubborn cache files. Nothing I tried could change their properties (thanks G00gle). Anyway, I ended up doing a full wipe of the phone thinking I had a good TWeRP backup on the extSDcard. Wrong.
I just checked system.etx4.win* and found the same/similar files under it's /app folder.
Have I lost all those files or is there something else I can try? TIA.
Talos4 said:
explore/extract system.ext4 with IZArc
Click to expand...
Click to collapse
Thanks a lot for this hint! I hadn't heard about IZArc before. It's really great and saved my day. :highfive:
Windows users
For windows (if you have multiple files) :
Code:
copy /B data.ext4.win001 + data.ext4.win001 + data.ext4.win001 + data.ext4.win001 output.tar
Mehdiway said:
For windows (if you have multiple files) :
Code:
copy /B data.ext4.win001 + data.ext4.win001 + data.ext4.win001 + data.ext4.win001 output.tar
Click to expand...
Click to collapse
Thanks to this, I was having a bad time viewing each of the data.ext4.win000 etc. etc. can't handle by windows I think. Looking for solution from google and I end up here. Thank you my friend. :good:
zidane02 said:
Thanks to this, I was having a bad time viewing each of the data.ext4.win000 etc. etc. can't handle by windows I think. Looking for solution from google and I end up here. Thank you my friend. :good:
Click to expand...
Click to collapse
if you want to explore twrp backup files on windows:
- rename i.e. data.ext4.win000 to data.ext4.tar and open that .tar file with winzip or winrar (whichever reads .tar compressed files) - same goes for .win001 etc...
btw just a sidenote - twrp doesn't backup your personal media files (photos, videos, etc)
I know I'm bumping a super old thread in a sorta old forum area, but Google brought me here. I am trying to browse a TWRP backup but I have a feeling I need to do a bit more fussing around. The backup is split into data.ext4.win000 through data.ext4.win007 and each of the parts has an accompanying .md5 with the same naming structure (ie. data.ext4.win000 and data.ext4.win000.md5.) There's also a data.info file as well.
The system backup is the exact same as described above for the data, except it's only 2 parts (system.ext4.win000 and system.ext4.win001, with the accompanying md5 files and the info file.)
Can someone provide a bit of guidance? I'm using a Windows 7 Home Premium machine.
I'm in the same situation cognitivedissonance is. Any help to put us on the right direction?
The answer for one question would be beneficial and highly appreciated: in which format the data.ext4.win00x files are ?
cognitivedissonance said:
I know I'm bumping a super old thread in a sorta old forum area, but Google brought me here. I am trying to browse a TWRP backup but I have a feeling I need to do a bit more fussing around. The backup is split into data.ext4.win000 through data.ext4.win007 and each of the parts has an accompanying .md5 with the same naming structure (ie. data.ext4.win000 and data.ext4.win000.md5.) There's also a data.info file as well.
The system backup is the exact same as described above for the data, except it's only 2 parts (system.ext4.win000 and system.ext4.win001, with the accompanying md5 files and the info file.)
Can someone provide a bit of guidance? I'm using a Windows 7 Home Premium machine.
Click to expand...
Click to collapse
To browse the "system.ext4.winxxx" files, simply add at the end of the file ".tar" and decompress them in the same folder created by the first file.
The MD5 is a type of Checksum file wich is created just to check the integrity of the backup file is linked to.
the gladiator said:
I'm in the same situation cognitivedissonance is. Any help to put us on the right direction?
The answer for one question would be beneficial and highly appreciated: in which format the data.ext4.win00x files are ?
Click to expand...
Click to collapse
They are compressed in TAR format.
Mehdiway said:
For windows (if you have multiple files) :
Code:
copy /B data.ext4.win001 + data.ext4.win001 + data.ext4.win001 + data.ext4.win001 output.tar
Click to expand...
Click to collapse
Actually the file numbers should increment, using the above example:
Code:
copy /B data.ext4.win001 + data.ext4.win002 + data.ext4.win003 + data.ext4.win004 output.tar
In the example you're appending a file to itself over and over.
forkup said:
Actually the file numbers should increment, using the above example:
Code:
copy /B data.ext4.win001 + data.ext4.win002 + data.ext4.win003 + data.ext4.win004 output.tar
Click to expand...
Click to collapse
In most cases that should be;
Code:
copy /B data.ext4.win000 + data.ext4.win001 + data.ext4.win002 + data.ext4.win003 + data.ext4.win004 output.tar
And the other (uncompressed) .win image-files (like system_image.emmc.win) can be read with a tool like Ext2Read.
Mehdiway said:
For windows (if you have multiple files) :
Code:
copy /B data.ext4.win000 + data.ext4.win001 + data.ext4.win002 + data.ext4.win003 output.tar
Click to expand...
Click to collapse
Unfortunately, thats wrong. It might work with tar --ignore-zeros (-i) option but only for uncompressed archives.
Do not combine the data.ext4.win* files into one file before accessing. These are single standalone tarball archives (gzip compressed sometimes) you should rename and unpack for each own
I am also seeking a correct and up-to-date answer for this. I have TWRP 2.8.7.0 and multiple .win files, .md5 files and data.ext4 files in my SD Card. Is renaming archives enough to browse in 7zip? Is there any special tool for this, or do we also combine/merge multiple files into one?
Thanks a lot!
Can anyone here shed any light on my TWRP backup browsing issue described here? Thanks

[Q] help I need Sectelephonyproviter apk

can someone help, i screwed up and must have deleted Sectelephonyproviter apk for my GS4 4.2.2. now i'm getting errors all over the map. it's in system/priv-app
thanks in advanced
Pull it from your ROM's zip file (the one you flashed to your device), copy it to your sdcard and from there push it to your phone with your favorite Rom/file explorer.
churapa said:
Pull it from your ROM's zip file (the one you flashed to your device), copy it to your sdcard and from there push it to your phone with your favorite Rom/file explorer.
Click to expand...
Click to collapse
didn't even think of that thanks
churapa said:
Pull it from your ROM's zip file (the one you flashed to your device), copy it to your sdcard and from there push it to your phone with your favorite Rom/file explorer.
Click to expand...
Click to collapse
which tool can i use to extract system.img.ext4 i tried ext4_unpacker, and ext4_unpacker please help.
Willibda1 said:
which tool can i use to extract system.img.ext4 i tried ext4_unpacker, and ext4_unpacker please help.
Click to expand...
Click to collapse
This tool may help you.
Here is another option.

Categories

Resources