[Q?] How To Cook A Captivate ROM

DOAlaboratories

Senior Member
Jul 31, 2010
357
38
0
Simi Valley
Well guys, I apologize for posting this here, but i've done a ton of research and i have no clue where to start. I look in the General Android Development here and it's all device specific.
I feel like it's about time for me to start contributing back to the community.
I want to create a deodexed take-and-bake ROM, but i have literally no idea where to start. I dunno if i'm supposed to use VirtualMachine, SDK, JDK, or what. I've done days of research, using my google-fu to the best of my ability. All i want to learn how to do right now is:
1. Deodex
2. Create ROM structure
3. Wrap up in a handy .zip package for installation

If any help could be given, that would be awesome. Plus, if this thread gets any attention, maybe it could be a reference point for new devs to start and maybe help out the community too.

So if you can lend a hand, thanks a million.
 
  • Like
Reactions: DeMarzo

glitterballs

Retired Recognized Developer
Sep 11, 2010
424
197
0
Bed-Stuy
How to cook a ROM:

- Pre-heat your oven to 375
- Baste your framework-res.apk in a garlic and olive oil marinade, let stand for 30 minutes.
- Remove Twiz and set your launcher in /system/app
- Lightly salt and pepper your ROM and add a few miscellaneous apps. Change the apps you include every other day for best results.
- Stuff your ROM with giblets and random mods like the gingerbread keyboard or the one where you move the clear button up to the widget bar on the notification menu.
- Bake for thirty five minutes, or until the ROM reaches sufficient sexiness
- Let stand ten minutes, serve with white wine


Alternatively, just kang someone else's work and pass it off as your own, then just say you only used the build.prop from the other individual's ROM.
 

Pirateghost

Inactive Recognized Developer
Jul 24, 2010
11,705
8,704
0
androidninjas.com
How to cook a ROM:

- Pre-heat your oven to 375
- Baste your framework-res.apk in a garlic and olive oil marinade, let stand for 30 minutes.
- Remove Twiz and set your launcher in /system/app
- Lightly salt and pepper your ROM and add a few miscellaneous apps. Change the apps you include every other day for best results.
- Stuff your ROM with giblets and random mods like the gingerbread keyboard or the one where you move the clear button up to the widget bar on the notification menu.
- Bake for thirty five minutes, or until the ROM reaches sufficient sexiness
- Let stand ten minutes, serve with white wine


Alternatively, just kang someone else's work and pass it off as your own, then just say you only used the build.prop from the other individual's ROM.
I just LOL'd real hard
 

david717

Senior Member
Sep 29, 2010
121
6
0
Florida
I see what you did there glitterballs. I have so say, I am a fan sir. ;)

Thanks for the above links guys! I haven't perused them very much yet, but I'm sure they will make for some great reads =D
 

rasroygbiv

Retired Recognized Developer
Mar 31, 2010
1,902
3,467
0
Fredericksburg, VA
fromnerdstonoobs.com
How to cook a ROM:

- Pre-heat your oven to 375
- Baste your framework-res.apk in a garlic and olive oil marinade, let stand for 30 minutes.
- Remove Twiz and set your launcher in /system/app
- Lightly salt and pepper your ROM and add a few miscellaneous apps. Change the apps you include every other day for best results.
- Stuff your ROM with giblets and random mods like the gingerbread keyboard or the one where you move the clear button up to the widget bar on the notification menu.
- Bake for thirty five minutes, or until the ROM reaches sufficient sexiness
- Let stand ten minutes, serve with white wine


Alternatively, just kang someone else's work and pass it off as your own, then just say you only used the build.prop from the other individual's ROM.
LOL! You are the f-ing man! Really, I think this is a great idea for a thread. I have been trying to figure a way to keep track of all the stuff I have learned over the last few months and this could be it. Between noob and the premiere chefs here are... all the rest of us. I want to learn and share what I learn.
 

goob1284

Senior Member
Nov 24, 2010
726
23
0
Thank you!!!!!"" Finally a good post on where I hopefully can start. Well ill take a look at the sites in the morning. Night!

Sent from my GT-I9000M using XDA App
 

lbbo2002

Senior Member
Jul 13, 2008
77
8
0
Austin
What tool do you use to pull the img files out of a odin release? Like those released on samsung_firmware site?

They look like bin files not img files?

Thanks
 

MikeyMike01

Inactive Recognized Developer
Jul 23, 2010
6,494
2,450
0
How to cook a ROM:

- Pre-heat your oven to 375
- Baste your framework-res.apk in a garlic and olive oil marinade, let stand for 30 minutes.
- Remove Twiz and set your launcher in /system/app
- Lightly salt and pepper your ROM and add a few miscellaneous apps. Change the apps you include every other day for best results.
- Stuff your ROM with giblets and random mods like the gingerbread keyboard or the one where you move the clear button up to the widget bar on the notification menu.
- Bake for thirty five minutes, or until the ROM reaches sufficient sexiness
- Let stand ten minutes, serve with white wine
The best part is that it's actually the correct way to cook a ROM. :)
 

shep211

Retired Forum Moderator
Sep 19, 2007
1,980
295
0
41
Layton, Ut
First thing is choose what base you want to work with. Then load the rom and dump /system.

1 Install busybox to /system/xbin
2 cd /sdcard
3 chmod 777 /system/xbin/busybox
4 /system/xbin/busybox tar czvf dump.tar /system

On your sdcard will be dump.tar. Copy to pc. Unzip the dump.tar. Use xUltimate to deodex /system/apps & /system/framework. Now you can edit framework.res and add theme, battery icons & shutdown menu if needed. This requires Linux to dump the files and Linux to repack them if there are no themes, battery icons or shutdown menus available for your base rom. Add busybox & root. Add what apps you want preloaded to /data/apps. You can also include modem and kernel if needed. Now create update.zip that will flash the files you changed. I have been working on learning how to dump and edit framework.res. From this process I have learned its easier to make your changes to the source code then making changes after then rom is compiled. I read up on CM and they suggest making android apps before compiling from source to get use to android file system and what not. I am now learning android sdk with eclipse. Then I am going to start working with source code instead of making roms from dumps.
 

lbbo2002

Senior Member
Jul 13, 2008
77
8
0
Austin
Magic ISO will open the two .rfs files.
Thanks Mikey for the info that helps a lot so I don't have to load a Linux (still might since I have VMW. I assume Cygwin can do the reconstruction?

Well I got the Frameworks rfs to extract but not any others? What other .rfs file can Magic ISO open/extract?

OK the Cache.rfs file I was able to open and extract the zip. On the first ROM it wouldn't work so must be bad.

Thanks
 
Last edited: