Cukup dari desktop aja akan lebih mudah.

----- Original Message ----- From: "Dedi Sopian" <[email protected]>
To: "id-android" <[email protected]>
Sent: Sunday, December 05, 2010 8:35 PM
Subject: [id-android] WTA: Adb command tuk unlock HTC Vision or G2?


ada yang ngerti ini tidak? kalau dalam langkah-langkah mudah-nya
bagaimana yach? soalnya kurang mengerti cara gunain ADB, yang bikin
bingung nih mana yang pakai adb di PC mana yang pakai terminal
emulator di HH.

1. Download gfree and verify sdcard is not mounted by your computer

You will need to download a program called gfree that will first copy
partition 7 of the phone, then patch it, then reflash back to your
phone. (verified to work with the g2 and desire z as well as the
desire hd). (You will also need adb, which you can download as part of
the Android SDK.)

Unzip gfree.zip to a place on your computer.

Make sure your computer is not mounting your phone's sdcard.
[edit] 2. Run gfree on the phone

On your computer's terminal/command line, navigate to where the gfree
file is, and then...

adb push gfree /data/local
adb shell

This copies gfree to your phone, then puts you in your phone's
terminal. Then do this:

su
cd /data/local
chmod 777 gfree
./gfree
sync

Wait a few moments for the sync to "take". Then reboot your phone. That's it!

gfree created a backup of your original partition 7 at
/sdcard/part7backup-<time>.bin you might consider copying this to a
safe location on your computer.

Now you can try using a new SIM card to verifiy that it worked. Also,
if you had to flash a different kernel before running gfree, you may
now reflash the kernel you originally had.

Here are some optional steps to make sure you did it right:
[edit] 3. (OPTIONAL) Verify you did it right

To verify all went well, do this:

  1. Plug in your phone to your computer
  2. In the Terminal/command line, type this:

adb shell

this puts you in the phone's shell. now it's a simple matter of the following:

(note the # is your prompt. Don't type the "#". The lines without the
# are returned by the phone.)

# su
# stop ril-daemon
# cat /dev/smd0 &
# echo -e 'ATE1\r' > /dev/smd0
0
#
# echo -e 'ATV1\r' > /dev/smd0
OK
# echo -e 'a...@cid?\r' > /dev/smd0
@CID: 11111111

OK
echo -e 'a...@simlock?40\r' > /dev/smd0
# a...@simlock?40
@SIMLOCK= 00

OK
#echo -e 'a...@simlock?aa\r' > /dev/smd0
a...@simlock?aa
@secu_flag: 0

OK


--
Dikirim oleh Dedi Sopian
Provide by Andro

--
===============
"Indonesian Android Community [id-android]"

HTC Android Phone with HTC Sense and HTCsense.com
http://www.htc.com/DesireHD/
---------------------
ID Android Developer
http://groups.google.com/group/id-android-dev
---------------------
Toko Gila Original  Surabaya
Email: [email protected]  Ph. (031) 91555898
--------------------
i-gadget Store - BEC Bandung
E-mail: [email protected] Ph. 0812-21111191
-------------------
Toko EceranShop - BEC  Bandung
E-mail: [email protected]  Ph. 0815-56599888
------------------

Aturan Jual/Kloteran ID-Android http://goo.gl/azW7

--
===============
"Indonesian Android Community [id-android]"

HTC Android Phone with HTC Sense and HTCsense.com http://www.htc.com/DesireHD/
---------------------
ID Android Developer
http://groups.google.com/group/id-android-dev
---------------------
Toko Gila Original  Surabaya
Email: [email protected]  Ph. (031) 91555898
--------------------
i-gadget Store - BEC Bandung
E-mail: [email protected] Ph. 0812-21111191
-------------------
Toko EceranShop - BEC  Bandung
E-mail: [email protected]  Ph. 0815-56599888
------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

Kirim email ke