Flash a Data.img? - Eee Pad Transformer Q&A, Help & Troubleshooting

I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated

mafo5000 said:
I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated
Click to expand...
Click to collapse
Here's a few things you could do assuming that what you want is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck

hachamacha said:
Here's a few things you could do assuming that what yowant is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck
Click to expand...
Click to collapse
OK Ill see if the titanium backup way works. I'll report back to you if it works. Also if I do get all my apps back is there a way to get the app data?

Hi - If Titanium is bringing up the selections screen then the usual choices for each app are data/app/data+app, so yes.

The titanium back option is called "extract from Android backup" I can't do
It right now because I don't have my tf with me. But I don't think it will work because
The Android backup I made was currupted. I would get the .android_secure error
And couldn't restore. So if titanium takes the data.img from my Android I'm thinking
It won't work but if I can give it the zip it probably will. I won't be home for a couple
Hours.

thank you so much i got all my stuff back using titanium backup!

mafo5000 said:
thank you so much i got all my stuff back using titanium backup!
Click to expand...
Click to collapse
Cool! --
Congrats.

Related

[Q] Trying to create a CW zip with all the apps i want to install automatically

Can some one provide some instructions on how to go about making a CW zip file to flash and install all the apps that is on my phone?
I've seen a few of these floating around in the forum, and wanted to make my own to save time after every ROM flash
Do I just grab all the APK files throw them into a folder and Zip & Sign it?
or do I have to do a Nandroid backup first, then only use the app files from the backup?
I would like to know this too....
Would be nice as well instead of restoring
Sent from my Nexus S using XDA App
Take an existing update.zip type file. Add a folder to it with the full proper path for your apps you want to pre-install (typically this will be /data/app) and put all the apps in that folder. Should look something like this in a windows/mac explorer window:
Code:
META-INF
/com/google/android/updater-script
data
/app/myfirstapp.apk
/app/mysecondapp.apk
Then use a text editor to edit the META-INF/com/google/android/updater-script file to include the commands to copy over your stuff. It would something along the lines of:
Code:
ui_print("Installing New App Files to /data");
package_extract_dir("data", "/data");
Edit out anything in the update template you're working out of that you don't want to happen (ie., format or symlinks, etc).
Repackage the zip file and make sure nothing else got in there by mistake by re-opening it (like those pesky Mac .ds-store files).
You can re-sign it with the android tools, but I don't believe you need to with Clockwork.
I would have a fresh nandroid before testing anything, of course.
You feel this approach is better than just using Titanium to restore apps? You won't get back any app data that isn't stored on the sdcard.
Thanks!
yes, now that makes sense, i recall reading that some where else to add extra APK to the ROMs
so it's the same idea, just without the ROM portion
now i get it
distortedloop said:
Take an existing update.zip type file. Add a folder to it with the full proper path for your apps you want to pre-install (typically this will be /data/app) and put all the apps in that folder. Should look something like this in a windows/mac explorer window:
Code:
META-INF
/com/google/android/updater-script
data
/app/myfirstapp.apk
/app/mysecondapp.apk
Then use a text editor to edit the META-INF/com/google/android/updater-script file to include the commands to copy over your stuff. It would something along the lines of:
Code:
ui_print("Installing New App Files to /data");
package_extract_dir("data", "/data");
Edit out anything in the update template you're working out of that you don't want to happen (ie., format or symlinks, etc).
Repackage the zip file and make sure nothing else got in there by mistake by re-opening it (like those pesky Mac .ds-store files).
You can re-sign it with the android tools, but I don't believe you need to with Clockwork.
I would have a fresh nandroid before testing anything, of course.
You feel this approach is better than just using Titanium to restore apps? You won't get back any app data that isn't stored on the sdcard.
Click to expand...
Click to collapse
Ya essentially this method is doingan advanced nandroid restore for data only except without the settings.
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
kenvan19 said:
Ya essentially this method is doingan advanced nandroid restore for data only except without the settings.
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
Click to expand...
Click to collapse
I suppose if you want the app data restored as well, you would just need to identify it's location in the /data directory and add it to the /data folder in the update you're making. Seems like most of the app data goes into /data/data.
Just thinking out loud here...
So for a sample app on my phone I have called jefit pro I'd put the following in the update file.
Code:
/data/je.fit.pro-1.apk <---apk itself
/data/data/je.fit.pro <--the folder
/data/data/je.fit.pro/databases/data
/data/data/je.fit.pro/lib
/data/data/je.fit.pro/preferences/preferences.xml
I'd just pull the whole folder for the /data/data/je.fit.pro from the phone via adb.
I'm not sure how useful putting the data back is, since that's not a static set of files on many apps, but for some apps where the data is just some settings or preference files it may be a nice touch.
I don't really see any advantage to this over just use Titanium to restore apps and data, but it should work.
(<<---- this would be the whole folder and its subfolders that I pulled via adb off the phone)
distortedloop said:
I don't really see any advantage to this over just use Titanium to restore apps and data, but it should work.
Click to expand...
Click to collapse
AllGamer, I'm glad you brought this up, while I don't personally have any apps I want to put on the phone in this method, except perhaps titanium itself, I just realized we could of course do the same thing for all those little custom tweaks we put on our phones, like for me I push my personalized ringtones/notification sounds to /system. That's easy enough with adb or rootexplorer, but why not just flash them from a zip while in CW after a wipe or install of a new rom?
distortedloop said:
AllGamer, I'm glad you brought this up, while I don't personally have any apps I want to put on the phone in this method, except perhaps titanium itself, I just realized we could of course do the same thing for all those little custom tweaks we put on our phones, like for me I push my personalized ringtones/notification sounds to /system. That's easy enough with adb or rootexplorer, but why not just flash them from a zip while in CW after a wipe or install of a new rom?
Click to expand...
Click to collapse
the idea came up from several places, first Titanium Backup itself offers to create a signed .zip installer for CW
and i've seen other devices forums with people packing up like 100+ apps/tweaks/mods into it to flash after CW is done flashing the new ROM
yes, of course we can use TI, i have TI pro and it's very easy, but Ti is slow.... at restoring 300+ Apps
but everytime i see CW restoring a Zip file or even a full Nandroid backup, it does it so fast and quickly, that i though... hell might as well keep an updated signed .zip wtih all my must have apps, and flash it along right after any new ROM flash (when testing out different Custom ROMs) then i don't need to spend like an hour everytime restoring + configuring the phones
i noticed that Ti works a hell of a lot faster if the apps are already installed, and you only need to restore the data.
and that is the main reason i want to compile a list of all the apps
once they are all installed, then i can use any of the good market utilities that can do mass Apps2SD and i'll be up and running in as quickly as 15min vs. a whole hour waste on a restore/config everytime you change the ROM
using Ti i found most of the System settings can be restored safely without corrupting the new ROM
email
accounts & syncs
bluetooth pairings
wifi
... ah shoot forgot the rest
only do not restore settings for:
launcher,
wireless network (phone company)
android market
and anything that has to do with default settings
probably this weekend i'll dissect the CW zip created by Ti itself, and add more to it
Sounds like a good plan...but you've got 300+ apps if I recall correctly. I imagine that will take a long time to restore either method!
The Titanium update zip is a good place to start. Use the setting to make it a "user" app and it will put it in /data, where you want the rest of your apps as well. You could just dump what you want right into the zip file there in the folder that has titanium's apk itself and not even worry about messing with the updater-script file.

Adventures in Flashing

Let me begin by stating that I am not an expert. What I am about to relate are my own experiences today. They may help answer some questions and raise others. Hopefully someone that knows more than me will jump in and add to this.
I loved my g-tab when I got it and reloaded it with tnt-lite. I was sad when I reflashed it to try vegan and all my apps were gone. This isn't necessary but I had no idea what I was doing in any orderly sense of the word. Since then there has been a great post with simple steps on how to flash a rom. http://forum.xda-developers.com/showthread.php?t=1016695 I happened to see the Woot announcement and jumped on it to get a second tablet to experiment with so I wouldn't mess up my original once I had gotten it to just where I wanted it (that too was probably not necessary as you will soon read).
Out of the box I setup the gtab and then installed the ota update to bring it up to current specs. Next I installed ClockworkMod and re-partioned he tab as described in the post cited above. Next I made a backup using ClockworkMod so I had a full backup of the original system. These got stored in a folder ClockworkMod/Backup (and it seems they have to be here if you want to restore them). Being a cautious kind of guy, I made a copy of the folder on my SDcard2. Also, being perhaps a bit more cautious, I plugged in the usb and copied the same folder to my PC for good measure.
Now, I made a folder on the g-tab called INSTALLS (you can call it whatever you want) and copied the various rom zip files into it. I also copied clemsyns newest kernel there for use with Calkulins 1.1 rom. I also copied Calkulin's Format-All zip file here as well http://forum.xda-developers.com/showthread.php?t=985705&highlight=calkulin's+rom
Initially, I was using ClockworkMod to wipe the partitions but it appears to me that Calkulin's FormatAll can do it all at once (correct me if I'm wrong) so I switched to using that.
So - Reboot, hold down the power and volume+ keys to start ClockworkMod. Click over to install zip from sdcard. Click to choose zip from sdcard. Browse to your INSTALL directory and there are all the zip files. Right now mine has tnt_lite_v4.40/, Calkulin's FORMAT_ALL.zip, Calkulin's_G-Tab_ROM_v1.1.zip, ClemsynFROYOVersion9.zip,gtab.VEGAn.1.00.beta5.1.user.final.zip and gtab.VEGAn.1.00.beta5.11.supp.zip
Select Calkulin's FORMAT_ALL and it reformats "critical" partitions. Once it finishes, come back here and choose a ROM to install. For the sake of discussion, choose the first - tnt_lite_v4.40/ Once it finishes installing, reboot and there you are with tntlite4.40. You'll still have to do the market fix as described in the installation instructions cited in the beginning of this post.
Now get it all set up the way you like, play around, etc. and then do this. Boot up to ClockworkMod and make a backup. When it is done you can boot back up into tnt_lite or whatever ROM you've installed. Use a file explorer and you'll find the clockworkmod folder and inside you will find a folder named backup and inside is your backup. I copied it to my SDCard2 and also to my PC for safe keeping.
Now you can rinse and repeat as needed for all the other roms you want to try. So format, install rom, configure it then back it up with Clockwork Mod. When you've done all the roms you want you can just restore any one you feel like using. Remember - you are restoring from the clockworkmod/backup folder, not the INSTALL folder. Also, the names of the backups are like datestamps so write down which is which if you have several. I have a little text file in the directory that I update to keep track of which is which.
It seems pretty simple and perhaps there is something I've missed but so far I've installed, backed up and restored several roms and this has worked without a hitch. Oh - the backups seem to have checksums or something because a backup of one g-tab won't restore on another.
I hope this helps some of you that are playing around like I am without a full understanding of how everything works but still determined to try stuff. Again, anyone with more information and knowledge to add, please leave your comments.

Help please! Phone wont boot. Need adb expert.

Hey all. I did something silly and deleted a file in system/bin folder while troubleshooting a problem. I made a backup of the file before deleting it in sdcard/download but my phone wont boot so I can copy the backup file back to system/bin. I am able to get my phone into download mode and I believe I could copy the file via adb. However I do not know how to get adb to recognize the phone in download mode. I type...
adb devices
and it states "List of devices attached" and there is nothing under the list but when I plug my phone via USB it shows "SAMSUNG Mobile USB CDC Composite Device" in device manager so I know my pc is recognizing it. I have used adb before with batch files like 1click root and things like that so I know its just me not knowing the right commands to get my device recognized.
Any and all help is appreciated! I just need to copy 1 file from sdcard/download to system/bin and I would assume it would boot back up with no problem!
Thanks!
do u have cwm installed?
I just installed CWM v5.5.0.4 via download mode using this method. http://www.theandroidsoul.com/skyrocket-root-clockworkmod-cwm-recovery/
So now that I am in CWM I am trying to mount things like /system and it shows an error mounting /sdcard and I get that error messaging for mounting all except mount usb storage which works great. I was however able to get the file off my phone but now how do I get the file back to system/bin?
Yes.. you can (and really should) flash CWM from download mode via your PC/laptop. A few weeks ago I did something very similar and soft-bricked my SR by renaming an in-use file (framework-res.apk)... I also only had 3e, so couldn't just restore a nandroid or flash a rom zip. Go to the Dev section and find the thread by Copperhed ("Root the ATT SGH-I727 Skyrocket..."). read through the OP and follow instruction exactly. You will be Odin3 flashing just the CWM recovery partition... this will NOT trip your flash counter. If you are already rooted, you should retain root... if not, you can root via his OP. After you have CWM recovery, there's a way you can mount the sdcard so you can transfer files between your PC and SR... then, you can put the sbin file back and see if it reboots fine... if not, with CWM installed, you can flash (via zip.. not Odin) any rom/kernel/modem zip package you want.
Even though I installed CWM from a different source I thanked you anyways DoctorQMM! Now that I have CWM installed how to I transfer the file from my pc to the system/bin directory? I have been able to mount usb storage and it show up as a drive on my pc but when I mount /system nothing shows up. What am I missing?
Thanks for all your help! I am almost there! ^_^
hey, I recommended it first . Seriously though, download a kernel from the dev section, any kernel. Open it up in winrar, winzip, etc... and delete everything except the system folder. Now take the bin file u copied to ur computer and put it in a folder called bin. Put this bin in the kernel zip inside the system folder. Now delete everything else in the system folder. Put this file on a microsd, slip it in ur phone and flash it through cwm. this will put the bin back, and allow u to reboot phone
JDub... PM cdshepherd.... he's the one who shared with me you can use the mounts and storage option in cwm (then click "mount USB storage")... then you can copy files between your sd and computer without having to do what I did (which was pull external sd out of SR, mount in micro adapter, plugged into laptop and loaded files on the sd... then put sd back in phone.. booted into CWM and flashed the rom zip I put on there). Yes.. you are close! If you can't get that one file back to sbin on root, you could try to flash a stock rom/kernel zip (KK1 or LA3)... you only need to put that rom/kernel zip on your sd or external sd so CWM will see it.
icenight89 your right you provided the inspiration so I thanked you as well and appreciate the explanation. I will perform it now and see where I get. Let me understand this correctly in steps..
1. Download a kernel, any kernel.
2. Open it up, delete everything except the system folder.
3. Create a folder named bin and put the backed up file in the bin folder.
4. Delete everything else within the system folder except the bin file and bin folder. So it should be /system/bin/xxx.file
5. Put this on a microsd card and flash it through cwm. I assume I do this by selecting "install zip from sdcard?"
Thanks for the continual help! ^_^
I am having trouble with the kernel part. I downloaded a i727 kernel from here http://forum.xda-developers.com/showthread.php?t=1340114&page=2. Opened it up and it has boot.img in it. Am I missing something?
Alright. I downloaded the kernel from here http://www.mediafire.com/?85g701ate11zdc9. The kernel contained a folder named system and deleted everything else. I then added the folder bin and added the backed up file I deleted to the system/bin/ directory. I then mounted usb storage via CWM and put the new .zip in there. I then selected "install zip from sdcard", "choose zip from internal sd card" located the zip file and selected "yes." I then get the following read outs...
Installing update...
Installation aborted.
--Installing: /emmc/sgh-1727-skyrocket-att-original-kernel_2.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
So it looks like it is not installing. Am I doing something wrong?
wrong kernel, download this one:
http://faux.androidro.ms/sky-kernel-010b1.zip
delete everything from in there except system folder, including boot.img, and follow instructions again, should work
JDubbed said:
icenight89 your right you provided the inspiration so I thanked you as well and appreciate the explanation. I will perform it now and see where I get. Let me understand this correctly in steps..
1. Download a kernel, any kernel.
2. Open it up, delete everything except the system folder.
3. Create a folder named bin and put the backed up file in the bin folder.
4. Delete everything else within the system folder except the bin file and bin folder. So it should be /system/bin/xxx.file
5. Put this on a microsd card and flash it through cwm. I assume I do this by selecting "install zip from sdcard?"
Thanks for the continual help! ^_^
Click to expand...
Click to collapse
these steps are exact, nice
Unfortunately I get the same error message with the kernel you supplied. x.x
010b1.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Are you sure I can just delete and add stuff like that and It will work? I mean it makes sense to me but since it keeps aborting there may be something crucial missing that I need to keep in the .zip file. Any ideas?
Here is a link of my modified zip. http://dl.dropbox.com/u/6778642/Android/sky-kernel-010b1.zip
pm me when u get a chance
JDubbed said:
Unfortunately I get the same error message with the kernel you supplied. x.x
010b1.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Are you sure I can just delete and add stuff like that and It will work? I mean it makes sense to me but since it keeps aborting there may be something crucial missing that I need to keep in the .zip file. Any ideas?
Here is a link of my modified zip. http://dl.dropbox.com/u/6778642/Android/sky-kernel-010b1.zip
Click to expand...
Click to collapse
download a rom from Dev section. Doesn't matter which one. Try silvers rom you'll like it. Mount USB storage in cwm. Copy rom to sd. Eject SD from computer. Go back to main menu in cwm. Wipe data/factory reset. Wipe cache partition. Wipe dalvik cache(under advanced in cwm) format system under mounts and storage. Back to main menu in cwm. Install zip from sdcard. Choose zip(rom) you just placed on your SD. Flash it. Reboot device. Enjoy. And make a nandroid after it boots for the first time.
Sent from my SAMSUNG-SGH-I727 using xda premium
Did you make a cwm backup of rom you were using prior to this?
Sent from my SAMSUNG-SGH-I727 using xda premium
No, I did not make a nandroid backup. I had to install CWM from download mode and then I was able to get into CWM all without booting.
I appreciate your time in writing a solution however I am not interested in wiping everything and starting from scratch which is what your proposing. I simply deleted a file in system/bin named mediaserver so system/bin/mediaserver. When I rebooted the phone would not boot. I made a backup of the mediaserver before deleting it and placed it in the sdcard/download folder. All I need to do is copy the mediaserver file back to system/bin/ directory and phone should boot backup as if nothing ever happened. That's is how I understand it. Its just missing a file and I know what the file is and I have the file I just need to figure out how to copy it back over to where it belongs.
I do know how to install stock and other roms but after spending numerous hours on my first phone, SGS Captivate, to experience others roms like Darky's Rom the end result was that it was not worth me having to keep up with all the releases and bug fixes, loading in working kernels to make things work correctly and the like. I would rather just stick with stock. Its just a personal preference.
If anyone knows how to copy a file from my pc or from internal sdcard to my Skyrocket using Download mode or ClockWorkMod using any means but without wiping my data please let me know. Eventually if I do not get a solution I will be forced to revert back to the stock rom but I would rather leave that as a last resort.
I look forward to any other suggestions!
Thank you!
Without the ability to push/pull with adb your running out of solutions. I do hope that you get your skyrocket up and running no matter what method you use. And I do hope that someone with the ability comes along to help you. My way is prob the easy way out. If it were me ide cut my losses. Start from scratch, and try to figure out where my prob starts. Good news is there is a great community with plenty of help. Good luck mate.
Sent from my SAMSUNG-SGH-I727 using xda premium
Since my zip suggestion didn't work, try flashing a different kernel, romracer stockish 0.3 is a good choice, from cwm
JDubbed said:
No, I did not make a nandroid backup. I had to install CWM from download mode and then I was able to get into CWM all without booting.
I appreciate your time in writing a solution however I am not interested in wiping everything and starting from scratch which is what your proposing. I simply deleted a file in system/bin named mediaserver so system/bin/mediaserver. When I rebooted the phone would not boot. I made a backup of the mediaserver before deleting it and placed it in the sdcard/download folder. All I need to do is copy the mediaserver file back to system/bin/ directory and phone should boot backup as if nothing ever happened. That's is how I understand it. Its just missing a file and I know what the file is and I have the file I just need to figure out how to copy it back over to where it belongs.
I do know how to install stock and other roms but after spending numerous hours on my first phone, SGS Captivate, to experience others roms like Darky's Rom the end result was that it was not worth me having to keep up with all the releases and bug fixes, loading in working kernels to make things work correctly and the like. I would rather just stick with stock. Its just a personal preference.
If anyone knows how to copy a file from my pc or from internal sdcard to my Skyrocket using Download mode or ClockWorkMod using any means but without wiping my data please let me know. Eventually if I do not get a solution I will be forced to revert back to the stock rom but I would rather leave that as a last resort.
I look forward to any other suggestions!
Thank you!
Click to expand...
Click to collapse
Based on your first post, I don't think your pc is FULLY installed your device. Download mode requires additional drivers.........adb devices should return a serial number.
I have not tried adb on my skyrocket...I will do that for your sake and reply with my experience..

Extracting/Browsing a TWRP Backup?

So, I just flashed CleanROM 4.5. Everything went smoothly, except I've lost all my sms/mms messages from both Go SMS and the default Messaging app.
I have a TWRP backup here on the computer, as well as a TiBu backup of all user apps.
I can't seem to find the SMS database in the TiBu backup at all, and I can't figure out how to browse the TWRP backup to find it.
Nandroid Explorer doesn't read TWRP backups either...
Anyone have a solution?
silentecho13 said:
So, I just flashed CleanROM 4.5. Everything went smoothly, except I've lost all my sms/mms messages from both Go SMS and the default Messaging app.
I have a TWRP backup here on the computer, as well as a TiBu backup of all user apps.
I can't seem to find the SMS database in the TiBu backup at all, and I can't figure out how to browse the TWRP backup to find it.
Nandroid Explorer doesn't read TWRP backups either...
Anyone have a solution?
Click to expand...
Click to collapse
Not sure if it's available in the Free Version but Titanium Backup allows you to extract from a Nandroid backup.
I just checked and it gave me a listing of all the apps I have installed and there was one listed as Messages, I can only assume that it's my texts.
Yes I do have the paid version. I tried restoring both Go SMS and the Messages app from TiBu using my TWRP backup, but they basically just reinstall the app. I still have no messages in either app :/
I didn't realise TiBu was Titanium - how retarded of me... haha
Any chance of backing this one up restoring the other nandroid and then backing up the txt's from within the stock messaging app then restoring?
Unless someone else knows how open .win files
I did think of that, but I don't want to run the risk of a corrupted restore. I've had it happen s bunch of times, unfortunately.
Sent from my HTC One X using xda premium
silentecho13 said:
So, I just flashed CleanROM 4.5. Everything went smoothly, except I've lost all my sms/mms messages from both Go SMS and the default Messaging app.
I have a TWRP backup here on the computer, as well as a TiBu backup of all user apps.
I can't seem to find the SMS database in the TiBu backup at all, and I can't figure out how to browse the TWRP backup to find it.
Nandroid Explorer doesn't read TWRP backups either...
Anyone have a solution?
Click to expand...
Click to collapse
Yep, it's fully possible. Just get the nandroid backup file, and make a copy and change the extension to .zip After that just unzip, and volia. A bit of searching (should be in the apps file, I forgot the details).
Sent from my HTC One XL using xda premium
TheNightHawk223 said:
Yep, it's fully possible. Just get the nandroid backup file, and make a copy and change the extension to .zip After that just unzip, and volia. A bit of searching (should be in the apps file, I forgot the details).
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
....so I saw this too late.
I went and restored my backup, grabbed the files, and restored the new backup hoping that neither were corrupted.
It all went smoothly, but I'll definitely remember this for the next time I mess up...haha.
Thanks!
silentecho13 said:
....so I saw this too late.
I went and restored my backup, grabbed the files, and restored the new backup hoping that neither were corrupted.
It all went smoothly, but I'll definitely remember this for the next time I mess up...haha.
Thanks!
Click to expand...
Click to collapse
Glad I could help, almost everything that uses the term "compressed" seems to be able to be turned into a .zip
Sent from my HTC One XL using xda premium
Sorry I'm not following this. I made a twrp backup using 2.5.0.0 and I got a bunch of .WIM files.
7-Zip recognizes those and opens them to have a .ext4 file. However every ext browser and mounter (in windows) I've tried can't seem to browse them. I tried renaming them zip, but I'm guessing I'm doing something wrong.
With old CWM releases, my backups were tars which were easily browsable.
Am I missing something?
Thanks!
eldamobo said:
Sorry I'm not following this. I made a twrp backup using 2.5.0.0 and I got a bunch of .WIM files.
7-Zip recognizes those and opens them to have a .ext4 file. However every ext browser and mounter (in windows) I've tried can't seem to browse them. I tried renaming them zip, but I'm guessing I'm doing something wrong.
With old CWM releases, my backups were tars which were easily browsable.
Am I missing something?
Thanks!
Click to expand...
Click to collapse
I know this is an old post, but it's the first Google result.
What you want to do is rename the .wim file to .tar.gz, then extract the file (command line is tar -xvzf filename.tar.gz). If you look at the TWRP logs it indicates that it uses tar to create the archive file.
uberamd said:
I know this is an old post, but it's the first Google result.
What you want to do is rename the .wim file to .tar.gz, then extract the file (command line is tar -xvzf filename.tar.gz). If you look at the TWRP logs it indicates that it uses tar to create the archive file.
Click to expand...
Click to collapse
Thanks uberamd. I'll give this a shot. I guess I should have checked the logs. Tar would be great!
hi there.. i made backup too.. now i want to bring back the boot.img and recovery.img..
most of guys said to me the " boot.emmc.win " is the stock boot.img.. but this one is 16 MB and other boot.img i saw till now are 6 MB..
and how can i restore the stock recovery? does the backup contain the recovery?
any idea?
N5 TWRP Backups
I made a backup with TWRP, and copied the .WIN files to my PC. Tried renaming those to .ZIP or .tar.gz, but 7zip could not open either of those!?
Are you guys sure the backups are actual zip or tar/gz files?
EDIT: Nevermind, I renamed to .tar and it opened. I suppose compression is not enabled by default
Except the data.ext4 is splitted in two files: data.ext4.win000 and data.ext4.win001 and renaming either of those to .tar, .zip or .tar.gz doesn't help
Just a guess here but what if you concatenated the files together?
If you can post the details from the twrp log that would also probably help.
eldamobo said:
Just a guess here but what if you concatenated the files together?
If you can post the details from the twrp log that would also probably help.
Click to expand...
Click to collapse
Yes concatenating can help however all those .WIN files are either .tar files or .tar.gz (if compression is enabled). That's quite simple in the end, except that 7zip doesn't always recognize the format properly. If I open the system.win file, it only shows about 60MB of files, whereas the whole .win file is 600MB uncompressed, hence I was confused about the format.
I've been able to update my app to read those .tar, .tar.gz and extract any file from it now Pretty cool!
Be advised though, for some reason when I rename the backup to .tar or .tar.gz for twrp 2.6.3.1, it doesn't want to open or extract. I don't know if it's only happening only for t-mobile sgs3 or the developer removed the ability for us to do it. But I did revert it back 2.6.3.0 and it's working fine for me. Thought I want to just throw it out there.
-VIPLightning
VIPLightning said:
Be advised though, for some reason when I rename the backup to .tar or .tar.gz for twrp 2.6.3.1, it doesn't want to open or extract. I don't know if it's only happening only for t-mobile sgs3 or the developer removed the ability for us to do it. But I did revert it back 2.6.3.0 and it's working fine for me. Thought I want to just throw it out there.
-VIPLightning
Click to expand...
Click to collapse
That's interesting. Which app are you using to open those TWRP backups? Asking because I found out that many extractor are unable to open those in the first place! 7zip for example showed me a 80MB content while the file was 600MB! And I'm using a very old 2.6.0.0 TWRP, so I got to try this last version out
Would you mind trying Android Tuner Free, last update allows opening those .tar and .tar.gz files, but got to rename the TWRP backup to either of those first. It won't open the tar inside the gz file, but you should be able to extract it and then open it If you don't have the time, I can understand, but hopefully you still have a 2.6.3.1 backup file around?
3c said:
That's interesting. Which app are you using to open those TWRP backups? Asking because I found out that many extractor are unable to open those in the first place! 7zip for example showed me a 80MB content while the file was 600MB! And I'm using a very old 2.6.0.0 TWRP, so I got to try this last version out
Would you mind trying Android Tuner Free, last update allows opening those .tar and .tar.gz files, but got to rename the TWRP backup to either of those first. It won't open the tar inside the gz file, but you should be able to extract it and then open it If you don't have the time, I can understand, but hopefully you still have a 2.6.3.1 backup file around?
Click to expand...
Click to collapse
I should have no problem giving it a try. Yeah I deleted my backup. I'll go ahead and update the recovery when I get a chance to later on. Then I'll make another backup And the program I used for extracting and opening was WinRAR. Everytime I tried to, the 2.6.3.1 backup would always come up as corrupted or damaged.
EDIT: So I tried out your app. Indeed the explorer does work. Thanks so much. Even though first it took some time, I was able to get to my stuff. But it was worth it. I've never seen an app that can actually do so much. Thanks again.
-VIPLightning
What are WIN files?
Along with win and md5 files TWRP creates recovery.log file. If you look inside this file, you can see the full log of what TWRP has done. There you can notice that win file with the boot partition is in fact a result of the dd command, so that's a bit-to-bit copy of the boot partition, sometimes named as .img file.
Other partition win files are tar files. If you used compression, you got .tar.gz files.
So .win files are raw partition data, .tar, or .tar.gz files. See recovery.log
If you use compression in TWRP, just rename the .win to .tar.gz
i.e data.ext4.win to data.ext4.tar.gz , then use tar -xvzf , extracts perfectly fine.
I used this to extract my apps from a TWRP backup just now.

Help please! phone won't boot

So I think I made a stupid mistake.
I was trying to reset google wallet and It hung at 97% and wasn't able to reset. I used the google wallet installer to basically change my build prop to the nexus build prop. I figured it would just overwrite my original wallet app anyway, and once my build prop was changed to the nexus build prop I could simply reset the app from there.
Anyways, phone rebooted and it's stuck in a bootloop and isn't getting passed the boot animation screen. I can get into recovery mode and download mode just fine. I tried restoring a backup I had with CWM and it says "md5 mismatch error". I really have no idea what to do at this point, and would rather not go completely to stock since I know my data is still there. Also I'm concerned to even restore a backup because i'm pretty sure my build prop was changed. I'm also wondering if it would be possible to simply factory reset and flash a new rom on top of it.
Any help would be greatly appreciated.
which rom are you using?
extract its build.prop and flash manually (if you know how to create a flashable zip)
if you are using a cm based rom, just reflash the rom without deleting anything..
and avoid using space while renaming backups... it gives md5 mismatch error
Khizar Amin said:
which rom are you using?
extract its build.prop and flash manually (if you know how to create a flashable zip)
if you are using a cm based rom, just reflash the rom without deleting anything..
and avoid using space while renaming backups... it gives md5 mismatch error
Click to expand...
Click to collapse
No idea how to create the flashable zip. However I did notice a tutorial, I guess now would be a good time to learn.
I'm using darthstalker X1, it's a touchwiz based rom so I can't simply flash the rom again.
I saved all of my backups on my external SD card, can I just simply hook it up to my computer and change the backup names? And is my build.prop included in the backup I made?
Thank you for responding.
BadUsername said:
No idea how to create the flashable zip. However I did notice a tutorial, I guess now would be a good time to learn.
I'm using darthstalker X1, it's a touchwiz based rom so I can't simply flash the rom again.
I saved all of my backups on my external SD card, can I just simply hook it up to my computer and change the backup names? And is my build.prop included in the backup I made?
Thank you for responding.
Click to expand...
Click to collapse
renaming the backups again might not fix
i believe to have seen a script for sgy which fixes md5 mismatch error. but you need to give commands from terminal emulator.
if you have more than one backup of the rom, try to restore system only
if any one of them works your phone will boot up again
Edit: your backups contain the build.prop file in system.(partition type).tar
just extract this
and partition type may be rfs or ext4
Khizar Amin said:
renaming the backups again might not fix
i believe to have seen a script for sgy which fixes md5 mismatch error. but you need to give commands from terminal emulator.
if you have more than one backup of the rom, try to restore system only
if any one of them works your phone will boot up again
Edit: your backups contain the build.prop file in system.(partition type).tar
just extract this
and partition type may be rfs or ext4
Click to expand...
Click to collapse
No idea how that is even done. I think I need windows and ADB in order to extract the build.prop, I have a mac.
I found a restore that worked, I just forgot to rename it and it wasn't too old thankfully.
I really appreciate you helping. And now I know of this mismatch error so I can name my backups correctly.
BadUsername said:
No idea how that is even done. I think I need windows and ADB in order to extract the build.prop, I have a mac.
I found a restore that worked, I just forgot to rename it and it wasn't too old thankfully.
I really appreciate you helping. And now I know of this mismatch error so I can name my backups correctly.
Click to expand...
Click to collapse
to extract backups u need a tar extractor
if the backup format is something like .tar.a or .tar.md5 rename it to .tar first
and restoring the system only of your working backup would have booted your phone (in advance restore in recovery)
anyway this was an experience too for you.. so you would be carefull next time
Khizar Amin said:
to extract backups u need a tar extractor
if the backup format is something like .tar.a or .tar.md5 rename it to .tar first
and restoring the system only of your working backup would have booted your phone (in advance restore in recovery)
anyway this was an experience too for you.. so you would be carefull next time
Click to expand...
Click to collapse
Restoring my system partition only from advanced restore worked perfectly. All my apps stayed how they were and I didn't have to update all of my apps after I restored. Way better than doing a full restore in this case.
Thank you for this advice, this will be a very helpful method to me if I make any mistakes while messing with anything in my system folder. And yes, it was certainly an experience for me.
Sent from my SCH-I535 using Tapatalk 2

Categories

Resources