找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 16945|回复: 32

[webOS开发] 全自动ROM定制工具:Cross-Platform Meta-Doctor 使用指导

[复制链接]
发表于 2010-4-1 00:32 | 显示全部楼层 |阅读模式
Cross-Platform Meta-Doctor Guide (bypass carrier activation, etc.)
; o" d# S+ r6 S$ J' K" ^这里是一个简单的指导文件.供参考.随着ROM版本的更新.有一些文件参数可能会慢慢变化.建议在使用中注意看软件本身的说明0 O  d: F5 y9 m% P

4 }* k' f: r: z( K. s经过这个工具软件做出来的ROM可以设置为免激活/键位改正等多个功能..由于全部过程在Linux下完成.所以可以正常完成MD5文件的校验并在刷机完成后重启..目前是大家最常用的工具.0 n) M4 r; ^/ K1 h
9 V7 d. P" m0 {: U: T

; I8 O  O: o6 [4 ?简介:
8 f. C3 g8 V1 D9 ~Meta-Doctor可以完成以下多项任务:在配置文件Makefile中可以修改这些选项,把选项前面的#取消意味着这个选项有效.根据linux的使用习惯.不建议大家改后面的1.要想让这个功能生效.就把那一行前面的#取消就OK了$ N4 Q' J/ s$ _8 ~; u

      ^  g- A- o  y; s
  • 免激活( BYPASS_ACTIVATION = 1) .
  • 跳过第一次的First Use程序( BYPASS_FIRST_USE_APP  = 1); 官方默认的只能通过3G来建立或登录自己的"云账号"Profiles.这个功能使你可以在自己愿意的时候通过WIFI来完成.
  • 取消运营商校验(REMOVE_CARRIER_CHECK  = 1); 可以把一个ROM定制后用在其他版本的机器上(可以用Sprint的ROM来刷ATT的机器,当然电话模块部分不会真正刷新,同时也不会安装运营商定制的一些程序
  • 取消型号校验(REMOVE_MODEL_CHECK    = 1); 可以用PRE的ROM来刷PIXI的机器( (当然机器中特定的电话模块等内容不会刷入.如果你需要升级这部分的话,应该自己解决).
  • 取消强制的电话模块固件升级(DISABLE_MODEM_UPDATE  = 1); 这样在刷同一个机器的时候可以节省不少时间,如果固件版本较新的话还是会刷入的.
  • 取消后台上传功能(DISABLE_UPLOAD_DAEMON = 1) -- 取消官方ROM里自动上传数据到PALM服务器的功能.
  • 打开开发模式开关( ENABLE_DEVELOPER_MODE = 1); 这样可以使机器安装东西更方便,系统默认打开开发模式的开关.接连其他的程序更容易.(桌面上并不一定显示开关图标)
  • 开启USB网络功能(ENABLE_USB_NETWORKING = 1) 需要专用的USBNET驱动(usbnet drivers are required on host).
  • 自动安装ssh2验证密钥(INSTALL_SSH_AUTH_KEYS = 1) 对于基于*nix的系统,这样用起来更方便 (i.e. - the one inside VirtualBox).5 |% |' V7 n( s6 \: P& ^
    # INSTALL_SSH_AUTH_KEYS imports the SSH authorized_keys file from the  user's home directory to the device.
    7 j& Z& T- ~5 T' k        The user can then connect to  the device from their computer as soon as an SSH daemon is installed.  You must already have a valid openssh authorized_keys file in ~/.ssh/authorized_keys before enabling this feature, or it will cause a fatal error.  You then need to install the OpenSSH SFTP Server application in Preware to actually access the device using the openssh private key that matches the openssh public key listed in your authorized_keys file. Uncomment the corresponding line below to enable this feature.
  • 安装wifi配置.这样你可以更方便地使用WIFI的功能.( INSTALL_WIFI_PROFILES = 1)imports a wifi preferences database file from the user's home directory to the device.  The device will then be set up to use wifi immediately after the webOS Doctor has completed.% j: `- P$ b* e' G! A. ?4 c) [0 p2 g
    # You must already have copied a correctly configured prefsDB.sl file from the /var/preferences/com.palm.wifi/ directory on the device to ~/.ssh/com.palm.wifi.prefsDB.sl on your host machine before enabling this feature, or it will cause a fatal error.
  • 自动安装Preware(AUTO_INSTALL_PREWARE  = 1),在你第一次连网的时候就自动安装Preware,同时安装最新的preware.org x509 验证文件.以使用preware.org 的数据库完成更强大的软件管理工作
  • 开启Preware测试软件仓库(ENABLE_TESTING_FEEDS  = 1)可以让你直接使用测试期间的软件.
  • 增加var空间(INCREASE_VAR_SPACE    = 1) /var 分区增加.可以让你安装更多的系统程序,让邮件程序有更大空间可用
  • 增加ext3格式的LVM分区空间(ADD_EXT3FS_PARTITION  = 2GB).LVM是一个可以更灵活的分区管理方式.在需要调整分区的时候可以很方便地完成
  • 修改键位(CHANGE_KEYBOARD_TYPE  = z) 针对不同机器.可以进行键位修改.
    4 j( \. R/ _) r* `/ ]+ F# ('z' means QWERTY, 'y' & 'y1' mean QWERTZ, 'w1' means AZERTY).
    1 L" h6 q7 j# C
+ A1 ^4 @1 f" p
( X, w/ q% F/ t
" y) V; m7 {9 k; m+ O1 n
使用步骤:4 x4 u- m0 s8 I1 f

! d$ |9 j: Q* M(**注**: 这个示例以Sprint1.4.0的ROM为东西,用于其他的ROM需要根据情况进行修改,很多指令可以直接复制了使用,但是当你看到下面提到 <TAB>)的时候,请一定要按电脑键盘上的<Tab>键.这个键多数是插入一个特殊的跳空位9 d* o$ \5 b6 X' L' `' u1 e

6 U5 U0 J7 ]! w! D* Y& }! U* ^1.CDMA的SPC(MSL)解锁码最好先准备好.. [' I9 {" f7 p6 C- \
$ `- v/ |9 |- ~& P8 F0 A: Q$ _% D) W
2. 如果你使用Windows,可以用这个虚拟机来做 VirtualBox (..如果你已经有一个Linux系统可以直接跳到第8步 Mac 用户如果不知道如何使用 DarwinPorts可以继续看看步骤3).$ `' z7 T( H' {3 R3 ]
6 C6 |" _% }. ~& X* G3 l
3. 下载最新的 32-bit Ubuntu .iso "cd image" (mirror).这个是一个较常用的Linux系统.可以很好地在虚拟机里运行! }+ |! j, C- H
/ i8 `. R; i/ I; j& Q) a1 m
4.在VirtualBox的虚拟硬盘中安装 Ubuntu 9.10 .iso .
2 M$ y/ V% x1 M1 X2 y具体安装过程可以参考http://www.treo8.com/bbs/thread-153372-1-1.html- |4 r9 G) z5 O% ?6 G- y( O# K

- {/ N/ F& G. E5 K0 u
% [& r: v5 ?: y: s6 u% [$ q5.在安装的过程中可以在windwos下继续做其他的一些工作,如果鼠标不能移出来,可以按一下右 Ctrl 键来解锁. 在你的windwos电脑的硬盘里建立一个目录并共享(我们假设这个目录叫 "hostOS"). 然后,在VirtualBox (VBox) 的窗口下(the same one that Ubuntu is installing in)... 选择 "Devices" -> "Shared Folders..." -> click the tiny icon in the top-right corner with the '+' sign -> find and double-click the folder you just created -> "Choose"(选择) -> select "Make Permanent" (固定分配)-> "OK" -> "OK".

    2 M5 H9 f' D7 M/ u+ G
  • *NOTE*:如果你刚才跳过了这个步骤,只需要重新设置一下并在需要的时候重启虚拟机就OK了... 如果现在用ubuntu系统安装和更新的时候做,可以减少重启一次!!
  • 继续等待ubuntu安装完成, 然后在安装结束有提示的时候点击 "Restart Now" (现在重启).* b2 R# p* k4 {' O
2 A- D4 w% X2 j/ {

/ q' B2 t) y5 ~. @+ S5 s/ m6. 一切OK的时候,启动你的虚拟机8 i5 n1 i2 K# N0 T% t* v3 C
.
  • 因为是新装的系统, 可以选择关闭.
  • 因为刚才为了安装系统挂载了ISO镜像,所以重启虚拟机的时候可能会自动跳到光盘启动的状态,可以直接取消挂载或是修改启动顺序,把硬盘改到启动第一位的位置.
  • 取消挂载的方法--选择 "Devices"(设备) -> "CD/DVD Devices" -> "Unmount CD/DVD Device" 然后重启 ("Machine" -> "Reset").
    # A' n  H  w9 _$ N" X' c( J
8 Z( |' u3 z% F' }
2 a3 h9 ?& A" P/ G& n
7.进入登录界面,登录进去,打开终端窗口 (o "Applications" -> "Accessories" -> "Terminal").: s; W+ K* m* O$ W. q! C

. S; w; i; y; b# y1 R接下来建议不要关闭终端窗口,让它一直开着!  
  • NOTE: 如果系统提示有更新,你可以直接忽略并关闭那个提示,等将来有时间的时候再慢慢来更新即可..& M; O; c% e# V

4 [+ b) Q; U. n8 A
' m0 n  o5 U* h* g4 I+ G8.现在你需要准备一些其他的事情以使用 Meta-Doctor. 你可以把下面的指令COPY到指令窗口里! X8 H( a: t, E" y8 _+ N
可以打开浏览器直接找到这个贴子,把下面的指令COPY到粘贴板 (也可以直接 Google "meta-doctor guide" ). 每行指令都要公开赛复制过去.
0 w0 ]" V  P5 [; g3 u(HINT: To copy & paste in Linux, simply highlight what you want copied and then middle-click inside the terminal to paste.)
$ t/ _+ p5 d) v$ E
) `! _( C$ @  y! P4 G如果不是用root用户登录的.需要先运行一下这个指令
  1. sudo -s
复制代码
输入密码,然后回车...
" _: j$ X! \+ ], n8 ^安装java和git等一系列模块,用下面的指令
  1. aptitude install git git-core patch build-essential linux-headers-generic linux-source-2.6.31 sun-java6-bin virtualbox-guest-additions virtualbox-ose-guest-x11
复制代码
在java安装过程中,同意相关条款,用Tab键可以跳到OK按钮上,然后回车,然后选择Yes来同意相关条款.8 f' L5 i3 D! l8 w; u
5 U8 q; ^2 F! S( y( r8 `: V
! \$ k3 [7 i. L: V& b
准备工作结束.下面这一步是最常用的一个开始.如果你原来用过这个软件,或ROM版本有较大改变.建议你在原来的基础上把meta-doctor目录改名,然后重做这一步以获取最新的软件
+ |" t0 v5 M& C  Z, i% \6 y! c, M
先下载最新的meta-doctor程序
  1. git clone git://github.com/webos-internals/meta-doctor.git
复制代码
  1. / ?1 T5 |+ E# [) o3 e4 @3 }
复制代码
" U9 [9 E* ?, t2 O- i; F3 P# ^7 y

: ?( ?6 S6 u" i1 v0 n  n
; Q' o; k3 `9 V5 W4 x7 e下载最新的ROM并放在指定的位置 WebOS Doctor Versions..用下面的指令
  1. wget -c palm.cdnetworks.net/rom/pre/p14r0d02252010/sr1ntp140rod/webosdoctorp100ewwsprint.jar
复制代码
然后重命名为标准格式..型号 运营商-版本号,类似这样的webosdoctorp100ewwsprint-1.4.0.jar放在meta-doctor/downloads 目录下
7 ]$ d* O8 }+ u7 P3 w: N: ^4 @ ; c" D0 a  ?$ ?- w; s9 V4 ?& Y( y  K
9 t! a7 l1 M4 o: f: P  R

. j! x/ a9 t; ~& s( A6 a& l9.现在可以编辑Makefile文件设置你想要的ROM了.在指令状态下可以用nano来编辑. 7 r$ b3 p% d! I* i5 ^" B2 P

% J% S4 g* _9 B6 C4 F也可以用其他的程序编辑.去掉#表明这一顶有效.为1的时候有效7 A3 \5 f, W5 Y/ S9 ?0 Z/ n9 A
nano Makefile
  • Make sure to get the CARRIER string right, as can be seen in the Meta-Doc Wiki.
  • By default, the Meta-Doctor does NOTHING. You must uncomment (OR remove the # from the beginning of these few lines) each specific feature of the Meta-Doctor that you may need from the Makefile.
  • Here's what the beginning of my Makefile looks like ...3 O2 k8 ]0 V2 @# a3 k& E0 A
    Quote:
    % a# }! @5 E: A; e' }" }3 e1 w: ^
    Originally Posted by Makefile
    4 R& C9 A* @1 ^! s! Z##########################% v2 P0 r( s1 {% ]
    ## END OF DOCUMENTATION ### _9 i$ `" J' R. y: R8 o
    ##########################
    5 q2 h- C0 [1 \* n8 C+ }3 }* Q/ B' x6 M' Z7 [

    # Z" g. [+ A' L) }& ~7 P- @########################################) }+ ^$ k( n) L/ Y- Q
    ## START OF AREA FOR END USER CHANGES ##4 Y, F- Q! p  r' i
    ########################################
    4 s: `7 i4 X; b* [, ^; s' L/ s: a3 u* b/ V5 V6 H. H' F7 n
    # Uncomment the features that you wish to enable below:1 u0 l, c" _, X6 s, X, a- Z
    BYPASS_ACTIVATION     = 1
    % Q% W& c6 X8 Z% G BYPASS_FIRST_USE_APP  = 13 b1 ?- P+ c- G7 t; ~
    ENABLE_DEVELOPER_MODE = 1+ q8 u1 W! ^# @1 q
    AUTO_INSTALL_PREWARE  = 1
    - z. J+ p; Q: c ENABLE_TESTING_FEEDS  = 1
    $ _; W$ X+ k  Q+ n# INSTALL_SSH_AUTH_KEYS = 1
    % m& s  u* Y) ]% O; M( M  v5 |+ G; D# INSTALL_WIFI_PROFILES = 13 `3 X' u; d7 x" K* \- x
    DISABLE_UPLOAD_DAEMON = 1/ a6 Z% b/ W7 B: }; o1 W4 u4 i) o% ^
    DISABLE_MODEM_UPDATE  = 1
    7 f* Z% `# j& y+ x  p7 j8 r% K# ENABLE_USB_NETWORKING = 17 g9 G$ ]3 Y/ W* j9 }
    REMOVE_CARRIER_CHECK  = 19 q/ Y1 p9 l+ w5 g5 w0 J% J
    REMOVE_MODEL_CHECK    = 1& k; h9 U: A8 O$ [9 F
    #INCREASE_VAR_SPACE    = 19 F$ K* a4 s3 b3 l- V
    CHANGE_KEYBOARD_TYPE  = z1 l; x+ a8 S! h# N# ~* t
    #ADD_EXT3FS_PARTITION  = 2GB! s# ~5 L7 f- q0 N  N
    - U' _& N4 z! R$ R( c( P  x  `
    # Select "pre", or "pixi".$ o) L& H3 E4 o* E4 {1 D
    DEVICE = pre
    7 s7 X$ m# J3 c! t5 j$ U/ Q' g0 K. b7 v
    # Select "sprint", "bellmo", "telcel", "verizonwireless", "sfr", "wr" or "att".4 b1 m0 j- E( @! m8 @
    CARRIER = wr) K( I6 A& o2 k5 P

    6 f" V% u2 x8 J######################################
    5 H9 C' A' c% ^+ X## END OF AREA FOR END USER CHANGES ##7 u  S. r4 x  C, E4 Y
    ######################################  f( m1 t! e9 l. ~

    * P$ G: T% s9 P- w6 x
  • 修改好文件以后保存一下, (如果是nano的话,按一下 Ctrl+X 然后按一下 'Y' ).1 L+ O8 n( w% u8 A4 H3 t: u
8 ~1 e8 `- L& H& f4 i
然后用下面的指令制作ROM.
  1. make unpack patch pack
复制代码
  • 如果这一步无效,可能是ROM文件位置不对,要放在 downloads/ 目录下,在 Makefile里设置好正确的机型... 或是你设置了ssh密钥但并没有提供.! X- d8 \6 D- h# I5 o
' M( X" j/ G" S% }! B
Quote:
2 e& R! S  |6 S) C( f( P& v
  • SIDENOTE ABOUT FUTURE USAGE OF THE META-DOC...
    . Y  N3 ?6 {7 k8 H5 I; p... say, after the next version of webOS is released.
  • NOTE: Each subsequent build will require you to start from scratch. To start fresh:) l7 m& r) J8 L3 U+ r/ a4 `
make clobber
  • It would also be best to make sure you have the latest version of the Meta-Doctor. To grab the latest version:% K6 A' h$ R" x# b" J7 P7 Q
git pull
  • NOTE: I got an error about not being able to merge the developer's Makefile with my own, so I simply deleted my Makefile before running "git pull", since the dev's Makefile is all that matters:, u/ u" E& X' i: s( X9 r& }
rm Makefile
  • You can run all of these at once, like so...2 G5 C2 }; o* I, [: Q  }' s, K9 W
make clobber; rm Makefile; git pull
  • And then simply restart from Step 9.: }# o) e. i! e* r: l: m- \9 b( e
+ e1 Q( h, h- A3 o

. {9 ~, L& r4 T8 u; j10. 然后你在build目录下可以看到一个文件夹以你提供的ROM命名,免激活ROM就在那里面了.你可以COPY 出来后使用或是分享给大家
2 \6 J3 y+ T7 I8 t% `3 t; q& D' ]. {
更多详细内容可以参考2楼原文
回复

使用道具 举报

 楼主| 发表于 2010-4-1 00:34 | 显示全部楼层
Cross-Platform Meta-Doctor Guide (bypass carrier activation, etc.) Here's the steps I used to use the Meta with a Sprint ROM.' r% L# t+ A- Q

* ]- T! Y+ k1 O: S4 i( dThe Meta-Doctor has added numerous features recently, which I will explain in a minute. I must make an important disclaimer first, however, which is that it is ILLEGAL to post (i.e. - distribute) a modified webOS Doctor. This is why this tool was created, so that you have the ability to modify the Doctor to your liking and not break any laws in the process.. |, g" u1 x5 S/ l8 K

3 J) r7 `5 }, W' U; xAlso... have no fear about bricking your Pre. It is virtually impossible to do such a thing, as you will always be able to force your phone into recovery mode by holding the Volume Up key at boot, until you see the large USB icon. From that point, you will always be able to install any other stock Doctor or Meta'd-Doctor of choice. If, for any reason, you believe that you have really bricked your phone... see caj2008's instructions.! B8 d1 Y0 P: [) R6 x% @

" o2 b9 B$ s0 {7 n5 h3 bIntro:1 Y. j- ~2 Z+ F  Y" [* R4 e

: P' S& y1 f9 _- k  JThe Meta-Doctor accomplishes several tasks:
) e( a& Q2 K# a/ R9 m
$ z0 t. z" d  @- N: B& o(1) Bypasses carrier activation (Do NOT use if you ever intend to use the cellular radio).
( [% O1 x) S' o5 a! X9 D(2) Bypasses the First Use app; allows wi-fi creation of Palm Profile to be completed whenever you'd like, instead of right away only over a 3G network.
; l5 x9 {- G# z. E' l5 u3 B3 d(3) Removes the carrier check; allows a newer Doctor for another carrier to be run on your phone, and it also strips the carrier-specific apps (SprintTV, Sprint Navigation, etc.)6 E% }" [$ K1 ^
(4) Removes the model check; allows a p100eww Doctor to be run on a p100ueu device and vice-versa (From my understanding, all webOS devices will run a p100eww Doctor, but the p100ueu Doctor is specifically for European devices that run on different UMTS bands; a p100ueu Doctor is required only to make use of those European 3G bands).! W9 U) R" m( d2 ]$ B3 |. Y
(5) Disables the ForceModemUpdate command; sets the ForceModemUpdate setting to false, in order to save time during frequent Doctors on the same device, yet the modem firmware _will_ be updated if it is newer.
5 E2 c4 o2 R5 m8 U$ b* ](6) Disables the upload daemon -- a background process that automatically uploads certain things, like GPS info and application usage, straight to Palm.
% q: S2 Z* S# f(7) Automatically enables Dev Mode; makes restoring a phone a little bit quicker and less frustrating... especially if you're a real tweaker.
  G; f+ s" ]# `5 J2 n6 Q  j6 x(8) Automatically activates USB Networking functionality (usbnet drivers are required on host).2 C! Y) c/ o. q# m$ i" x
(9) Automatically installs SSH2 Authorized Keys of the *nix desktopOS you're currently using (i.e. - the one inside VirtualBox).
' |8 l4 S- f) F(10) Remaps QWERTZ phones to QWERTY layout for folks with German Pres that don't actually use Zs all that much. + Q: K1 q. B4 t: r( E5 G. ~
(11) Re-partitions filesystem to increase /var limit [normal-default of 256 MB to meta-default of 2 GB or whatever you so choose]. This is not so important anymore, since the App Catalog limit has been fixed. However, if you have loads of email & attachments or any Linux applications that make use of this directory... it is possible to fill it up.+ N+ W# }$ e6 v( A: M5 B2 t7 g

0 ?' H6 i- }; r" F, qSteps:4 P" s+ g4 j4 P; I
" g1 @4 Z" o7 \: o) Y; w( v4 T
(**NOTE**: This example is for use with a 1.4.0 Doctor on a Sprint Pre. PAY ATTENTION and change procedure, accordingly, to your needs!! I have changed some commands so that you can no longer copy & paste them directly, but MUST use the Tab Key when you see this notation: <TAB>)1 N9 V9 b& {; Q0 v" i
3 k0 r  \% F' [( n: V5 i8 ^0 J8 P
1. If you plan on using a CDMA phone and would like to use your carrier, it might be best if you call them in order to get your MSL. GSM users can skip this step since they use SIM cards (methinks).) f$ I# j) v6 J* w
: P5 C# p$ W, A! ^$ Y
2. If using Windows, Download and Install VirtualBox (ELSE skip to step 8; Mac users who don't know how to already use DarwinPorts can continue to step 3).
' T( K. f7 R( g6 v1 z0 u" a
" S2 B% i: T2 W7 _, c6 B& r3. Download the latest 32-bit Ubuntu .iso "cd image" (mirror).
8 B- s  ^* E; C3 _* y6 @, V/ D/ T4 b& h0 L
4. Install the Ubuntu 9.10 .iso on a virtual disk inside VirtualBox.
  • Click the big "New" button -> "Next". Type "Ubuntu 9.10" as the name, select "Linux" and then "Next", since regular "Ubuntu" should already be selected (NOT 64-bit).
  • Select "Next" five more times, then "Finish".
  • Double click your newly created Virtual Disk, "Ubuntu 9.10", and pay close attention to the HOST KEY that swaps you from your guestOS (9.10) to hostOS (presumably Windows) -- **Right CTRL**. "Next".
  • Now the First Run Wizard pops up. Hit "Next" and select "Image File" at the bottom and then browse to find and select the ubuntu-9.10-desktop-i386.iso that you downloaded earlier. "Finish".
  • Click the checkbox to ignore all color bit messages in the future and select "Continue".
  • Pass thru the language prompt by hitting Enter for the default "English", then select the second menu option, "Install Ubuntu", and hit Enter again.
  • Give it a few minutes and the Ubiquity graphical installer should pop right up (if not, just double-click the "Install" icon). As long as you speak English and use a USA keyboard layout, you can just hit "Forward" four times until you get to step 5 of 6. Fill this information out, then hit "Forward" and "Install".
: k% P8 w' @& x) h8 V
5. While waiting... press the Right Ctrl key to get back to your hostOS. Create a new folder somewhere on your hostOS to use as a shared folder; let's call this folder "hostOS". Now, in the VirtualBox (VBox) window (the same one that Ubuntu is installing in)... go to "Devices" -> "Shared Folders..." -> click the tiny icon in the top-right corner with the '+' sign -> find and double-click the folder you just created -> "Choose" -> select "Make Permanent" -> "OK" -> "OK".
  • *NOTE*: If you realize you've skipped this fifth step later, simply do it and then restart your virtual machine... but just do it now and you won't have to restart twice!!
  • Continue waiting for the installation to complete, then click "Restart Now" when prompted.

4 S6 k* c- ?; j3 \! I. G+ w  s6. Now boot your newly created virtual disk inside of VBox.
  • Since your newly installed OS has finished, close the top VBox window and "Power off the machine".
  • The main VBox window will have your new virtual disk "Ubuntu 9.10" right there for you to easily double-click to open, like you did earlier.
  • If it then gives you a list of language options like before, go to "Devices" -> "CD/DVD Devices" -> "Unmount CD/DVD Device" and try again ("Machine" -> "Reset").

% ~2 x) n8 J5 n% w0 y. i7. Once you reach the login prompt, login! Open a Terminal (go to "Applications" -> "Accessories" -> "Terminal").
+ W7 i6 R  ]6 h2 ?$ V3 g1 o
" v: l- l3 ^( K' e8 y; N; E1 UDon't ever close this terminal! It's good etiquette.
  • NOTE: Simply ignore and/or close the "Update Manager" window when it pops up in a couple minutes.
6 t9 e1 I' R6 T
8. Now you need to prepare a few things for the Meta-Doctor. Open Firefox and find this post so that you can copy and paste each of these entire command lines (just Google "meta-doctor guide" and it should be the first result). Each command begins in bold and must be copied in its entirety.
! s6 h! T8 x5 S4 R: p
/ Y" Q2 p" A1 F' ?! M% p(HINT: To copy & paste in Linux, simply highlight what you want copied and then middle-click inside the terminal to paste.)
7 F; G. ]; t" F" g7 H
! w/ k- a5 }- L. X) Zsudo -s
  • Insert password, hit Enter.
aptitude install git git-core patch build-essential linux-headers-generic linux-source-2.6.31 sun-java6-bin virtualbox-guest-additions virtualbox-ose-guest-x11
  • Agree to Java terms; Use the Tab key to shift to the "OK" button and then Enter to select it, and then select the "Yes" button to finalize the agreement.
git clone git://git.webos-internals.org/tools/meta-doctor.git( p2 F3 S/ ]' f1 b. [5 h* i
mkdir meta-doctor/downloads/
" a0 \/ A6 B# ~cd meta-doctor/downloads/
wget -c palm.cdnetworks.net/rom/pre/p14r0d02252010/sr1ntp140rod/webosdoctorp100ewwsprint.jar
  • Rename the file accordingly [with proper model (p100eww or p100ueu), carrier, dash, and then proper version number], as seen at step 10 on the Meta-Doc Wiki or like so, with the 1.4.0 example...
mv web<TAB> webosdoctorp100ewwsprint-1.4.0.jar0 z6 F$ F9 D! e. H& S$ c! x1 V
cd ..
& J- e  a1 `# j$ \  _! a

5 _* Y) F2 `0 Q7 w1 `5 c6 o# s$ c. I( K- w% J! n: `& Y& l7 e
9. Now it's time to actually learn how to use the Meta-Doctor!!
  • This command will open up the nano editor so you can examine the actions of the Makefile.
nano Makefile
  • Make sure to get the CARRIER string right, as can be seen in the Meta-Doc Wiki.
  • By default, the Meta-Doctor does NOTHING. You must uncomment (OR remove the # from the beginning of these few lines) each specific feature of the Meta-Doctor that you may need from the Makefile.
  • Here's what the beginning of my Makefile looks like ...- p$ `4 {& c4 d+ b& F1 ?
    Quote:
    % Z! a8 \( D# O
    Originally Posted by Makefile ! w- ?8 X8 p' m  E0 n
    ##########################+ D* B/ A5 R/ W
    ## END OF DOCUMENTATION ##
    + E2 B$ n5 e) F+ T0 R, r& O##########################
    6 }0 T% |9 D* }$ T: g
    ( w( p" G* I, I6 M8 q########################################
    / p# \* n3 `9 |3 m. w/ w; z' l1 G## START OF AREA FOR END USER CHANGES ##" Y( O2 `: J6 o" H* T% k
    ########################################- `5 S- x; w. Y* E! `# F

    % l; x4 w8 V+ i: A2 _# Uncomment the features that you wish to enable below:
    6 Y5 ?* U( Y' N/ }# BYPASS_ACTIVATION = 14 ^+ a  X" e8 k$ S, V' Q* ^  l
    BYPASS_FIRST_USE_APP = 1
    : M+ h8 ~- O4 yENABLE_DEVELOPER_MODE = 1: y$ F$ [0 m& ]9 R7 \# V
    DISABLE_UPLOAD_DAEMON = 1+ h3 @" J5 N+ c, ~' Z7 w
    # INCREASE_VAR_SPACE = 1
    / g3 X9 _( d; T" hENABLE_USB_NETWORKING = 11 @+ N/ m% O2 p2 ^; [
    # INSTALL_SSH_AUTH_KEYS = 1
    ) l4 D( e0 O8 r# REMOVE_CARRIER_CHECK = 15 F3 q# K* o+ O, D* W6 X
    REMOVE_MODEL_CHECK = 1
    4 k4 _! A; B" e1 P* i& d3 e& ]! pDISABLE_MODEM_UPDATE = 1
    ) ~' v& \$ B3 \( u! V7 S: a& y# CHANGE_KEYBOARD_TYPE = z
    - w) J9 a) X9 s/ r6 y0 P
    ! B7 F1 @" ]$ U/ N  O# Select "pre", or "pixi".3 \( W( E4 V9 f& b2 n! o7 m
    DEVICE = pre
    * H: ~0 \8 @7 h1 j8 [9 s# ?8 R, I: {% U' \/ K$ O4 w& p
    # Select "sprint", "bellmo", "telcel", "verizonwireless" or "wr".: _; {1 U# n1 ^$ q1 D" Z! y7 e
    CARRIER = sprint; d0 P# Q, n$ q: s- R

    4 o! r* H: b, `4 \6 f######################################* k) _: L$ p" p& `  ~
    ## END OF AREA FOR END USER CHANGES ##$ B9 _2 L; P  |9 H$ d
    ######################################
    8 f( T# O& L9 ^* s
  • When you're done, just hit Ctrl+X to exit and 'Y' when it asks to save your changes.
make unpack patch pack
  • If this isn't working for you, you probly didn't put the file in the proper downloads/ directory, set the CARRIER variable in the Makefile... or it is searching for ssh keys that you don't have.
Quote:& H2 S$ {2 n3 F/ A# f
  • SIDENOTE ABOUT FUTURE USAGE OF THE META-DOC...! s9 n7 {& \9 @
    ... say, after the next version of webOS is released.
  • NOTE: Each subsequent build will require you to start from scratch. To start fresh:
make clobber
  • It would also be best to make sure you have the latest version of the Meta-Doctor. To grab the latest version:
git pull
  • NOTE: I got an error about not being able to merge the developer's Makefile with my own, so I simply deleted my Makefile before running "git pull", since the dev's Makefile is all that matters:
rm Makefile
  • You can run all of these at once, like so...
make clobber; rm Makefile; git pull
  • And then simply restart from Step 9.

2 z% |6 O( K, g$ |$ X- {
3 J  C# `- O+ V  J8 l; q10. Once it's finished building, transfer the meta'd-doctor to your shared folder.
; b: w: _1 \1 j2 ?: W( d9 B
7 `1 p/ Z& V) ^modprobe vboxvfs, z! A4 h: _- D! n) E2 u
mkdir ~/Desktop/guestOS/
% N% Q: o9 F" @; X0 N) A- Qmount -t vboxsf hostOS ~/Desktop/guestOS/
  • If you don't receive any errors, you should be able to copy the file to your guestOS/ shared folder and it will show up in your hostOS/ shared folder...
cp bu<TAB>pre<TAB>web<TAB> ~/Des<TAB>gue<TAB>
  • *PRO TIP*: If you plan on using this guestOS more than once, you can have it automatically mount your shared folder for you. Just add this mount command right before "exit 0" in the /etc/rc.local file ( nano /etc/rc.local ):
mount -t vboxsf -o uid=1000,gid=1000 hostOS ~/Desktop/guestOS# t7 v# S- c& i3 H9 J

7 J: k+ N2 ?) M$ i
# i& J7 f' P: X, P% \4 V11. Go back to your hostOS' shared folder, then open your meta'd doctor and let it work its magic on your phone.
  • Make sure you have backed up EVERYTHING, including the /media partition (mass storage with media, etc.). Everything will be gone in just a few seconds.
  • Triple check that you have gotten your MSL from Sprint (or any other CDMA carrier).
  • Make sure the phone is plugged into the USB cable.
  • Restart your device (Opt + Sym + R) and hold the Volume Up button until you see a huge USB symbol on your screen.
  • Now start the meta'd-doctor with a right-click ("Open With..." -> "Java") or just a double-click... whatever works for you. (java -jar webosdoctorp100ewwsprint-1.4.0.jar if necessary).
  • Press "Continue", "Next", and all that junk. Give your meta'd-doctor all the time it needs to work its thing.
  • If for some reason you hit a wall and the last button is not clickable, you more than likely need to [re]install the Novacom drivers on your desktopOS, which can be found here.
3 i! X6 d2 a- I, j8 t3 m% K! `) t
12. Upon restart, Sprint [and other CDMA] users will need to reset the modem's programming. Here are the instructions from the Meta-Doc Wiki...
8 u4 K) k* m- H; i) H- q0 U  \: GQuote:( h  f* {1 p) m5 {
Note: This has only been confirmed to resolve Sprint CDMA issues, YMMV.
1 A/ }" h# `1 [
+ {: c7 l9 v0 I8 r$ d1 `# TNote 2: You should try to update your profile first. Open the phone app, open the App Menu and select Preferences then select Update Network Settings. If you get an error, then procede with these instructions.
: u+ b! L1 m; u. G
) I* [6 E1 u. u4 R  F
* 1. Open the Phone App.
7 C0 [+ \2 N* a1 H* 2. Enter ##MSL# (MSL= 6 digit lock code. Get this from Sprint.)9 n5 t( o4 g9 n8 K% X. o0 A- C
* 3. Verify your MDN and MSID are incorrect. If they are incorrect, continue. If they are correct, this is not your problem and you should not continue.( q0 O, a3 J( d. [+ ^
* 4. Select Edit.
1 r. v5 r+ K% z% I& k  b* 5. Select the first box (MDN) and enter your 10-digit cellular number.4 v8 I: Y. u1 f$ X% R5 \
* 6. Select the second box (MSID) and enter your 10-digit MSID (Get this from Sprint).
4 W, ]' M; @2 c, K6 t* 7. Select Save.' ]! C& t4 z: j  G& s5 R& P# j( v
* 8. Backswipe out of the the view.0 Y1 i7 j  W* U3 ?" B' [" o
* 9. You should now be able to open complete Note 2 above without any errors.

) H* }& H1 G: N" J9 b" M( {13. Kiss Rod Whitby on the cheek.
5 [* h7 C4 T4 L( c5 t' p5 }$ C9 ^3 u
1 n/ P: t: m4 V. V14. Play with Ubuntu some more if you're not familiar with it already. Or practice around with ANY operating system that can be installed in VirtualBox. Enjoy!
0 x& h. m. C2 E
3 p. V5 \3 d+ [- y; J( V. t! {0 ~7 z* b0 A
http://forums.precentral.net/pal ... activation-etc.html% u0 m5 @; y* \- ^2 Q2 M
) S. Y9 ~' X; A8 W0 Z0 Q' s+ F
http://www.webos-internals.org/wiki/Application:MetaDoctor
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-1 01:06 | 显示全部楼层
这个工具生成的ROM可以直接重启的..会方便一些) t3 `# I4 r3 }' I
; I( O6 w* ^6 m

0 p: N2 @0 F. G* A0 j0 W4 R但是如果在这个ROM的基础上再进一步用手工打包的方式修改的话,ROM里有两个相互验证的MD5文件,需要全部更新..如果MD5文件不更新.就会出现刷到最后不能自动重启的情况..$ H: Z* [$ n9 U4 Y0 Q$ l
一般说来如果在手工定制的时候加入一些补丁(如字体/短信一类的).由于涉及的文件很多,所以重新做MD5的话工作量很大..不更新MD5做出来的ROM在功能上没有任何问题..所以可以不更新MD5.直接做.刷完后用户自己取电池重启即可
回复 支持 反对

使用道具 举报

发表于 2010-4-1 22:50 | 显示全部楼层
都是英文啊,不看了,放卒子
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-3 19:38 | 显示全部楼层
centos下搞git..有点头大...谁拉个Linux高手来啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-4 01:14 | 显示全部楼层
测试过之后这个的确是很方便的
回复 支持 反对

使用道具 举报

发表于 2010-6-30 11:35 | 显示全部楼层
Hi, I have just bought an AT&T 3P, unable to run 3G due to diff radio frequency set for AT&T.$ Z0 [# I& x, r% i* |' l
9 U# k, n( z/ y* r7 B" D# E9 r- U. o; X
Can this Meta Doctor be used to change the radio frequency so it can run the 3G @ 2100MHz? My 3P is currently running with P101UNA, or is there any other method to modify the ROM so I can run the 3G in my 3P?& \9 q1 c4 `" @

4 R, u  i/ ~! Q0 t# ^* p, O6 BPlease advise. Thank you.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-30 21:23 | 显示全部楼层
This tool can't make Pixi/Pre Plus of ATT brand work at 2100MHz for 3G.
7 i. a# J/ D% y1 G2 L1 _the 3G@2100MHz need a crack more diffcult..
2 v+ ?3 q$ B7 \( ]7 k; t1 \2 Gwe are looking for the special information too
回复 支持 反对

使用道具 举报

发表于 2010-7-1 00:17 | 显示全部楼层
Thank You Treo for replying. I have actually searched for some times in many sites, until now no luck yet, that's why when I came across this site, I was excited because of the knowledge sharing in this site by many experts including yourself,  l look forwards to get good news from this site, thanks again.
回复 支持 反对

使用道具 举报

发表于 2010-8-10 10:47 | 显示全部楼层
怎么用啊
回复 支持 反对

使用道具 举报

发表于 2010-9-1 17:52 | 显示全部楼层
我也正常生成文件了,但刷机后,还是不能跳过激活那里。 # K' t0 [# B% b7 R. B1 I' `, W/ o3 u0 X
1 D( t- W2 h5 G$ Z
不知道是哪里出问题了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-2 09:02 | 显示全部楼层
要同时设置两处.主要是1 O3 @# \  U" m& V5 R. E3 ]/ l
免激活(Bypasses carrier activation) .$ U" H* V; M7 M' t& @9 X
' ~9 @7 L. c% G7 k8 l
跳过第一次的First Use程序(Bypasses the First Use app)* F/ R9 |$ E, G; x5 {
& b) k8 v  s* Z5 `
把这两项前面的#都去掉就OK了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-2 09:04 | 显示全部楼层
原帖由 plasticguy 于 2010-7-1 00:17 发表
/ Q7 y* b. v7 {+ `& K, NThank You Treo for replying. I have actually searched for some times in many sites, until now no luck yet, that's why when I came across this site, I was excited because of the knowledge sharing in th ...

( e1 A% s6 {! G+ ^! a% p
7 S# }, Y8 ~* t& [3 n9 FAs disscued with special technical person we got some bad news. the hareware can't support the channel otherwise ATT.8 o) M1 x8 D  r( ?/ B
So, we can't find any solutiong for this issue..
回复 支持 反对

使用道具 举报

发表于 2010-9-18 09:17 | 显示全部楼层
卒子翻译一下就好了,英文,不看了,看得累
回复 支持 反对

使用道具 举报

发表于 2010-11-5 14:12 | 显示全部楼层
非  非 非常专业的 帖子啊 。。。。。
回复 支持 反对

使用道具 举报

发表于 2010-11-20 22:26 | 显示全部楼层
我是来学习的 为了更好的为机油服务啊
回复 支持 反对

使用道具 举报

发表于 2010-11-21 13:18 | 显示全部楼层
这东西太麻烦了,不是人玩的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-17 09:10 | 显示全部楼层
看着麻烦..其实只要做一次..以后就简单了
回复 支持 反对

使用道具 举报

发表于 2010-12-29 21:47 | 显示全部楼层
我准备做rom了,试试,如果行,这就爽了
回复 支持 反对

使用道具 举报

发表于 2011-1-21 16:43 | 显示全部楼层
难道不能图文并茂吗?这么多字眼镜早花了
回复 支持 反对

使用道具 举报

发表于 2011-2-26 19:47 | 显示全部楼层
经常用到这个教程
回复 支持 反对

使用道具 举报

发表于 2011-3-12 09:35 | 显示全部楼层
看一下,回头研究一下
回复 支持 反对

使用道具 举报

发表于 2011-8-22 14:42 | 显示全部楼层
我来挖坟,最近想搞搞这个
回复 支持 反对

使用道具 举报

发表于 2011-9-27 21:06 | 显示全部楼层
make 一下,我想看看怎么备份现有系统
回复 支持 反对

使用道具 举报

头像被屏蔽
发表于 2011-10-5 14:02 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

发表于 2011-11-13 12:16 | 显示全部楼层
treo 发表于 2010-4-1 01:06 1 [( r/ s, F1 n; \! j
这个工具生成的ROM可以直接重启的..会方便一些
- z. O) {( i9 c' e1 N" X' K( w
请问大大,除了根目录的md5,还有一个在哪里??
回复 支持 反对

使用道具 举报

发表于 2011-11-13 16:39 | 显示全部楼层
大大,如果要替换自己的一些图片,该怎么操作呢?
回复 支持 反对

使用道具 举报

发表于 2011-11-14 16:06 | 显示全部楼层
改rom感觉不稳定阿
回复 支持 反对

使用道具 举报

发表于 2011-11-18 21:05 | 显示全部楼层
好好的帖子啊~强烈支持下拉~
回复 支持 反对

使用道具 举报

发表于 2011-11-25 14:50 | 显示全部楼层
顶楼主,自己没那个本事了
回复 支持 反对

使用道具 举报

发表于 2011-11-30 13:13 | 显示全部楼层
照着做了个ROM,可以刷到12%就过不去了
回复 支持 反对

使用道具 举报

发表于 2011-12-8 12:18 | 显示全部楼层
看着压力巨大
回复 支持 反对

使用道具 举报

发表于 2011-12-11 00:39 | 显示全部楼层
MARK......
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2025-2-26 01:49 , Processed in 0.376559 second(s), 16 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表