| 1 | = libril.so = |
| 2 | The purpose of this modified libril.so is to enable more debug output and to bring back the SIM unlock dialog for another unlock attempt. |
| 3 | |
| 4 | == Howto: == |
| 5 | 1. temp-root the phone using Visionary from the AppStore or permroot the phone |
| 6 | |
| 7 | 2. Copy the attached libril.so to the root of the SD-card |
| 8 | |
| 9 | 3. In a shell copy the libril.so to /system/lib and restart rild and com.android.phone |
| 10 | |
| 11 | From a command line: |
| 12 | {{{ |
| 13 | adb shell |
| 14 | }}} |
| 15 | In the shell |
| 16 | {{{ |
| 17 | su |
| 18 | mount -o remount,rw /dev/block/mmcblk0p25 /system |
| 19 | cp /sdcard/libril.so /system/lib/ |
| 20 | killall rild |
| 21 | killall com.android.phone |
| 22 | }}} |
| 23 | About 2 seconds after killing the com.android.phone the SIM network unlock PIN dialog should appear. |
| 24 | |
| 25 | Before killing the rild start a logcat in a second terminal: |
| 26 | {{{ |
| 27 | adb logcat -b radio > lc_libril.txt |
| 28 | }}} |
| 29 | |
| 30 | The unlock attempt will fail an will increase the lock counter so don't so this if you don't know what you are doing. |
| 31 | |