BQ Aquaris M5 (bq-piccolo)

From postmarketOS Wiki
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
BQ Aquaris M5
BQ Aquaris M5 running Phosh on postmarketOS mainline
BQ Aquaris M5 running Phosh on postmarketOS mainline
Manufacturer BQ
Name Aquaris M5
Codename bq-piccolo
Released 2015
Type handset
Hardware
Chipset Qualcomm Snapdragon 615 (MSM8939)
CPU Octa-core (4x1.5 GHz Cortex-A53 & 4x1.0 GHz Cortex-A53)
GPU Adreno 405
Display 1080 x 1920 (IPS LCD capacitive touchscreen, 16M colors)
Storage 16GB / 32GB
Memory 2GB / 3GB
Architecture aarch64
Software
Original software Android
Original version 5.1.1
Extended version 7.0
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel Mainline
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Partial
Audio
Camera
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Works
NFC
Modem
Calls
Partial
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Works
HDMI/DP
Sensors
Accelerometer
Works
Magnetometer
Works
Ambient Light
Proximity
Works
Hall Effect
Works
Haptics
Barometer
This device is based on the Snapdragon 615.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

Maintainer(s)

Users owning this device


What works

  • Buttons
  • WiFi/Bluetooth
  • SD Card slot
  • Touch (atmel_mxt_ts)
  • Magnetometer (ak09911)
  • Proximity Sensor (ltr559)
  • Vibrator
  • Accelerometer/Gyroscope (bmi160)
  • Front flash (ocs,ocp8110)
  • Rear flash (silergy,sy7802)
  • Status LED (kinetic,ktd2026)

What doesn't work

  • Audio (wlf,wm8998)
  • Front camera (s5k5e2)
  • Rear camera (sony,imx214)
  • NFC (bcm2079x)

hwtest:

Category Model Path Status
framebuffer msm /sys/class/graphics/fb0 working
drm - /sys/class/drm/card0-DSI-1 working
magnetometer ak09911 /sys/bus/iio/devices/iio:device3 working
accelerometer bmi160 /sys/bus/iio/devices/iio:device2 working
gyroscope bmi160 /sys/bus/iio/devices/iio:device2 working
proximity ltr559 /sys/bus/iio/devices/iio:device1 working
input Atmel maXTouch Touchscreen /dev/input/event5 working
input GPIO Buttons /dev/input/event3 working
input GPIO Hall Effect Sensor /dev/input/event2 working
input pm8941_resin /dev/input/event1 working
input pm8941_pwrkey /dev/input/event0 working


How to enter flash mode

BQ bootloader

  • Recovery: Power on the device with both Power and Volume Up buttons.
  • Fastboot: Power on the device with both Power and Volume Down buttons

Installation

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 fastboot oem unlock. You might need to use fastboot oem unlock-go. (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).
    • Warning: lk2nd is installed to the boot partition.

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

Audio

See Qualcomm_Snapdragon_410_(MSM8916)#Audio.

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

Modem

See Qualcomm_Snapdragon_410_(MSM8916)#Modem.

Cellular networking requires the package msm-modem-uim-selection and setting /etc/conf.d/msm-modem-uim-selection to sim_wait_time=10, this will automatically detect a sim card in one of the slots and activate it.

Pictures

See also