Why did binder report transaction failed?

by edwardlee.2002 » Thu, 30 Jul 2009 01:21:00 GMT


Sponsored Links
 i All,

I am porting ril in android. Phone call is fine and I also can send
sms.But rild will crash when there is a sms come and binder report
transaction failed.

Here is radio log.

Any help will be appreciated.

D/RILJ ( 1224): [0079]> SIGNAL_STRENGTH
D/RIL ( 1254): onRequest: SIGNAL_STRENGTH
D/AT ( 1254): AT> AT+CSQ
D/AT ( 1254): AT< +CSQ: 9,99
D/AT ( 1254): AT< OK
D/RILJ ( 1224): [0079]< SIGNAL_STRENGTH {9, 99}
D/AT ( 1254): AT< +CMT: "",26
D/AT ( 1254): AT<
0891683108200105F0040D91683116612260F60000907082223055230677B2D92C3E03
D/RILJ ( 1224): [UNSL]< UNSOL_RESPONSE_NEW_SMS
D/GSM ( 1224): SMS SC address: +8613800210500
D/GSM ( 1224): SMS SC timestamp: 1248789835000
D/GSM ( 1224): New SMS Message Received
D/RILJ ( 1224): [0080]> SMS_ACKNOWLEDGE
D/RIL ( 1254): onRequest: SMS_ACKNOWLEDGE
D/AT ( 1254): AT> AT+CNMA=1
D/GSM ( 1260): SMS SC address: +8613800210500
D/GSM ( 1260): SMS SC timestamp: 1248789835000
D/AT ( 1254): AT< OK
D/RILJ ( 1224): [0080]< SMS_ACKNOWLEDGE
W/RILC ( 1254): EOS. Closing command socket.
<6>binder: 802:821 transaction failed 29189, size 168-0
<6>binder: 802:821 transaction failed 29189, size 168-0
I/RILC ( 1254): libril: new connection
I/RILC ( 1254): RIL Daemon version: android reference-ril 1.0
I/RILJ ( 1389): Connected to 'rild' socket
D/RILJ ( 1389): Radio ON @ init; reset to OFF
D/RILJ ( 1389): [0000]> RADIO_POWER
D/RIL ( 1254): onRequest: RADIO_POWER
D/RILJ ( 1389): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
RADIO_UNAVAILABLE
W/GSM ( 1389): Can't open /system/etc/voicemail-conf.xml
W/GSM ( 1389): Can't open /system/etc/spn-conf.xml
D/GSM ( 1389): [DSAC DEB] registerForPsRestrictedEnabled
D/GSM ( 1389): [DSAC DEB] registerForPsRestrictedDisabled
E/RILJ ( 1389): Hit EOS reading message length
I/RILJ ( 1389): Disconnected from 'rild' socket
D/RILJ ( 1389): [0000]< RADIO_POWER error:
com.android.internal.telephony.gsm.CommandException:
RADIO_NOT_AVAILABLE
I/RIL ( 1411): Opening tty device /dev/pts/0
D/RILJ ( 1389): [0000]> GET_CURRENT_CALLS
D/RILJ ( 1389): [0000]< GET_CURRENT_CALLS error:
com.android.internal.telephony.gsm.CommandException:
RADIO_NOT_AVAILABLE
D/GSM ( 1389): Poll ServiceState done: oldSS=[1 home null null
null ] newSS=[1 home null null null ] oldGprs=1 newGprs=1
oldType=unknown newType=unknown
D/GSM ( 1389): [DataConnectionTracker] Radio is off and clean up
all connection
D/GSM ( 1389): [DataConnectionTracker] Clean up connection due to
radioTurnedOff
D/GSM ( 1389): [DataConnection] Stop poll NetStat
D/GSM ( 1389): [DataConnectionTracker] setState: IDLE
D/GSM ( 1389): [DataConnection] Stop poll NetStat
D/GSM ( 1389): [DataConnectionTracker] ***trySetupData due to
roamingOff
D/GSM ( 1389): [DSAC DEB] trySetupData with mIsPsRestricted=false
D/GSM ( 1389): [DataConnectionTracker] trySetupData: Not ready for
data: dataState=IDLE gprsState=1 sim=false UMTS=false phoneState=IDLE
dataEnabled=true roaming=false dataOnRoamingEnable=false ps
restricted=false
D/GSM ( 1389): [GsmSimCard] Broadcasting intent
SIM_STATE_CHANGED_ACTION NOT_READY reason null
I/RILJ ( 1389): Connected to 'rild' socket
I/RILC ( 1411): libril: new connection
I/RILC ( 1411): RIL Daemon version: Enf



Other Threads

1. Compressed Camera Images

I'm taking pictures with the Camera using takePicture(null, null,
myCallback), but taking pictures on the G1 gives me full 3.1M images
every single time.  I set the appropriate camera parameters in my
onSurfaceChanged() method that is in the Activity, which I know is
calling it as expected, but it seems to have no effect.

Is there a way to have the camera produce natively small images?  Do
they have to be a specific size?
--~--~---------~--~----~------------~-------~--~----~

2. Provide Web Access (non-Mobile) to Android Market!

OK, so I can browse around on my phone to look at the android market
applications.  But as the number of apps grows, and with very limited
sorting and searching implemented, my phone becomes a weaker and
weaker way to find apps I might be interested in. (Amazingly, a search
for 'orient' does not find the 'orienteer' application, and there is
no tagging or metadata search on the phone in the market.)

My computer will always be able to present much richer, bigger,
fancier interface to find applications I want.  Even if I don't have a
way to push them onto my google account in the cloud (which would be
nice), having a real interface to the android market via an ordinary
web browser would be very helpful.

As it is, http://www.android.com/market/ is pointless (a 404 would be
better).  It is deliberately disabled with that silly slide-show
widget to make it impossible even to navigate the few apps that are
displayed, with no search, no information, etc...  The "just a Beta"
excuse doesn't work since EVERYTHING google does seems to be in Beta.

--~--~---------~--~----~------------~-------~--~----~

3. Set an EditText view editable or not

4. how to use TouchDelegate

5. porting on ZOOM MDK

6. updated porting guide

7. page flipping