Crea sito

Paldan time

Just write it!

Navigation Menu

AOSP dhcpcd-6.8.2 how to run hooks

Posted by on Nov 8, 2017 in Android, AOSP | 0 comments

Since Android 7, AOSP dhcpcd (standard dhcp client) was replaced by dhcpcd-6.8.2 that is, reading in Android.mk, a “D-Bus enabled and compatible with Brillo daemons” dhcp client based on dhcpcd: let’s see how it should be customized for running hooks after completing some actions. For my tests I’m using the Hikey960, even though...

Read More

Wireshark QMI dissector: indications and common-ref field now supported

Posted by on Ott 28, 2017 in QMI, Wireshark | 0 comments

In the past few days I did a few improvements to the Wireshark QMI dissector: most important of them are the indications and the common-ref field in libqmi json support. The latter patch was needed to properly translate important requests such as WDS Create Profile. I would like to thank also Carlo Lobrano for his patch related to coding style issues! The...

Read More

Hikey 960 telephony features: how to add them using Android 8

Posted by on Ott 22, 2017 in Android, AOSP, RIL |

Once again a new AOSP supported target is available, and I need to use it for developing and testing the RIL: so, like done for the classic Hikey and Android 6, here’s my recipe that explains how to add the Hikey 960 telephony capabilities in an Android 8 image. Customizing the Hikey 960 for Android 8 (Oreo) Let’s start with inheriting a...

Read More

Wireshark qmi dissector available

Posted by on Set 29, 2017 in development, QMI, USB, Wireshark |

This past week I had to debug a issue related to a QMI-based modem, so I thought it would have been convenient to use a Wireshark qmi dissector for analyzing communication between host and modem with protocol decoding. Looking around the web I found Ilya Voronin’s Wireshark Dissector for Qualcomm MSM Interface (QMI) Protocol v0.1. Nice, that was what...

Read More

cdc-wdm support now added in AOSP Hikey

Posted by on Set 11, 2017 in Android, AOSP, Linux, MBIM, QMI, USB |

Recently I was trying to use my QMI and MBIM based modems in AOSP, with no luck: no cdc-wdm device was available in /dev/ after modem plugging, apparently without any kernel error. First guess was lack of cdc-wdm device driver in my kernel build, but, after checking, that was not the issue, since the network interfaces of the modem were properly created....

Read More