[Q] Looking to Develop a ROM - Droid X General

Hey all,
I'm new to the XDA forums and was wondering if I could some advice regarding ROM development on the DX. I've done some UNIX kernel work and know a fairly good amount of java as well, so I was thinking about looking into developing a ROM of my own as a side project. Can anyone direct me towards some information regarding the porting requirements needed by the DX, or possibly I could help out on another ROM to get up to speed on the process?

From what I've seen around here all ROMs for the DX are made by stripping the stock ROM of MOTO Blur, and adding a few packages that are custom or AOSP. Also, be prepared for people to tell you what to do... it seems to be the popular thing to do.

I would also love to maybe one day get into making a ROM, but I haven't seen any guides or the like for people who want to make a ROM. I would imagine it be a tad difficult.

http://forum.xda-developers.com/showthread.php?t=667298
I haven't done any of this I just was interested and found this awhile ago.
Looking forward to see what you can come up with!

Qwontum said:
Hey all,
I'm new to the XDA forums and was wondering if I could some advice regarding ROM development on the DX. I've done some UNIX kernel work and know a fairly good amount of java as well, so I was thinking about looking into developing a ROM of my own as a side project. Can anyone direct me towards some information regarding the porting requirements needed by the DX, or possibly I could help out on another ROM to get up to speed on the process?
Click to expand...
Click to collapse
My word of advice, since there's a locked bootloader, find every kind of work around you can for performance and battery, otherwise, your rom will be like the rest.
My rom may not come with the best options and all the advanced customizations, but i'll be damned if one outperforms mine in performance at least.. on paper and in theory, anyways. lmao

Qwontum said:
Hey all,
I'm new to the XDA forums and was wondering if I could some advice regarding ROM development on the DX. I've done some UNIX kernel work and know a fairly good amount of java as well, so I was thinking about looking into developing a ROM of my own as a side project. Can anyone direct me towards some information regarding the porting requirements needed by the DX, or possibly I could help out on another ROM to get up to speed on the process?
Click to expand...
Click to collapse
In addition to what drod said... Hit up @Aliasxerog on Twitter! He is currently looking for help with Linux kernel work. He has been working on a new init for the X to bypass the bootloader issue we have all grown to love! If you could give him some help, I'm sure he, along with the entire Droid X community would be forever in your debt
Shoot him a message and see what he has to say...

I can help you out if you have any questions, I am making a couple of roms for the DROID2 right now and the Dx is pretty much the same phone, just send me a pm if you need anything.
Qwontum said:
Hey all,
I'm new to the XDA forums and was wondering if I could some advice regarding ROM development on the DX. I've done some UNIX kernel work and know a fairly good amount of java as well, so I was thinking about looking into developing a ROM of my own as a side project. Can anyone direct me towards some information regarding the porting requirements needed by the DX, or possibly I could help out on another ROM to get up to speed on the process?
Click to expand...
Click to collapse
Sent from my DROID2 using XDA App

Related

Custom ROMs

I have been SCOURING the web for possible Motorola Bravo ROMs to no avail. I've read everything from the Bravo not possessing the correct files/firmware to the Bravo not having the lack of restriction needed. Point blank, I'm willing to put my phone up for experimental development to jump start this process for the world of Bravo users. I'm an employee of AT&T and I'm tired of the way we kill the freedom of this phone. It's time for the barriers to come down, point blank. Please, developers, feel free to contact me through this post if you are interested. I've heard about making dumb-files for the phone (I'm a moderate noob, to say the least). Therefore, I'm willing, with correct instruction, to create one of these system files to help out or whatever else may be needed.
Thanks
I just got a Bravo and love this guy! I prefer it over my Captivate and Aria. I'm all for some customization to come to this VERY underrated device.
same here. nothing has really been done with this phone. at least we could get 2.2? if nothing else
Hmm
http://community.developer.motorola...RAVO-development-resources-available/m-p/8304
BravoMotorola said:
http://community.developer.motorola...RAVO-development-resources-available/m-p/8304
Development recourses officially available for the Motorola Bravo!
Click to expand...
Click to collapse
What does this mean for us Bravo owners, exactly? Thanks.
What it means?
Just makes it easier I think...if you a Motodev member! So, really nothing.
check out my new thread in this forum, i am porting bootstrap used on d2/dx/dpro to the bravo to get clockworkmod running and then we can get some roms!

[Q] tutorial for building a rom from sdk

Plz read this and leave some feedback. My device is lacking developers compared to other devices. We have like maybe 2 true developers that know their way around code and what not. So i am trying my best to learn how to build roms. I recently taught myself how to port a rom and was semi successful in that it works except the normal problems like wifi, gps, etc.
Now the question. It there a tutorial on how to build a rom from sdk? Im seeing honeycomb roms pop up for other devices based on sdk. I would like to build a honeycomb rom for my device as well. I am clueless when its comes to code so i am currently reading up on things like "c++ for dummies" and other helpful books. im asking for either helpful links that a newbie can figure out with some reading and learning or guidance (if you're that patient).
Any helpful comments are welcome! Thx
Edit: been google searching before posting this thread and havent really stumbled upon anything too helpful. Just throwing that out so no one goes "it called a search, noob" lol
Sent from my T-Mobile myTouch 3G Slide using XDA App

[Q] developing roms, where to start?

With the newly deodexed honeycomb I have gotten the itch to start looking into how to create/develop my own rom.
What is the best way to start learning, is there a good starting point, I have been doing some reading but it just seems so overwhelming.
I do have basic Linux knowledge and can whip up a linux VM in no time to get crackin. I have been modding my EVO for the last year so i know how to be a "user" and have tinkered with the xoom but have only scratched the surface.
So my question is just this, Where to start??
any input would be helpful.
+1!
need a little walkthrough too :S!!
and someone can say what files NEVER EDIT to not brick the xoom!!
i too would be highly interested in learning what steps to take.
bossjeeves said:
With the newly deodexed honeycomb I have gotten the itch to start looking into how to create/develop my own rom.
What is the best way to start learning, is there a good starting point, I have been doing some reading but it just seems so overwhelming.
I do have basic Linux knowledge and can whip up a linux VM in no time to get crackin. I have been modding my EVO for the last year so i know how to be a "user" and have tinkered with the xoom but have only scratched the surface.
So my question is just this, Where to start??
any input would be helpful.
Click to expand...
Click to collapse
Get that VM set up, and get your environment set up so you can build AOSP.
Look through the source so you know what parts of Android are found where in the tree.
Learn a little about the platform, what does what...
Basically, just get your hands dirty.
ydaraishy said:
Get that VM set up, and get your environment set up so you can build AOSP.
Look through the source so you know what parts of Android are found where in the tree.
Learn a little about the platform, what does what...
Basically, just get your hands dirty.
Click to expand...
Click to collapse
so this is kind of what I expected for an answer but I would like a little more if you dont mind.
Like maybe a couple of links pointing in the right direction, like what does the environment need for tools etc.
ydaraishy said:
Get that VM set up, and get your environment set up so you can build AOSP.
Look through the source so you know what parts of Android are found where in the tree.
Learn a little about the platform, what does what...
Basically, just get your hands dirty.
Click to expand...
Click to collapse
That's like saying jump in a lions den and see what ticks him off. Can we get more details please? I want to get into theming and want to know the ideal OS to do it on. I was hoping on doing it in Linux but want advice from themers.
IV been playing hippie for a couple of weeks so I don't know if I missed something but, unless the full AOSP source has been released, a deodex rom will help with nothing but theming.
You can't do much to customise a ready built rom, and you would be wasting your time to try anything but the simplest of mods.
That being said, if you're happy to play with smali you might achieve a little more.
Sent from my HTC Desire using Tapatalk
alias_neo said:
IV been playing hippie for a couple of weeks so I don't know if I missed something but, unless the full AOSP source has been released, a deodex rom will help with nothing but theming.
You can't do much to customise a ready built rom, and you would be wasting your time to try anything but the simplest of mods.
That being said, if you're happy to play with smali you might achieve a little more.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
this is exactly what I am talking about here, This is kind of why I brought it up in the xoom forum, since we dont have source and we do have a deodexed rom wouldnt playing with that be a great place to start? if so like what would be the best place to start, you say play with smali, now I know I can google and get tons of answers but I am asking to explain a little more because I trust the feedback from here and I think others might benefit also
bossjeeves said:
this is exactly what I am talking about here, This is kind of why I brought it up in the xoom forum, since we dont have source and we do have a deodexed rom wouldnt playing with that be a great place to start? if so like what would be the best place to start, you say play with smali, now I know I can google and get tons of answers but I am asking to explain a little more because I trust the feedback from here and I think others might benefit also
Click to expand...
Click to collapse
Smali is a tool that will reverse engineer (baksmali) dalvik byte code into (barely) human readable code. If you can learn to understand this you can reverse and modify stuff with it. If i remember right, brut.all is the guy responsible, have a read around, but i warn you, its not for the feint of heart.
Macbots drool as I XOOM through the Galaxy to my hearts Desire.
bossjeeves said:
this is exactly what I am talking about here, This is kind of why I brought it up in the xoom forum, since we dont have source and we do have a deodexed rom wouldnt playing with that be a great place to start? if so like what would be the best place to start, you say play with smali, now I know I can google and get tons of answers but I am asking to explain a little more because I trust the feedback from here and I think others might benefit also
Click to expand...
Click to collapse
Here is one of the best sources I've found....... made by cyanogen himself, tonnes of info here.
http://forum.xda-developers.com/showthread.php?t=667298
I did come across this link http://simply-android.wikia.com/wiki/ROM_Development
looks like something that would be a helpful start. thoughts?
ps thanks for the replys
I think the best way to learn anything is just to read a lot, and to search for any questions you have. There are a thousand ways to learn to hack, but they all require the initiative to find answers on your own.
Sorry if this sounds patronizing. I always hated it when I get on a board and ask for something, and some curmudgeon geek tells me "Google is your friend". But it's true. You get better answers faster, as you can avail from the entire Internet, as opposed to the small number of people who reply to your query.
Thanks to the dude who linked to the Cyan advice post. My takeaway is this one line:
"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."
IMO if you are serious about ROM hacking, you need a dedicated linux environment. Cygwin is OK for run-time stuff, but too limited for anything else. If you only want to run basic bash commands, a simpler solution is win-bash (http://win-bash.sourceforge.net).
I'm kinda in the same shoes you are. Android interests me, although I don't have a Xoom or an Android tablet for that matter. Was gonna get a HC tab to tinker, but HC is still too green, so decided on a Nook Color for educational purposes. It's been out a while, and has many hacks already done that I can peruse. That, and it'll be useful for my "read a lot" mantra above.

[DEV HELP][?]Looking to Build a ROM!

well i thought i'd get this up before source for JB (4.1) drops... I'm looking for a dev willing to let me watch them as they build a ROM and make changes to that ROM... no i don't need to come over your house to do this... I was thinking of a live video stream of your screen as you do the work... if you're willing to allow me to watch and maybe answer a few questions in between, i'm willing to learn!!
i learn really fast if i'm watching someone do it which is why i'm taking this approach rather than trying to read through a bunch of threads on this topic... that stuff basically looks like a foreign language to me... especially when they talk linux stuff lol... i can catch on quickly but i need to SEE IT BEING DONE... not reading and having my brain decode what i just read...
so please pass this thread along... the site i'm looking to use is join.me and it can be viewed by more than one person... so if someone else is willing to jump in on the fun and the dev is cool with it... we all can watch as they work their magic...
preferably someone that's gonna be building on crespo/crespo4g... but i'll take whoever is willing to teach!!
disclaimer: i'm not even looking for a real "expert" on the subject... just someone to do the basic work so i can take notes and then do the stuff myself!!
PM me if you're a dev and willing to help out!! what do you have to lose? nothing really... you're just gonna load the program and let it stream as you do the stuff you normall would do...
sn: it doesn't have to be Jelly Bean... but seeing as source is coming out soon... i figured someone will want to start fresh and build from aosp... that's really where i'd like to start from!!
I'd love to watch too
Sent from my SPH-D710 using Tapatalk
Click here for custom mods for your E4GT
umm. the best way to do it is to just follow the step by step guides online. doesnt get much easier than that. you watching isn't going to help when they already have all the software installed
derekwilkinson said:
umm. the best way to do it is to just follow the step by step guides online. doesnt get much easier than that. you watching isn't going to help when they already have all the software installed
Click to expand...
Click to collapse
thanks but i have everything i need to build a ROM installed and have already built one from CM9 source... i'm talking about all the other edits and things they do... ie: adding in or removing features of a ROM...
and if you re-read my OP... i said reading this stuff is like learning another language... i'm a visual learner... i need to SEE these things then do them... not read them and try to decode whatever i just read...
the1dynasty said:
thanks but i have everything i need to build a ROM installed and have already built one from CM9 source... i'm talking about all the other edits and things they do... ie: adding in or removing features of a ROM...
and if you re-read my OP... i said reading this stuff is like learning another language... i'm a visual learner... i need to SEE these things then do them... not read them and try to decode whatever i just read...
Click to expand...
Click to collapse
I just happen to work for a company the makes tools to help visual learners.
Sent from my SPH-L710 using Tapatalk 2
Yea I'm willing too. I got a few things going here. Along with ubuntu, sdk, java6, android kitchen. I'm more of a visual learner. I've been constantly researching to point where my brain hurts to think android. I need a break. But I'm willing as well. Some devs out there no even respond to help needed. I would love to watch Fergie716 at work tho.
Sent from my Nexus S 4G using Tapatalk 2
My video will be up tomorrow (today) in my MIUI thread. I have everything ready for it. I just had a bit too much to drink tonight (its 450am)
Tomorrow afternoon it'll be up
Sent from my SPH-L710 using Tapatalk 2
I also like to watch.
Sent from my SPH-D710
I agree with the OP, one thing I think is missing (or at least in my experience hard to find) in the Android ROM community is a set of guides on how to properly do things (branch with repo to make a mod, apply patches from other trees, add prebuilt apks, add source provided apps, integrate su, busybox, creating your own vendor, device, adding your kernel, etc)
It's all scattered all over the net, sure you can figure some of it out but if you lower the barrier of entry people will be able to focus their energy on doing better work somewhere else.
gparent said:
I agree with the OP, one thing I think is missing (or at least in my experience hard to find) in the Android ROM community is a set of guides on how to properly do things (branch with repo to make a mod, apply patches from other trees, add prebuilt apks, add source provided apps, integrate su, busybox, creating your own vendor, device, adding your kernel, etc)
It's all scattered all over the net, sure you can figure some of it out but if you lower the barrier of entry people will be able to focus their energy on doing better work somewhere else.
Click to expand...
Click to collapse
i really couldn't have said it any better!!
i know Fergie usually puts out some great tutorials... i used his stuff when i was learning to theme... so hopefully he delivers on this as well... i would still like to do a live "webinar-type" of training tho if any dev is up for that!!
we can get a time going so that everyone can login at the same time and see what's being done...
I'd also like to see how its done, I would love to be able to cook up some things and then release a ROM to the public. I'm sure it's not easy but I'm willing to take a wack at it
Btw are you guys using pretty powerful computers for building ROMS? Or would you say they're average spec?
stellar said:
I'd also like to see how its done, I would love to be able to cook up some things and then release a ROM to the public. I'm sure it's not easy but I'm willing to take a wack at it
Btw are you guys using pretty powerful computers for building ROMS? Or would you say they're average spec?
Click to expand...
Click to collapse
mine isn't that great tbh... but it manages to put out something... once your setup is correct and you do your first build... the second build of that ROM is usually a lot faster...
i think average would be around quad core with 8GB RAM... that's my guess based on a few devs i've heard from...
the1dynasty said:
mine isn't that great tbh... but it manages to put out something... once your setup is correct and you do your first build... the second build of that ROM is usually a lot faster...
i think average would be around quad core with 8GB RAM... that's my guess based on a few devs i've heard from...
Click to expand...
Click to collapse
I like to learn too. But my pc is just dual core 3.0ghz 4gig ram what do you think?
Sent from my Nexus S™
mixtapes08 said:
I like to learn too. But my pc is just dual core 3.0ghz 4gig ram what do you think?
Sent from my Nexus S™
Click to expand...
Click to collapse
it will take longer than some other PC's... but that will still work... i'd guess a few hrs to build a ROM... mine is around those specs and it takes a few hrs on the initial build lol
There should also be a thread for porting, kinda like "chef central" where users could get support on certain issues with their ports.. Over there in chef central the people seem to only help people that are building from source.. there's not too much support for people doing ports which is unfortunate because not everyone is skilled enough to build from source and having ports is what keeps some devices alive... In this thread there would be threads where you could post your logcat if your not getting boot and some of the more experienced porters (like fergie for example) could take a look and point you in the right direction. Also there could be guides and tutorials as how to get certain aspects of the ROM working like HWA, WiMax, MMS/SMS so on and so forth... I think that it would really bring a lot of new life to some devices that don't get the support that they should..
Anyone else agree on that or is just me?
evol4g said:
there's not too much support for people doing ports which is unfortunate because not everyone is skilled enough to build from source and having ports is what keeps some devices alive...
Anyone else agree on that or is just me?
Click to expand...
Click to collapse
I agree with the whole sentiment "more people should build things", but not with "aosp is too hard so we should help people do ports". Unless a port is the only way to get a device working, we definitely should focus on making aosp easier to learn if that's part of a problem the porting people are having.
Anyway, I started my own ROM yesterday and might end up making a wiki to document a bunch of things I'm doing. It's a very stock-ish ROM though, so I won't spend much time writing about adding mods other than a few basic ones.
-IF- I do get around to making the wiki, I will post here about it.
As for the computer, I am using a i7 930 (2.8GHz) with 24GB of RAM.
gparent said:
I agree with the whole sentiment "more people should build things", but not with "aosp is too hard so we should help people do ports". Unless a port is the only way to get a device working, we definitely should focus on making aosp easier to learn if that's part of a problem the porting people are having.
Anyway, I started my own ROM yesterday and might end up making a wiki to document a bunch of things I'm doing. It's a very stock-ish ROM though, so I won't spend much time writing about adding mods other than a few basic ones.
-IF- I do get around to making the wiki, I will post here about it.
As for the computer, I am using a i7 930 (2.8GHz) with 24GB of RAM.
Click to expand...
Click to collapse
id like to ask.. is making a rom really difficult.. how much java language knowledge would a person need to have to build from source...?
ferozfero said:
id like to ask.. is making a rom really difficult.. how much java language knowledge would a person need to have to build from source...?
Click to expand...
Click to collapse
Well, one of the fun things about being a maintainer rather than a developer is that you really don't -need- much knowledge at all.
Everything helps, though. Yesterday I fixed a gcc compilation issue from knowledge of C++ that I acquired over a number of years. It wasn't a hard bug to fix and I could've asked a friend about it instead, but being a programmer lets me get away with fixing mistakes I see in AOSP when it's necessary (it rarely is).
Later, in my kernel compile, I turned on a compilation flag because I knew that a warning (that failed the build due to -Werror) was completely inaccurate. Good luck doing this if you don't know what's a compilation flag, and good luck doing it safely if you're not sure what the warning means and if it is really safe to override it (it often isn't).
If you want to make a ROM and be efficient about it, I think the two most important skills (in order of importance) are the ability to use git and to solve problems. Without a minimum of source control ease, it will be a pain in the ass to add features to your mods or to keep track of changes efficiently (especially when it comes the time to branch off releases and what not). Problem solving is what you do whenever stuff that should work doesn't work. And it's always hard because if it wasn't hard it would be documented already so you wouldn't have the problem.
If you want to build FEATURES for a mod (that is, not repack what others have written), then yes you will need programming knowledge. Java, C and probably C++. Mostly Java for user facing stuff.
great post gparent... that was a wonderful breakdown of how ROM making works... if it's all true (which it sounds like it), then this might be a bit more than i can chew lol... i'm still willing to see someone in action do these things so i have a better understanding of how to put things together and maybe one day i'll take a stab at building my own ROM!!
gparent said:
24GB of RAM.
Click to expand...
Click to collapse
:what: wow, lol
If any other devs come by I'd love to know what setups you guys use for developing too.
Sent from my SPH-D710 using Tapatalk
Click here for custom mods for your E4GT

AOSP rom

Hey guys, I am coming here to ask you all a question. I got my phone unlocked earlier this week and have an interest in learning how to program in AOSP and even help with the CM14.1 build process. Could anyone point me in the right direction as to how to learn to do that? It would be greatly appreciated. I have a really good computer I built and I know a little bit in the coding department and know a good amount with Linux, and so on. It would be a real blessing. Thanks.
twilighttony said:
Hey guys, I am coming here to ask you all a question. I got my phone unlocked earlier this week and have an interest in learning how to program in AOSP and even help with the CM14.1 build process. Could anyone point me in the right direction as to how to learn to do that? It would be greatly appreciated. I have a really good computer I built and I know a little bit in the coding department and know a good amount with Linux, and so on. It would be a real blessing. Thanks.
Click to expand...
Click to collapse
Check out the thread at the Android Builders Collective. They are a bunch of exceptionally talented folk & can provide lots of guidance in building. It would also be amazing to have an ABC (Pure Nexus based) ROM for our A7s.
Good luck!
amphi66 said:
Check out the thread at the Android Builders Collective. They are a bunch of exceptionally talented folk & can provide lots of guidance in building. It would also be amazing to have an ABC (Pure Nexus based) ROM for our A7s.
Good luck!
Click to expand...
Click to collapse
that absolutely would be amazing. Just the AOSP with GAPPS flashed afterwards and maybe try to get the bugs worked out. I'm not sure if i want to do a cm14.1 build or something more complex. All depends i guess.
Any Moderator feel free to move this thread to Discussion forum.

Categories

Resources