Extract files from nandroid backup? - G1 Android Development

Is it possible to extract/access files from a nandroid img file?? like unzip it or something? Thanks...

Yea. Using unyaffs. Download zip below. Then extract to a directory. Put the nandroid img files in the folder. Then open command prompt and cd to the directory it's in. Then use the command "unyaffs system.img" . That would be an example on extracting the system.img.
Download: http://bit.ly/eXA7jS

personally i dont even like the idea of this seems too thief friendly IE. confidential information on your phone, remove via nandroid, ........ profit?

themapleboy said:
personally i dont even like the idea of this seems too thief friendly IE. confidential information on your phone, remove via nandroid, ........ profit?
Click to expand...
Click to collapse
True, but its on the SDcard, unless someone somehow had an app in their system to do something with the nandroid image, no one can get ahold of it unless they have your phone, well if they have your phone to begin with.....yeahh....

themapleboy said:
personally i dont even like the idea of this seems too thief friendly IE. confidential information on your phone, remove via nandroid, ........ profit?
Click to expand...
Click to collapse
how many apps do you give root to?
anyone of them could upload a 30-80mb data.img for someone to be able to read your gmail
so, yeah you are right to be paranoid

Firerat said:
how many apps do you give root to?
anyone of them could upload a 30-80mb data.img for someone to be able to read your gmail
so, yeah you are right to be paranoid
Click to expand...
Click to collapse
yh i would not think twice if an app asked for root ... now i will

Related

Application Transfer

Is it possible to pull an app out of a Nandroid Backup and copy it into the current rom? Just one of those random thoughts!
teenum said:
Is it possible to pull an app out of a Nandroid Backup and copy it into the current rom? Just one of those random thoughts!
Click to expand...
Click to collapse
yeah if you know how to open the system.img
teenum said:
Is it possible to pull an app out of a Nandroid Backup and copy it into the current rom? Just one of those random thoughts!
Click to expand...
Click to collapse
As long as they're not protected, you could just make backups of all your apps(using ES, Astro, etc.) and then theyd be on your sd card. Then you could just re-install them on any ROM you want. It'd be a lot easier.
how do you open the system img? I am windows user not familiar with linux or android codes.
teenum said:
how do you open the system img? I am windows user not familiar with linux or android codes.
Click to expand...
Click to collapse
it's not android code; it's linux. you have to unyaffs it using a linux box.
gomorrah said:
As long as they're not protected, you could just make backups of all your apps(using ES, Astro, etc.) and then theyd be on your sd card. Then you could just re-install them on any ROM you want. It'd be a lot easier.
Click to expand...
Click to collapse
it sounds more like he was asking cause there might be an older app version on a nandroid backup as opposed to just backing the current apps. also you can backup protected apps if you really wanted to.
theresthatguy said:
it sounds more like he was asking cause there might be an older app version on a nandroid backup as opposed to just backing the current apps. also you can backup protected apps if you really wanted to.
Click to expand...
Click to collapse
Sorry, I wasn't too clear on what I meant. Since he has the nandroid, he could just restore the old backup, and make a copy of the app. Then restore to his current set up and then use the File Manager. If it was an older version of an app that he's currently using, then he'd have to clear the newer one out first of course. Not everybody has a Linux box.
gomorrah said:
Sorry, I wasn't too clear on what I meant. Since he has the nandroid, he could just restore the old backup, and make a copy of the app. Then restore to his current set up and then use the File Manager. If it was an older version of an app that he's currently using, then he'd have to clear the newer one out first of course. Not everybody has a Linux box.
Click to expand...
Click to collapse
Two words: live distro
theresthatguy said:
Two words: live distro
Click to expand...
Click to collapse
you mean like a "live CD"?
There's an unyaffs for Windows, too. (Download from my Dropbox: http://dl.dropbox.com/u/1161808/unyaffs.exe)
Just make a temp/working directory, copy the system.img file from your nand backup into it, copy or move unyaffs.exe into that same directory, drag the img file onto unyaffs.exe in Explorer. Wait a few moments for the window to refresh and unyaffs to finish.
Ta-dah.

Stock .apk's backup

Has anyone backed up the stock applications? I accidentally deleted audiotuning.apk and want to put it back, even though I haven't determined what it's for. If anyone has backed these up to their desktop, I would greatly appreciate it if someone could send it to me so I don't have to reinstall.
Coming from a lifetime use of Blackberry, it seems we can't fix our mistakes as easily on Android
dmasjz45 said:
Has anyone backed up the stock applications? I accidentally deleted audiotuning.apk and want to put it back, even though I haven't determined what it's for. If anyone has backed these up to their desktop, I would greatly appreciate it if someone could send it to me so I don't have to reinstall.
Coming from a lifetime use of Blackberry, it seems we can't fix our mistakes as easily on Android
Click to expand...
Click to collapse
Attached.
I use the Sdx Stock App to backup and delete system apps. If you're rooted it's invaluable.
apogee82 said:
Attached.
I use the Sdx Stock App to backup and delete system apps. If you're rooted it's invaluable.
Click to expand...
Click to collapse
Thank you!!!!
It seems I can't copy this over to system\apps. Looks like the .odex was deleted also. Could you please attach this for me too? Hoping that will do it. I'm rooted so I don't know why it's not showing up (using root explorer)
Or do I have to do this using adb ?
I am going to zip all these up and post them on here for other morons like me after
dmasjz45 said:
Looks like the .odex was deleted also. Could you please attach this for me too?
Click to expand...
Click to collapse
Rename it to .odex it's not really a zip file. I had to name it that to get around the forum limitations.
I'm pretty sure you have to do it using ADB and mount the system/app directory as writable. If you install the Sdx tool you can backup a few apps, then navigate to the sdx directory on the sdcard that gets created and manually add the audioTuining files in there and then restore them using the Sdx app.
That's a long way around ADB but it should work.
Thanks again!!!
Jeeze what a hell of a job it is to push a few files to /system folder
Anyway, got them over there...Unavailable to actually install it (no idea why) but at least it's sitting back in there
That takes care of my OCD until I notice what it affected
where can i find that sdx tool? are there any other free apps out there that I can back up my phone with?
I'd be most grateful if someone could attach VoiceSearch.apk, and VoiceSearch.odex.
Accidentally deleted.
infamousjax said:
I'd be most grateful if someone could attach VoiceSearch.apk, and VoiceSearch.odex.
Accidentally deleted.
Click to expand...
Click to collapse
do you mean voicedialer.apk and .odex? I don't see VoiceSearch
Edit:
the .odex file is in the rar
DevilDogVIKING said:
where can i find that sdx tool? are there any other free apps out there that I can back up my phone with?
Click to expand...
Click to collapse
Attached to second post.
apogee82 said:
Attached to second post.
Click to expand...
Click to collapse
I can't believe I missed that, thanks
can someone upload the Sprint_App_Updater.apk?
You can get them all here
http://forum.xda-developers.com/showthread.php?t=773142

[Q] Can you rename Rom backup folders?

noob question i know however just a quick one,
can you rename nandroid backup folders with messing up md5sum ?
i load a ton of roms on the regular [a junkie i know] basis and get flustered when i have tons of backups but they are all dated
great question i also would like to know never had the balls to try cuz it says something about messing it up i know in rom manager u can under manage and restore (i think) also rom manager doesnt see ur cwm backups i usually go through ando zip but yea id def like to kno
Suprah said:
noob question i know however just a quick one,
can you rename nandroid backup folders with messing up md5sum ?
i load a ton of roms on the regular [a junkie i know] basis and get flustered when i have tons of backups but they are all dated
Click to expand...
Click to collapse
I don't know if you can rename the folders themselves, but you CAN rename the backup file itself. I use Root Explorer to do this. Just make sure you don't put any spaces in the new file name. You can use dashes and underscores to separate words and numbers, though.
Someone in the past said you can download mand5 to generate a new md5 sum, but I haven't tried it.
@visedmonk do u think andro zip will work it says it will let me rename then i click on that and it says change to file extension can make file unusable and i dont space any letters for instance il put cm for (cyanogenmod) rite next to the numbers havent had the balls to try it
sarni84 said:
@visedmonk do u think andro zip will work it says it will let me rename then i click on that and it says change to file extension can make file unusable and i dont space any letters for instance il put cm for (cyanogenmod) rite next to the numbers havent had the balls to try it
Click to expand...
Click to collapse
I dunno. I've never used andro zip. Only one way to find out...
But seriously, it should work. To be safe, though, make a copy of the file you want to rename and place the copy with the unaltered name on your computer or sd card or whatever. Then you can rename the file and see if it works. If it does, great. If it doesn't, you still have the backup you need.
Suprah said:
noob question i know however just a quick one,
can you rename nandroid backup folders with messing up md5sum ?
i load a ton of roms on the regular [a junkie i know] basis and get flustered when i have tons of backups but they are all dated
Click to expand...
Click to collapse
Don't know if you're using "nandroid" generically to refer to both the true nandroid as well as CWM but I rename CWM backup folders all the time and have never had trouble restoring them. I've done it from ROM Manager, via a file manager and also via ADB.
short/y said:
Don't know if you're using "nandroid" generically to refer to both the true nandroid as well as CWM but I rename CWM backup folders all the time and have never had trouble restoring them. I've done it from ROM Manager, via a file manager and also via ADB.
Click to expand...
Click to collapse
im talking about the folder not the actual files in the folder.
i just want to organize my roms so i can always jump between each
@suprah name it like this ex, 2011-06-16.05.57.13.....
you want...2011-06-16.05.57.13gingerbread ? rite well when i try that in andro zip it sayin it will make file unusable.... n i guess i will have to try and i always used to use rom manager and just go to manage and restore backups but its different with this phone especially cuz rom mana doesnt see cwm i guess?
Suprah said:
im talking about the folder not the actual files in the folder.
i just want to organize my roms so i can always jump between each
Click to expand...
Click to collapse
Yup, that's exactly what I'm talking about. I rename the folders all the time and have no problems restoring.
short/y said:
Yup, that's exactly what I'm talking about. I rename the folders all the time and have no problems restoring.
Click to expand...
Click to collapse
alright welp as long as you rename the folder without any spaces, then there would be no problem with restoring nandroid backups
nice nice will try soon cuz yea i have like 6 backups on here n was writing the date down with a name lmao
I renamed the folder once and couldn't restore. It was making a reference to the md5 file.
What I did to fix the backup is rename the folder again but this time without spaces and then it let me restore without any problems.
Now my Nandrioids are all organized
Hope that helped
Sent from my Bionix 2 - A TeamWhiskey Production using XDA App
the stock rooted nandroid restore that's posted in the dev section is renamed to LG-P999-V10f. it's not the typical date format. and alot of people have used it. so the answer is ....yes.
crazythunder said:
the stock rooted nandroid restore that's posted in the dev section is renamed to LG-P999-V10f. it's not the typical date format. and alot of people have used it. so the answer is ....yes.
Click to expand...
Click to collapse
jus making sure, im not a dev so i assumed that was possible with some code editing
moshe22 said:
I renamed the folder once and couldn't restore. It was making a reference to the md5 file.
What I did to fix the backup is rename the folder again but this time without spaces and then it let me restore without any problems.
Now my Nandrioids are all organized
Hope that helped
Sent from my Bionix 2 - A TeamWhiskey Production using XDA App
Click to expand...
Click to collapse
Could be there's a coding error in the recovery code and stops parsing the directory name when it hits a space. The md5 file only references the individual files not the directory.
In general it's better to stay away from spaces in file and directory names. Back in the early days of *nix spaces were verboten and there are still some vestigial issues lurking either in the code or in the coding habits of some people. It's rare but it does happen. Hyphens, underscores, periods are all OK though.
Sent from my Xoom using Tapatalk
If after you rename the folder you get an md5 error. This http://forum.xda-developers.com/showthread.php?t=714114 can help you fix it.
BE SURE AND READ THAT POST COMPLETELY
It's imperative that one not generate an md5 sum for a nandroid that is actually corrupted. That will wreak all kinds of havoc on your system.
ONLY PERFORM THE ABOVE IF YOU KNOW ITS NOT RESTORING DUE TO A NAME CHANGE
EDIT: For the record, the above commands can be performed from terminal emulator if you know what bits to leave out. Saved me a few steps.
I rename all of my nandroid backups. They are easy to get confused otherwise. The only thing I change is the year in the date, and leave the month/day alone.
Sent from my LG-P999 using XDA Premium App
Yea I downloaded the Stock Nandroid and loaded it. I renamed the folder and got a MD5 error. Now I'm not sure it if was because of the rename or because it was a bad download to begin with.
I think I still have the file on my pc and possibly find the MD5 checksum before copying it over this time.
player911 said:
Yea I downloaded the Stock Nandroid and loaded it. I renamed the folder and got a MD5 error. Now I'm not sure it if was because of the rename or because it was a bad download to begin with.
I think I still have the file on my pc and possibly find the MD5 checksum before copying it over this time.
Click to expand...
Click to collapse
Most likely because you renamed it
Sent from my LG-P999 using XDA App

Best way to backup the EFS folder

So what is the best way to back it up?
Please don't tell me to copy and paste it with a file manager
I hate to tell you this. Copy it with a file manager then transfer it to your computer. It's how you do it.
Honestly I've never had success backing up the efs folder. Every time I tried with any file manager it always failed to copy the IMEI.
Sent from my SGH-T959V using xda app-developers app
cpkelley94 said:
Honestly I've never had success backing up the efs folder. Every time I tried with any file manager it always failed to copy the IMEI.
Click to expand...
Click to collapse
Use Super Manager. I've restored mine with it before.
tar or cpio -- Using zip or anything related to Windows, especially a text editor, is just asking for trouble.
# cd /efs
# tar cvf /sdcard/my_efs_backup.20120816.tar .
then copy my_efs_backup.20120816.tar off your microSD and put it somewhere safe
Jeff... I'm not a Linux guy more of a Windows guy but am I suppose to put that in the terminal on the phone? And hechoen aren't there folder permissions involved when you put back the file?
I know there are apps that backup your efs but can I use them? Also somewhere in a thread there is a flash able zip that backups your efs, can it work with ics
I spent a few bucks and bought root explorer...no problems.
Shortbus-Driver said:
I spent a few bucks and bought root explorer...no problems.
Click to expand...
Click to collapse
Yeah and it also seems that its the only file explorer without the bloat. Its pretty expensive for a simple file explorer.
But well worth it
I find adb a lot easier than the terminal on the phone. It's useful for pushing a file or two to the phone or vice versa without unmounting the microSD. Free too!
Posted from my AOKP-ified SGS4G
Any rom that installs with my aroma installer like most gb roms and a few ics roms make an efs backup in /sdcard/aroma-backup for you.
Also any ics rom that has used the cm9 update.sh script team acid made will back it up for you during the rom install (cm9/aokp).
But how about that flash able zip file from cm7 that backs up your efs folder?
FBis251 said:
Any rom that installs with my aroma installer like most gb roms and a few ics roms make an efs backup in /sdcard/aroma-backup for you.
Also any ics rom that has used the cm9 update.sh script team acid made will back it up for you during the rom install (cm9/aokp).
Click to expand...
Click to collapse
The reason I want to back it up is because I want to flash back to stock using heimdall and there are those times that something could go wrong.
th3controller said:
And hechoen aren't there folder permissions involved when you put back the file?
Click to expand...
Click to collapse
Nope. The folder already has the correct permissions. All you need to do is stitch the system to read/write then paste it back in place. I have used this method so I know it works. I do agree with Jeff though. If you know how to use adb it's a sure fire way to go. Just most users are clueless about it.
hechoen said:
Nope. The folder already has the correct permissions. All you need to do is stitch the system to read/write then paste it back in place. I have used this method so I know it works. I do agree with Jeff though. If you know how to use adb it's a sure fire way to go. Just most users are clueless about it.
Click to expand...
Click to collapse
Lumins guide to using heimdall uses adb right? So can I backup my efs and flash heimdall afterwards correct?
This is the easiest way to make a backup:
http://sourceforge.net/projects/teamacid/files/fb/cwm/cm7-efs-backup.zip/download
Thank FB.
lumin30 said:
This is the easiest way to make a backup:
http://sourceforge.net/projects/teamacid/files/fb/cwm/cm7-efs-backup.zip/download
Thank FB.
Click to expand...
Click to collapse
That's the one I'm talking about! And isn't there another zip to restore the efs folder?
And does it work with ics galaxy s beam?
th3controller said:
That's the one I'm talking about! And isn't there another zip to restore the efs folder?
And does it work with ics galaxy s beam?
Click to expand...
Click to collapse
I just want to say... it is okay to test things out on your own. That is how you learn.
lumin30 said:
I just want to say... it is okay to test things out on your own. That is how you learn.
Click to expand...
Click to collapse
Can you at least please provide the thread that the flash able zip is which is both the efs back up and restore.
Try looking at the url I posted above and see if you can figure out - on your own - how to back in to the folder FB posted both the backup and restore zips.

Help needed asap to reinstall orignal stock rom on my htc one sv

HI Im a noob. I was able to root my phone successfully and everything I was downloading rooted apps so I download pimp my beats and Dolby mobile well some how it messed up all my audio I couldn't hear a thing so I tried factory reset and then tired uninstalling them and that didn't work so then I went online and downloaded the original boot and recovery.img I tired flashing the but then when I do it comes to the clockworksmod like if it needs a rom or something then when I try installing a ROM it ends up aborting. it ends up getting stuck on the start up with red lettered warning I need someone to help me please get it back to the original state like when first get it out of the box. I want to install the original kernel the original rom and get my sound back on. Or at least so I can fix it to get my warranty valid again so I can get a new one. I need help asap if additional info is needed let me know. do you have any idea why I cant hear phone calls coming in or outgoing, my music or youtube all sounds i can't hear. I am on K2_PLC_CL I am LTE on CricketWireless Thanks
Hi. You just need to restore your cwm backup, that's it.
I know but it won't work
Matlevo12 said:
Hi. You just need to restore your cwm backup, that's it.
Click to expand...
Click to collapse
I know that. I moved the backup on the computer and when I put it on my sd so I could restore it. It didn't work it says no file found do you know where I can download the Original Stock Rom and when i try starting it up it go's to a black screen with a green arrow pointing towards the found then it goes to the phone with a red triangle with a red exclamation point. What is that?
If your backup is not recognised you have put it in the wrong folder i think. So tell us, where the files are on your sd card.
old.splatterhand said:
If your backup is not recognised you have put it in the wrong folder i think. So tell us, where the files are on your sd card.
Click to expand...
Click to collapse
+1 on that, if you have one it'll be recognized as long as it is in the right folder, and made with the same recovery.
what do i do
Matlevo12 said:
+1 on that, if you have one it'll be recognized as long as it is in the right folder, and made with the same recovery.
Click to expand...
Click to collapse
So i put the backup in the CWM folder but it tells me no file found so what do I do? Can I go to some website to download the original stock Rom and kernel I need to fix my phone asap so can you please tell me exactly what I need to do. Plus what are those symbols i describe in my last reply. Thanks so much for assisting me I appreciate it.
The files must be in folder: clockworkmod/backup/2013-04-01.18.46.58
The last folder is the date it was created.
The symbols mean, your flash has failed.
What if that doesn't work
old.splatterhand said:
The files must be in folder: clockworkmod/backup/2013-04-01.18.46.58
The last folder is the date it was created.
The symbols mean, your flash has failed.
Click to expand...
Click to collapse
So as long as I put it in that file on my SD and open it up in CWM then it should work right?
I already did that once and it didn't work so what do I do then?
what are my other options I really need help thanks for everything you've done so far.
If your backup don't work, i know there is a Stock cricket jb back here in One SV Forum. Others flashed this successfully.
Otherwise i'm running out of ideas.
old.splatterhand said:
If your backup don't work, i know there is a Stock cricket jb back here in One SV Forum. Others flashed this successfully.
Otherwise i'm running out of ideas.
Click to expand...
Click to collapse
Okay well can you do me a favor and locate it for me please I'll probably do something wrong like not knowing where to find it. And
Will it work with my phone? And then when you find it can you give me the exact commands I need in order to flash that Stock properly so I know that I didn't mess up I know im asking for a lot but can you please do that. I'd appreciate it thanks.
Noob17_Me said:
Okay well can you do me a favor and locate it for me please I'll probably do something wrong like not knowing where to find it. And
Will it work with my phone? And then when you find it can you give me the exact commands I need in order to flash that Stock properly so I know that I didn't mess up I know im asking for a lot but can you please do that. I'd appreciate it thanks.
Click to expand...
Click to collapse
There are no commands, this is a cwm backup:
Clean Cricket Htc One SV Nandroid (2.04.1050.3)
Thanks
old.splatterhand said:
There are no commands, this is a cwm backup:
Clean Cricket Htc One SV Nandroid (2.04.1050.3)
Click to expand...
Click to collapse
Okay so what do I do. Do i just move the Nanadroid file and where on my Sd. I leave it in zip form right ?
Then using fastboot I go ahead and open up CWM? Will it work on any version of CWD? Thanks so much for getting that file for me and what do I do after its flashed? Like as from being to end what are the steps sorry for all the questions but thanks for everything.
Unzip it. Go into Clean JB Crkt 2.04.1050.3 folder and copy the clockworkmod to your external sd.
Then boot into cwm and choose restore and choose the backup.
old.splatterhand said:
Unzip it. Go into Clean JB Crkt 2.04.1050.3 folder and copy the clockworkmod to your external sd.
Then boot into cwm and choose restore and choose the backup.
Click to expand...
Click to collapse
Thanks I'll try that and will let you know what happens.
error
Noob17_Me said:
Thanks I'll try that and will let you know what happens.
Click to expand...
Click to collapse
Hey man I download that file but its not in zip its in Rar. so I just move the file on to my external sd out in the open not in a folder and I opened up my CWM from the install zip from sd card and that didn't work then I went to restore and it could find the file both times so how do I install it? Do I have to put it in a certain folder or something? It keeps saying no file found. Thanks
Don't copy the zip directly.
What you could do is make a backup, see where it is on your sd, replace it with the one from the zip and then restore that one.
So Noob17_Me, flash this rom from here.
old.splatterhand said:
So Noob17_Me, flash this rom from here.
Click to expand...
Click to collapse
Thanks for that. But I have a question is it exactly like the original one because I want it to be with the original stock so that i can re-lock my Bootloader and stuff? Is there some way to get that Rar. file to install on my phone? Sorry if im getting you angry or upset. Thanks for all your help
Yea but...
Matlevo12 said:
Don't copy the zip directly.
What you could do is make a backup, see where it is on your sd, replace it with the one from the zip and then restore that one.
Click to expand...
Click to collapse
Yea but what im trying to say is that the file I downloaded isn't in zip form. So how am I supposed to install it on CWM?
Sorry but what is so difficult to understand? The rar is not for flashing, its a cwm backup and if you unrar it you have a folder Clean JB Crkt 2.04.1050.3, inside you find a folder clockworkmod.
This clockworkmod folder you have to copy to SD, like it is and and boot into recovery and choose "restore".
And my zip is made from this backup, so it are the same files!

Categories

Resources