Assistant
THEME IS CLOSED |
Help finish cyanogenmod 9 on LG Optimus L3 Dual | LG E405 |
Message#1 17.02.17, 21:16 | |
Local [offline] Group: Banned Messages 110 Check in: 11.02.17 Reputation: 1 | �������� �������� cyanogenmod 9 �� LG Optimus L3 Dual downloadDevice or OS, firmware:LG E405,4.0.4, cyanogenmod 9. Problem: Sims are not working on our LG E405! So, let's all together create a trouble-free firmware and please many people! Link to firmware: Screenshot: M Check outResource Rules! 4.7.2. Messages that contain grammatical and / or syntactic errors can cause a negative reaction from forum members. Try to write correctly. Post has been editedRu4kin - 18.02.17, 08:46 |
Message#22 13.03.17, 22:26 | |
Local [offline] Group: Banned Messages 110 Check in: 11.02.17 Reputation: 1 | |
Message#23 16.03.17, 18:24 | |
User [offline] Group: Friendssavagemessiahzine.com Messages 82 Check in: 13.03.13 Reputation: 27 | Today I will talk about how the interaction with the modem in the Android OS is arranged. This article describes the structure of the components of the Android operating system responsible for networking using packet data transmission protocols such as GPRS, EDGE, 3G, etc. This article contains a large amount of theory. Air Interface Layer Description Consider the so-called radio interface layer, from the English - Radio Interface Layer. In Android, it represents an abstract layer between a telephony service (android.telephony) and a modem. The radio interface layer. which includes: java radio interface layer; Ril demon; event planner; RIL manufacturer. The components of the radio interface layer perform the following tasks: The radio interface Java layer (RIL Java) sends requests to the RIL daemon via the local Linux socket / dev / socket / rild. Java RIL source codes are located in the /telephony/java/com/android/internal/telephony/gsm/RIL.java file. The RIL daemon loads and initializes the producer and event scheduler RIL. The source code for the RIL daemon is located in the / hardware / ril / rild / directory. Event Scheduler processes the requested and unsolicited commands. It is an intermediary between Java RIL and the manufacturer RIL. The event scheduler source codes are located in the / hardware / ril / libril / directory. The manufacturer’s RIL initializes the modem, interacts directly with the modem. The manufacturer’s RIL is a dynamic library developed by the modem manufacturer. The development template is located in the / hardware / ril / reference-ril / directory. The most popular manufacturers of modems for mobile devices today are Intel and Qualcomm, and the source codes of libraries are not available. The internal structure of the RIL demon The task of the RIL daemon is to initialize the air interface layer when the OS starts. After examining a small amount of the RIL daemon code, you can see that it performs its work according to the following algorithm: 1. Reads from the system settings the path to the manufacturer’s RIL (rild.libpath) and system properties that are used by the manufacturer’s RIL. 2. Loads the manufacturer's RIL and starts the event loop in the event scheduler. 3. Calls the RIL_Init function to initialize and get references to the manufacturer’s RIL functions. 4. Calls the RIL_register function to register the event scheduler for references to the manufacturer’s RIL functions. There are two types of interaction between the components of the radio interface layer: solicited (solicited) and unsolicited (unsolicited) commands. The requested commands are initiated by the telephony service, such as an outgoing call, the establishment of an Internet connection. Unsolicited commands are initiated by the modem, for example, an incoming SMS message, an incoming call. Communication between the telephony service and the event scheduler The interaction between Java RIL and the event scheduler takes place via the local Linux socket / dev / socket / rild. Each request to the library level is written to an instance of the com.android.internal.telephony.RILRequest class, to save information about the request until a response is received from the underlying layers of the radio interface. The request parameters are written into the parcel structure, and the request itself is sent to the com.android.internal.telephony.RIL.RILSender class. The format of the request is shown in the figure below: The com.android.internal.telephony.RIL.RILReceiver class listens on a local Linux socket, awaiting responses from the event scheduler. RILReceiver receives two types of responses: the requested and unsolicited. Their format is presented in the figures below. The implementation of the manufacturer's RIL To implement a manufacturer’s RIL, a modem manufacturer develops a dynamic library that implements many of the functions that the Android operating system needs to handle requests addressed to a modem. Its name is determined by the following agreement: libril-<Company name>-<RIL version>.so The header file /include/telephony/ril.h contains: description of a set of structures, for example: RIL_RadioState, RIL_Data_Call_Response; function prototypes, for example: RIL_Init, RIL_onRequestComplete; numeric definitions for the requested and unsolicited commands, for example: # define RIL_REQUEST_SETUP_DATA_CALL 27. The radio interface layer is hardware independent and the manufacturer’s RIL can use any protocol to communicate with the modem. As a rule, many standardized Hayes AT-commands are used, however, some modem manufacturers supplement the standard set of AT-commands with their own extensions. To manage the requested commands, the modem manufacturer must implement a set of functions, the prototypes of which are described below. The request types of the requested commands are defined in the ril.h header file with the prefix RIL_REQUEST_. void (* RIL_RequestFunc) (int request, void * data, size_t datalen, RIL_Token t) This is the function of processing the requested commands. It processes the requested commands, which are defined in the ril.h header file and begin with the prefix RIL_REQUEST_. RIL_RadioState (* RIL_RadioStateRequest) () This function returns the current state of the modem. int (* RIL_Supports) (int requestCode) the function returns 1 if the given request code is supported, and 0 otherwise. void (* RIL_Cancel) (RIL_Token t) This function is used to indicate that a pending request will be canceled. Called in a separate thread, different from the one in which the RIL_RequestFunc function is called. const char * (* RIL_GetVersion) (void) returns the manufacturer’s RIL version. Manufacturer RIL uses the following callbacks to communicate with the RIL daemon: void RIL_onRequestComplete (RIL_Token t, RIL_Errno e, void * response, size_t responselen) reports that the requested command has been processed. void RIL_requestTimedCallback (RIL_TimedCallback callback, void * param, const struct timeval * relativeTime) the function is responsible for the time interval, which you need to make a callback. The callback function that is used by the manufacturer of RIL to run unsolicited commands should be as follows: void RIL_onUnsolicitedResponse (int unsolResponse, const void * data, size_t datalen); Requested commands There are 61 requested commands. They can be grouped as follows: work with a SIM card, I / O and a unique device identifier (11); call status and call handling (16); network status (4); network settings (12); SMS messages (3); packet data protocol connection (4); power and restart (2); additional services (5); manufacturer definitions and support (4). 1. Java RIL calls RILSender.handleMessage () and sends an event planner via the local Linux socket / dev / socket / rild with grouped arguments. 2. Event Scheduler calls listenCallback (), processCommandCallback (), proccessCommandBuffer () sequentially, preprocesses data and calls dispatch (Request code) 3. In the manufacturer’s RIL, the OnRequest () function is called, in which the request code (SETUP_DATA_CALL) determines what action should be taken in the future. The manufacturer's RIL sends the sequence of AT commands corresponding to the request to the modem and accepts the answers to them. Ends processing the request code with a call to the OnRequestComplete () function. If necessary, sends a response to the event scheduler. 4. The event scheduler processes the response from the manufacturer's RIL and calls the response function (Request code) and sends the Java RIL response. 5. Java RIL accepts the response using the RILReceiver.run () method. Unsolicited commands There are 11 unsolicited commands, grouped as follows: network status change (4); incoming SMS message (3); incoming USSD notification (2); change signal strength or time (2). Unsolicited command. 1. The AT-response comes from the modem, the manufacturer's RIL reads it and calls the handler for the corresponding function. Manufacturer RIL prepares data for sending it to the event planner. Ends processing by calling OnUnsolicitedResponse (). 2. The event scheduler processes the data that came with the response, sends the RIL Java response via the local Linux socket / dev / socket / rild. 3. Java RIL accepts the response using RILReceiver.run (). 1. Android source codes android.googlesource.com 2. dpsm.wordpress.com/2010/09/01/smart-phones-are-still-phones 3. www.netmite.com/android/mydroid/development/pdk/docs/telephony.html 4. www.slideshare.net/ssusere3af56/android-radio-layer-interface BEFORE MEETING! Post has been editeddj_stepanov - 16.03.17, 18:25 -------------------- Information Center Programmer |
Message#24 29.03.17, 16:10 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | Any successes? |
Message#25 30.03.17, 14:11 | |
Local [offline] Group: Banned Messages 110 Check in: 11.02.17 Reputation: 1 | |
Message#26 30.03.17, 14:14 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | |
Message#27 30.03.17, 14:21 | |
Local [offline] Group: Banned Messages 110 Check in: 11.02.17 Reputation: 1 | |
Message#28 19.04.17, 06:12 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | |
Message#29 19.04.17, 08:53 | |
Visitor [offline] Group: Banned Messages 29 Check in: 05.04.17 LG Optimus L3 Dual Reputation: 1 | |
Message#30 26.04.17, 00:05 | |
RemixLab [offline] Group: Friendssavagemessiahzine.com Messages 2246 Check in: 05.04.12 Lenovo P2 4/64 Reputation: 398 | In the main theme for your phone, there is a CM9 theme, where there are ready-made firmware. What do you want to do? Modify? Change the launcher or something else? Take and port into this firmware from those that are in the subject, although what's the point. is, if something is not pleasant. It will be the best option. If not, then decompose both firmware and by comparison and substitution, try to edit (boot.img, framework, etc.) Alas, I can not help ... maybe a little later. -------------------- Seasoned ROM Collector |
Message#31 26.04.17, 08:23 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | igorekvelsk, Does not work: • Wi-Fi • Both SIM cards • Camera • Keyboard backlighting • Home button and sim card switching • Adjust the display brightness Plus on my own: blocking does not turn off, and the white screen Works: • All the rest We do not understand, and therefore created a topic. Tried, but it does not work. Some rebuts .... |
Message#32 26.04.17, 08:24 | |
Visitor [offline] Group: Banned Messages 29 Check in: 05.04.17 LG Optimus L3 Dual Reputation: 1 | [email protected], 22:05 In the main theme for your phone, there is a CM9 theme, where there are ready-made firmware. What do you want to do? Modify? Change the launcher or something else? Take and port into this firmware from those that are in the subject, although what's the point. is, if something is not pleasant. It will be the best option. If not, then decompose both firmware and by comparison and substitution, try to edit (boot.img, framework, etc.) Alas, I can not help ... maybe a little later. CM9 firmware is there, but SIM cards are not working on it and I want to fix them! But don `t know how! Post has been editedgetawai48 - 26.04.17, 08:25 |
Message#33 26.04.17, 08:25 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | |
Message#34 26.04.17, 08:26 | |
Visitor [offline] Group: Banned Messages 29 Check in: 05.04.17 LG Optimus L3 Dual Reputation: 1 | igorekvelsk, Does not work: • Wi-Fi • Both SIM cards • Camera • Keyboard backlighting • Home button and sim card switching • Adjust the display brightness Plus on my own: blocking does not turn off, and the white screen Works: • All the rest We do not understand, and therefore created a topic. Tried, but it does not work. Some rebuts .... On cyan kotoriya in the cap, those works except for simok! I don’t know how to wi-fi. Post has been editedgetawai48 - 26.04.17, 08:29 |
Message#35 26.04.17, 08:29 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | |
Message#36 26.04.17, 08:30 | |
Visitor [offline] Group: Banned Messages 29 Check in: 05.04.17 LG Optimus L3 Dual Reputation: 1 | |
Message#37 26.04.17, 08:31 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | |
Message#38 26.04.17, 12:03 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | I wanted to remove the log, but: |
Message#39 26.04.17, 12:11 | |
Visitor [offline] Group: Banned Messages 29 Check in: 05.04.17 LG Optimus L3 Dual Reputation: 1 | |
Message#40 26.04.17, 12:11 | |
Optimist (no) [offline] Group: Friendssavagemessiahzine.com Messages 350 Check in: 13.02.16 Huawei Nova lite 2017 SLA-L22 Reputation: 25 | |
Message#41 26.04.17, 13:59 | |
RemixLab [offline] Group: Friendssavagemessiahzine.com Messages 2246 Check in: 05.04.12 Lenovo P2 4/64 Reputation: 398 | Question ... firmware from L3, fit on L3 dual? If so, then as an option, you can get the MIUI firmware (Android 4.0.4) for the installments. Miyu is a port on the basis of the SM.To know about where to dig, you can look at the instructions for porting miyui. So far, without a computer and there is no possibility to re-read the topic, but you can try, for those who own at least a little knowledge in editing resources. Ril rewrite, it is not everyone can and need knowledge in programming and Linux. Maybe someone this info will be useful. To remove logs, use logcat for PC. I am not a guru and my knowledge is instructions withsavagemessiahzine.comand PC knowledge. -------------------- Seasoned ROM Collector |
mobile version | Now: 05/20/19 08:47 |