yashsingh1/xdaforums huggingface dataset:
[BQ Aquaris X Pro Guides, News, & Discussion] anthony3a:
Hi,,, could you help me please,,, I just tried to upgrade my bq x to the latest upgrade available,,, I firstly unlocked the bootloader and the bootloader critical and I executed the .bat file present in the upgrade zip,,, but many paratition couldn't be upgraded I just got messages like this: "error write command failed" and "to nanny links (unknown error)",,, after this I power off my bq x and it didn't power on anymore,,, when I press the power button I don't get any signal from it and when I connect it to the charger the notification led just makes on and off and after some minutes it stops,,, but I don't get any other signal from my bq x!!! Is my bq x umbrickable??? Is it bricked forever???

Please anyone who have same information about my problem just say!!!

---------- Post added at 05:18 PM ---------- Previous post was at 05:06 PM ----------

Hi,,, could you help me please,,, I just tried to upgrade my bq x to the latest upgrade available,,, I firstly unlocked the bootloader and the bootloader critical and I executed the .bat file present in the upgrade zip,,, but many paratition couldn't be upgraded I just got messages like this: "error write command failed" and "to nanny links (unknown error)",,, after this I power off my bq x and it didn't power on anymore,,, when I press the power button I don't get any signal from it and when I connect it to the charger the notification led just makes on and off and after some minutes it stops,,, but I don't get any other signal from my bq x!!! Is my bq x umbrickable??? Is it bricked forever???

Please anyone who have same information about my problem just say!!!
[BQ Aquaris X Pro Guides, News, & Discussion] Manituhh:
There is an update for the stock rom.

I tried to install that update, but it failed.

Does it means, with this Mod, we are not able to update the X/Pro device anymore?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi. What do you mean with 'failed'? What happened? Can you give more information?

Haven't had time to try myself, maybe on the weekend..
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi anthony3a,

I'm sorry but how should anyone help you with the information you provided? ...

Following your description, you unlocked the bootloader and wanted to apply the update with the (unmodified) bat inside the firmware zip? So you did not install TWRP and/or Magisk? may i ask why you did not just use the regular ota update if you just wanted to get the newest stock firmware?

If you can't switch on the phone, try to hold the power button for 10-15 seconds. It should vibrate and switch on(?)
[BQ Aquaris X Pro Guides, News, & Discussion] Manituhh:
Update failed

Hi,

when the update is downloaded and the update process starts, it says, the phone will be restarted several times,

but after the first restart, the phone boots in the recovery Mode and TWRP shows up.

Since then, the update process is stopped and after reboot by choosing Reboot/System form TWRP,

it says, the update failed.

I tried it again, same faul.
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
The OTA function is not tested using TWRP+Magisk. In the first post, it is advised to disable this feature...

You'll have to modify the installer script (bat) from the firmware zip.

From Post #1, 1. Intro:
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
OK, updated to 1.7.0 without problems. Same procedure as with the versions before (post #1, section '5 Update to newest firmware'.).
[BQ Aquaris X Pro Guides, News, & Discussion] CompoteMonPote:
Issues again, maybe

Ok so same thing as the last time, I did something wrong and although I repaired it, it could be useful if someone is as dumb/unlucky as me.

I tried to update my BQ device, and it plain didn't work the first time, I was greeted with a system still running the 1.6 (and that couldn't use wifi either, don't know why), so I retried it and was greeted with that infamous glitched yellow square thingy but, with my porevious experience, I knew it wasn't that bad and was able to recover it just by starting the modified .bat file again.

I think that, at least for the square thing, it was because I thought the script execution was over because it read [finished] time in s, but some operation can be longer than a few seconds and my low skills in batch utilisation made me assume things.

The problem is that I flashed the thing, running 1.7 but, I cannot use data anymore. Wifi is good, sms, calls etc, all good, but the internet outside my house is non-existant. I'm trying to reflash as for nom to see if something changes but it's probably the APN setting that went overboard when I half flashed.. Also, BQ still wants me to upgrade my phone even if the rom I flashed was downloaded yesterday on their website.

Also, I lost my custom recovery in the process but that's probably because I effed up when flashing.

EDIT 1 : Flashed the rom and TWRP along with Magisk properly. My phone is still bugging me about that update as if I was still on 1.6. The data thing was the APN as I suspected so I just entered the infos manually and it works.
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Always be patient and think twice with such things like flashing or modifying system parts etc. Start flashing, get a coffee and wait. Doesn't hurt to wait minutes, just to be sure ;)

(A little bit offtopic: got a tablet which runs a custom rom -- everytime i flash the rom, the first start takes.. i don't know.. 5-10minutes(?). Often rebooted it hard because i thought it would be stuck there forever and sometimes made it worse...)

Can't tell for sure, but all this strange behavior sounds like ... flashed wrong parts/not all parts/mixed up 1.6 and 1.7 in some partitions/ ...

That was the part I was waiting for :good::victory:

Hm. I didn't receive any update notifications so far (since the beginning). Are you sure, you have switched it off?

Take a look here in post #1: '6.1 System update notifications'. Do you have the file /data/data/com.bqreaders.ota/files/bq_update_ota.zip on you phone?

Maybe try to:

- disable search for updates

- move the file /data/data/com.bqreaders.ota/files/bq_update_ota.zip somewhere else (Download dir for example)

- reboot

Hopefully the notification won't pop up then... :confused:
[BQ Aquaris X Pro Guides, News, & Discussion] vbiftr1:
unlocked phone and security

first of all, thanks for the instructions, got my new phone unlocked and everything is fine.

But I have a question about security. After the root procedure the phone stays unlocked and, in case it would went lost, it would be no problem to read all the personnel staff out of the flash storage.

So is it possible to lock the flashing ability but still have the root option, and still have the option to install the BQ Updates and not to unlock and to root the phone after each BQ update?

I see the only the one opportunity: unlock->root->lock->install-all-the-things-you-need->make-full-backup->unlock->install-new-update->install-backup

So I just try to lock the boot loader and lock the flash, it went ok but... I now see 'enter your Passwort to boot Android' and I don't now The Passwort.... :(

Update: It seems to be no recovery left on the phone after the locking, TWRP is not going up, "fastboot reboot emergency" and the selection of recovery in boot menu only shows boot screen for half a second and turns the phone off.
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
Lock the bootloader in a rooted o modified system´s phone is a bad idea.

Have you tried to boot in Recovery mode using the power and Vol + combo? This is the way to boot in recovery mode as once the bootloader is looked the boot menu is gone.

Regards.
[BQ Aquaris X Pro Guides, News, & Discussion] vbiftr1:
Very bad idea! The recovery want boot at all, the phone simple switchs off.

I have successfully bricked the phone :) after plenty amount of tries the wrong Password, the phone tried to perfom factory reset, but without recovery it is not possible. So for now, if I try to switch the phone on, I only see the BQ logo for a half of a second, and the phone turns off. That it..... My last hope is a qualcomm port, that pops up, if I connect the phone with PC
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
If you can conect the phone in Fastboot mode, you can contact BQ Support, they will provide you a .json file (it is unique for each phone) that can be used in the official BQ Flash Tool to open the bootloader and flash the official Rom even the Allow OEM bootloader option is disabled. That will solve your problem.

Regards

Enviado desde mi Aquaris X Pro mediante Tapatalk
[BQ Aquaris X Pro Guides, News, & Discussion] Mato_Z:
Hello, I could ask you: After root is possible safe use of system feature - built-in encryption of internal memory? And I have only 32GB version of BQ Aquaris X Pro (because vendor did not have version with large memory in the shop) after root is possible by some simply way use of SD card for install some applications or for moving applications from internal storage to SD card? BQ does not provide option for encrypt SD card as some other smartphones. Do you know about some simple way how to encrypt SD card too please?
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
I have the link, but it is in Spanish.

http://www.mibqyyo.com/comunidad/di...al-formatear-micro-sd-como-memoria-interna/p1

Regards.

Enviado desde mi Aquaris X Pro mediante Tapatalk
[BQ Aquaris X Pro Guides, News, & Discussion] Mato_Z:
[MENTION=5020884]elperroderoke[/MENTION] thanks, but I am sorry I do not know Spanish, please do you have any English source too?
[BQ Aquaris X Pro Guides, News, & Discussion] Mato_Z:
[MENTION=5020884]elperroderoke[/MENTION] thanks. And my other question was yet: After root is possible safe use of system feature - built-in encryption of internal memory with firmware from BQ and updates the encrypted system?
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
I don´t understand your question. My phone is rooted and in Security options it says the phone is "encrypted". Once the phone is rooted /boot and /system have changed so you won't be able to update the phone using OTA because you will get a "check error" when the instalation begins the process, but you can still update the phone using fastboot as it is explained in the first post of this thread.

Regards.
[BQ Aquaris X Pro Guides, News, & Discussion] Mato_Z:
Ok, thanks. I hope that root, resize internal memory with SD card and encryption will work ok. By the way [MENTION=5020884]elperroderoke[/MENTION] do you have any information about simultaneously use of SD card and second SIM card in the same time? I found something like this https://www.youtube.com/watch?v=XU2jvZxEkEs but not for BQ, I believe that it will be similar.
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
Maybe not the same but similar. I have it and it worked ok on my Xiaomi Redmi Note 4 global (SD625), but unfortunately it didn't work on BQ X Pro, not only it didn't work but it resulted in a erratic behavior of the phone so the phone was not usable. I don't know if there will be a "version" that woks in the BQ X Pro.

Regards.

Enviado desde mi Aquaris X Pro mediante Tapatalk
[BQ Aquaris X Pro Guides, News, & Discussion] Mato_Z:
Thanks for info, but it is very bad news. :(
[BQ Aquaris X Pro Guides, News, & Discussion] elnarci:
OTA´S Install

784/5000

Sorry for my bad English (google) I have the terminal Aquaris X with TWRP and root with Magisk, my "problem" is that whenever I get an OTA from BQ I can not install it unless I flash with the manufacturer's application and with the consequent loss of the bootloader unlocking, of the TWRP recovery and of course of the Root having to start the process from scratch.

I have to say that I have tried to follow the advice to save the boot.img and restore it but in doing so the smartphone is constantly in the BQ logo and I can not get it started so I have to do the whole process mentioned above.

If those who know could explain to me in detail how is the process to install OTAS without losing TWRP and Root with Magisk I would appreciate it.

regards

Elnarci
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
Once you "change" system, boot or recovery, it is impossible upgrade the phone with the official OTA package, these are the bad news. The good news are that if you have unlocked the bootloader you don't need to use the BQ Flash Tool to install the firmware, so you won't loose all the "information" on the phone or the bootloader will be locked again.

It is explained in the first of this topic, you only have to download the firmware you want to install from BQ official site, edit the bat file and upgrade or reinstall the firmware using fastboot by double clicking in the bat file you have edited.

I could give you some information in Spanish if you don't understand English.

Regards.

Enviado desde mi Aquaris X Pro mediante Tapatalk
[BQ Aquaris X Pro Guides, News, & Discussion] elnarci:
Thanks for your help. I imagine you mean point 5 Update to newest firmware ... "On the PC go to the folder with the extracted BQ firmware .zip

Create a copy of 8953_fastboot_all_images.bat

Comment out or delete the following lines: fastboot flash userdata userdata.img,

fastboot flash recovery recovery.img and fastboot reboot."

If I understand it well with this procedure, the data is not lost nor is the bootloader unlocking, but it is necessary to reinstall TWRP and Magisk.

Please confirm if I am right.

Thanks and regards.
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
If you remove the recovery line in the bat file, you will have TWRP untouched as far as you boot in recovery mode the first time after flashing the firmware if not, the system will overwrite the recovery with the original. Magisk, SuperSu, xposed and any other changes you made in the system will disappear and you will need to do it again.

Regards.

Enviado desde mi Aquaris X Pro mediante Tapatalk
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Yes, you are right.

But after the .bat is completed, start TWRP when rebooting! DO NOT boot into normal system!

Like you said (point 5):

(in compressed form )

remove these lines from .bat:

- userdata.img (you want to keep /data)

- recovery.img (you want to keep TWRP)

- reboot (better control. After flashing wait a bit)

run modified .bat

wait a bit, phone still in fastboot mode

type 'fastboot reboot' to reboot

press volume 'up' or 'down' when phone shows this warning message:

mark recovery with up/down and select with 'power'. (phone will show message again. just wait this time.)

recovery (TWRP) starts

go to advanced, adb sideload

from pc: adb sideload location-to-magiskzip.zip

in magisk: reboot: system

done
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Info regarding OTA updates: check Post #2 '9.6 Uninstall Magisk+TWRP/Get back to stock' and '9.7 update the phone via official OTA'.

Note that you need to install TWRP+Magisk afterwards. If anything works wrong, you don't have the update .zip (e.g. to reflash stock recovery) when you updated via OTA.

(Btw: I'm running the Oreo beta at the moment but did not install Magsik or flashed TWRP for now because of this reason (and because the beta users shouldn't run a modified system).)
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
i have to correct myself: it is not necessary to reinstall TWRP but Magisk. TWRP will be still there (because you comment out (or delete) the part with recovery.img in the .bat file).
[BQ Aquaris X Pro Guides, News, & Discussion] eros744:
Problems with ROOT (related to /system read-write)

Hi, I rooted my phone yesterday and almost everything was great, but I have a problem, every time I try to use an app that makes changes in /system the phone completely freezes and I tried using adb root but it didn't work.

I used an app named adbd Insecure, made by Chainfire that enables that option, but when I used adb remount, it said remount succesfull, but the phone then went black (except for the action bar) and froze, is it normal? I don't think that work, so I thought, does anyone know how to mount /system to read-write, or can anyone make a flashable zip that fixes this?

Thank you for reading! :p
[BQ Aquaris X Pro Guides, News, & Discussion] elperroderoke:
I think it is a problem with TWRP, I have realized that it doesn't "mount" the system partition to allow changes on it, every time I boot in recovery mode it ask me if I want to allow changes in system and right now it doesn't mount internal memory or data so I can't not flash any zip placed in the phone memory. And it is something strange because I could flash the SuperSu zip at first time.

I think we have to wait for a new TPRW version compatible with Oreo.

Regards.

Enviado desde mi Aquaris X Pro mediante Tapatalk
[BQ Aquaris X Pro Guides, News, & Discussion] iss0:
Oreo is out!

Oh guys, it's here: https://www.bq.com/en/support/aquaris-x-pro/support-sheet. Oreo is out!
[BQ Aquaris X Pro Guides, News, & Discussion] dueler:
Hi! After flash new Firmware 2.0.0 and flash Magisk 16.0 my Data partition was encrypted by Android at first start. And TWRP can't mount it.

I checked it several times:

Start fastboot -> flash boot.img -> start TWRP -> format Data -> flash Magisk via ADB sideload -> Reboot.

But always Data partition was force encrypted at first start.

Does anyone know how to disable force encryption or mount encrypted Data partition in TWRP?
[BQ Aquaris X Pro Guides, News, & Discussion] Mr.Brick:
Same here: after upgrading to 8.1 twrp is no longer able to mount the encrypted partition.

Also when booting the phone into system twrp always gets reset to the stock recovery.

Anyone got a clue on how to keep twrp and enable twrp to mount encrypted partitions w/ oreo 8.1?
[BQ Aquaris X Pro Guides, News, & Discussion] knoedelcc:
Everything works fine for me (bq Aquaris X) - so far (Magisk 16.4 and a modified TWRP)

Since some issues were reported for Magisk 16.0, I already updated to Magisk 16.4 (Beta channel).

I updated the FW 2.0 according to this thread (Step 5) but also flashed a modified TWRP recovery before rebooting.

There seems to be an issue with the current TWRP 3.2.1 and Oreo 8.1: ext4 cannot be read due to some changes in the kernel (and thus it is not a problem with encryption). I have not looked further into it, but found this thread in a german forum:

android-hilfe.de/forum/root-custom-roms-modding-fuer-bq-aquaris-x-x-pro.3058/download-twrp-fuer-das-aquaris-x-x-pro.834301.html#post-11025444

The kernel file in the TWRP 3.2.1 image needs do be replaced by the new one from the current firmware 2.0 (in recovery.img).

This has been done by some users of this forum:

bq Aquaris X (credits to picard47):

mega.nz/#!T3B30JhL!tabt9FEhjy1kNhMeHvGU-_wynmKBvGVWSZbpfLhUifw

(I used this version)

bq Aquaris X Pro (credits to homofaber):

mega.nz/#!GWJRQCLI!itFBnuO31A4Fxb4u5NcG9AlQtGt635ZUgUQQLbgchbQ

I hope, that this might help.

(PHP code since I cannot post links...........)

Edit: The official TWRP builds have been fixed (3.2.1-1). Try them!
[BQ Aquaris X Pro Guides, News, & Discussion] Mr.Brick:
Thanks a lot, worked perfectly :good:
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hey all, thanks for helping each other out!

I hope i can test TWRP and Magisk with Oreo the next days.. I will collect the information again afterwards (the kernel exchange part sounds interesting :-p )
[BQ Aquaris X Pro Guides, News, & Discussion] knoedelcc:
It looks like an official updated TWRP is on its way (see commits here: https://github.com/TeamWin/android_device_bq_bardock) :good:
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
The same for https://github.com/TeamWin/android_device_bq_bardock_pro - do you know how the build process works? I assume it is automated? How long until it finds its way to the official download page? Is it possible to download an early build before that?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Did you use adbd insecure in combination with Magisk before?

As far as i understand Magisk, this can't work (out of the box), because the idea is, that no real changes are made to the system partition.

I think you'll have to repack the adbd insecure package into a Magisk module package.
[BQ Aquaris X Pro Guides, News, & Discussion] knoedelcc:
The new builds are now available (non Pro/Pro).

I don't know much about the built processes but luckily this didn't take long.

Edit: Old build: twrp-3.2.1-0 new one: twrp-3.2.1-1
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Can confirm:

Installing TWRP and Magisk works with the new TWRP 3.2.1-1 and Magisk 16.4 beta.

See post #2 - '9.8 Install TWRP+Magisk on BQ FW 2.0.0 (Android Oreo 2.1.0)'

I am running the prerelease from the BQ beta phase. -Can anyone confim that it works with the official firmware 2.0.0 zip? can anyone update a screenshot from 'Settings|System|About phone' afterwards?
[BQ Aquaris X Pro Guides, News, & Discussion] iss0:
Official firmware ZIP working

Hi, just upgraded my phone using the official zip and everything worked perfectly. The only thing was, that the phone wasn't accepting my sdcard anymore. I had to backup eveything on it and let the phone format it. Don't know why, but not that big of a problem. I've attached some screenshots from the upgraded phone. Thanks to all of you!

https://drive.google.com/drive/folders/1pA0ZbcA8Tbrst-_LKAoEuLErLKVExgx1?usp=sharing
[BQ Aquaris X Pro Guides, News, & Discussion] mopari145:
Please Help

Hi, I think i might have bricked my phone, when i reboot using TWRP, it displays the message no OS installed, is there any way for me to get a fresh install of the firmware for my phone?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi.

Hm, maybe try the following:

- download the firmware version which was installed on your phone from here

- unpack the zip

- edit the .bat - delete the following line:

fastboot flash userdata userdata.img

- boot phone into fastboot mode

- run the .bat

After that you should have your phone with stock rom (at this point without TWRP recovery or magisk). Bootloader still unlocked if you unlocked correctly (flashing shouldn't work without unlocked bootloader, so I assume that this worked before..)

Good luck ;)
[BQ Aquaris X Pro Guides, News, & Discussion] mopari145:
thank you for replying so quickly, i tried your recommendation and the command prompt returns a message saying that no devices or emulators were detected and that the device isn't bardockpro, check the FW.

and yes, the device is unlocked as it says so on the fastboot screen

I'm currently trying to flash it using the official BQ flash tool but it's stuck at 26% Flashing tz.

I have also downloaded the BQ Aquaris X Pro OTA file but the update wouldn't install in TWRP or through ADB sideloading.
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Do you have Aquaris X or Aquaris X Pro?

Are the drivers correctly installed?

What happens, when you connect the phone in fastboot mode and just type

fastboot devices

You should see a line like

BX001234 fastboot

If the command returns nothing, check the windows device manager, if there are any devices with questionmarks/missing drivers.

Both steps?

You can check with

fastboot oem device-info

result should include:

(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true

Unfortunately, I never used the BQ flash tool.

Maybe CompoteMonPote can help you with that, he needed to contact BQ support after using the official bq flash tool to re-unlock the bootloader. Take a look at post#45.

Did the BQ flash tool get over 26% since your last post?

Do you mean the .zip firmware from here?

This can't be flashed via recovery. For this .zip you'll always need a pc with fastboot+adb.
[BQ Aquaris X Pro Guides, News, & Discussion] vaporlain:
Really usefull, worked perfectly!

Thanks a lot to you and BQ for this wonderfull telephone