[Q?] How To Cook A Captivate ROM - Captivate Q&A, Help & Troubleshooting

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.

These post might help:
http://htcpedia.com/forum/showthread.php?t=1404
http://forum.xda-developers.com/showthread.php?t=732957
http://forum.xda-developers.com/showthread.php?t=633246

thanks man, swooping up that kitchen up now. maybe by tomorrow i'll have a working ROM out of the little surprise Eugene's bringing for us

DOAlaboratories said:
thanks man, swooping up that kitchen up now. maybe by tomorrow i'll have a working ROM out of the little surprise Eugene's bringing for us
Click to expand...
Click to collapse
Huh? Eugege has something better than Frankin-Twiz?? Or is it F-Twiz with Froyo?
Do tell!

Hey let me know how those work. I've been looking for something like you and had pretty much given up. Here's some other links I've found.
http://forum.xda-developers.com/showthread.php?t=697938
http://forum.xda-developers.com/showthread.php?t=667298

I am also looking to learn cooking Will try and reply.

i would love to learn too should have more time on my hands and might actually get to dig in soon

Since then I've come a long way it just seems like every time i have something rready for release someone one-ups me

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.

glitterballs said:
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.
Click to expand...
Click to collapse
I just LOL'd real hard

DOAlaboratories said:
Since then I've come a long way it just seems like every time i have something rready for release someone one-ups me
Click to expand...
Click to collapse
Any advice to some one starting this journey.
Sent from my SAMSUNG-GT-I9000 using XDA App

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

glitterballs said:
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.
Click to expand...
Click to collapse
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.

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

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

try 7zip. It will extract just about anything.
lbbo2002 said:
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
Click to expand...
Click to collapse

glitterballs said:
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
Click to expand...
Click to collapse
The best part is that it's actually the correct way to cook a ROM.

lbbo2002 said:
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
Click to expand...
Click to collapse
Magic ISO will open the two .rfs files.

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.

MikeyMike01 said:
Magic ISO will open the two .rfs files.
Click to expand...
Click to collapse
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

Related

[AUDIO FILES] Have a very OGG-y AudioResources.zip (EDITED 2:11pm)

IF I'M USING YOUR RESOURCES.ZIP, LET ME KNOW SO I CAN CREDIT YOU!
I didn't see anyone having done this before on a search, and I apologize if it's been done already. I put together all the audio resources I could find for ringtones, alarms, notifications, and ui, converted them all to very small .ogg's and put them in a new zip. It's a little over 9 megs and has a LOT of stuff. Enjoy.
Oh, and if you have more to add, post them. I'll convert them it and add it to the zip
DIRECTIONS FOR USE:
1. Unzip
2. IF you are using a media2sd script, put the media folder on your ext partition. If not, use it to replace the one on your phone. I recommend using adb, or just mounting the thing in linux. It'll make it simpler.
3. REBOOT and give your phone some time to index all the ringtones. It'll take some time.
AudioResources.zip:
http://www.lighthousesolutions.info/AudioResources.zip
EDIT:
A LOT of people are downloading and nobody is posting additional links, which means (I hope) that I didn't miss any sound files. I'm glad I could help people out, and if anybody else has anything to contribute please POST! Thanks.
Also, I forgot to post this the first time. Themers and rom developers (hell anyone) feel free to use the converted .ogg's in whatever you want. They aren't mine to start with, but I figure I better make the statement clear.
Enjoy
Dead link above
My compilation is on page 3 ~Mikey~
Thanks! Can't have too many random ringtones to choose from I say. Already got the giant mega audio resource list from the other topic that includes all the various android phones, this will just help more.
prash said:
Thanks! Can't have too many random ringtones to choose from I say. Already got the giant mega audio resource list from the other topic that includes all the various android phones, this will just help more.
Click to expand...
Click to collapse
I think this includes all of those, although if you find some that I'm missing, please post them. The main draw of this is that all of sound files are as tiny as possible, making it so you can fit them on internal memory if you want to, or just use less space. The entire thing is only 9.4 mb, and it includes the ringtones from the hero and magic.
Post any ringtones it doesn't contain so I can squish them down to tiny size too.
I can't find any media2sd scripts on the forum. Can any one point me in the right direction?
superGOAT said:
I can't find any media2sd scripts on the forum. Can any one point me in the right direction?
Click to expand...
Click to collapse
You don't have your rom in your sig, so my help will have to be very basic. I run cyanogen's experimental rom (not for the faint of heart) and huanyu's user customizable script. Other than that I can't offer much help. What I can say is that if you push the ENTIRE contents of this zip to your ext partition on your sd card and use huanyu's script with media2sd activated, you'll be fine.
Huanyu also has a version of his script for the stable series of cyanogens roms.
I have NO idea how to do media2sd on hero. I don't support hero as an os and will never use it unless the ENTIRE android community decides to go that route.
If you are using another rom let me know and I'll see what I can do.
I'm currently on Drizzy's newest hero build, but the guts are the same. I went back and did some research and that script is working thanks for the help.
superGOAT said:
I'm currently on Drizzy's newest hero build, but the guts are the same. I went back and did some research and that script is working thanks for the help.
Click to expand...
Click to collapse
No problem, and I'm glad they're working out for you. So far I've got over 100 downloads, so it seems people like this.
Anybody with any additional tones to be added? I'd really like to beef it up!
I'd love to give you some of miine but I don't have any that don't have a copyright next to it but if you want them anyway I'll upload them for you.
Thank you mate!
superGOAT said:
I'd love to give you some of miine but I don't have any that don't have a copyright next to it but if you want them anyway I'll upload them for you.
Click to expand...
Click to collapse
Are any of them for a released or soon to be released android phone? I could put together a "legal" and a "questionable" vesion, although the latter might have to be off the forum (hint hint). I'd like to keep the one on here being full of nothing but official android and htc ringtones for released and soon to be released (ie leaked) android devices.
Noob Question...
I'm running CyanogenMod-4.0.4 + Recovery 1.4 and the community hero rom and was wondering how I should go about implementing this audio resources zip. Do i apply the update from the recovery? Or is there some other way of getting them on?
You can push them to /system/media....but I'd recommend using hyanu's userinit.sh script instead. media2sd is FAR superior for the number of sound files were talking about here.
any chance of this being posted elsewhere? Was looking to download this, but the site doesn't seem to exist.
Can't use my host for any more hosting of FREE ringtones
awesome..! thanks
i may use it for DarkDream theme
Barina said:
awesome..! thanks
i may use it for DarkDream theme
Click to expand...
Click to collapse
I take no credit for creating these............
the #.ogg files in the notification folder are made by moonspoon.
BTW i just installed your theme..WOW
I couldn't get CMupdater to download it but i got it from your site
thanks im glad you like it
i tried the new cmupdater in 1.6 and i cant add my theme server without FC
I'f i was you till cmupdater is fixed, place a direct link to the file on your site
thanks for posting this stuff! very nice
Sorry for being such a noob. But could I bother someone to give me steps on pushing this to my phone? (mytouch).

[Mod/Script] MetaMorph, A Theming Project 0.1g(ALPHA)

First of All, I'd like to say a big thanks to the contributors of what your about to get into.
Thanks to Kastro,
Kastro is a developer on this project and did ALOT, and I mean ALOT, of work with this script. He also cross compiled zip, which is the core this project(Originally I had the id to use aapt to do this but we couldnt get it to run on the phone), to work on our phones. So hats off to him.
Thanks to Riku,
Riku has been a big help being our guinea pig and script optimizer. Riku has tested and wiped and flashed and tested things over and over again. He also helped keep the script pretty and optimized.
Thanks to Prash,
Thanks Prash for giving us a theme to work with, he was on board from the start.
Thanks to Ted and Manup,
This guys also loaned their work to us so we could provide examples. We appreciate your talents and skills.
Now, to the Good stuff.
This is an ALPHA release. This means that there will be bugs. We expect there to be bugs....dont use this thinking that there won't be!
MAKE SURE YOU DO A NANDROID BACKUP EVERYTIME YOU FLASH!!!!
And the fun part...
Thanks to Cyanogen for this...
Code:
#include <std_disclaimer.h>
/*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or the current economic crisis. Please do some
* research if you have any concerns about features included in this MOD
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, we will laugh at you.
*/
This thread is for a project we have been working on to allow themers and end users a better way to theme our phones, any android phone btw. This method will not only allow for end users to apply updates without having to go into recovery mode, and most of the time without rebooting, but will also allow themers to start making battery packs, icon packs, lockscreen packs, status bar packs, etc. all without disrupting anything but the images and files they want to update.
Along with this project though comes with a few conditions.
1) A new way to do theme update files.
2) new rules concerning these new theme files.
3) almost limitless possibilites
The default Directory for these themes will be stored on the end users SDCARD in the directory AndroidThemes. (For now there is no way to change this, but there will be in the future)
The contents of MetaMorph.zip go into /system/bin. (For now there is no way to change this, but there may be in the future)
Once you put the content there, please cd into /system/bin and chmod mm.sh and zip to 0755, like this:
cd system/bin
su
chmod 0755 mm.sh
chmod 0755 /system/bin/zip
After you've done and put a theme in your AndroidThemes folder, you are ready to go!
Now open terminal and type:
mm.sh
to get started.
The rest is pretty self explanatory.
To theme DEVS( and users), I have videos uploaded which will go over the specifics of the new theme.zip, please watch this! Very VERY important, so important, I wont tell you how to make one here because you need to watch the videos!
First Video: http://www.youtube.com/watch?v=fX2xbY4nSd4
Second Video: http://www.youtube.com/watch?v=Dvps2501CAg
Third Video: http://www.youtube.com/watch?v=3iu5AHF-Zew
Fourth Video: http://www.youtube.com/watch?v=sgVL-0E8Rh8
Here are the files:
MetaMorph: www.RelentlessAddictions.com/android/downloads/MetaMorph.zip
Battery Pack(Needs Stericson Lockscreen): www.RelentlessAddictions.com/android/downloads/Batteries.zip
Lockscreen Pack(needs Stericson Lockscreen): www.RelentlessAddictions.com/android/downloads/Manup-Stericson-Lockscreen.zip
Full theme (Prashs theme, AlienAqua): www.RelentlessAddictions.com/android/downloads/Prash-theme.zip
Any questions, problems? Ask below, let us know!
Stericson
Update: Added some more error detection for the theme control file. Also moved the location where we put the script. Move the script and zip file to /system/bin. chmod 0755 both the mm.sh and .zip. Now you can run it anywhere just by typing mm.sh -i.
Continued Info on Metamorph
#OTHER INFORMATION, PM ME TO ADD REFERENCE/LINKS
# REGARDING NON-apps2sd USERS:
there isn't anything except two files going to be in that directory, so you should still be ok, make sure you mount your FS read-write before putting the files on your system partition:
Code:
adb remount
adb push file-to-push.ext /system/sd/theming/file-to-push.ext
also, if magic users have troubles with the default terminal app w/ the on screen keybaords you guys have on your roms, try out Better Terminal, the free version, from the Android Market ​
THIS IS A SCRIPT MADE FOR EITHER ADB OR USE ON THE ANDROID DEVICE ITSELF!
which means yes, you can use terminal, or yes, you can use the android debug bridge! ​
This script in the end will be designed to be compatible with ANY rom, we need you to test it, (we're talking to you, dev's
Theme-Devs! Join us on IRC!
irc.freenode.net/#android-mods​
New Zipall script, by Kastro & Riku! working on windows port in collab with coolboh3000! stay tuned! http://forum.xda-developers.com/showpost.php?p=4795886&postcount=51
Waiting Patiently for the VID!!!
one question, for users with no apps2sd e.g. no system/sd directory needed such as those on the magics, how would it work?
regarding Non-Apps2sd
NguyenHuu said:
one question, for users with no apps2sd e.g. no system/sd directory needed such as those on the magics, how would it work?
Click to expand...
Click to collapse
this is not quite ready I think for theming third party apps, though I'm sure its entirely doable, remember its ALPHA!
also, the only things in /system/sd/theming are two files,
so you shouldn't have to worry about it, though again, its not quite ready for changing, I would suggest creating that folder
For now it wont, but as I said, in the future we will have this fixed. We allready though of this. Magics cant be rooted and use apps 2 sd?
Or are you referring to no keyboard?
Does the on-screen keyboard work in terminal?
Also...you never know...hmmm there may even be some wild and crazy app made to use this....neverrrr knowwww
Stericson
Stericson said:
For now it wont, but as I said, in the future we will have this fixed. We allready though of this. Magics cant be rooted and use apps 2 sd?
Or are you referring to no keyboard?
Does the on-screen keyboard work in terminal?
Also...you never know...hmmm there may even be some wild and crazy app made to use this....neverrrr knowwww
Stericson
Click to expand...
Click to collapse
terminal will work, but its buggy, Try the free version of Better Keyboard, on the market
Riku said my posts are boring....so I prettied it up!
any particular rom? or do we just need the right theme for the right rom
First video is up...
what do we use this on top of?
phantom574 said:
any particular rom? or do we just need the right theme for the right rom
Click to expand...
Click to collapse
pretty much this will work with any rom, however, I personally would recommend "right theme, for the right rom" as a few roms (like blur, hero, etc) have a different image setup, ALTHOUGH. this will most likely work, but thats why its an alpha release, so that we can test this fact. PLEASE nandroid before use
Can't wait for the videos to see what new toys we have to play with
rikupw said:
pretty much this will work with any rom, however, I personally would recommend "right theme, for the right rom" as a few roms (like blur, hero, etc) have a different image setup, ALTHOUGH. this will most likely work, but thats why its an alpha release, so that we can test this fact. PLEASE nandroid before use
Click to expand...
Click to collapse
1 flash theme for rom
2 metamorph
3 customize?
phantom574 said:
1 flash theme for rom
2 metamorph
3 customize?
Click to expand...
Click to collapse
at this point, I would wait until all the videos are up, it's highly recommended that you read watch the videos. there are 4 of them, 8 minutes each, if you don't want to watch them, wait a few days for other people to get the hang of things, bum off of their work lol
rikupw said:
at this point, I would wait until all the videos are up, it's highly recommended that you read watch the videos. there are 4 of them, 8 minutes each, if you don't want to watch them, wait a few days for other people to get the hang of things, bum off of their work lol
Click to expand...
Click to collapse
will wait for the vids thanks for your help!!
Brilliant idea! Had a feeling it'd be something along these lines. Bye bye, update.zips then!
/Mats
update.zips
ZilverZurfarn said:
Brilliant idea! Had a feeling it'd be something along these lines. Bye bye, update.zips then!
/Mats
Click to expand...
Click to collapse
i think that they will be still be of use, first flash teh update.zip, perhaps later supply packs, option colors, etc etc? that will be most useful I believe to end-users
rikupw said:
i think that they will be still be of use, first flash teh update.zip, perhaps later supply packs, option colors, etc etc? that will be most useful I believe to end-users
Click to expand...
Click to collapse
This could be my end all solution to maintaining all the NFL themes, and make it way easier to manage the NBA and NHL.
Following this, I could essentially issue 1 update.zip for a color set (says like Blue/Red for Giants, Patriots, Texans, Rangers, Pistons etc..) and then use the packs to have all the icons, clocks and etc. which would save me from flashing things over and over to test.
w00t
jairomeo said:
This could be my end all solution to maintaining all the NFL themes, and make it way easier to manage the NBA and NHL.
Following this, I could essentially issue 1 update.zip for a color set (says like Blue/Red for Giants, Patriots, Texans, Rangers, Pistons etc..) and then use the packs to have all the icons, clocks and etc. which would save me from flashing things over and over to test.
Click to expand...
Click to collapse
BINGO. you got it. sort of make sure you watch the videos!
Tested and working, flawlessly. Excellent work guys, kudos!

What is a "deodex" file? What does it mean?

My Hero is running Damages 2.09.1 and it works perfectly in every respect. But when I was considering the update it was mentioned that this version was "deodexed" and this was a better file. What is deodex? What does it mean? Is it better then a version that is not deodexed?
Thanks for the education. I see the term and want to know what it means.......
Lisa
◦An odex file is basically a chunk of source code that has already been extracted from the apk and put on /system/. This is done to speed up the first boot of a rom (you know how your first boot takes a long time… that’s while it is extracting all of these dex files) and also to save space on /data/. Our stock sprint rom comes with this odex files to give you those benefits, however it also prevents us from “hacking” those files and modifying them. This build has taken all those odex files and injected them back in the apk’s. So expect a slower first boot, and more space taken up on /data/, but you get benefits from it such as the vanilla lock screen being fixed and live wallpapers in Rosie.
Taken from Flipz' website
Great explanation!
I so appreciate you taking your time to explain this....
Lisa
No problem....
Thank you Brian M!
jesus not again............
how the hell do yall even find these ancient threads to bump serously i want to know.
This is actually good. It's showing that he's learning and willing to go deep in our forum to find a solution. Bravo pimpin.
I also found this right now and it answered my question very well. Thanks biran m. =)
yea me to. Thanks brian m
Yah me 2, Thanks mr brian M
You can search it by google.:D
Google Search brought me here

[Kitchen][Online] website which lets anyone bake a rom

Hello, i'm a web developer and have no experience in developing android roms. Anyways, i'm planning to develop a free website which will let any developer create an online kitchen for his rom, where users like me can come and bake rom according to their needs. Now as i don't have any experience with cooking roms, i would like a little help from the developers. Help i am seeking in is, what features a fully customizable kitchen has, how to change the update.zip for the changes, and adding applications to the zip. I have a little bit idea, but want a clear process.
you will get flamed for this
shararti said:
Hello, i'm a web developer and have no experience in developing android roms. Anyways, i'm planning to develop a free website which will let any developer create an online kitchen for his rom, where users like me can come and bake rom according to their needs. Now as i don't have any experience with cooking roms, i would like a little help from the developers. Help i am seeking in is, what features a fully customizable kitchen has, how to change the update.zip for the changes, and adding applications to the zip. I have a little bit idea, but want a clear process.
Click to expand...
Click to collapse
This really is an admirable goal, but you're attempting to bite & chew WAY more than your mouth can handle!!!
You're a web developer, good.
You have no experience in developing android roms, bad.
You want to develop a free kitchen, good.
You have no experience with cooking roms, bad.
You want developers to help you in exchange for a free kitchen for their rom, bad & good.
You don't know how to update the "update.zip" file and re-sign it, bad.
You don't know how to add an APK to the above mentioned "update.zip" file and re-sign it, bad.
You have a little bit of an idea, but want a clearer process, bad.
All of the above noted BAD points, have been discussed, referenced, and linked on these forums countless times shararti.
You really need to search, read, search some more, and apply what you've learned.
I too am a Web Developer/Designer. I've been in the business of creating websites since 1999 (off & on). And the above mentioned project it something I WON'T EVEN DARE ATTEMPT.
Good luck!
I did search, countless times, everywhere. But as lack of my experience with rom development, it was quite confusing. Well I do know signing and adding apk part, and the rest, i agree, i need some help. I'm willing to give my summer to this project and develop this kitchen for the xda community (i'm also willing to give it away to xda). Now if anyone is willing to help me, please pm me.
Actually, it isn't that difficult.
There are quite a few scripts and programs that you could simply employ on your website. I'm sure those developers wouldn't mind
You would have to tier your ROM baking based on the major ROM cores, and the features swappable between flavors of those cores.
It's simply letting the user choose what he wants in his base ROM, pushing the files into the zip, and running the script to sign them.
I'd be glad to guide you in the structure of ROMs, and showing you what can be mixed and matched.
PM me. We'll get started.
Sounds like a very cool idea and I wish you all the best and hope you find some programmers willing to teach you about roms, and you can do the web coding and make your idea a reality.
I'd use it for sure, would be wicked. Imagine going to this web page on your N1 customizing a ROM, building it and then flashing it. All without going near a computer. Sounds unreal!
APrinceAmongMen said:
I'd be glad to guide you in the structure of ROMs, and showing you what can be mixed and matched.
PM me. We'll get started.
Click to expand...
Click to collapse
Perhaps, share the information here once you two have things worked out?!
shararti said:
I did search, countless times, everywhere. But as lack of my experience with rom development, it was quite confusing ...
... I'm willing to give my summer to this project and develop this kitchen for the xda community ...
Click to expand...
Click to collapse
XDA is such a huge resource, full of solutions, bricked devices and lost newbs LOL.
After trolling for a few months, I was ready to flash my first WinMo SmartPhone a few years ago. I haven't used a 'regular phone' ever since.
This would be an ideal summer project. As I said, I'm also a Web Developer.
Hit me up for some theme/template ideas. I do most of my work with Notepad++ and Adobe Fireworks CS4.
Goonish said:
I'd use it for sure, would be wicked. Imagine going to this web page on your N1 customizing a ROM, building it and then flashing it. All without going near a computer. Sounds unreal!
Click to expand...
Click to collapse
hhmm, never thought of that!
You're right ... sounds unreal!
Something the iFans would never be able to attain.
Even better, how about, instead of flashing some large file, only the ones affected by an update are flashed, resulting in a much SMALLER file (thus saving on data usage) and a FASTER flashing (saying on battery life).
shararti said:
Hello, i'm a web developer and have no experience in developing android roms. Anyways, i'm planning to develop a free website which will let any developer create an online kitchen for his rom, where users like me can come and bake rom according to their needs. Now as i don't have any experience with cooking roms, i would like a little help from the developers. Help i am seeking in is, what features a fully customizable kitchen has, how to change the update.zip for the changes, and adding applications to the zip. I have a little bit idea, but want a clear process.
Click to expand...
Click to collapse
Well it all depends on what you want. I would suggest you have a base rom without the boot.img stored with minimal capability in a folder. then allow the user to choose what type of kernel and capabilities they would like with it. That will be the minimum amount for a rom. Then you can follow it up with additions such as extra scripts and applications that can be added and moved to the appropriate directories. at the end, you would zip up the selection and sign it, with the appropriate update-script (which should be the same as the stock rom's unless the additions require something drastic)
So the folder tree should look something like this for one specific ROM:
ROM/ROM Core Files (this is the base rom without boot.img)
ROM/ROM Core Files/META-INF (this is for the update zip)
ROM/ROM Core Files/system (this is where the system apps go)
ROM/ROM Core Files/data (this is where certain apps go)​
ROM/ROM Kernels (this is where kernels are/boot.img)
ROM/ROM Kernels/boot.img.1 etc​
ROM/Modifications (this is where apps and other mods go)
ROM/Custom Build (this is where the baked rom should go)
Then all you need to figure out is how to move everything to the custom build directory
Move the core to custom directory and a boot.img (rename it from whatever it is to boot.img) and then move and modifications to the appropriate directory inside the custom build folder. Then zip the custom build folder and sign it
That should be about right. its 3 am here lol so i may be missing something. pm me if you need more help or post here
Exactly.
The great thing about it. The ROM core files can be optional. You can bake a kernel or you can bake CM w/ custom kernel and custom mods, i.e. modded phone.apk. You can bake anything and everything.
Mmm baking never sounded so good.
Check this website out:
http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/
My small contribution to this project
The basic kitchen:
forum.xda-developers.com/showthread.php?t=633246
Sorry it's not a link, apperantly new users cannot post links
flybyme said:
So the folder tree should look something like this for one specific ROM:
ROM/ROM Core Files (this is the base rom without boot.img)
ROM/ROM Core Files/META-INF (this is for the update zip)
ROM/ROM Core Files/system (this is where the system apps go)
ROM/ROM Core Files/data (this is where certain apps go)​
ROM/ROM Kernels (this is where kernels are/boot.img)
ROM/ROM Kernels/boot.img.1 etc​
ROM/Modifications (this is where apps and other mods go)
ROM/Custom Build (this is where the baked rom should go)
Then all you need to figure out is how to move everything to the custom build directory
Move the core to custom directory and a boot.img (rename it from whatever it is to boot.img) and then move and modifications to the appropriate directory inside the custom build folder. Then zip the custom build folder and sign it
Click to expand...
Click to collapse
Ok so after reading it 3 times carefully, this is what i got to:
All roms have same common files, which are:
1. the META-INF folder.
2. the system folder.
3. the data folder.
This is a basic skeleton of any rom, and every rom has these exact files.
Now what i have to do is, when a user cooks a rom, i have to pick the required boot.img and put it into the basic skeleton, in addition to any apps/modifications user want. Then zip the whole package and sign it.
Is that it?
PS: you also said that i may need to change update-script, in what cases that would be required?
PPS: Do i have to make changes to some other files too? cause it sounds too easy to be true =p
shararti said:
Ok so after reading it 3 times carefully, this is what i got to:
All roms have same common files, which are:
1. the META-INF folder.
2. the system folder.
3. the data folder.
This is a basic skeleton of any rom, and every rom has these exact files.
Click to expand...
Click to collapse
They usually have the same folders, not files
the META-INF has the signature files but most importantly the update-script which tells the phone what to do when your flashing the update.
shararti said:
Now what i have to do is, when a user cooks a rom, i have to pick the required boot.img and put it into the basic skeleton, in addition to any apps/modifications user want. Then zip the whole package and sign it.
Is that it?
PS: you also said that i may need to change update-script, in what cases that would be required?
PPS: Do i have to make changes to some other files too? cause it sounds too easy to be true =p
Click to expand...
Click to collapse
that SHOULD be it but remember that you may have to remove some apps from the core files of the rom such as amazon mp3 that people may not want, so you will have to see what apps can be removed and decide whether you want users to be able to remove it or not.
You MAY have to change the update-script if for example you want to put some things in the data partition and symlink them or change the data partition to include the ext partition instead of just for apps. Changes like that are usually for ROMs that are too big to fit properly on the nexus ( youll also have to check the size of the system and data folders to make sure they fit on the phone without modification)
Most of this stuff will be figured out in testing haha but ya at the very basicee its what you have here. You really have to know what you actually want users to be able to cook and then build the kitchen to that effect
flybyme said:
They usually have the same folders, not files
the META-INF has the signature files but most importantly the update-script which tells the phone what to do when your flashing the update.
Click to expand...
Click to collapse
So does that mean i can use same core for all custom baked roms? Except for the update-script, which in rare cases, may need to be altered.
flybyme said:
that SHOULD be it but remember that you may have to remove some apps from the core files of the rom such as amazon mp3 that people may not want, so you will have to see what apps can be removed and decide whether you want users to be able to remove it or not.
Click to expand...
Click to collapse
I took a look at system folder and it's quite populated. Can you tell me what are the basic files that are common for all roms? For the rest of the files, i guess i'll give the user choice to include them or not.
Also can you tell me what is zipalign? Will that be required in baking process?
And to let everyone know, I have already started the working on the kitchen =]
shararti said:
So does that mean i can use same core for all custom baked roms? Except for the update-script, which in rare cases, may need to be altered.
I took a look at system folder and it's quite populated. Can you tell me what are the basic files that are common for all roms? For the rest of the files, i guess i'll give the user choice to include them or not.
Also can you tell me what is zipalign? Will that be required in baking process?
And to let everyone know, I have already started the working on the kitchen =]
Click to expand...
Click to collapse
Well it really depends on what ROM's your looking at. Some devs change the apps to their liking. For example, CyanogenMod has a modified Settings.apk that has features specific to his rom. However, all ROMs have Settings.apk. As such, you will probably have to have a Core ROM folder for each specific rom.
I would suggest looking at other online kitchens and see what features they offer, come up with a specific feature set and then decide what direction that you want to take.
zipalign is a compression technique that optimizes how .apk files are accessed in android. it makes things faster and is not required but would be nice to have. you lose the benefits if you open and modify any files from a zipaligned apk
Let's clear some things up here.
First, core files are not interchangeable between main roms but only flavors of those main roms.
As of now, we have 3 main roms for the nexus one.
CyanogenMod, Modaco Custom ROM, and Desire/Sense Roms.
Each of these roms have their own unique cores amd features and are not interchangeable.
There are flavors of each of these roms.
Flavors of CM has parts that are interchangeable with other flavors but use Cyans core.
Say there is one CM flavor that has some themieing and a few other changes you don't want. You can take the themed files and put them into your CM base and leave the rest out.
You can't put that themeing into a Modaco Custom ROM though.
Kernels I believe are the only things can be put into any ROM base. Most apps are as well.
Now that I look at it. Doing a Nexus One kitchen isn't that difficult but making a full featured HTC kitchen would be a mountainous task. There are so many mods, roms and themes to keep track of. We'd have to designate people from each device forum to feed us the ROMs and parts that are active and functional.
P. S. Lectures are over at 7 today. ill be able to crack down on it with you then
Kitchens are for the Food Network...
well thanks flybyme and APrinceAmongMen, these 2 posts really cleared up somethings. I'm in the process and will keep you guys updated.
QUESTION: how do i change the radio and boot animations in a rom?
PS: the good news is, i'm done with all the hard part, and just few small things remaining. Probably if anything else doesn't comes up, you guys should have a n1 kitchen within few days =D
shararti said:
QUESTION: how do i change the radio and boot animations in a rom?
PS: the good news is, i'm done with all the hard part, and just few small things remaining. Probably if anything else doesn't comes up, you guys should have a n1 kitchen within few days =D
Click to expand...
Click to collapse
boot animations are located either in /data/local or /system/media
radio flash will require you to change the update-script
you can look at the FRF50 update with the radio to figure it out ( or pm me if thats too difficult, its a little late else id do it myself)
Just make sure the radio is excluded by default.
Another thing about radios, the newest radio usually works on older roms, but old radios don't work on the roms released with and after the newest radio.

APK Manager / Deodex / Odex Manager

So, I have put together an actual Windows program for a lot of Rom Builders. I used to build a lot of Roms, but really don't do much of it any longer. What I know though, is the tool I built is extremely easy to use and very effective. I thought some of you would very much enjoy this tool. It will also allow a lot more people to start theming and tinkering It has built in Draw9 support and will automatically detect what versions of Java you have and allow you to select which one you would like to use.
So I am going to post it here for now in the Note 4 forum for a few of you to install it and check it out. It will support many phones, if not all. All you have to do is make sure you have some type of Java program installed on your PC. The rest is all self-contained and updated.
The first thing you are going to need to do after install is to go into setup and setup the paths accordingly, to your liking. Once this program is setup it runs great. I have built it with threading, so it won't lag as you are working along.
I will post some screen shots for you all to check out.. I would use these as examples of what your environment should look like. Also, make sure you pull the system, from the adb options tab, from your phone as the first step before doing anything else, it will use the framework files as needed to work. This path is also where your deodex setup paths of originals should point to, the pulled files for app and framework.
Enjoy !!!
Link: https://drive.google.com/file/d/0B31X8bH_5Gl-eUtJODBhcUdPRDg/view?usp=sharing
Update: ** Updated file to fix a small issue.. ** EST: 10:24 p.m.
Thank you for this! Going to take a look into it here tonight!
Updated OP..
Made some modifications to the build..
Very Cool, thank you for creating this tool, I'm going to give it a try tonight after a few Christmas parties this evening.
Sounds like a useful tools. I will check it out when my retail phone gets rooted.
za33ck said:
Very Cool, thank you for creating this tool, I'm going to give it a try tonight after a few Christmas parties this evening.
Click to expand...
Click to collapse
Oh great, it will be even better after a few drinks in you..
Can you post source code as well ?
This looks awesome, so what do we use? Do we take a Odin flash able ROM....I don't understand how to use it?
Sent from my Definitive v1.4 Note 4 using Tapatalk
bdorr1105 said:
This looks awesome, so what do we use? Do we take a Odin flash able ROM....I don't understand how to use it?
Sent from my Definitive v1.4 Note 4 using Tapatalk
Click to expand...
Click to collapse
You just plug your phone in and wait for it to detect it.
From there you need to setup the program, look at the screen shots.
gatesjunior said:
You just plug your phone in and wait for it to detect it.
From there you need to setup the program, look at the screen shots.
Click to expand...
Click to collapse
So basically whatever mods you currently have you then make flushable?
I guess what I am asking is should we Odin the stock base that's odex, pull the folders with your program, deodex it and make whatever mods?
Biggest question, how do we make it flushable, I am extremely new to this
Sent from my Definitive v1.4 Note 4 using Tapatalk
Normal
Normal ? when selecting device? See attached Picture
bdorr1105 said:
So basically whatever mods you currently have you then make flushable?
I guess what I am asking is should we Odin the stock base that's odex, pull the folders with your program, deodex it and make whatever mods?
Biggest question, how do we make it flushable, I am extremely new to this
Sent from my Definitive v1.4 Note 4 using Tapatalk
Click to expand...
Click to collapse
So, I am assuming, you mean flashable. Look around for update.zip files associated with Android. You need to make sure you are rooted / dev edition in order to even pursue this. If you are then do some research on update.zip files and understanding our partition table for our phone or your phone, etc..
Wifi tethering unlock
I have my Note 4 DE ordered/shipped by Samsung. I have never used this program before, how easy is it to do your own Native WiFi Hotspot modification? Or is there any step by step I have missed somewhere? Basically, I am wanting to root, TWRP and then change a few things on my own.
Thanks!
gatesjunior said:
So, I have put together an actual Windows program for a lot of Rom Builders. I used to build a lot of Roms, but really don't do much of it any longer. What I know though, is the tool I built is extremely easy to use and very effective. I thought some of you would very much enjoy this tool. It will also allow a lot more people to start theming and tinkering It has built in Draw9 support and will automatically detect what versions of Java you have and allow you to select which one you would like to use.
So I am going to post it here for now in the Note 4 forum for a few of you to install it and check it out. It will support many phones, if not all. All you have to do is make sure you have some type of Java program installed on your PC. The rest is all self-contained and updated.
The first thing you are going to need to do after install is to go into setup and setup the paths accordingly, to your liking. Once this program is setup it runs great. I have built it with threading, so it won't lag as you are working along.
I will post some screen shots for you all to check out.. I would use these as examples of what your environment should look like. Also, make sure you pull the system, from the adb options tab, from your phone as the first step before doing anything else, it will use the framework files as needed to work. This path is also where your deodex setup paths of originals should point to, the pulled files for app and framework.
Enjoy !!!
Link: https://drive.google.com/file/d/0B31X8bH_5Gl-eUtJODBhcUdPRDg/view?usp=sharing
Update: ** Updated file to fix a small issue.. ** EST: 10:24 p.m.
Click to expand...
Click to collapse
Nice,
I just pulled my /system/
Thanks!!!
radionerd said:
Nice,
I just pulled my /system/
Thanks!!!
Click to expand...
Click to collapse
Great..

Categories

Resources