Changes between Version 9 and Version 10 of radio_s_off


Ignore:
Timestamp:
11/29/10 18:18:14 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • radio_s_off

    v9 v10  
    881. Perm root your phone
    99
    10 2. Make a backup of partition 7 of your phone
     102. Make a backup of partition 7 of your phone, copy the image of partition 7 to your PC and modify it with a HEX-editor
    1111
    12123. Use a custom kernel and the appropriate wp-this module to get rid of the write protection of the radio partitions
    1313
    14 4. Copy the image of partition 7 to your PC and modify it with a HEX-editor, push it back to phone and copy it to the partition 7
     144. , push it back to phone and copy it to the partition 7
    1515
    16 At this point in time the @secu_flag is removed from your phone and you can run certain AT@SIMLOCK commands.
     16At this point in time the @secu_flag is removed from your phone and your phone is S-OFF.
     17
     18== Optional steps - verify the S-OFF (Overview of the steps) ==
    1719
    18205. start hboot, attach a serial console to it and start rtask c
    1921
    20 6. attach a serial console to the now running AT-command interpreter and run AT@SIMLOCK=3,2 to write the subsidy data clear text to partition 7
    21 
    22 === 4 Enable @secu_flag=0 in partition 7 ===
     226. attach a serial console to the now running AT-command interpreter and run some AT-commands to verify the success
    2323
    2424=== 2 Backup partition 7 ===
     25Create a backup of your partition 7:
     26
     27Get a adb-shell:
    2528{{{
     29adb shell
     30}}}
     31
     32In the shell
     33{{{
     34su
    2635dd if=/dev/block/mmcblk0p7 of=/sdcard/mmcblk0p7-ori.img
    2736}}}
     37Exit the shell and copy the image to your PC.
     38(On your PC)
     39{{{
     40mkdir p7
     41cd p7
     42adb pull /sdcard/mmcblk0p7-ori.img mmcblk0p7-ori.img
     43}}}
     44Make a copy of the image
     45{{{
     46cp mmcblk0p7-ori.img mmcblk0p7-new.img
     47}}}
     48Hex-edit the file (do be described later)
    2849
     50=== 3 Copy the modified partition 7 back to the phone ===
     51(On the PC)
    2952{{{
    3053adb push mmcblk0p7-new.img /sdcard/
    3154}}}
    3255
     56Get a shell:
     57{{{
     58adb shell
     59}}}
     60In the shell:
    3361{{{
    3462insmod /sdcard/wpthis-cyanogen.ko
     
    3664sync
    3765}}}
    38 Wait a minute to make sure that the changes stick
     66Wait a minute to make sure that the changes stick.
     67
     68Reboot the phone.
     69
     70=== 4 Enable @secu_flag=0 in partition 7 ===
     71
    3972
    4073=== 5 start rtask c in hboot ===
     
    4881}}}
    4982This will terminate your console session. Attach the serial to the new USB-device
     83=== 6 Verify the success using the AT-command interpreter ===
    5084{{{
    5185sudo modprobe -r usbserial
     
    6599@secu_flag: 0
    66100
     101AT@SIMLOCK?40
     102@SIMLOCK: 00
     103
    67104OK
    68 AT@SIMLOCK=3,8
    69 AT@SIMLOCK=3,2
    70 ERROR
    71 AT@SIMLOCK=3,1
    72 ERROR
    73 AT@SIMLOCK=3,2
    74 ERROR
    75 AT@SIMLOCK=3,4
    76 OK
    77 AT@SIMLOCK=3,8
    78 ERROR
    79 AT@SIMLOCK=3,10
    80 OK
    81 AT@SIMLOCK=3,1
    82 ERROR
    83 AT@SIMLOCK=3,2
    84 ERROR
    85 at$qcpwrdn
     105
     106AT$QCPWRDN
    86107}}}
    87 
    88 {{{
    89 dd if=/dev/block/mmcblk0p7 of=/sdcard/mmcblk0p7-s1.img
    90 }}}
    91 {{{
    92 adb pull /sdcard/mmcblk0p7-s1.img mmcblk0p7-s1.img
    93 }}}