[Q] How Android kernel and Virtual Machine work - General Questions and Answers

Dear all,
I'm trying to reconstruct the Andriod on my phone. So far i managed to download source code for Linux core including files like "mount, cp, modprobe,...", however I notices thete are other files in /system/bin like "am, pm, ..." which control the other layer of Android OS. How can I download the source code for these kind of files. Also in framework we have "am.jar" which seems to have direct relation to Java VM. Maybe it is better to also ask how Java VM works on Android. I do not ask about general knowledge because more or less I know how it works. Basicly I need to know which files are related to the process of running Apps on Android and what they do.
Best wishes.

Related

VMWare image of the source building environment

Hi all, I'm sorry if this has already been asked, i looked for it using Google and the search forum option and while i found this http://forum.xda-developers.com/showthread.php?t=396782&page=145, (using this: http://www.google.com/cse?cx=000825...ource&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8) it didnt really help me because it's not exactly what i'm looking for
I want to be able to change some bits of code on the os and see how that affects the device (for example, i'd like to change the order of options in the menus and stuff like that) just to get to know the development environment better.
however, I'm using Microsoft windows (vista x64) and cannot build it on this env (according to: http://source.android.com/download --> "To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.").
therefore i was wondering, did anybody make a vmware image that is ready to use that contains the environment and the sources that will only need a source update and can be built immediately after for noobs like me?
I'm sure I'm not the only one running a windows machine and so i guess somebody has already made one for himself, I'm asking if you could maybe share it somehow...
Thanks
E.
Clarification: I'm not talking about the SDK building but rather the actual OS source code so that i can re-build and put on my phone
note: tried this: http://www.koushikdutta.com/2008/12/building-android-source-and-deploying.html, didn't work, but it gives an idea of what I'm looking for...
did u try running a virtualbox with linux? or maybe a macOS off a usb?
vista x64
for windows, have you tried cygwin?
I've installed it just fine in ubuntu in vmware.
I'd about 8 gb. quite hard to make an image out of it.

[Q] Version control on Android

So, I was thinking about this...
As a Linux distro, any Linux binary application should work (just needs recompiling AFAIK, and some bit of hacking), so why not have some version control stuff on our phone? Let's say, SVN, CVS, Git, or even the google Repo manager!
Would it be possible? Is there anyone who compiled these tools for Android?
Also I am interested in any other tool what is used on Linux, and is compiled for our phones (already found wget, and no, busybox does not count )

Can one access or use the underyling linux O/S in an Android device?

Maybe I'm misinterpreting what I've read, but my understanding is that Android "O/S's" are a VM (via Dalvik?) that runs within a pared down linux O/S. Assuming that's not too far off, is it possible to add packages or programs to that Linux O/S? Could I, for example, add regular old Wireshark to it? Obviously the programs would have to be compiled for the correct cpu platform.
Thanks.
The kernel is Linux one... As for your question, provided you have rooted your phone, you can create a chroot there and run Linux apps on your phone.
A howto for Debian here: http://forum.xda-developers.com/showthread.php?t=996746

Understanding programming for rooting...

Hello, Developers!
Yes, I'm a Newb looking to get educated...
I have experience programming algorithms (VBA), but no experience with Linux syntax, nor Android app development.
In turn, I figure the best way to learn is to start from the very begining.
I'd like to learn, through step-by-step instructions (or someone working hand-in-hand with me), by begining with how to root a device.
I want to work from scratch by altering the existing files on my tablet, instead of using pre-packaged scripts, files, apps, or programs.
I have already installed (on my Desktop), what I believe to be, all the potentially necessary tools, such as: Android SDK, JDK, Eclipse, Android device drivers, Virtualbox, and Ubuntu.
So? What's next?
Which files do I need to start tearing into and examining to determine what alterations need to be made to enable SuperUser Root access?
Thank you in advance for your time and patience.
Equipment
Coby Kyros, MID9742
Android ICS 4.0.3

[Q] Newb using Android SDK/Genymotion

I am interested in buying a new android and would like to run the OS from a few android phones in a virtual machine. Everything is installed, Android SDK, eclipse, Genymotion, as well. After loading one of the VMs that are already available, what interested me was how could I load a particular kernal for a phone that I would like to buy.
For example, I downloaded the rom for the ZTE Open C (firefox OS). How would I go about converting this to a VDI or OVA? Not sure even which I would convert it to. Could somebody even possibly point me to the correct faq, did some searching but not really sure what to search for so only coming up with how to root your phone.
Thank You

Categories

Resources