Ubuntu目前有个项目叫Ubuntu for Android(http://www.ubuntu.com/devices/android),看起来非常cool:
它的原理在http://www.ubuntu.com/devices/android并无介绍。但是我们猜测可以用chroot配合实现一个最简单的Ubuntu for Android。
我们为Andriod编写一个脚本Ubuntu.sh,在该脚本中启动Ubuntu的文件系统,透过chroot进行:
其中的一行:
是为了mount Ubuntu的rootfs,我们的实验中Ubuntu的rootfs存放在/dev/block/mmcblk1p2。该文件系统通过rootstack得到:
sudo rootstock -f ubuntu -l <yourname> -p <yourpassword> -i 1G --seed linux-image-omap,build-essential,tightvncserver, lxde
将得到的tgz包解压到我们sd卡的分区2。
运行Ubuntu.sh,进入到了Ubuntu的根文件系统,并执行了bash,之后我们开一个vncserver:
在Android端,通过VNCClient软件连接到127.0.0.1:5901即可。运行的视频可下载:
http://download.csdn.net/download/21cnbao/4273156
分享到:
相关推荐
Android_Build_Environment_on_Ubuntu_14.04_64-bit_Installation_SOP_6253959040
Android5.0/6.0编译环境文档,该文档以MTK平台为例子,其他平台可以参照。
Android6.0以后编译环境文档,该文档以MTK平台为例子,其他平台可以参照。
on an Ubuntu 11.04 desktop using Eclipse, the Android SDK, and PhoneGap. I will describe how to build Android apps from the command line with PhoneGap and from the GUI with Eclipse and PhoneGap and ...
Android5.0以前编译环境文档,该文档以MTK平台为例子,其他平台可以参照。
ubuntu.sh脚本下载,用于LinuxonAndroid项目中的ubuntu 执行
Time for action – installing Android SDK and NDK on Ubuntu Setting up the Eclipse development environment Time for action – installing Eclipse Emulating Android Time for action – creating an ...
� 采用了对有限内存、电池和 CPU 优化过的虚拟机 Dalvik , Android 的运行速度比想象的要快很多。 � 运营商(中国移动等)的大力支持,产业链条的热捧。 � 良好的盈利模式( 3/7 开),产业链条的各方:运营商、...
该项目为拥有现代android...要求:现代Android设备(运行android 7.0+ / Termux限制)鼠标(蓝牙或其他)键盘(蓝牙或其他)电源(用于延长工作时间和性能要求)监视器(强烈建议)Internet连接(用于设置,更新和加法
linux ubuntu fastboot 下载 方法1: GSI Flashing Procedure For Android-Q Fresh Launch Build(DP Enabled): Flash META Change directory to Apps path Flash below Apps and GSI image. Apps Build flashing ...
model phones around the world, and indeed, Android has been estimated to be on as many as 90% of the world’s smartphones. This book is here to help the Android developer community share the knowledge...
This build guide is only tested on Ubuntu. Changes to make it build on other platforms are welcome. Build Steps Download and unarchive Samba 4.5.1 source code. Change directory to the root of Samba
fastboot android10版本 ubuntu linux平台 fastboot version 28.0.2-PD02.200305.0422 $ fastboot -h usage: fastboot [OPTION...] COMMAND... flashing: update ZIP Flash all partitions from an update.zip ...
In order to print Android log and have class name, We often use the pidcat.py on ubuntu, This will help me sovle problem better
The script will then put the boot images on boot partition and extracts the android rootfs-rootfs_*.tar.bz2 to rootfs partition. Finally the script will copy the Media clips to the data partition and ...
Matthew Helmke served from 2006 to 2011 on the Ubuntu Forum Council, providing leadership and oversight of the Ubuntu Forums, and spent two years on the Ubuntu regional membership approval board for ...
本项目将Yolo-v3的源代码在Android Studio进行开发编译和部署到Android手机上,实现利用手机硬件平台完成对Yolo-v3网络的调用。项目以Yolo-v3-tiny为示例进行开发,其他相关网络可以通过Darknet网站下载权重文件进行...
Linux on Android-Termux // Dextop // Ubuntu 该项目为拥有现代android设备的任何用户提供了建立自己的基于Linux的工作环境并将其用作主要工作站的能力。 要求: 现代Android设备(运行android 7.0+ / Termux限制...
This document mainly provides android compiling instructions on Ubuntu for Quectel SC20 module. It includes details such as the android compiling environment, how to compile the entire android ...