[Q] Rom building help - XDA-University

Hi.
I was wondering if it is possible to build a complete, working rom for my phone from the source code that is supplied by the manufacturer? Or do I need to do more coding? I have experience in c programming but I am new to android programming.
Thanks
Sent from my LG-P768 using xda app-developers app

To build a full working ROM from the phone seems highly impossible due to the lack of tools u would need in order to build the ROM ... Most people have stated c and java are needed for ROM building ... There a couple of other thread and few searches ucan do that will give u in more details

crashpsycho said:
To build a full working ROM from the phone seems highly impossible due to the lack of tools u would need in order to build the ROM ... Most people have stated c and java are needed for ROM building ... There a couple of other thread and few searches ucan do that will give u in more details
Click to expand...
Click to collapse
Thanks for your response. Will do more research on the subject

Related

[Q] Tutorial/Guide for porting android to phones

Anyone has some tutorial/guide/book or know where I can find informations about how to compile android from scratch for a mobile phone activating the functions one by one?
filipepferraz said:
Anyone has some tutorial/guide/book or know where I can find informations about how to compile android from scratch for a mobile phone activating the functions one by one?
Click to expand...
Click to collapse
can you explain much more? what do you want to do?
I know with the android kitchen you can port a rom from a phone to another..
or do you want to compile os from source?
I want to understand the android plataform. I would like to compile from source to learn how the devices drivers interact with the system and maybe can help to solve the camera problem. There are many devices getting out with android os, has to be a way to configure/build from source files the full device support.
francians said:
can you explain much more? what do you want to do?
I know with the android kitchen you can port a rom from a phone to another..
or do you want to compile os from source?
Click to expand...
Click to collapse
filipepferraz said:
Anyone has some tutorial/guide/book or know where I can find informations about how to compile android from scratch for a mobile phone activating the functions one by one?
Click to expand...
Click to collapse
hi
first it is very much available u need to search and u will find the same
see this link : http://forum.xda-developers.com/showthread.php?t=653568
pls dont wast thread pls use the Question and answers thread which is a stiky for such questions
Thread CLOSED

[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

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.

[Q] [Ask/Discussion] Something in my mind

Hey all sorry for this silly questions, but I very interested about this fact that most of rom developers that I have seen is forget to test their rom before publishing to us. I seen their included many futures in their rom, but in the last sentences is always say "report to me immediately if you found some bug"
I am not developer but I very interest about their job, they do the best for us without any salary. we will appreciate their job. we know they were working hard to do that. But this questions is always come and I want to know what is happened;
1. that is not possible to checking our jobs when we finish to build something or develop a Rom?
2. and about Bug, that is bug are coming with different situation perhaps different type of phone or hardware or maybe production code
I know someone there can give me explanation, please help me
generally, dev. do test their Rom before released it.but not everything,maybe concentrate on basic and new feature in their Rom.however,nothing is perfect.more features will lead to more bugs.sometime,if u add 1 new feature,its will bring bug to others.so they need our help to report it.plus they give it to us for free so we should give something back in return,I guest.
and sometime bugs happen. just because someone don't read a thread carefully
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
I am sorry admin. I think this can be made to discussion tread. I will waiting another responses for this read. likely some explanation or maybe a way or process to develop a roms
If I get you right.
1. Developers DO TEST the ROM before they release it. Thats why as you can see it took sometime to be released as they want to make sure that the ROM is stable. (I dont know If all devs do that but Im sure most of them do, some ask for testers.) The reason why they ask to report you BUGS is that they cannot test all the component and esp the apps that we install. Basically they only test the default component or features that the ROM has. Issues arise because of the user setup on there phone. We have different setups thats why we have different problems, also 1 reason is how you install the ROM on your phone we may have same phone specs but believe me bugs you might encounter will not exist on mine. So in general this is want the dev to do to address those issues that users find while using the ROM. If you want the developer to test it all then dont expect the ROM to be release frequently. Actually you know the answer and was stated on your no. 2.
likely some explanation or maybe a way or process to develop a roms
Click to expand...
Click to collapse
starts from here.
Different people = different phones = different experience/bugs...even on my GingerZaraki, I have no problems with wifi on alfs but many others complained of wifi errors...I have a team of 6 so stuff like this can be tested out so the chances of others having the same probs are less. Hope that answered your question
Well its kinda impossible to navigate through all the system to discover any possible bugs, right? And I agree with Rohin.
Sent from my X8 to your screen
Well I understood know. so our phone is make multiple problems with some rom. One more time, what is the best guys, Install a rom from original rom or can directly for another. for example, let's call my original Rom (eclair) is ROM A, old costume ROM is ROM B, and the New one of ROM is ROM C.
now I used ROM B and wanna to try new ROM C. that is good if I installed directly from ROM B or make recovery first to original ROM A, before installed ROM C. Sometimes I have problems or boot lop, and sometime is fine ?
Err.. full wipe after rom B.
Sent from my X8 using xda premium
syafwan said:
Well I understood know. so our phone is make multiple problems with some rom. One more time, what is the best guys, Install a rom from original rom or can directly for another. for example, let's call my original Rom (eclair) is ROM A, old costume ROM is ROM B, and the New one of ROM is ROM C.
now I used ROM B and wanna to try new ROM C. that is good if I installed directly from ROM B or make recovery first to original ROM A, before installed ROM C. Sometimes I have problems or boot lop, and sometime is fine ?
Click to expand...
Click to collapse
you dont have to go back to a (eclair) everytime you change rom,just full wipe at cwm while using b(old rom) and install your c(your new)
i liked the a,b,c

[support] cm10 gt-i9305

Hi!
Since LarryTheCow got CM10 working on our devices this Will now be a support thread.
Questions about CM10 and various things can be posten here!
You can find his work here: http://forum.xda-developers.com/showthread.php?t=2084604
ABorgh said:
Hi!
I am currently working on to get CM10 running on our devices but I could use some help!
If there is someone willing to help it would be appreciated, even if you do not know anything about development your help is appreciated!
Just write a line down below if you want to help.
Cheers!
Click to expand...
Click to collapse
Mate I know pretty much nothing about development but if I can be of any assistance please let me know
But I am good at following instructions well so.......
Sent from my GT-I9305 using xda premium
Great! Can you PM me your mail so I can add you on gtalk?
ABorgh said:
Hi!
I am currently working on to get CM10 running on our devices but I could use some help!
If there is someone willing to help it would be appreciated, even if you do not know anything about development your help is appreciated!
Just write a line down below if you want to help.
Cheers!
Click to expand...
Click to collapse
hey man i have absolutely 0 development experience other than rooting my phone, but if i can help let me know, Im also following the thread in the I9305 development section
How about me can i help??? I have experience in rooting only but am good at following instruction???
Sent from my GT-I9305 using xda app-developers app
Great guys! Can you give me detail of what you know in developing?
Hi,
i'm kind of a linux specialist but do not have much experience in android rom development.
If you would like my help, let me know.
larryTheCow said:
Hi,
i'm kind of a linux specialist but do not have much experience in android rom development.
If you would like my help, let me know.
Click to expand...
Click to collapse
You know coding by heart? Cause Linux and android is very much alike
ABorgh said:
You know coding by heart? Cause Linux and android is very much alike
Click to expand...
Click to collapse
I don't know "coding by heart" or better, i don't know what it means(not a native speaker...).
I know some c Coding an Linux Module development.
Furthermore Java and the typical web technologies.
And a lot of linux administration and kernel configuration...
larryTheCow said:
I don't know "coding by heart" or better, i don't know what it means(not a native speaker...).
I know some c Coding an Linux Module development.
Furthermore Java and the typical web technologies.
And a lot of linux administration and kernel configuration...
Click to expand...
Click to collapse
Well then you should be able to code android Read any guide?
No.
But Android apps and most framework parts are written in java, so the language isn't a problem.
Any furhter information is in the android api documentation, so i don't think this is a major problem.
larryTheCow said:
No.
But Android apps and most framework parts are written in java, so the language isn't a problem.
Any furhter information is in the android api documentation, so i don't think this is a major problem.
Click to expand...
Click to collapse
Well if that's the case maybe you can make a build from winxusers git? It is the port that is the problem. He hasn't changed every I9300 to I9305 in the rom. Wich is a problem
I will lay down the details when I get home from the cinema
If we're all beginners anyway I'll throw my name in the hat. I have no idea exactly what to do but I am a skilled C and java programmer (more so java than C) and I have experience with the Android build system. If someone can guide me I'm sure I can provide assistance.
Thanks man! I have very little knowledge in porting roms but this should help! http://forum.xda-developers.com/showthread.php?t=1598713
I'll check out the git when i'm @home from work and will try to build it.
I think i should start making a backup of my phone
larryTheCow said:
I'll check out the git when i'm @home from work and will try to build it.
I think i should start making a backup of my phone
Click to expand...
Click to collapse
Haha good idea
Still cloning cm10.1 sources, on my server @100mbit/s... then getting the compressed tar.bz2(thats faster than getting it directly via git to the local machine)
larryTheCow said:
Still cloning cm10.1 sources, on my server @100mbit/s... then getting the compressed tar.bz2(thats faster than getting it directly via git to the local machine)
Click to expand...
Click to collapse
Tell me when it is done! We should be able to get it starting without anything working at least!
What about you? Checking out source and building?
What about using an instant messenger for short communication(google talk, jabber, whatever...) ?

Categories

Resources