|
First edit the WebOS doctor image as described here on the Pre Dev Wiki: http://predev.wikidot.com/bypassing-activation After you've completed step 6 in that guide we need to make a few more changes to the file:
' A5 \ U% C0 ]0 N0 }5 h+ f4 RAround line 28:
, X* c, |( {/ s$ x- |Code:: m# M" N1 P+ d a6 g/ t
function setUpFirstUse() {
3 z3 J+ a' f( X/ zsetupSimulator (); / ~$ _" v, ]' O- c `) z$ {6 }& B
isDevice = true; , V" t# J: Q- B' \4 D1 Q) i0 z
}
8 R/ B) o) P" T0 g
6 H- p; A7 e$ S) K' aremove the isDevice line so it looks like this
, k! g0 T, u0 E# E$ O; H: w* n5 Y* Z- V# M
function setUpFirstUse() {( N. n8 X, {( T8 u
setupSimulator ();
& R% h1 S3 c/ u9 h/ ^( u+ c}3 d7 g1 X( C- c* P* C* a
- e+ u7 u/ q8 Q5 @4 f5 t8 J( O& G a
around line 822 Q6 I3 O% h/ s1 Y( ?' E
Code:7 v& O" O/ F0 g2 K% k
if (PalmSystem.version.match("desktop")) { ~5 h7 r( l% Z
& }3 `: r( w% P8 p, M. ^9 @: fchange it to
/ ~/ }5 q9 N0 s% w4 J; m8 n* L& c; O/ X( x- R4 J; B( N
if (PalmSystem.version.match("Webkit3.1/v8")) {
* L$ P0 H+ L) v0 uand around line 163( y3 [4 ~' M) J
Code:0 m5 |6 _3 P/ n& N6 b0 s% e& T
if (PalmSystem.version.match("desktop")) {
" d/ d) f+ G) H& a4 d& }: R9 ]5 A) j. U- l3 c3 L( S% X
change it also to
0 f% f; x3 v* F: P6 c* x @* R
; ?. @$ d& h& c4 z& P- g0 J- z7 yif (PalmSystem.version.match("Webkit3.1/v8")) {
( j4 l! m& t7 l# G1 F1 Z( Z2 C; Z% TThen continue on to step 7 and you're good to go. In summary all we're doing is tricking firstuse into thinking that we're using the SDK emulator which has no modem so it ignores all the errors.
; q2 f0 _, z% ~* a1 M# [, X2 `) p/ v% u$ G; y
Ok back to the MEID fix!
3 ]( x1 J8 n; {7 P/ hUpdate: I spoke to the folks at the Pre Dev Wiki and they updated their page to handle modem errors. http://predev.wikidot.com/bypassing-activation
W1 q1 T# Z6 x( n; f4 C& e& a$ d y9 f6 O# e; E) `* J% R$ F
Thank you "destinal" for your help on this!
% z# B! K! v% f7 L# Q(引自http://www.mobile-files.com)& G( x8 V& u1 F9 F# [" m! S
+ p3 w0 o, P2 v& w) k# j
[ 本帖最后由 gzmob 于 2009-7-10 17:29 编辑 ] |
|