nandroid emulator? - G2 and Desire Z Q&A, Help & Troubleshooting

Is there an nandroid rom emulator for PC so I can view and mess with my backups without having to flash them? Or even just view them..
Sent from my HTC Vision using XDA App

Bump
Sent from my HTC Vision using XDA App

Just open them on your pc.... what else do you want to do?
Sent from my HTC Vision using XDA App

shortlived said:
Just open them on your pc.... what else do you want to do?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
They aren't the kind of files that you can just double click.
The boot and recovery images can be split with splitboot or a hex editor for the mischevious. You can use unyaffs on the system image to extract it.
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
http://forum.xda-developers.com/showpost.php?p=4474956
I haven't tried to extract userdata.img, but my guess that it's similar to the system.img, but with slightly different headers.
In short, I don't think there is an easy way to check what is on a backup, but that also depends on your idea of easy. As much as I like flashing my NAND, I'd rather unpack an image than flash a backup just see what the tooth fairy left inside.
Going forward, the OP could make a manifest of all the files and save that with the backup. this might do the trick?
Code:
ls -aR /* > manifest2010-12-31.txt

Thanks a bunch. There was once an emulator made that showcased android 1.5 as if you had a phone screen on your desktop. You could even install apks on it and some worked.
It would be neat if someone took it a few steps further to load even custom test roms so you try.. say a sense rom to see if you even liked sense before flashing your phone.

That's the official Android emulator, it's included in the SDK. You can try running your own images on it, but I could never get them to boot properly.

To open the .img files found in a nandroid backup you have to unyaffs them. It pretty much extracts the files out of the .img
I've attached a copy of the tool, just extract it, put the .img file in the unyaffs folder, and drag and drop the .img file onto unyaffs.exe.
Hope that helps
EDIT: Make sure it's a copy of the .img so you should NOT remove the file itself from the backup folder.

Related

[Q] Droid Radio Update Issues

Hey All,
I have literally spent the past 6+ hours trying to update my radio to version 2.x on my Droid Incredible, and it isn't working. No matter what method I try, which image, or which ROM, nothing works.
What I am Currently Running:
Sky Raider 2.5.2 Vanilla
I am s-off
I ran the latest unrEVOked3 to gain root access
I downloaded the latest usb drivers
What is happening:
When I download PB31IMG.zip, I place it into my newly re-formatted FAT32 sdcard in the root directory. After that, I launch it into hboot, and try to have it run the update. Unfortunately, no matter what I do, it cannot find the image.
I have also tried the normal version of de-upgrading, but I get stuck on this step and cannot proceed any further.
Any help would be appreciated!
Zack
This should be in General.
There is no directory called root on the sdcard. What it means is to just put it on ur sdcard, do not put it in any folders. Just /sdcard/
Like the other post said, this should be in general
Sent from my ADR6300 using XDA App
Try making sure radio is named radio.img make sure amdroid-info.txt is ok, and make sure it is named PB31IMG.zip not pb31img.zip or .zip.zip
Or tcberg could be right, and you may be putting the file in a non-existing directory.
Sent from my ADR6300 using XDA App
Try making sure radio is named radio.img make sure amdroid-info.txt is ok, and make sure it is named PB31IMG.zip not pb31img.zip or .zip.zip
Or tcberg could be right, and you may be putting the file in a non-existing directory.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
How will I know if amdroid-info.txt is "ok"?
I made sure it's named properly - my bad on that, and the directory. Saying root just meant the main directory on the sdcard, not in any folders.
I would either: download the file again, or take an android-info.txt from a splash screen zip
Sent from my ADR6300 using XDA App
I would either: download the file again, or take an android-info.txt from a splash screen zip
Click to expand...
Click to collapse
Do you know where I could find the latter of those two options?
The android info txt???? Its in all the solash screens..just go into tje themes subforum and there are like 5 threads on them....all you have to do is just rip the txt file out of there and place it in the radio zip
Sent from my ADR6300 using XDA App
The android info txt???? Its in all the solash screens..just go into tje themes subforum and there are like 5 threads on them....all you have to do is just rip the txt file out of there and place it in the radio zip
Click to expand...
Click to collapse
I apologize for my ignorance, this is the first android root I've done. But how would I go about doing that?
1. Download a splash screen zip from the themes forum
2. Find the android-info.txt
3. Copy it to your desktop and paste it into the PB31IMG.zip file
Sent from my ADR6300 using XDA App
tcberg2010 said:
There is no directory called root on the sdcard. What it means is to just put it on ur sdcard, do not put it in any folders. Just /sdcard/
Like the other post said, this should be in general
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
you have to press power volume down and the dedicated camera button at once to gain access to the root of your sdcard
I would be willing to bet that PB31IMG.zip is actually PB31IMG.zip.zip on your sd. The file in windows should just read PB31IMG and nothing more.
borgey420 said:
you have to press power volume down and the dedicated camera button at once to gain access to the root of your sdcard
Click to expand...
Click to collapse
lmao......
There is a known issue of the pmg file getting corrupted when downloading to your computer and transferring to your phone.trying downloading the file directly to your phone.
The problem is most likely that your sd card isn't formatted to fat 32. Backup the radio image format your card to fat 32 instead of fat put the image on the root of your sd and try again.
Make sure that the file isn't corrupted and that you are in fact s off. Download it again to be sure and re format as well. Either your card is formatted wrong or your image is corrupted.
Sent from my ADR6300 using Tapatalk
You can also try messing with the format cluster size. Try default allocation size first, if that doesn't work tinker with the sizes.
Make sure you have the correct radio update file and do not change the file name at all. Here is a link to the correct one, download it and try again.
http://adrynalyne.stfuthxbye.net/radio/2.15.00.07.28/PB31IMG.zip
Sent from my Incredible.

[Q] how to extract .apk from a nand backup?

is it possible to extract an .apk file from a nand backup made with Amon_Ra (1.8)?
i switched roms to MIUI and i can't find Volume Button Controller on the market. I've had it on my phone for months and I can't function without it. i've searched online and all i come up with is broken market links and links saying the app has been removed from the market.
it was a free app, that I have on a backup. just dont want to have to backup my current miui setup (in progress), to restore that one, to restore this one again, etc. plus i think knowing how to do this will be useful in the long term.
i'm on Windows XP so I'm restricted to that platform on terms of getting it to work. google search turned up an app called unyaffs but it looked like a linux thing
thanks!
backup what you are on. restore your nand of where you have the apk. and then use titanium backup to backup your app. Restore your latest nand and use titanium to restore the app.
Swyped from my cyanogenized and gingerbreaded EVO
You can also extract files directly from the img files. Install Cygwin with the default options and download unyaffs compiled for windows. Place unyaffs in your path for ease of access, copy the system.img file out of your nand backup and drop it into a folder that is easy to get to. Start Cygwin, cd to the folder the img file is stored, type unyaffs system.img. That will extract all the files from the system.img file. Most of what you need should be in the app folder. Some things will need stuff from the lib folder too, like swype.
Sent from my PC36100 using Tapatalk
thanks for the info.
ended up going the route i didnt want to go. installing cygwin was taking forever!
but now i know for the future
Yeah, Cygwin can take a while if you are on a slow connection or get stuck on a slow mirror.

[Q] do I need s-off to extract zips?

Recently I started downloading music in zip files to my phone for storage. But when I try to unzip them, I get errors. I tried on 4 did file managers including root manager. Do I need s-off todo this?
Sent from my HTC Desire using XDA App
Mount USB and unzip it. Nice and quick. Root explorer does it and most other archiving apps do it. Maybe the archive is corrupt?
I don't think so. Root manager actually lets me open the file and listen to the songs with the inapps player but if I try and extract, I get either a error or a completed msg but I check the file and it's empty
Sent from my HTC Desire using XDA App
I use the good old Astro and it always unzips the files for me. Also tried AndroZip, worked, too.
No idea then. A zip file is just an archive for file(s) so you should be able to extract them just fine. Otherwise it is deemed corrupted. I guess you could test the archive and see if there are any errors with it and maybe if there is, that might help you a little more. You can test the archives out using WinRar or maybe some app.
Try Estrong file explorer.
Else download dropbox and transfer the files to your phone after you unzipped them on your computer.
BTW unzipping should not even require a rooted phone.
thx 4 the info all. im going to reflash cyanogen 7. just a question thou. is cyanogen 7 the best of the best as far as roms r concerned?
Maybe there's something wrong with the zip file or the ROM. No need to S-OFF in order to extract archive files

So after my Xperia Play went insane, I made a CWM backup. How do I extract it?

While using TrueAncestor things were kinda great... then I went a little too delete-happy in my system folder and severely ruined something that sent my phone into a bootloop. Silly user error on my behalf, so I decided to suck it up and flash back to 2.3.4. Kinda nice being back on stock - it's all clean, functional, smooth and back to the battery life that's so good that I can't believe it's an Android phone.
I did make use of the backup function thinking it'd just spit what I had in my system out into a folder on my SD. I don't want to restore for obvious reasons, but I do have a lot of data locked in my gamesaves that I'd like to retrieve.
The files it generated are:
• data.yaffs2.img
• system.yaffs2.img
Any idea how to break into those? I used to do a lot of breaking into compressed media back in the PSP days, but that's so long ago I don't even remember what I used to break down isos, bins, imgs and such.
Download and install 7zip. You can right select on the nandroid and select "Extract to" or "Extract Here" to uncompress it.
Another option is within Titanium Backup you can select the menu from the main screen and select to restore files from a nandorid, but it would be a much faster process via the PC.
http://www.7-zip.org/download.html
Any luck TL?
WinRAR can't do anything with .yaffs files, but I'm pretty sure unyaffs is what you can use.
WinRAR cant uncompress the yaffs. I use 7zip and it works great. never had any issues
Here was a thread that helped me a while back. If 7zip doesn't work maybe this program will.HERE
Edit**Actually Im interested, did 7zip work with the extraction?
Sent from my R800i using xda premium

Command line interface twrp

Hey guys got a question.... I was on the cyanogenmod thread and I someone posted a possible workaround for the freezing at the boot screen on 4.3 roms... I was told to delete the bootanimation.zip from system/media/ but I can't find it in there... There isn't even a media folder in system from what I see. (keep in mind I'm using the file manager inside of TWRP to try to locate it) I was wondering what the command is to delete the file using the terminal emulator or whatever selection I need to use to delete the zip.
The problem with it locking on the bootsplash seems to be that it couldn't get passed the bootanimation.zip file.
It looks like the method of using ODIN to flash a rooted stock rom manages to erase the bootanimation.zip, where as TWRP was leaving it there. If you get stuck there, go into recovery and fire up a command line interface (TWRP has one) and rm the bootanimation.zip file. I'll look back a few posts to find the path and post it here. Other than that make sure you are flashing the latest gapps and wipe your data and you should be good to go. Some folks have gotten away with a dirty flash but you'll have to uninstall/reinstall a bunch of apps.
Click to expand...
Click to collapse
Sent from my SGH-T999 using XDA Premium 4 mobile app
RedJack117 said:
Hey guys got a question.... I was on the cyanogenmod thread and I someone posted a possible workaround for the freezing at the boot screen on 4.3 roms... I was told to delete the bootanimation.zip from system/media/ but I can't find it in there... There isn't even a media folder in system from what I see. (keep in mind I'm using the file manager inside of TWRP to try to locate it) I was wondering what the command is to delete the file using the terminal emulator or whatever selection I need to use to delete the zip.
Sent from my SGH-T999 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
rm /file/location/here.zip
And if you can't see something in recovery like that, make sure the partition is mounted.
Sent from my SGH-T999L using Tapatalk 4

Categories

Resources