UPDATE: This is for older Honeycomb, please do not try on ICS! (Will have an updated version soon!)
Do you have by random a Galaxy Tab 10.1? Did you know that you can run Ubuntu OS side by side along with Android OS? Linux OS can run pretty smooth on Galaxy Tab 10.1.
Galaxy Tab 10.1 is considered as the perfect device to run Ubuntu. In this post, you are not going to learn how to replace Android OS completely but to install and run Ubuntu in the background or like on a virtual machine along with Android OS.
You may ask:
Table of Contents
Why should you want to run Ubuntu on Galaxy Tab 10.1?
Android is based on Linux and it’s very similar to it, but still you can not run native Linux programs on Android. So if you want to run applications that work only on Linux, you should install a Linux OS. By installing Ubuntu on your Galaxy Tab 10.1 you will be able to run Linux programs.
This may sound a stupid reason if you don’t like Linux OS but for a huge community out there this a big deal. There are many people who use Linux nowadays for various reason, so having the chance to run it on a Tablet can be huge.
Also, it could be fun to have two operating systems on the same device. You can use it for various reasons such as educational purposes and much more. So without further ado let’s learn how to install Ubuntu on Galaxy Tab 10.1.
How to install Ubuntu on Galaxy Tab 10.1?
First of all, you need a rooted phone. If you haven’t rooted yet, here is a cool infographic with the best rooting tools.
Also, you should have a Custom Recovery installed on your device such as TWRP or CWM.
Insall a File Manager like Root Explores or ES File Manager. Both free on Play Store.
Download the right files
Download ubuntu.zip and unzip it. You should get a folder named “ubuntu”
Download and install Android SDK on your computer and install adb drivers.
Get busybox on your Android device.
Step 2:
Copy the ubuntu folder you downloaded and unzipped earlier over to root folder of the Galaxy Tab 10.1
Step 3:
- Open a command prompt window. Go to START > Search > Run > and type ‘cmd’
- For Linux and Mac, open a shell.
Type the following code to enter adb directory:
-
cd \adb
Then type this code”
-
adb shell
Your Galaxy Tab 10.1 should be now in shell. If not then you should install the proper USB drivers for Galaxy Tab 10.1.
After the device is in shel type the following code:
-
cd /sdcard/ubuntu
Next type:
-
sh ubuntu.sh
You might get errors but there is nothing to worry. Go further and type:
-
bootubuntu
If you get Ubuntu Linux shell at this point, you’re done. Ubuntu is running on the background of your Galaxy Tab 10.1.
The next step now is to install some Ubuntu packages and VNC Server for GUI.
Step 4:
Type the code below:
-
apt-get update
It will update all the packages. Another optional step is to install SSH by typing:
-
apt-get install openssh-server
Now we should set up a VNC server so we can visually access our Ubuntu Gnome dektop. Type the following code in the command prompt window:
-
apt-get install tightvncserver
To install tightvncserver type:
-
export USER=root
and after that type:
-
vncserver -geometry 1280x800
You can set up the VNC server password here. It starts the VNC server and you can log in using any VNC program from a computer or from your Galaxy Tab 10.1.
Step 5:
The next step is to log in to Ubuntu on the Galaxy Tab 10.1. To do this download “Android VNC Viewer”. Set the IP address to “127.0.0.1”, enter the password you put earlier and set the port to 5901.
Congratulations! You should now be using the Ubuntu desktop. To get the best of it, you can use a bluetooth mouse and keyboard.
How to fix keyboard issues
When you connect a bluetooth mouse, it may encounter problems and below you will learn how to fix it.
Type the code:
-
cat > $HOME/.vnc/xstartup
Then copy and paste the code below:
-
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” & #x-window-manager & export XKL_XMODMAP_DISABLE=1 /etc/X11/Xsession
Then click Ctrl + D two times and press the Enter button.
Basically I added the line “export XKL_XMODMAP_DISABLE=1” before “/etc/X11/Xsession” to fix the keyboard mapping.
Also you can edit the file $HOME/.vnc/xstartup with your favorite text editor too.
Note: You may have to reboot your device and start Ubuntu again.
How to restart Ubuntu on Galaxy Tab 10.1
When you turn off you device completely and reboot, also you need to restart the Ubuntu if you want to use it. To do this type:
-
adb shell
Then simply change the directory to ubuntu:
-
cd /sdcard/ubuntu
Next run:
-
bootubuntu
Just to make sure kill the instances of VNC server.
-
killall Xtightvnc
Then run the following command:
-
vncserver -geometry 1280x800
Be careful to use a small leter “x” because sometimes when you copy and paste it changes.
Until now, only browser is a bit laggy but everything works. It might be a bit slower but it really works. Maybe when the device will come with better specs, like dual core 2Ghz processors, Ubuntu might run smoother.
Related posts
7 Online Tools To Record Lectures [2023]
The educational environment seems a lot different compared to a few years ago, with technology bringing major changes. Are you as a lecturer or a learner up to date with the apps and software that can make your life a little easier, for example catering…
Should You Take Mobile Security Seriously? Here Is Why
Gone are the days when the biggest security threats only existed on your computer. Most people think that a cell phone can be a safe space for personal, financial as well as confidential data. However, nowadays with the extensive use of cell phones for literally…
The Best Android Apps To Download This Year [2020]
As our mobile phones have become an essential part of our lives in this technologically advanced world of ours, we have found more ways in which we can use them. Some people stick to the traditional methods of calling and texting, while others venture into…
The Best Photo Editing Apps That You Need to Increase Your Instagram Followers
Instagram is probably the most used social media network nowadays. For some people, it’s just a simple a place to share photos and try to impress the other with the “good life” they have while some others have discovered the power of Instagram and run…
Comparison Of Smart Watches – Apple Watch 8 vs Google Pixel Watch
Since the introduction of smartwatches in the market, people have started to rely more on them because of their convenience. You can use smartwatches to receive notifications, make and receive calls, and access various apps. Smartwatches are not just about looking at the time; they…
Why You Should Use a Personal VPN on a Daily Basis
Personal VPN is one of those technologies which is gaining more and more popularity and importance from day to day. Generally, VPN (Virtual Private Network) was designed to get a secure connection for business purposes mainly. Now, the role of VPNs has changed a lot….
Best Instagram Usernames For Boys and Girls To Get More Followers in 2019 (Updated)
If you are an Instagram user, you have to agree that there is nothing as cool as a catchy name. The importance of a good and unique Instagram name is something that can’t be ignored. The username determines who follows you, the comments that are…
How IoT is Influencing App Development
As you leave your office for the day, you tap an app on your phone and start your car. Another app allows you to turn on lights at your house, maybe even get dinner started. Welcome to IoT, the Internet of Things, in which an…