How to build the rom [for beginners] ¿ - XDA-University

All dev /rom makers do share how to build the rom from basic ...
What necessary stuff required to do it ie which language, environment...
Sum tutorials, sum other experience... do share so that it will help for beginners those want to start it... :thumbup:
Sent from my GT-I9300 using xda premium

hisee said:
All dev /rom makers do share how to build the rom from basic ...
What necessary stuff required to do it ie which language, environment...
Sum tutorials, sum other experience... do share so that it will help for beginners those want to start it... :thumbup:
Click to expand...
Click to collapse
Hisee, read some of the threads already posted in this section alone, and browse the rest of XDA, all this information is readily available so if you're serious about learning then you should be consuming it and not asking for it to be rehashed or linked to.

Related

[Q] Where do i start?

Hi i've been using the x8 for 2 months now running on GingerDX v009.. I've learned many things from this community.. and i wanna learn more..
For starters.. How do i build a ROM? using ROM kitchen? if yes which one is compatible with our X8? Will i need extensive knowledge in linux or in programming?
With the ROM kitchen you don't actually build a ROM, you just give it some features (I've tried it). If you know anything about coding and stuff like that, I've been told that the android developers site is a good start. I'm a beginner myself. So far I've made only an icon pack apk LOL
Chris95X8 said:
With the ROM kitchen you don't actually build a ROM, you just give it some features (I've tried it). If you know anything about coding and stuff like that, I've been told that the android developers site is a good start. I'm a beginner myself. So far I've made only an icon pack apk LOL
Click to expand...
Click to collapse
LOL
I want to start too. Can you or any other give me an "How to start guide for NOOBS" for me? I'm really noob in this xD
Before you start developing, you should know how Android works. As I said before, you will find everything you need in the Android Developers site. And..c'mon! You can't start making ROMs when you haven't even made a simple app yet!
I want to start developing apps, and after that developing some modifications to existing apps and system files. When i know how to do that i can simply make a rom because i know how to compile roms on kitchen
Sent from my X8 using XDA App
Anybody knows any Dev Guide like the one in Android Developers, but in Portuguese?
It's better for me to understand. I can read and understand in English but is more dificult for me :S
RockitOut11 said:
Anybody knows any Dev Guide like the one in Android Developers, but in Portuguese?
It's better for me to understand. I can read and understand in English but is more dificult for me :S
Click to expand...
Click to collapse
Take a look at this.
I don't know if this is good, because I didn't read it all... but I think it may help you
http://www.slideshare.net/jorgecardoso/introduo-programao-para-android
(this link is in portuguese, so don't bother going there if you don't understand)
Online tutorials might help you... There are a lot of them out there... Choose the one which you feel is better... I'm also on the same boat as you..
I personally prefer "thenewbiston" channel.. There you can find tutorials for android application development as well as java(which is very important for app development)..
Then you can move onto cooking roms...
All the best....
adiles said:
Online tutorials might help you... There are a lot of them out there... Choose the one which you feel is better... I'm also on the same boat as you..
I personally prefer "thenewbiston" channel.. There you can find tutorials for android application development as well as java(which is very important for app development)..
Then you can move onto cooking roms...
All the best....
Click to expand...
Click to collapse
thank you, the "thenewboston" channel is great, it's so much easy to learn with his toturials!
i will now start developing some little things, just for fun

Starting to make own custroms

Hey guys, as the titel already tells you, I wanna start up making my own roms for the OB and only for myself. As soon as they are worth sharing, I will, but i am still about to learn the basics. Is there any possibility I can test a new created and already signed rom virtually on the PC? like an emulator or stuff?
I would be very pleased, if you could help me out and maybe also provide some links to guides that maybe helped you as well. Because as I said, I am willing to learn it...
do you mean like this?
http://source.android.com/source/index.html
http://wiki.cyanogenmod.com/wiki/Main_Page
-CMIIW-
Ur fast man and thanks, but do you direktly have a link that shows how to emulate roms? As i don't have too much time these days, because of a test at university that is going to stop me from reading to much other stuff...
You can study and read a lot here -> http://developer.android.com/guide/index.html
I know my post won't help anything but i hope to see one MIUI based rom for our phone. Thanks
Sent from my LG-P970 using Tapatalk
http://www.htcmania.com/mediawiki/i..._entorno_de_trabajo_para_cocinar_para_Android
It may be obsolete and it is in Spanish ... but I hope it allows you to start ;-)
Most generic builds you do can test in android sdk once you successfully compile the rom. All you have to do is type emulator into linux terminal after your build is finished. However some will not run with it.
If you dont have time to read i would suggest waiting till you do. I have been learning for the past month and 80% of that time is reading, with the 20% going into actual hacking.
Good luck.
Sent from my LG-P999 using xda premium
Allright guys... so as u suggest me I guess I better wait till my tests are over and then start going through all the suggested links and I also guess I gotta improve my C++ skills a bit But is there a way to test .zip roms, which have only been modified by deleting data or adding data from other roms? Thanks very much anyway
try this one if you wanna cook something
forum.xda-developers.com/showthread.php?t=633246

Development resources?

I am looking to learn to develop for this phone. After so many people have left we are in desperate need.
I have experience coding on PC and light experience on WINMO 6....
I am reaching out to the community for resources on how to learn to develop for the Vivid. Any Direction will be appreciated.
I would also be willing to learn to develop for this phone. I'm a computer science student at MIT and have coding experience, but have not done anything related to Android so I'm not sure where to begin.
Kraizk said:
I am looking to learn to develop for this phone. After so many people have left we are in desperate need.
I have experience coding on PC and light experience on WINMO 6....
I am reaching out to the community for resources on how to learn to develop for the Vivid. Any Direction will be appreciated.
Click to expand...
Click to collapse
You can try this kitchen. It kind of works if you start from custom Rom as base.
At least gives you idea of what you have to do. You can than develop more depending on how good ur Unix or scripting skil are
http://forum.xda-developers.com/showthread.php?t=633246
Sent from my HTC Raider X710e using XDA App
WARNING: If your HTC device is not listed below, and it does NOT use a 'YAFFS'-based filesystem (e.g. usually the mid-range and high-end devices don't use YAFFS), do not attempt to flash a ROM that you built with this kitchen. Instead, you must do the following if your device is NOT listed:
Create a file under the kitchen's /tools/edify_defs folder, with the name being the same as the value of ro.product.device (found in your device's /system/build.prop file).
See the template file in the edify_defs folder to see how to set the mount points inside the file you created. Look at the other files in that folder for examples on how to do it.
Click to expand...
Click to collapse
Since the Vivid is not listed as one of the compatible devices, do we need to do this? I saw the Rezound on there is why I am asking
I too am going to give it a stab. I have experience working with Cyanogenmod as well as a ton of C/C++/Unix/Scripting/Driver experience. Lets see what we can make.
I used it and there is nothing device specific stuff that should matter
Sent from my HTC Raider X710e using XDA App
No dont grab some one elses...incorrect....Grab the kitchen from dsixda grab an ruu run it till it opens to first screen dont install or go any further...goto search,search your c drive for rom.zip....copy this file to somewhere else on your computer and your started....
WC
zombie.raised said:
You can try this kitchen. It kind of works if you start from custom Rom as base.
At least gives you idea of what you have to do. You can than develop more depending on how good ur Unix or scripting skil are
http://forum.xda-developers.com/showthread.php?t=633246
Sent from my HTC Raider X710e using XDA App
Click to expand...
Click to collapse
I would appreciate any suggestions for resources too. I have not programmed in many years but I figure, what the hell, might as well give it a go.
Sent from my HTC PH39100 using Tapatalk
True platform development resources are slim right now...
Read this website http://www.kandroid.org/online-pdk/guide/index.html for a decent but outdated overview of platform development and bring-up.
Check this post from Cyanogen http://forum.xda-developers.com/showthread.php?p=6243873
At the bare minimum do what WC said but I don't recommend you use someone else's custom ROM as your base for a multitude of reasons. If for no other reason, you'll inherit any flaws they may have unknowingly introduced and you won't understand the changes they implemented to make the improvements they made.
I'm a little rusty, but my team and I develop on the HTC Dream/Magic. I own about 6 devices right now and just gave away 3 others to a developer on my team. It's kind of funny, even though I've owned all these devices, I've never really developed on any of them since there's always so many other people already doing so.
But since everyone left and there's no competition right now, I think I might start developing again, I just need to know what you guys want and I'll see what I can do.
Sent from my HTC PH39100 using Tapatalk
Infinimint said:
I'm a little rusty, but my team and I develop on the HTC Dream/Magic. I own about 6 devices right now and just gave away 3 others to a developer on my team. It's kind of funny, even though I've owned all these devices, I've never really developed on any of them since there's always so many other people already doing so.
But since everyone left and there's no competition right now, I think I might start developing again, I just need to know what you guys want and I'll see what I can do.
Sent from my HTC PH39100 using Tapatalk
Click to expand...
Click to collapse
I'd love to see some new guys giving it a try. I wish I could invest the time and had the knowledge to do it myself.
I think most are just looking for a good solid ICS rom, with Tethering working... anything else would pretty much be a bonus. I think "MOST" would be appreciative of pretty much anything at this point
Wild Child said:
No dont grab some one elses...incorrect....Grab the kitchen from dsixda grab an ruu run it till it opens to first screen dont install or go any further...goto search,search your c drive for rom.zip....copy this file to somewhere else on your computer and your started....
WC
Click to expand...
Click to collapse
That was dsixda kitchen , I think that is pretty good and now quite a few people use it even now.
zombie.raised said:
That was dsixda kitchen , I think that is pretty good and now quite a few people use it even now.
Click to expand...
Click to collapse
He was making a point to not use someone's custom rom
Sent from my HTC PH39100 using xda premium
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
zombie.raised said:
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
Click to expand...
Click to collapse
It's all trial and error my friend. Later tonight when class is over I'll try to create a rom from the Telstra 3.5 RUU. I tried the ICS stock rom, but I wasn't able to deodex about 50 or so files. Hopefully this time around the process will go smoother.
Sent from my HTC PH39100 using xda premium
Thats not learning then,thats taking someone elses work,start as everyone else did,everything is out there to be [email protected] all have to learn somehow,but the way your saying isnt the correct way to learn...its called kanging,then tweaking something here and there and calling it your own creation....truely learn something and start from scratch,we all did,so why would you expect it should be easier for you?
zombie.raised said:
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
Click to expand...
Click to collapse
As far as resources go, download the kitchen, and DO NOT use it, rather analyze how it works. Look over the scripts and see why it does what it does, if you don't understand something, google it.
That'll help some of the beginners here.
Sent from my HTC PH39100 using Tapatalk
We all are having issue with deodexing the ics,att has **** all over the place....this is why i suggested a lower build as per your inquiry...
doktor buknasty said:
It's all trial and error my friend. Later tonight when class is over I'll try to create a rom from the Telstra 3.5 RUU. I tried the ICS stock rom, but I wasn't able to deodex about 50 or so files. Hopefully this time around the process will go smoother.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
zombie.raised said:
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
Click to expand...
Click to collapse
I wouldn't consider that development and the OP asked for development advice. My previous post provides ample information to "do it the right way", team that with extracting your source from RUUs and you've just become a real dev. You will possess the necessary knowledge and tools to create your own ROM.
Then after you create your ROM if you still have problems that another dev has resolved you can respectfully contact that dev for guidance on what they did to resolve it.
That's the way I would want someone to use my work anyway.
Read this website http://www.kandroid.org/online-pdk/guide/index.html for a decent but outdated overview of platform development and bring-up.
Check this post from Cyanogen http://forum.xda-developers.com/showthread.php?p=6243873
Use the aforementioned kitchen to extract "stock" carrier base ROMS if you choose not to build from source.

[ROM Development] How to create your own ROM.

Hi guys
Enough of the bootanimations now I have done way too may and now I want to learn about building ROM. I want to design my own custom ROM, want to create it's own Kernel (just for information how to be advanced ) create own custom recovery, setting up GApps support editing updater script, build.prop everything.
I am a BIG TIME NOOB in programming so I want that I should be told every step of how to program even commands (kidding)
But I really have no idea with programming that much. All I know is to use dsixda's kitchen and few other NORMAL tweaks.
I know that there are all sorts of guides out there by great people like doomlord, mjraider etc( sorry know these two names only)
I want a full compact and complete package of links if anyone can provide me pretty please! I have searched s lot and all I found i was a big ZERO.If you are gonna say that it requires patience the test me I have a lot and dedication towards my work I'm a quick learner (proof you know as my bootanimations) so please bear with me ONCE! Provide a compelete set of BEST GUIDES OUT ON XDA FORUM and youtube video links if any that can teach how to to build a custom rom in which I can carry out themeing and other tweaks such as modding the status bar and battery icons etc. How to set my signature on ROM. EVERYTHING! I don't know much but you guys know what to cover in everything! SO PLEASE MY HUMBLEST REQUEST TO ALL JUST BEAR WITH ME ONCE I WILL BE HIGHLY OBLIGED!
Special Request to Mjraider : Sir I know you occasionally visit these threads and answer the questions, you are one of the biggest names here so please consider my request and help me once, I will be highly obliged:victory::angel:
My device
Xperia SP C5302
Rooted ** Unlocked Bootloader
Stock ROM JB 4.3
Firmware 12.1.A.205
CWM Recovery Installed
Kernel DooMLord's Advance stock kernel
@mrjraider hero around this corner
Dude, use the guides. No one can teach step by step of everything. Just read n learn is my best advice to you.
trial and error + research is the way how i have learned it.
Sent from my Xperia SP using XDA Free mobile app
neXus PRIME said:
@mrjraider hero around this corner
Dude, use the guides. No one can teach step by step of everything. Just read n learn is my best advice to you.
Click to expand...
Click to collapse
First of all thanks for the reply.
Secondly that is what I mentioned in the thread that I searched XDA but couldn't find a single worthy guide that can actually define andything for eg updater script, tried googling things go way over my head :silly: You guys keep posting guides tweaks and tricks. That is why I requested that you must be knowing the best guides out that have all the information, I just ask that I want a complete bunch of links of guides here in reply so that I can go out in a flow.
SpaceCaker said:
trial and error + research is the way how i have learned it.
Sent from my Xperia SP using XDA Free mobile app
Click to expand...
Click to collapse
Thank you for replying
I know that's the actual way, I also know that it isn't easy all I ask is for that someone just guide me the path like This is the way and I'll walk on it.
Just a guidance and that can be done by giving out the links here so that I can start and get going.
neXus PRIME said:
@mrjraider hero around this corner
Dude, use the guides. No one can teach step by step of everything. Just read n learn is my best advice to you.
Click to expand...
Click to collapse
I only need an cape i think??
Haha. Thanks...
As a reply:
Just try. Keep a backup safe, follow the instructions and not much can go wrong
Edit: After I reread your question:
I cannt help you much but I can see what I can do. First you need to start. I have some update.script and adb knowledge so I can help you with that. But I am not a developer (I am a nurse actually )
mrjraider said:
I only need an cape i think??
Haha. Thanks...
As a reply:
Just try. Keep a backup safe, follow the instructions and not much can go wrong
Edit: After I reread your question:
I cannt help you much but I can see what I can do. First you need to start. I have some update.script and adb knowledge so I can help you with that. But I am not a developer (I am a nurse actually )
Click to expand...
Click to collapse
Thanks for replying
That's what I am talking about!
Is there some guide or something that explains update.script and it's editing not in detail if then informative enough for me to begin with.
As far as adb is concerned then for that too a guide (I asks for too many guides sorry )
Tech N You said:
Thanks for replying
That's what I am talking about!
Is there some guide or something that explains update.script and it's editing not in detail if then informative enough for me to begin with.
As far as adb is concerned then for that too a guide (I asks for too many guides sorry )
Click to expand...
Click to collapse
Some nice guides here. Can go through them to see whether there's anything that might help you.
A guide about flashable zips/updater-script from there. See this also.
Thanks a lot man!
You really helped me!
Cheers mate!
Sent from my C5302 using XDA Free mobile app

[Q]Tutorial for making basic apps?

I want to make a basic app as i am new in this field i need some expert guidance in learning android development.So i want to learn it from starting i.e which software iis needed ,languages,and other requirements need help urgent.
Thanks in advance
here's a site
Himalaya saxena said:
I want to make a basic app as i am new in this field i need some expert guidance in learning android development.So i want to learn it from starting i.e which software iis needed ,languages,and other requirements need help urgent.
Thanks in advance
Click to expand...
Click to collapse
http://www.andromo.com/:good:
..
+1
fffft said:
.
Building your first app. And other resources.
.
Click to expand...
Click to collapse
+1
Try touchdevelop.
Himalaya saxena said:
I want to make a basic app as i am new in this field i need some expert guidance in learning android development.So i want to learn it from starting i.e which software iis needed ,languages,and other requirements need help urgent.
Thanks in advance
Click to expand...
Click to collapse
Have a look in our dedicated app development forums. There are choices for which language you use, which platform you develop on etc.. Spend a bit of time reading what's gone on in there (a lot of questions similar to your own, actually) and see if you find something that you like the sound of...
http://forum.xda-developers.com/forumdisplay.php?f=2188
Good luck, and most importantly, have fun

Categories

Resources