[Q] What to use to begin developing using Debian. - Android Q&A, Help & Troubleshooting

So, I decided to take the plunge and learn how to use something other than Windows. I decided to dual-boot debian and I'm currently installing . I am also interested in learning how to develop ROMs. What do I need if I decide to use debian to develop?

Related

Newbie wants to start making my own custom roms.

Im want to start making my own custom roms just need a jump start from people who knows how to do it, any programs out there that you can add/remove apps from original vibrant rom and creat your own rom?
i have a windows 7 64 box and ubuntu.
thank you
I have no real experience with creating a ROM, however, if you are serious about learning how to create a ROM and/or customizing the Android system, you should first and foremost go here:
http://developer.android.com/index.html
It will contain all the information and files you will need to get started. Hope this helps.
I have the SDK installed but i heard something about Android Kitchen on Ubuntu cant find anything useful on it on google.
I would start smaller by building themes or apps to get more familiar with building with android before jumping in elbows deep...
Sent from my SGH-T959 using XDA App
http://forum.xda-developers.com/showthread.php?t=667298
Good Luck

Questions About Developing

Hello Everyone I Am New In This World And I Have Some Questions About Developing
-Which Programming language Should I Learn To Create Apps.?
-How To Create ROM?
-What About Porting Something From A Device To Another One?
-Is The SDK Of The Mobile Is Enough To Port Something From It?
-Should I Own An Old Phone For Testing?
P.S. I Have GS3
You develop for Android primary in the Java language. You may write native (i.e. compiled) code as well, but Java is recommended in most cases.
Creating custom roms is much like creating a Frankenstein Monster. Decompose your original rom, pick the pieces you like, replace the other with stuff you dig up from other places, or create yourself. Then re-pack everything in your new custom image, flashing you phone. The details about what to use to split images, flash devices etc you have to search this forum for - it'll differ from device to device.
When developing for Android you chose a minimal API level, e.g. Android 1.5. This way your app will run on all devices with at least Android version 1.5, no porting needed. Java is "write once, run many" so to say.
You can test your new apps either on you phone or in the emulator (Android Virtual Device) supplied with the SDK. If you intend to develop lots of code, a dedicated phone may be quite useful for testing, yes, but absolutely not necessary. You'll not crash your phone just because your application crashes, all apps are running in separate processes protected from each others.
You find the official tutorial at developer.android.com/training/basics/firstapp/index.html
Thanks For Your Help. Your Words Are Very Useful
THE.W!ZARD said:
Hello Everyone I Am New In This World And I Have Some Questions About Developing
-Which Programming language Should I Learn To Create Apps.?
-How To Create ROM?
-What About Porting Something From A Device To Another One?
-Is The SDK Of The Mobile Is Enough To Port Something From It?
-Should I Own An Old Phone For Testing?
P.S. I Have GS3
Click to expand...
Click to collapse
you need java to learn programming................
for basic rom making a bit of general knowledge is enought not much of programming is required........
for basic porting you can use cygwin for complex ports u need t change the framwork files which you will learn as the time passes..
sdk is required for building app and adb fastboot not for porting and other kind of stuff(related to api's)............
what do you mean by old phone.. you build mods for your phone so test it on the phone you built the mod for not old phone or something like that.........
The first thing you need to do is learn Java.
http://forum.xda-developers.com/forumdisplay.php?f=613

[Q] Road to developing?

Hey guys,
so this is applicable to all devices and its android specific therefore I think this is the best place to ask these question/s. I learned coding with Python for a few months last year and really enjoyed it. Now I am thinking since I have an android phone that is claimed by most "unbrickable" and I am probably stuck with it for another year I decided to learn android programming and contribute to this awesome community and hopefully make my phone awesome myself. Before I can do all that I have a few questions. Most of the development guides I saw after google searching, referred to how to create apps ( now I know there are guides to creating roms here). If I learn with those guides how to make apps will it be a similar process when I wan't to make custom roms? Also how to start? Start with Java SDK, with eclipse? Point to some guides plox
early thanks
There are guides for building apps... and guides for building ROMs... but AFAIK, guides for customising ROMs don't really exist... ROM customisations are generally just done following the API or using someone's work as a reference point....
craigacgomez said:
There are guides for building apps... and guides for building ROMs... but AFAIK, guides for customising ROMs don't really exist... ROM customisations are generally just done following the API or using someone's work as a reference point....
Click to expand...
Click to collapse
I think I worded that wrong. I know there are guides for building apps and building roms but I was asking If I use one of those guides to build app + learn to build app using a book or something will it help me build roms later? And for the custom rom thing, I meant like theres hellfire ics cm9 then theres eaglesblood ics cm9 for same device but by different people so I when I said custom rom I mean like my own ics cm9. but anyway thanks for your answer.
First and last bump
Making ROM's is different then making apps, while the skills you learn using Eclipse and Java JDK will only teach you Java, XML and ADB at most, when making ROM's you need to know many different things. While you can make custom ROM's with little programming experience to be a true master of making custom ROM's you need to know Java and XML, for modifying and creating your own custom apps you can include in your ROM, C and C++ for tweaking the kernel to truly optimize performance, Shell for creating scripts to automate tasks and performing other functions in your ROM, Photoshop/GIMP for image editing and creation in order to customize the look of your ROM, as well as patience to debug any problems you may run into and a couple other skills as well.
If you want to learn how to compile CM9 check out these guides:
[TUTORIAL]Setting up and compiling CM9/CM10 from source
Galaxy Nexus (GSM): Compile CyanogenMod 9 (Linux) It's for the Galaxy Nexus but it's still a very good place to start with to learn how to compile CM9 from source.
For learning basic customization of ROM's check out these great videos:
Let me know if you still have questions .
shimp208 said:
Making ROM's is different then making apps, while the skills you learn using Eclipse and Java JDK will only teach you Java, XML and ADB at most, when making ROM's you need to know many different things. While you can make custom ROM's with little programming experience to be a true master of making custom ROM's you need to know Java and XML, for modifying and creating your own custom apps you can include in your ROM, C and C++ for tweaking the kernel to truly optimize performance, Shell for creating scripts to automate tasks and performing other functions in your ROM, Photoshop/GIMP for image editing and creation in order to customize the look of your ROM, as well as patience to debug any problems you may run into and a couple other skills as well.
Okay that makes sense. So if I learn to make apps since thats what most guides are, I will learn to work with JDK and XML but creating ROMs requires much more knowledge. I am okay with just being able to compile source codes/porting roms from similar devices and what not. I am pretty decent with Photoshop so thats a win Thank you sir
Click to expand...
Click to collapse

[Q] Can we get an Ubuntu Touch Port on the DX2?

This is just a general question. I dont have the know how or skill to create a port like this. Maybe DZK could use his CM10 A3 base and move from there otherwise just build from scratch. It would be nice to see Ubuntu on our device.
Slowbalt
It depends on the structure of the files, Ubuntu moblie itself isnt running on a Jb base. The ubuntu moblie OS isnt a ROM Its an entire system its self. If someone along the line were to create some CM10 ROM that look and or acts like Ubuntu mobile then someone could port it over. But that is about all we could see on that.
P.S. it is very likely that someone will create a Ubuntu ROM on top of CM10
AKShotgun said:
It depends on the structure of the files, Ubuntu moblie itself isnt running on a Jb base. The ubuntu moblie OS isnt a ROM Its an entire system its self. If someone along the line were to create some CM10 ROM that look and or acts like Ubuntu mobile then someone could port it over. But that is about all we could see on that.
P.S. it is very likely that someone will create a Ubuntu ROM on top of CM10
Click to expand...
Click to collapse
not exactly the code with in ubuntu touch is a lot like cm10.1. in fact it is the same just modified some with the ubuntu ui skined over it. it also uses a chroot process like you would if you felt like running full ubuntu virtually on the phone. making it slow and ineffecient. it can be done if someone is determined enough but i really see no point it doesnt support over 95% of apps and it does not support 3g data. it most likely will not be any reason to port it to the dx2/mx2 because by the time ubuntu touch be comes stable enough to use as a daily driver most developers will have stopped working on these devices and most people whod use it will have upgraded to a new phone.
Its extraordinarily hard since we have a locked boot loader and cannot flash a new kernel. SO it would have to run on top of GB 2.3.4 and have a monster set of patches just to get partial function. Not worth the effort for this phone.
For the Droid X2, it's probably unlikely you will ever see Ubuntu OS on your device. Like what was said above, the bootloader is locked so you can't simply install it like you would for phones that it is intended for (unlocked phones). Ubuntu OS is also not something just running on top of android. The only android stuff that is used is android kernel and services. They do this so they can support a variety of android phones and allow Ubuntu to run natively on a phone made for Android. But Ubuntu OS is its own OS and not a skin on top of android. But the biggest thing right now is that the version they released is not a full OS. Its a developer tool so developers can have something to test their apps and develop for. You dont want this on your device right now unless you plan on doing some development for Ubuntu. The OS is not functional as a daily driver as it is right now.
Yeah. I saw the xda developers YouTube. I was wrong. I didn't really expect the code to be like that.
Sent from my DROID X2 using xda app-developers app

[Q] I want to port features from one ROM to another (CM based)

I've got an Odroid XU4 device. Basically a standalone computer similar to Pi.
It's running CM12 and I believe the dev has given us the source:
http://forum.odroid.com/viewtopic.php?f=94&t=9316
I want to learn how to port features from other mod-heavy CM based ROM's to this one.
Where should I start for learning to do this?
I don't have time to learn everything, I'd like to keep it simple and focused towards my single goal. Are there any suggestions for me to get started?
Setting up an Ubuntu VM will be easy.
It's the steps that come next where I'll need a guide.

Categories

Resources