ubuntu mobile Ubuntu软件中心
大家好,今天给各位分享ubuntu mobile的一些知识,其中也会对Ubuntu软件中心进行解释,文章篇幅可能偏长,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在就马上开始吧!
求Ubuntu或其他linux的gho文件
建议下载iso,然后通过软件把iso直接写到U盘里进行安装。
不要用windows的概念往linux上套,以为ghost一下就完了。没你想的那么简单。
你还不如直接做个U盘的ubuntu安装盘进行直接安装。
这是ubuntu中文论坛提供的报错修改建议,你可以参考一下。
然后重启系统,选择进入ubuntu安装,一段时间后,出错,提示
unable to find a medium containing a live file system.
更换了几台不同的电脑尝试,问题依旧(其他电脑都是windows xp系统)
然后我修改上述grub.cfg文件如下,增加iso-scan/filename=/ubuntu/install/installation.iso:
代码:
......此处省略
# TBD try to boot directly from kernel/initrd within the ISO via the grub2 loop module
search-s-f-n/ubuntu/install/boot/vmlinuz
menuentry"Normal mode"{
linux/ubuntu/install/boot/vmlinuz debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/installation.iso noprompt quiet splash boot=casper ro debian-installer/locale=zh_CN.UTF-8 console-setup/layoutcode=us console-setup/variantcode=-- rootflags=syncio
initrd/ubuntu/install/boot/initrd.lz
}
......此处省略
ubuntu apt-get update错误
换一个更新源试一下我的开始也不行
更新方法:
先打开终端
Applications-> accessories-> Terminal
这个是打开终端然后输入
sudo cp/etc/apt/sources.list/etc/apt/sources.list_backup
会要求输入密码你输入就行注意的是在输入过程中不显示密码位数不要误认为没有打上输入后回车就可以
这条命令是备份当前的源列表,以便日后需要时恢复
然后输入
sudo gedit/etc/apt/sources.list
这时会打开你的文本编辑器把其中的所有内容删除粘贴上下面内容
我用的这个是 8.04的欧洲的源。
deb hardy main restricted universe multiverse
deb hardy-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb hardy-backports main restricted universe multiverse
deb hardy-proposed main restricted universe multiverse
deb-src hardy main restricted universe multiverse
deb-src hardy-security main restricted universe multiverse
deb-src hardy-updates main restricted universe multiverse
deb-src hardy-backports main restricted universe multiverse
deb-src hardy-proposed main restricted universe multiverse
上面这些就是更新用的网站情况你可以根据你的网络在网上找更合适的更快的更新源。
粘贴后保存更新源配置就完了
你可以试一下别的源
也可以按照你的版本搜索
如果更新源好了显卡驱动也就可以比较容易的自动更新了你从缺失的硬件里面找挑勾然后会自动下载安装。就可以了。
ubuntu编译osmocombb完要多久
ubuntu编译GNUARM以及OsmocomBB环境方法如下,时间的话看你代码速度啦
以下所有操作基于Ubuntu Linux下,所以基于Ubuntu、Debian等Linux版本均可使用。
一、以Root权限进行接下来的所有操作:
$ sudo-s
二、安装编译osmocomBB所需的软件包:
$ aptitude install libtool shtool autoconf git-core pkg-config make gcc
三、下载所需要的GnuARM ToolChain
基于x86架构
$ wget 百度网盘
$ tar xf bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2
$ mv gnuarm-*~/gnuarm
基于64位架构
$ wget 百度网盘
$ tar xf bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2
$ mv gnuarm-*~/gnuarm
这样子就已经完成了关于OsmocomBB的交叉编译环境的搭建,剩下就是最关键的设置环境变量
$ export PATH=~/gnuarm/bin:$PATH
建议是直接编辑~/.bashrc的内容,把上面的这个段话直接加到最后。
四、编译libosmocore:
$ git clone git://git.osmocom.org/libosmocore.git
$ cd libosmocore/
$ autoreconf-i
$./configure
$ make
$ make install
$ cd..
$ ldconfig
ldconfig命令一定不要忘记执行,否则osmocomBB编译后运行时会出现找不到libosmocore.so.4的错误。
五、编译OsmocomBB:
$ git clone git://git.osmocom.org/osmocom-bb.git
$ cd osmocom-bb
$ git checkout--track origin/luca/gsmmap
$ cd src
$ make
基本上已经完成所有的编译操作了!Enjoy你的玩具吧!
使用OsmocomBB
首先我们需要在刷写固件之间完成以下几个手动操作,以便接下来的其他操作。因为摩托罗拉C118的数据连接线是用2.5mm音频接口的,所以连接方面大家要注意的是:
连接线接口的小缺陷
红色框住的地方可能会导致大家在误以为接口已经完全和手机接口衔接了,但在刷机的时候没有任何反应。所以这个部分需要大家自己去削一下的。
连接线与TTL的接法
黑/黄:GND
红:TX
白:RX
以上的接法是针对我们RadioWar淘宝店所出售的CP2102以及FT232rl,而基于淘宝其他的产品可能会在TX和RX部分需要反接,大家要记住。有些朋友会说为什么我们不建议PL2303,那是PL2303只有标准的波特率,所以无法进行任何调制,在真正功能固件上使用会出现很大的问题。所以我们不建议使用PL2303
当我们处理完以上的操作之后,就在osmocomBB套件目录下进行相关固件刷写操作,请记住这个操作过程只是临时性的,固件只是以RAM TO ROM的途径下进行临时刷写,关机后原有的摩托罗拉系统依然会存在的。
cd~/osmocom-bb/src/host/osmocon/
启动osmocon刷写所需要的固件,通常大家都是直接刷写Layer1的固件。
./osmocon-m c123xor-p/dev/ttyUSB0../../target/firmware/board/compal_e88/layer1.compalram.bin
看清楚c123xor是基于C118的,非C118的手机请不要使用这个,并且记住C118的固件目录就是compal_e88,在输入以上命令之前,手机必须连接好连接线以及TTL,并且确保手机必须为关键状态。命令输入完成后,当前命令窗口会出现以下类似信息:
got 1 bytes from modem, data looks like: 2f/
got 1 bytes from modem, data looks like: 00.
got 1 bytes from modem, data looks like: 1b.
got 4 bytes from modem, data looks like: f6 02 00 41...A
got 1 bytes from modem, data looks like: 01.
got 1 bytes from modem, data looks like: 40@
出现以上信息后,直接轻按手机的红色开机键,只需点亮机器而不需要进入手机的系统!!!这样子信息状态会显示类似以下的信息:
Received PROMPT1 from phone, responding with CMD
read_file(../../target/firmware/board/compal_e88/layer1.compalram.bin):file_size=56016,hdr_len=4,dnload_len=56023
got 1 bytes from modem, data looks like: 1b.
got 1 bytes from modem, data looks like: f6.
got 1 bytes from modem, data looks like: 02.
got 1 bytes from modem, data looks like: 00.
got 1 bytes from modem, data looks like: 41 A
got 1 bytes from modem, data looks like: 02.
got 1 bytes from modem, data looks like: 43 C
Received PROMPT2 from phone, starting download handle_write(): 4096 bytes(4096/56023)
handle_write(): 4096 bytes(8192/56023)
handle_write(): 4096 bytes(12288/56023)
handle_write(): 4096 bytes(16384/56023)
handle_write(): 4096 bytes(20480/56023)
handle_write(): 4096 bytes(24576/56023)
handle_write(): 4096 bytes(28672/56023)
handle_write(): 4096 bytes(32768/56023)
handle_write(): 4096 bytes(36864/56023)
handle_write(): 4096 bytes(40960/56023)
handle_write(): 4096 bytes(45056/56023)
handle_write(): 4096 bytes(49152/56023)
handle_write(): 4096 bytes(53248/56023)
handle_write(): 2775 bytes(56023/56023)
handle_write(): finished
got 1 bytes from modem, data looks like: 1b.
got 1 bytes from modem, data looks like: f6.
got 1 bytes from modem, data looks like: 02.
got 1 bytes from modem, data looks like: 00.
got 1 bytes from modem, data looks like: 41 A
got 1 bytes from modem, data looks like: 03.
got 1 bytes from modem, data looks like: 42 B
Received DOWNLOAD ACK from phone, your code is running now!
battery_compal_e88_init: starting up
看到以上的信息就证明你的固件刷写操作已经成功了,下来的操作可以是扫描基站或者其他简单而快速的方法:
扫描基站
~/cell_logger/osmocom-bb/src/host/layer23/src/misc/cell_log-O
扫描某一个基站,例如30
~/cell_logger/osmocom-bb/src/host/layer23/src/misc/ccch_scan-i 127.0.0.1-a 30
将扫描基站的日志保存到本地
dumpcap-i lo-w~/cell_logger/mobilelog/Cell.log
打开WireShark实时读取相关的信息
sudo wireshark-k-i lo-f'port 4729'