[Noob] How to compile a rom NS4G - General Topics

Hey I'm new to alot of things and I was just wondering if theres anyone out there that can help on compiling a rom... What do I need...should I be familiar with code or anything... I'm new and not saavy with code but I'm pretty good around a computer and instructions...Help Please!

http://lmgtfy.com/?q=Android+compile+a+rom
Sent from my GT-I9100 using xda app-developers app

there are many different places to learn. Such as...
http://forum.xda-developers.com/showthread.php?t=1762641
http://forum.xda-developers.com/showthread.php?p=26283930
and an older one, but still useful
http://forums.androidcentral.com/hacking/144804-how-compile-ics-aosp-4-0-3-xoom-gnex-nexus-s.html
The hardest part is getting Java to run correctly. I suggest going to sun's website and downloading JDK 6 from there instead of trying to install it from apt-get. Terminal installing open jdk is easier, but it was more likely to work for me when I used the sun file from their website.
http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html

Tuner420 said:
http://lmgtfy.com/?q=Android+compile+a+rom
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Lol. Love the lil gif ! Imma start using that for sure. I tell 10 people a day to googleit !
Sent from my SAMSUNG-SGH-I717 using xda premium

Related

[Q] Help with general development

I would like to start helping with development. I'm getting pretty good with messing around with android. I work for T-Mobile and I've had android since the G1.
I'd like to start contributing to the family.
So my question is pretty open. Where should I start for learning about android development? Any advice and help would be appreciated.
Sent from my SGH-T959V using XDA Premium App
Perhaps I should ask in a general forum. Maybe this isn't the correct place to ask.
Sent from my SGH-T959V using XDA Premium App
stevekixs said:
I would like to start helping with development. I'm getting pretty good with messing around with android. I work for T-Mobile and I've had android since the G1.
I'd like to start contributing to the family.
So my question is pretty open. Where should I start for learning about android development? Any advice and help would be appreciated.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
What would I need to do if I was to trade this sgs4g for a LG g2x? Trading with a friend not at the store.would we just swap sim cards or what? Reason I'm asking is cause u said u work 4 T-Mobile. Just want to know what I would need to do to put it on my plan and give him mine. Any help is appreciated.
Sent from my SGH-T959V using XDA Premium App
You can swap Sims. That's all you need to do. However the warranty will be under him still. If you have insurance, it will cover the G2x. But you wont have the warranty.
Sent from my SGH-T959V using XDA Premium App
...back on topic...:-D Dude, im interested as well. Ive done a couple of mods, but nothing really of substance.
Sent from my SGH-T959V using XDA Premium App
stevekixs said:
You can swap Sims. That's all you need to do. However the warranty will be under him still. If you have insurance, it will cover the G2x. But you wont have the warranty.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Thank you. Not sure if im gonna trade but wanted to make sure it would work if I did. Again thanks.
Sent from my SGH-T959V using XDA Premium App
http://forum.xda-developers.com/showthread.php?p=8794486
[Guide] Learning To Theme: Putting the tools to use pt. 1
Sent from my SGH-T959V using XDA Premium App
robbbbit said:
http://forum.xda-developers.com/showthread.php?p=8794486
[Guide] Learning To Theme: Putting the tools to use pt. 1
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Thanks.
I'm also going to look into putting together roms
Sent from my SGH-T959V using XDA Premium App
i need to learn about this too, if you find some guide for making roms please post it here
found something to make roms: http://forum.xda-developers.com/showthread.php?t=327203
what type of rom are you trying to make? if you need any help let me know and ill see what i can do
DEV
rickyc19 said:
found something to make roms: http://forum.xda-developers.com/showthread.php?t=327203
what type of rom are you trying to make? if you need any help let me know and ill see what i can do
Click to expand...
Click to collapse
I'm starting as of today to make the first ROM for the sgs4g. Others might be ahead of me... ( I hope!)
What if we got together and rocked it out?
more to come...
well i could try to learn and i could help out, but i have school so be aware that i wont be available 24/7, also i was wondering what you are trying to make? If you need any help just pm me and ill see what i can do
robbbbit said:
I'm starting as of today to make the first ROM for the sgs4g. Others might be ahead of me... ( I hope!)
What if we got together and rocked it out?
more to come...
Click to expand...
Click to collapse
I would love to help somehow, I have the time. Even if it's only testing...If you need help Im your guy!
anti-up said:
I would love to help somehow, I have the time. Even if it's only testing...If you need help Im your guy!
Click to expand...
Click to collapse
Will need testers tomorrow. Attempting to port.
Sent from my SGH-T959V using XDA Premium App
robbbbit said:
Will need testers tomorrow. Attempting to port.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Hope it all works out. I would like to see more for this device. Would contribute but I don't have fulltime access to a computer.
Sent from my SGH-T959V using XDA Premium App
robbbbit said:
Will need testers tomorrow. Attempting to port.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Great! Looking forward to it
Sent from my SGH-T959V using XDA Premium App
robbbbit said:
http://forum.xda-developers.com/showthread.php?p=8794486
[Guide] Learning To Theme: Putting the tools to use pt. 1
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
This guide is for another mobile operating system -- not Android.
stevekixs said:
I would like to start helping with development. I'm getting pretty good with messing around with android. I work for T-Mobile and I've had android since the G1.
I'd like to start contributing to the family.
So my question is pretty open. Where should I start for learning about android development? Any advice and help would be appreciated.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
@stevekixs, I am with you... I'm looking to help anyone who is currently on this path. I keep reading how we need more devs for the SGS4G. If you find a project which is needing help, let me know, please.
[email protected] said:
This guide is for another mobile operating system -- not Android.
@stevekixs, I am with you... I'm looking to help anyone who is currently on this path. I keep reading how we need more devs for the SGS4G. If you find a project which is needing help, let me know, please.
Click to expand...
Click to collapse
Check your link, gecko. Its written for the epic 4g. Android, last time i checked. I had another link posted for roms and it was for something else. If i find it ill change it. Werd? Werd.
Sent from my SGH-T959V using XDA Premium App
My bad... I got the links confused... I clicked on a link and was sent to a page about a Windows Mobile device...
I apologize for the mistake.
[email protected] said:
My bad... I got the links confused... I clicked on a link and was sent to a page about a Windows Mobile device...
I apologize for the mistake.
Click to expand...
Click to collapse
Its all pot gravy, son. :-D
Sent from my SGH-T959V using XDA Premium App

Creating APKs

I need to create an APK that simply is a web browser that's locked.to just my website anyone have any idea how to do it easily and save it as an APK? Please help thanks
Sent from my Nexus One using XDA
Hello.
First, you must install Eclipse with the ADT plugins, in the latest version, it will install the android SDK for you. So, you will have all you need in order to start.
Next, you will have to code in Java.
You can look at tutorialforandroid.com, there is a tuto for what you want (sorry, I cannot post direct link because I'm a "newbie" here).
Good luck
not a problem thanks ever so much
Sent from my Nexus One using xda premium
You're welcome
You may be particulary interested by this tuto:
http://www.tutorialforandroid.com/2009/02/webview-with-zoomcontrols-in-android.html
(yes, I can post link now )
Otherwise look in google for "android webview".
If you want, I can build it for you, just give me the URL and your icon, it's a 5 minutes job
Wow sure thanks dude! My URL is: www.silverbeanandroid.co.uk
And what format should my icon be? Thanks alot
Sent from my Nexus One using xda premium
This is my icon. If you could take away the white background that would be great (I'm a bit of a noob) but if not its ok. Thanks
Sent from my Nexus One using xda premium
Here it is.
Sources and APK.
The code was inspired by these tutos:
http://developer.android.com/resources/tutorials/views/hello-webview.html
http://www.tutorialforandroid.com/2009/02/webview-with-zoomcontrols-in-android.html
Enjoy
thanks very very very very much mate ill be sure to put your name as the develper on my site! Would u like it to say by tux family or your real name
Sent from my Nexus One using xda premium
oh and do u think u might know where I can find a simple tutorial video on how to do it? I'm a BIG noob
Sent from my Nexus One using xda premium
moose.splash1 said:
Would u like it to say by tux family or your real name
Click to expand...
Click to collapse
You can say "tuxfamily" from xda dev, it's okay
About Eclipse, install Helios
http://www.eclipse.org/helios/
and next, the ADT plugin
http://developer.android.com/sdk/eclipse-adt.html
Once it have installed the latest SDK, create a new Android Project and choose to create project from existing source, and provide the path where you unzip the provided sources.
It's not so hard at it seems, don't worry.
OK thanks how do I create an android project? And if I was to use your source is there a way of putting a navigation bar at the bottom so you can navigate between 3 of my sites? Thanks and sorry for my noobieness
Sent from my Nexus One using xda premium
moose.splash1 said:
OK thanks how do I create an android project? And if I was to use your source is there a way of putting a navigation bar at the bottom so you can navigate between 3 of my sites? Thanks and sorry for my noobieness
Sent from my Nexus One using xda premium
Click to expand...
Click to collapse
You can create a new android project in Eclipse like this:
File -> New -> Other ( Or simply press Ctrl + N ), then open the Android map and click Android Project.
If you need more help don't mind asking me and have a good day
First are you a Windows , Linux or Mac user ?
moujibzinc said:
First are you a Windows , Linux or Mac user ?
Click to expand...
Click to collapse
Im using windows and linux..
Sent from a Samsung Galaxy Ace with TapaTalk.
I'm using windows
Sent from my Nexus One using xda premium
How would I create an app that has 3 buttons at the bottom of the app which navigate to 3 different web pages
Sent from my Nexus One using xda premium
moose.splash1 said:
How would I create an app that has 3 buttons at the bottom of the app which navigate to 3 different web pages
Sent from my Nexus One using xda premium
Click to expand...
Click to collapse
Bit hard to explain here on my phone.. Can you add me on msn? Email is on my profile.. Let me know something.
---------
Using TapaTalk on my SGA.
I don't have msn but I have Gmail...
Sent from my Nexus One using xda premium
moose.splash1 said:
I don't have msn but I have Gmail...
Sent from my Nexus One using xda premium
Click to expand...
Click to collapse
Gmail will do.. [email protected]
---------
Using TapaTalk on my SGA.
K thanks
Sent from my Nexus One using xda premium

Jellybean source code is out

I know jellybean is a sore subject around here but I saw this on the kindle fire section and thought I would repost here just in case anyone didn't know.
http://news.cnet.com/8301-1035_3-57469087-94/google-releases-android-4.1-source-code/
Sent from my SGH-T959V using xda premium
johnadelic said:
I know jellybean is a sore subject around here but I saw this on the kindle fire section and thought I would repost here just in case anyone didn't know.
http://news.cnet.com/8301-1035_3-57469087-94/google-releases-android-4.1-source-code/
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
Get programming.
johnadelic said:
I know jellybean is a sore subject around here but I saw this on the kindle fire section and thought I would repost here just in case anyone didn't know.
http://news.cnet.com/8301-1035_3-57469087-94/google-releases-android-4.1-source-code/
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
I saw this earlier when syncing from Google source
Sent from my SGH-T989 using xda app-developers app
erikmm said:
I saw this earlier when syncing from Google source
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Same but I was syncing aokp.
Sent from my SGH-T959V using xda app-developers app
Only a sore subject to those who want to make it a sore subject....in which case brings sensitive feelings....lol
FBis251 said:
Same but I was syncing aokp.
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Lol it's awesome to find thing when working from source
Sent from my SGH-T989 using xda app-developers app
Maybe I will start working on it so you guys can get ICS with no bugs
Man, I really want to learn how to port roms, AND compile from source, but I don't even know where to start! By the time I finished learning it, this phone would be so old I'd be the only one left on it! lol. But seriously, if a 13 year old can learn how to port and code, I should be able to. I learn blazingly fast. Where do I start learning this stuff? I would love to make a rom from scratch!
Wodensman said:
Man, I really want to learn how to port roms, AND compile from source, but I don't even know where to start! By the time I finished learning it, this phone would be so old I'd be the only one left on it! lol. But seriously, if a 13 year old can learn how to port and code, I should be able to. I learn blazingly fast. Where do I start learning this stuff? I would love to make a rom from scratch!
Click to expand...
Click to collapse
Found this guide
http://forum.xda-developers.com/showthread.php?t=1750733
Sent from my SGH-T959V using xda app-developers app
Thanks, meirkat. That's a start. It will probably be hard for me to learn this stuff, as I'm on windows.
Wodensman said:
Thanks, meirkat. That's a start. It will probably be hard for me to learn this stuff, as I'm on windows.
Click to expand...
Click to collapse
How big is your HD? Its easy to dual boot to ubuntu. I think all you would need is about 35 gigs of space. Once builds are done you can move them to windows partition.
Wodensman said:
Thanks, meirkat. That's a start. It will probably be hard for me to learn this stuff, as I'm on windows.
Click to expand...
Click to collapse
No problem. And it should be easier on windows, most tools are able to be used on windows, it's a lot harder in Macs
Sent from my SGH-T959V using xda app-developers app
mierkat09 said:
No problem. And it should be easier on windows, most tools are able to be used on windows, it's a lot harder in Macs
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Easier? I don't think so lol Linux is the way to go for sure why complicate yourself with cygwin or kitchens
Sent from my SGH-T989 using xda app-developers app
eollie said:
How big is your HD? Its easy to dual boot to ubuntu. I think all you would need is about 35 gigs of space. Once builds are done you can move them to windows partition.
Click to expand...
Click to collapse
That's good info eollie! I don't know the first thing about ubuntu... Are there many versions? If so, which should I get? Do you have a recommended site for learning to do this stuff? I'm going to have to google how to dual boot and change partitions. Thanks!
erikmm said:
Easier? I don't think so lol Linux is the way to go for sure why complicate yourself with cygwin or kitchens
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Lol ok order of easiness
1 Linux
2 Windows
3 Mac
Good comparison of Linux vs Ubuntu
http://www.makeuseof.com/tag/debian-ubuntu-linux-mint-distribution/
Sent from my SGH-T959V using xda app-developers app
Wodensman said:
That's good info eollie! I don't know the first thing about ubuntu... Are there many versions? If so, which should I get? Do you have a recommended site for learning to do this stuff? I'm going to have to google how to dual boot and change partitions. Thanks!
Click to expand...
Click to collapse
There is a installer for ubuntu that will do it from windows. Just google unbuntu.
It will install the newest version and after some updating you will be set. Google is your friend on understanding stuff. Most questions have been asked and answered. It might take a while to find the answer but keep looking. Im currently using ubuntu as my daily because my graphics card was updated in windows and after 8 hours I have to reboot or deal with a blue screen of throw my computer across the room because I was in the middle of something.
Once you learn some tricks ubuntu is as easy to use as windows for the novice person. In time you will not want to go back to windows unless you need it for a game that isnt supported on wine in ubuntu.
mierkat09 said:
Lol ok order of easiness
1 Linux
2 Windows
3 Mac
Good comparison of Linux vs Ubuntu
http://www.makeuseof.com/tag/debian-ubuntu-linux-mint-distribution/
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Windows isn't even an option. It is not a POSIX-compliant system. Even using Cygwin or MSYS, Android cannot and will never be able to be compiled on Windows.
Also, Ubuntu is Linux.
I dual boot windows and ubuntu. Learned a lot about Linux. On ubuntu you have more control over your system and what you want to do with it on Linux. windows kind of does stuff for you which is a pain sometimes.(imo) I'm still using windows now only because of my job, oh and some games a play. everything else is Linux!
Sent from xda app with Paranoid Hybrid rom!
Make sure you get the 64 bit version!!!
Sent from my SGH-T959V using xda app-developers app
First, I have to figure out how to get this nasty virus off my computer, that I just got today. It's a damn nasty one. I can't find anything that helps, and it keeps redirecting my searches... AVG says services.exe is a trojan... but it's whitelisted as a major component of the OS, so I can't delete it... it's corrupted. and I don't have a backup of it to restore... Every little bit I can get from searches I get to work, makes it seem hopeless, or beyond my technical capabilities to fix.

Android Visual Development

Hi All,
Is there any way to develop ROMs using software like VISUAL STUDIO/
Thanks!
I'm asking because I am not so good in Coding
Did you try the currently available tools? I feel that open source tools for development in Linux or cygwin are usually only text based.
Sent from my GT-S5360 using xda app-developers app
cnayan said:
Did you try the currently available tools? I feel that open source tools for development in Linux or cygwin are usually only text based.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Can you please provide me the link which you are talking about?
Thanks!
I am still waiting for someone to help me out ....
you can google for "UOT Kitchen". I haven't tried, but I heard you can make your own ROM online using the tool.
if you want to build from scratch, you need to know a lot about programming. and I don't think there is an integrated visual tools for that.
http://forum.xda-developers.com/showthread.php?t=1661770
Sent from my GT-S5360 using xda app-developers app
cnayan said:
http://forum.xda-developers.com/showthread.php?t=1661770
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Thanks and I will look into it
I got to know that there is some software through which we can modify CUSTOMIZED roms as well. Anyone knows about it?
I will appreciate if someone could help me out in this case!
Thanks!

Suggestions

I am trying to put together a big project and would like to know if devs have suggestions on debug and compiling software on a all in one system.
Sent from my SGH-I997 using xda app-developers app
Prometh1216 said:
I am trying to put together a big project and would like to know if devs have suggestions on debug and compiling software on a all in one system.
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
I will be setting up a build environment too soon. There are a few guides around in the internet on how to compile.
It is recommended you have Ubuntu, but not the latest version because of back compability issue compiling. Also you need 50-100 gb of free space and a decent processor to handle all the work.
Sent from my sweet & buttery Infuse
Prometh1216 said:
I am trying to put together a big project and would like to know if devs have suggestions on debug and compiling software on a all in one system.
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
what exactly did you wanna do? Are you trying to compile from source or put together a linux distro with everything set up? Or something completely different?
andros11 said:
I will be setting up a build environment too soon. There are a few guides around in the internet on how to compile.
It is recommended you have Ubuntu, but not the latest version because of back compability issue compiling. Also you need 50-100 gb of free space and a decent processor to handle all the work.
Sent from my sweet & buttery Infuse
Click to expand...
Click to collapse
I use the latest 12.04 ubuntu...yep im a rebel lol
-there's guides for the newest ubuntu now...for what problems there used to be there are now work arounds...
If you guys need help getting set up to compile I can help...
Sent from my HTC PH39100 using Tapatalk 2
Good to know! I did the research a few months ago and have not been able to start because my dog tipped over the PC and the fall damaged the hard drive :/
I'll contact you at the moment if I happen to have any doubts.
Sent from my sweet & buttery Infuse
My idea is for a hybrid droid/Linux system . Similar to a tablet let's you have phone function but would allow person to do almost everything a laptop would do
Sent from my SGH-I997 using xda app-developers app
Prometh1216 said:
My idea is for a hybrid droid/Linux system . Similar to a tablet let's you have phone function but would allow person to do almost everything a laptop would do
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
Wow, that sounds awesome! I wish I had the knowledge to help...try getting ahold of entropy or Jt1134...
Sent from my HTC PH39100 using Tapatalk 2
Good suggestion mg
Sent from my SGH-I997 using xda app-developers app

Categories

Resources