[Q] Basic info to porting a rom. - Android Q&A, Help & Troubleshooting

Can anyone let me know the basics to porting a Rom ?

I re-use this post to have some info on porting.
I'm trying to port Android too. I've builded a CM ROM for my Device (Samsung Galaxy Gio, Thanks to Maclaw Guide on his gitHub Wiki), but now i want to modify the source and i'm searchin the way to do this. Can any of you help me?
Thanks for the info you suggest to me,and sorry for my english .

No one is going to reply to your post.. All the devs are to lazy to explain and help others port. They have half guides every where, but you ask a question they never reply! And people call this a great community?

I hope thta there is/are developer/s with a great heart and with the spirit of help new developers...

anthony062991 said:
No one is going to reply to your post.. All the devs are to lazy to explain and help others port. They have half guides every where, but you ask a question they never reply! And people call this a great community?
Click to expand...
Click to collapse
First off there are tons of tut all over the site. Alot of this is trial and error mixed with many sleepless nights.
Calling the Dev lazy is way out of line. All the tools you need can be found with a Google search. But people seem to be too lazy to put in the days worth of work that is need to understand what your doing.

anthony062991 said:
No one is going to reply to your post.. All the devs are to lazy to explain and help others port. They have half guides every where, but you ask a question they never reply! And people call this a great community?
Click to expand...
Click to collapse
man don't use any wrong against any dev. they work hard 4 for all. plz don't use this words

I think antony want to say that there's no knowledge sharing between new users and developers that know really good how to proceed into the development.
No one of us know all of all. For example i've learned how to cross compile the android source many times ago but my doubts are on the mods area of OS.
I don't like to ask to other but i must admit that i've not a great knowsledge on this argument. So, a part of us (new developers), only ask an help on the way to take for learn the necessary to do more.

Related

Desire HD rom on HD2 - trouble with the camera. Why ?

Could someone explain to me why in Desire HD Rom on HD2 does not work the camera?
because the source for the phone hasnt been released by htc yet.
thanks for the quick response ... :-(
I hope will be resolved soon ... I love having a good android on my HD2!
i always wanted to know this also so like when would the release comes?
there's the same problem on other devices such as htc desire, no camera with desire hd rom too, no?
Why? because you are lazy to read the topics...........
tinuz97 said:
Why? because you are lazy to read the topics...........
Click to expand...
Click to collapse
I'm normally not one to flame newbs but it HAS been explained ad nauseum and is easily found in ANY Desire HD rom thread within the first or second page. it doesn't even take a thorough search or drudging through a 50 plus page thread to find the answer to this question.
Mods - please close
Mods.
Please close - another thread that should not have been started wasting more bandwidth.
OP - Please take the time to search the forums first. Whilst XDA members are here to help it does get a bit frustrating when questions such as this are asked time and time again.
tinuz97 said:
Why? because you are lazy to read the topics...........
Click to expand...
Click to collapse
I really hate when a member who has alotta posts', always has something smart to say when a "newbie" asks a question. It's not necessary! While the post may be a waste of "space", the question is still relevant. Don't forget, "YOU" was once a newbie also!!! A simple answer could've ended this thread already. Many of us aren't as tech savvy as others, thats why forums like this was created. If it wasn't for "newbies" these forums wouldn't continue to exist. Show some respect to all, whether ur a "moderate" "senior member" or a "newbie". Thank you!
we had the same issue back in the G1 days when eclair was first ported. someone took the time to reverse engineer the camera driver to get it to work in eclair. either we get the source for it, or someone has to take good chunk of time to figure it out.
robkoehler said:
we had the same issue back in the G1 days when eclair was first ported. someone took the time to reverse engineer the camera driver to get it to work in eclair. either we get the source for it, or someone has to take good chunk of time to figure it out.
Click to expand...
Click to collapse
Just curious, is there some reason why a camera driver from another build won't work in the Desire HD ROM?
Ditto, I agree. Let's be accommodating and helpful.
microse23 said:
I really hate when a member who has alotta posts', always has something smart to say when a "newbie" asks a question. It's not necessary! While the post may be a waste of "space", the question is still relevant. Don't forget, "YOU" was once a newbie also!!! A simple answer could've ended this thread already. Many of us aren't as tech savvy as others, thats why forums like this was created. If it wasn't for "newbies" these forums wouldn't continue to exist. Show some respect to all, whether ur a "moderate" "senior member" or a "newbie". Thank you!
Click to expand...
Click to collapse
Sent from my HTC HD2 using Tapatalk
rustybob said:
Just curious, is there some reason why a camera driver from another build won't work in the Desire HD ROM?
Click to expand...
Click to collapse
Because its not a camera "App" issue. More of a driver issue.
motoman234 said:
Because its not a camera "App" issue. More of a driver issue.
Click to expand...
Click to collapse
What prevents the use of the camera driver from a working Android build? Is it not a ko module?
If it were that easy, dont you think darkstone would have just included in the first beta itself
microse23 said:
I really hate when a member who has alotta posts', always has something smart to say when a "newbie" asks a question. It's not necessary! While the post may be a waste of "space", the question is still relevant. Don't forget, "YOU" was once a newbie also!!! A simple answer could've ended this thread already. Many of us aren't as tech savvy as others, thats why forums like this was created. If it wasn't for "newbies" these forums wouldn't continue to exist. Show some respect to all, whether ur a "moderate" "senior member" or a "newbie". Thank you!
Click to expand...
Click to collapse
true. always a **** head giving a hard time like they was born with technical knowledge you all where noobs so dont look down on ppl. be a friend and help ppl in need
What a [email protected]$#%&
You are too busy to read other posts and expect answers from others that do? Get real... Search before asking the same questions over and over again
Sent from my Desire HD using Tapatalk
OCedHrt said:
What prevents the use of the camera driver from a working Android build? Is it not a ko module?
Click to expand...
Click to collapse
Camera driver= kernel issue. We do not have the kernel source yet. Lets hope we get it sometime soon!
tremayne0126 said:
true. always a **** head giving a hard time like they was born with technical knowledge you all where noobs so dont look down on ppl. be a friend and help ppl in need
Click to expand...
Click to collapse
No, people are not getting mad just because he asked a question. Its the fact that he did not do any research at all (Which is a huge rule on this site). The answer to this question has been answered in just about every Desire HD-2 thread. Also because this particular forum "HD2 Android Development" is not for Q&A. I've seen a thread about this exact question start like once a week, and it always gets moved.
reported..

I will pay developers to help me

Any developers out there that would like to help me learn to develop
help in any way......
roms, kernels etc
metalman3797 said:
Any developers out there that would like to help me learn to develop
help in any way......
roms, kernels etc
Click to expand...
Click to collapse
Are you a software engineer? Do you actually know how to program? If so, what languages? You'll have to tell us your current knowledge level. There's a big difference between 'how do I set up the Android SDK on my computer?' vs. 'what's C++?'.
skoalbandit123 said:
google will help for free
Click to expand...
Click to collapse
This,first off, develops won't spend large amounts of time helping you out to learn to develop (assuming you have some knowledge of C++ and Javascript) which would still take forever.
Second, you can learn to develop by yourself by using google.
/thread
metalman3797 said:
Its a development topic sooooooooooooo dont be a ****!
People like you are the reason i hate asking stuff..... If you know the answer or can help, then do so. If not dont respond.
Click to expand...
Click to collapse
Yes it was rude of him. However it is correct, you could post this in the general forum or in the question for if you re word it to a question. There are plenty of free tools out there that will help you learn to develop. Like stated earlier, Google is your friend.
mhousser said:
Are you a software engineer? Do you actually know how to program? If so, what languages? You'll have to tell us your current knowledge level. There's a big difference between 'how do I set up the Android SDK on my computer?' vs. 'what's C++?'.
Click to expand...
Click to collapse
I work for a software development company but as tech support
I dont know how to program.
I took C++ a few years ago but forgot everything. I am very knowledgeable with computers, just a noob on android development.
People read this : http://forum.xda-developers.com/showthread.php?t=871476
I'm thinking he put this here to grab the devs attention probably assuming they don't spend much time in the general section I could be wrong though and until development is actually being discussed this is not a development thread its a question I'm not trying to be rude I'm just looking at this from an outside view carry on
egc+voodoo jl1
bobbbb said:
This,first off, develops won't spend large amounts of time helping you out to learn to develop (assuming you have some knowledge of C++ and Javascript) which would still take forever.
Second, you can learn to develop by yourself by using google.
/thread
Click to expand...
Click to collapse
So basically they develop for android in C++ generally?
And i just need a push in the right direction.
Everyone here is usually very helpful, i dont expect them to hold my hand through it
metalman3797 said:
Its a development topic sooooooooooooo dont be a ****!
People like you are the reason i hate asking stuff..... If you know the answer or can help, then do so. If not dont respond.
Click to expand...
Click to collapse
Could you answer the questions I asked in my last post? I think it'll help you find help faster.
(Sorry for the prick who first answered you - ignore him.)
EDIT: nvm, I notice you answered my original post already.
will everyone settle the f down about the section. god you guys are like flies on sh*t. if a moderator feels this is the wrong section, it will be moved. DONE
to answer your question man: i hate to break it to you, but youre not likely to find much personal help here, much less on any forum. mainly because of what you are seeing in this thread: people are d*cks online.
like many people have said, and i know this isnt the answer you want to hear, youre probably gonna have to teach yourself. only because i guarantee you, even if someone taught you the steps on how to code, build, compile etc, you still probably wouldnt fully understand why it works the way it does.
i recently developed the desire to learn how to build kernels, but i never even began to think about asking for help here because i knew i would get the type of idiotic responses youve received, so i faced the music: if i want to learn, im gonna have to start reading.
metalman3797 said:
I work for a software development company but as tech support
I dont know how to program.
I took C++ a few years ago but forgot everything. I am very knowledgeable with computers, just a noob on android development.
Click to expand...
Click to collapse
So you want to know how to work on the Android OS, but don't know how to program? It seems like you'd first need to learn how to program.. and there are certainly better ways to learn than from an XDA developer!
willsnews said:
I'm thinking he put this here to grab the devs attention probably assuming they don't spend much time in the general section I could be wrong though and until development is actually being discussed this is not a development thread its a question I'm not trying to be rude I'm just looking at this from an outside view carry on
egc+voodoo jl1
Click to expand...
Click to collapse
Makes sense, my mistake Please move MOD
TopShelf10 said:
will everyone settle the f down about the section. god you guys are like flies on sh*t. if a moderator feels this is the wrong section, it will be moved. DONE
to answer your question man: i hate to break it to you, but youre not likely to find much personal help here, much less on any forum. mainly because of what you are seeing in this thread: people are d*cks online.
like many people have said, and i know this isnt the answer you want to hear, youre probably gonna have to teach yourself. only because i guarantee you, even if someone taught you the steps on how to code, build, compile etc, you still probably wouldnt fully understand why it works the way it does.
i recently developed the desire to learn how to build kernels, but i never even began to think about asking for help here because i knew i would get the type of idiotic responses youve received, so i faced the music: if i want to learn, im gonna have to start reading.
Click to expand...
Click to collapse
Yeah thats what im starting to see and think
mhousser said:
So you want to know how to work on the Android OS, but don't know how to program? It seems like you'd first need to learn how to program.. and there are certainly better ways to learn than from an XDA developer!
Click to expand...
Click to collapse
Exactly, just looking for a direction to take besides....
download the SDK and bla bla bla and mess with it
briankao1992 said:
You're ???
Click to expand...
Click to collapse
Im on the floor! I love it!!!!!
Sent from my GT-I9000 using XDA App
Cyanogen started a very helpful thread in the android dev forum. It's stickied.
From a phone
You have a large amount of fundamentals to learn first. Software development courses are quite easy to find online. You'll want to learn C++ and Java... since Android apps are written in Java.
After you have learned the fundamentals of software development, *then* you might be ready to learn how to get the Android OS source on your computer to start playing with it.
I'm very inyerested in learning also and would gladly pay for a develepers time
Sent from my SGH-T959 using XDA App
mhousser said:
You have a large amount of fundamentals to learn first. Software development courses are quite easy to find online. You'll want to learn C++ and Java... since Android apps are written in Java.
After you have learned the fundamentals of software development, *then* you might be ready to learn how to get the Android OS source on your computer to start playing with it.
Click to expand...
Click to collapse
Ok thats what i was looking for. Thank you, I appreciate it!!
Also note that if you learn one programming language - i.e. C++ - other programming languages will come more easily to you. Regardless of which language you're using, 60%+ of everything is the same - i.e. for loops, if statements, classes, inheritance, etc. Syntax is largely similar.
Also keep in mind the high level differences between languages like C++ (which is a very low level language) and Java (a higher level language).. for example, in C++ you *really* need to worry about disposing of objects correctly, whereas languages such as Java and C# have their own Garbage Collector which does these things for you. This is just one example.. there are many many others.

Hello from a new member :)

Hi all! I've been checking out this forum for quite some time now, and been following a ROM thread quite closely for the past week or so, so thought it was about time I got an account! Currently got a Galaxy S2, which I love.
I'm by no means a developer, but I'm also not a complete n00b and know my fair share about computers. Done a bit of programming on and off for a few years, build my own PC's etc. I previously had a HTC Hero, and I rooted that and have flashed several ROM's and Kernels over the past 2 years. I would like to learn a lot more though. There are a lot of things I don't understand.
I would like to know more about how things work concerning custom ROM's. What is it Kernels do exactly? What is AOKP? (Found some information on Google, but nothing that made a lot of sense). Modems are another thing I'd like to know more about.
I know a lot of the questions I have have probably been asked several times on the forum already, so I'm not going to ask for direct answers, but if anyone has any links to helpful websites that could help me on my way to learning more about the Android system and what you developers do I would greatly appreciate it.
Anyway, nice to meet you all, and I look forward to talking with some of you and contributing where I can.
Thanks,
Carl
Welcome to the forum!
First, read all the FAQs out there, recovery guides, how-to's... Everything before flashing
The Kernel (in the flashing process, it's the zImage, just like in Linux) is basically a bridge between the software and the hardware. It's basically what connects the NAND (the phone's HDD) with the hardware components like WiFi, Antenna, etc, and provides info, stats, commands and etc about them.
AOKP stands for Android Open KANG Project, and is kind of a Kang port.
Modems (in a flashing package, it's the PHONE file) is pretty much what "controls" the antenna section of the phone, which is WiFi, 3G/H/H+, call connection, etc. There are many modems out there, and I believe that the best Modem for the UK in Android 2.3.x is KL1, and for 4.0.x, XXLPQ.
If you would like more help, you can PM me!
Here are a few links for ya :
[REF] Guide to the Galaxy S II and Android (04/10/11) <- Everything you need to know
Original Development vs Development, Your Picture-Based Guide <- My personal favourite
[GUIDE] Fix an unflashable or soft bricked GSII <- A guide I made
carlnrtn said:
I'm also not a complete n00b and know my fair share about computers.
<snip>
What is it Kernels do exactly? What is AOKP? (Found some information on Google, but nothing that made a lot of sense). Modems are another thing I'd like to know more about.
Click to expand...
Click to collapse
Yeah, loads.
carlnrtn said:
I know a lot of the questions I have have probably been asked several times on the forum already
Click to expand...
Click to collapse
Correct, so, good luck finding the answers.
FORUM RULES
1. Search before posting.
I pity anyone who spoon feeds you the answers.
oinkylicious said:
Yeah, loads.
Correct, so, good luck finding the answers.
FORUM RULES
1. Search before posting.
I pity anyone who spoon feeds you the answers.
Click to expand...
Click to collapse
I guess I'm just in a good mood
Welcome and enjoy the forum
Welcome to the forums. I am PoorCollegeGuy and I write things on the XDA Portal (aka www.xda-developers.com).
Have a good time while you're here and remember that before you get angry at anyone saying mean things to you, they're probably fat...and ugly...and single
PoorCollegeGuy said:
Have a good time while you're here and remember that before you get angry at anyone saying mean things to you, they're probably fat...and ugly...and single
Click to expand...
Click to collapse
Best post for a while (and quite probably true), thanks for making me smile

Developing roms

hey i want to start developing roms but the problem is iam a noob any guide or anyone help me by chatting ?
bump
Open mspaint, fill a few pngs with dark blue, save and publish with some cool words like elite, premium, extra, bug free, superfast. Symbols, caps and bold at your discretion.
If you have to ask how to "develop" ROMs, rather than being able to find these things on your own, chances are you're not going to be able to contribute anything worthwhile.
Using the search button is always a good option...
Simple answer?
Learn to code. The reason I won't even consider becoming a developer is the fact that learning code takes years, I don't have the time nor willpower to learn. I'm happy enough flashing ROMs and getting on with other things while the devs do what they do.
Thanks devs. Thevs.
Start off by doing simple softmodding
ALHussein Mohammed said:
hey i want to start developing roms but the problem is iam a noob any guide or anyone help me by chatting ?
Click to expand...
Click to collapse
check the link below hope it will be of some help to u for the same
complete android guide for rom devlopment
thnx everybody im trying my best

Need help about port rom!!!

I just find this rom from I9100 forum: http://forum.xda-developers.com/gal...m-coloros-1-0-gt-i9100-weekly-update-t2637988
I love it so much.
Can anyone port that rom from I9100 to I9100G.
Manu thanks.
No one help me??????Please.....................
Devs don't sit around doing nothing waiting for n00bs to post requests. Devs are always working on stuff they're actually interested in (they generally don't give a fig what some bozo posting in Q&A might want), they also have day jobs, lives and families as well.
You want this ported, guess who's going to be doing it ? (Hint: You).
huytrandinh said:
No one help me??????Please.....................
Click to expand...
Click to collapse
not any one can do this my friend without having i9100g device it is hard
try learning by yourself :good:

Categories

Resources