[REQ] Stock AT&T System Dump - AT&T Samsung Galaxy S II SGH-I777

Does anyone know where I can find a copy of this? I've done a search and all I can find is one from the international version and that's based on the 2.3.1 build.
TIA

check here http://forum.xda-developers.com/showthread.php?t=1286432

daraj said:
check here http://forum.xda-developers.com/showthread.php?t=1286432
Click to expand...
Click to collapse
Nothing there about stock system dump.

BigBolo said:
Does anyone know where I can find a copy of this? I've done a search and all I can find is one from the international version and that's based on the 2.3.1 build.
TIA
Click to expand...
Click to collapse
Entropy512 started with a stock system dump that someone, (maybe Jivy26), made after installing a custom kernel. But I don't remember he ever posted a link to it. He may still have it hanging around, though. That's what he used to make his stock plus root package.

BigBolo said:
Nothing there about stock system dump.
Click to expand...
Click to collapse
Um, what do you think a flashable stock system image is? (Other than being a sparse ext4 image, if you want something loop-mountable use simg2img...)
Seriously - spend just a LITTLE more time reading before you post in a Development thread. This device has been out for only 2 weeks so it's not like the Dev forum has tons of threads.
There's also a dd-derived system dump in page 5 of codeworkx's CWM kernel thread. I used jivy26's tar dump, although I should probably do a consistency check against seattleboi1982's dump.

Entropy512 said:
Um, what do you think a flashable stock system image is? (Other than being a sparse ext4 image, if you want something loop-mountable use simg2img...)
Seriously - spend just a LITTLE more time reading before you post in a Development thread. This device has been out for only 2 weeks so it's not like the Dev forum has tons of threads.
There's also a dd-derived system dump in page 5 of codeworkx's CWM kernel thread. I used jivy26's tar dump, although I should probably do a consistency check against seattleboi1982's dump.
Click to expand...
Click to collapse
I'm actually looking for the system dump in a zip where I can extract it into folders. Not as a image. I want to basically get the media files. I did do a search in several forums trying to find it but came up with nothing.
Maybe I should of been more detailed and specific in my OP.

BigBolo said:
I'm actually looking for the system dump in a zip where I can extract it into folders. Not as a image. I want to basically get the media files. I did do a search in several forums trying to find it but came up with nothing.
Click to expand...
Click to collapse
Can't you just extract the stock system image?

eep2378 said:
Can't you just extract the stock system image?
Click to expand...
Click to collapse
I don't know how to do that...

Then you probably don't belong in android development (yet).
Use 7zip to extract the zip/tar/whatever.

In general, you're not supposed to put requests in Development. This should have been posted in General.
And a stock system dump IS an image dump. Zip files don't preserve permissions, and tar files only do if you prepared them carefully (good thing jivy26 did). The only way to be sure is to dd the partition.
If you want a nice easy to use zip, use paylyhoffman's stock deodexed CWM zip.

Entropy512 said:
In general, you're not supposed to put requests in Development. This should have been posted in General.
And a stock system dump IS an image dump. Zip files don't preserve permissions, and tar files only do if you prepared them carefully (good thing jivy26 did). The only way to be sure is to dd the partition.
If you want a nice easy to use zip, use paylyhoffman's stock deodexed CWM zip.
Click to expand...
Click to collapse
Thanks for clearing it up. My bad I thought this was the section to post requests like that.

Also folks before jumping on the guy, what he is asking for (at least with the .7z file posted) isn't as straightforward as everyone thinks.
If you first extract the 7z file, you'll get a PDA.tar file. Extract that and you'll get the kernel (zImage) and the lovely factoryfs.img.
Try extracting factoryfs.img with your favorite tools and see what happens.
Extracting the factoryfs.img is a real pain unless you are pretty hardcore -- in fact, there was another thread going on the in international SGS II forum with some pretty well known devs (who know their stuff) trying to figure out how to extract that bad boy.
So before everyone starts throwing rocks...you know the story.
Does this look easy to you?
http://forum.xda-developers.com/showthread.php?t=1054836 (relevant discussion starts around post #7)
and another solution (which also is not as simple as "right-click and extract")
http://forum.xda-developers.com/showthread.php?t=1081239
Now -- with that said, if one was really looking for an easy way to pull some media files from a ROM, you best bet would be to try and find a CWM flashable ROM (in a zip format) and do a regular extract on those, and you may find it much easier. They may not be stock, but if it's close, you may get lucky and find some of the stock media in them.

pinoymutt said:
Also folks before jumping on the guy, what he is asking for (at least with the .7z file posted) isn't as straightforward as everyone thinks.
If you first extract the 7z file, you'll get a PDA.tar file. Extract that and you'll get the kernel (zImage) and the lovely factoryfs.img.
Try extracting factoryfs.img with your favorite tools and see what happens.
Extracting the factoryfs.img is a real pain unless you are pretty hardcore -- in fact, there was another thread going on the in international SGS II forum with some pretty well known devs (who know their stuff) trying to figure out how to extract that bad boy.
So before everyone starts throwing rocks...you know the story.
Does this look easy to you?
http://forum.xda-developers.com/showthread.php?t=1054836 (relevant discussion starts around post #7)
and another solution (which also is not as simple as "right-click and extract")
http://forum.xda-developers.com/showthread.php?t=1081239
Now -- with that said, if one was really looking for an easy way to pull some media files from a ROM, you best bet would be to try and find a CWM flashable ROM (in a zip format) and do a regular extract on those, and you may find it much easier. They may not be stock, but if it's close, you may get lucky and find some of the stock media in them.
Click to expand...
Click to collapse
Thanks for clarifying that pinoymutt. Yea basically I know a lot of people don't like the finished charging notification but I don't mind it and I figured it's as simple as just placing the ogg file back in the ui folder. I'm on DG's Cog X2 and he had removed that.

BigBolo said:
Thanks for clarifying that pinoymutt. Yea basically I know a lot of people don't like the finished charging notification but I don't mind it and I figured it's as simple as just placing the ogg file back in the ui folder. I'm on DG's Cog X2 and he had removed that.
Click to expand...
Click to collapse
Doubt it's that simple. I removed the notification by modifying code. I would bet dg did the same.

Related

[Q] dump modem.bin?

I pretty much give up on this, and it's not all that important, but it's bugging me.
How do you, or even CAN you, dump the radio/modem from this device? The best I've been able to do is scour the web and end up with a 512KB .bin file that essentially contains nothing but 0xFF bytes in it.
(If context is required, I'm learning how to make an ODIN image from a device ... and so far this is the only partition that's really killing me)
Just download one of the complete Odin tar files and use something like winrar to extract all the bin files from it.
Sent from my SCH-I500 using XDA Premium App
you cant dump the modem...its like the only thing that cant be....if making a full odin package, pack in one of our existing ones
nitsuj17 said:
you cant dump the modem...its like the only thing that cant be....if making a full odin package, pack in one of our existing ones
Click to expand...
Click to collapse
That's what I figured, since it seems to be something you can't do with the Epic either. Do we know if it's because of CDMA? Something that needs to be secured from dumping perhaps? Meh, doesn't matter
Thanks guys!

[TUT] How to make flashable .zip and other references

Just got a PM about this and I figured since I spent 30 minutes typing this out I would share. Please click +thanks if this helps anyone. Enjoy
Heres a quick QUICK tutorial. Before we begin have android sdk installed to your computer in the C:/ area. You will want it there, not in the program files area. Next install both java platforms.. Android SDK Setup Tutorial. There is a tutorial on how to set it up.
SBF to stock(BARE BONES STOCK! NOTHING ELSE)>Install ROOT>Install Bootstrap>Make Nandroid Backup of STOCK system(This way you can go back if you mess up)>DEOdex system/app & system/framework(see note 1)>Put deodexed files in correct folders of a flashable .zip(see note 2)>Make/Edit an update-script(see note 3) and put file in the META-INF/com/google/android/ folder>sign the .zip(see note 4)>flash
Tools
Note 1:
Use the tool ultimatex or w/e in the tools provided to deodex your phone. It will pull the system/app and system/framework files from your phone and deodex them for you.
Note 2:
Flashable .zip tree
_Name_.zip
-----data(optional)
--------app
-----META-INF
--------com
-----------google
--------------android
-----system
--------app
--------framework
^^^these are folders in the .zip and the tree will look almost identical to this when you go to flash.
Note 3:
Amend&Edify scripting
There is a good tutorial on how to make the update-script. Make sure you download and install Notepad++ and use that as the text editor. NOT regular notepad! Not Wordpad! Example for update-script for this tutorial is:
Filename: update-script (save as any file or whatever, not RTF or anything else, click down arrow and select all or whatever doesn't have an extension(ie we don't want .rtf or .txt) If you are having trouble saving this file, download a flashable .zip and use its update-script.
Note 4:
Here is the tool I use to sign .zip files to flash, as well as a tutorial.
http://androidforums.com/developer-101/8665-how-signing-roms.html
delete_recursive SYSTEM:app
delete_recursive SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
set_perm_recursive 0 0 0755 0644 SYSTEM:framework
Click to expand...
Click to collapse
after you sign the .zip just flash and you should be set.... hope this helps.
There is some very useful stuff here. I'm glad you have the link to naven's post with android tools. That's where I got started. I have SDK and set up already but always good to check out other ways of getting things done. Thanks.
hedwig34 said:
There is some very useful stuff here. I'm glad you have the link to naven's post with android tools. That's where I got started. I have SDK and set up already but always good to check out other ways of getting things done. Thanks.
Click to expand...
Click to collapse
no problem... Im at work with no way of deving the rom so I'm constantly searching for this or that or looking at different ways to do things. I was going to make a update-script tutorial but I found that one.. Maybe ill do one just on permissions with the provided link to get everything else you would need, maybe compile a super thread... idk im just bored haha
Peperm1nt said:
no problem... Im at work with no way of deving the rom so I'm constantly searching for this or that or looking at different ways to do things. I was going to make a update-script tutorial but I found that one.. Maybe ill do one just on permissions with the provided link to get everything else you would need, maybe compile a super thread... idk im just bored haha
Click to expand...
Click to collapse
I was a work myself when responding to your first post. I tend to look around a lot during the day too. I usually end up emailing links to tutorials or other various to myself so I can check them out later at home.
I see that you have ultimatex on your list too. I used that to deodex my stock 2.3.4. Then I saw your post where you were sharing 2.3.4 already deodex'd. If you would have posted your deodex image sooner I probably wouldn't have tried it myself and just used yours. Good thing though cause I learned to do it for myself.
I'm really starting to get into the android thing now. Keep wanting to learn more about how it runs.
hedwig34 said:
I'm really starting to get into the android thing now. Keep wanting to learn more about how it runs.
Click to expand...
Click to collapse
I've rooted/modded all kinds of other devices(non-phone), but I've never went as in depth as I have with android. I've learned a lot and these tuts/references/roms I have put up are things I was looking for in the beginning. I just would like more development on the x2 and this is, I guess, my way of getting more into it.
I'm Still Looking For The Answer To Creating The "update-binary" I Know The Syntax For Amend And Edify.
Wondering....
I have an old G4 PowerPC Mac I am wanting to repurpose. I have never been able to get the SDK installed and working on my Windows or Linux machines... I want to install Ubuntu PPC on that machine and am wondering if I will have any problems with getting the SDK working since it is not an Intel/AMD processor... Any thoughts?
you get the binary in your system folder
Sent from my DROID X2 using Tapatalk
thanks for perfect tut.
i have some question:
1.i want to add fonts ? just adding to system/fonts ?
2.how to add update binary?
3.How To sign the zip?
thanks.
MikeJ92YJ said:
I'm Still Looking For The Answer To Creating The "update-binary" I Know The Syntax For Amend And Edify.
Click to expand...
Click to collapse
Good to see ya Mike
How's that unlock treating ya?
I decided I'm getting a computer before.a new phone. I really need one lol
How to sign .zip
http://androidforums.com/developer-101/8665-how-signing-roms.html
OP updated.
Tapin the Talk on the xSquared
Peperm1nt said:
you get the binary in your system folder
Sent from my DROID X2 using Tapatalk
Click to expand...
Click to collapse
I can't find anything there. Where is it peperm1nt?
Preinstall folder...or you can grab the one out of my ROM's .zip
Tapin the Talk on the xSquared
Peperm1nt said:
Preinstall folder...or you can grab the one out of my ROM's .zip
Tapin the Talk on the xSquared
Click to expand...
Click to collapse
What? That is from rerecovery, no others there.
I assume they are the same that's why I suggest it....
Tapin the Talk on the xSquared
Mikey is right we are guessing. Might as well use DKs latest from his 5027 cwr or p3droids prerooted aio.
If I recall correctly, the guys at CWM made edify scripting? I could be WAY wrong on that, and there are several different versions that have different commands within them. But most are generally the same. You can use any of the update-binary files in the uploads... Eclipse doesn't use edify scripting to my knowledge, but the other uploaded ROMs and most of the mods have it... in my GB Battery fix upload, that is the Binary I use.
I am sure it is a lot more than just this but, amend = update-script and has no binary
edify = updater-script and needs a binary.
Forgive me if I'm wrong but we don't have roms or anything that use edify because our BSR will only work with amend...for now
At least that was my understanding
http://rootzwiki.com/topic/3851-cwr-errors/page__view__findpost__p__89813
Our cwr has updater-script and a binary.

Looking for a proper order to flash

ok so im loving the svn and superlte and all that, can someone please give me some direction as an order to flash all the different mods and such? i understand different orders for different purposes im just looking to get mine as fast as possible and able to tweak the hell out of everything and . Also a follow up question when checking out and after exporting i add my apps and such what do i gotta do besides zipping up the file to make it flash right? has always i appreciate any feed back anyone can give me
BigTexastrev said:
ok so im loving the svn and superlte and all that, can someone please give me some direction as an order to flash all the different mods and such? i understand different orders for different purposes im just looking to get mine as fast as possible and able to tweak the hell out of everything and . Also a follow up question when checking out and after exporting i add my apps and such what do i gotta do besides zipping up the file to make it flash right? has always i appreciate any feed back anyone can give me
Click to expand...
Click to collapse
Not sure I'm quite up to date on the latest ROM slang lingo, but I'll do my best to provide some insight from a developers point of view.
In regards to creating a ROM .zip, which I think is what is referred to as, "checking out and after exporting I add my apps and such what do i gotta do besides zipping up the file to make it flash right?", the process is fairly generic. The ROM .zip (update.zip) file will be processed and loaded in the custom recovery.
The directions are generally all located in the updater-script file under META-INF/*. If the only action being done is adding apps to /system/app on a ROM .zip which already contains apps in /system/app, nothing should need to be changed in the updater-script file.
If apps are being added to /data/app, but nothing in the ROM currently installs to /data, might need to a copy_recursive to updater-script to make sure the /data directory from the ROM .zip is installed properly.
If there are other questions, the more detailed the links and question, the better we can answer! Hope some of the technical details help resolve the question!

Working with backups.

Ok, this may be answered elsewhere, I don't know. "Search is temporarily unavailable" I am trying to understand how I am supposed to work with the backup from CWM. I understand that I should have a System image that I can work in, but what I have is 3 files in its place. System.ext4.tar, System.ext4.tar.a, and System.ext4.tar.b. All three files are broken to some degree.
System.ext4.tar is a zero byte file.
System.ext4.tar.a appears to be a spanned tar file that 7ZIP/WinRAR simply think was cut-off (never asks for the second file, and complains of unexpected End of Archive)
System.ext.4.tar.b appears to be the second part of the archive, but nothing will open it.
So, how do I get to a point I have a complete archive that I can edit? Or do I need to use different software than CWM to back up the phone?
Thanks for the help guys.
waldojim said:
Ok, this may be answered elsewhere, I don't know. "Search is temporarily unavailable" I am trying to understand how I am supposed to work with the backup from CWM. I understand that I should have a System image that I can work in, but what I have is 3 files in its place. System.ext4.tar, System.ext4.tar.a, and System.ext4.tar.b. All three files are broken to some degree.
System.ext4.tar is a zero byte file.
System.ext4.tar.a appears to be a spanned tar file that 7ZIP/WinRAR simply think was cut-off (never asks for the second file, and complains of unexpected End of Archive)
System.ext.4.tar.b appears to be the second part of the archive, but nothing will open it.
So, how do I get to a point I have a complete archive that I can edit? Or do I need to use different software than CWM to back up the phone?
Thanks for the help guys.
Click to expand...
Click to collapse
Well, I found a solution for now. Fire up Linux, use cat to combine all three files, then use tar to extract the contents. Not sure why this needed split in the first place, but at least the files can be extracted.
I have managed to remove the APKs I do not want, and made a new system.ext4.tar file (all in Linux), but need to know what else I have to do to make the system image usable.
I found several guides on making a ZIP file, but I didn't want to necessarily go through all that. I backed up everything, so what I would like to know, is what all needs to change so that I can use the separate files as they are, and simply do a CWM "restore" function?
I know I sound like a complete noob at this point, and will deal with the related comments. However, please understand, I don't want the heavily modified rom packs. I simply wanted a rom VOID of all the Verizon bloatware, and have the Verizon tethering restraints removed. I have them all disabled now, and 3rd party tethering is working quite well. So I would rather not have that garbage wasting space. Right now, it looks like I may save 250MB or so.
Any help would be appreciated. Thanks.
waldojim said:
I have managed to remove the APKs I do not want, and made a new system.ext4.tar file (all in Linux), but need to know what else I have to do to make the system image usable.
I found several guides on making a ZIP file, but I didn't want to necessarily go through all that. I backed up everything, so what I would like to know, is what all needs to change so that I can use the separate files as they are, and simply do a CWM "restore" function?
I know I sound like a complete noob at this point, and will deal with the related comments. However, please understand, I don't want the heavily modified rom packs. I simply wanted a rom VOID of all the Verizon bloatware, and have the Verizon tethering restraints removed. I have them all disabled now, and 3rd party tethering is working quite well. So I would rather not have that garbage wasting space. Right now, it looks like I may save 250MB or so.
Any help would be appreciated. Thanks.
Click to expand...
Click to collapse
Backups really aren't meant to be unzipped and played with. Usually bloat removal is done while booted into the system or you can unpackage a Rom and remove the bloat there and then repackage it and flash it then make your backup that doesn't contain any bloat. Using the xda kitchen tools from dsxda I believe is the name
Sent from my HTC6435LVW using XDA Premium HD app
.torrented said:
Backups really aren't meant to be unzipped and played with. Usually bloat removal is done while booted into the system or you can unpackage a Rom and remove the bloat there and then repackage it and flash it then make your backup that doesn't contain any bloat. Using the xda kitchen tools from dsxda I believe is the name
Sent from my HTC6435LVW using XDA Premium HD app
Click to expand...
Click to collapse
I think this is where some of my confusion comes from - it was never zipped. There was a group of tarred files, an MD5sum and a few other items. But nothing there was zipped.
waldojim said:
I think this is where some of my confusion comes from - it was never zipped. There was a group of tarred files, an MD5sum and a few other items. But nothing there was zipped.
Click to expand...
Click to collapse
I guess what I meant to say by "zipped" was just in general they are compressed by the recovery in a way that it knows how to go and use them to restore data to the device.

I9000 roms on vibrant?

Would it be possible to install an i9000 Rom and make an installable zip that has all necessary vibrant files instead of having to port the Rom on a pc?
epicboy said:
Would it be possible to install an i9000 Rom and make an installable zip that has all necessary vibrant files instead of having to port the Rom on a pc?
Click to expand...
Click to collapse
Sadly we have very little developers on board. Also, it is better to flash the proper ported ROM from the start because if not, file permission failure may happen among other issues such as Force Closes. I gave you the link on how to do it in another thread. It may seem complicated at first but it is not complicated if you, for example, by using 7Zip (or similar) on your PC take the required files from, say, sada's CyanogenMod ROM by opening its zip file with 7Zip and drag it to the .zip i9000 ROM you want to port. Just giving you a hint to make it easier for you. I managed to do it some weeks ago and I didn't know the how-to before.
nirogu325 said:
Sadly we have very little developers on board. Also, it is better to flash the proper ported ROM from the start because if not, file permission failure may happen among other issues such as Force Closes. I gave you the link on how to do it in another thread. It may seem complicated at first but it is not complicated if you, for example, by using 7Zip (or similar) on your PC take the required files from, say, sada's CyanogenMod ROM by opening its zip file with 7Zip and drag it to the .zip i9000 ROM you want to port. Just giving you a hint to make it easier for you. I managed to do it some weeks ago and I didn't know the how-to before.
Click to expand...
Click to collapse
The thing is I want to eliminate the PC from the equation. I like to download roms from my browser and would like to download a i9000 zip, install it with another zip. And boom. I9000 Rom on the vibrant. I will see if I can work on it and make it a reality.
epicboy said:
The thing is I want to eliminate the PC from the equation. I like to download roms from my browser and would like to download a i9000 zip, install it with another zip. And boom. I9000 Rom on the vibrant. I will see if I can work on it and make it a reality.
Click to expand...
Click to collapse
that approach is time consuming to do on the phone takes at least a few minutes just to extract it and same goes for zipping everything back up. trust me I've done this before and never done it again. it would be best to do on a comp less likely to make a mistake
but if you're determined to do it on your phone go for it and good luck. what rom are you wanting to port over from the i9000?
dzee206 said:
that approach is time consuming to do on the phone takes at least a few minutes just to extract it and same goes for zipping everything back up. trust me I've done this before and never done it again. it would be best to do on a comp less likely to make a mistake
but if you're determined to do it on your phone go for it and good luck. what rom are you wanting to port over from the i9000?
Click to expand...
Click to collapse
I'm determined to do it and have some knowledge of the android file system.
I wanted to try out nameless Rom.
epicboy said:
I'm determined to do it and have some knowledge of the android file system.
I wanted to try out nameless Rom.
Click to expand...
Click to collapse
ah nameless I haven't ran that in months but if I remember correctly you need to delete or swap the bootanimation. I forgot exactly why its needed but it seems to cause issues, not really sure but I think it causes the rom to end up in a bootloop...
Sent from my Half Baked Vibrant

Categories

Resources