Changes between Version 5 and Version 6 of back_to_stock


Ignore:
Timestamp:
02/03/11 00:40:39 (12 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • back_to_stock

    v5 v6  
    3131Before you can adb as described below you need to enable debugging in the settings on the phone. In Settings go to "Applications -> Development" and check the "USB debugging" option.
    3232
    33 You will need the Android Terminal Emulator, get it from the market!
     33In the commands to run below, '''$ or # represent the prompt and should NOT be entered as part of the commands''' (in windows this will be something like C:\> instead).
    3434
    35 In the commands to run below, $ or # represent the prompt and should NOT be entered as part of the commands.
     35Get the psneuter.zip from here [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/psneuter/psneuter.zip] and unzip the psneuter.zip files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
     36{{{
     37$ adb push psneuter /data/local/tmp/psneuter
     38$ adb shell chmod 777 /data/local/tmp/psneuter
     39$ adb shell /data/local/tmp/psneuter
     40$ adb shell
     41}}}
     42after the last command you should have a root shell in adb (this is indicated by a # prompt).
     43Leave this terminal (or command window) that contains the root shell open.
    3644
    37 Get the gfree_temp-root.zip that is attached to this page and unzip the gfree_temp-root.zip files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
    38 {{{
    39 $ adb push su /sdcard/su
    40 $ adb push Superuser.apk /sdcard/Superuser.apk
    41 $ adb push rage /data/local/tmp/rage
    42 $ adb push busybox /data/local/tmp/busybox
    43 $ adb push root /data/local/tmp/root
    44 $ adb shell chmod 0755 /data/local/tmp/*
    45 }}}
     45=== restoring the backup of partition 7 ===
     46Setting S-ON and CID and restoring the simlock can be done using gfree to restore the backup of you partition 7.
    4647
    47 ON YOUR PHONE:
    48    1. Launch Terminal Emulator
    49 
    50    2. $ /data/local/tmp/rage
    51 
    52    3. Wait for the message: "Forked #### childs."
    53 
    54    4. Menu > Reset Term - Terminal Emulator will exit.
    55 
    56    5. Launch Terminal Emulator, it Force Closes. Launch a second time, and you'll have a root shell
    57 
    58 === using gfree to get radio S-ON and the original CID ===
     48You can use gfree to remove the write protection from the emmc and the kernel and restore the backup. To do so you can use the "-r" option of gfree.
    5949
    6050ON YOUR PC:
     
    6252Get gfree_04.zip that is attached to this page [http://www.thinkthinkdo.com/trac/project1/wiki/gfree].
    6353
    64 Unzip gfree_04.zip to a place on your computer. Navigate to where the files are on your computer, and type:
     54Unzip gfree_04.zip to a place on your computer. Open a terminal or command window, navigate to where the files are on your computer, and type:
    6555{{{
    66 $ adb push gfree /data/local/tmp/
     56$ adb push gfree /data/local/tmp/gfree
     57$ adb shell chmod 777 /data/local/tmp/gfree
    6758}}}
    68 Gfree should now be in your phone at /data/local/tmp
     59gfree should now be in your phone at /data/local/tmp
    6960
    70 ON YOUR PHONE:
     61IN THE ROOT SHELL (in the first terminal/command) :
    7162
    72 You should still have terminal emulator up, at a root prompt from earlier.
     63We assume that the backup of your partition 7 in in /sdcard and is called part7backup-<time>.bin (replace <time> with the time string of your backup).
    7364
    7465Now run:
    7566{{{
    76 # cd /data/local/tmp
    77 # ./gfree -s on -c T-MOB010
     67# /data/local/tmp/gfree -r /sdcard/part7backup-<time>.bin
    7868# sync
    7969}}}
    80 Remove the PC10IMG.zip from the sdcard:
     70Remove the PC10IMG.zip and the tools from the phome:
    8171{{{
    8272# rm /sdcard/PC10IMG.zip
     73# rm /data/local/tmp/psneuter
     74# rm /data/local/tmp/gfree
    8375}}}
    8476
     
    8981The heading should now read: "VISION PVT SHIP S-ON"
    9082
    91 === restoring the backup of partition 7 ===
    92 Alternatively to setting the S-ON and CID by using gfree you can also install the backup of you partition 7.
    93 
    94 You can use gfree to remove the write protection from the emmc and the kernel and restore the backup. To do so you can use the "-r" option of gfree.
     83=== using gfree to get radio S-ON and the original CID ===
     84If you lost your partition 7 backup or you do not want to restore the simlock data you can use the -c and -s options of gfree to set the CID and the S-ON flag.
    9585
    9686ON YOUR PC:
     
    9888Get gfree_04.zip that is attached to this page [http://www.thinkthinkdo.com/trac/project1/wiki/gfree].
    9989
    100 Unzip gfree_04.zip to a place on your computer. Navigate to where the files are on your computer, and type:
     90Unzip gfree_04.zip to a place on your computer. Open a terminal or command window, navigate to where the files are on your computer, and type:
    10191{{{
    102 $ adb push gfree /data/local/tmp/
     92$ adb push gfree /data/local/tmp/gfree
     93$ adb shell chmod 777 /data/local/tmp/gfree
    10394}}}
    104 Gfree should now be in your phone at /data/local/tmp
     95gfree should now be in your phone at /data/local/tmp
    10596
    106 ON YOUR PHONE:
    107 
    108 You should still have terminal emulator up, at a root prompt from earlier.
    109 We assume that the backup of your partition 7 in in /sdcard and is called part7backup-<time>.bin (replace <time> with the time string of your backup).
    110 
     97IN THE ROOT SHELL (in the first terminal/command) :
    11198Now run:
    11299{{{
    113 # cd /data/local/tmp
    114 # gfree -r /sdcard/part7backup-<time>.bin
     100# /data/local/tmp/gfree -s on -c T-MOB010
    115101# sync
    116102}}}
    117 Remove the PC10IMG.zip from the sdcard:
     103Remove the PC10IMG.zip and the tools from the phome:
    118104{{{
    119105# rm /sdcard/PC10IMG.zip
     106# rm /data/local/tmp/psneuter
     107# rm /data/local/tmp/gfree
    120108}}}
    121109