这篇手记搁置了很久,一方面因为下载Ubuntu touch镜像的速度太慢,另一方面一些知识还没看完贸然上手收获不大。今天又更新了下镜像,发现速度比较快近160K,得以将体验手机完成。基本只是通过性的逛了一遍,很多细节还没有深入。
安装。
kai@TAvatar:sudo apt-get install ubuntu-emulator [sudo] password for kai: ...... kai@TAvatar:~/.cache/ubuntuimages/pool$ ls -l 总用量 200744 -rw-r--r-- 1 kai kai 42899516 8月 14 10:02 device-bc7f9e420ea596d71e82baa53a3dc010c5322f853eba77e4f9d802a06f50ced9.tar.xz -rw-r--r-- 1 kai kai 490 8月 14 09:58 device-bc7f9e420ea596d71e82baa53a3dc010c5322f853eba77e4f9d802a06f50ced9.tar.xz.asc -rw-r--r-- 1 kai kai 162643968 8月 14 10:09 ubuntu-1c365de5c44ffda929975348e01eebc23138da40622b5a13a4df858837ce8dd9.tar.xz_ -rw-r--r-- 1 kai kai 490 8月 14 09:58 ubuntu-1c365de5c44ffda929975348e01eebc23138da40622b5a13a4df858837ce8dd9.tar.xz.asc_ -rw-r--r-- 1 kai kai 0 8月 14 09:58 ubuntu-1c365de5c44ffda929975348e01eebc23138da40622b5a13a4df858837ce8dd9.tar.xz_lock kai@TAvatar:~/.cache/ubuntuimages/pool$ cd kai@TAvatar:~$ sudo ubuntu-emulator create UToucharm --channel=ubuntu-touch/utopic-proposed [sudo] password for kai: Creating "UToucharm" from ubuntu-touch/utopic-proposed revision 187 Downloading... 31.21 MB / 31.21 MB [====================================] 100.00 % 128.17 KB/s 323.14 MB / 323.14 MB [==================================] 100.00 % 144.50 KB/s Setting up... Creating snapshots for disks... Succesfully created emulator instance UToucharm in /home/kai/.local/share/ubuntu-emulator/UToucharm kai@TAvatar:~$ sudo ubuntu-emulator create UTouchx86 --arch=i386 --channel=ubuntu-touch/utopic-proposed [sudo] password for kai: Creating "UTouchx86" from ubuntu-touch/utopic-proposed revision 189 Downloading... 40.91 MB / 40.91 MB [====================================] 100.00 % 154.31 KB/s 335.70 MB / 335.70 MB [==================================] 100.00 % 151.09 KB/s Setting up... Creating snapshots for disks... Succesfully created emulator instance UTouchx86 in /home/kai/.local/share/ubuntu-emulator/UTouchx86第一次启动,用的是X86版的。
kai@TAvatar:~$ ubuntu-emulator run UTouchx86 emulator: autoconfig: -datadir /home/kai/.local/share/ubuntu-emulator/UTouchx86 emulator: Found target ABI=x86, architecture=x86 emulator: Found target API level: 19 emulator: using core hw config path: /home/kai/.local/share/ubuntu-emulator/UTouchx86/hardware-qemu.ini emulator: writing default keyset file to /home/kai/.Android/default.keyset emulator: write_default_keyset: could not create file: No such file or directory emulator: trying to load skin file '/usr/share/ubuntu-emulator/skins/EDGE/layout' emulator: skin network speed: 'full' emulator: skin network delay: 'none' emulator: Using initial system image: /home/kai/.local/share/ubuntu-emulator/UTouchx86/system.img emulator: autoconfig: -initdata (null) emulator: WARNING: no Real SD Card found at '/home/kai/.local/share/ubuntu-emulator/UTouchx86/sdcardprime.img' emulator: Physical RAM size: 512MB emulator: Found target ABI=x86 Content of hardware configuration file: hw.cpu.arch = x86 hw.ramSize = 512 hw.screen = touch hw.mainKeys = yes hw.trackBall = yes hw.keyboard = no hw.keyboard.lid = no hw.keyboard.charmap = qwerty2 hw.dPad = yes hw.gsmModem = yes hw.gps = yes hw.battery = yes ......在 Ubuntu 中为你的 Nexus 4或者 Glaxy Nexus 安装 Ubuntu Touch 13.10
Ubuntu Touch 已经支持 USB Tethering 上网功能