Extract Roms - Verizon Droid Charge

I read a thread and either I didnt understand or it didnt work as I understood it. I want to be able to make a system dump of anything that comes out in case I want to import apps or things. Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read? Just a little confirmation on if thats how I need to do it or the correct way please.

Root explorer? Don't know much just a thought
Sent from my SCH-I510 using xda premium

blueis300 said:
I read a thread and either I didnt understand or it didnt work as I understood it. I want to be able to make a system dump of anything that comes out in case I want to import apps or things. Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read? Just a little confirmation on if thats how I need to do it or the correct way please.
Click to expand...
Click to collapse
you have to explain better what you want to do...you can extract/make roms from odin files without having to flash it...you just use dsxidia's kitchen (requires linux or cygwin with windows) and run the odin through it
to *make* an odin of your current set up for backup, imnuts has a guide in development somewhere, but you would need linux to make the tar (you can extract with adb in windows though)
or to just make a system pull
if adb is universal
cd "whatever folder u want it in"
adb pull /system/
and let it do its thing
to then make a flashable zip from it you would have to have a working update-script and proper file structure within the zip

nitsuj17 said:
you have to explain better what you want to do...you can extract/make roms from odin files without having to flash it...you just use dsxidia's kitchen (requires linux or cygwin with windows) and run the odin through it
to *make* an odin of your current set up for backup, imnuts has a guide in development somewhere, but you would need linux to make the tar (you can extract with adb in windows though)
or to just make a system pull
if adb is universal
cd "whatever folder u want it in"
adb pull /system/
and let it do its thing
to then make a flashable zip from it you would have to have a working update-script and proper file structure within the zip
Click to expand...
Click to collapse
Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read?
Yes I was basically asking how to extract all the files from a .tar or .md5 file. I want to be able to look at each separate main file and pull whatever I want from there. So one option is to use ADB and pull to sd card. I don't use linux so I guess this is my only option?
dsxidia's kitchen (requires linux or cygwin with windows)

blueis300 said:
Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read?
Yes I was basically asking how to extract all the files from a .tar or .md5 file. I want to be able to look at each separate main file and pull whatever I want from there. So one option is to use ADB and pull to sd card. I don't use linux so I guess this is my only option?
dsxidia's kitchen (requires linux or cygwin with windows)
Click to expand...
Click to collapse
the only 2 ways i can think of atm to extract from a tar are this:
push the tar with odin/heimdall to ur phone then pull /system with adb or with terminal emulator to ur sdcard
or use dsxidia's kitchen to extract it on the computer w/o flashing it
(well u can take apart the tar in linux other ways too, but it ll do it in a similar way to the kitchen and thats easier)

Yeah thats what I was thinking. Thanks.

Related

[help]anybody can tell me how to convert official ROM to update.zip

anybody can tell me how to convert official ROM to update.zip
I want to know how to make an official from the ROM can customize the ROM, instead of only at others do the update.zip in thickening delete...
First, you need to run the RUU.
Check in your system TEMP folder, and you should have an update.zip there.
Unzip that, and you'll have amongst others, system.img
Extract the files via unyaffs or other means, customize your build, zip and sign.
Voila.
My guess is that a simple search via the search tool would've resolved that, then again, I guess you were too lazy to do that.
adwinp said:
First, you need to run the RUU.
Check in your system TEMP folder, and you should have an update.zip there.
Unzip that, and you'll have amongst others, system.img
Extract the files via unyaffs or other means, customize your build, zip and sign.
Voila.
My guess is that a simple search via the search tool would've resolved that, then again, I guess you were too lazy to do that.
Click to expand...
Click to collapse
I have get the system.img, but I don't know what tools and methods reduction system.img to update.zip file format,can replace programs self.
Can you explain it step by step?
He actually told you in the post above to use unyaffs, all you need to know is already in this forum if you search for it. Here's a thread to get you started:
http://forum.xda-developers.com/showthread.php?t=566235
thanks , i went to see

How to sign a file? (Need Help)

I am looking for a run down on signing a file.
So far, I have taken other people files and just edited images from the apk moved them back and signed using Kitchen (Only way I know how)
So I am at a stand still here...
I want to add
app\Rosie.apk
and
system\com.htc.resources.apk
to a file so that I can change things a little more.
But have not had luck.
Can someone give the rest of us some steps?
Thanks.
are you on windows? if so, then use this batch script. unzip it and get to signing
how would you sign a zip on a mac?
mrchu001 said:
how would you sign a zip on a mac?
Click to expand...
Click to collapse
firstly, install java. then look inside the batch script and you'll see the basic layout for signing files from terminal.
EDIT: what it inside the script is this basic layout for signing, "java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip update_signed.zip"
replace "update.zip" with your zip file and update_signed.zip with your zip file with "signed" or something so you know it's signed appended before the .zip
darchstar said:
are you on windows? if so, then use this batch script. unzip it and get to signing
Click to expand...
Click to collapse
Yes, I am running windows. Thanks for the file! I will give it a try.
So I see the Sign.bat All I know so far, (Sorry, still new)
My folder will be laid out like this.
<update.zip>
<system>
<app>Rosie.apk</app>
<framework>com.htc.resources.apk</framework>
</system>
<update.zip>
But I dont know where to go from there?
I wonder if we counted, how many threads do you think were started here with this EXACT same question?
chaos67731 said:
Yes, I am running windows. Thanks for the file! I will give it a try.
So I see the Sign.bat All I know so far, (Sorry, still new)
My folder will be laid out like this.
<update.zip>
<system>
<app>Rosie.apk</app>
<framework>com.htc.resources.apk</framework>
</system>
<update.zip>
But I dont know where to go from there?
Click to expand...
Click to collapse
run the batch script from command prompt
darchstar said:
run the batch script from command prompt
Click to expand...
Click to collapse
I dont know how to do that or what it does.
I unziped the folder to my desktop but really dont know where to go from there.
I also dont know command prompt at all for the most part.
Only little things {cd} {*} things like that but even than its just at sight.
I looked http://forum.xda-developers.com/showthread.php?t=618874 and there does not seem to be a wiki or anything on this.
make a new folder where you'll want to zip all your files
copy the autosign.zip to this folder
unzip it.
zip up your files and update-script, name the zip update.zip and put them in this folder
run the batch script from command prompt
Code:
Sign.bat
you will now have a new zip called update_signed.zip, which is you signed update.zip
Does flipzmode's Kitchen do the same thing?
I know there is a sign part to it.
I have used it but not sure if it does the same thing.
When doing this is get an error.
It says it can not find the update script?
mrchu001 said:
how would you sign a zip on a mac?
Click to expand...
Click to collapse
Unzip this. Place the testsign.jar in the root directory of your Mac. Not the home (user) directory, but should be "Macintosh HD" or something of the sort. Then place the Android-Sign.app in /Applications. Even easier to make a shortcut to it in the dock. Whenever you want to sign a file, drag it to the Android-sign app, and it will sign it and put it in the same directory as the original, with "signed" at the end so you'll know which one is which.
For Mac there is an auto-sign program. Just put testsign.jar on the root of your computer hard drive (Macintosh HD) and it works. To sign a ROM, open the rom folder, select all the contents, right-click, and click Conpress. Rename archive.zip to whateveer you want. Drag it onto the Android Sign program and then wait for the program to close (when the dot goes away). There should be another file in the ROM folder called Archive-signed.zip. That is your signed zip.
...That's what I just posted.
ajones7279 said:
...That's what I just posted.
Click to expand...
Click to collapse
We posted it at like the same time I think he figured out how to do the actual signing, but he zipped the folder and not the contents. So... It was rom.zip>rom>contents of rom.
ajones7279 said:
Unzip this. Place the testsign.jar in the root directory of your Mac. Not the home (user) directory, but should be "Macintosh HD" or something of the sort. Then place the Android-Sign.app in /Applications. Even easier to make a shortcut to it in the dock. Whenever you want to sign a file, drag it to the Android-sign app, and it will sign it and put it in the same directory as the original, with "signed" at the end so you'll know which one is which.
Click to expand...
Click to collapse
this is great man!
many thanks!
No problem.
ok so im on windows. it says java not rec.. so im assuming i need to dl java. but would someone be able to leave a little more detailed how to on this. i figured most of it out. but idk if im spose to have the unziped auto-sign folder in my rom zip or outsided of my rom zip..
feefeeboomboom said:
ok so im on windows. it says java not rec.. so im assuming i need to dl java. but would someone be able to leave a little more detailed how to on this. i figured most of it out. but idk if im spose to have the unziped auto-sign folder in my rom zip or outsided of my rom zip..
Click to expand...
Click to collapse
You're using Stericson's autosign.bat correct?
I might be wrong but if you use Kitchen you can auto sign things and it works really good.

[Q] How I Can Extract *.IMG Extensions In Android ROM?

Greeting to all
i wana port Aria Rom to HTC HD MINI Rom, wana extract Boot.IMG file for zImage file, but no software can open it, i used Nero, UltaISO, PowerISO, Winrar, 7-Zip,
any body know how i can open and extract this files?
Google unyaffs
dew912 said:
Google unyaffs
Click to expand...
Click to collapse
im download it, but the program dosent run, hoe can i run unyaffs?
honestly, if you can't type "android unpack boot.img" into google, there's not much chance of you porting a rom.
First result has your answer (I can't post a link)
use this kitchen here to extract it. Just leave the *.img in the zip folder you downloaded from or zip it up yourself.

expand a nandroid img file

for those who do not know how to do this yet, follow directions given here.
Just took this info from the web. None of this except for the guide is written by me.
I am not responsible for anything please do not contact me if a green sludge starts attacking your neighborhood eating one person at a time.
************************************************************
************************************************************
************************************************************
http://code.google.com/p/unyaffs/downloads/list
made for linux, but if you know a bit of c, you can probably change it to work with windows, maybe I will do that if I have some time this week.
********OR********
http://jiggawatt.org/badc0de/android/unyaffs-x86-win.zip
or http://www.4shared.com/get/fgryPnPx/unyaffs-windows.html
for windows..... instructions below apply for both
if not included in the zips above, cygwin1.dll and unyaffs.exe are included as an attachment of this reply.
open up a command line, in windows vista/7 just press start and then type cmd press enter and change the directory to the folder with the unyaffs and the img in it. in xp press start>run>cmd... then the same
the usage is: unyaffs /path/to/img
example:
(if unyaffs.exe and system.img are both in c:\temp)
"c:\temp> unyaffs /temp/system.img"
note: the '/' is the way linux determines the pathname of a file and since it is built using cygwin(a file allowing for windows) it is preferrable that the path to the actual file is in unix POSIX format ie: / instead of \ between folders and files.
*********WARNING************
this will extract to directory that unyaffs binary is in.
That's so weird -- I was gonna post the same thing tonight. Thx for writing this up. It's odd that more people don't talk or ask about this tool!
I remember reading this stuff back when I got my G1, and tonight I was trolling the themes and apps section cause I couldnt sleep. (which I rarely look at)
I was baffled that this wasnt common knowledge. I figured if there was no threads about it that people just knew how and didnt have any problems with it. My mistake lol...
enjoy.
can you please explain what is it? what it does? thanks
ericizzy1 said:
can you please explain what is it? what it does? thanks
Click to expand...
Click to collapse
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
decalex said:
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
Click to expand...
Click to collapse
thx
Sent from my SPH-D700 using XDA App
smeyerhuky said:
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Right, like if you wanted a file or a few files from clockworkmod img backup, then this process would give you an extended file system, other than what you would normally use to extract the img files. Just trying to understand this so, please correct me if im wrong.... I've been trying to get more knowledge of this, so im still learning.
I prolly sound like a complete idiot, lol...
Sweet! Thanks for this man. I'd been looking for how to do this for some time and kept ending up learning about emulation or some other tangential topic. This is the basic functionality I was looking for. Thanks for posting!
Np. I'm working on writing some stuff on top of the source code that should allow you to browse and pull just one our more file
Its been a but since I looked theory source code so it might take a while... Maybe in between semesters?
Sent from my SPH-D700 using XDA App
Dode you saved my as** thx big thx
Great, now how can I re-compress back to .img after I've made the changes that I want?
EDIT: Nevermind. I just made a zip of the new system folder and flashed it in CWM.
This worked great for me.
Thanks,
Bud
Man, I do not know how to thank you. I was able to recover some important stuff off of my cwm recovery backup. THANKS!!

[Q] Mesmerize Original Rom System Dump

I am needing the whole system dump of the original rom for the Mesmerize (not fascinate) I need some of the files that the original rom has. Please make it in a zip file so i can access it on my computer. Please and thank you.
veteranmina said:
I am needing the whole system dump of the original rom for the Mesmerize (not fascinate) I need some of the files that the original rom has. Please make it in a zip file so i can access it on my computer. Please and thank you.
Click to expand...
Click to collapse
Wouldn't that be what the Odin files are in the "get back to stock" thread?
akellar said:
Wouldn't that be what the Odin files are in the "get back to stock" thread?
Click to expand...
Click to collapse
I dont want ODIN files. I need the files that you can readily modify in windows. i need to go through and find some files and put them in a rom.
veteranmina said:
I dont want ODIN files. I need the files that you can readily modify in windows. i need to go through and find some files and put them in a rom.
Click to expand...
Click to collapse
Pretty certain Odin files are zip files. I can't check into it at work but I would guess you can just use 7zip and extract them. Otherwise, just flash your phone back to stock and pull whatever you need from there.
akellar said:
Pretty certain Odin files are zip files. I can't check into it at work but I would guess you can just use 7zip and extract them. Otherwise, just flash your phone back to stock and pull whatever you need from there.
Click to expand...
Click to collapse
Odin is .tar and .md5 files. i cannot open those in windows. I need ones that u can flash for instance with clockworks recovery type of file.
veteranmina said:
Odin is .tar and .md5 files. i cannot open those in windows. I need ones that u can flash for instance with clockworks recovery type of file.
Click to expand...
Click to collapse
There is no such thing. That's why you have to use Odin to go back to stock. And I know the file extensions of Odin, however those files contain other folders/files. Which is why I said use 7zip to see them.
veteranmina said:
Odin is .tar and .md5 files. i cannot open those in windows.
Click to expand...
Click to collapse
Wrong. Wrong. Wrong.
You know another thing you could try is the pick n pack rom file. It is stock deodexed and a flashable .zip file. The odin files can be opened on a PC you just have to use the programs mentions. But as far as a complete stock flashable. zip file. You aren't going to find it cause we just don't have it. Best bet would be to download the mentioned programs and decompress the ODIN file.
Another thing I just remembered is the program winrar recognizes the .tar ODIN files as winrar archives. You may be able to decompress and extract the files you need with that program. But if your gong to have to download anyting I would just do the above mentioned programs as they have been proven to work.
Tap-a-Talked.
As stated above you can get those from pick and pack it is the stock rom essentially and includes all of the .apk's and files in a .zip (you'll need apktool to decompile the .apk's in windows), or you could flash stock in odin and then pull them with ADB (QTADB works well for that).
You won't be able to work with the .bin files located inside the .tar (in windows), but you can get into the .tar with winrar or 7zip. You need linux to get into the .bin files

Categories

Resources