03-09 16:21:59.340: W/System.err(5239): java.lang.SecurityException: Neither user 10043 nor current process has android.permission.MODIFY_PHONE_STATE.
REASON:
The problem you're having is specific to Android 2.3 (Gingerbread). Any code you have that requires MODIFY_PHONE_STATE will work all the way up to (and including) Android 2.2, but will break for Android 2.3+.
A change was checked in by David Brown that limits the use of the MODIFY_PHONE_STATE permission to system apps. System apps are either
- Pre-installed into a system folder on the ROM
- Compiled by a manufacturer using their security certificate
There is an open issue for this, and I encourage everyone to star it.
I suspect you're trying to use a hidden API like ITelephony. I am - and I got burned by this. The Android team's justification is that it was hidden and you shouldn't have been using it anyways. My personal belief is that there was no security risk (it needed a permission) so just leave it in place until they finish building a proper public Telephony API.
David Brown's email address can be found in the checkin log (linked above)... although I'm not sure if it's a throwaway address or actively monitored by him. It's certainly worth reaching out to him to see why he changed this / if he will roll it back.