|
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:/ o* W) w$ C" `1 p# x- k v
Around line 28:4 P4 k% u8 `$ I# Q+ ?# t
Code:
) p* U+ F2 P, p, a* o9 nfunction setUpFirstUse() {
% U3 v Z4 Y8 o. PsetupSimulator (); 2 L! ^# w3 g% E D, X
isDevice = true; / V1 D. J* X& D1 W0 n# [3 K. S! v6 u
}% Z& D- G3 Q% v/ J) q5 y
. B! g. L7 T5 t. e
remove the isDevice line so it looks like this
H: L7 O9 Z3 j% \; |, x! [( k% s& c% n
function setUpFirstUse() {1 c" d5 m# L; H" m6 K8 D
setupSimulator (); 5 Q: J& E% T1 b7 F2 j( ^
}
6 F r0 h6 Z' b6 c4 Q9 r8 M7 M$ y9 M9 C/ ~
around line 82 `- u, v0 U- j( d6 J* m
Code:) { z, W- ?7 {5 ?+ _, e
if (PalmSystem.version.match("desktop")) {) a" |9 o& z! _; `5 w- p1 f+ E/ \3 m/ n; N
1 J: a% e# J3 z- }
change it to
- F+ L0 t& G$ W' O% ^6 i& ~, J4 T% q7 `4 b# ^- N4 b
if (PalmSystem.version.match("Webkit3.1/v8")) {
+ p5 @. ?; K% ^3 B& o9 b* A9 Cand around line 163
% n. b2 ^0 S8 lCode:, F" ~! z3 [% H
if (PalmSystem.version.match("desktop")) {# A8 u2 ~+ J7 b( g; z/ K
\& _6 i3 G, I9 A* |: ychange it also to
# v: |3 Z9 x2 Y; z* [4 H; K0 E1 Z; r, W5 h9 J
if (PalmSystem.version.match("Webkit3.1/v8")) {
, }! }, f$ l7 Z5 ^Then 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.
4 M& T/ J. b: C) f( }- o% y/ A3 d5 |' {# B" [! k
Ok back to the MEID fix!
( E v/ `% d* |( z* q3 FUpdate: 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
0 a: `1 H9 o% g, S3 r w: p2 Q7 w' }* D# ?) t" h
Thank you "destinal" for your help on this!
( K5 Z/ x4 [# p. N' S(引自http://www.mobile-files.com). p# @8 ?+ N/ b, K
) X. {' ?% t# W' o) @[ 本帖最后由 gzmob 于 2009-7-10 17:29 编辑 ] |
|