Are there guides for how to make custom ROMs? - Android Q&A, Help & Troubleshooting

I want to start making a ROM or 2, but I really don't know where to start even...
Also, do I need to know how to program or anything like that? What would I need (persona skillset-wise) to do this kind of thing?
Thanks in advance.

i believe you need a firm understanding of how linux works, and probably some low level development skills to write the kernel
check this out http://forum.xda-developers.com/showthread.php?t=1821695

Related

Xperia x10 Kitchen (for innocent people willing to try)

Simply wanting to know what kind of tools (kitchen) people use to make the roms.
Cant seem to understand how to port from from other devices to the x10.
Really am willing to try and learn abit.
Have done alot of google searching but nothing comes up with xperia. Nothing i feel helps my needs. Just want to be on the same page as the developers in this site.
Give a brother a hand here.....
norkos said:
Simply wanting to know what kind of tools (kitchen) people use to make the roms.
Cant seem to understand how to port from from other devices to the x10.
Really am willing to try and learn abit.
Have done alot of google searching but nothing comes up with xperia. Nothing i feel helps my needs. Just want to be on the same page as the developers in this site.
Give a brother a hand here.....
Click to expand...
Click to collapse
Guess this is a good place to start...
http://forum.xda-developers.com/showthread.php?t=633246
telmoabff said:
Guess this is a good place to start...
http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
Thing is that i have all that done, got the ubuntu running fine aswell, just dont understand how i can "lets say" port a 2.2 froyo to our x10? I really cant seem to understand this part. Do i have to place some system files? Any help would be appreciated.
Ty for your time mate
it is unix /linux stuff
currenly we are locked out to SE kernel, so you "just" have to mak froyo compatible to SE kernel .
It means to optimize , change, recompile modules, "drivers" and so on, of course debuging ,
thermoska said:
it is unix /linux stuff
currenly we are locked out to SE kernel, so you "just" have to mak froyo compatible to SE kernel .
It means to optimize , change, recompile modules, "drivers" and so on, of course debuging ,
Click to expand...
Click to collapse
okey, my question to you is i can take what ever rom i want out there and install it from xrecovery, and it will run? Becouse this is what i am wondering, how i can port another rom to x10. Ofc the bugs comes after but thats another thing i have to search for.
sorry, but everything was answered in my previous post
NO you can not.
Every phone have a different hardware, software modification is requred.You have to modifi "drivers" to the current hardware. I think you are Windows boy so better example is :Will your nvidia card works on ATI drivers ?
First you have know a bit more than basics from unix / linux world, like :
modules
kernel
drivers
libraries
filesystems
swap
mount points ... and so on ..
I can see you are not home in Linux /unix thema , if you will understand the basic rules from linux world, then just port your knowledge to the android.
And voila you are ready to cook .
Remeber there are many people with big knowledge and willingness to help. Just ask them, imho unix/linux people share their knowledge with hapiness .
thermoska said:
sorry, but everything was answered in my previous post
NO you can not.
Every phone have a different hardware, software modification is requred.You have to modifi "drivers" to the current hardware. I think you are Windows boy so better example is :Will your nvidia card works on ATI drivers ?
First you have know a bit more than basics from unix / linux world, like :
modules
kernel
drivers
libraries
filesystems
swap
mount points ... and so on ..
I can see you are not home in Linux /unix thema , if you will understand the basic rules from linux world, then just port your knowledge to the android.
And voila you are ready to cook .
Remeber there are many people with big knowledge and willingness to help. Just ask them, imho unix/linux people share their knowledge with hapiness .
Click to expand...
Click to collapse
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
norkos said:
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
Click to expand...
Click to collapse
I don't think he intended to disrespect. He is right when he say, the more you know about linux, the easier it'll be.
Anyway, the first step will be to change drivers for hardware support depending of your hardware.
As he said start with the kitchen from unlocker. And with that, all question you have will be answered here: http://developer.android.com/index.html
good info
I really dont think hes openly trying to insult your intellect and what he says is correct. Before you get to the actual porting and modifying your going to need some programming skills and a good understanding of how drivers and such work and how they can be modified. Remember that the idea is to get the software to talk to the hardware. Its unfortunately not as simple as just taking files and making a change here or there and then including that in your rom files.
Not trying to say dont learn it, just need to know where to start your journey of learning.
Happy programming! (Which is good because i have done programming and hate it with a passion)
Edit: also remember that a knowledge of linux IS the problem as android is simply linux.
Sent from my X10i using XDA App
norkos said:
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
Click to expand...
Click to collapse
I do not want to disrespect your intelect or knowledge or harm you in any way ..
I only want to explain you what you can wait and what you will need.
As ttf said you need to modify hardware drivers first.(btw I said it before too), These drivers have to be modified to the actual X10 hardware, but also to our current kernel!
froyo have 2.32 kernel by default our x10 have 2.29(+ modified by SE).
Cyanogen have its own kernel and CM Rom will never work on its full beaty without CM Kernel . (if it is possible it will take enourmos time and effort)
ttf said:
I don't think he intended to disrespect.
Click to expand...
Click to collapse
+1. Might be best posting in HERE.

Suggested Thread(Dev opinions needed)

Suggested Thread Idea(Sorry if in wrong section), if devs do not want this, could a mod please delete this? Thanks!
This thread is meant to relieve the load on devs and provide a source of ideas for them. No offense to devs, I'm not insulting your capabilities. Besides, I hardly know any programming.
Anyway, I'm thinking of collecting suggestions from the many people who make up this X10 mini developing community. I'm sure all of us would want to help as this benefits everyone. Also, some of us here have knowledge of Linux Kernel programming(although not in android) and could help. No questions are to be posted.
Here is an example of the format needed -
Kernel Unlocking - Fool the bootloader! <- This is the title.
Concept: Instead of trying to deactivate or skip the locked bootloader, is it possible to actually fool the bootloader into thinking the one you are trying to load is legitimate? Perhaps by imitating the properties of the kernel that the bootloader looks for, we could load a custom kernel onto the phone.
So, a question to devs - would you rather want or not want this? Thanks!
check this post: http://forum.xda-developers.com/showpost.php?p=11374943&postcount=616
detailed info about S1 platform security
Oh, I see. Nevermind, thanks a lot!

[Q]Tools to initialize my own ROM x10i

Hi everybody!
I would like to know what programs I need to create my own ROM . I searched everywhere and I could not find concrete answers. Could you help me with that?.
Regards!​
If everyone have this tool to make their own preferred ROM, then what for those X10 developers are trying their best to make good ROM now??
Slowly man, making a ROM is not easy, knowledge is what all about
Nothing comes easy.
Yes, I know. But I want to start my own ROM to learn about this Andriod's world. I'm a java developer and I undestand that nothing comes easy.
HeroeMode said:
Yes, I know. But I want to start my own ROM to learn about this Andriod's world. I'm a java developer and I undestand that nothing comes easy.
Click to expand...
Click to collapse
I don't think that you can create a ROM with a program. You could maybe start porting ROMs from other devices with THIS guide
Ok! Do you like the word "modify"? Well, yes. I want to modify a ROM, but the thread send me, it's a good start.

Starting Android Device developement

I wish to start taking devices that already have Android, but versions like 2.2 and learn to Develope a new Rom for it, for example 4.0.
I don't want to port anything etc, I want to take a device, and start building the ROM fro scratch, I have tried searching this forum but I only get results regarding developing for Android, apps. I want to tackle the actual OS.
Does anyone know a good way to start, tutorials? Further Reading? Etc?
I don't like the idea of waiting for the Manufacturer to produce the next update, I'd rather do it myself and learn.
Thanks for any help.
follow this
http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/

[help]

I hope I'm not posting this in the wrong forum, but i'm posting here because i think i am in the right place.. If not mods please move this to appropriate forum..
So I'm on the nexus s 4g and i'm feeling like i'm ready to get into porting and then development.. I really just need help understanding eclipse and how to port in general.. I know eclipse is great for developement and I just installed the adt and the sdks through eclipse and I need to know how to set this up so I can run a logcat through adb so I can see why my port isn't fully booting.. I'm stuck at the boot animation.. I've tried reading some guides but because i'm still a noob i feel like there's always something i'm missing.. I was hoping someone here would be so kind as to help run me through on getting this set up and helping me understand the fundementals..
there are many that know more than me, but i can try to help a little bit...
first off, im going to assume you are porting roms, not apps, because of how you have things worded i was a bit confused at first.
now, eclipse is an amazing IDE, but when it comes to porting android roms from device to device its not going to be much (if any at all) help to you. eclipse is great for application development, and building a full, ready to install android package (apk) for pushing to the market or side-loaded. (installed on data partition)
there dont tend to be many guides or strait line ways do do things. it all comes out of experience and good problem solving skills. learn to read your logcats, understand what they are saying. you will get it!
im more of a source built kind-of-guy, and never did any porting of pre-compiled roms. but i know http://freeyourandroid.com/ is a great resource for getting started with just that.
please also think about looking into the android build system, its complicated, but you will get it eventually, and it will teach you how a rom really works, and is really built, and it gives you complete control to do anything you want.
hope this was a little help.
a very wise man once said : http://forum.xda-developers.com/showthread.php?t=667298
gh123man said:
there are many that know more than me, but i can try to help a little bit...
first off, im going to assume you are porting roms, not apps, because of how you have things worded i was a bit confused at first.
now, eclipse is an amazing IDE, but when it comes to porting android roms from device to device its not going to be much (if any at all) help to you. eclipse is great for application development, and building a full, ready to install android package (apk) for pushing to the market or side-loaded. (installed on data partition)
there dont tend to be many guides or strait line ways do do things. it all comes out of experience and good problem solving skills. learn to read your logcats, understand what they are saying. you will get it!
im more of a source built kind-of-guy, and never did any porting of pre-compiled roms. but i know http://freeyourandroid.com/ is a great resource for getting started with just that.
please also think about looking into the android build system, its complicated, but you will get it eventually, and it will teach you how a rom really works, and is really built, and it gives you complete control to do anything you want.
hope this was a little help.
a very wise man once said : http://forum.xda-developers.com/showthread.php?t=667298
Click to expand...
Click to collapse
the only reason i was setting up eclipse for this was because it was to my understanding it had the tools needed to get adb to produce a logcat, i've delt with apps before.. I made myself a lil launcher for miui and a couple others, but i just have no idea on how to do anything with adb and gettings log cats.. I do appreciate your response and i will take a look at that website.

Categories

Resources