[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
9 Additional information, comments, ...

9.0 Latest working versions:

9.0.1 Android Oreo (Android 8.1.0)

Firmware 2.11.0 (Android 8.1.0 Oreo)

Download BQ Firmware 2.11.0 for BQ Aquaris X Pro

Download BQ Firmware 2.11.0 for BQ Aquaris X

TWRP 3.4.0-0 [2019-07-20]

Download TWRP for BQ Aquaris X Pro

Download TWRP for BQ Aquaris X

Magisk v20.4 stable (20400) / Magisk Manager App v7.5.1 (267)

Download from Magisk Forum Thread

Download from Magisk Github release page

Minimum required versions for Oreo:

BQ Firmware: 2.0.0 (Android Oreo 2.1.0)

prerelease from beta (see screenshot below for details)

the official update .zip (confirmed by iss0 in post#95))

TWRP 3.2.1-1 (<-- new version needed for Oreo)

Magisk v16.7 beta (see screenshot below)

MagiskManagerApp 5.8.3 (129)

View attachment 4496107 View attachment 4496108

9.0.2 Android Nougat (Android 7.1.1)

[2018-04-21]

BQ Firmware: 1.8.0

TWRP 3.2.1-0

Magisk v16.0

MagiskManagerApp 5.6.4 (112)

9.1 Update to firmware 1.5.1

As of 18.11.2017, BQ forgot to include adb and fastboot binaries in the new firmware package 1.5.1.

To update, simply copy the following files from the previous firmware package to the new directory:

adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe

Proceed with instructions from post #1, section '5 Update to newest firmware'.

Don't forget to modify the .bat (comment out userdata, recovery and the reboot) and don't boot up to system after flashing. Directly go to recovery and reflash Magisk. (as described in section '5 Update to newest firmware'.)

The update has been successfully tested by ryazor (post #16) and me coming from firmware 1.4.3 and updating to 1.5.1)

View attachment 4335766

For reference (maybe BQ will replace the .zip later), here is the checksum for the firmware which doesn't contain the binaries:

1.5.1_20171110-0910-bardockpro-user-1336-Fastboot-FW.md5

738664221520D446F689DCDDD5C611DF *1.5.1_20171110-0910-bardockpro-user-1336-Fastboot-FW.zip

9.2 Adb and fastboot on Linux/Ubuntu

User torbol reported that the adb and fastboot versions packaged with Ubuntu 16.04 are too old and don't support the commands for unlocking the bootloader. See his blog linked in Post #22 for further information.

Solution is to manually fetch the newer versions from the Android SDK.

9.3 Use of adblockers

If you want to use adblockers like AdAway which rely on the /system/etc/hosts file, you'll have to enable the support in the Magisk Manager app.

Symptom when trying to use the app without the switch: phone freezes when the app is given root access and tries to write it's changes.

9.3.1 Magisk v18.0 and up

Starting with Magisk v18.0, the setting for systemless hosts changed a little.

go to settings and tap the entry 'Systemless hosts', a notification toast will pop up at the bottom of the screen: 'added systemless hosts module'

View attachment 4667905

check the modules tab; there will be a new module for systemless hosts support

View attachment 4667904

reboot to activate the module

start your adbocker app and apply the /system/etc/hosts file changes

9.3.1 Before Magisk v18.0

Open MagiskManager, hop to settings and enable the switch 'Systemless hosts' (subtext "Systemless hosts support for Adblock apps").

View attachment 4370503

9.4 Update TWRP

- Connect USB cable to PC

9.4.1 Flash new TWRP

- Boot into fastboot mode

E:\backups\android\BQ-Aquaris-X-Pro\04_firmware\1.5.1_20171110-0910-bardockpro-user-1336-Fastboot-FW>fastboot flash recovery ..\..\03_TWRP_Magisk\2017-12_Magisk-v15.0_TWRP-3.2.1-0\twrp-3.2.1-0-bardock_pro.img
target reported max download size of 536870912 bytes
sending 'recovery' (28152 KB)...
OKAY [ 0.636s]
writing 'recovery'...
OKAY [ 0.203s]
finished. total time: 0.845s

Stay in fastboot mode.

9.4.2 Reflash Magisk

Now reboot and directly start recovery:

E:\backups\android\BQ-Aquaris-X-Pro\04_firmware\1.5.1_20171110-0910-bardockpro-user-1336-Fastboot-FW>fastboot reboot
rebooting...
finished. total time: 0.002s

- Start adb sideload mode ('Advanced' | 'ADB sideload').

Reflash Magisk:

E:\backups\android\BQ-Aquaris-X-Pro\04_firmware\1.5.1_20171110-0910-bardockpro-user-1336-Fastboot-FW>adb sideload ..\..\03_TWRP_Magisk\2017-09_Magisk-v14.0_TWRP-3.1.1-0_xda-post\Magisk-v14.0.zip
Total xfer: 1.69x

Reboot to system.

9.5 Update Magisk

9.5.1 Update MagiskManager app

- Start MagiskManager

- when prompted (see screenshot) install new version.

View attachment 4370691

9.5.2 Install new Magisk Version

Variant 1 (Update via TWRP recovery | adb sideload)

- Ignore the Update Notification in the MagiskManager app for the Magisk update (in this case v14.0 --> v15.0)

View attachment 4370692

- Connect USB cable to PC

- Boot into TWRP recovery

- Start adb sideload mode ('Advanced' | 'ADB sideload')

E:\backups\android\BQ-Aquaris-X-Pro\04_firmware\1.5.1_20171110-0910-bardockpro-user-1336-Fastboot-FW>adb sideload ..\..\03_TWRP_Magisk\2017-12_Magisk-v15.0_TWRP-3.2.1-0\Magisk-v15.0.zip
Total xfer: 1.82x

Reboot to system.

View attachment 4370693

Variant 2 (Update via MagiskManagerApp)

- Open MagiskManager App

- Tap 'install' on Update notification

View attachment 4373514

- Choose 'Direct Install'

View attachment 4373515

- Update will be installed

View attachment 4373516

- Reboot

9.6 Uninstall Magisk+TWRP/Get back to stock

Use the following steps to unroot/uninstall Magisk and TWRP.

You'll need a PC with adb and fastboot and installed drivers, of course.

Tested with:

- BQ Firmware: 1.8.0

- TWRP 3.2.1-0

- Magisk v16.0

- MagiskManagerApp 5.6.4 (112)

9.6.1 Uninstall Magisk

- Open MagiskManager app

- select 'uninstall' | 'complete uninstall'

- wait a minute or so

- reboot via power button

- phone will be booting, do one reboot (at least for me), booting again

- phone is back in system without Magisk

9.6.2 Uninstall TWRP/Install stock recovery

- Get BQ Firmware .zip which matches your currently installed system (For example '1.8.0_20180323-0901-bardockpro-user-1421-Fastboot-FW.zip')

- Extract the file 'recovery.img'

- Connect the phone to PC via USB and boot into fastboot mode:

adb reboot bootloader

- Flash stock recovery:

fastboot flash recovery recovery.img

- wait a minute or so (just to be sure)

- reboot phone:

fastboot reboot

- phone boots,

- phone is back in system

Congratulations, not you got your phone in stock state with one exception: the bootloader is still unlocked! That means, that the google safety net check will fail (CTS profile).

Now you could re-lock the bootloader if you want to completely go back to the factory state, but if you choose to do so, keep in mind that the phone will be erased completely when locking the bootloader!

9.7 re-locking the bootloader

This chapter describes how to re-lock the bootloader. After doing that, your phone will be in the default factory state regarding all previous modifications.

Before going on

, you should have uninstalled Magisk and TWRP (see chapter '9.6 Uninstall Magisk+TWRP/Get back to stock').

Warning: All data+settings will be erased when locking the bootloader! (Everything; That means apps, app settings, personal data like pictures, music, etc.)

As reference, here are the tool versions I used in my successful test:

>adb version
Android Debug Bridge version 1.0.40
Version 4797878
Installed as D:\programme\Android\platform-tools\adb.exe

>fastboot --version
fastboot version 28.0.0-4797878
Installed as D:\programme\Android\platform-tools\fastboot.exe

Follow these steps to lock the bootloader:

- action: switch off phone

- action: remove SIM and Micro-SD

- action: enter fastboot mode: vol_down + pwr

- action: connect usb cable

>fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY

>fastboot oem device-info
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY

>fastboot flashing lock_critical
OKAY

- reboot

- screen: 'erasing'

- reboot

- screen: 'Aquaris X' boot screen

- screen: 'Encrypting' with green android logo

- screen: 'Aquaris X' boot screen

- several minutes ...

- screen: 'Welcome'

- action: restart with power button

- action: choose 'fastboot' with volume buttons and confirm with power button

>fastboot oem device-info
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY

>fastboot flashing lock
OKAY

- reboot

- screen: 'erasing'

- reboot

- screen: 'Aquaris X' boot screen

- screen: 'Encrypting' with green android logo

- several minutes ... (approx. 3 minutes)

- screen: 'Welcome'

- action: disconnect usb cable

- action: switch off with power button

- action: enter fastboot mode: vol_down + pwr

View attachment 4634549

- action: connect usb cable

>fastboot oem device-info
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY

>fastboot reboot
Rebooting
Finished.

- phone will be booting to system.

- action: skip through the welcome screens

- action: go to settings | system | about phone | tap 'build number' 7 times

- action: go to settings | system | developer options | OEM unlocking

- note: without internet connection, the OEM unlocking option will be greyed out.

- action: connect to wifi, go back to the system menu and wait a minute

- action: go back to developer options | OEM unlocking

- action: switch off OEM unlocking

- action: disconnect usb cable

- action: switch off with power button

- action: enter fastboot mode: vol_down + pwr

View attachment 4634550

- action: connect usb cable

>fastboot oem device-info
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY

>fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 0
OKAY

>fastboot reboot
Rebooting
Finished.

DONE :)

9.8 update the phone via official OTA

This chapter describes how to use the OTA update feature. Personally, I like the other way (flashing the update zip) much more and think the other way is easier, but I recently did this, because I needed the OTA for the Oreo beta, so here is the information. ;)

Precondition: Phone with stock rom (obviously), uninstalled Magisk+TWRP (stock recovery)! See chapter '9.6 Uninstall Magisk+TWRP/Get back to stock'. The bootloader can stay unlocked.

- Go to settings | about phone | System updates | update (check for updates)

- You should get a notification similar to the following one in the screenshot:

View attachment 4483296

- Download and install the System update

done :)

9.8 Install TWRP+Magisk on BQ FW 2.0.0 (Android Oreo 2.1.0)

colors: PC, phone

Started with the stock firmware 2.0.0 (Android 8.1.0 Oreo) with unlocked bootloader (and stock bootimage and recoveryimage).

> adb reboot bootloader

* daemon not running; starting now at tcp:5037

* daemon started successfully

>fastboot flash recovery twrp-3.2.1-1-bardock_pro.img

target reported max download size of 534773760 bytes

sending 'recovery' (35304 KB)...

OKAY [ 0.813s]

writing 'recovery'...

OKAY [ 0.250s]

finished. total time: 1.063s

> fastboot reboot

rebooting...

finished. total time: 0.016s

Don't boot. Directly go to recovery

Advanced | ADB Sideload

>adb sideload Magisk-v16.4.zip

Total xfer: 1.68x

9.9 to be continued

[...]

10 Changelog (this post)

2020-07-31: updated latest version info

2019-10-12: updated latest version info

2019-10-08: updated latest version info

2019-06-15: updated latest version info

2019-06-05: updated latest version info

2019-05-22: updated latest version info

2019-05-20: updated latest version info

2019-05-03: updated latest version info

2019-04-18: updated latest version info

2019-04-02: updated latest version info

2019-02-04: updated latest version info

2019-01-26: updated latest version info

2019-01-14: updated latest version info

2018-12-17: updated+expanded section '9.3 Use of adblockers'

2018-12-08: updated latest version info

2018-11-04: added chapter '9.7 re-locking the bootloader'

2018-10-30: rearranged the chapters, fixed 9.7/9.8

2018-10-21: updated latest version info

2018-09-29: updated latest version info

2018-09-01: updated latest version info

2018-08-xx: updated latest version info

2018-07-12: updated latest version info

2018-07-08: updated latest version info

2018-05-08: updated latest version info + added 9.8 BQ FW 2.0.0 / Oreo 2.1.0

2018-04-22: added 9.6 and 9.7 - Uninstall + OTA updates

2018-03-28: updated latest version info

2018-04-21: updated latest version info

2018-03-23: updated latest version info

2018-03-11: updated latest version info

2018-02-22: updated latest version info

2018-02-10: updated latest version info

2018-01-13: updated latest version info

2018-01-12: updated latest version info

2018-01-03: added latest version info

2017-12-30: added hide-content buttons

2017-12-29: changes in 9.5 - How to update Magisk

2017-12-26: added 9.4 + 9.5 - How to update TWRP and Magisk

2017-12-26: added 9.3 with information for adblocker users (systemless hosts file/AdAway)

2017-11-19: added 9.2 with Information for linux users

2017-11-18: added additional/dynamic information here in post #2, general documentation still in post #1