Version 2 (modified by 14 years ago) (diff) | ,
---|
libril.so
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.
Howto:
- temp-root the phone using Visionary from the AppStore or permroot the phone
- Copy the attached libril.so to the root of the SD-card
- In a shell malke a backup of the original libril.so, copy the modified libril.so to /system/lib and restart rild and com.android.phone
From a command line:
adb shell
In the shell
su mount -o remount,rw /dev/block/mmcblk0p25 /system cp /system/lib/libril.so /sdcard/libril.so.ori cp /sdcard/libril.so /system/lib/ killall rild killall com.android.phone
About 2 seconds after killing the com.android.phone 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 an will increase the lock counter so don't so this if you don't know what you are doing.
Remark
If you leave the modified libril.so in place the unlock sreen will come back every time you switch back from flight mode to normal.
Attachments (2)
- libril.so (39.0 KB) - added by 14 years ago.
- ril.cpp (96.6 KB) - added by 14 years ago.
Download all attachments as: .zip