Nexus one rom building/ customization - Android

I wanted to know are there any developers who is willing to teach me the basics of rom building along with the code associated with it and guide me in the creation and/or modification of my own rom. If so contact me or comment here with tutorials.
Thank you in advance.

MiguelGQJD said:
I wanted to know are there any developers who is willing to teach me the basics of rom building along with the code associated with it and guide me in the creation and/or modification of my own rom. If so contact me or comment here with tutorials.
Thank you in advance.
Click to expand...
Click to collapse
You have two options and they are both mentioned in the stickies right above you..
1) Build one from scratch from AOSP source
2) Build one from an existing ROM

MiguelGQJD said:
I wanted to know are there any developers who is willing to teach me the basics of rom building along with the code associated with it and guide me in the creation and/or modification of my own rom. If so contact me or comment here with tutorials.
Thank you in advance.
Click to expand...
Click to collapse
See the link below for more links.
http://forum.xda-developers.com/showthread.php?t=706847
Also, if you really want to get deep, look at the Android Google Groups. Much of it is way over my head, but either I'm getting taller or it's getting shorter every day...

Related

CyanogenMod Menu

Hi everybody, how can I create a CyanoGenMod Menu in Settings?
Thanks
Take a look at CM-source/framework
OK thank you
can someone explain me the phases to add this menu?
check this
http://forum.xda-developers.com/showthread.php?t=667298
where is the link?
O_o
... 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....
Click to expand...
Click to collapse
10charsss
Roqu3 said:
O_o
10charsss
Click to expand...
Click to collapse
What, did you think that you would just copy and paste? :|

[Q] pls help im a new noob in this

so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.
cbernardo13 said:
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
Hey Guys!
First of all a bit of encouragement. The android kitchen sure as hell does not turn you into a rom developer. I decided i wanted to use the kitchen just over 2 weeks ago and run ubuntu in a virtual window. From then I decided I did not like windows anymore so installed linux as my main os and had to learn that (trust me getting the graphics card to work was a chore) I finally got the kitchen working tonight and decided to sign up to xda. Even with my limited knowledge I have been able to help someone on here tonight. Read Read Read and ask questions if you can not find the right answers on the forum. Research pays off eventually. (I now softmod nintendo wiis professionally from learning off a forum!!!!) Remember everyone has to start somewhere even if you are a noob and don't get disheartened if someone says you should have read this this and this. As long as you learn from ur mistake I'm sure people wont mind too much.
SFUK
aha... so let me understand i need ubuntu?
and i need to open system img fot the app edit
can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex
How long before bricked again...????
solain said:
can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex
Click to expand...
Click to collapse
Im about to take the dive myself, still rounding up the tools. Was about to dl virtual...unbuntu etc but read this just now and it makes sence so as much as i want to screwup my phine as fast as possible i think i will follow this advice.
You might have already seen and read but what the hell....
Originally Posted by cyanogen
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.ph...ng_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pla...5936;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.
dmeadows013 said:
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.
Click to expand...
Click to collapse
can u shoot me a couple links for the kitchen/other tools download
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
What version of Linux are you running? Are you running Ubuntu? I never had much luck using the Android Kitchen in a virtual environment for some reason. When I installed Ubuntu as my main OS, however, that made all the difference. From there you'll also need to make sure you have the Java Developers Kit (JDK) installed or at least open-jdk (Open source alternative) installed in order to run the Android Kitchen or the SDK for that matter.
There's a really good tutorial on how to set up the SDK on Ubuntu 10.10 or Ubuntu 11.04 which is what I had used to set up the SDK on linux for the first time. http://forum.xda-developers.com/showthread.php?t=921169
I prefer 10.10 just because I'm not huge on Ubuntu's newer Unity interface and my old laptop seems to run 10.10 a lot better than 11.04 or 11.10 but that's another story.
Once you have the SDK setup, you can then run the kitchen accordingly.
I use a tool called Android Utility by tommytomatoe which is essentially a collection of tools for creating custom ROMs, editing apk's, etc. It just happens to also include dsixda's kitchen which is a nice plus. You can download that here: http://rootzwiki.com/topic/3303-utility-android-utility-apktooldex2jarsmalimoremac-linuxoct09-2011/
Hope this helps. Good luck, dood!
**Edit** My bad... There's also a thread for Android Utility on XDA also....
http://forum.xda-developers.com/showthread.php?t=1167623

Rom development

Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.
bbowerman said:
Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.
Click to expand...
Click to collapse
Start by learning c+ and java coding. Then get good with a linux machine
zelendel said:
Start by learning c+ and java coding. Then get good with a linux machine
Click to expand...
Click to collapse
pretty familiar with linux, know a little C, java not so much.

[REF][11.05.12]New-Existing Thread TITLE/TAG Rules[new banner available]

I am no moderator but just want to share/implement this idea.
The following tags/titles are needed to be implemented in DEVELOPMENT area .
1.Thread rules for Rom developers
[ROM][ANDROID Ver.][DATE] <NAME OF ROM>[Version of your ROM]
•[ROM] indicating a ROM related thread
•[Android ver] Android version name ex: ICS or GB
•[DATE] must be in the [day.month.year] form. Example: [06.05.12]
•<NAME OF ROM> name of your rom
•[Version] is the version of YOUR ROM (not the android version)
ex : [ROM][ICS][6.5.2011]MIUI V4!| Working Camera & NEW FIXES ![v11.06]
NOTE: DO NOT MENTION NEO/NEO V IN THE TITLE cause we got separate sections for them , if the OP needs he can mention it in the first post of his thread .
Click to expand...
Click to collapse
Click to expand...
Click to collapse
2.Thread rules for Kernel developers
[KERNEL][ANDROID Ver.][DATE] <NAME OF YOUR KERNEL>[Version of your KERNEL]
•[KERNEL] indicating a KERNEL related thread
•[Android ver] Android version name ex: ICS or GB
•[DATE] must be in the [day.month.year] form. Example: [06.05.12]
•<NAME OF KERNEL> name of your KERNEL
•[Version] is the version of YOUR KERNEL
ex : [KERNEL][ICS][6.5.2011]Pwn Kernel [v0.7]
Click to expand...
Click to collapse
Click to expand...
Click to collapse
3.Similarly the same rules for other category thread creators
Instead of [ROM] you will mention according to which category your thread fall
•[DEV] - Development for any special projects or Apps
•[MOD] - Hack & Modifications for the phone
•[FIX] - Fixes for known issues & bugs
•[R&D] - Research & Development for Devs only, when gathering data for a new projects
•[HOWTO] / [GUIDE] - How to instructions and Guides
•[TOOL] - Development related tools
•[THEME] - themes (themes and apps section)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
4.The people new to XDA community & Noobs
Unlike the Developers & other people there is only ONE simple rule for you guys to follow ,DO NOT POST/START A THREAD JUST TO ASK YOUR QUESTION IN THE DEVELOPMENT FORUM , Use the GENERAL SECTION to post your questions
Click to expand...
Click to collapse
Click to expand...
Click to collapse
NOTE : All the above tags/titles should be in capital letters only
If I've missed any let me know ill add it asap
If you have any questions about this new naming scheme, or concerns or questions in general, please do not hesitate to PM me or ask me in this thread.
This is all a work in progress, and if things need to be changed, we will change them as needed. Please bear with me as I try to sort this all out for the good of the forum.
This worked out well in other fourms so i request YOU the developers , modders , themers , & noobs to accept this proposal and help us in keeping the fourm organised and simple
THANK YOU EVERYONE
IN-THREAD Idea !!!
Before you read this idea i want to make sure you know that all the extra work for implementing this will be done by me . all you do is just paste it . Hope you like the idea
Currently this will take time to implement cause of my SEM Exams till may 15 , will start working asap after my exams start.
1. Screen-shots
All the screen-shots provided by the ROM developer will be modified to be simple and fast loading.
Example :
All the processing & editing will be done by me , so that the dev's feel no burden because of this idea.
Kernel developers your benchmark scores will also be processed this way .
Just wanted to implement this so that all NEO V rom threads are simple and attractive (minimalistic )
Image Details
TYPE : .PNG
DIMEN'S: 1024 x 342 pix
Compressed for faster loading , but will see that quality will not be compromised mostly.
2.Thread Title
If you feel the above idea to be too simple then heres something to make your thread more attractive
I will provide ROM/KERNEL related threads with a TITLE image which represents their ROM/KERNEL . 2-3 Best features which you think will highlight youur ROM/Kernel will also be shown in that IMAGE .
And Firstly the most active Kernel's/Rom's will get the TITLE IMAGES
EX: ICS kernels / ICS ROMS First .
finally i got one to show u as a example
1)
2)
seems like xda is compressing the images (image 1) when i upload it , so i am using an alternative DEV-HOST file sharing site to provide you with best quality images as in image 2
More services coming soon
backup post 2
backup post 3
Comments , suggestions are welcome
Nice idea,will be easy to sort out everything
You forgot themes,here's a suggestion for themes
•[THEME] Indicating a Theme related thread
•[For which ROM] For which type of rom(like stock or aokp or cm or miui)
•<NAME OF THEME> name of your Theme
•[Version] Latest version of the theme
•[DATE] Last updated day,must be in the [day.month.year] form. Example: [06.05.12]
Click to expand...
Click to collapse
example,
[THEME][ICS 4.1.A.0.562] Xperia S for ICS [v1.20][23.04.2012]
ThilinaC said:
Nice idea,will be easy to sort out everything
You forgot themes,here's a suggestion for themes
example,
[THEME][ICS 4.1.A.0.562] Xperia S for ICS [v1.20][23.04.2012]
Click to expand...
Click to collapse
forgot it , thanks i will add asap
Good idea and thank you for your contributions
Best Regards
Good to see such young blood on the forums!
Keep it up.
I agree with all except the capital case idea.. CAPITALS IS SCREAMING!!
I dont want to scream
shardul_seth said:
Good to see such young blood on the forums!
Keep it up.
I agree with all except the capital case idea.. CAPITALS IS SCREAMING!!
I dont want to scream
Click to expand...
Click to collapse
Come on pleaseeeeeee , for the community , it looks good and BOLD as to represent a title.
& thank you , i like the way you appreciate & help others , your awesome
Great contribution! I have stuck the thread and hopefully will be implemented by all the developers of this forum for the benefit of all members, to easily find the rom, updates, etc. Thanks!
poyensa said:
Great contribution! I have stuck the thread and hopefully will be implemented by all the developers of this forum for the benefit of all members, to easily find the rom, updates, etc. Thanks!
Click to expand...
Click to collapse
Indeed a good idea Vimjam
go ahead with this, but if the people learn how to search then they dont have to start a new thread in general, they can ask thier questions in General Chat at the general topic, or they can look in the sticky thread of mine, because i must report 2 a 3 times a day to close a thread to another thread, of double post or its already posted, i hope you understand me, if everyone post my general chat or sticky in thier sig (i mean recognized peeps like vimjam etc) we come a lot further and then everyone knows that
I really appriciate that.
but again mate... GOOD JOB
Edit: What about Contributors, any good ideas for us ??
Pandemic said:
Indeed a good idea Vimjam
go ahead with this, but if the people learn how to search then they dont have to start a new thread in general, they can ask thier questions in General Chat at the general topic, or they can look in the sticky thread of mine, because i must report 2 a 3 times a day to close a thread to another thread, of double post or its already posted, i hope you understand me, if everyone post my general chat or sticky in thier sig (i mean recognized peeps like vimjam etc) we come a lot further and then everyone knows that
I really appriciate that.
but again mate... GOOD JOB
ok i will edit my first post and will redirect them to your GENERAL CHAT thread
Edit: What about Contributors, any good ideas for us ??
give me your ideas & i will try my level best to implement them , but as my exams are until MAY 15th i will be little less active until then.
Click to expand...
Click to collapse
Any suggestions are welcome , thank you for your valuable time
I edited the title of my rom in Neo and Neo V section
I think this should be a generally accepted way to name threads since it's a simple way for users
Image Details
TYPE : .PNG
DIMEN'S: same width & height as above provided images
Click to expand...
Click to collapse
What are the dimensions for the images?
krabappel2548 said:
I edited the title of my rom in Neo and Neo V section
I think this should be a generally accepted way to name threads since it's a simple way for users
What are the dimensions for the images?
Click to expand...
Click to collapse
1024 x 342 pix
finally i got one to show u as a example
1)
2)
seems like xda is compressing the images (image 1) when i upload it , so i am using an alternative DEV-HOST file sharing site to provide you with best quality images as in image 2
comment on the image 2 , suggestions are always welcome
vimjam said:
finally i got one to show u as a example
1)
2)
seems like xda is compressing the images (image 1) when i upload it , so i am using an alternative DEV-HOST file sharing site to provide you with best quality images as in image 2
comment on the image 2 , suggestions are always welcome
Click to expand...
Click to collapse
Vim can you make one for me?
Pandemic said:
Vim can you make one for me?
Click to expand...
Click to collapse
sure can you give me some details like what matter should i keep on the banner ....
Nice idea thanks
vimjam said:
sure can you give me some details like what matter should i keep on the banner ....
Click to expand...
Click to collapse
Do what ever you like mate, here is my pic, you may change the colour or anything else, do what ever you like
im a Recognized Contributor so a nice text by it is nice to like, stanidng ready for your probs and im always be helpfull, or something like that

Complete noob guide for compiling roms

Hi..im a quite fresh android user after having iphone for the last 4 years....i have a huawei ideos x5 pro that for me at least is a great phone for his price..but the major problem is that we don't have devs for our phone...only one chinese guy that develops roms for at least 7 phones so we aren't his major concern...so im asking if there is a complete noob guide for compiling rom..fixing rom.
i have to tell you and please don't flame that even that i have knowlage over pc's i haven't any knowlage over programming and coding!!so if any guide can't help me it will be ok...i try! but if there is a guide that can help me step by step to understand the basics and then with a bit of research can figure it out the rest it will be helpful!!
Thanks!!
Sorry for my english!
http://lmgtfy.com/?q=make+android+custom+ROM
thewadegeek said:
http://lmgtfy.com/?q=make+android+custom+ROM
Click to expand...
Click to collapse
Yeah i know that...im asking for a user's entirely noob guide...1st time user guide...google is full with guides but not so novice guides!!
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
thewadegeek said:
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
Click to expand...
Click to collapse
ill give it a try thanks!!!
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
pikachukaki said:
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
Click to expand...
Click to collapse
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
adiles said:
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
Click to expand...
Click to collapse
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
pikachukaki said:
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
Click to expand...
Click to collapse
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
-Sent from my u8800-
Me Too!
lemonade747 said:
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
Click to expand...
Click to collapse
I'm actually reading everything about my new device, Sony Neo L. This is pretty amazing! XDA rocks!
CrisisCorE said:
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
Click to expand...
Click to collapse
Hardware we need the same cpu gpu or everything?sensors bt wifi etc?
Sent from my U8800PRO using xda premium
How can i get source code for Vision, since huawei doesnt let you download it?
Sent from my Vision
if u r good at linux, u can try this guide >>> http://handycodeworks.com/wp-content/uploads/2011/02/linux_versus_android.pdf
I compile linux kernels for desktop, but the android kernel is not the same. Cyanogen team and GOOGLE Android developers provides a comprehensive guide on building ur own ROM. But to build ur own OS, u need to understand each component carefully. I don't know abt android, but i am making Linux OS from scratch. I have kernel compiled, tool chain set up, now i am putting apps on it. But android uses DALVIK VM for Java apps, also .... U refer the pdf it will tell u. Once i finish making this OS, i'll focus on Android ROMS. They r similar to Linux OS, but require patches in kernel, a light c lib, new fs, a different vm (dalvik) and different ways of managing i/o interrupts and much more..
this link is on porting android on nokia >> http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Porting-Android-to-a-new-device/
this one is on linux on embedded systems >> http://www.lindusembedded.com/blog/2010/12/07/android-linux-kernel-additions/
Also, sorry to say but learn C/C++/Java . To make ROMS, atleast to make modifications and to understand the kernel u'll need C. Not very hard to learn, Good tuts on Lynda.com and other sites. And be good at Linux. Happy Learning

Categories

Resources