Rom development - Android Q&A, Help & Troubleshooting

Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.

bbowerman said:
Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.
Click to expand...
Click to collapse
Start by learning c+ and java coding. Then get good with a linux machine

zelendel said:
Start by learning c+ and java coding. Then get good with a linux machine
Click to expand...
Click to collapse
pretty familiar with linux, know a little C, java not so much.

Related

CyanogenMod Menu

Hi everybody, how can I create a CyanoGenMod Menu in Settings?
Thanks
Take a look at CM-source/framework
OK thank you
can someone explain me the phases to add this menu?
check this
http://forum.xda-developers.com/showthread.php?t=667298
where is the link?
O_o
... Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject....
Click to expand...
Click to collapse
10charsss
Roqu3 said:
O_o
10charsss
Click to expand...
Click to collapse
What, did you think that you would just copy and paste? :|

[Q] pls help im a new noob in this

so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.
cbernardo13 said:
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
Hey Guys!
First of all a bit of encouragement. The android kitchen sure as hell does not turn you into a rom developer. I decided i wanted to use the kitchen just over 2 weeks ago and run ubuntu in a virtual window. From then I decided I did not like windows anymore so installed linux as my main os and had to learn that (trust me getting the graphics card to work was a chore) I finally got the kitchen working tonight and decided to sign up to xda. Even with my limited knowledge I have been able to help someone on here tonight. Read Read Read and ask questions if you can not find the right answers on the forum. Research pays off eventually. (I now softmod nintendo wiis professionally from learning off a forum!!!!) Remember everyone has to start somewhere even if you are a noob and don't get disheartened if someone says you should have read this this and this. As long as you learn from ur mistake I'm sure people wont mind too much.
SFUK
aha... so let me understand i need ubuntu?
and i need to open system img fot the app edit
can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex
How long before bricked again...????
solain said:
can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex
Click to expand...
Click to collapse
Im about to take the dive myself, still rounding up the tools. Was about to dl virtual...unbuntu etc but read this just now and it makes sence so as much as i want to screwup my phine as fast as possible i think i will follow this advice.
You might have already seen and read but what the hell....
Originally Posted by cyanogen
I really dislike the "chef" moniker when it comes to Android, since we are more of an open-source community. I think it implies a "file pusher" mentality. But then again, I am biased against proprietary versions of Android like Sense, so feel free to disregard all of this.
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.ph...ng_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pla...5936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
dmeadows013 said:
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.
Click to expand...
Click to collapse
can u shoot me a couple links for the kitchen/other tools download
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
What version of Linux are you running? Are you running Ubuntu? I never had much luck using the Android Kitchen in a virtual environment for some reason. When I installed Ubuntu as my main OS, however, that made all the difference. From there you'll also need to make sure you have the Java Developers Kit (JDK) installed or at least open-jdk (Open source alternative) installed in order to run the Android Kitchen or the SDK for that matter.
There's a really good tutorial on how to set up the SDK on Ubuntu 10.10 or Ubuntu 11.04 which is what I had used to set up the SDK on linux for the first time. http://forum.xda-developers.com/showthread.php?t=921169
I prefer 10.10 just because I'm not huge on Ubuntu's newer Unity interface and my old laptop seems to run 10.10 a lot better than 11.04 or 11.10 but that's another story.
Once you have the SDK setup, you can then run the kitchen accordingly.
I use a tool called Android Utility by tommytomatoe which is essentially a collection of tools for creating custom ROMs, editing apk's, etc. It just happens to also include dsixda's kitchen which is a nice plus. You can download that here: http://rootzwiki.com/topic/3303-utility-android-utility-apktooldex2jarsmalimoremac-linuxoct09-2011/
Hope this helps. Good luck, dood!
**Edit** My bad... There's also a thread for Android Utility on XDA also....
http://forum.xda-developers.com/showthread.php?t=1167623

[Q] Which references you'll recommend for being an android developer?

After months using android i'm really wiling to be a developer, step by step. i want to know which reference and tutorials should i read and learn?
(i know c++ a little bit but not much, don't know if it helps)
Thanks
First of all you need to know Linux basics Try to get inside system files and APK's, try to decompile kernel and see how it works... Its a lot of tutorials in the web and on the XDA too. It's damn fun! And of course try to create some stuff, maybe it can be fairily simple project for to get started
i'll try and learning tutorials and as you said decompile some stuff in XDA. it'll be great if i find start point and i think i'm going to have it!
Thanks mate
nimbold said:
i'll try and learning tutorials and as you said decompile some stuff in XDA. it'll be great if i find start point and i think i'm going to have it!
Thanks mate
Click to expand...
Click to collapse
First learn C++ then go other things like compiling kernel because when you will compile apk,kernel will you understant? Anyway go by this way,first learn html language then javascript and at the end C language.
Sent from my WT19i using Tapatalk
XperianPro said:
First learn C++ then go other things like compiling kernel because when you will compile apk,kernel will you understant? Anyway go by this way,first learn html language then javascript and at the end C language.
Click to expand...
Click to collapse
So html and java scripts helps like c language. Should take off I think!
Thanks for your help
Sent from my ST15 using XDA App

New developer Player

hello
i am a new developer i am starting to create ROMS and android kernel's. i am using Ubuntu 12 and any advise on tools and a starting point would be greatly appreciated. i use Heimdall to get the ROM's onto my device.
starter questions
1) how do i download the original android kernel to my system (linux)
2) best tool to view the kernel code.
i would like to be a productive XDA developer so any advise or direction would be great.
Cy83rn1nj4 said:
hello
i am a new developer i am starting to create ROMS and android kernel's. i am using Ubuntu 12 and any advise on tools and a starting point would be greatly appreciated. i use Heimdall to get the ROM's onto my device.
starter questions
1) how do i download the original android kernel to my system (linux)
2) best tool to view the kernel code.
i would like to be a productive XDA developer so any advise or direction would be great.
Click to expand...
Click to collapse
Here's the replies
1. That depends of the device you currently own
2. I use gedit but most people says that gedit and Vim are the best editors for ubuntu.
Also you would need the android sdk (for adb) also you will need jdk. If you want more informations don't be affraid to ask.
EDIT: I forgot to ask which languages you have learned?
im learning Python using google.com/edu great online webinars my company want me to also learn ruby as we develop our apps using rails.
thanks for the reply i will look for a standard android image i can decompile and test with.
Cy83rn1nj4 said:
im learning Python using google.com/edu great online webinars my company want me to also learn ruby as we develop our apps using rails.
thanks for the reply i will look for a standard android image i can decompile and test with.
Click to expand...
Click to collapse
You cant decompile any compiled to machine code program, its basic.. You can only get source code or deassemble to unreadable and unusable code.
Sent from my GT-I9000 using xda app-developers app

Develop my own rom

Hey guys, i was just wondering if i could make my own rom, or at least compile my personal build of an existing rom, i d love in the future to make a hole working rom with things i like from all roms, but i really dont know where to start.
i dont know much about programming, but i m learn quickly. i d just finished my first year studying sistems engeneering but im still a noob about programming so i d love some help, where to start how to build what language do you use, what IDE, etc, how to compile etc.
at least i ll love to start downloading the source of any of the wonderful roms in this forum and try to compiled it myself, but really i dont know where to start.
thanks a lot guys
pd:sorry i know my english sucks T_T
maybe some tutorials or things to read that helped you when you guys where starting
Raagh said:
Hey guys, i was just wondering if i could make my own rom, or at least compile my personal build of an existing rom, i d love in the future to make a hole working rom with things i like from all roms, but i really dont know where to start.
i dont know much about programming, but i m learn quickly. i d just finished my first year studying sistems engeneering but im still a noob about programming so i d love some help, where to start how to build what language do you use, what IDE, etc, how to compile etc.
at least i ll love to start downloading the source of any of the wonderful roms in this forum and try to compiled it myself, but really i dont know where to start.
thanks a lot guys
pd:sorry i know my english sucks T_T
maybe some tutorials or things to read that helped you when you guys where starting
Click to expand...
Click to collapse
First start to build a rom by modifying samsung roms.
Use dsxida android kitchen
Sent from my GT-I9100 using Tapatalk 2
Raagh said:
Hey guys, i was just wondering if i could make my own rom, or at least compile my personal build of an existing rom, i d love in the future to make a hole working rom with things i like from all roms, but i really dont know where to start.
i dont know much about programming, but i m learn quickly. i d just finished my first year studying sistems engeneering but im still a noob about programming so i d love some help, where to start how to build what language do you use, what IDE, etc, how to compile etc.
at least i ll love to start downloading the source of any of the wonderful roms in this forum and try to compiled it myself, but really i dont know where to start.
thanks a lot guys
pd:sorry i know my english sucks T_T
maybe some tutorials or things to read that helped you when you guys where starting
Click to expand...
Click to collapse
check the below guide links hope it will be a good starting point for u
http://forum.xda-developers.com/showthread.php?t=1957219
http://forum.xda-developers.com/showthread.php?t=1908008
good luck!
corruptionfreeindia said:
First start to build a rom by modifying samsung roms.
Use dsxida android kitchen
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
sorry dont want to be rude but i dont want to try a custom kitchen, i already read about them a lot and they actually dont require any skill or knowledge, they re great to build your rom without knowing anything but they actually dont teach anything in the process.
dont get me wrong, they re amazing. but i want to learn how to build, compile,starting coding and maybe one day be a full developer. that kitchen d only make me feel that im doing something while actually im just pressing keys and moving some files. and getting a rom in return
Sun90 said:
check the below guide links hope it will be a good starting point for u
http://forum.xda-developers.com/showthread.php?t=1957219
http://forum.xda-developers.com/showthread.php?t=1908008
good luck!
Click to expand...
Click to collapse
thanks a lot men, i ll read today at home, now im pretending im working ahahaha. i also gonna read all that googles web has about development, particularly im going to install sdk and android plugin on eclipse,
i know java isnt great to start but well. i have a really good book from university that involves c(for structured programming) that i already finished
and java(programming oriented to objets) that i didnt read and its supposed to be for second year but what the hell . im on vacation im gonna give it a shot.
Raagh said:
sorry dont want to be rude but i dont want to try a custom kitchen, i already read about them a lot and they actually dont require any skill or knowledge, they re great to build your rom without knowing anything but they actually dont teach anything in the process.
dont get me wrong, they re amazing. but i want to learn how to build, compile,starting coding and maybe one day be a full developer. that kitchen d only make me feel that im doing something while actually im just pressing keys and moving some files. and getting a rom in return
thanks a lot men, i ll read today at home, now im pretending im working ahahaha. i also gonna read all that googles web has about development, particularly im going to install sdk and android plugin on eclipse,
i know java isnt great to start but well. i have a really good book from university that involves c(for structured programming) that i already finished
and java(programming oriented to objets) that i didnt read and its supposed to be for second year but what the hell . im on vacation im gonna give it a shot.
Click to expand...
Click to collapse
So u want to compile a rom.
http://forum.xda-developers.com/showthread.php?t=2060017
http://forum.xda-developers.com/showthread.php?t=2302780
Also look at the below site
Developer.android.com
Sent from my GT-I9100 using Tapatalk 2
corruptionfreeindia said:
So u want to compile a rom.
http://forum.xda-developers.com/showthread.php?t=2060017
http://forum.xda-developers.com/showthread.php?t=2302780
Also look at the below site
Developer.android.com
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
thanks a lot men i ll read them tonight
Today i succesfully set up a ubuntu virtual machine and now its on repo sync(pacman rom). Today ll make my first build. I also installed eclipse and sdk, started remembering some c basic coding and maybe some day i ll start with java.
My next plan is to learn how to compile the rom with apolo kernel, instead of standard pacman kernel directly from source.
Enviado desde mi GT-I9100 usando Tapatalk 2

Categories

Resources