However, any Linux centered kernel are unit depending, so there have to be a method to talk to one product. (I have not a clue how exactly to work on RPC’s. )
A: Agree, however, HW hackers wyprГіbuj stronД™ are often excess worried about obtaining the exact datasheets. Alternatively shoot for an old/equivalent one that’s offered. The existing device drivers probably have maybe not altered Anywhere near this much, but no less than it could be a start.
Older Recognized Developer
- #7
Not difficult to acquire shed, they required literally several months to know all of these something. Source are very dirty — listen to Makefiles, a number of motorists commonly actually built-up into the. I9000 GB rider (it had been reorganised, evaluating so you can Froyo) erbread-samsung/drivers/misc/samsung_modemctl
Discover my personal utilization of SHP OneDram structures-process around, based on I9000 GB driver — (its not functioning yet — noone checked-out it)
As you can see — it’s simply lowlevel software out-of sending frames and you may few parsers. Real parsers and you may senders of frames have libsec-ril.so collection of platform — you can open they with IDA (I would suggest six.0+, it does manage Had out of linux DLLs much better than earlier versions) and find booting modem, establishing callbacks inside of dpram/modemctl, parsing and you can giving packages and so on. Have fun.
Associate
- #8
I have to state I am very missing on the topic already. I have learn about eg content during the replicant enterprise a while back. Perhaps you acquire some helpful suggestions around.
Participant
- #10
I’m the fresh new Replicant developer just who done Nexus S port and get did the work into aries (galaxy s, galaxy case) gadgets and you may authored a majority of your totally free RIL.
Modems towards the Android products is an extensive website name. Devices disagree towards a lot of things, like: * modem chipset * modem firmware * transportation modem AP * modem method * user-area combination (Android os RIL)
The very first thing ‘s the modem chipset. You will find plenty. For example to the HTC cell phones, you should have the people included in the MSM or QSD SoCs (that’s quite unusual, modems are not usually the main SoC) IIRC. Into the other gizmos, it is another type of processor connected to the SoC via some transport measures.
I’m sure finest your situation of recent Samsung mobile phones, such as for example Nexus S, Universe S, Galaxy Case (very first gen), Universe S2, etcetera.
There, there is the modem, constantly an intel x-silver 6xx, that is wired to your SoC. Therefore transportation is done thru serial range and you can/or specific dedicated RAM memories (not throughout the chief sticks).
Regardless if a phone have an identical modem wired (at technology top) the same way, the fresh kernel vehicle operators can be more. That’s the matter-of nexus s and you will universe s. With the earliest one to, modem Rx/Colorado having AP is performed through ioctls during galaxy s it’s over via a good PHONET circle screen (svnet0). Making it perhaps not (and particularly towards the Samsung devices) merely a serial interface you could open that have monitor: you must know just how it’s over and you can establish loyal app to reproduce so it (cf. the brand new password to your libsamsung-ipc/devices/ that is device-specific).
Thus once you’ve transport set-up, you have to know regarding the method the modem talks. This hinges on the new firmware the brand new modem is running. I understand that the modem found in Nexus S is even included in particular new iphone 4 (4G IIRC) however it have a new firmware and thus talks a unique protocol. I think that it is On to your new iphone while Nexus S speaks a great samsung-specific modem process. They devised one to protocol and you will rewritten brand new modem firmware to utilize it in lieu of In the or whatever else. That it process is commonly called «Samsung IPC Protocol» and then we provides a no cost utilization of it in libsamsung-ipc and you can samsung-ril.