How to get stock system files from .sbf easily - Defy Android Development

Sometimes someone forgets to backup something, so this is a solution for this case.
1. Download this http://modmymobile.com/forums/402-g...81-sbf-mbn-depacker-alpha-3-05-13-2010-a.html
2. Open the Motorola depacker, then click on Open from file, find your .sbf firmware and open. Then click on split to folder.
3. Download explore2fs - http://www.chrysocome.net/explore2fs
4. Open explore2fs, click on open image file, click on file type and choose all files, find in the splitted .sbf folder CG39.smg file and open it.
Now you have all stock system files, right before your eyes

Related

Hard SPL for Touch Pro2 (CDMA)

unable to extract or execute the RhodiumW_hardSPL_V1_10R3.exe file.
I have downloaded the RhodiumW-HardSPL_V1_10R3_100HSPL.zip but I can't extract or execute the RhodiumW_hardSPL_V1_10R3.exe file. I am using WinZip / 7 Zip and I can see the RhodiumW_hardSPL_V1_10R3.exe file, I select to extract it to a folder I created and the colored buttons in the lower right of winzip go from red to green like it's supposed to but nothing extracts to the folder, it's empty. I double click RhodiumW-HardSPL_V1_10R3_100HSPL.exe within WinZip and I get this error 'WinZip was unable to extract 'RhodiumW_hardSPL_V1_10R3.exe', terminating operation'. I have tried this on two separate systems but I get the same results.
Any help would be greatly appreciated...
Thanks every one.......
Error is --
! Cannot execute "C:\DOCUME~1\USER\LOCALS~1\Temp\Rar$EX00.781\Rhodi umW-HardSPL_V1_10R3.exe"
-Satsih
You may have a corrupted file. Try downloading it again. I just downloaded the zip file and it extracted with no problems.

might be a stupid question, but my g tab doest not recognizes the .rar Rom file

i'm trying to update my gtab to tnt lite 3.1. currently, i'm running the tnt lite 2.2 and installed that with out any problems following directions. that was a zip format. however, the tnt lite 3.1 file that i got from the following thread
http://forum.xda-developers.com/showthread.php?t=842004
is a .rar. When i go to install the zip from sd card, go to roms folder, it doesn't come up and i can't see it. however, the tnt lite 2.2 is there. i tried just re-doing the folder into zip, and got it to recognize, but it still did not boot up. i selected it and it just went back to the previous menu. how or where can i get the zip file for tnt lite 3.1?
You need to extract the rar file first. Once extracted you will find a update.zip file you can use to install.
You can extract the rar on the gtab with androzip from market or unrar it from your PC with winrar or 7zip.
wasya152 said:
i'm trying to update my gtab to tnt lite 3.1. currently, i'm running the tnt lite 2.2 and installed that with out any problems following directions. that was a zip format. however, the tnt lite 3.1 file that i got from the following thread
http://forum.xda-developers.com/showthread.php?t=842004
is a .rar. When i go to install the zip from sd card, go to roms folder, it doesn't come up and i can't see it. however, the tnt lite 2.2 is there. i tried just re-doing the folder into zip, and got it to recognize, but it still did not boot up. i selected it and it just went back to the previous menu. how or where can i get the zip file for tnt lite 3.1?
Click to expand...
Click to collapse
This is directly taken from the link you provided. The rar file once extracted will have the update.zip file, and a recovery folder with a command file in it. It is a rar so people with clockwork know not to try and flash the file directly without pulling the zip file out of it.
Instructions for those with standard recovery:
- Extract the RAR to the root of your internal memory. So, for example, if your device is mounted on your Windows F drive, you need to extract the RAR so that you have an F:\update.zip file and an F:\recovery folder. Then, unmount the drive cleanly.
- Power off the device, then begin the flash process by holding the power switch and volume up switch for several seconds. You should see a recovery screen and it will take 1-2 minutes to complete.
- After the update is complete, the system will reboot.
- You will see the standard Google registration screen, on first boot. You can skip the Google registration process and try later, when you have WiFi running.
Note: these instructions are for the internal memory. If you have no access to that (ie stuck in a boot loop), you can add the files to a microSD card and that will work. However, you need to make one edit to the \recovery\command file, which is a text file. Edit it in notepad and change "SDCARD" to "SDCARD2" and resave it. But, make sure that Windows doesn't add a .TXT extension - it HAS to be called "command".
Instructions for those with clockworkmod .8:
- Extract the RAR and place the update.zip file anywhere in /sdcard (do NOT just copy the original RAR, that won't work! You have to open up the RAR and copy the update.zip inside. You don't need the /recovery folder for cwm). I would recommend putting the file on the root of /sdcard, since it will be easier to upgrade that way.
- Reboot into recovery. Do a backup first, as that's always a good idea.
- Then, choose "apply sdcard:update.zip", assuming you added the update.zip to the root of /sdcard, and run it.
- Reboot.
Note: I have heard reports that this might "Status 7" and I have no fix for that, yet. It seems to be intermittent.
thanks guys. that was very helpful. got it to work.
Good to hear. I actually specifically used a rar format for these because it needs to be extracted. I used to use a zip format and there was a lot of confusion, as well - I need to support standard recovery users as long as we have them (and we will probably always have a few of them).

[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

[Q] How to extract .img files? (system, cache, boot)

Hey guys, i've searched the forums for this although haven't really seen any that can teach or show me how. So, counting on the devs on our thread to help out a little, c'mon, give this noob something to wrack his brains with for a couple of weeks..
What are you extracting them from?
Woodrube said:
What are you extracting them from?
Click to expand...
Click to collapse
[GUIDE] Extract files from Nandroid backups
From an SBF you need this. (instructions provided by chops13)
1. moto android depacker http://i749.photobucket.com/albums/x...ba/screen2.jpg
http://modmymobile.com/forums/402-ge...13-2010-a.html
2. unyaffs for windows
http://boomtopper.blogspot.com/2009/...ws-binary.html
3. cygwin1.dll
http://www.dll-files.com/dllindex/dl....shtml?cygwin1
-
Step 1. - launch moto android depacker
2. Menu > Open From File > choose your .SBF rom file
3. Menu > Split to Folder
4. Put unyaffs and cygwin1.dll in the Folder that has now been created in windows explorer by the last Split to Folder action
5. Also inside that new folder (named like your SBF file automatically) you will see a bunch of .SMG files.
6. Take note of the .SMG filename with the largest amount of data. One will be significantly bigger than the others. This is where all your .apk's are stored.
7. Open command prompt
8. navigate to the location of this Folder with unyaffs, cygwin1.dll, and the other .smg files
9. Once you command prompt is inside that folder type: unyaffs <filename.smg>
10. For me the .SMG file that was the biggest was CG39.smg
11. You will then see that folder filling up with a bunch more folders as it extracts
12. One of the Folders will be "app"
12. Go into that folder and you will see all of you ROM .apk's Each apk is an app, that you can now manually install or remove to rebuild a customized image, etc.
Woodrube said:
What are you extracting them from?
Click to expand...
Click to collapse
You know the image files we have for our XT720s, i was thinking of extracting APKs from the ROM as i need an FM radio apk to try out, that's why i though of extracting them from my nandroid backups.. Is that possible?
3rdstring said:
[GUIDE] Extract files from Nandroid backups
From an SBF you need this. (instructions provided by chops13)
1. moto android depacker http://i749.photobucket.com/albums/x...ba/screen2.jpg
http://modmymobile.com/forums/402-ge...13-2010-a.html
2. unyaffs for windows
http://boomtopper.blogspot.com/2009/...ws-binary.html
3. cygwin1.dll
http://www.dll-files.com/dllindex/dl....shtml?cygwin1
-
Step 1. - launch moto android depacker
2. Menu > Open From File > choose your .SBF rom file
3. Menu > Split to Folder
4. Put unyaffs and cygwin1.dll in the Folder that has now been created in windows explorer by the last Split to Folder action
5. Also inside that new folder (named like your SBF file automatically) you will see a bunch of .SMG files.
6. Take note of the .SMG filename with the largest amount of data. One will be significantly bigger than the others. This is where all your .apk's are stored.
7. Open command prompt
8. navigate to the location of this Folder with unyaffs, cygwin1.dll, and the other .smg files
9. Once you command prompt is inside that folder type: unyaffs <filename.smg>
10. For me the .SMG file that was the biggest was CG39.smg
11. You will then see that folder filling up with a bunch more folders as it extracts
12. One of the Folders will be "app"
12. Go into that folder and you will see all of you ROM .apk's Each apk is an app, that you can now manually install or remove to rebuild a customized image, etc.
Click to expand...
Click to collapse
Seems simple enough.. Thanks!!
JiroPrinz8 said:
You know the image files we have for our XT720s, i was thinking of extracting APKs from the ROM as i need an FM radio apk to try out, that's why i though of extracting them from my nandroid backups.. Is that possible?
Click to expand...
Click to collapse
When I want to do something like this, I just flash the nandroid I want to extract from and once it sets up, I go into /system and pull the apks that I want out and copy them to a folder on my sdcard. Then I go into that ROM I will use and then go into the folder on the sdcard and install them there. If need be, I move them over to /system/app.
Worked for me a number of times but I create a "shopping list" before I flash the one I am extracting from, so I know what it is that I am looking for (and maybe pick a few that i might want to check out, like the 3g hotspot or Notification toggle).
Not all apps will cross over though. Depends on if they are signed or not and also several factors with the framework and the build.
As far as the FM radio apk, which ROM are you using b/c they are posted all over the place (2.1, 2.2dexters, 2.2 Kahls, 2.2Wanhu, Miui).
Yeah, i'm just trying to figure out which will work, i had the FMradio FC on me so tried to reinstall it, no luck, deleted the apk and dalvik cache for FM radio, then tried to install it, still no luck.. Any ideas guys?
You can also do it right on your phone with unyaffs from the market. I use it all the time. Works awsome.
easye420 said:
You can also do it right on your phone with unyaffs from the market. I use it all the time. Works awsome.
Click to expand...
Click to collapse
Very nice. Just checked it out.
Finally
3rdstring said:
[GUIDE] Extract files from Nandroid backups
From an SBF you need this. (instructions provided by chops13)
1. moto android depacker http://i749.photobucket.com/albums/x...ba/screen2.jpg
http://modmymobile.com/forums/402-ge...13-2010-a.html
2. unyaffs for windows
http://boomtopper.blogspot.com/2009/...ws-binary.html
3. cygwin1.dll
http://www.dll-files.com/dllindex/dl....shtml?cygwin1
-
Step 1. - launch moto android depacker
2. Menu > Open From File > choose your .SBF rom file
3. Menu > Split to Folder
4. Put unyaffs and cygwin1.dll in the Folder that has now been created in windows explorer by the last Split to Folder action
5. Also inside that new folder (named like your SBF file automatically) you will see a bunch of .SMG files.
6. Take note of the .SMG filename with the largest amount of data. One will be significantly bigger than the others. This is where all your .apk's are stored.
7. Open command prompt
8. navigate to the location of this Folder with unyaffs, cygwin1.dll, and the other .smg files
9. Once you command prompt is inside that folder type: unyaffs <filename.smg>
10. For me the .SMG file that was the biggest was CG39.smg
11. You will then see that folder filling up with a bunch more folders as it extracts
12. One of the Folders will be "app"
12. Go into that folder and you will see all of you ROM .apk's Each apk is an app, that you can now manually install or remove to rebuild a customized image, etc.
Click to expand...
Click to collapse
Finally, how to rebuild its (app, etc, bin,...) to CG39.smg?
Thank U very much :x
Who can help me, please?
leuleu9x said:
Finally, how to rebuild its (app, etc, bin,...) to CG39.smg?
Thank U very much :x
Click to expand...
Click to collapse
hi i have exatly same cuestion how to rebuild ?? i edit tts lang pico but now now to send to phone
thks in advance
I'm trying to extrack APKs, followed the instructions aforementioned but still receveing:
8 [main] unyaffs 5960 handle_exceptions: Exception: STATUS_ACCESS_VIOLATIO
N
2790 [main] unyaffs 5960 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
error
Anyone can help me? thanks
What command did you use ?
unyaffs works on *.img. For *.apk use apktool.
Sent from my Nexus 4 using xda premium
omartelinho said:
I'm trying to extrack APKs, followed the instructions aforementioned but still receveing:
8 [main] unyaffs 5960 handle_exceptions: Exception: STATUS_ACCESS_VIOLATIO
N
2790 [main] unyaffs 5960 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
error
Anyone can help me? thanks
Click to expand...
Click to collapse
I am too got the same error, till I cant extract the CG2.smg file
pls help anybody
omartelinho said:
I'm trying to extrack APKs, followed the instructions aforementioned but still receveing:
8 [main] unyaffs 5960 handle_exceptions: Exception: STATUS_ACCESS_VIOLATIO
N
2790 [main] unyaffs 5960 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
error
Anyone can help me? thanks
Click to expand...
Click to collapse
Same error here. Did you guys solve this??

Obtaining specific widget APK from Firmware downloaded not installed

Hi team
I want to know if is possible to obtain an apk file from xxxx.tar.md5 file.
I want to interchange files of image (firmware) without install process.
Thank you.
joseluisbz said:
Hi team
I want to know if is possible to obtain an apk file from xxxx.tar.md5 file.
I want to interchange files of image (firmware) without install process.
Thank you.
Click to expand...
Click to collapse
Yes u can get it
Well, THis is the First thing you should do.
Here are the steps:
-> Download a Firmware of your choice from the above link.
-> If you Firmware is in .zip format, be sure to extract the FW to a folder.
-> In the folder, you should find a PDA file ( The file which use put in the PDA place when you flash using ODIN)
-> Install 7-Zip if you dont have it, if you have it...Proceed to next step
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs", just copy the file to your C:\ (YOU CAN COPY IT ANYWHERE. I am taking C:\ as my base location)
Part II - Extracting RFS
-> Download and Open MagicISO.
->Click on File-> Open and browse to the place where you have your extracted system.rfs or factoryfs.rfs or systemfs.rfs.
-> Now, you should be able to see many folders like lib,system,xBin,vendor,etc.
-> Copy ALL the folders to your desired location. Be sure to put all of them in a folder called system. For example, In C:\ , create a folder called ROM and create a sub-folder called "system" and put the files there.
First, Go to the folder where you extracted the ROM and then go to \System\App.
Here, you can find ALL the applications which are un-installable by the user.
So, If you want to REMOVE apps, you can remove them and their .odex's. But, be sure, For what apps you are planning to keep, DONT REMOVE THE ODEXES.
dhananjaipai said:
Yes u can get it
Well, THis is the First thing you should do.
Here are the steps:
-> Download a Firmware of your choice from the above link.
-> If you Firmware is in .zip format, be sure to extract the FW to a folder.
-> In the folder, you should find a PDA file ( The file which use put in the PDA place when you flash using ODIN)
-> Install 7-Zip if you dont have it, if you have it...Proceed to next step
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs", just copy the file to your C:\ (YOU CAN COPY IT ANYWHERE. I am taking C:\ as my base location)
Part II - Extracting RFS
-> Download and Open MagicISO.
->Click on File-> Open and browse to the place where you have your extracted system.rfs or factoryfs.rfs or systemfs.rfs.
-> Now, you should be able to see many folders like lib,system,xBin,vendor,etc.
-> Copy ALL the folders to your desired location. Be sure to put all of them in a folder called system. For example, In C:\ , create a folder called ROM and create a sub-folder called "system" and put the files there.
First, Go to the folder where you extracted the ROM and then go to \System\App.
Here, you can find ALL the applications which are un-installable by the user.
So, If you want to REMOVE apps, you can remove them and their .odex's. But, be sure, For what apps you are planning to keep, DONT REMOVE THE ODEXES.
Click to expand...
Click to collapse
Thank you...
It's possible extract all files in charge of 3G connection (HSDPA) for take them and put them in other mobile?
joseluisbz said:
Thank you...
It's possible extract all files in charge of 3G connection (HSDPA) for take them and put them in other mobile?
Click to expand...
Click to collapse
if you mean a different model phone then nope, i guess mini would work but surely not any other device
and if you mean from one rom to other, yep stock with stock and CM with CM would work but of same android version only... e.g 2.3.4 wont work with 2.3.6

Categories

Resources