How to Install and Run a GNU/Linux OS on Your Android Device

Your Answer

10 Android Apps for Linux Server Admins
If you install rsync, for example, you can use this powerful and flexible tool to back up files on your Android device to a remote server, and thanks to the supplied SSH server, you can access your Android device via an SSH connection. Published May 03, Last updated Jan 18, So I guess it should be technically safe. And that's the way I connect to internet. How to check if ruby have installed on gnuroot debian? This will bring you to the options menu. No route to host I am not able to spot the reason of this No route to host.

“Linux” vs. The Linux Kernel

How to install a Linux desktop on your Android device

Device or resource busy. Installed on HTC Desire HD with a custom kernel, works great, the only issue is that the keyboard is way off, how did you fix that? I dont understand where to put it…. Can you please help me the keyboard still isnt working I type one letter I get another.. For example I type test and it puts in nnpd.

Could you help me with the keyboard? Where do I find the xstartup file? As you wrote it, it looks like you have to do this in cmd. How do you do that? Great guide, is it possible for you to upload just your scripts without the. Would be much appreciated, thanks. On Nexus S i got it to work by modifying bootubuntu. I have failed on the step where you write bootubuntu. It writes , that bootubuntu not found. Can you say exacty how to make a kernel with loop support?

As Ubuntu is Debian-based, the instructions are very simmilar. In brief, what I did is to use a application called debootstrap on a pc running linux to create an installer on a ext4 external sdcard which I later plugged to my tablet to complete the installation.

After that, I installed other programs just as it is done n this page including openssh, lxde and tightvncserver. If my tablet is same model as yours, you should be able to do the same. In order to use debootstrap and give the necessary format to the sdcard, a computer already running linux is needed, so I burned an ubuntu live cd to boot my windows pc with ubuntu temporarily.

Use GParted it comes with the standard applications in an ubuntu livecd to create one partition with ext4 filesystem in the sdcard. It is also possible to create other partitions; in my case I created a Fat32 partition to store data accesible to android also. Next, to install debootstrap be sure to have an internet connection in ubuntu and type in a terminal:. Packages are downloaded and extracted to the newly created debian folder of the sdcard.

Notice that I used ubuntu to create the installer for debian. If you want ubuntu, you should instead write. This was the main instalation. Next, I wanted a script to automatize the log in in the future. I created a text file named debian with the following contents:. Next time, to login debian or ubuntu , in the terminal emulator navigate to the folder containing this script and type. From now, all the rest is installing other useful programs openssh, lxde, tightvnc, whatever you might want , as described above in this page.

It just hangs, leaving the cursor right at the end of exit, never giving me a new line.. Hi Thank you very much for this excellent article on installing Ubuntu on Android tablet, Would you be able to do another article with the video on how to install Ubuntu from inside Ubuntu desktop to Android tablet. I will be posting the article on my blog as well with your permission. I also get device or resource busy. I tried changing loop1, loop7, loop9. No such device mount: I was able to get this to run on my G2x but no internet related application will open.

Has anybody ran into this and has fixed it? Needed 1 day to figure out that Android does not have all Linux commands needed to run installation. Can someone point a beginner in the right direction? Hello, Thanks a lot for a wonderful article. It worked fine on my Android Tablet PC. But it is not detecting the usb devices attached to the device. Can anyone provide solution to my problem. I tried this guide. Works perfectly on my Samsung Galaxy S 2. Only problem i have is that vnc and openssh settings are not saved.

It works perfectly during the first install. But if i turn the phone off, all the settings are lost and can not connect using androidvnc. How do i save the settings. Hey admin its very important question can the ubuntu run on samsung galaxy 3 with android 2.

Please answer its urgent. Im already but only thing I want to know is will it function properly on my galaxy 3 with only Mhz of processor and mb of RAM? Please answer im eagerly waiting. Is there any way to run ubuntu without running android? Like in a computer, ill try to install it on a Motorola Xoom w. First of all, great work! Do you think it is possible to use the latest ubuntu release I have a Motorola Atrix and Im thinking of putting Ubuntu on the external sd card.

Will ubuntu files with the apt-get files actually get installed in the system or on the external sd card? I currently run ubuntu I did all of the steps, correctly as I believe. Thanks for the tutorial anyway, I hope much people will use it, ubuntu on a smartphone is just awesome: Jimmy, did you find the problem??

I still just get a grey screen with black crosshair whereever I touch my screen, guessing my pointer. Jummy, Did u resolve this? I am having the same issue on my Nexus one. Please let me know if u were able to solve this, Really appreciate any help. I had to make quite a few changes to this to get it to work on my Samsung Galaxy SII but these instructions were very useful.

The other issue I faced was the bootubuntu script. I had to change several things about this. With these changes, it now seems to work fine. Finally, I notice that this is Karmic, which is pretty old now so I shall be having a look to see how to create a Natty Narwhal image.

Thanks for the instructions. I appreciate that it is next to impossible to write a script that works perfectly on every phone but there was enough here to enable me to get this working well.

No such file or directory sysctl: Can you add some mirrors for it? Install Busybox first http: I got it to work by doing the step after first. I got this working today on my cheap little Haipad MR. Running X as root is never a good idea. Great job I like to do it on my SuperPad 3. But one question, if i have to do it throw Android SDK?

Seems theres no support for loop devices in it. How can i add this now whitout having to flash an other rom? I need to keeo the original one, so i guess i have to change it. Thanks for any help. Sript run is OK, i get the same screen as step 11 But after bootubuntu i get message: Using his busybox on my LG Vortex, it fixed the permission problem, chroot problem, ext2 problem I had with other versions, and loop problems that occured. Hello, Just how well does ubuntu run on smart phones?

Is it fairly straightforward to access the hardware of the phone — audio, camera, wireless etc. Cheers and thanks for the information. Ended up having to SSH in and update my busybox to get it to work but it was relatively painless and smooth. Thanks for the guide! How does the device function with Ubuntu installed? If so, is it accessible at the same time Ubuntu is? I know you mentioned Ubuntu runs on top of Android…. I had to do massive updates on the java sdk since it was a fresh install and while it was doing that I did most of the access on the phone itself.

Anyone knows how to fix this? Galaxy S xxjvp 2. I cannot connect the android vnc viewer to I did everything according to procedure given in your post. Hi there just 2 quick questions is there a faster mirror the download on the page fails halfway through for me or times out. Acer A works flawlessly. Can install using terminal app on tablet. Installed Zenmap and Etherape, both work flawlessly.

Thanks alot… I tried installing this on Notionink Adam and this is working great. Is there anyway we can increase free size on the loop drive? I tried increasing the size of ubuntu. Any help on this will be very much appreciated. Thanks so much for this code and tutorial. Is it possible to compile a driver for usb fingerprint scanner inside the Ubuntu-on-android?

I tried to do make, but it gave error, missing headers. It seems the kernel version shown in uname -r is the android devices kernel. How to know which ubuntu kernel its running? Then i can reinstall that kernel headers and try again. Operation not permitted clear: Ubuntu Chroot Bootloader v0. Hi admin I had problems first with bootubuntu, but now it works!

But when I type apt-get update, I get: I then tried installing it manually from the market and found i supposedly had v1. Microsoft Windows [Version 6. Operation not permitted chmod: Device or resourc e busy mount: No such file or dir ectory mount: No such file or director y mount: No such file or director y net. Shutting down Ubuntu umount: No such file or directory umount: Guess my shortcut will be to try to open my existing ubuntu. I installed busybox already, and I did perfect cource.

No such file or directory how can I fix it? I got it working on my Tablet Olipad Why is the download so freaking slow could we get a torrent? Your email address will not be published. You may use these HTML tags and attributes: Notify me of followup comments via e-mail.

Currently you have JavaScript disabled. In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page. Click here for instructions on how to enable JavaScript in your browser. How to Install Busybox on your Android!

How to Install Ubuntu on Android! Posted on February 1, by admin. Windows First, download the following Ubuntu. Then go into platform-tools directory: How to Install Programs on your Ubuntu! And you should be able to get into your Ubuntu like this: Troubleshooting Ubuntu not running?

Some index files failed to download, they have been ignored, or old ones used instead. This will update the Ubuntu sources. Final Thoughts As said in the video, there will be a lot of improvements in the speed of Android devices in the near future. February 4, at 6: February 8, at 6: I loved the post, could you please tell me if this trick might work on the Samsung 5 Galaxy? March 28, at May 11, at 8: Any phone running an Android version older than 4.

Yes, you read right! So, my advice is to skip this option. There are plenty of options for getting some kind of desktop environment up and running on your device without having to root. There are a bunch of apps out there that seek to emulate a desktop environment. My favorite is Multiscreen Multitasking seeing as I made it… This is an app that builds lots of small utilities into a single app and then puts them inside draggable windows.

Basically, it just lets you open up webviews and edit texts and then drag them around. Though I did make a file manager and include the option to load up widgets and use them like mini apps inside windows.

You can also do some other stuff, like open the source of a website or save it as an editable image file and draw on it. Multiscreen Multitasking is old now.

I actually made this in Basic4Android! One day, I intend on rebuilding this app with full Docx support, sheets and a nicer UI. Old now but it was a good idea I thought at the time…. Frustratingly, another developer has actually done the same thing slightly better with Leena Desktop UI. This is the very same concept but it is a bit more attractive and the browser supports Google Drive and Google Docs — so you can actually get some work done!

Sentio is similar and there are other options out there… but I still did it first! To be honest though, floating apps tend to be a little fiddly to use and no replacement for a true desktop. As you can see then, there are plenty of options for getting some kind of desktop environment up and running on your device without having to root.

Of course, if you have the new Samsung S8 then you can try using DeX — though that requires an external monitor until someone figures out a hack at least. Another option is to stream your desktop PC using software like Splashtop Remote. This relies on your PC being on and your connection being strong however. Either way, there are plenty of options and you should be able to find something that works for you with minimum compromises.

All this pales in comparison though to installing true desktop Ubuntu on your Android device! So, without further ado…. For this to work you will need a rooted Android device. Open up Linux Deploy and make sure it has root access. Now hit the small download button on the top or bottom right of the screen. This will bring you to the options menu. You can try them all or you can do a little research and choose whichever you like the looks of most.

Down the bottom you can also choose which Desktop environment you like, which will change the look and feel of the app.

What is Linux?