当我看到tiny core linux的时候,我第一印象就是:这小家伙一定可以跑在android上;

然而,让我惊喜的是,ubuntu早已经跑在android上了!

参见:

http://galaxytabhacks.com/galaxy ... y-tab-10-1-tabuntu/

How to Install Ubuntu Linux on Galaxy Tab 10.1!

Video demo of Ubuntu on Galaxy Tab 10.1:

For those of you Ubuntu lovers out there, if you did pick up a Galaxy Tab 10.1, did you know you can run a Ubuntu OS running side by side along with your Android tablet?

Well, this has been done many times on other Android smartphones before but certainly the Samsung Galaxy Tab 10.1 is a perfect device to put Ubuntu, let me introduce you to “Tabuntu”.

What we are doing here isn’t replacing Android OS completely but Ubuntu runs in the background “chrooted” or like a virtual machine.

Why would you want to run Ubuntu on Galaxy Tab 10.1?

Although Android is very similar to Linux (and is based off Linux), you cannot run native Linux programs on Android. By introducing Ubuntu to Android, you can run existing Ubuntu applications on your Galaxy Tab 10.1. For most, this isn’t a big deal but for a little community called Ubuntu, this could be huge.

Besides that, having Ubuntu run on Android could be very useful for educational purposes like for college, so you can have Android and Ubuntu running both at the same time.

And lastly, “why not”?

Step 1 – How to Install Ubuntu on Galaxy Tab 10.1!

Anyways, here’s how to install Ubuntu on your Galaxy Tab 10.1 or any other rooted Android tablet device.

First, you will need your Galaxy Tab 10.1 rooted, you can follow our step-by-step instructions on how to root your Galaxy Tab 10.1 before we begin.

Step 2 – Download Files you will needDownload ubuntu.zip below and unzip it, you should get a folder called “ubuntu”.

Download ubuntu.zip

Mirror 1:

Download ubuntu.zip

Mirror 2:

Download ubuntu.zip

If you don’t have Android SDK, just download this adb.zip, unzip it, and put it in the root folder of your computer. E.g. Windows, put it in c:\ so you will have c:\adb directory. For other operating systems, you can get ADB by downloading the Android SDK for your appropriate operating system.

And you need to download busybox files:

Download busybox file

Step 3 – How to Install Busybox on Galaxy Tab 10.1!

If you’ve already installed Busybox, you can skip this step.

Otherwise, you need to install Busybox on your Galaxy Tab 10.1.  Copy over the su-busybox-misc-sam-tab-10.1-061611.zip to the root folder of your Tab 10.1, run Clockwork Recovery, then flash the zip file.

Here’s a video tutorial you can follow on how to install Busybox on your Galaxy Tab 10.1:

Step 4 – Copy Ubuntu folder into Tab 10.1!

You need to copy over the ubuntu folder you unzipped earlier over to root folder of your Galaxy Tab 10.1.

Step 5 – ADB shell and Run some scripts!

Open up a command prompt/shell by typing “cmd” under Start->Search for Windows.   For Linux/Mac, open a shell.

Go into the adb directory (or your SDK directory) by typing:

cd \adb

Then type:

adb shell

You should be now in shell of your Tab 10.1, if you don’t, you didn’t install the Tab 10.1 drivers correctly. (You can download Tab 10.1 drivers and install them.)

Next type:

cd /sdcard/ubuntu

Then type:

sh ubuntu.sh

Don’t worry if you get errors and type:

bootubuntu

If you get a Ubuntu linux shell at this point, congratulations, your Ubuntu is now running in the background of your Android!

Step 6 – Install some Ubuntu packages and VNC Server for GUI!

Type:

apt-get update

to update all the packages.

*Optional – You can also install SSH access by typing:

apt-get install openssh-server

Next, let’s setup a VNC server so we can visually access our Ubuntu Gnome desktop.

Type:

apt-get install tightvncserver

to Install tightvncserver

Then type:

export USER=root

and:

vncserver -geometry 1280×800

You can set your VNC server password here.

This starts our VNC server and we can log into it using any VNC program from a computer or from our own Tab 10.1

Step 7 – Login to your Ubuntu on your Galaxy Tab 10.1!

To login from your own Tab 10.1, download the free app “Android VNC Viewer” off market.

Set the IP address to “127.0.0.1″, enter the password you set earlier, then set port to 5901.

You should be now seeing the Ubuntu desktop.  If so, congratulations!

Now, you can hook up bluetooth mouse and keyboard to make it a fully-functional Ubuntu desktop.

How to Fix the Keyboard Mapping!

When you connect a bluetooth mouse, it might be a bit off, here’s how to fix it.

Type this:

cat > $HOME/.vnc/xstartup

Then copy and paste the 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 hit Ctrl+D twice and hit Enter.

Basically I added the line “export XKL_XMODMAP_DISABLE=1″ before “/etc/X11/Xsession” to fix the keyboard mapping.

You can also just edit the file $HOME/.vnc/xstartup with your favorite text editor too.

*Note – You might have to reboot your device and start Ubuntu again.

Extra – How to Reboot/Restart your Ubuntu!

When you turn off your Tab 10.1 completely and reboot, you need to restart your Ubuntu if you want to use it.

Type:

adb shell

Then change directory to ubuntu:

cd /sdcard/ubuntu

Then run:

bootubuntu

Then kill instances of VNC server (just to make sure):

killall Xtightvnc

Then:

vncserver -geometry 1280×800

Make sure you use a small-case “x”, sometimes when you copy and paste, it will change!

Final Words

For now, Ubuntu’s browser seems a bit laggy but still usable, I would say it’s only a bit slower than Atrix’s own WebTop.  In another year or so when they come out with 2Ghz+ dual-core processors, I think Ubuntu will be very usable.

Credits

Thanks to DroidBasement for the Busybox zip file.

You can check out my original guide on how to put Ubuntu on Android at AndroLinux.com too.

In the meanwhile, I am going to see if I can take out all the unneeded packages from Ubuntu and perhaps add some optimizations.  If you want to help, don’t forget to leave your tips in the comments line!

安卓平板安装桌面linux,在Android平板上安装Ubuntu Linux相关推荐

  1. 安卓手机chroot linux,在Android设备上安装 GNU/Linux Chroot 环境

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 3-安装与配置系统 3-Install and Configure system 因为是chroot环境,系统不用启动,所以过程比安装ARCH(x86)更 ...

  2. 安卓设备刷linux发行版,绝对精华,大牛教你在Android系统上安装linux发行版

    Install linux distribution (Debian/Ubuntu/Kali Linux/Fedora/openSUSE/Gentoo/RootFS/Arch Linux) on An ...

  3. android设备安装kali,在Android设备上安装Kali Linux基于Android设备的Kali Linux渗透测试教程大学霸...

    在Android设备上安装Kali Linux基于Android设备的Kali Linux渗透测试教程大学霸 基于Android设备的Kali Linux渗透测试教程2 Android是一种基于Lin ...

  4. 用Linux Deploy在Android手机上安装Linux

    每小时进行5分钟的活动,能降低患上许多致命疾病的风险.--<程序员健康指南> 简介 使用Linux Deploy唯一的好处就是可以充分利用废弃的手机,而且手机具有省电,便捷的特点.安装了L ...

  5. 绝对精华,大牛教你在Android系统上安装linux发行版

    Install linux distribution (Debian/Ubuntu/Kali Linux/Fedora/openSUSE/Gentoo/RootFS/Arch Linux) on An ...

  6. linux安装debian桌面,在Debian 10 Buster上安装Cinnamon桌面环境的方法

    在本文中,我们将介绍在Debian 10(Buster)操作系统上安装Cinnamon桌面环境的方法.安装Debian 10 Buster之后,可能需要将桌面环境更改为你喜欢的桌面环境,默认安装搭载G ...

  7. Linux下Android ADB驱动安装详解

    Developing with cocos2d-x for android on Linux http://blog.plicatibu.com/developing-with-cocos2d-x-f ...

  8. 电脑端Android模拟器安装使用教程,如何在电脑上安装安卓软件

    电脑端Android模拟器安装使用教程,如何在电脑上安装安卓软件 如今说到什么智能手机最火,那很多人肯定会说android系统的手机.如果你还没有Android手机,又想买一部试试,可是价格都不便宜, ...

  9. mac装linux fedora,桌面应用|在 MacBook Air 上安装 Fedora 26

    (写本文时)距离 Fedora 26 测试版发布已有几天,我认为是时候把它安装在我的 13 寸 MacBook Air 上了. 我这个 MacBook Air 的型号为 A1466 EMC 2925, ...

  10. 使用Linux Deploy在android手机上部署Ubuntu

    使用Linux Deploy在android手机上部署Ubuntu 准备工作 一.安装BusyBox 二.使用Linux Deploy安装Ubuntu 1.修改设置 2.修改配置 3.分区安装(镜像安 ...

最新文章

  1. javase-线程生命周期
  2. sql挂起小工具cleanup_SQL注入的攻防策略
  3. 基于MapWinGis的开发探索(三)--改善缩放、渲染、显示文本
  4. python学习笔记--理解生成器
  5. ContextMenu长按事件
  6. android 输入支付密码错误,Android 支付宝支付密码输入界面
  7. javascript 获得本地 IP 地址
  8. java多线程与并发之java并发编程实践
  9. 常用函数的傅里叶变换汇总
  10. AppFuse 安装
  11. 浅谈打印机驱动安装的常见方法及安全防护
  12. 【数据库系统原理与应用/数据库系统概论】 期末复习手册
  13. tt作曲家简谱打谱软件_作曲家入门指南
  14. 什么是思维模型?什么是原则?
  15. 中文拼音转换成CMU的音素工具
  16. Redisson分布式锁的配置和使用
  17. 亚马逊卖家,为什么你做不出爆品?从动森看大火之道
  18. android学习(二十一) 下载数据减少电池损耗
  19. HAL ADC连续转换模式 Continuous Conversion Mode
  20. SpringBoot/SSM 物品租赁系统 摄影器材租赁系统

热门文章

  1. 解决BERT官方模型script脚本下载GLUE data失败的问题
  2. 【小学信息技术教资面试】《制作统计表》教案
  3. idea配置公司的私服地址
  4. 「十二省联考 2019」希望
  5. 运用windows自带取色器功能拾取RGB
  6. 有限内存BFGS以及非精确牛顿法
  7. 小程序模板消息无限制群发之formId
  8. 研读《基于人体三维姿态的动作评价系统》论文
  9. 适配器模式与桥接模式
  10. 9、数码相框编写程序之框架分析