Can one access or use the underyling linux O/S in an Android device? - Android Software/Hacking General [Developers Only]

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

Related

rooting?

ok the subject maybe a little mis leading but i'm guessing this question has probably been asked loads of times before.
i know linux well and am wondering is rooting an android device just the same as having root access on linux so your just logged in as super user?
yep, pretty much the same. allows you to use basic commands thanks to busybox on most ROMs and you can also chroot into a debian ARM installation so you can use debian commandlined, or even with a vnc server

[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 )

[Q] How Android kernel and Virtual Machine work

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.

[Q] TF101 & Arch Linux, does it work?

Hi all,
Is there any info available about installing Arch Linux (ARMv6?) on a TF101?
I see their are Ubuntu-roms available, but it is possible to get this to work on Arch Linux?
Thanks.
beta990 said:
Hi all,
Is there any info available about installing Arch Linux (ARMv6?) on a TF101?
I see their are Ubuntu-roms available, but it is possible to get this to work on Arch Linux?
Thanks.
Click to expand...
Click to collapse
The main issue is the kernel. The latest kernel is the "Rootbind" kernel which I have developed, see this thread, post #3:
http://forum.xda-developers.com/showthread.php?t=2347581
This kernel should work irrespective of the Linux distro you are using.
Then you need a root filesystem for your Linux distribution. This you need to extract into /data/linuxroot under Android. It involves a bit of manual command line stuff, but if you want to install Arch I assume you won't be put off by that
I believe some people have gotten Arch to work on our TF101, although most of the threads are for Ubuntu and Debian. Search this forum, I can see no reason why it shouldn't work. Also, if you have an Arch Linux port for ARMv7 with hard float (armhf) this will be faster than ARMv6. Other than that I can't really help as I haven't used Arch myself.

Installing Linux on chinese android tablet

Hello,
Hopefully can find further help here...
Obtained Keypoon K30s Pro tablet from China. It is running Android 10 as its oem OS. I want to set it up with a linux distro instead of android.
Ofcourse due to exotic make I have not been able to find any threads of information on this topic for this brand tablets.
Only guide so far has been hardware specs...
It is running on Unisoc SC9863a 64bit ARM Cortex A-55 cpu at 10 cores.
10GB RAM
512GB internal storage
PowerVR Rogue GE8322 integrated graphics card
It successfully connects with windows 10 cmd adb bridge.
As I understand, I would need a linux distro img format file to try and boot it from bootloader via ADB, however official sources only offer ISO downloads.
PS I am open to any linux distro which would offer best compatibility to the hardware. From what I can see Debian seems to be a good choice. (as this brand is not
part of the supported device list for ubports of ubuntu touch couldnt get past that either)
Any advice would be greatly appreciated
Thank you
Try this
Andronix - Linux on Android – Apps on Google Play
Andronix lets you install Linux on Android without root.
play.google.com
jwoegerbauer said:
Try this
Andronix - Linux on Android – Apps on Google Play
Andronix lets you install Linux on Android without root.
play.google.com
Click to expand...
Click to collapse
Thank you for reply.
Looks like Andronix is a Linux emulator and backbone still remains Android.
with this also comes certain limitations...
I was looking to completely replace Android with a Linux distro.
Any suggestions?
Android IS Linux tailored to the mobile's hardware
jwoegerbauer said:
Android IS Linux tailored to the mobile's hardware
Click to expand...
Click to collapse
Yes, you are correct there. Andoid is built off the linux kernel.
However, it is still limited in what you can do, you have proprietary bloatware bogging down your device and the biggest issue for me is that google is the manager of it all.
So I am strongly coming from privacy side as well.
I have seen quite a few options similar to Andronix on play store. Correct me if im wrong- they are like a virtual machine on windows..? Not sure how this setup works, if you are able to save your OS state, packages etc, or its a clean slate everytime you fire up the vnc server and connect to the distro of choice...
So I am really interested to see if its possible to fully get rid of android and try linux. (Cant install windows as ARM cpu's are not supported, not that I wanted windows anyway)
Many thanks

Categories

Resources