The purpose of this modified is to enable more debug output and to bring back the SIM unlock dialog for another unlock attempt.


  1. temp-root the phone using Visionary from the AppStore or permroot the phone
  1. Copy the attached to the root of the SD-card
  1. In a shell malke a backup of the original, copy the modified to /system/lib and restart rild and

From a command line:

adb shell

In the shell

mount -o remount,rw /dev/block/mmcblk0p25 /system
cp /system/lib/ /sdcard/
cp /sdcard/ /system/lib/
killall rild

About 2 seconds after killing the the SIM network unlock PIN dialog should appear.

Before killing the rild start a logcat in a second terminal:

adb logcat -b radio > lc_libril.txt

The unlock attempt will fail and will increase the @LOCK_TIME lock counter so don't this if you don't know what you are doing.


If you have a perm-rooted phone and leave the modified in place the unlock sreen will come back every time you switch back from flight mode to normal.

Last modified 13 years ago Last modified on 11/18/10 10:27:30

Attachments (2)

Download all attachments as: .zip