BQ Aquaris X5 (bq-paella): Difference between revisions
m Minecrell moved page BQ Aquaris X5 (bq-picmt/paella) to BQ Aquaris X5 (bq-paella): Now it's bq-paella(-downstream) in pmaports |
Cleanup wiki page a bit for new unmaintained bq-paella-downstream device port |
||
Line 2: | Line 2: | ||
| manufacturer = BQ | | manufacturer = BQ | ||
| name = Aquaris X5 | | name = Aquaris X5 | ||
| codename = | | codename = bq-paella | ||
| image = File:P_20200429_093001.jpg|thumb|133px | | image = File:P_20200429_093001.jpg|thumb|133px | ||
| imagecaption = BQ Aquaris X5 | | imagecaption = BQ Aquaris X5 running Plasma Mobile on postmarketOS mainline | ||
| releaseyear = 2015 | | releaseyear = 2015 | ||
| category = community | | category = community | ||
Line 36: | Line 36: | ||
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" --> | | status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" --> | ||
| booting = yes | | booting = yes | ||
| pmoskernel = Mainline | | pmoskernel = Mainline | ||
<!-- you can also use these lines if you need to: | <!-- you can also use these lines if you need to: | ||
if the device haven't originally ran Android OS, e.g. Nokia N900 | if the device haven't originally ran Android OS, e.g. Nokia N900 | ||
Line 89: | Line 89: | ||
$ fastboot flash modem NON-HLOS.bin | $ fastboot flash modem NON-HLOS.bin | ||
As a next step you also need to flash a Linux/Android bootloader (<code>aboot</code>). | As a next step you also need to flash a Linux/Android bootloader (<code>aboot</code>). There are two different versions available: | ||
* '''BQ bootloader:''' Can only boot downstream kernel | |||
* '''Cyanogen bootloader:''' Can boot both downstream and mainline kernel | |||
Therefore, you should flash the Cyanogen bootloader for postmarketOS. You can download it here: [https://github.com/JonnyMe/aquaris-x5-firmware/releases/download/v1.0/cm-13.1.4-ZNH2KAS5FE-paella-signed-fastboot-a6851b4fbe.zip cm-13.1.4-ZNH2KAS5FE-paella-signed-fastboot-a6851b4fbe.zip] <del>[https://storage.googleapis.com/support-files.bq.com/Bootloader/Cyanogen%20OS/cm-13.1.4-ZNH2KAS5FE-paella-signed-fastboot-a6851b4fbe.zip cm-13.1.4-ZNH2KAS5FE-paella-signed-fastboot-a6851b4fbe.zip]</del> | |||
$ fastboot flash aboot emmc_appsboot.mbn | $ fastboot flash aboot emmc_appsboot.mbn | ||
Line 110: | Line 104: | ||
=== postmarketOS === | === postmarketOS === | ||
The mainline kernel depends on an alternative bootloader ([https://github.com/msm8916-mainline/lk2nd 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. | The mainline kernel depends on an alternative bootloader ([https://github.com/msm8916-mainline/lk2nd 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. | ||
Line 141: | Line 131: | ||
{{note|'''Note:''' you'll have to format your system partition to prevent error duing boot if any OS is present on that partition as it's the first partition checked for OS.}} | {{note|'''Note:''' you'll have to format your system partition to prevent error duing boot if any OS is present on that partition as it's the first partition checked for OS.}} | ||
==== Downstream ==== | |||
There is an alternative device port using the downstream kernel, <code>bq-paella-downstream</code>. It can be selected by entering the name in <code>pmbootstrap init</code>. | |||
{{note|'''WARNING:''' The downstream kernel is entirely '''unmaintained''' and only intended for testing features for the mainline kernel. DO NOT USE IT UNLESS YOU KNOW WHAT YOU ARE DOING!}} | |||
== Audio == | == Audio == |
Revision as of 09:06, 16 February 2021
![]() BQ Aquaris X5 running Plasma Mobile on postmarketOS mainline | |
Manufacturer | BQ |
---|---|
Name | Aquaris X5 |
Codename | bq-paella |
Released | 2015 |
Hardware | |
Chipset | Qualcomm MSM8916v2 Snapdragon 412 |
CPU | Quad-core 1.4 GHz Cortex-A53 |
GPU | Adreno 306 |
Display | 720 x 1280 (IPS LCD capacitive touchscreen, 16M colors) |
Storage | 16GB / 32GB |
Memory | 2GB / 3GB |
Architecture | aarch64 |
Software | |
Original software | Android 7.1.2, CyanogenOS 12.1 |
postmarketOS | |
Category | community |
Pre-built images | yes |
postmarketOS kernel | Mainline |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Works |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
Works |
SMS |
Works |
Mobile data |
Works |
Miscellaneous | |
FDE |
Works |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Works |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
Maintainer(s)
Users owning this device
- Aleksander (Notes: WWAN stack tinkering)
- DancesWithCycles (Notes: Posh on pmOS with touch not working)
- Delta503 (Notes: testing on edge against being daily driver)
- Jakko
- Lazzardo (Notes: CyanogenMod Edition)
- Linmob (Notes: broken volume button)
- Marissachan (Notes: 32GB/2GB PMOS edge Phosh)
- Minecrell (Notes: BQ version)
- Mxkrsv (Notes: CyanogenMod Edition)
- PanzerSajt
- Pojntfx
- Rapto
- Sulu
- TuxLX
- Voj343
How to enter flash mode
The device is available in two variants: The normal edition from BQ and a special Cyanogen Edition that runs CyanogenOS. The hardware seems to be identical, but the firmware is different. How to enter Fastboot/Recovery mode depends on the firmware that is currently installed.
BQ bootloader
- Recovery: Power on the device with both
Power
andVolume Up
buttons. - Fastboot: Power on the device with both
Power
andVolume Down
buttons.
Cyanogen bootloader
- Recovery: Power on the device with both
Power
andVolume Down
buttons. - Stock fastboot: Power on the device with both
Power
andVolume Up
buttons. - lk2nd Fastboot: Power on the device. After it vibrates, hold
Volume Down
.
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. You can download it here: 5.2.0_20180228-1305-picmt-user-637-Fastboot-FW.zip.
First flash the early boot firmware:
$ fastboot flash sbl1 sbl1.mbn $ fastboot flash sbl1bak sbl1.mbn $ fastboot flash tz tz.mbn $ fastboot flash tzbak tz.mbn $ fastboot flash hyp hyp.mbn $ fastboot flash hypbak hyp.mbn $ fastboot flash rpm rpm.mbn $ fastboot flash rpmbak rpm.mbn $ fastboot flash modem NON-HLOS.bin
As a next step you also need to flash a Linux/Android bootloader (aboot
). There are two different versions available:
- BQ bootloader: Can only boot downstream kernel
- Cyanogen bootloader: Can boot both downstream and mainline kernel
Therefore, you should flash the Cyanogen bootloader for postmarketOS. You can download it here: cm-13.1.4-ZNH2KAS5FE-paella-signed-fastboot-a6851b4fbe.zip cm-13.1.4-ZNH2KAS5FE-paella-signed-fastboot-a6851b4fbe.zip
$ fastboot flash aboot emmc_appsboot.mbn $ fastboot flash splash splash.img
The bootloader has a splash screen with black background.
Note: After flashing a new bootloader you should reboot the device to make sure the new bootloader is running. |
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.
- Install lk2nd. (Just needed the first time).
- Warning: lk2nd is installed to the
boot
partition, not theaboot
partition you flashed earlier!
- Warning: lk2nd is installed to the
- Choose
bq-paella
and follow the Installation guide (flash from lk2nd, not the Cyanogen fastboot).
Pre-built images
Note: sshd is currently enabled by default in the pre-built images (build.postmarketos.org#85)! |
postmarketOS releases prebuilt-images ready to be flashed on device. Those images comes with a predefined user user
with 147147
as password. Please, follow the below steps to install those image.
Firstly, same as mainline, you will need to install lk2nd. (Just needed the first time).
Then pick the latest image by its date from pmOS pre-built images:
- Phosh , Purism's GTK based phone interface: pre-built image
- Plasma_Mobile , KDE's Plasma based phone interface: pre-built image
You'll need to download both the *-bq-paella-mainline-modem-boot.img.xz
and *-bq-paella-mainline-modem.img.xz
. Then you'll need to extract them:
$ unxz *-bq-paella-mainline-modem-boot.img.xz $ unxz *-bq-paella-mainline-modem.img.xz
And finally you can flash them from lk2nd
bootloader:
$ fastboot flash boot *-bq-paella-mainline-modem-boot.img $ fastboot flash userdata *-bq-paella-mainline-modem.img
Note: you'll have to format your system partition to prevent error duing boot if any OS is present on that partition as it's the first partition checked for OS. |
Downstream
There is an alternative device port using the downstream kernel, bq-paella-downstream
. It can be selected by entering the name in pmbootstrap init
.
WARNING: The downstream kernel is entirely unmaintained and only intended for testing features for the mainline kernel. DO NOT USE IT UNLESS YOU KNOW WHAT YOU ARE DOING! |
Audio
See Qualcomm_Snapdragon_410_(MSM8916)#Audio.
Modem
See Qualcomm_Snapdragon_410_(MSM8916)#Modem.
Status
Currently work is separated based on firmware installed, if you installed the Cyanogen Edition firmware will be referred as bq-paella, if you installed the BQ Android firmware it will be referred as bq-picmt. So here is a summary for both:
bq-picmt: runs on downstream kernel
Works: USB Network, WiFi, Display, weston, weston-calibrator, Modem (somewhat)
Buggy: ts_calibrate: to make screen get touches I incrementally have to touch screen with one finger and then with that finger on screen touch the crosshair, then for the second two fingers and crosshair, for the third three fingers and crosshair...don't know why but it started happening when I replaced my broken screen with a new one, if someone has this device with original screen can check if the same issue is present or not
bq-paella: runs on mainline kernel
Works: USB Network, WiFi, Bluetooth, Display, Touchscreen, Volume buttons, Accelerometer, Gyroscope, Magnetometer, Touchkeys backlight, Audio (Headphones, Earpiece, Speaker, MIC), Voice calls, SMS, Mobile Internet
Pictures
-
xeyes running on Weston on bq-paella
-
FDE, osk-sdl running on bq-paella
-
phosh running on bq-paella
-
GNOME Settings running on bq-paella
-
GNOME Terminal on bq-paella
-
GNOME Clocks on bq-paella
-
Wi-Fi on bq-paella
-
Bluetooth on bq-paella
-
Firefox with WebGL on bq-paella
See also
- pmaports!1134 Initial merge request
- pmaports!1319 Moving to community