|
楼主 |
发表于 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# OOriginally 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 |
|