New to Android and need some help please... - Nexus One Q&A, Help & Troubleshooting

Hi there, am a newbie to android for months, and I was thinking to start to mod things in the android rom, I've downloaded some sources from the Github, which those sources are in .java format, can anyone guide me on how to put those edited .java into my android device in order for my mod to work?
Thanks a million...
Kiay

Are you real?
You want to mod things, but you don't know what is done with source code?
I think compiling is one of the first things people learn when programming...
Download Android SDK from the net and suit yourself.

kiay said:
Hi there, am a newbie to android for months, and I was thinking to start to mod things in the android rom, I've downloaded some sources from the Github, which those sources are in .java format, can anyone guide me on how to put those edited .java into my android device in order for my mod to work?
Thanks a million...
Kiay
Click to expand...
Click to collapse
get Eclipse, and the Android SDK, then put your code in eclipse and compile it.

Jack_R1 said:
Are you real?
You want to mod things, but you don't know what is done with source code?
I think compiling is one of the first things people learn when programming...
Download Android SDK from the net and suit yourself.
Click to expand...
Click to collapse
nmesisca said:
get Eclipse, and the Android SDK, then put your code in eclipse and compile it.
Click to expand...
Click to collapse
yes i've downloaded all those needed software, and gone through the Hello Android tutorial on the net, but as i stated above, i've no idea how to put those sources that i edited back into my device, and the sources that i m saying is those where i downloaded from the github, edited, but no idea how to put back in...

You don't put sources back, you compile them to applications and change the ones in your system for the updated ones.
Look up some more tutorials on the net, or go to "generic android development" section in the forum and look there, there are some posts by people that started to learn how to develop on Android.

Related

Guide to compile android from scratch

Hello everyone, I want to learn how to build Android from source to google (I've already downloaded), but I do not know what to do and where to start, I recommend Quelch lowed or tutorials to get started?
thanks
PS: excuse my English: D
EDIT:
I want to create ROMs
fede DREAM ITA said:
Hello everyone, I want to learn how to build Android from source to google (I've already downloaded), but I do not know what to do and where to start, I recommend Quelch lowed or tutorials to get started?
thanks
PS: excuse my English: D
Click to expand...
Click to collapse
http://developer.android.com/guide/index.html
^^has a lot of good information
help me! please
Yes, I searched the internet a lot on how to cook ROM's but I couldn't find crap... Is there a tutorial somewhere on how to get started on this?
Theres no real tutorial for it....its really you know how to work things through experience,
There are a lot of useful threads on xda, but you have to find them and piece them together.
LFS
What about compiling the information into a HowTo format similar to the first Linux From Scratch book?
Possibly the Gentoo ARM handbook may be of help as well.

Make a Rom?

I've spent the better part of 5 hours trying to come across information on ROM development.
My question is two part. What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
I have a feeling there's a lot I don't know. Perhaps the answer is in front of my face, but I've been looking for a long time and definitely have tried so please don't just say "use the search fuction" or "google it"
Devs normally don't like to share the info but there's a guide here:
http://ctso.me/2010/02/building-an-android-rom-–-part-1-5/
But the info is in other places to the google-android page might have some info to. You must be using a linux OS to actually build anything, windows is a no-go...
Quick and helpful, thanks!
Luckily I did just put the latest ubuntu on my laptop.
If anyone else wants to chime in with some helpful resources please do!
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
halfmonty said:
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
Click to expand...
Click to collapse
He was just lying, he spammed various threads while talking about other devs.
Ace42 said:
He was just lying, he spammed various threads while talking about other devs.
Click to expand...
Click to collapse
first he's 14 then he's 12...next he'll be a spoiled 8 year old. you just watch.
I'm glad I checked this post. I was curious about ROM developing myself. Thanks for the post.
Is it me, or does that guy have more then one account...
At the risk of taking this further off topic... what guy?
But really my main concern is how to make a rom so, any other help from anyone would be good. Thanks!
Bump?
I'm sure somebody knows something
What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Click to expand...
Click to collapse
If you would like to compile android source code (create a rom from scratch) the best place to start would be:
http://forum.androidspin.com/showthread.php?t=2004
or
Chris Soyars' blog: http://ctso.me/2010/01/building-an-android-rom-part-1/
OpenEclair github readme: http://github.com/openeclair/android
Official AOSP Guide: http://source.android.com/download, http://source.android.com/download/using-repo, http://source.android.com/documentat...ding-for-dream
Instructions on creating and signing update.zip files can be in a few places herre on xda. Check the themes section I'm pretty sure I saw a few there.
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
Click to expand...
Click to collapse
Install the rom on a handset & do a nandroid backup. It will produce the img files you will need for the AVD
Dude, you're awesome, thanks!

[Q] Tutorial/Guide for porting android to phones

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

[Q] Rom Cooking .

Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Man do yourself a favor a READ and search for awhile.... all you ever do is ask for handouts. Development is not easy. Its not just a matter of asking questions. You had 134 views of this page before I responded. That's 134 people that didn't wanna help you... if that doesn't say anything I dont know what will.
self proclaimed XDA resident prick
Jurellz said:
Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Click to expand...
Click to collapse
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
dastin1015 said:
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
Click to expand...
Click to collapse
Thanks for the positive feedback!

Tutorial

Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
jimmydee62 said:
Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
Click to expand...
Click to collapse
It depends, stock or aosp? With a stock rom just download one already made and a untouched stock system then figure out how the developer did what he did then make your own with the knowledge you gained. You will probably need a kitchen to make the installer script because that is a pain to do yourself. Aosp is a whole different bag of marbles but cyanogenmod has a good tutorial on how to do it and that knowledge will transfer to non cyanogenmod builds as well. If you are not competent with Linux learn that first. I would suggest arch Linux because it will force you to learn the command line. cygwin won't compile aosp so don't even think about trying that shortcut.
ThePagel said:
It depends, stock or aosp? With a stock rom just download one already made and a untouched stock system then figure out how the developer did what he did then make your own with the knowledge you gained. You will probably need a kitchen to make the installer script because that is a pain to do yourself. Aosp is a whole different bag of marbles but cyanogenmod has a good tutorial on how to do it and that knowledge will transfer to non cyanogenmod builds as well. If you are not competent with Linux learn that first. I would suggest arch Linux because it will force you to learn the command line. cygwin won't compile aosp so don't even think about trying that shortcut.
Click to expand...
Click to collapse
I appreciate your feed back and I want to start with stock and go from there. I've programmed before which was done by writing all the code just not android. That is why I'm asking for tutorial to show me what, where, and when. It is not something just because I'm curious I really want to get involved and see if it is worth my time. So I need to know as much up front as possible which once I understand that then I can go forward.
jimmydee62 said:
I appreciate your feed back and I want to start with stock and go from there. I've programmed before which was done by writing all the code just not android. That is why I'm asking for tutorial to show me what, where, and when. It is not something just because I'm curious I really want to get involved and see if it is worth my time. So I need to know as much up front as possible which once I understand that then I can go forward.
Click to expand...
Click to collapse
Not much coding in stock, more like shuffling stuff around. The closest thing to programming with custom stock roms is the edify script (installer script).
ThePagel said:
Not much coding in stock, more like shuffling stuff around. The closest thing to programming with custom stock roms is the edify script (installer script).
Click to expand...
Click to collapse
What I mean is command line will not be a problem for me since I have written code before which uses a type of command line. I'm looking for the tools needed to do the roms you say something about kitchen and what else? Maybe I'm just making this harder then I need to but I'm just trying to learn how to make roms of my own and need a place to start.
jimmydee62 said:
What I mean is command line will not be a problem for me since I have written code before which uses a type of command line. I'm looking for the tools needed to do the roms you say something about kitchen and what else? Maybe I'm just making this harder then I need to but I'm just trying to learn how to make roms of my own and need a place to start.
Click to expand...
Click to collapse
Yeah I don't know of any tutorials, other than what I suggested in my first post your best bet is to just jump in head first and use google when you get stuck.
If you go to infamous rom developments webpage which I can't post here because I will get in trouble. He has a full step by step guide how to do everything from stock roms to aosp and even kernels.
jimmydee62 said:
Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
Click to expand...
Click to collapse
^^^^^^^ check it out.
jonahtriangle said:
^^^^^^^ check it out.
Click to expand...
Click to collapse
Thank will check it out.
jonahtriangle said:
^^^^^^^ check it out.
Click to expand...
Click to collapse
jimmydee62 said:
Thank will check it out.
Click to expand...
Click to collapse
I went to check out that guide to make sure you are going in the correct direction and found it wants you to use the old dsixda kitchen which has been abandoned. Use archi kitchen instead http://forum.xda-developers.com/showthread.php?t=2597220
Try to use the kitchen for compiling the installer script only, you'll figure stuff out faster that way.
ThePagel said:
I went to check out that guide to make sure you are going in the correct direction and found it wants you to use the old dsixda kitchen which has been abandoned. Use archi kitchen instead http://forum.xda-developers.com/showthread.php?t=2597220
Try to use the kitchen for compiling the installer script only, you'll figure stuff out faster that way.
Click to expand...
Click to collapse
Thanks for the update have downloaded it and will try it out tomorrow.
Good info in here.
Sent from my SM-G920T using Tapatalk
This is a basic question, but for the life of me I can't find a tutorial in how to deodex system files for the S6 that actually work. Tried a few but afterwords when decompiled they don't show smali files. Anyone have a way to do this?

Categories

Resources