Development bootstrap environment - Galaxy S I9000 General

Would anyone with a working development environment (I am talking kernel development and/or ROM development) be willing to zip it up and upload it somewhere?
I really want to start contributing to this scene but I simply do not have the hours upon hours of free time needed to set up these convoluted environments... tried once but after no working environment in 3 hours of downloading and configuring, I gave up.
I really hate the way Google has set this stuff up to be so difficult. It's incredibly frustrating to be someone who has been rolling their own kernels for nearly 20 years be unable to do so because of time to get a working environment... it's easier building gentoo than Android.

Related

want to learn how to do stuff

so i would like to learn how to do things for my phone and possibly help with the dev community. but i know practically nothing about linux or how to do anything useful. i am looking for links or other useful information to help me get started. i have lots of time on my hands and learn pretty quick. i assume i would start with the sdk (would i use the 1.5 one since thats what our phones are currently running on, or is the 2.0 out yet? and would i try from there), but other than that have no idea what else would be useful.
so.... yeah. helpful link to good info or any good e books, or anything like that that will get me going. thanks in advance
i would use the newest SDK, 2.0.1, and make sure that it will function on the emulators for both 1.5 and 2.0.1, frankly if you arent already proficient with linux or java, this wont be a easy thing to get into. However I WILL point out how threads like this are terribly pointless... you arent helping anyone out, and frankly you're asking for information that is quite available.
thanks for nothing. other than making me feel stupid.
Some help, maybe.
ix3u said:
thanks for nothing. other than making me feel stupid.
Click to expand...
Click to collapse
I've been spending quite a bit of time on the threads here, I too am in search of more information specific to the android. I don't know that I'll ever be able to contribute too much to the devs, but at least I can understand my phone better, and help out with answering questions on the forums.
I would think that starting with something like creating a theme would be a good place to start, and would get you a little more familiar with the ways of android. Then I would move up into other things, and before you know it you will be much more proficient. It's all about starting somewhere. (and having a good backup)
Here's some posts / links that I have collected that i thought might aid me when i create some time to start the same endeavor...
* Ratcom's guide to creating Theme's
http://forum.xda-developers.com/showthread.php?t=574167
* An Android Developers Guide (with tutorials, and tons of info)
http://developer.android.com/guide/index.html
* How-to's regarding android application development:
http://www.brighthub.com/mobile/google-android/topics/guides.aspx
* Tutorials and exercises
http://blogoscoped.com/archive/2007-11-19-n27.html
I haven't looked at most of those, but hopefully they will be a good start. I look forward to the day when I start looking at them too.
Hopefully that's helpful, it's all I can offer.
Good luck, and godspeed
-AndyS-
thanks., that is more like what i was looking for
jmhalder said:
i would use the newest SDK, 2.0.1, and make sure that it will function on the emulators for both 1.5 and 2.0.1, frankly if you arent already proficient with linux or java, this wont be a easy thing to get into. However I WILL point out how threads like this are terribly pointless... you arent helping anyone out, and frankly you're asking for information that is quite available.
Click to expand...
Click to collapse
Hmmm. So much for helping someone out who at least has the desire to learn and grow to be more. Communist much? or just a Liberal Democrat? I applaud him for trying. Who knows more about where to get the information other than XDA? Hell a google search on this stuff turns up mostly useless garbage anyways. Why spend hours digging it up when someone else may know a good resource.
Lets refrain from flames/rebuttals please.
I have a few FAQ's and tutorials on my site. Also checking things like my release notes and mind map (linked in v1.0 release) will help. There aren't any full on tutorials but it's just a good place for general info.
Check my sig.
As flipz stated, there's no good centralized place for organized information. The best advice is truly to search this site, and search with google. It's an uphill battle getting that base of knowledge built up to get you going. I know, I'm still working my way up the hill. I thought about putting a site together to organize and share information but that would take away too much from what little time I have to spend on rom developement.
I doub't that is really the answer you were hoping to get but unfortunately thats the grim reality of things. Perhaps someone with a lot more free time than I, will put together a site of their own and compile and organize all kinds of good information in a central place. It would truly be a boon to the android community.
obelisk79 said:
As flipz stated, there's no good centralized place for organized information. The best advice is truly to search this site, and search with google. It's an uphill battle getting that base of knowledge built up to get you going. I know, I'm still working my way up the hill. I thought about putting a site together to organize and share information but that would take away too much from what little time I have to spend on rom developement.
I doub't that is really the answer you were hoping to get but unfortunately thats the grim reality of things. Perhaps someone with a lot more free time than I, will put together a site of their own and compile and organize all kinds of good information in a central place. It would truly be a boon to the android community.
Click to expand...
Click to collapse
I'd be happy to bring some writers on to my site or to host some tutorials or anything that others have written. My job offers me a lot of flexibility and free time, however like you I am spending all of it developing right now. This kitchen is kicking my butt.
Edit: We'll see if I get any hits. http://geekfor.me/news/wanted-writers-for-faq-tutorial-help/
I may be able to help. My freetime seems to come and go, but I’ve always been pretty good at making How-To’s.
What format would be best?
html,pdf,etc…
ix3u said:
so i would like to learn how to do things for my phone and possibly help with the dev community. but i know practically nothing about linux or how to do anything useful. i am looking for links or other useful information to help me get started. i have lots of time on my hands and learn pretty quick. i assume i would start with the sdk (would i use the 1.5 one since thats what our phones are currently running on, or is the 2.0 out yet? and would i try from there), but other than that have no idea what else would be useful.
so.... yeah. helpful link to good info or any good e books, or anything like that that will get me going. thanks in advance
Click to expand...
Click to collapse
Good thread, thanks for starting it.
I'm in a pretty similar spot. 2 weeks ago I had zero exposure to or knowledge about Android or Linux. I'm proficient with Windows. In the last 2 weeks I've rooted, flashed RA 123, 151 & then 152. I backed up, ran an optimizer .zip file, restored, flashed fresh 1.0 and learned some very cool stuff. I'm comfortable in the terminal but I'm getting to where I'm not sure what I should or want to learn next. Also, although I've done these things easily half of it was just copying instructions from one of the fantastically helpful posts on this forum. Before I learn what to do next I'd like to understand the system better. I checked out wiki and ended up bookmarking a page that explains kernal computing, and a few others, lots of reading ahead
As a noob I have tried to learn without getting in the way too much. I'm glad you admitted your noobness and asked for some direction, you're not the only one who could use it!
obelisk79 said:
As flipz stated, there's no good centralized place for organized information. The best advice is truly to search this site, and search with google. It's an uphill battle getting that base of knowledge built up to get you going. I know, I'm still working my way up the hill. I thought about putting a site together to organize and share information but that would take away too much from what little time I have to spend on rom developement.
I doub't that is really the answer you were hoping to get but unfortunately thats the grim reality of things. Perhaps someone with a lot more free time than I, will put together a site of their own and compile and organize all kinds of good information in a central place. It would truly be a boon to the android community.
Click to expand...
Click to collapse
Sounds like what the original replyee said but said much more tact.
I'm hoping that was a compliment in a round about way.
THIS is an amazing resource. I've stopped in there before but wasn't ready to poke around too much.
I'll see you guys/gals in the spring!
I'd like to offer some insight, but there's really not much more I could add than what's already stated and linked above. Everything you need to know can be found (usually) easily on the android developer site, or in a google search. The hard part is putting those pieces together to know what needs to be done in order to accomplish what. That's not an easy task: check out cyanogen's github projects (http://github.com/cyanogen). He's made modifications to the kernel, Android applications, core frameworks, configurations, recovery images, packaged resources/images, and more. It's not just one piece that goes into these builds.
Most of what you see around here (and this is certainly not to take away from all the great work I'm referring to, because this is just as important as everything else), are people modifying what was already done somewhere else, and making it work for their own phone. And really that's all it takes to move progress forward.
You don't have to be a linux whiz or a Java programmer to be able to make progress with your phone- you just need to understand how each particular piece works in order to make progress on that piece. If you want to make a theme, you need to know what jar or apk files contain the resources, and how to replace those images and styles. If you want to add support for the camera you need to know what linux driver it should use, and how Android expects to interact with that driver. Same for supporting accelerometer sensors, etc.
There's no definitive checklist of things you have to know before you can help development, it just depends on what what you want to help with, and your willingness to research how that particular piece works and what it would take to make the necessary changes.
maejrep,
Informative and encouraging. Thanks!

How to help build Cyanogen for vibrant...

I was just curious, since i will have a few weeks off soon. How/where do i look to learn about helping mod android OS for cyanogen/bionix etc. I figue instead of gaming for 12-15 hours on those off days, i can just crunch down and see if i can help out. Any info would be appreciated
Unless you're part of the cyanogen group, don't you mean you want to learn how to mod for yourself or your own custom roms? It's like lately people are referring to modding as 'cyanogen'ing' just like they refer to mp3 players as ipods.. Anyways, good luck.
Also, if you would've simply used the search feature here or on google, you would've gotten tons of info to look at. http://tinyurl.com/255q5dd

[Q] Is there a full detail guide to rom building?

Hey guy's (please don't flame me to bad still a little new to the forums) I have looked over many guides but they don't really go over Samsung mostly HTC. I have the source from Samsung for the 2.1-update-1 and have been looking at it but not sure what i am really looking at. If anyone can maybe shed some light on it...of course i could be just confusing myself and its simpler then i think. I have been reading a paper on how to build linux from scratch to get that understanding considering Android is linux in all reality...
Thanks ahead of time guys.
Not to be mean, but unless you understand the code, all you'll be doing is copying/pasting into terminal to get a build. Which isn't very useful if you are trying to learn something.
If you are actually looking at building the OS and manipulating the underlying code, go ahead and grab a C book. It'll take even an intelligent person a good deal of time to understand it all.
As far as putting some APKs into a zip file and calling it a rom, well there's tons of stuff on that laying around, most of that is scripting. If you get into rebuiling the APKs with Smalli - there is code involved there - but you will need to know how java works for it to make sense to you there...might as well learn that while your at it.
Well i know C++/C# and java (took them in college and currently use them for my job) so it shouldn't take too long..i guess i just need to dig into the code and go from there. I don't want to copy past thats definitely out of the question. Have any pointers where i should start and see if i can grasp this or just stick with using other custom rom's which in the end if thats what i do that's fine by me just wanted to get into it myself.
PS: didn't take what you said as mean lol any criticism or help is always appreciated.
^
What he said.
There are a bunch of mini-guides to teach you to copy and paste some stuff, but little in terms of a clear concise guide. I've been working on learning to do a rom myself, but I learned to program in C and Java on unix and linux machines in college. You're going to have to spend a lot of time reading and learning things that you won't be sure you'll ever really need to in order to do any meaningful dev work with that source.
Start using linux on a home machine. Start learning C. And pick up a book called "Advanced Programming in the Unix Environment" to begin to understand how the low level parts of a linux operating system work. Then you will be much better prepared to see how it all works together.
edit: Looks like we both replied at the same time. I guess you can ignore the above post.
lol, i will look into that book for sure though. I have been slowly getting back into linux i use to use it all the time then somethings i was working on and a few apps i was using i had to switch to mostly Microsoft and lost a lot of my Linux knowledge (which sucks) but i will start there thanks again!
I think if you are familiar with the code you are ready for what you want to do. Seeing as how you are reading htc development guides tells me your searching cause that's all that you can really find online. You dont know the steps to take to actually build that source your looking at. First thing is you need your development machine set up to build. I hope youve done that already if not, source.android.com will get you through that. You need the sdk and all that. Next you hook the phone up usb debugging and from within your android folder (mydroid) run extract.sh that willful the samsung files into your environment. From here it will be similar to the htc guides for building but you have the files in front of you to edit you just need to research the structure of linux and those files. Also you need to get familiar with building a kernela well to see how they interact. Good luck
Sent from my SPH-D700 using Tapatalk

[Q] Self Improvement - Where to start?

My wife is on a 2 month vacation and I'm about to have a lot of spare time....
I want to learn the android platform properly from the ground up.
I own a TF and an HTC HD2. I have already been through the learning curve of rooting, flashing ROMs, installing CWM, pushing and pulling files with ADB and setting permissions - but I've always done this by following instructions from other on threads here at XDA. I'm skilled with computing in general (particularly telephony, networking and web) but am pretty N00bish with Linux and currently suspect that Java is witchcraft.
I try really hard to look stuff up for myself instead of asking questions so please be nice because I'm not asking for a handout. There are so many threads on here and I don't know which are still relevant etc...
Can anyone please direct me to some resources for learning the real "nuts and bolts" of Android?
I have a couple of months to work really hard at this and then I will try and contribute as much back to the community as I can.
Read all of Googles documentation on Android if you wanna know about it. Read man pages and everything else if you wanna learn Linux.
eli.kennedy said:
My wife is on a 2 month vacation and I'm about to have a lot of spare time....
I want to learn the android platform properly from the ground up.
I own a TF and an HTC HD2. I have already been through the learning curve of rooting, flashing ROMs, installing CWM, pushing and pulling files with ADB and setting permissions - but I've always done this by following instructions from other on threads here at XDA. I'm skilled with computing in general (particularly telephony, networking and web) but am pretty N00bish with Linux and currently suspect that Java is witchcraft.
I try really hard to look stuff up for myself instead of asking questions so please be nice because I'm not asking for a handout. There are so many threads on here and I don't know which are still relevant etc...
Can anyone please direct me to some resources for learning the real "nuts and bolts" of Android?
I have a couple of months to work really hard at this and then I will try and contribute as much back to the community as I can.
Click to expand...
Click to collapse
Wow. You sound like me coming jumping into DOS back in the day. There are plenty of books available (and XDA of course) but ya know.....I learned more from screwing up my old IBM 8088 (orange display...yikes!) than almost anything else. Having the possibility of an expensive paperweight tends to REALLY motivate one to learn!
You're in the right place, IMO, for specific task-assistance. (If ONLY XDA existed in the early-mid 80's!) There's a wealth of information and tons of good people who were where you are now. Willing to pay it forward....search the forums and ask.
Reading...experimenting...reading....experimenting....and of course...BACKING UP are great tools and habits.
i had an old computer from work and installed Ubuntu on it to mess around with linux. I haven't tackled java yet, but that is on the agenda. Get familiar with the command line!

Starter Android Development Tutorials

Hello! I am a new comer into the world of Android Development, I do have a begginer to intermediate Java knowledge, but no Android Development knowledge.
I am asking you for some good tutorials I can use to help myself, preferably newer ones. I found a few, but all of them were 2-4 years old. And other thing I noticed at them is they all use Eclipse. Is it a big difference if I use IntelliJ, it's the IDE I'm most familiar with and I find going back to Eclipse very annoying.
I want to start developing Andoid application because I have a few cools ideas (or at least I think they're cool) for some applications, as well as games. But I don't want to rush right inot making the game or such, I have all the time in the world to learn how to properly develop Android applications.
Thanks for reading!
Hello RoPirate
You say you already find a few tutorials, could you share them please, I'm a beginner please thanks
Tutorial
The New Boston mainly, ando ther very bad and unclear ones.
Right now I found teamtreehouse.com it's paid, but they explain everything really nicely and good, and update the tutorials with new tools when they come out. They also have iOS developemnt, web development, web design, Python and lots of other nice tutorials.
If you decide to get a subscription there (had some doubts at first too, but I definitely do not regret buying the subscription) and want to help me out a bit you can sign up on my referal link (PM me if you want)
I want to chime in a recommend the Codepath Android Cliffnotes set of guides. It's well built, and very useful.

Categories

Resources