Coding a rom - Galaxy Ace S5830 General

I would like to learn how to code a rom. I'm well aware of the fact that it's gonna be very hard but I will certainly try... I'll probably start by learning how to do small edits an existing rom and go on from there.

So would you like to know how to theme or compile?
AOKP 4 LYF (possibly CM7 aswell)

scoffyburito said:
So would you like to know how to theme or compile?
Click to expand...
Click to collapse
Hey there..
Even i am interested in ROM development..starting off with tweaks and theming..then moving to MIUI theming level..and then actual porting and ROM development with kernel stuff compiling and all..
i know it would be very hard and would require few months to start off and create 1..
i am ok..i am 18 and would be having summer vacations as well
And im on CM9 currently by maclaw
i do have programming experience primarily in C,C++, .NET and good in Java..i am an app dev as well..just started few months ago..and made apps..1 rooted app too
i know all of the stuff would be in C and C++..but i am eager to learn and develop !!
well I want a TRUSTWORTHY start off guide ..could you help me out..in providing some useful links or even knowledge sharing would be awesome!

The code isn't just C and C++
There's the Makefile language , Java language and Javascript .
Herpderp Defy.

Ohh ok!
Do you have some useful links from where i can learn or atleast start..!
I just love Android .. currently just making apps using only d SDK..
and what is the MakeFile language for..guessing it would be for packaging stuff together..i guess so....
And was wondering .. do i only have to refer the chef central at xda!
or there is some more awesome learning stuff somewhere else?!

And Linux knowledge is also important (not much though)
Sent from my GT-S5830 using Tapatalk

KcLKcL said:
And Linux knowledge is also important (not much though)
Click to expand...
Click to collapse
Yeah..i agree to that
And i justt loveee Ubuntu

So I would appreciate it if someone could make a guide for noobs

jleonnn said:
So I would appreciate it if someone could make a guide for noobs
Click to expand...
Click to collapse
Yeah .. there anyone to give us a start off?

There are a couple of easy to understand guides somewhere around here....

K then thanks I'll try to find them
Sent from my GT-S5830 using XDA

Related

How to learn creating custom ROM

I wish to ask the expert custom ROM makers here what knowledge do I need to learn how to make custom ROMs. My background is I am a programmer and developer in windows and web applications for 15 years. So where should I start? Thank you.
Sent from my GT-I9100 using XDA Premium App
Best advice is to learn about android, learn some app development etc.
Unless you want to become a 7zip chef. That's easy.
Rawat said:
Best advice is to learn about android, learn some app development etc.
Unless you want to become a 7zip chef. That's easy.
Click to expand...
Click to collapse
Whats 7zip chef? Yes I know a little about app development with android. Android is java and I used to be Java certified since Java has been released by sun. Any other knowledge gap I need to fill? Should I learn more of linux stuffs?
Sent from my GT-I9100 using XDA Premium App
I guess you'll wanna learn some C too.
Sent from my GT-I9100 using XDA App
fenguinpower said:
I wish to ask the expert custom ROM makers here what knowledge do I need to learn how to make custom ROMs. My background is I am a programmer and developer in windows and web applications for 15 years. So where should I start? Thank you.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
:0 start learning "how to place the question in the right topic"...
i believe if u gonna make research and if u will pm some of the many developers here - maybe one that lives close to your area- he/she will help u out for sure with some details. i dont think they will release the details for public...otherwise use google mate.
Moved to Q&A
First best to learn about android in general. There are way too many people here who think applying a theme to a zipped stock rom makes them cool...
If you want to be regarded as a dev, stick to the coding side As you know java, smali should be simple to you..
Learn how to modify binary applications etc.
Don't fall into the lame "7zip to open the rom, drag and drop a few files, then re-zip" that some people (can they even be called people???) do... And stick away from theming something and calling it a rom.
It's just lame and not cool... But if you read up on how android works, you will get the hang quickly, and if you are knowledgeable about java, it should be easy to get going modifying things... Then you will truly join the "devs" and be one of the bunch

[Q] huge question for all you smarter devs

ok so im trying to learn to dev right and i found the kitchen thats suppose to help you well it has a porting option and i was wondering if it would be able to port CM???....dont troll me...im only trying to help
pimp100500 said:
ok so im trying to learn to dev right and i found the kitchen thats suppose to help you well it has a porting option and i was wondering if it would be able to port CM???....dont troll me...im only trying to help
Click to expand...
Click to collapse
Short answer, Nope.
Longer answer...it can aid in the porting of cm7, but it won't be a direct, instant, no problem port. It will move some files for you, but you must also know which files to remove, edit, tweak, etc. before you could even begin porting it
I'm thinking a fresh new build is most likely the best option for CM. You'll have to be patient like the rest and give them time.There's a lot of time, work and testing envolved either way.
You got an answer from myn so that should keep this thread short and sweet. OP you can always go to the CM dev team and watch for any info they share.
thanks to both of you....anyone wanna teach me how to port lol
http://goo.gl/TTlKm
jdmmike said:
http://goo.gl/TTlKm
Click to expand...
Click to collapse
that look dammn fine haha
Which kitchen are you using ?
Gumby63 said:
Which kitchen are you using ?
Click to expand...
Click to collapse
cygwin
10chars
Cygwin isn't the kitchen, it's the environment the kitchen runs in.
He is probably using dsixda's kitchen

How to build your own ROM for SGA?

Hi,
I am a newbie when it comes to ROM development for android. I have been a avid fan of all the development work that you guys do and wanted to contribute.
So, I thought of building my own ROM and in process learn how this thing works exactly.
I am decent enough Java Developer, and a full time Linux user. So technicality is not a problem. But i have some very basic doubts?
1. Where to start?
2. How to reach to the level where i can build my own ROM.
3. What are the places I can refer to.
I was thinking of picking up the code of cynogen mod and build something different. At this moment i don't know what different.
Anyway, the point is I want a guidance. specially where to start?
ur posting in wrong section mate. question shouldnt be here in dev subforum.. btw
1 - ur already started by showing interest
2 - thats not a hard thing, anyone with linux experience can build their own rom. rom using stock samsung's as base is much easier. unpack, deodex, edit apk's, repack, profit. rom compiled from source eg aosp and cm is much harder.
3 - here. i think xda alone is enough for tutorials and such. u just need to know where to look. sometimes what we need is buried deep down under all this thousands of thread and post created everyday. thats when search button came to the rescue.
an0nym0us_ said:
ur posting in wrong section mate. question shouldnt be here in dev subforum.. btw
1 - ur already started by showing interest
2 - thats not a hard thing, anyone with linux experience can build their own rom. rom using stock samsung's as base is much easier. unpack, deodex, edit apk's, repack, profit. rom compiled from source eg aosp and cm is much harder.
3 - here. i think xda alone is enough for tutorials and such. u just need to know where to look. sometimes what we need is buried deep down under all this thousands of thread and post created everyday. thats when search button came to the rescue.
Click to expand...
Click to collapse
Thanks a lot!
Actually I got interested in this when I saw my friends Galaxy S2 running Miui, and I want it to run on my Ace!
I know about limitations still I want to try.
I will search xda for information. But if you have any docs or have links bookmarked, can you please share it?
ujjwal.kanth said:
Thanks a lot!
Actually I got interested in this when I saw my friends Galaxy S2 running Miui, and I want it to run on my Ace!
I know about limitations still I want to try.
I will search xda for information. But if you have any docs or have links bookmarked, can you please share it?
Click to expand...
Click to collapse
Google will b a gud option to seek for help.
Sent from Galaxy Ace GT-S5830 using Grif's Cyanogenmod & allinone ram script.
Dont jus say thanks, use d 'THANKS' button. [XDA RULE]
ujjwal.kanth said:
Thanks a lot!
Actually I got interested in this when I saw my friends Galaxy S2 running Miui, and I want it to run on my Ace!
I know about limitations still I want to try.
I will search xda for information. But if you have any docs or have links bookmarked, can you please share it?
Click to expand...
Click to collapse
Hmm don't try. Unless you are able to optimize it for ARMV6 CPU architecture.
Sent from my GT-S5830 using Tapatalk
consegregate said:
Hmm don't try. Unless you are able to optimize it for ARMV6 CPU architecture.
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
Actually MIUI has not yet been ported to any ARMv6 devices (AFAIK). How I am going to do it, I have no idea. If anyone knows anybody working on this, and has made even littlt progress, please let me know.
edit:jazux of Team GreenMods is working on porting MIUI for Galaxy 3. Will that help us anyway?
Account removal
Deleted
Pockets69 said:
Good luck with that porting, i don't know how relevant this is but this might help you out...
http://forum.xda-developers.com/showthread.php?t=1133741
now this is a port for the samsung galaxy 3 its a mdpi phone... but i don't know if its armv6 haven't checked :s but that might help you out...
Click to expand...
Click to collapse
Thanks, I have contacted the dev of that ROM for help. After reading that thread, I realized that I will need lots and lots of help.
edit:Yeah Galaxy 3 is ARM v6
Account removal
Deleted

[ADVICE] DEV-section

We all know that it has been a mess here since a while.
I thought to post this, so MAYBE some people do listen to CYANOGEN himself instead of the DEVs around here.
Here you go: http://forum.xda-developers.com/showthread.php?t=667298
cyanogen said:
I really dislike the "chef" moniker when it comes to Android, since we are more of an open-source community. I think it implies a "file pusher" mentality. But then again, I am biased against proprietary versions of Android like Sense, so feel free to disregard all of this.
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.php/Building_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pl...bcd225e47b2cc7abb2a366112d3aeb45936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
Click to expand...
Click to collapse
I hope this helps.
And I don't say you should not "Develop" the "ROMs", I say we should publish them in ONE topic. Were everyone can acces them easily, but it will be ordened nicely.
If that thread will be anywere, than I will take responsibilty to make it.
reserved
reserveddd
There will be posted many ROMs in here if so, reserved!
I will help you too
reserved
dhruv.always said:
I will help you too
reserved
Click to expand...
Click to collapse
Thanks
You mind posting your next ROMs in here?
Not to be rude ofcourse...
Greets!
mDroidd said:
Thanks
You mind posting your next ROMs in here?
Not to be rude ofcourse...
Greets!
Click to expand...
Click to collapse
Yeah if u delete 1-2 of ur reserved posts so my roms come in 2nd or 3rd post
I understand this advice
thanks for linking this.. those are really useful links
mDroidd said:
We all know that it has been a mess here since a while.
I thought to post this, so MAYBE some people do listen to CYANOGEN himself instead of the DEVs around here.
Here you go: http://forum.xda-developers.com/showthread.php?t=667298
I hope this helps.
And I don't say you should not "Develop" the "ROMs", I say we should publish them in ONE topic. Were everyone can acces them easily, but it will be ordened nicely.
Click to expand...
Click to collapse
Seems to me the pdk site is down???
+1 do this...
I personally dont belive in binary tweaked and enhanced ROMs, they are more filled with bloatware and totally unneeded scripts making the system slower... and those themes?? Yea i can download them too...
Sent from my HTC One X using xda premium
RockR172 said:
+1 do this...
I personally dont belive in binary tweaked and enhanced ROMs, they are more filled with bloatware and totally unneeded scripts making the system slower... and those themes?? Yea i can download them too...
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I too. Themed ROMs are not worth
+1 from my side too
mDroidd said:
We all know that it has been a mess here since a while.
I thought to post this, so MAYBE some people do listen to CYANOGEN himself instead of the DEVs around here.
Here you go: http://forum.xda-developers.com/showthread.php?t=667298
I hope this helps.
And I don't say you should not "Develop" the "ROMs", I say we should publish them in ONE topic. Were everyone can acces them easily, but it will be ordened nicely.
Click to expand...
Click to collapse
I totally agree with this. O1 P500 Community could use a little cleaning up.
By the way, I have been wanting to learn actually developing Android but just can't find the resource to hook me up. Those links are just what I needed.
My opinion is that we can ask a kid politely till we die of old age,
and i'm not far by comparing what is happening here whit kids behavior.
Long story short moderators must do something, us users can relay do nothing,
if a user is like that, our posts will defensively not impress him and in most cases he will never read them..
RockR172 said:
+1 do this...
I personally dont belive in binary tweaked and enhanced ROMs, they are more filled with bloatware and totally unneeded scripts making the system slower... and those themes?? Yea i can download them too...
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
DJoptimus-One said:
I too. Themed ROMs are not worth
+1 from my side too
Click to expand...
Click to collapse
But you download and flash such roms?
mcapoy said:
I totally agree with this. O1 P500 Community could use a little cleaning up.
By the way, I have been wanting to learn actually developing Android but just can't find the resource to hook me up. Those links are just what I needed.
Click to expand...
Click to collapse
Good for you that you find it now, if you tried searching the same earlier you would have learn how to develop in Android coz that link is almost 2 years old. Basically you wasted 2 years waiting for such links to come.
This thread is of no purpose, the theme roms and other roms will go in this section ONLY as its right now. No need to create threads like this one, to avoid warning.
Thread closed!

What to do after creating a rom?

I have created a rom and themed it. But i wnt some performance tweaks and some apps which i could integrate in settings.apk
Sent from my GT-S5360 using xda app-developers app
hell_lock said:
I have created a rom and themed it. But i wnt some performance tweaks and some apps which i could integrate in settings.apk
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Looking forward for your rom..
-------------------------------------------------------------------------
Sent from my GT-S5360 using xda premium
maybe u coulf add rom control with its tweaks?
So start looking at performance tweaks and such, and if you are adding some stuff to pre-compiled APKs then look into smali and the tools you need to use to manipulate it.
thewadegeek said:
So start looking at performance tweaks and such, and if you are adding some stuff to pre-compiled APKs then look into smali and the tools you need to use to manipulate it.
Click to expand...
Click to collapse
Smali is too hard for me! I only undrstnd xml
Sent from my GT-S5360 using xda app-developers app
hell_lock said:
Smali is too hard for me! I only undrstnd xml
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
If all you understand is XML then you are going to be hard pressed as what you want to do will need to be done by editing the smali or the Java source code
Sent for a corner cell in Arkham
[RANT]
Oh boy...I just love it when people start saying
"I'm building a ROM", "I'm doing dev work", "I want to be a recognized developer"
Then I make suggestions and I get "That's too hard", "Do you have a download link" "Cn u teac me hw mak a custm kernel?"
Yet they are totally unwilling to actually invest some time into these things and LEARN it.
Guy's Rome wasn't built in a day, and your ROM isn't going to be either. Look around, read, SEARCH SEARCH SEARCH. Download other people's stuff not just to Kang it, rename/re-post it under your name, but to LEARN, to figure out how it works, so you can UNDERSTAND. This isn't like a store, where you walk in and go "I want one of those, and I'll take one of them, and please get me that, where can I find this, etc, etc." Make little modifications, tweaks on top of tweaks, and keep doing that until it's soemthing new, soemthing different, and THEN post it. But please don't limit yourself, to what is "Easy" or "Comfortable", it's not the way to get anywhere with real development work, much less in life. Put some time into it, and some effort. I really do wish you all luck, but you guys have to stop looking for the easy way to get some quick credit.
[/RANT]
@OP I know of zero performance modifications that you can do in XML, and if you are looking to use someone else's work and use that then start searching and make sure you ask before you use it.
thewadegeek said:
[RANT]
Oh boy...I just love it when people start saying
"I'm building a ROM", "I'm doing dev work", "I want to be a recognized developer"
Then I make suggestions and I get "That's too hard", "Do you have a download link" "Cn u teac me hw mak a custm kernel?"
Yet they are totally unwilling to actually invest some time into these things and LEARN it.
Guy's Rome wasn't built in a day, and your ROM isn't going to be either. Look around, read, SEARCH SEARCH SEARCH. Download other people's stuff not just to Kang it, rename/re-post it under your name, but to LEARN, to figure out how it works, so you can UNDERSTAND. This isn't like a store, where you walk in and go "I want one of those, and I'll take one of them, and please get me that, where can I find this, etc, etc." Make little modifications, tweaks on top of tweaks, and keep doing that until it's soemthing new, soemthing different, and THEN post it. But please don't limit yourself, to what is "Easy" or "Comfortable", it's not the way to get anywhere with real development work, much less in life. Put some time into it, and some effort. I really do wish you all luck, but you guys have to stop looking for the easy way to get some quick credit.
[/RANT]
@OP I know of zero performance modifications that you can do in XML, and if you are looking to use someone else's work and use that then start searching and make sure you ask before you use it.
Click to expand...
Click to collapse
This.
You won't develop a ROM overnight. Go learn some real programming and stop compiling other peoples work and making a ROM that is "your own."
Sent from my HTC One X using xda premium
rohan32 said:
This.
You won't develop a ROM overnight. Go learn some real programming and stop compiling other peoples work and making a ROM that is "your own."
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Who are you referring it to? I cooked a rom and I think that I have made the rom. Of you don't have anything to help me then please don't comment. I don't understand smali but I know how to read tutorials and add more features in the rom by smali editing like swipe to remove, 14 toggle etc.
Sent from my GT-S5360 using XDA
I never ask for an easy way out. I add features in my rom manually!!
Sent from my GT-S5360 using XDA
He was being helpful, he is bringing up a attitude that is rampant here on XDA, namely the "cooking" of ROMs. There are WAY too many people who just cook a ROM in a kitchen and claim to have "developed" it. No, you just re-packaged somebody's work, it's not the same thing. I'm not saying it's useless, but it causes way to many "developer" wanna-be's that just aren't interested in actually learning something. Up above we posted suggestions and you responded with
Smali is too hard for me! I only undrstnd xml
Click to expand...
Click to collapse
That creates the impression that you aren't wanting to try any other methods for creating ROMs. If you were trying to say that you don't know smali, then maybe you should have said something like,
I don't know smali so I'm not sure how well I could implement features like that. Do you guys have any suggestions?
Click to expand...
Click to collapse
Not only is that easier to read, but it also communicates much more clearly what you are trying to say/ask. But the way that post is currently worded it makes it sound like you are just wanting to re-package somebody's work and use it as your own.
thewadegeek said:
He was being helpful, he is bringing up a attitude that is rampant here on XDA, namely the "cooking" of ROMs. There are WAY too many people who just cook a ROM in a kitchen and claim to have "developed" it. No, you just re-packaged somebody's work, it's not the same thing. I'm not saying it's useless, but it causes way to many "developer" wanna-be's that just aren't interested in actually learning something. Up above we posted suggestions and you responded with
That creates the impression that you aren't wanting to try any other methods for creating ROMs. If you were trying to say that you don't know smali, then maybe you should have said something like,
Not only is that easier to read, but it also communicates much more clearly what you are trying to say/ask. But the way that post is currently worded it makes it sound like you are just wanting to re-package somebody's work and use it as your own.
Click to expand...
Click to collapse
This is very true, I'm new to porting and I'm starting with porting so I can learn the ins and outs of a rom so at a later time I can learn to develop, even in porting I've had to back smali and make some edits to get things working so sooner or later you will have to as well.. I'm currently reading a begginers guide on java for android.. Google is my best friend and I'm trying to learn as much as I can because I have an idea of my 'ideal' rom.. I can't wait for someone else to do it so I can port it and I know it will never be the way I want.. I'm doing it mainly for myself and I hope one day I can share with others
Sent from my Nexus S 4G using xda premium
Best thing to do is get on the good side of a dev and ask them to teach you, I had great help from some of the best devs on XDA, but as above its not something you can just learn easily, I already had a pretty good knowledge of Java and XMLs etc before i got a smart phone lol, If you stick to it then you should get somewhere, Java is a pain in the ass though, editing .smalis is probably the hardest thing for a new dev
Think About It
TO GET STARTED
Fix Bugs
Test it,
Decompile APKS and modify them if you have permission
Add features and tweaks
Put it up on git.
Help YOUR USERS and stop asking silly questions
snowman77 said:
TO GET STARTED
Fix Bugs
Test it,
Decompile APKS and modify them if you have permission
Add features
Put it up on git
Help YOUR USERS and stop asking silly questions
Click to expand...
Click to collapse
Done all dat.. Srry to ask dis question. Seems like people here are not helpful. Everyone is a flamer.
Sent from my GT-S5360 using XDA
hell_lock said:
Done all dat.. Srry to ask dis question. Seems like people here are not helpful. Everyone is a flamer.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
I haven't seen one post of someone flaming you in this thread. We tried to give you some advice and you said it was too "hard" so we all shut up and left you alone.
thewadegeek said:
I haven't seen one post of someone flaming you in this thread. We tried to give you some advice and you said it was too "hard" so we all shut up and left you alone.
Click to expand...
Click to collapse
I prefer bein left alone so pls dont comment again..
Sent from my GT-S5360 using XDA
hell_lock said:
I prefer bein left alone so pls dont comment again..
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Well then you shouldn't have started the thread, I'm not trying to "flame" by any means... but if you wanna add some performance settings and mods I'll give you some advice thewadegeek gave me, take a look at aokps or cm9 or whoever's git repo you feel has some similar features to those you wish to add and start there, you'll get a good understanding of how everything works... at that point it comes to the fine details and making sure everything works.. when you have issues at that point you then can ask for help on getting the fine details fixed since at that time you'll have specific issues that someone can help with
Sent from my Nexus S 4G using Tapatalk 2
evol4g said:
Well then you shouldn't have started the thread, I'm not trying to "flame" by any means... but if you wanna add some performance settings and mods I'll give you some advice thewadegeek gave me, take a look at aokps or cm9 or whoever's git repo you feel has some similar features to those you wish to add and start there, you'll get a good understanding of how everything works... at that point it comes to the fine details and making sure everything works.. when you have issues at that point you then can ask for help on getting the fine details fixed since at that time you'll have specific issues that someone can help with
Sent from my Nexus S 4G using Tapatalk 2
Click to expand...
Click to collapse
Thanks.. Thats what I wanted
Sent from my GT-S5360 using XDA
hell_lock said:
Thanks.. Thats what I wanted
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
No problem man, good luck to ya
Sent from my Nexus S 4G using Tapatalk 2

Categories

Resources