〔翻譯〕摩托羅拉E680的linux系統解碼

探索結果

  這是迄今爲止我發現的一些結果:
  目錄 /var /tmp,一部分 /etc/ 下的文件存放在ram中。此ram就是機子標配的64M RAM
  目錄 / 是隻讀falsh
  目錄 /.backup/ 是此機子的完全備份,並且帶有重新格式化並恢復預裝程序的指令
  目錄 /diska/ 是可重寫flash文件系統,在文件瀏覽器中標記爲“Phone”
  目錄 /ezxlocal/ 是可重謝falsh內存,用於應用程序配置
  目錄 /mmc/mmca1/ 就是SD卡
  預裝程序都在目錄 /usr/SYSqtapps/ 下,這些程序應該全部出現在菜單(注:手機上)。 "wvimps"是IM程序 (儘管這個程序是你的,但有可能不能在菜單中出現) ,mtc看起來像是電話測試命令。

  操作系統和Zaurus Linux系統是二進制兼容的,雖然它缺少了用於Qtopia應用程序的共享庫,以至於像嵌入控制檯這樣的程序無法啓動。我正在努力看能否把這些庫補充進去同時有不給系統造成傷害。

  下面是些好消息。我能描述出菜單的格式了(預先載入的程序羅列在目錄 /usr/language/preloadapps/NativeDB 下);暫時還不能在無SD卡的情況下添加項目。SD卡裝好的話,會有一個目錄 /mmc/mcca1/.system/java/am/ ,目錄下有另外一個DB文件(可能名字會是InstRemDB)。如果添加或者改變這些入口(類似於NativeDB下的入口),那點擊的時候就會運行本地linux程序。我已經能添加mtc程序到菜單中了。我在設想,如果能夠指出程序所用的包文件,那就可以找到一種安裝本地程序的方法咯。

Exploration Results

  Here's what I've found so far:
  the /var /tmp, and a few /etc/ files are in /ram which is the 64 megs RAM of the unit
  / is read only cramfs (flash)
  /.backup/ is a complete backup of the stock phone along with commands to reformat and restore all preinstalled apps/etc.
  /diska/ is the rewritable flash filesystem accessable as "Phone" from the file browser
  /ezxlocal/ is rewritable flash memory for application configuration/etc.
  /mmc/mmca1/ is the SD card
  Preinstalled applications are in /usr/SYSqtapps/ there are a few there that are not in the menu. "wvimps" is the IM program (which wasn't in my menu, although it may be in yours) and mtc seemed to be a phone test command.

  The system _is_ binary compatable with Zaurus Linux, although it is missing the shared librarys for Qtopia apps, so things like embeddedkonsole won't start. I'm working on seeing if these libs can be added without hurting it.

  Now onto the good news. I was able to figure out the menu format (preloaded apps are listed in /usr/language/preloadapps/NativeDB). I couldn't figure out how to add an item without having an SD card in place. With the SD card in place, there's is a /mmc/mcca1/.system/java/am/ directory with another DB file (called something like InstRemDB). If you add or change and entry there that looks like the entries in the NativeDB it will run the native linux app when clicked. I was able to add the "mtc" program to my menu this way. I imagine there's a way to install native apps if we can figure out the packaging used.

  取自http://www.howardforums.com/showthread.php?s=&postid=4392063#post4392063

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章