2007年1月26日星期五

First Few Steps Playing With Motorola Ming A1200R

I bought a Moto Ming A1200 mobile phone in new year holidays, the phone is really good. In a word, very "playable".

If you are interested too, you may try the following steps to start your own adventure.

元旦的时候我买了个摩托罗拉A1200手机,感觉还真的不错。用句酸腐一点的话来总结,“有很高的可玩性”。

如果你也有兴趣,可以按照下面这几个步骤开始你自己的探索之旅。

1. Get a Motorola Ming A1200R 1. 弄到一台摩托的“明”A1200R

Introduction here applies to A1200R only, it may be used as a reference for other models (such as A1200), but it is not guaranteed to work with them.

A1200R is different with A1200, I can not provide a full list but at least they are different in these aspects:

  • Phones sold after the end of 2006 are most likely to be A1200R.
  • Internal version number of A1200R is R532C2_G_11.30.xx, while A1200 has an internal version number of R532_G_11.00.xx. If you want to find out the version number, just input WWW008W in dial mode (use "insert wait" to input "W").
  • The Linux systems inside A1200R and A1200 are slightly different. In A1200R, some permission restrictions were losen, and some files were removed.

这里介绍的内容只针对于A1200R,对于其它型号(比如A1200)可能也有参考意义,但是不能保证适用。

A1200R与A1200是不同的,我也给不出一个完整的差异列表,但是至少有这些区别:

  • 2006年底以后市面上的新机大多是A1200R。
  • A1200R的内部版本号是R532C2_G_11.30.xx,A1200的内部版本号是R532_G_11.00.xx。在拨号方式下输入WWW008W可以看到版本号(“W”就是“插入等待”)。
  • 机内Linux操作系统的细节不同,有些权限控制在A1200R中被放松了,有些文件在A1200R中被删掉了。


2. Install MPKG for E6 2. 安装MPKG for E6

MPKG enables the capability to install native Linux applications to your mobile phone.


Since A1200R is different with A1200, so we need to install MPKG for Motorola E6 phone.

You can find download and installation instruction of MPKG for E6 from here (find for string "一、E6的MPKG安装软件"). Don't install other packages listed there, those are optional.


After installation of MPKG, if you don't really need the "备份" application, I suggest you uninstall it.

MPKG使得你可以向手机上安装一些直接在手机Linux系统中运行的应用。


由于A1200R不同于A1200,所以我们需要安装原本用于Motorola E6手机的MPKG。

可以从这里找(搜索“一、E6的MPKG安装软件”)到MPKG for E6的安装包下载和安装步骤。不需要安装其中介绍的其它软件,那些都不是必须的。


如果你并非真的需要,建议在安装完成之后把随MPKG安装上的“备份”卸载掉。


3. Install loader 3. 安装loader
Loader enables the capability to click-and-run Linux shell scripts directly.

Also can be find here is download and installation instruction of loader. Don't install other packages listed there, those are optional.
Loader使得你可以点击执行为手机中Linux编写的脚本。

同样在这里可以找(搜索“6、Loader”)到loader的安装包下载和安装步骤。不需要安装其中介绍的其它软件,那些都不是必须的。


4. Install Telnet and Samba services
4. 安装Telnet和Samba服务
Telnet service makes it possible to telnet into the Linux OS of your mobile phone through any telnet client.

Samba service enables you to access the file system on your mobile phone as a shared folder from your Windows based PC. It is also possible to access from Linux or other OS in the same way.

Installation steps:
  1. Find and download inetd_smbd.zip from here.
  2. Unpack it and follow the installation steps described in install.txt.

Usage:
Click the icon of inetd and smbd to start/stop telnet/samba services.
Telnet服务使得你能够用Telnet客户端登录进手机的Linux操作系统中。

Samba服务使得你可以从运行Windows的电脑用访问共享目录的方式访问手机上的文件系统。Linux和其他的操作系统也可以支持用这种方式访问手机上的文件系统。

安装步骤如下:
  1. 访问这里下载inetd_smbd.zip
  2. 解压这个文件,根据其中install.txt文件的安装步骤进行安装。

使用:
分别点击inetd和smbd的图标,以开启/关闭telnet服务器/文件共享服务器。



5. Install USB-LAN drive to your PC
5. 在电脑上安装USB-LAN驱动
Find and install latest USB-LAN driver software to you PC, then, whenever you connect mobile phone to PC in modem mode, you can access mobile phone through TCP/IP. 找到最新的USB-LAN驱动软件安装到电脑上,然后,只要手机以modem模式连接到电脑,你就可以通过TCP/IP协议访问到手机。


6. Modify Configuration Files
6. 修改配置文件
You may want to modify some configuration files in you mobile phone to achieve special goals. To modify them, normally you need to connect mobile phone to computer, then start Samba service on your phone, then access those shared folders and files from computer. Configuration files can be modified by text editor.

Many configuration files are located in ezx_user/download/appwrite/setup/

For example, you can make these modifications:
  • Modify ezx_idle.cfg, make sure the freeze attribute of each shortcut is 0 rather than 1. If you suffer from read-only shortcuts assigned by network operator, do this.
  • Modify ezx_camera.cfg, change values of all shutterSound and secondSound attribute to 9. Then, when you take picture or movie, your mobile phone will not make shutter sound or other alert sound.
你可以修改手机上的一些配置以达到特殊的效果。为了修改这些文件,一般来说你需要把手机连接到电脑,并启动手机中的Samba服务,然后在电脑上以访问共享目录的方式来浏览这些文件,并用普通的文本编辑起来修改。

很多配置文件都在ezx_user/download/appwrite/setup/目录。

比如,你可以做这样一些修改:
  • 修改ezx_idle.cfg文件,确保每个shortcut的freeze参数都是0而不是1,于是待机屏幕下方的快捷图标就不存在修改不了的现象了。
  • 修改ezx_camera.cfg文件,把所有shutterSound和secondSound参数的值都改为9,这样,拍摄照片或录像的时候,手机就不会发出快门声或提示音了。


7. Start Adventure On Advanced Topics
7. 开始探索更高级的领域
Now, you can your adventure on advanced topics:
  • Download and install applications that run directly in Linux of your mobile phone.
  • Download and install Java applications that run inside your mobile phone.
  • Develop your own applications that can run directly in Linux of your mobile phone.
  • Develop your own Java application that run inside your mobile phone.
现在,你可以开始探索更高级的领域了:
  • 下载并安装直接运行在Linux下的手机应用包
  • 下载并安装基于Java的手机应用包
  • 开发可以直接运行在Linux下的手机应用
  • 开发基于Java的手机应用


6 条评论:

匿名 说...

修改ezx_idle.cfg文件不成功还是原来的样子。修改音量文件时拒绝修改,提示有权限问题。请问如何解决。谢谢!
对了我是24P原版的

匿名 说...
此评论已被博客管理员删除。
匿名 说...

修改ezx_idle.cfg文件成功了 谢谢!
就是ezx_volumetable.cfg一直不让我修改,老是提示没有权限 郁闷!!!请帮帮我

zmhu 说...

有的文件确实是没办法改的,是摩托用了SELinux增强了权限控制导致的。

我自己用A1200R觉得音量其实不需要什么特殊的修改,靠手机里菜单项进行修改就够了。有的人说音量太小什么的是说的旧版的A1200。

你看到的错误提示是什么?

匿名 说...

谢谢你
好像两次的提示 一个是什么权限不够,还有一个什么网络错误 晕搞了半天 还是放弃了。Linux我是七窍通了六窍的 呵呵~

匿名 说...

芝麻兄 你好 ! 以前在你的blog上下载的那个用来telnet的咚咚作硬盘时给弄没了,能不能再给我一个。我现在用30P的,坛子上的都不能用。
谢谢