[Android Q&A, Help & Troubleshooting] Nikiz:
Yeah, I tried it. I am not an expert on this stuff and I need my phone, so I can't test this at the moment.

This is what the Samsung RIL.java looks like when decompiled: http://pastebin.com/LNcTgV1k (for some reason the variable names are quoted) Looks like dial wants 5 arguments and the generic RIL wants 4. I tried to simulate null CallDetails-argument in SamsungBRCMRIL.java, but it did not make any difference.

I extracted the RIL commands from libril using a very simple program I made. The requests starting at 10000 are the proprietary commands.

#include <stdio.h>

extern const char * requestToString(int request);

int main(int argc, char **argv) {
int i;
for (i = 0; i < 20000; ++i) printf ("%d \t %s\n", i, requestToString(i));
return 0;
}

.

0	<unknown request>
1	GET_SIM_STATUS
2	ENTER_SIM_PIN
3	ENTER_SIM_PUK
4	ENTER_SIM_PIN2
5	ENTER_SIM_PUK2
6	CHANGE_SIM_PIN
7	CHANGE_SIM_PIN2
8	ENTER_NETWORK_DEPERSONALIZATION
9	GET_CURRENT_CALLS
10	DIAL
11	GET_IMSI
12	HANGUP
13	HANGUP_WAITING_OR_BACKGROUND
14	HANGUP_FOREGROUND_RESUME_BACKGROUND
15	SWITCH_WAITING_OR_HOLDING_AND_ACTIVE
16	CONFERENCE
17	UDUB
18	LAST_CALL_FAIL_CAUSE
19	SIGNAL_STRENGTH
20	VOICE_REGISTRATION_STATE
21	DATA_REGISTRATION_STATE
22	OPERATOR
23	RADIO_POWER
24	DTMF
25	SEND_SMS
26	SEND_SMS_EXPECT_MORE
27	SETUP_DATA_CALL
28	SIM_IO
29	SEND_USSD
30	CANCEL_USSD
31	GET_CLIR
32	SET_CLIR
33	QUERY_CALL_FORWARD_STATUS
34	SET_CALL_FORWARD
35	QUERY_CALL_WAITING
36	SET_CALL_WAITING
37	SMS_ACKNOWLEDGE
38	GET_IMEI
39	GET_IMEISV
40	ANSWER
41	DEACTIVATE_DATA_CALL
42	QUERY_FACILITY_LOCK
43	SET_FACILITY_LOCK
44	CHANGE_BARRING_PASSWORD
45	QUERY_NETWORK_SELECTION_MODE
46	SET_NETWORK_SELECTION_AUTOMATIC
47	SET_NETWORK_SELECTION_MANUAL
48	QUERY_AVAILABLE_NETWORKS
49	DTMF_START
50	DTMF_STOP
51	BASEBAND_VERSION
52	SEPARATE_CONNECTION
53	SET_MUTE
54	GET_MUTE
55	QUERY_CLIP
56	LAST_DATA_CALL_FAIL_CAUSE
57	DATA_CALL_LIST
58	RESET_RADIO
59	OEM_HOOK_RAW
60	OEM_HOOK_STRINGS
61	SCREEN_STATE
62	RIL_REQUEST_SET_SUPP_SVC_NOTIFICATION
63	RIL_REQUEST_WRITE_SMS_TO_SIM
64	RIL_REQUEST_DELETE_SMS_ON_SIM
65	SET_BAND_MODE
66	QUERY_AVAILABLE_BAND_MODE
67	STK_GET_PROFILE
68	STK_SET_PROFILE
69	STK_SEND_ENVELOPE_COMMAND
70	STK_SEND_TERMINAL_RESPONSE
71	STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM
72	EXPLICIT_CALL_TRANSFER
73	SET_PREFERRED_NETWORK_TYPE
74	GET_PREFERRED_NETWORK_TYPE
75	GET_NEIGHBORING_CELL_IDS
76	SET_LOCATION_UPDATES
77	CDMA_SET_SUBSCRIPTION_SOURCE
78	CDMA_SET_ROAMING_PREFERENCE
79	CDMA_QUERY_ROAMING_PREFERENCE
80	SET_TTY_MODE
81	QUERY_TTY_MODE
82	CDMA_SET_PREFERRED_VOICE_PRIVACY_MODE
83	CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE
84	CDMA_FLASH
85	CDMA_BURST_DTMF
86	CDMA_VALIDATE_AND_WRITE_AKEY
87	CDMA_SEND_SMS
88	CDMA_SMS_ACKNOWLEDGE
89	GSM_GET_BROADCAST_SMS_CONFIG
90	GSM_SET_BROADCAST_SMS_CONFIG
91	<unknown request>
92	CDMA_GET_BROADCAST_SMS_CONFIG
93	CDMA_SET_BROADCAST_SMS_CONFIG
94	CDMA_SMS_BROADCAST_ACTIVATION
95	CDMA_SUBSCRIPTION
96	CDMA_WRITE_SMS_TO_RUIM
97	CDMA_DELETE_SMS_ON_RUIM
98	DEVICE_IDENTITY
99	EXIT_EMERGENCY_CALLBACK_MODE
100	GET_SMSC_ADDRESS
101	SET_SMSC_ADDRESS
102	REPORT_SMS_MEMORY_STATUS
103	REPORT_STK_SERVICE_IS_RUNNING
104	CDMA_GET_SUBSCRIPTION_SOURCE
105	ISIM_AUTHENTICATION
106	RIL_REQUEST_ACKNOWLEDGE_INCOMING_GSM_SMS_WITH_PDU
107	RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS
108	VOICE_RADIO_TECH
109	GET_CELL_INFO_LIST
110	SET_UNSOL_CELL_INFO_LIST_RATE
111	RIL_REQUEST_SET_INITIAL_ATTACH_APN
112	IMS_REGISTRATION_STATE
113	IMS_SEND_SMS

1000	UNSOL_RESPONSE_RADIO_STATE_CHANGED
1001	UNSOL_RESPONSE_CALL_STATE_CHANGED
1002	UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
1003	UNSOL_RESPONSE_NEW_SMS
1004	UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT
1005	UNSOL_RESPONSE_NEW_SMS_ON_SIM
1006	UNSOL_ON_USSD
1007	UNSOL_ON_USSD_REQUEST(obsolete)
1008	UNSOL_NITZ_TIME_RECEIVED
1009	UNSOL_SIGNAL_STRENGTH
1010	UNSOL_DATA_CALL_LIST_CHANGED
1011	<unknown request>
1012	UNSOL_STK_SESSION_END
1013	UNSOL_STK_PROACTIVE_COMMAND
1014	UNSOL_STK_EVENT_NOTIFY
1015	UNSOL_STK_CALL_SETUP
1016	UNSOL_SIM_SMS_STORAGE_FUL
1017	UNSOL_SIM_REFRESH
1018	UNSOL_CALL_RING
1019	UNSOL_RESPONSE_SIM_STATUS_CHANGED
1020	UNSOL_NEW_CDMA_SMS
1021	UNSOL_NEW_BROADCAST_SMS
1022	UNSOL_CDMA_RUIM_SMS_STORAGE_FULL
1023	UNSOL_RESTRICTED_STATE_CHANGED
1024	UNSOL_ENTER_EMERGENCY_CALLBACK_MODE
1025	UNSOL_CDMA_CALL_WAITING
1026	UNSOL_CDMA_OTA_PROVISION_STATUS
1027	UNSOL_CDMA_INFO_REC
1028	UNSOL_OEM_HOOK_RAW
1029	UNSOL_RINGBACK_TONE
1030	UNSOL_RESEND_INCALL_MUTE
1031	UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED
1032	UNSOL_CDMA_PRL_CHANGED
1033	UNSOL_EXIT_EMERGENCY_CALLBACK_MODE
1034	UNSOL_RIL_CONNECTED
1035	UNSOL_VOICE_RADIO_TECH_CHANGED
1036	UNSOL_CELL_INFO_LIST
1037	RESPONSE_IMS_NETWORK_STATE_CHANGED

10000	OEM_REQUEST_BASE
10001	SET_CELL_BROADCAST_CONFIG
10002	GET_CELL_BROADCAST_CONFIG
10003	RIL_REQUEST_CRFM_LINE_SMS_COUNT_MSG
10004	RIL_REQUEST_CRFM_LINE_SMS_READ_MSG
10005	SEND_ENCODED_USSD
10006	SET_PDA_MEMORY_STATUS
10007	GET_PHONEBOOK_STORAGE_INFO
10008	GET_PHONEBOOK_ENTRY
10009	ACCESS_PHONEBOOK_ENTRY
10010	DIAL_VIDEO_CALL
10011	CALL_DEFLECTION
10012	RIL_REQUEST_READ_SMS_FROM_SIM
10013	USIM_PB_CAPA
10014	LOCK_INFO
10015	RIL_REQUEST_SEND_MOBILE_TRACKER_SMS
10016	RIL_REQUEST_DIAL_EMERGENCY_CALL
10017	RIL_REQUEST_GET_STOREAD_MSG_COUNT
10018	RIL_REQUEST_STK_SIM_INIT_EVENT
10019	RIL_REQUEST_GET_LINE_ID
10020	RIL_REQUEST_SET_LINE_ID
10021	GET_SERIAL_NUMBER
10022	GET_MANUFACTURE_DATE_NUMBER
10023	GET_BARCODE_NUMBER
10024	<unknown request>
10025	<unknown request>
10026	SIM_TRANSMIT_BASIC
10027	SIM_OPEN_CHANNEL
10028	SIM_CLOSE_CHANNEL
10029	SIM_TRANSMIT_CHANNEL
10030	ISIM_AUTH
10031	RIL_REQUEST_MODIFY_CALL_INITIATE
10032	RIL_REQUEST_MODIFY_CALL_CONFIRM
10033	RIL_REQUEST_PS_ATTACH
10034	RIL_REQUEST_PS_DETACH
10035	RIL_REQUEST_ACTIVATE_DATA_CALL
10036	CHANGE_SIM_PERSO
10037	ENTER_SIM_PERSO
10038	GET_TIME_INFO
10039	RIL_REQUEST_OMADM_SETUP_SESSION
10040	RIL_REQUEST_OMADM_SERVER_START_SESSION
10041	RIL_REQUEST_OMADM_CLIENT_START_SESSION
10042	RIL_REQUEST_OMADM_SEND_DATA
10043	RIL_REQUEST_CDMA_GET_DATAPROFILE
10044	RIL_REQUEST_CDMA_SET_DATAPROFILE
10045	RIL_REQUEST_CDMA_GET_SYSTEMPROPERTIES
10046	RIL_REQUEST_CDMA_SET_SYSTEMPROPERTIES
10047	RIL_REQUEST_SEND_SMS_COUNT
10048	RIL_REQUEST_SEND_SMS_MSG
10049	RIL_REQUEST_SEND_SMS_MSG_READ_STATUS
10050	RIL_REQUEST_MODEM_HANGUP
10051	RIL_REQUEST_SET_SIM_POWER
10052	SET_PREFERRED_NETWORK_LIST
10053	GET_PREFERRED_NETWORK_LIST
10054	HANGUP_VT
10055	QUERY_LOCK_NETWORKS

11000	UNSOL_RESPONSE_NEW_CB_MSG
11001	UNSOL_RELEASE_COMPLETE_MESSAGE
11002	UNSOL_STK_SEND_SMS_RESULT
11003	UNSOL_STK_CALL_CONTROL_RESULT
11004	UNSOL_DUN_CALL_STATUS
11005	RIL_UNSOL_RESPONSE_LINE_SMS_COUNT
11006	RIL_UNSOL_RESPONSE_LINE_SMS_READ
11007	UNSOL_O2_HOME_ZONE_INFO
11008	UNSOL_DEVICE_READY_NOTI
11009	UNSOL_GPS_NOTI
11010	UNSOL_AM
11011	RIL_UNSOL_DUN_PIN_CONTROL_SIGNAL
11012	RIL_UNSOL_DATA_SUSPEND_RESUME
11013	UNSOL_SAP
11014	RIL_UNSOL_RESPONSE_NO_NETWORK_RESPONSE
11015	RIL_UNSOL_SIM_SMS_STORAGE_AVAILALE
11016	UNSOL_HSDPA_STATE_CHANGED
11017	RIL_UNSOL_WB_AMR_STATE
11018	RIL_UNSOL_TWO_MIC_STATE
11019	RIL_UNSOL_DHA_STATE
11020	<unknown request>
11021	<unknown request>
11022	RIL_UNSOL_PCMCLOCK_STATE
11023	UNSOL_1X_SMSPP
11024	<unknown request>
11025	<unknown request>
11026	<unknown request>
11027	UNSOL_IMS_REGISTRATION_STATE_CHANGED
11028	UNSOL_MODIFY_CALL
11029	<unknown request>
11030	<unknown request>
11031	<unknown request>
11032	RIL_UNSOL_RTS_INDICATION
11033	RIL_UNSOL_RILD_RESET_NOTI
11034	<unknown request>
11035	RIL_UNSOL_OMADM_SEND_DATA
11036	RIL_UNSOL_DUN
11037	RIL_UNSOL_SYSTEM_REBOOT
11038	RIL_UNSOL_VOICE_PRIVACY_CHANGED
11039	RIL_UNSOL_UTS_GETSMSCOUNT
11040	RIL_UNSOL_UTS_GETSMSMSG
11041	RIL_UNSOL_UTS_GET_UNREAD_SMS_STATUS
11042	RIL_UNSOL_MIP_CONNECT_STATUS
11043	UNSOL_STK_CALL_STATUS