Hi, I have encountered deadlock problem when applying SQLCipher to my application. There is a closed issue about it : https://github.com/sqlcipher/android-database-sqlcipher/issues/97 I compared the lock method used in SQLCipher with AOSP4.0.1, and found that there are some difference. After doing some changes, I finally get rid of deadlock problem. Here is the patch: https://github.com/promeG/SQLCipher-Android-Fix-Deadlock-Patch I hope it can help with other people who have the same problem. SQLCipher is a great project, thank you for your hard work!