Make a Rom? - G1 Q&A, Help & Troubleshooting

I've spent the better part of 5 hours trying to come across information on ROM development.
My question is two part. What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
I have a feeling there's a lot I don't know. Perhaps the answer is in front of my face, but I've been looking for a long time and definitely have tried so please don't just say "use the search fuction" or "google it"

Devs normally don't like to share the info but there's a guide here:
http://ctso.me/2010/02/building-an-android-rom-–-part-1-5/
But the info is in other places to the google-android page might have some info to. You must be using a linux OS to actually build anything, windows is a no-go...

Quick and helpful, thanks!
Luckily I did just put the latest ubuntu on my laptop.
If anyone else wants to chime in with some helpful resources please do!
If some annoying little 14 year old made a hero rom, it can't be all that complicated.

halfmonty said:
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
Click to expand...
Click to collapse
He was just lying, he spammed various threads while talking about other devs.

Ace42 said:
He was just lying, he spammed various threads while talking about other devs.
Click to expand...
Click to collapse
first he's 14 then he's 12...next he'll be a spoiled 8 year old. you just watch.
I'm glad I checked this post. I was curious about ROM developing myself. Thanks for the post.

Is it me, or does that guy have more then one account...

At the risk of taking this further off topic... what guy?
But really my main concern is how to make a rom so, any other help from anyone would be good. Thanks!

Bump?
I'm sure somebody knows something

What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Click to expand...
Click to collapse
If you would like to compile android source code (create a rom from scratch) the best place to start would be:
http://forum.androidspin.com/showthread.php?t=2004
or
Chris Soyars' blog: http://ctso.me/2010/01/building-an-android-rom-part-1/
OpenEclair github readme: http://github.com/openeclair/android
Official AOSP Guide: http://source.android.com/download, http://source.android.com/download/using-repo, http://source.android.com/documentat...ding-for-dream
Instructions on creating and signing update.zip files can be in a few places herre on xda. Check the themes section I'm pretty sure I saw a few there.
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
Click to expand...
Click to collapse
Install the rom on a handset & do a nandroid backup. It will produce the img files you will need for the AVD

Dude, you're awesome, thanks!

Related

what do u want in a how to make rom

I am going to make a how to make a rom tread. What do u guys want to see in it
I am going to show u how to get ubunbu running on windows and how to make a rom. So list other stuffs I could do
mohsinkhan47 said:
I am going to make a how to make a rom tread. What do u guys want to see in it
I am going to show u how to get ubunbu running on windows and how to make a rom. So list other stuffs I could do
Click to expand...
Click to collapse
I'd like it to be proof-read by somebody else. Not meaning to be disparaging to your possible skill, but a guide written with the same rampant disregard of English shown here is likely to lead to confusion. Guides and tutorials should be written mindful of the fact that exactness and clarity is required.
I would really like to know how to sign a ROM... mainly because I'd like to be able to modify existing ROMs with different apps and ringtones prior to flashing, which would be MUCH easier than having to do everything through Terminal after flashing.
It would help if there was a list of hero apps that would work when creating a normal G1 rom (not hero).
uansari1 said:
I would really like to know how to sign a ROM... mainly because I'd like to be able to modify existing ROMs with different apps and ringtones prior to flashing, which would be MUCH easier than having to do everything through Terminal after flashing.
Click to expand...
Click to collapse
Look in the theme forum for stericson's auto-signing tool. You can sign roms with it. Its reallyeasy to set up and you can use it to sign .zip files. Its what i use with all my themes and it works great
I am at work on my phone right now but when i get home i will edit this post with a link to it if i remember
david1171 said:
Look in the theme forum for stericson's auto-signing tool. You can sign roms with it. Its reallyeasy to set up and you can use it to sign .zip files. Its what i use with all my themes and it works great
I am at work on my phone right now but when i get home i will edit this post with a link to it if i remember
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=473580
That link? Can you post a how-to, or just PM me the directions? I have no experience with how to do any of that stuff... What's the SDK?
uansari1 said:
http://forum.xda-developers.com/showthread.php?t=473580
That link? Can you post a how-to, or just PM me the directions? I have no experience with how to do any of that stuff... What's the SDK?
Click to expand...
Click to collapse
I can help you when i get home tonight. Will you still be up or on in like 3 hours or so? I will be able sometime around that (its 9:10pm where i am)
uansari1 said:
I would really like to know how to sign a ROM... mainly because I'd like to be able to modify existing ROMs with different apps and ringtones prior to flashing, which would be MUCH easier than having to do everything through Terminal after flashing.
Click to expand...
Click to collapse
here you go:
http://forum.xda-developers.com/showpost.php?p=3786249&postcount=181
I'd like a section dealing with modifying-upgrading the kernel, ramdisk, and really anything dealing with the boot and recovery images (since I've already learned most of the workings of the system partition)
Ssantos6981 said:
It would help if there was a list of hero apps that would work when creating a normal G1 rom (not hero).
Click to expand...
Click to collapse
We have HTC Music......there's your list
The HTC camera from the HTC Magic/Sapphire has also been ported.

How Do You Build Your Own ROM and Sign It?

How Do You Build Your Own ROM?
How Do You Sign It?
Any Help Once I Get The Basics Then I Know I Can Help With The Builds Of Hero I Just Need Help How To Get Started..
You Know A Path To The Right Direction..
Thanks..
Search. Someone posted up a tutorial on how to do exactly what you're asking.
Then again, I doubt many people will want to use a ROM made by someone who doesn't think to search on his own in the first place. Probably not the sign of a thorough developer.
uansari1 said:
Search. Someone posted up a tutorial on how to do exactly what you're asking.
Then again, I doubt many people will want to use a ROM made by someone who doesn't think to search on his own in the first place. Probably not the sign of a thorough developer.
Click to expand...
Click to collapse
haha this is what i thought why are so many people on xda fags?
always say this stupid ****.. its annoying how you just don't answer..
how about help out and not say this stupid stuff it would help out alot more..
Thanks For Your Advice "***"
You Fill The Stars...
MySoul2Creep said:
haha this is what i thought why are so many people on xda fags?
always say this stupid ****.. its annoying how you just don't answer..
Thanks For Your Advice "FAG"
Click to expand...
Click to collapse
Not as annoying as people not using the SEARCH function... "ASS".
haha oh i looked it gave me a run around tho..
MySoul2Creep said:
haha oh i looked it gave me a run around tho..
Click to expand...
Click to collapse
Stericson started a thread (use the search function to search for threads started by him) about how to sign files and ROMs... I would start there and you'll probably find information on building ROMs as well.
I would also check the Google developer forums (don't know the URL) for information on building a ROM for Android. You'll need to download and install several items to your computer to create the appropriate environment to build.
uansari1 said:
Stericson started a thread (use the search function to search for threads started by him) about how to sign files and ROMs... I would start there and you'll probably find information on building ROMs as well.
I would also check the Google developer forums (don't know the URL) for information on building a ROM for Android. You'll need to download and install several items to your computer to create the appropriate environment to build.
Click to expand...
Click to collapse
Ahh thanks bro! This helps me too I was just looking for something like this. I'll put up sites to this stuff when i find them on here!

[Q] Searching for an automated way to deodex and zipalign

There are some ROMs around that are deodexed and zipaligned. The ROMs around here unfortnately are themed (not to my taste) and/or have removed Samsung stuff that i use. I want a nearly untouched FW (i remove a few Samsung apps on my own).
So i'm searching for an automated method (that can also be used for future FWs) to deodex and zipalign the files of my phone (maybe only some binaries or java applications and a batch file).
I can manage to pull/push all files from/to /system/app and /system/framework but i'm not able to do the rest...
Also very interested in this. Or a clean kitchen or a how to on making a kitchen to mod our roms.
dutchcow said:
Also very interested in this. Or a clean kitchen or a how to on making a kitchen to mod our roms.
Click to expand...
Click to collapse
I just wanted to create a thread about MODIFYING / CREATING CUSTOM ROMS FOR THE i9000.
Does anyone know how to modify (for example, Tayutama's JPM Full ROM) ROMs?
I googled and just found some HTC ROM HowTo's.
Check my signature for all the tools u shud need in terms of deodexing, editing apks, creating signed update.zip. Thats all you really need i think :\
A zipaligner is missing.
yes that'd be perfect! trying to optimize my device myself here too.
if there's no automated way could someone be so kind to post some instructions as to how?
found some stuff on the g1 forums but i'm not sure if it'll work...
Adevem said:
yes that'd be perfect! trying to optimize my device myself here too.
if there's no automated way could someone be so kind to post some instructions as to how?
found some stuff on the g1 forums but i'm not sure if it'll work...
Click to expand...
Click to collapse
+1, i want to do this myself too , and let devs do more imporant things
Could someone with more knowledge help us out with the basics?
+1 for me!! Now one has reply since last year, but proably there is some app that came out that does all this or nobody whant to doit any more...
So?? How to deodex/zipalign proper hand made roms??
PIRATA! said:
+1 for me!! Now one has reply since last year, but proably there is some app that came out that does all this or nobody whant to doit any more...
So?? How to deodex/zipalign proper hand made roms??
Click to expand...
Click to collapse
Quite an old topic, you'd be better off just creating a new thread.
Use this: http://forum.xda-developers.com/showthread.php?t=633246

[Q] Rom Cooking .

Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Man do yourself a favor a READ and search for awhile.... all you ever do is ask for handouts. Development is not easy. Its not just a matter of asking questions. You had 134 views of this page before I responded. That's 134 people that didn't wanna help you... if that doesn't say anything I dont know what will.
self proclaimed XDA resident prick
Jurellz said:
Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Click to expand...
Click to collapse
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
dastin1015 said:
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
Click to expand...
Click to collapse
Thanks for the positive feedback!

Tutorial

Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
jimmydee62 said:
Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
Click to expand...
Click to collapse
It depends, stock or aosp? With a stock rom just download one already made and a untouched stock system then figure out how the developer did what he did then make your own with the knowledge you gained. You will probably need a kitchen to make the installer script because that is a pain to do yourself. Aosp is a whole different bag of marbles but cyanogenmod has a good tutorial on how to do it and that knowledge will transfer to non cyanogenmod builds as well. If you are not competent with Linux learn that first. I would suggest arch Linux because it will force you to learn the command line. cygwin won't compile aosp so don't even think about trying that shortcut.
ThePagel said:
It depends, stock or aosp? With a stock rom just download one already made and a untouched stock system then figure out how the developer did what he did then make your own with the knowledge you gained. You will probably need a kitchen to make the installer script because that is a pain to do yourself. Aosp is a whole different bag of marbles but cyanogenmod has a good tutorial on how to do it and that knowledge will transfer to non cyanogenmod builds as well. If you are not competent with Linux learn that first. I would suggest arch Linux because it will force you to learn the command line. cygwin won't compile aosp so don't even think about trying that shortcut.
Click to expand...
Click to collapse
I appreciate your feed back and I want to start with stock and go from there. I've programmed before which was done by writing all the code just not android. That is why I'm asking for tutorial to show me what, where, and when. It is not something just because I'm curious I really want to get involved and see if it is worth my time. So I need to know as much up front as possible which once I understand that then I can go forward.
jimmydee62 said:
I appreciate your feed back and I want to start with stock and go from there. I've programmed before which was done by writing all the code just not android. That is why I'm asking for tutorial to show me what, where, and when. It is not something just because I'm curious I really want to get involved and see if it is worth my time. So I need to know as much up front as possible which once I understand that then I can go forward.
Click to expand...
Click to collapse
Not much coding in stock, more like shuffling stuff around. The closest thing to programming with custom stock roms is the edify script (installer script).
ThePagel said:
Not much coding in stock, more like shuffling stuff around. The closest thing to programming with custom stock roms is the edify script (installer script).
Click to expand...
Click to collapse
What I mean is command line will not be a problem for me since I have written code before which uses a type of command line. I'm looking for the tools needed to do the roms you say something about kitchen and what else? Maybe I'm just making this harder then I need to but I'm just trying to learn how to make roms of my own and need a place to start.
jimmydee62 said:
What I mean is command line will not be a problem for me since I have written code before which uses a type of command line. I'm looking for the tools needed to do the roms you say something about kitchen and what else? Maybe I'm just making this harder then I need to but I'm just trying to learn how to make roms of my own and need a place to start.
Click to expand...
Click to collapse
Yeah I don't know of any tutorials, other than what I suggested in my first post your best bet is to just jump in head first and use google when you get stuck.
If you go to infamous rom developments webpage which I can't post here because I will get in trouble. He has a full step by step guide how to do everything from stock roms to aosp and even kernels.
jimmydee62 said:
Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
Click to expand...
Click to collapse
^^^^^^^ check it out.
jonahtriangle said:
^^^^^^^ check it out.
Click to expand...
Click to collapse
Thank will check it out.
jonahtriangle said:
^^^^^^^ check it out.
Click to expand...
Click to collapse
jimmydee62 said:
Thank will check it out.
Click to expand...
Click to collapse
I went to check out that guide to make sure you are going in the correct direction and found it wants you to use the old dsixda kitchen which has been abandoned. Use archi kitchen instead http://forum.xda-developers.com/showthread.php?t=2597220
Try to use the kitchen for compiling the installer script only, you'll figure stuff out faster that way.
ThePagel said:
I went to check out that guide to make sure you are going in the correct direction and found it wants you to use the old dsixda kitchen which has been abandoned. Use archi kitchen instead http://forum.xda-developers.com/showthread.php?t=2597220
Try to use the kitchen for compiling the installer script only, you'll figure stuff out faster that way.
Click to expand...
Click to collapse
Thanks for the update have downloaded it and will try it out tomorrow.
Good info in here.
Sent from my SM-G920T using Tapatalk
This is a basic question, but for the life of me I can't find a tutorial in how to deodex system files for the S6 that actually work. Tried a few but afterwords when decompiled they don't show smali files. Anyone have a way to do this?

Categories

Resources