Install Ubuntu on Android mobile phone

Source: Internet
Author: User

Android is an open-source operating system based on the Linux kernel and is used primarily on mobile devices. Of course, the Linux kernel-based operating system, now supported by Android smartphone theory can run Linux-based operating systems, such as the current popular distribution: Ubuntu, Fedora and so on. Not only that, but now the hardware of the smart mobile device is also more and more strong, more able to run the Linux system provides good hardware support.

Tools/Materials
    • Android Terminal Emulator (terminal emulator): for running shell scripts (can be installed on Google Play)

    • BusyBox: Support for providing shell commands (can be installed on Google Play)

    • Ubuntu image file (available for download on SourceForge website Linux-on-android project group)

    • Bootscript.sh:Ubuntu startup script (available for download from sourceforge Web site Linux-on-android project group)

Method/Step
  1. First of all, your phone needs root access, and root is the prerequisite. No one can get root permissions below to complete.

    Download Ubuntu startup script bootscript.sh visit SourceForge.net website to find a project called Linux-on-android in the home directory can be downloaded to

  2. Download Ubuntu image file in Linux-on-android project where find ubuntu/12.04 here we choose 12.04 Full Download the latest version of Ubuntu1204-v4-full.zip. The downloaded file is 1.4G after decompression has more than 3G.

    Here is a brief introduction to the other versions:

    The full image includes the complete Ubuntu system, which includes the Unity desktop, as well as many commonly used software such as GIMP. Requires more than 3.5G of space.

    The small image contains the basic Ubuntu system, which includes the LXDE desktop, which requires more than 2G of space.

    The core image contains the underlying Ubuntu system, but this does not have a GUI, that is, there is no desktop but a command line.

  3. Install the Android Terminal Emulator terminal emulator software on your phone, and you can search for it on Google Play. We can use the terminal to execute many commands and scripts.

  4. Install Busybox,busybox on your phone it allows you to run a lot of commands in Terminal, such as CP, MV, cut, etc., if you can't run these commands and execute the script, you will be prompted * *: Not found. So installing BusyBox allows these commands to be executed inside the terminal. You can search for installation busybox on Google Play. After installation, open BusyBox Click Install to start the installation, if the pop-up requires root privileges, click Next to allow the line.

    Install BusyBox and later we need root privileges in terminal

  5. Install Ubuntu

    First copy the previously downloaded bootscript.sh and Ubuntu unzip to the memory card new Ubuntu directory, open the Terminal emulator (Terminal), enter the Cd/sdcard/ubuntu at the cursor and then enter into the Ubuntu directory.

    Then we can enter the command "LS" and then enter, you can see the file.

  6. bootscript.sh script requires root permissions to run, in the terminal using the command "SU" to switch to the root user rights, if the authorization information pop-up click on the next step to allow the line, the success of the "$" before the "#", which means that the root permission has been obtained.

    Then run the startup script sh bootscript.sh

  7. Then the script for you to establish a name "Ubuntu" account, here prompted you need to set a password for your account, this password will be in the future when you operate Ubuntu some licensing applications, such as I am here to set the password: "Ubuntu", Note that the password is not displayed in the terminal, you see the cursor is not moving, but in fact you have entered. Enter the password again to ensure that you two times the same password,

  8. After the password setting is complete, prompt to start the VNC service and SSH service, we just enter "Y" and then enter the two services, we can connect to the system via remote connection,

  9. Then prompted us to enter the size of the device screen, my screen is 854x480, so I entered "852x480". Note: There is not a multiplication sign between the two numbers here, but the "x" of the letter "XYZ", which cannot be connected remotely,

    The prompt has started a new desktop that prompts you to save the settings you just set as the default, just enter "Y" to

  10. Remote Desktop Connection

    Remote Connection tool to connect to the desktop to see the complete desktop system. That's when we're going to use the Android VNC Viewer installed in front of us. Press the Home button to return to your phone's desktop and keep the terminal running in the background. Find Android VNC and turn it on, then do some simple configuration. Nickname, for your connection go to a name like "Ubuntu". Password is "Ubuntu". The address is the IP address, here we are on the same mobile phone, so we fill in "localhost", of course, you want to connect the current device on another device that is to fill out the prompt at the start of the location. Port is the segment number, default 5900. What's more important here is the color format, which is the color settings of the connection, it is recommended to set to "24-bit color (4 bpp)", otherwise the picture is too low to be miserable.

    When all is set up, click Connect to connect to the Ubuntu system that we are already running locally,

Install Ubuntu on Android mobile phone

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.