一 网络成功移植案例
1 Android 在 OMAP 上移植(国外)
手机原系统: Linux kernel 2.6.23
CPU 处理器: OMAP5912
移植完成部分: <!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span> = 1 /* GB2 <span style="mso-element: field-separator" mce_style="mso-element: field-separator"></span></span><![endif]-->⑴ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->内核 kernel
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 2 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑵ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->内存 RAM
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 3 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑶ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->时钟: Timer
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 4 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑷ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->电源 Power
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 5 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑸ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->按键: Keys
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 6 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑹ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->输入输出: GPIO
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 7 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑺ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->文件系统: File system ( JFFS2 )
存在问题: <!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span> = 1 /* GB2 <span style="mso-element: field-separator" mce_style="mso-element: field-separator"></span></span><![endif]-->⑴ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->有些按钮工作,有些不工作
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 2 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑵ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->内存受限制,机器自身内存小,有些不满足 android 系统要求
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 3 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑶ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->有些系统应用不识别,需要手动安装()
File not found: /system/app/AlarmClock.apk
File not found: /system/app/AlarmProvider.apk
File not found: /system/app/Anagrams.apk
...
File not found: /system/app/Vending.apk
File not found: /system/app/VoiceDialer.apk
File not found: /system/app/Voicemail.apk
File not found: /system/app/YouTube.apk
2 Android 在摩托罗拉 A1200 Ming 上移植(国内未完)
手机原系统: Linux 2.4.20 kernel
CPU 处理器: I ntel XScal-PXA270
移植完成部分: <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span> = 1 /* GB2 <span style='mso-element:field-separator'></span></span><![endif]-->⑴ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->Android 能正常加载 .(android 字符显示 , 红眼循环运行 ,Android 桌面显示 )
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 2 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑵ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->触摸屏可以在 A1200/E680 上工作
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 3 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑶ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->硬件 (VR, 摄像头 , 选择键 ) 能够在部分 A1200 运行
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 4 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑷ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->个别主要程序请求 ( 拨号器 . 地图 , 浏览器 , 联系人 ) 可以从用户界面启动加载
存在问题: <!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span> = 1 /* GB2 <span style="mso-element: field-separator" mce_style="mso-element: field-separator"></span></span><![endif]-->⑴ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->声音不工作
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 2 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑵ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->显示屏颜色在 A1200/A910 使用 18 插针后在屏幕的面板上产生不错 , 但是 android 的变量文件系统使用 16 位色
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 3 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑶ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->虽然触摸屏能用 , 但是还得校准
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 4 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑷ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->其他的硬件还是不工作
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 5 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑸ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->目前 GSM 电话不正常工作
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 6 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑹ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->Android audio 在 A1200 不能运行
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 7 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑺ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->按键功能在 A1200 上不能正常使用
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 8 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑻ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->A1200 触摸屏颜色显示问题
3 Android 在 HTC TyTN II 上移植(不是真正的移植)
手机原系统: WindowsMobile 6.0 Professional
CPU 处理器: Qualcomm MSM7200
运行截图
<!-- [if gte vml 1]><v:shape id="_x0000_i1026" type="#_x0000_t75" alt="http://www.google-phone.com/wp-content/uploads/2008/04/android_on_htc_tytn_ii-2.jpg" style='width:5in;height:174.75pt'> <v:imagedata src="file:///C:/DOCUME~1/user1/LOCALS~1/Temp/msohtml1/01/clip_image002.jpg" mce_src="file:///C:/DOCUME~1/user1/LOCALS~1/Temp/msohtml1/01/clip_image002.jpg" o:href="http://www.google-phone.com/wp-content/uploads/2008/04/android_on_htc_tytn_ii-2.jpg" /> </v:shape><![endif]--><!-- [if !vml]--><!-- [endif]-->
运行原理分析:
这种方法的原理是,在 Windows mobile 中运行一个工具 HaRET.exe ,加载 linux 镜像文件。进入 Linux 后,只要重启就会进入 Windows ,再次运行 HaRET.exe 又可进入 Linux 。
具体步骤如下:
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 1 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑴ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->运行 Windows mobile
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 2 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑵ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->确定手机已经刷成 SuperCID ,解锁
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 3 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑶ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->安装 wm5storage ,利用 wm5storage 将 Mini-SD 重新分区成 FAT
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 4 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑷ <!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->下载、安装 zImage , default.txt , HaRET.exe 拷贝到那个格式为 FAT 的分区
<!-- [if supportFields]><span lang=EN-US style='font-size:12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language: ZH-CN'><span style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span style='mso-spacerun:yes'> </span>= 5 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑸ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->运行 HaRET.exe ,按确定就进入 Linux 了
HaRET 支持的设备列表
Device |
CPU |
Status |
Notes |
Acer n50 |
pxa272 |
Ok |
|
h1940 |
s3c2410 |
Ok |
Works well with 0.5.x, and older 0.3.6 if mtype and ramaddr specified manually. Problems were detected with 0.4.5. |
h2200 |
|
Ok |
|
h3900 |
|
Ok |
Tested with WM2003 |
h4000 |
|
Ok |
|
h63xx |
omap1510 |
Ok |
Tested with image from the HpIpaqH6315 port |
hx2000 |
|
Partial |
There were reports of random problems. WM2005 known to cause problems. <!-- [if gte vml 1]><v:shape id="_x0000_i1027" type="#_x0000_t75" alt="[WWW]" style='width:8.25pt; height:8.25pt' o:button="t"> <v:imagedata src="file:///C:/DOCUME~1/user1/LOCALS~1/Temp/msohtml1/01/clip_image003.gif" mce_src="file:///C:/DOCUME~1/user1/LOCALS~1/Temp/msohtml1/01/clip_image003.gif" o:href="http://www.handhelds.org/moin/handhelds/img/moin-www.png" /> </v:shape><![endif]--><!-- [if !vml]--><!-- [endif]--> mail1 , <!-- [if gte vml 1]><v:shape id="_x0000_i1028" type="#_x0000_t75" alt="[WWW]" style='width:8.25pt; height:8.25pt' o:button="t"> <v:imagedata src="file:///C:/DOCUME~1/user1/LOCALS~1/Temp/msohtml1/01/clip_image003.gif" mce_src="file:///C:/DOCUME~1/user1/LOCALS~1/Temp/msohtml1/01/clip_image003.gif" o:href="http://www.handhelds.org/moin/handhelds/img/moin-www.png" /> </v:shape><![endif]--><!-- [if !vml]--><!-- [endif]--> mail2 |
hx4700 |
pxa27x |
Ok |
WM2003: Boots OK. (Version 4.21.1088 Build 15045.2.6.0 - 2 report) |
rx3000 |
s3c2440 |
Ok |
|
HTC Alpine |
pxa27x |
Ok |
|
HTC Athena |
pxa27x |
Ok |
|
HTC Apache |
pxa27x |
Ok |
|
HTC Beetles |
pxa27x |
Ok |
|
HTC Blueangel |
pxa263 |
Ok |
some pxa27x-specific features are not available. |
HTC Magician |
pxa27x |
Ok |
|
HTC Universal |
pxa27x |
Ok |
|
Dell Axim X50/X51 |
pxa27x |
Ok |
|
msm7500 |
Ok |
processor type now detected in Kevin's build from 08/01/07 |
二 移植被选方案
1 在 linux 系统手机上直接移植 Android 。
2 在 Windows mobile 系统手机上利用 HeRET.exe 加载 android 系统。
(注:此方法不是真正移植,且 HeRET 目前似乎不支持 Willcom 手机 )
三 移植环境及内容
选择方案一:
1 软件环境
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 1 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑴ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->Linux Host : Ubuntu8.1
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 2 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑵ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->tool-chain :交叉编译 Linux kernel
arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.tar
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 3 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑶ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->Patch tool : OpenEzx 2.6.24.x- 补丁设置工具去升级 A1200 的 kernel 。
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 4 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑷ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->USB Boot:OpenEzx 开发的一个工具,使得你可以使用 USB 去启动 kernel
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 5 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑸ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->Busybox 1.1.3: 使用了 busybox 去建立 Android NFS Root 文件系统。
2 移植工作内容:
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 1 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑴ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->搭建交叉编译环境 Tool-chain
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 2 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑵ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->导入 android_nfs_root 引导 文件镜像
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 3 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑶ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->使用 USB 加载原 Linux 内核
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 4 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑷ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->在 PC 机上用命令行远程登录手机
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 5 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑸ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->修改 Android 开源内核,如下内容
<!-- [if !supportLists]-->① <!-- [endif]-->内核: kernel
<!-- [if !supportLists]-->② <!-- [endif]-->内存: Flash
<!-- [if !supportLists]-->③ <!-- [endif]-->时钟: Timer
<!-- [if !supportLists]-->④ <!-- [endif]-->电源: Power
<!-- [if !supportLists]-->⑤ <!-- [endif]-->按键: Keys
<!-- [if !supportLists]-->⑥ <!-- [endif]-->输入输出: GPIO
<!-- [if !supportLists]-->⑦ <!-- [endif]-->文件系统: File system ( JFFS2 )
<!-- [if !supportLists]-->⑧ <!-- [endif]-->触摸屏: Touch Screen
<!-- [if !supportLists]-->⑨ <!-- [endif]-->声音: sound
<!-- [if supportFields]><span lang=EN-US style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size: 12.0pt;mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-begin'></span><span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>= 6 /* GB2 <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]-->⑹ <!-- [if supportFields]><span lang=EN-US style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN" mce_style="font-size:12.0pt; mso-fareast-font-family:SimSun;mso-fareast-language:ZH-CN"><span style='mso-element:field-end'></span></span><![endif]-->编译、下载到手机运行
(注:内核编译时间较长,一次编译需要 1 小时;且不能 debug ,工作效率较低)