BQ Aquaris M5 (bq-piccolo)

Contributors

 * degdag

Maintainer(s)

 * degdag

What works

 * Buttons
 * WiFi/Bluetooth
 * SD Card slot
 * Touch
 * Magnetometer
 * Proximity Sensor
 * Vibrator
 * Accelerometer/Gyroscope
 * Front flash
 * Status LED (not merged yet)

What doesn't work

 * Audio
 * Front camera
 * Rear camera
 * Rear flash



BQ bootloader

 * Recovery: Power on the device with both and  buttons.
 * Fastboot: Power on the device with both and  buttons

Unlock bootloader
To unlock your bootloader boot into Android, enable Developer Options from the settings and enable "Allow OEM unlock". Then boot into Fastboot and use. You might need to use. (Note: All your data will be erased!)

Firmware
It is recommended to flash to latest firmware from BQ before using postmarketos.

postmarketOS
The mainline kernel depends on an alternative bootloader (lk2nd). It does not replace the stock bootloader, but provides its own Fastboot interface. When using the mainline kernel you should always use lk2nd for flashing, not the stock Fastboot mode.


 * 1) Install lk2nd. (Just needed the first time).
 * 2) * Warning: lk2nd is installed to the  partition.

When you have lk2nd installed and running, follow Qualcomm_Snapdragon_410/412_(MSM8916).

Audio
See Qualcomm_Snapdragon_410_(MSM8916).

This device use WM8998 Arizona sound codec driver already in mainline but i failed to get it up ...

Modem
See Qualcomm_Snapdragon_410_(MSM8916).

Cellular networking requires the package  and setting   to , this will automatically detect a sim card in one of the slots and activate it.