[PROGRAMMING] Learn C, Build a rom - Android Software/Hacking General [Developers Only]

Ever want to learn C? Want to build a rom too?? Well this thread will then be for you! I have combined learning C with building a rom in a small little program that is sent to github and well committed. The best part is, you the learner, will have the ability to submit additions you do to the program with your new C skills and have it published right here in this thread with your name! Cool right?
So first things first, you have to git clone the source
just run the command below
Code:
git clone git://github.com/simonsickle/build_helper.git
Now, learn C and have fun. There are tutorials here that are teaching C here on xda, and this provides real life working WARNING free examples. It shows you how make files work, linking objects with the linker to get one bianary (like the kernel) and how to make code available to other built in files. It also shows you how to use an include/ directory.
if you submit code, please post a patch here with the purpose (for learning purposes) this can be done by running
Code:
diff -rupN unchangedfoldername/ folderwithmychanges/ > mychange.patch
in turn, patches can be applied with
Code:
cd mycodedir/
patch -p1 < /location/of/patch/patchname.patch
Any suggestions are welcome, as well as all discussion. Eventually I want to teach you how to compile this code on the NDK and use a library to build ssh support in so you could ssh to a build server and run the scripts from your phone.

Wow this is a really nice idea, I hear from so many people who want to learn but get overwhelmed. This guides people over that hump. This is what the android community should be all about.
Sent from my ADR6425LVW using xda premium

Exactly the point. I want to encourage development as it is a passion in my life! Some guys love playing football, I love creating things from scratch. It is like an art to me, It comes from how i feel, what I want to do. What needs to be changed in the world. Coding can change everything in the world, with a simple language such as C or as complex as ASM. Without programmers, tinkers hackers, and passionate hobbiers where would the human race be? Back in the 50's with the cool cars that ran on led fuel. Now, lets go forward, and innovate with an open source license so no one can litigate

I will take a look at this Thanks.

im assuming this is only for use on linux machines and not windows?

Well you cant build a ROM in windows anyways. I was considering a ssh plugin but this is a boredom project i work on
Sent from my One V using Tapatalk 2

Synopsis said:
im assuming this is only for use on linux machines and not windows?
Click to expand...
Click to collapse
Most of the low-level programming is similar between Windows/Linux. It's when you get into GUI programming is when things get strange and complicated. But as the OP states, you cannot build Android on Windows. Hint: ( dual boot )
@OP
Thanks for the useful thread And that isn't Sevierville, TN is it?

Virtual os in windows works too if you like that route. Slower though.
And yes sevierville Tennessee. Or as out of Towner's call it seevervill
Sent from my One V using Tapatalk 2

simonsimons34 said:
Virtual os in windows works too if you like that route. Slower though.
And yes sevierville Tennessee. Or as out of Towner's call it seevervill
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
Next time you get online you'll see why I asked.

Ahh Knoxville. I was just through there when i went to ORNL. May be going to utk for a few years too
Sent from my One V using Tapatalk 2

simonsimons34 said:
Well you cant build a ROM in windows anyways. I was considering a ssh plugin but this is a boredom project i work on
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
Ok looks like I'm using my really bad laptop lol. I have raid 0 on my desktop and for some reason linux distros don't like it.
Sent from my SCH-I535 using xda app-developers app

Raid and Linux works fine. Sure it takes a little more setup but it should always be possible. I mean, Linux works in some toasters anyways you may want to try a good ole virtual box
Sent from my One V using Tapatalk 2

simonsimons34 said:
Raid and Linux works fine. Sure it takes a little more setup but it should always be possible. I mean, Linux works in some toasters anyways you may want to try a good ole virtual box
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
If I give you the error logs of the ubuntu install do you think you could help me out? In a pm of course. Dont wanna change the topic of your thread.
Sent from my SCH-I535 using xda app-developers app

Yeah post them here its relevant. When i have time, i enjoy helping others and the community publicly. This makes the community better
Sent from my One V using Tapatalk 2

simonsimons34 said:
Yeah post them here its relevant. When i have time, i enjoy helping others and the community publicly. This makes the community better
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
I haven't been able to get a hold of my desktop for a while. Caught up in school work but I will probably have those logs by Tuesday or Wednesday.
Sent from my SCH-I535 using xda app-developers app
---------- Post added at 10:00 PM ---------- Previous post was at 09:57 PM ----------
Also I have to ask. I've wanted to develop a graphics focused ROM. Are most of the graphics in a ROM pictures or code (as HTML can make pretty convincing graphics with text)? I'm a graphic designer and want to make a ROM no ones ever seen before. Not just a theme but a totally redesigned UI. Something revolutionary.
Sent from my SCH-I535 using xda app-developers app
---------- Post added at 10:24 PM ---------- Previous post was at 10:00 PM ----------
OK so I found a tutorial on YouTube surrounding the jist of the problem... Its a tutorial on how to install Ubuntu on a raid 0 array... According to this video I need to have 2 hard drives. Is there a way I can just partition? I don't have 2 hard drives unfortunately and I don't wanna result to using my really slow laptop lol. Although I could probably just take a hard drive it of one of my older computers and put it in one of my other bays.
Here's the tutorial: http://www.youtube.com/watch?v=-x2rZe2Z9as&feature=youtube_gdata_player
Sent from my SCH-I535 using xda app-developers app

Raid is two drives though. Or should be.
Graphics in a ROM are image in fora of .PNG
Sent from my One V using Tapatalk 2

simonsimons34 said:
Raid is two drives though. Or should be.
Graphics in a ROM are image in fora of .PNG
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
I have raid 0 array with 1 hard drive. I think it has something to do with my chip set. Yeah... My computers all screwed up. Contemplating completely rebuilding it.
Sent from my SCH-I535 using xda app-developers app

simonsimons34 said:
Raid is two drives though. Or should be.
Graphics in a ROM are image in fora of .PNG
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
Got another HDD... Should I turn off raid?
Sent from my SCH-I535 using xda app-developers app

Well really in my experience unless they are ssd the advantage during a build isn't as great as it could be.
Sent from my One V using Tapatalk 2

simonsimons34 said:
Well really in my experience unless they are ssd the advantage during a build isn't as great as it could be.
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
Hey bro... it says the repository couldn't be found :/. Got Ubuntu installed. And have git.
Sent from my SCH-I535 using xda app-developers app

Related

[Q] HELP!!! Tutorials On Application Development

So I want to make an app but have NO experience...are there any tutorials? I want to make simple and advanced apps(maybe for some extra cash? Lol) any help?
Sent from my DROIDX using Tapatalk
Why don't you go to the official android developers page?
Xda app
Not everyone knows how to find the pages they need. Perhaps provide a link? I assume he hasn't come across that yet since he's asking.
Sent from my Incredible using XDA App
http://developer.android.com/index.html here you go
Xda app
TheRedDrake said:
http://developer.android.com/index.html here you go
Xda app
Click to expand...
Click to collapse
Thank you, I will start there. I knew about it but not exactly where it was..also if there are other tutorials out there I would be more than happy to have them thanks
Sent from my DROIDX using Tapatalk
Are there any shorter guides or maybe easier way to go through I am overwhelmed with all of this info
Sent from my DROIDX using Tapatalk
tycoon177 said:
Are there any shorter guides or maybe easier way to go through I am overwhelmed with all of this info
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
Programming is always hard. I suggest starting with a simple app that has 3 screens and a couple of buttons for interaction and maybe some images.
Xda app
Do you have any suggestions for staring apps for this
Sent from my DROIDX using Tapatalk
Anyone?
Sent from my DROIDX using Tapatalk
tycoon177 said:
Anyone?
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
First of all, do you know how to write in Java? Because none of the tutorials I have found include that part. You will find it very hard if you don't! Pick up a book on Java, and read all the way through it first. I found books better than online for some reason. It doesn't matter if the book is a few years old, many of the concepts will be the same.
Then find some beginning tutorials for developing Android apps. I've found a few, and I will update this if I find any more, but here are some:
http://hackaday.com/2010/07/12/android-development-101-–-a-tutorial-series/
http://www.vogella.de/articles/Android/article.html
http://androidwizard.net/ -- Make sure you have a look at the beginner ones first, because there are many tutorials here.
Then if you require more detail, move on to the info at developer.android.com/ as it is more advanced (well its aimed at users who already know a bit).
I would also learn just some basics on how a program flows. It is essential since most programmers know several languages or are able to know how to read code without knowing the syntax. After you get the basics down, look through all the examples given with the SDK and see if you understand it. Hope that helps. Good luck!
Sent from my SAMSUNG-SGH-I897 using XDA App
Do you have a suggestion for the type of java for the book? I am using eclipse
Sent from my DROIDX using Tapatalk
Anyone
Sent from my DROIDX using Tapatalk
I read "Sams Teach Yourself Android Application Development in 24 Hours". It was pretty cheap and they also have a java one. It was a nice start, pretty good explanation of code and space out each part so not overwhelmed.
Sent from my GT-I9000 using XDA App
Should I read the java one first? And where would I get this book? Im just wanting to learn this.
Sent from my DROIDX using Tapatalk
I only read the android one. I would say read the android one and if you are lost after the second or third chapter, read it again (they are short) and if still not understanding then get the java one. It all depends on you're background and current knowledge...also remember Google is you're friend for words/statements that you don't recognize. Hope that helps, and.you can get book at barnes and noble or borders. It seems to be a common book.
//Excuse all typos as I am most
//likely sending from phone
Thank you I will look into getting that book
Sent from my DROIDX using Tapatalk
I got the android one and might have to get the java one after looking at this
Sent from my DROIDX using Tapatalk
Anything you don't understand you can just ask questions about and and we all can try to explain it in better terms for you.
//Excuse all typos as I am most
//likely sending from phone
realhades said:
Anything you don't understand you can just ask questions about and and we all can try to explain it in better terms for you.
//Excuse all typos as I am most
//likely sending from phone
Click to expand...
Click to collapse
Thank you
Sent from my DROIDX using Tapatalk

How would one learn to create software

I am interested i n learning how to create software for my phone I have a Samsung vibrant anybody who can offer any help I will accept it openly
Sent from my SGH-T959 using xda app-developers app
Hello I'm in the same boat. I was told to practice JavaScript and HTML. Believe me I've spent all day reading and searching and I have a head ache
Sent from my Sensation using xda app-developers app
Development for Android is done mostly in Java. It is very simple programming language, after a few weeks of practice you should be good at it. Here you have a tutorial on how to create first Application: http://developer.android.com/training/basics/firstapp/index.html
miki100 said:
Development for Android is done mostly in Java. It is very simple programming language, after a few weeks of practice you should be good at it. Here you have a tutorial on how to create first Application: http://developer.android.com/training/basics/firstapp/index.html
Click to expand...
Click to collapse
Not applications I'm talking a about things like roms
Sent from my SGH-T959 using xda app-developers app
The New Boston
The new boston has a 200 video series on android application development. It's a little bit dated but if you go to http://thenewboston.org/index.php. It shows you specifically how to develop for android 2.2 (froyo). that being said most (if not all) of those applications should fun just fine on any OS 2.2 and above.
The main things is that you are using the API level from 2.2 so unless you change it later on you won't be able to use newer features. BUT... it can take someone from 'eeerrr I think this be mah keyburd' to 'Yeah, i just wrote and android app and put it on the market. BYAAAH!!!'.
Definitely worth checking out. I checked it out and when they came out they were cuttign edge pretty much (like a year ago lol).
Once again http://thenewboston.org/index.php
---------- Post added at 09:42 AM ---------- Previous post was at 09:32 AM ----------
HA... I just realized that you said ROMS. well that is a completely different story... that is really trial and error until you figure out how everything works.
If you aren't running on ubuntu then download virtual box:
https://www.virtualbox.org/wiki/Downloads
Once you have that the EASIEST way to get started is to download the ISO for ubuntu 10.04:
http://releases.ubuntu.com/lucid/
Once you have created the Virtual machine with ubuntu 10.04(simply because it is the best for development):
http://www.youtube.com/watch?v=jC6jSiGSbUE
Then I recommend to get your environment setup you follow the instruction at the below site:
http://www.freeyourandroid.com/guide/compile-ics
Now that I actually read what you were askign for and am not a complete tard... hope this helps.
I looked it up and it also gave me a link on how to set up Ubuntu. So my next question is, where do you get source codes? I myself have a vibrant so of course it doesn't get source code updates although I know that some ports are from the gnex
Sent from my SGH-T959 using xda app-developers app
Is it fairly easy to pick up then? I program in a language called SAS and I have done bits of Java and VB in the past.
LeChuck85 said:
Is it fairly easy to pick up then? I program in a language called SAS and I have done bits of Java and VB in the past.
Click to expand...
Click to collapse
That's what I'm trying to figure out I haven't done programming but I usually pick up quick on tgings I would ask a dev for my service but they have a lot on their plate as it is
Sent from my SGH-T959 using xda app-developers app
sounds like xda veterans should compile an Android rom "how to for dumb dumbs" e book and put it for sale in the play store and on Amazon self publishing. you'd probably make a fair amount for yourselves and the site, depending on how you went about it; problem is I think all forums on this site would then be totally flooded with repeats, duplicate functions mods, crap roms, and just generally bring the average level of code down to hella-sloppy levels. yikes, pick your poison
I understand that serving requires a lot of time butnim serious about this. Not o my that my friend has an lg lucid and I have other people who would like development for that pho e which I would help with hopefully
Sent from my SGH-T959 using xda app-developers app
I understand that deving requires a lot of time butnim serious about this. Not o my that my friend has an lg lucid and I have other people who would like development for that pho e which I would help with hopefully
Sent from my SGH-T959 using xda app-developers app
skinzy98 said:
Not applications I'm talking a about things like roms
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
roms are also largely in java (or davlik, anyway)
You can start by compiling something like CM10 (not an easy task, I might add).
Most devs begin because there's something they are itching to have but that doesn't exist. Once you've successfully compiled, you can start tweaking these things in.
is there no how-to guide somewhere for your-first-compiling and what-files-do post for dummies somewhere?
Sent from my EVO using xda app-developers app
wlpywd said:
is there no how-to guide somewhere for your-first-compiling and what-files-do post for dummies somewhere?
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Yes I did recently find one in the vibrant forum on how to setup and compile using Ubuntu
Sent from my SGH-T959 using xda app-developers app
thanks
Sent from my EVO using xda app-developers app

[DEV] RIL

Hi. I'm xboxfanj, a developer from over at the epic forums at xda and I think I know how the charge and the stratosphere can fix ril (fix data, call, text) on CM ROMs. Your device has the same cdma chipset as the Galaxy Nexus, which means that we should be able to hack the kernel and ramdisk to support their radios and ril files in system. I did something similar (along with bbelos) on the Epic with the Nexus S 4G radios. I don't have a stratosphere or a charge, so I would need testers and helpful developers. Assuming the galaxy nexus and stratosphere kernel sources are similar to the epic's and Nexus S 4G's, the modem control files will be in drivers/misc/samsung_modemctl in the kernel sources. Then we will have to add the correct lines to kconfigs, makefiles, and defconfigs to enable it to build. Then, we will need to add some permissions in the ueventd files to let the modem files have the correct permissions. And we will have to get rid of some things in init.device.rc. then all we'll need to do is change build.prop to use the correct ril, and throw the files in.
Sent from my SPH-D700 using Tapatalk 2
Sent from my SPH-D700 using Tapatalk 2
I'd be glad to help. I haven't really done any android development but I'm a comp sci student and I know Java and C. I've got some experience with the android SDK and tools.
Have you gotten in touch with JT1134?
duuurp said:
I'd be glad to help. I haven't really done any android development but I'm a comp sci student and I know Java and C. I've got some experience with the android SDK and tools.
Have you gotten in touch with JT1134?
Click to expand...
Click to collapse
Thanks. Gtalk me at [email protected] and we can start on it.
Edit: and I haven't talked to jt about this.
Sent from my SPH-D700 using Tapatalk 2
One more thing, apparently the Galaxy Nexus uses a slightly different LTE chip (you guys use the CMC220, they use the 221), so I'm not sure if LTE will work or not once we get this going. And the kernel drivers for radio/modem are in drivers/misc/modem_if in the Galaxy Nexus. The Charge ones are in drivers/misc/samsung_modemctl, so I guess those won't be needed, and we'll have to change all the config files to not use modemctl and use modem_if instead.
You NEED to get a hold of JT1134. He has ported CM9 and CM10 to us, but the only thing he could get to work on the radio side was calls and sms. No data (not even mms). Those builds can be found at RootzWiki (or his github if you know it).
I'd help, but I was a LAZY compsci II student.
Sent from my SCH-I510 using xda premium
kvswim said:
You NEED to get a hold of JT1134. He has ported CM9 and CM10 to us, but the only thing he could get to work on the radio side was calls and sms. No data (not even mms). Those builds can be found at RootzWiki (or his github if you know it).
I'd help, but I was a LAZY compsci II student.
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
Yeah, I PMed him after duuurp mentioned him.
http://bit.ly/OSSIIp
There's his thread. The CM10 build is one of the last posts. His source is also in the OP.
You may want to hop on IRC too. It's where all the cool kids are. chat.andirc.net #charge
Sent from my SCH-I510 using xda premium
A seed has been planted in our malnourished soil!
Hope this gets somewhere promising. Nice to see people still supporting our small community
Sent from my Galaxy Nexus using Tapatalk 2
Jt says its impossible... that's unfortunate.
Sent from my SPH-D700 using Tapatalk 2
xboxfanj said:
Jt says its impossible... that's unfortunate.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
which, ICS or JB (or both)?
in any event, welcome to the community, hope you are able to stay around for awhile. we always enjoy having more experienced folks around (especially developers).
i think right now, most charge owners would be happy with a custom FP5 kernel. currently, IMNUTS is working on this (despite him no longer having the Charge), so you might want to get in touch with him on any additional insight.
jco23 said:
which, ICS or JB (or both)?
in any event, welcome to the community, hope you are able to stay around for awhile. we always enjoy having more experienced folks around (especially developers).
i think right now, most charge owners would be happy with a custom FP5 kernel. currently, IMNUTS is working on this (despite him no longer having the Charge), so you might want to get in touch with him on any additional insight.
Click to expand...
Click to collapse
Just the ril idea. Apparently despite having the same chip, it is wired differently. On the charge and stratosphere, it is connected by dpram, but on nexus it is connected by usb.
Sent from my SPH-D700 using Tapatalk 2
xboxfanj said:
Just the ril idea. Apparently despite having the same chip, it is wired differently. On the charge and stratosphere, it is connected by dpram, but on nexus it is connected by usb.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
For those who don't know:
http://en.m.wikipedia.org/wiki/Dual-ported_RAM
That's really interesting that it would be connected like that. I didn't know you could use a RAM interface as an IO device.
Any chance you could still get it to work?
Sent from my SCH-I510 using xda premium
kvswim said:
For those who don't know:
http://en.m.wikipedia.org/wiki/Dual-ported_RAM
That's really interesting that it would be connected like that. I didn't know you could use a RAM interface as an IO device.
Any chance you could still get it to work?
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
JT would know better than I would. But that doesn't mean we can't do anything. We can still hack the framework though.
xboxfanj said:
JT would know better than I would. But that doesn't mean we can't do anything. We can still hack the framework though.
Click to expand...
Click to collapse
What will that do exactly?
Sent from my SCH-I510 using xda premium
---------- Post added at 08:59 PM ---------- Previous post was at 08:40 PM ----------
Is it actual DPRAM or something more like memory mapped IO?
Sent from my SCH-I510 using xda premium
kvswim said:
What will that do exactly?
Sent from my SCH-I510 using xda premium
---------- Post added at 08:59 PM ---------- Previous post was at 08:40 PM ----------
Is it actual DPRAM or something more like memory mapped IO?
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
Hacking framework could fix data.
Sent from my SPH-D700 using Tapatalk 2
xboxfanj said:
Hacking framework could fix data.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
Then have at it.
Sent from my SCH-I510 using xda premium
First off, if you somehow manage to get this shizz running, I will sacrifice several dozen virgins, goats, or windows ME-based computers, or any combination thereof of your choosing to the cell phone Gods. I know absolutely ****all about programming and so on but if you need a man with a charge willing to install whatever diabolical software concoctions you may dare to conjure up, then ****, I'm your huckleberry.
Email me if/when you need anything, [email protected]
xboxfanj said:
Hacking framework could fix data.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
let us know how it goes - we'll be ready and willing to test. this is also a very giving community, so be sure to setup your "donation" link...
jco23 said:
let us know how it goes - we'll be ready and willing to test. this is also a very giving community, so be sure to setup your "donation" link...
Click to expand...
Click to collapse
1+ THIS! I DEFINITELY would donate some real cash if the ril gets hacked!
Charged withTweaked 3.0b & TrICS5.0
ijustdontcare said:
1+ THIS! I DEFINITELY would donate some real cash if the ril gets hacked!
Charged withTweaked 3.0b & TrICS5.0
Click to expand...
Click to collapse
I will try. Unfortunately, I don't know java or smali code, which are what the framework files are written in. I guess I will just have to see how the other implementations work and try to mirror those if you will.

Guess this isn't the time for making ROMs.

I wanted to started out making my own ROMs and it seems that everything is getting switched over for 4.2. Now I have limited programming skills and kinda bums me out I can't make any at this point. I might be posting in the wrong section.
Sent from my One X using xda app-developers app
Yea I'm in the same boat, on top of me having a computer that can't quite handle the task.. just give it a go anyway man. It'll be awhile before the 4.2 ROMs turn into daily drivers I believe
Sent from my HTC One X using Tapatalk 2
I almost got pa 2.99 to build but it had a error 41. It has something to do with the the Bluetooth. Such a shame that they don't keep the old repos for old builds.
Sent from my One X using xda app-developers app
Keep at it. If you need a Guinea pig I'm fair game lol
Sent from my HTC One X using Tapatalk 2
If I get one to build lol. I've been working closely with a friend of mine which has been a big help. I keep annoying him with questions.
Sent from my One X using xda app-developers app
I've been doing the same. About to drop the wallet on a beefy computer.. theres a few guys here that have been a huge help for me too.. I can't see what you come out with! Good luck man
Sent from my HTC One X using Tapatalk 2
Good good. If you want I have a old dual core amd64 you can have. Its not bad I just didn't finish it lol
Sent from my One X using xda app-developers app
If you want as well hit me up on gtalk. Maybe two heads are better than one lol.
Sent from my One X using xda app-developers app
Sounds good bro, look me up my stuff is [email protected]
Take a look in the general forum at the introductions, a guy with a team looking for a designer and a source builder may be your big shot
Sent from my HTC One X using Tapatalk 2
InflatedTitan said:
Sounds good bro, look me up my stuff is [email protected]
Take a look in the general forum at the introductions, a guy with a team looking for a designer and a source builder may be your big shot
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
OK sounds good man. I'm just an apprentice to this stuff. I'll go check it out but, me not the best at these things lol. Gets better with time.
Sent from my One X using xda app-developers app
InflatedTitan said:
I've been doing the same. About to drop the wallet on a beefy computer.. theres a few guys here that have been a huge help for me too.. I can't see what you come out with! Good luck man
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Get an Intel!
OP,
If you want to start with ROMs, I would suggest either learning C and then compiling stuff from source, or work on porting ROMs and fixing bugs. Either one is good. Source building will be harder if you have no prior experience in C programming
spirusthedj said:
I almost got pa 2.99 to build but it had a error 41. It has something to do with the the Bluetooth. Such a shame that they don't keep the old repos for old builds.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
You can grab all the old PA repos from here:
https://github.com/Utacka
Fork it and create your own PA repos with the correct manifest and name tracking.
rohan32 said:
You can grab all the old PA repos from here:
https://github.com/Utacka
Fork it and create your own PA repos with the correct manifest and name tracking.
Click to expand...
Click to collapse
Thanks rohan.
Sent from my One X using xda app-developers app
absolutelygrim said:
Get an Intel!
OP,
If you want to start with ROMs, I would suggest either learning C and then compiling stuff from source, or work on porting ROMs and fixing bugs. Either one is good. Source building will be harder if you have no prior experience in C programming
Click to expand...
Click to collapse
As I take your suggestion. Something is drawing me to compile a ROM. I need a challenge lol. I'm figuring it as I go along.
Sent from my One X using xda app-developers app

(GIVE UP) Looking to break out in kernel building

Hey guys... I'm still itching to get in the heart of development. So beings I'm limited on computer hardware, I want to take baby steps and try to pump out a couple kernels... Now my computer is 32 bit. I've read numerous threads, articles and how tos about kernel building, there are definitely a few that build on 32 bit..
I am dual booting windows XP and Ubuntu 12.10.. I've installed the SDK, JDK, and NDK.. Also have the OneXL kernel source downloaded ready to roll.
I guess my question is, is there anyone willing to mentor me and show me a bit on how its done? The tutorials are fairly vague, and most are missing crucial starting points for beginners in Ubuntu. I'm willing to do team viewer, gtalk, hell even messaging and calls. I want to build an aosp kernel and a sense kernel..
So Im begging the community for someone to step up and and help a fella out
Sent from my One X using Tapatalk 2
InflatedTitan said:
Hey guys... I'm still itching to get in the heart of development. So beings I'm limited on computer hardware, I want to take baby steps and try to pump out a couple kernels... Now my computer is 32 bit. I've read numerous threads, articles and how tos about kernel building, there are definitely a few that build on 32 bit..
I am dual booting windows XP and Ubuntu 12.10.. I've installed the SDK, JDK, and NDK.. Also have the OneXL kernel source downloaded ready to roll.
I guess my question is, is there anyone willing to mentor me and show me a bit on how its done? The tutorials are fairly vague, and most are missing crucial starting points for beginners in Ubuntu. I'm willing to do team viewer, gtalk, hell even messaging and calls. I want to build an aosp kernel and a sense kernel..
So Im begging the community for someone to step up and and help a fella out
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Good luck mate - hope someone gives you a hand. Great that you want to do stuff for the rest of us here.
InflatedTitan said:
Hey guys... I'm still itching to get in the heart of development. So beings I'm limited on computer hardware, I want to take baby steps and try to pump out a couple kernels... Now my computer is 32 bit. I've read numerous threads, articles and how tos about kernel building, there are definitely a few that build on 32 bit..
I am dual booting windows XP and Ubuntu 12.10.. I've installed the SDK, JDK, and NDK.. Also have the OneXL kernel source downloaded ready to roll.
I guess my question is, is there anyone willing to mentor me and show me a bit on how its done? The tutorials are fairly vague, and most are missing crucial starting points for beginners in Ubuntu. I'm willing to do team viewer, gtalk, hell even messaging and calls. I want to build an aosp kernel and a sense kernel..
So Im begging the community for someone to step up and and help a fella out
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
I'm not sure how long it'll take you to find someone, I'm no de but while you're waiting. Maybe pickup a Linux book. Coding helps too. Specifically c since you get more control at the hardware level.
Sent from my HTC One X using xda app-developers app
Oh well... I guess I'll just teach myself.
Sent from my One X using Tapatalk 2
InflatedTitan said:
Oh well... I guess I'll just teach myself.
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
I would start first by sending some kernel devs like flar2 or Zarboz a pm asking them for some of the most critical pointers or tips anyway.
Sent from Xparent Red using my Venomized Evita
I've been using xda university and they have a lot of good links for free online schools for c and c+,++
Ya we are fortunate to have guys like flar2 and others who are very helpful. I think they are always looking for beta testers as well.
Sent from my HTC One X using xda premium
InflatedTitan said:
Hey guys... I'm still itching to get in the heart of development. So beings I'm limited on computer hardware, I want to take baby steps and try to pump out a couple kernels... Now my computer is 32 bit. I've read numerous threads, articles and how tos about kernel building, there are definitely a few that build on 32 bit..
I am dual booting windows XP and Ubuntu 12.10.. I've installed the SDK, JDK, and NDK.. Also have the OneXL kernel source downloaded ready to roll.
I guess my question is, is there anyone willing to mentor me and show me a bit on how its done? The tutorials are fairly vague, and most are missing crucial starting points for beginners in Ubuntu. I'm willing to do team viewer, gtalk, hell even messaging and calls. I want to build an aosp kernel and a sense kernel..
So Im begging the community for someone to step up and and help a fella out
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
I am currently learning C/C++ at the moment... if you want to swap resources that you find, would love to do that
I'd really love to be able to develop as well but I've hit the same road blocks you have as well....
Picked up java and c++ a few months back. Would love to help out. Ooh, maybe we can start a team....toobearly? I have a 64bit PC running Linux mint
Sent from my Carbon-ize Evita using xda-developers app
If you just want to build a kernel, check out my guide here:
http://forum.xda-developers.com/showthread.php?t=1847344
If you have any questions about those steps, feel free to shoot me a PM or join in IRC chat (channel #cyanogenmod-evita on webchat.freenode.net). Just mention my username (rohan32) and I'll be pinged to come help out
If you are talking more about customizing kernels, feel free to shoot me a message about that too. I don't know as much as I'd like to but i can definitely help you out whenever im free with anything you have questions about regarding android or whatever.
And that goes for anyone... I'm always willing to help anyone who wants to learn how to get started. I myself was in your same shoes only a year back, and not trying to sound pretentious, but look at me now compared to where i was just a year ago. I consider myself pretty knowledgable about most stuff for the most part and I didn't have anyone to teach me regularly, so imagine what you can do with someone who can I know how it feels to be in your shoes, and I'd love to help you guys out since I know how it feels like a struggle to you
Wow rohan! That is freaking awesome! Thanks! Nice talking to you on irc as well
Sent from my Carbon-ize Evita using xda-developers app
Rohan this is awesome... I've been searching xda and Google and I must say your guide is probably the most detailed... I appreciate it more than you know...
As my original post had stated, I'm extremely limited because of my computer... (The wife won't let me do phone tasks on the laptop lol)
So I've seen a few pages using 32 bit to compile ROMs and kernels... I know mine won't do Roms, I know it'll probably melt the processor lol.... But I should be able to at least compile a kernel with 32 bit? Are the commands the same or would I have to do something different? I'm having trouble just getting started... Terminal in ubuntu is a bit trickier than windows and I can't seem to get the paths right even to my home folder... FML lol...
Sent from my One X using Tapatalk 2
InflatedTitan said:
Rohan this is awesome... I've been searching xda and Google and I must say your guide is probably the most detailed... I appreciate it more than you know...
As my original post had stated, I'm extremely limited because of my computer... (The wife won't let me do phone tasks on the laptop lol)
So I've seen a few pages using 32 bit to compile ROMs and kernels... I know mine won't do Roms, I know it'll probably melt the processor lol.... But I should be able to at least compile a kernel with 32 bit? Are the commands the same or would I have to do something different? I'm having trouble just getting started... Terminal in ubuntu is a bit trickier than windows and I can't seem to get the paths right even to my home folder... FML lol...
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Lol I know what you mean, I'm not a big ubuntu fan on its new version, good thing is with linux there is so many diff os built around same tools. I like using Mint instead of ubuntu , what's tricky is all the different packs to unload
Sent from my HTC One X using xda premium
Uh so I'm getting this pretty much can't be done unless your running some distro of linux??
Sent from Xparent Red using my Venomized Evita
Since android is linux based I think most devs use some sort of linux. A lot of these devs are like coding genius.
Sent from my HTC One X using xda premium
So I think the first step for me would be making myself at home in linux...something I would not find too easy to do.
Sent from Xparent Red using my Venomized Evita
ImagioX1 said:
So I think the first step for me would be making myself at home in linux...something I would not find too easy to do.
Sent from Xparent Red using my Venomized Evita
Click to expand...
Click to collapse
Well, you could do what I did. Grab a distro, and get acustom to it. I prefer it over Windows now. I only use Windows when I need to use certain windows application. But most of the time I can use Wine (windows emulator in linux). I use linux mint, which is based off of ubuntu and uses the debian system. Fedora is another good. I suggest trying out different distrso by doing the live usb run. If you like it, partition your drive and dual boot windows...it is really simple
I just got ubuntu all setup in vmware. Ready to go now.
Sent from Xparent Red using my Venomized Evita
Hmm I could be wrong but I don't think vmware works well with the process. I know to use jet downgrade tool you have to be running it solo. I think you can install it in windows but I do believe you have to boot into it vs vmware. Now you got me curious , I'm gonna try a couple things .
Sent from my HTC One X using xda premium
DESERT.TECH said:
Hmm I could be wrong but I don't think vmware works well with the process. I know to use jet downgrade tool you have to be running it solo. I think you can install it in windows but I do believe you have to boot into it vs vmware. Now you got me curious , I'm gonna try a couple things .
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I don't see why a vm would be a problem but if so, can always boot usb with persistent storage
Sent from my One X using xda app-developers app
DESERT.TECH said:
Hmm I could be wrong but I don't think vmware works well with the process. I know to use jet downgrade tool you have to be running it solo. I think you can install it in windows but I do believe you have to boot into it vs vmware. Now you got me curious , I'm gonna try a couple things .
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I remember something to that effect in the jet thread myself, but I understood it have to do with having to connect to the phone. But I don't see a problem when it comes to compiling a kernel and such.
Sent from Xparent Red using my Venomized Evita

Categories

Resources