[ONE General] (dylanger):
Hey Guys,

Another little update, I've modified libril.c to print out the data for UNSOLICITED Commands.

Incoming SMS: 01-12 10:11:05.568 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_NEW_SMS DATA LEN: 128 ACTUAL DATA: 07911614051115F10410D0D3ECB4156416A554000161102111114044275479D83D0F8FE9E9B71B640CA7D96532A8054ABAE775B3393D4E97DD7490B9EE26CF01

Under ACTUAL DATA is the SMS PDU Data.

However on an incoming call, vendor ril appears to invoke UNSOL_OEM_HOOK_RAW with data that can't be printed out. It also looks like the vendor ril adds QOEMHOOK to all responses.

[IMG="Vendor RIL in IDA"]http://onedefence.com/public/VendorRILCap.PNG[/IMG]

Incoming Call: 01-12 10:15:04.381 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_OEM_HOOK_RAW DATA LEN: 17 ACTUAL DATA: QOEMHOOK∩

01-12 10:15:04.381 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.395 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_OEM_HOOK_RAW DATA LEN: 18 ACTUAL DATA: QOEMHOOK

01-12 10:15:04.395 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.397 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:04.397 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.446 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_NITZ_TIME_RECEIVED DATA LEN: 24 ACTUAL DATA: 16/01/12,00:15:04+40,00

01-12 10:15:04.446 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.451 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_SIGNAL_STRENGTH DATA LEN: 56 ACTUAL DATA: 

01-12 10:15:04.451 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.460 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_SIGNAL_STRENGTH DATA LEN: 56 ACTUAL DATA: 

01-12 10:15:04.460 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.463 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_OEM_HOOK_RAW DATA LEN: 17 ACTUAL DATA: QOEMHOOK∩

01-12 10:15:04.463 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.465 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:04.465 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.473 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_NITZ_TIME_RECEIVED DATA LEN: 24 ACTUAL DATA: 16/01/12,00:15:04+40,00

01-12 10:15:04.473 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.479 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_OEM_HOOK_RAW DATA LEN: 17 ACTUAL DATA: QOEMHOOK·

01-12 10:15:04.479 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.486 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_SIGNAL_STRENGTH DATA LEN: 56 ACTUAL DATA: 

01-12 10:15:04.486 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.487 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:04.487 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.041 261 17604 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:04.041 261 17604 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.164 261 431 I RILC : DYLA: UNSOL DATA: UNSOL_CALL_RING DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:04.164 261 431 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.770 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_CALL_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:04.770 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:04.816 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_CALL_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:04.816 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:07.367 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:07.367 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:07.368 261 438 I RILC : DYLA: UNSOL DATA: UNSOL_SIGNAL_STRENGTH DATA LEN: 56 ACTUAL DATA: 

01-12 10:15:07.368 261 438 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:07.380 261 17747 I RILC : DYLA: UNSOL DATA: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED DATA LEN: 0 ACTUAL DATA: (null)

01-12 10:15:07.380 261 17747 I RILC : DYLA: ACTUAL DATA: (null)

01-12 10:15:09.506 261 431 I RILC : DYLA: UNSOL DATA: UNSOL_OEM_HOOK_RAW DATA LEN: 58 ACTUAL DATA: QOEMHOOK≈