|
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:
9 u1 b, A8 W/ l. z" }4 LAround line 28:1 R3 F+ m" }% r/ G# Y+ z6 I
Code:
. y. r5 d0 V3 M% u+ z* o. @# jfunction setUpFirstUse() {
$ Q3 K" t' N9 F# psetupSimulator (); " x$ ?* g6 Y1 ^/ S0 R. t
isDevice = true;
$ {7 y1 U( M- x5 K, \& a/ q, X}! z) j* b5 L1 E" p5 l
! G# Z# k' A4 D) \remove the isDevice line so it looks like this
# f# ]1 a& L2 B4 d2 \! g/ s, ]: U& r& T" u
function setUpFirstUse() {
% }9 {4 B: R, msetupSimulator ();
1 g5 R' N3 H5 j f}
4 a, }% |" p, Y9 U* x* F
1 n& ?, \6 @$ z" R0 G+ S* _around line 826 H5 H# @. f+ x; `" g7 T
Code:8 G6 ~* [+ N3 V2 `
if (PalmSystem.version.match("desktop")) {
6 J h' q3 l1 f
" }+ f: ]( ?: h' v3 r+ dchange it to
0 P1 j9 v8 z% _( x$ ~
8 t4 o" _% K2 R' r5 A2 ?if (PalmSystem.version.match("Webkit3.1/v8")) {
7 e$ T* E. ]9 \4 mand around line 163
) {6 X) r1 w& ]( f% tCode:, E% z6 O B. T! b
if (PalmSystem.version.match("desktop")) {4 o4 k3 m ~6 _ j
7 S( V$ S# _' F6 O) C! q) f. o1 W
change it also to
7 Y3 w, ?& [; t( h' v
( Z8 A4 `# @7 Q0 }: N" l5 P! Y# zif (PalmSystem.version.match("Webkit3.1/v8")) {
% P% a. {, l+ j2 B# j/ 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.
1 g6 S& Q0 G' x7 n- z3 J8 n0 L# q" C. P- G' L4 Q+ a, f# Y s6 v
Ok back to the MEID fix! & Q2 F& t# F( p5 l4 u
Update: 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$ }! w- J# P. i* `5 p' \
1 W) u5 D! u$ P5 u& J, X
Thank you "destinal" for your help on this!
, e2 e1 c2 g; W(引自http://www.mobile-files.com)
3 t S+ _$ _& R k. Q% l$ M& O9 e
5 E8 u8 y s& @$ e[ 本帖最后由 gzmob 于 2009-7-10 17:29 编辑 ] |
|