• Installing Linux on a tablet instead of Android. Linux Deploy download for Android. Application for installing Linux on Android

    Most Android users know that this platform runs on the operating Linux systems, but despite this, many of its programs are not available. That is why a great solution is to install a Linux shell called Ubuntu on the tablet. It runs through the Emulator and runs in parallel with Android, providing a wide selection of applications that usually do not load on devices with this operating system.

    Both operating systems can run in parallel

    We'll look at how to install it yourself without help. special applications, using only an emulator and VNC Viewer.

    Installing Ubuntu on the tablet

    What parameters are required for this shell? We need root rights free memory in a volume of 2.5–3.5 GB. Minimum required clock frequency from 1 GHz, support required file system Ext2. As tools that facilitate installation, we need several programs, including an emulator - it will be useful for further launching the software.

    What are root rights and how to get them? They represent administrator rights. In this case, the presence of such rights will allow you to change system parameters tablet, so install Ubuntu without them for Android it won't work.

    You can obtain these rights through various applications, large number which you will find in Play Market. Download one of them, activate administrator rights and then proceed to directly install Ubuntu on your tablet.

    To do this you need to do the following:

    • Login to system settings your tablet and in the “For Developers” section, enable USB debugging mode. If you do not have this function, go to the “About Device” menu and find the line with the build number - quickly click on it 5 times in a row, after which a message will appear that you have become a developer and should appear in the list;

    • Create a folder in the card memory called Ubuntu;
    • Download the script for launch Linux and one of the software assemblies - there are only two of them. The first is minimal, contains only individual, most popular applications and is half a gigabyte in size, after installation it takes up 2.5 GB on the memory card free space. The second is a complete assembly, it has an extensive set of programs, and accordingly, it has original size 1.5 GB and after unpacking it will take 3.5 GB of memory;
    • Next, you should download two programs: Terminal Emulator for Android and VNC Viewer;
    • Open the Emulator application and run the following commands in it:
    1. cd /sdcard/ubuntu;
    2. sh ubuntu.sh.

    Note. Before entering commands, the emulator will ask you to do so upon initial startup, and, of course, you need to agree to this action.

    • Next, you need to provide your screen resolution details and desktop environment type in the same Emulator application.
    • After a few minutes correct installation you will see a message with the text root@localhost:/# - this means that Linux shell was successfully launched in the emulator.

    Running Linux on Android is possible! And you don’t need a device with root rights for this: all the necessary software is available in the official store Google Play. In just 10–15 minutes you can get an operating system that differs from Android in advanced functionality.

    Note: if you follow our instructions, Linux OS will be running in a virtual environment. Android will still work in background. To call such a system complete would be incorrect. However, with the list standard tasks she's coping well.

    Please close everything before installation. required applications and clean RAM Android device.

    1. From the Google Play Store, install GNURoot Debian and XServer XSDL.

    2. Before you start Linux installations make sure your device is connected to a stable Wi-Fi networks. Launch GNURoot. The required environment packages will begin downloading.

    Installation takes from 30 seconds to several minutes depending on the speed of your Internet connection. Ignore the tickers until the following message appears:

    root@localhost:/#

    For those familiar with the concept of “”, don’t let this line scare you: the application will not cause any harm to the device, since it works in a “sandbox”.

    3. Enter the following command:

    apt-get update

    Wait until the packages are downloaded. This will be indicated by the line Reading package lists...Done.

    4. Now enter another line:

    apt-get upgrade

    To the question “Do you want to continue?” enter English letter Y and press Enter. The installation of packages will begin.

    This time the installation procedure will take a little longer. Wait patiently for the installation to complete until the coveted line appears:

    root@localhost:/#

    The Debian Linux environment is installed, and now you can proceed to deploy the graphical shell.

    5. Installing all packages Linux distribution executed with the following command:

    apt-get install lxde

    There is also an option to install the system kernel using the line:

    apt-get install lxde-core

    Confirm the installation by re-entering Y and pressing Enter. The package download process will begin.

    During installation, make sure that all files have been successfully downloaded, and that when unpacking, your device has not run out of free space. Otherwise, the system startup will fail.

    6. To complete the installation operating system You need to download three additional utilities:

    • XTerm - to access the terminal from the Linux graphical shell;
    • Synaptic Package Manager - for managing apt packages and downloading applications;
    • Pulseaudio - for installing sound drivers.

    All three utilities are installed using one GNURoot terminal command:

    apt-get install xterm synaptic pulseaudio

    About 260 MB of data will be downloaded to the device.

    7. Now minimize the GNURoot application and open the previously installed XServer XSDL. Agree to download additional fonts. After the installation is complete, tap on the screen several times (the application will ask you to select the resolution and font size - it all depends on your preferences) until you see a splash screen with a blue background and white text.

    Re-launch GNURoot and enter the following two commands one after the other:

    export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:4712
    startlxde &

    The sequence for further restarting the system (when you want to open Linux again) looks like this: run XServer XSDL and wait for the blue screen, open GNURoot and enter the two commands above, return to XServer XSDL.

    If the terminal complains about an invalid command, return to step 5 of these instructions and try installing a bare kernel. Check the memory status of your Android device.

    8. Now open XServer XSDL, wait a few seconds, and you'll have Linux ready to go.

    To install applications, in the lower left corner, open the Start menu and select Run. Type Synaptic and press Enter.

    In the window that opens, use the search and install the necessary applications. It could be Firefox browser, GIMP image editor, Libre office suite and other Linux-compatible programs.

    Of course, this option for installing Linux cannot be called a full-fledged launch of the operating system on Android. Virtual Linux has several limitations, but when used wireless mice and keyboard (possibly connected using an OTG adapter and a USB hub), you can turn your smartphone or tablet into a laptop with the functionality of an adult OS.

    Many modern users computers or mobile devices have at least heard about an operating system such as Linux. But few people know that the popular mobile phone is also based on this system, famous for its security. Naturally, inquisitive minds had a question - is it possible to install Linux on a tablet? Or on a smartphone? You will be surprised, but it is possible.

    Why is it needed?

    First, let's figure out why you might need Linux on a mobile device. The average average user probably doesn’t need this much, but there are also specialists, for example, developers, administrators and others. Of course, as a main working tool, this is a rather controversial decision. But if we consider it as mobile assistant, which will help out on the road or somewhere far from the main computer, this option has the right to life.

    Yes, and ordinary user Linux can come in handy too. It is always more convenient to have fully functional versions of the software at hand, e.g. office applications, a client for torrent networks and many others. In addition, let’s not forget that this is practically the same operating system as on a computer, therefore, the whole variety of software for Linux, in most cases, will install and work on a tablet without any problems.

    If you are already interested, then now you are wondering how difficult it is to install Linux on a mobile device. You've probably heard about how bearded admins in knitted sweaters configure their machines at night and think that only a select few can handle this process, but this is not so. Firstly, every year Linux becomes more and more user-friendly (apparently, to popularize the system, and this partly works), and secondly, many auto-installers and detailed instructions have been created specifically for installation on mobile devices. And if with the second ones inexperienced user a problem may well arise, but with the first ones, most often everything goes like clockwork.

    How to install and what is needed for this

    So, you still decided to install it on your Linux tablet. What you will need for this:

    • the device itself (the firmware kernel must support loop devices, the clock frequency is at least 1 GHz - all this data can be easily found either in the documentation for the device or on the network);
    • root rights obtained on it;
    • about 4 gigabytes of free memory;
    • Ext2 file system support.

    It should be noted that most tablets meet these specifications, so you shouldn't have any problems.

    After you are sure that your device meets all the requirements, you need to download the system image and installation script. There are quite a few of them, we recommend using Ubuntu Installer as one of the simplest and most intuitive. And Ubuntu itself is quite friendly even to completely inexperienced users.


    There are two versions of Ubuntu images for tablets - a trial version, with a minimum amount of pre-installed software, and a maximum version, focused on everyday use (with already installed office suite, torrent client, by mail program, development tools for several popular programming languages, etc.).

    In addition to the image and script, you will also need a terminal emulator for Android and VNC Viewer. Also, don’t forget to enable it in the system settings.


    The algorithm is very simple - launch the terminal emulator and enter three commands:

    - cd /sdcard/ubuntu

    - sh ubuntu.sh

    After which the script will ask you for a resolution (for example, 1024x768 or another) and, if you downloaded the maximum image, the graphical shell in which you want to work. You have a choice between Gnome and LXDE, on mobile devices it is better to choose the second option.

    It remains to answer a couple more requests: login/password (ubuntu/ubuntu), IP address (localhost) and port (5900). Done, in front of you full Ubuntu with LXDE shell.


    The advantage of this installation method is that it requires the least number of actions from the user and does not install Linux instead of Android, but imitates it. Of course, there are ways to install Linux as a second system or replace the “green robot” altogether, but to get started and get acquainted with the possibilities, the method described above is more than enough.

    November 12, 2011 at 03:17

    Transmigration of the soul: linux on an android tablet

    • *nix

    Good day everyone.

    My story begins with reading, after which I decided to purchase a miracle of Chinese tablet manufacturing: a superpad. This tablet was taken as a toy for “digging a little”, part-time, a reader, a game for pairs and a watch on a long journey... I’ll immediately note that I have two USB hard drives of 500 GB and 1TB, on which everything that is most important for a fun life is stored , and they are split into ntfs and ext4. And, naturally, the tablet does not see them.

    Here's my volunteer

    This is the first reason to dig deeper. After viewing 200 forum pages on xda-developers.com, certain

    On at this stage All attempts to open this tablet were shelved. Until the glorious time for the student - the session. And since during the session students do absolutely everything, as long as they are not in the subject, the fun night gatherings on the Internet on obviously bourgeois sites have resumed. And the brilliant idea came to put on this tablet Orthodox linux, in my case - ubuntu.
    What came out of this, see below.

    It’s clear that you can’t just pick it up and install it... well, where did ours go...

    We will need:

    Let's look at the main stages android downloads and linux
    1.Power on and boot ROM code execution Power on and boot ROM code execution
    2. The boot loader The boot loader
    3. The Linux kernel The Linux kernel
    4. The init process The init process
    5. Zygote and Dalvik console(bash, zsh...) / wm(kde, gnome...)
    6. The system server Boot completed
    7. Boot completed

    As you can see, the differences start from the init execution stage.
    It's the easiest thing to change.

    I’ll write honestly, I thought that you could only use the Android init and that it was tightly screwed to the kernel. And even after receiving an example of a working ramdisk from another tablet, I didn’t think it would start...

    ramdiska contents
    bin dev etc home init init.rc lib linuxrc mnt newroot opt ​​proc root sbin sys tmp usr var
    In /bin there is busybox, in /sbin there is switch_root with a link to it.
    Init code from ramdisk from zt-180

    #!/bin/sh echo Starting from initram image. Echo Waiting for SD-CARD wake up... sleep 3 echo "Mounting new rootfs" mount -t ext2 /dev/mmcblk0p2 /newroot && echo OK echo Hold on, switching root... exec switch_root /newroot /sbin/init echo hrm, have a shell instead exec /bin/ash

    All that remains is to flash the ramdisk into memory (I used burntool under xp) and - voila, the boot stage. Yes, I flashed the firmware instead of recovery, so to start Linux you have to hold down the keys at startup.

    So, the loading stage has been completed and you should be patient, since the console shows no signs of life, and everything loads quite slowly.

    Setting up autologin for the first console
    In /etc/init/tty1.conf replace the last line with exec /bin/login -f Yor_Login< /dev/tty1 >/dev/tty1 2>&1 then in your ~/.bashrc you can write commands that will start during automatic login.
    We are fighting the X-server
    For me it definitely didn’t work well with the touchscreen, xorg.conf and xterm... I removed the synaptic driver and put the following in ~/.xinitrc:
    #!/bin/bash # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ # /etc/X11/xinit/xinitrc # # global xinitrc file, used by all X sessions started by xinit (startx) # invoke global X session script #. /etc/X11/Xsession xclock -geometry 50x50-1+1 & exec xterm -geometry 80x66+0+0 -name login
    Fighting the work environment
    I wanted to install kde because I really like the graphics rendering with the qt library. I’ll say right away: yes, it installed and started, but HOW...
    First, I immediately set up autologin:
    in /etc/kde4/kdm/kdmrc we find and change the following to suit ourselves
    AutoLoginEnable=true # If true, auto-login after logout. If false, auto-login is performed only # when a display session starts up. # Default is false #AutoLoginAgain=true # The delay in seconds before automatic login kicks in. # Default is 0 AutoLoginDelay=3 # The user to log in automatically. NEVER specify root! # Default is "" AutoLoginUser=Login # The password for the user to log in automatically. This is NOT required # unless the user is logged into a NIS or Kerberos domain. If you use this # option, you should "chmod 600 kdmrc" for obvious reasons. # Default is "" AutoLoginPass=Password
    and, as written, we do chmod 600 kdmrc in the console under root, so that bad people don’t spy on our password.
    Secondly, at the entrance the screen saver hung for a suspiciously long time, and I, having doubts, called startkde from the console. After a long and tedious display of all sorts of errors, the plasma finally loaded in netbook mode. Graphic effects are turned off, since we are sitting under a framebuffer, and in some places there are wild slowdowns, but still this is kde and it has loaded!
    Fine-tuning everything to suit you
    Each has its own, I haven’t done any optimization yet, but there’s a lot to be done: speed up loading, optimize the workspace. I’m looking towards a more lightweight wm – e16 – but haven’t made it the main one yet. you also need to calibrate the touchscreen, fortunately virtual keyboard already available in kde.
    I'm looking towards openbox +

    As an inveterate lover of OS Linux, I would of course like to have a phone with this operating system. But unfortunately you can’t find such a phone in a store. But still there are craftsmen who manage to install Linux on the phone.

    To do this, they create special firmware, usually for specific model phone. In this case we have regular phone, where you can buy spare parts if you need anything, and if something doesn’t work, return the phone to its original appearance.

    What phone models can, for example, install Linux on? The website www.linuxmobile.org has firmware for at least several models. These models can be equipped with firmware based on Android. If you didn't know, Android is also Linux.

    What phones can you install it on? Linux?

    Motorola Atrix Motorola Razr HD Cyanogen Mod 10 Cyanogen Mod 9 Cyanogen Mod 7

    Perhaps one of these models is in your store and you can buy this phone and install Linux on it. What will it look like? This is what stripped down Android looks like Linux on the phone:

    Of course, the developers warn that you use these firmware at your own risk, and this is understandable. But on the other hand, would an ordinary user undertake to install Linux on a phone? He simply doesn’t need it, this is the lot of people who are well versed in the topic. Yes, it would be great to install on my old one Linux phone, it’s a pity he’s not on the list….

    Linux on a tablet - is it worth installing?

    Linux on a tablet is the dream of many Linux lovers. I wrote some time ago that they had already made a tablet with Ubuntu, but so far in small quantities and buy a tablet with Linux today is not so easy. But this is just the beginning, as there is no doubt that there will be new products in the future mobile phones and tablets will increasingly use Linux on their devices. But today everyone can install Lynx on a tablet, if they are familiar with Linux, of course.

    The first question that arises for those who want to load Linux on a tablet is the question of which Linux to install? Here you should immediately take off your rose-colored glasses: any Linux that you install on regular computer, cannot be installed on the tablet.

    The fact is that most tablets today are made based on processors that have an ARM structure. Therefore, the easiest option to install Linux on your gadget is to buy a tablet with the usual x86 architecture. Finding such a tablet is not difficult, since it will most likely have Windows 7 or something similar pre-installed on it. By purchasing such a tablet, you can install any Linux on it.

    But finding such a tablet today is not so easy, and even if you find it, you may not like it in appearance or characteristics.

    Running Linux on Android

    What is the way out? And there is only one way out: find OS Linux, which has already been ported to ARM processor. There are not many such developments today, and one of the options is Kali Linux. But this is only one of the options. If you type in search engine the phrase " Linux ARM", you can see which Linuxes are already running on this processor. Here are some of them:

    Arch LinuxARM Debian Linux on ARM Ubuntu Linux on ARM Gentoo Linux on ARM

    So you have a choice and you can try installing Linux on your tablet. But I have a question: is it ported enough? Linux programs for this platform? Is the game worth the candle? After all, it’s not enough to just port Linux; it’s also important to port applications for it.

    In general, I admire the abundance of applications for Android, which are no less numerous than for Linux. And I would like to see many of them in Linux. But won’t it turn out that by installing Linux on my tablet, I will deprive myself of this variety of applications that Android has?

    In general, you need to think a thousand times before installing Linux on your tablet. Maybe his time has not come yet?

    18+ © Seclub.org 2003-2018

    In this article we will tell you in detail how to install Linux to an Android device. For installation and full-fledged work alternative system you will need: a smartphone or tablet, a software emulator, root rights and several gigabytes of free space.

    1. Installation applications complete linux installer

    Enter into the menu Google search Play the word “emulator” and get a list of several tens or so identical utilities. They are all good, but we focused on the Complete Linux Installer application. It is completely free, perfectly localized and equipped with detailed instructions for beginners.

    The program can be downloaded from http://goo.gl/5C6Xa. The installation algorithm for Complete Linux Installer is no different from installing any other software, so we will not dwell on this point.

    2. Working with the Complete Linux Installer application

    Before starting to work with the program, I would like to emphasize once again: what we are describing in this article is not installing Linux instead Android, but emulation of the operation of one system in another.

    So, launch the application and agree to install additional software components. It is working with these modules that will subsequently make it much easier for you to use the Linux operating system.

    As mentioned earlier, Complete Linux Installer requires root rights, which the application will remind you of in a pop-up window.

    We provide the program full access to the system functions of the mobile device.

    This completes the initial preparation of the emulator for operation. The main application menu will open in front of you. Go to the sub-item “Installation Guide”.

    The emulator will scan the hardware of your gadget and display a list of operating systems that are guaranteed to run on your device. mobile device. We choose Ubuntu 13.10 as an example.

    From this moment on, the program begins to “guide” you through the stages of installing the operating system, accompanying each necessary action detailed instructions. For example, after reading the emulator requirements in the first step, be sure to install “Terminal” and “VNCViewer” in the second. Only after this select “Download image”.

    Read the description of the differences between distributions of the Linux operating system and choose the one you need.

    Create at the root external storage gadget folder with the name future system. This will make the search much easier for the program. necessary files. In our case, we create the “ubuntu” directory. Unpack the downloaded archive into this folder.

    As a result, two files should appear in the “ubuntu” directory. One of them is with the .img extension.

    Is it possible to install Linux on a phone?

    This is the image of the Linux system being launched.

    After completing these steps, go to the “Launch” sub-item of the main menu of Complete Linux Installer and click the auxiliary menu “Settings” in the right top corner windows. By selecting the “Edit” option, provide the application with the full path to executable file systems. Confirm your choice by clicking on the “Save Changes” button.

    This completes the next stage of installing an alternative operating system into the memory of your gadget. Feel free to select the “Run Linux” option.

    The application will launch a terminal in the background to run test commands and request root access to the device's system functions. We allow it.

    Now your smartphone or tablet will be able to work as an emulator of the Linux operating system and you will have access to all the capabilities of the operating system with a penguin on the logo - from executing simple commands in the terminal to installing a full-fledged graphical environment. Linux installation on Android is complete.

    Why :

    So this is so that you clearly understand the difference between an actively developing system in a relatively highly profitable market and a decaying platform for hairdressers.

    It’s just that Android has a lot of things and actively uses interfaces in the form of file systems.

    Well, it happens.

    Is it possible to install Linux on a phone?

    Development always comes through mistakes.
    Maybe just not do this?

    Yes, anywhere. This is more of an android question than a unix forum question. The absence of lines in fstab does not prohibit mounting simply by command.