Attempt with qmi-firmware-update

Aleksander Morgado aleksander at
Mon Feb 6 08:53:33 UTC 2017

On Sun, Feb 5, 2017 at 9:40 PM, Adam Sherman <adam at> wrote:
>> Also, could you build libqmi from git master? I fixed a couple of
>> bugs last week already. Maybe not exactly where you're seeing the
>> issue, though.
> I'll go figure out how to do that while keeping my system clean. Any tips?

Yeah, just go on and overwrite the default libqmi package installation
(I did never tell you to do this) :)

$ sudo apt-get build-dep libqmi
$ ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
--libexecdir=/usr/lib/libqmi --disable-gtk-doc --enable-mbim-qmux
$ make -j8
$ sudo make install

Although just to test qmi-firmware-update you could use a different
prefix altogether, e.g.:
$ ./configure --prefix=/opt/qfu-test
But in this case you'll need to run with LD_LIBRARY_PATH set, e.g.:
$ LD_LIBRARY_PATH=/opt/qfu-test/lib /opt/qfu-test/bin/qmi-firmware-update ....

Otherwise, you could rebuild your own .deb using the debian packaging
from here, and bumping the version in the debian/Changelog:


More information about the libqmi-devel mailing list