Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I see that there are some projects about installing Linux on an Android Device, but how is the Hardware support?

If I install linux, can I have access to the hardware via Python, like in Android?

share|improve this question
show 3 more comments

1 Answer 1

Technically you don't "run Linux on Android". In fact, every Android device runs "under" Linux (That is, Android uses the Linux Kernel). What happens when you install a Linux distribution (I think that is what you meant by refering to Linux) on Android is that the Android OS and the Linux dsitribution share the same Kernel. Even if you replace the Android installation with a pure (GNU/)Linux one, the used Kernel is "the same".

Therefore the HW API calls are identical, and you can access the hardware from e.g. Python without any difference.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["        <li><a href=\"http://area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"http://careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.7.22.1721\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    The Android robot logo is a trademark of Google Inc. Android is a trademark of Google Inc.\r\n                </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n  "], "copyright__copyright__copyright": ["the Linux dsitribution share the same Kernel. Even if you replace the Android installation with a pure (GNU/)Linux one, the used Kernel is \"the same\".\n\nTherefore the HW API calls are identical, and you can access the hardware from e.g. Python without any difference.\n\nshare|improve this answer\nadd comment\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}