See the top rated post in this thread. Click here

Results 1 to 5 of 5
  1. #1

    Question How Android related with linux?

    Hi,
    How Android is related with gnu/linux?. Can I work in android phone like a linux system?

  2. #2
    Android is a system based on the Linux kernel and toolchain, but heavily modified by Google. So no, you can't just work like any other Linux on Android...


    1 members found this post helpful.

  3. #3
    Member
    Join Date
    May 2011
    Posts
    9

    Device(s)
    Galaxy Nexus, Nexus 7
    The only thing Android has in common with a standard Linux operating system is the kernel, and even there, the Android kernel is modified enough that it was forked off of the main kernel.

    From there, things start to get tricky. Android doesn't use glibc like a normal Linux system does, and instead uses the custom "Bionic" libc. There is a minimal command set provided by BusyBox, and the filesystem and configuration layout will look familiar to anyone coming from Linux; but on the whole it is a very different OS than anything that has come before it.


    1 members found this post helpful.

  4. #4
    Member
    Join Date
    Jun 2011
    Location
    Ky
    Posts
    6

    Device(s)
    Motorola Droid (original)
    As MS3FGX pointed out, the filesystem will look vaguely familiar to anyone that uses/has used a standard Linux system.

    For example, in Android, all the user-installed applications and data will be located under the /data partition (they will also commonly store extras under /sdcard). System configuration scripts will usually be located in the root partition /, like init scripts.

    And then core system programs will be located under /system/bin. This is where common Linux programs like 'cp', 'rm', etc. will be located. Usually on rooted, custom ROMs, you will find an additional directory called /system/xbin for all the extra Busybox programs like 'wget' and what-not.


    1 members found this post helpful.

  5. #5
    Actually, the similarities are quite much; due to the kernel similarities, but Android offers a better (I think) and more "user-space" experience than Linux (i.e. automatic package managing, a whole NDK and SDK to use compass, touchscreen etc. efficiently...)



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •