yashsingh1/xdaforums huggingface dataset:
[BQ Aquaris X Pro Guides, News, & Discussion] RawMain:
Hello @ahres93

Being cautious / suspicious is okay. However, you should learn how to investigate&check better... before shamelessly accusing people to spread rootkits.

Since I'm indeed the creator & mantainer of such repository on Telegram, I can refute your misleading/false allegations by providing public infos/details that EVERYBODY can check.

At the present time the software repository contains the references for 170 compressed archives (firmware, tools, drivers) that have been officially published by BQ.

When I've created it in October 2020, it included both BQ Official download-links (Google Cloud Storage / Amazon AWS storage) and also uploaded package-copies on Telegram.

Because of Telegram's 1.5 GB limitation for single file upload, 13 archives required re-packaging in order to avoid split-archives = 5 in ZIP format (suffix 2 added to the end of package-filenames) + 8 in 7z format (because the size of related ZIP repackaged packages was still over 1.5GB).

Moreover, after the deactivation of BQ's official storage-accounts in Amazon AWS (January 2021) & Google Cloud (March 2021), I've updated the links in the descriptions by replacing them with those of the available captures in the WayBack Machine.

Therefore - if/when there is a working capture available - users can easily choose whether to download the copy of the package directly from Telegram (fast-download) or the WayBack Machine (slow-download).

There are 134 archives (>78%) with available 1:1 backup-captures in the WayBack machine & their links are clearly written in the archive descriptions, as you/everybody can easily read.

This means that there aren't working backup-capture in the WayBack Machine for 36 packages. In such cases I've left anyway their original links & added a 'DEACTIVATED' notice.

Moreover, only 2 recompressed firmware packages are among those 36 without a working backup-capture in the WayBack Machine, and specifically they are :

- BQ Aquaris U Plus (tenshi) Firmware Build 2.9.0

- BQ Aquaris U Lite (chaozulite) Firmware Build 2.9.0

It means that users can still choose to download the firmware packages for other devices from the WayBack Machine.

This also applies indeed to the 2.11 release for Aquaris X PRO (bardockpro) = just checked and the WayBack capture is working fine for the (slow) download.

Therefore, if you don't trust the uploaded copy yet, you can still download (slowly) the firmware package for your device (bardockpro) from the WayBack Machine.

Obviously, if there are any further doubts/questions (by you and/or other users), I'm always available to answer and provide clarifications.
[BQ Aquaris X Pro Guides, News, & Discussion] ahres93:
Hi @RawMain,

thanks for your efforts and this quick clarification!

First of, I highly appreciate the Repo you created and I assume many other BQ owners will do so, too.

My intention was not to allege you in any kind, but to promote your work for those others stuck in a bootloop ;)

Anyhow, it would be careless to do so without pointing out the possible security risks associated with using unverified software from unknown sources. Especially, when the image checksum (37c2fd98fdf76e44c938fea85fd7e92a) missmatches the one stated on the vendor site, archived in the WayBack machine.

In the meantime a friend of mine shared another copy of the stock image. Here md5sum produces the correct checksum. So, i extracted and diff'ed his and your image to check for possible changes (yeah, call me paranoid) and was glad to find nothing.

Referring to your post, I am still puzzled why the checksums diverge as you say you did not recompress the bardockpro image. Filesize is quite close to 1.5GB, so maybe Telegram did some magic here, but I dont know.

Anyway, keep up the good work :)
[BQ Aquaris X Pro Guides, News, & Discussion] Oswald Boelcke:
Moderator Announcement

Thread cleaned from references to social media! As an exemption from the last butter of rule no. 5 of the XDA Forum Rules, we grant only developers to provide references to their social media in their own development threads. These conditions obviously don't apply to this thread and especially not to the member whose post was edited. Please refrain from sharing links to social media to avoid consequences to the account.

https://xdaforums.com/t/device-forum-rules-please-read-before-posting.3333345/#post-79278325

Regards

Oswald Boelcke

Senior Moderator
[BQ Aquaris X Pro Guides, News, & Discussion] OverBim:
Thanks a lot for your guide!

I had problems enabling OEM unlock, as initially it was greyed out for me. I fixed this by connecting to a WiFi network. After a couple of seconds the option was enabled and toggleable. Maybe you could add this to your guide...
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi, thanks for the information.

I tried to edit my first post, but got an error message from the page.. .

I will add the note later when it works for me.

edit: edit worked now. added Info to section 4.1
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi @ahres93 and @RawMain,

thanks for your posts and @RawMain for keeping everything alive by creating the bqrepo.

Personally I don't like the Idea of repacked zip files because it would've been great if one could check the md5 against the original bq website md5, but of course I understand the reason regarding the filesizelimit.

Regarding the authenticity of the repacked file(s):

I happen to have the original .zip files and compared the latest bardockpro zip against the one from the bqrepo and can confirm that the file contents are identical (for this one sample).

Of course, this is no real check but only one more user who confirms that there seems to be no modification in @RawMains bqrepo.

I've got the two firmware files with their md5 checksums:

$ md5sum official/2.11.0_20191121-1510-bardockpro_bq-user-2395-Fastboot-FW.zip bqrepo/2.11.0_20191121-1510-bardockpro_bq-user-2395-Fastboot-FW2.zip
ca7dccb4bd101af64dcffaab71cbd476 *official/2.11.0_20191121-1510-bardockpro_bq-user-2395-Fastboot-FW.zip
37c2fd98fdf76e44c938fea85fd7e92a *bqrepo/2.11.0_20191121-1510-bardockpro_bq-user-2395-Fastboot-FW2.zip

Comparison of the zip contents:

$ cd official/2.11.0_20191121-1510-bardockpro_bq-user-2395-Fastboot-FW/; md5sum * > ../../md5_official.txt; cd ../..; cd bqrepo/2.11.0_20191121-1510-bardockpro_bq-user-2395-Fastboot-FW2/; md5sum * > ../../md5_bqrepo.txt; cd ../..; md5sum md5_official.txt md5_bqrepo.txt
14e977207d7d1cf2492442fe7bb7b870 *md5_official.txt
14e977207d7d1cf2492442fe7bb7b870 *md5_bqrepo.txt

Checksums for the single files, if anyone is interested (md5_official.txt from command before) :

Spoiler content hidden.
[BQ Aquaris X Pro Guides, News, & Discussion] LukeStage:
Congratulations by the thread. Is possible to get the software Aquaris X Rootools for windows? In the link https://ageeklivinginthefuture.blogspot.com.es/2017/12/rootools-programa-para-rootear-aquaris.html there is nothing :(. Thanks in advance
[BQ Aquaris X Pro Guides, News, & Discussion] ryazor:
I didn't use the binaries at all. I flashed my phone using adb and fastboot provided by Arch Linux AUR packages.
[BQ Aquaris X Pro Guides, News, & Discussion] torbol:
Restore Aquaris X/X PRO with BQ firmware flash tool from Ubuntu. No .json needed

Hello, I have written this to do a hard reset to our phones from Ubuntu/Linux Mint in my blog

https://ageeklivinginthefuture.blogspot.com.es/2017/11/restore-bq-aquaris-x-x-pro-using-bq.html
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi torbol, thanks for the information, added the info in '9.2 Adb and fastboot on Linux/Ubuntu' (post #2)
[BQ Aquaris X Pro Guides, News, & Discussion] ATAGA:
ROM Stock Flashing through TWRP

Hi everyone

As I do not see anywhere a zip ROM flashed by TWRP I wanted to ask if someone has managed to get some or at least if you know how to create it. The thing about Fastboot seems to me a pain in the ass and quite cumbersome since it forces you to use a PC and you always run the risk of the USB cable disconnecting.

I need to modify the stock rom to remove apps

Any ideas about it?
[BQ Aquaris X Pro Guides, News, & Discussion] torbol:
Rootools Aquaris X/X PRO (@torbol)

Hello again :), I have developped this visual program to make easier the TWRP/stock recovery installation and rooting the device, all using Ubuntu/Linux Mint (Windows version has just been made, link below), the program is in english, but the explanation in my blog is in spanish (you can use google translator to read it, it is so easy to run). The own program counts with a little description (in english) of what every button does (placing the cursor over it).

This is the link to download and install it, ready to flash your BQ:

Aquaris X version

Ubuntu/linux mint/Debian: https://ageeklivinginthefuture.blogspot.com.es/2017/12/hola-durante-este-puente-he-estado.html

Windows 10: https://ageeklivinginthefuture.blogspot.com.es/2017/12/rootools-programa-para-rootear-aquaris.html

Aquaris X PRO version

Ubuntu/linux mint/Debian: https://ageeklivinginthefuture.blogspot.com.es/2017/12/rootools-programa-para-rootear-aquaris_15.html

Windows 10: https://ageeklivinginthefuture.blogspot.com.es/2017/12/aviso-importante-no-usar-con-el-x-para.html
[BQ Aquaris X Pro Guides, News, & Discussion] krillin666:
Can someone please explain in more detail how to proceed in updating to the latest firmware after copying the binaries from the 1.4.3 into the latest firmware folder and editing the .bat file ?

I'm a little lost, I tried sideloading the .zip file and flashing directly from within the TWRP but I got the same error both times saying the zip file is invalid....
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi krillin666,

as written in my post#2, jump to step 5 'Update to newest firmware' of the big tutorial in post#1.

So you'll have to edit the .bat file again and connect the phone (switched on and in system). Run the modified batch, go to recovery and reflash magisk from TWRP.

I updated myself using my own post step by step and it went through just fine.
[BQ Aquaris X Pro Guides, News, & Discussion] krillin666:
I just don't understand the part of connecting the phone while it's on and running the batch file, could you please explain how to do that part?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Switch on your phone like you would do when you want to use it normally.

Make sure you got adb debugging enabled (see 4.1 Prepare phone: Activate developer mode and, from the developer options, enable USB debugging mode).

When you connect the phone to your PC, there should be a popup on the phone; allow your PC in the popup notification and check the option to always allow this PC.

Now, just leave the phone in this state (switched on, e.g. in homescreen, connected via USB).

Open a command prompt (cmd.exe) on the PC and change directory to the new firmware directory (type "cd /D D:\yourfolder\where\the\bq\firmware\is" followed by <enter.> type dir <enter>, you should see all files inside the firmware folder.)

Then run the modified .bat file (enter filename and press <enter>).

The process will take some minutes.

When finished, reboot with command: 'fastboot reboot' and directly go to recovery when the warning message appears.

Then you enable adb sideload function in TWRP and proceed with flashing magisk as described.

Hope this will help..?
[BQ Aquaris X Pro Guides, News, & Discussion] carmeloanthony015:
Hi and thanks for the very good guide. I succesfully rooted my device and updated to the latest firmware (1.5.1). Now I would like to use apps like AdAway to get rid of annoying ads.

But now I have a problem: AdAway stucks when it's time to apply modifications to hosts file. I am not very expert about Android/Linux, rooting, etc., but I think that the cause of the problem could be the fact that we kept the System partition in Read Only when we started TWRP.

If I'm correct, is there a way to at least allow editings to hosts file so that AdAway can do its job? I tried manually setting the permission on the file with ES File Explorer, but it get stuck too when applying permissions change on the file.

PS: When I say "stuck", I mean that the entire phone stuck and I have to power off it by pressing power button for >5 seconds.
[BQ Aquaris X Pro Guides, News, & Discussion] krillin666:
I've had the same problem, and also tried installing the modules in the magisk manager to see if I could get the hosts list on adway working (there's a module for adway in magisk), but whatever module I try to install it says the installation has been successful, but when I reboot and go to the modules page on magisk I have no module installed...

I haven't found any solution yet, even after upgrading firmware and re flashing magisk
[BQ Aquaris X Pro Guides, News, & Discussion] carmeloanthony015:
I noticed that in Magisk Manager -> Settings we can check a setting named "Host systemless" that does exactly what I needed, so AdAway works perfectly after that.

Anyway, having the /system readonly, is probably still the cause of the problems posted by krillin666. It would be amazing if we could find a way to make it editable.
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Oh, now i was too late. Christmas and stuff... pfff ;)

Thanks for the feedback, happy, that the howto was of use for you.

Yes, the switch 'Systemless hosts' is exactly the setting you'll need for adaway. Will add it to post #2. Done.

Regarding the system rw: I'm not sure, but isn't this one main purpose of the whole Magisk thing? Root and other low-level-access things while preserving the read-only state of the /system partition? Correct me if I'm wrong, I didn't dig too deep into the documentation...

edit: If you want the rw /system, maybe take a look in the bookmarks in Post#1, here:

I remember there was something about SuperSU. Maybe you can use it instead of Magisk?

edit2: updated post#2 with the systemless hosts information
[BQ Aquaris X Pro Guides, News, & Discussion] krillin666:
Updated now to version 15 of Magisk and the modules are finally working!

Worth checking them out, it's like the xposed modules.
[BQ Aquaris X Pro Guides, News, & Discussion] zenon49:
The USB driver from the offical site seems not to work, it states "driver installation failed". I tried to use adb commands. When the phone is up and connected normally the command abd device and adb reboot-bootloader works. As soos as I'm in fastboot screen no commands are accepted. The message <waiting for any device> appears. Also there is suddenly a exclamation mark in my device manager. Only when I am in fastboot screen / mode. Any help how to unlock bootloader and root device??? Tested on win 8.1 and win 10 PC.
[BQ Aquaris X Pro Guides, News, & Discussion] zenon49:
manual installation also won't work... any help?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi zenon49,

hm, sounds strange..

Let me check the driver package i downloaded when installing it last year, maybe something changed..

Hopefully i can check at home today, otherwise on the weekend..
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
It looks like you are using the drivers from the android sdk package?

Have you tried pointing 'Installation von Datenträger' to the path 'C:\Program Files (x86)\BQ Handset USB Driver\'?

When I boot my phone into fastboot mode, I got the USB IDs:

VID:18D1 PID:D00D.

This ID is listed in the BQ driver package in file

C:\Program Files (x86)\BQ Handset USB Driver\Win_64\android_winusb.inf
[BQ Aquaris X Pro Guides, News, & Discussion] blueshift7:
Now that I have Magisk, Root and TWRP: Is there an straight way to apply firmware updates without hassling with another PC?

I tried FireFlash, but unfortunately it got stuck on a black screen.

Unzipping the ZIP found on the Aquaris Website reveals a phletora of files. Would it be necessary to flash all of them? Or would cache.img, boot.img and system.img enough? What about the others?
[BQ Aquaris X Pro Guides, News, & Discussion] zenon49:
I worked it out, had to disable the driver signature verification in windows...
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Thats odd, the drivers from BQ should have a valid signature..

I got windows 10, 64bit and as far as I remember, I did not have to disable it..(?)

Did you edit the .inf files?

Nevertheless, nice that it works now, thanks for your feedback.
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi.

Not sure if I understand what you mean - Do you want to have a flashable update .zip without using any PC (using adb and fastboot)?

I've never done that; a quick google search suggests that there is the need to create some special directory structure an some scripts.. https://android.stackexchange.com/questions/36265/flash-boot-img-without-using-fastboot-usb

When you have unzipped the FW update, take a look inside the .bat file; there you'll find every information which files get flashed in which order; knowing this, maybe you can create a flashable .zip
[BQ Aquaris X Pro Guides, News, & Discussion] zenon49:
I didn't modify anything. Well I have another question, did you mange to enable the write to SD card feature? Even with root it won't allow me to write files or create folders on the external sd card..

Also tried to restore a backup I created on the sd card with TWRP, but it says I have read-only rights. Tried some guides from the forums here but unfortunately nothing worked.

Update: Worked it out.. SD card write permission now works.

There is a new firmware from BQ: 1.6.0
[BQ Aquaris X Pro Guides, News, & Discussion] krillin666:
Successfully updated to latest firmware (1.60)
[BQ Aquaris X Pro Guides, News, & Discussion] CompoteMonPote:
Is my phone bricked ?

Hi, i was following your guide as i wanted to update my already rooted/twrp recovery phone, but I misread and launched the 8953_fastboot_all_images.bat file while being in fastboot mod, of course, the majority of the commands failed but some of thoses went through and now the only thing I have when I boot is a little glitched yellow and white square. Is it over ? Do you know if this is a softbrick or something worse ?

Thank you again for the tutorial, no doubt it would have worked if I was a little bit more focused.

edit : I tried to restore it with the official bq flash tool and my bootloader was relocked...

edit 2 : bootloader unlocked with the .json file provided by BQ, I put it here just in case but you'll have to add your device number in the json file, and i'm not sure it will be enough to make it work with your phone, maybe the code is binded in some ways to my phone.

Edit 3 : After unlocking the bootloader with the bq .json ands their tool, I tried to launch the modified .bat file again, in the glitched bootloader, and it all went through, I was able to go in recovery mode with twrp, flash the newest magisk, reboot, and all was fine, no data lost and my phone is rooted and up to date :)
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Oh! Hi [MENTION=8952186]CompoteMonPote[/MENTION],

sorry for the response delay. Unfortunately i got to go to work and it often takes a couple of days until i see, when someone posted here :p

Wow, thanks for the feedback and the edits, I'm glad it worked out for you now!

Btw. I don't have a clue, but maybe you shouldn't post your unlock code here? (Don't get me wrong, it's very nice to share your experience, but I don't know if it's against BQs rules or could be a security risk for your phone etc etc - Maybe I'm overthinking.)

Out of interest, maybe we can reconstruct it:

When your phone was in the state of showing "a little glitched yellow and white square", could you switch it off and enter fastboot mode?

do you have a copy of the command window output from the unmodified .bat? -Maybe we can see what parts got flashed and so on..

If 1., I probably had tried to flash the previous firmware or parts from it to remove possible incompatibilities, but this is just a guess..

If we can reconstruct, i could add it in section 6.1 troubleshooting ;)
[BQ Aquaris X Pro Guides, News, & Discussion] CompoteMonPote:
Hi, and don't worry about the late reply, i just posted yesterday :)

First of all, I completly forgot to mention it earlier but my phone is an Aquaris X, not a X Pro, so your tutorial works with the standard model too, didn't had to change anything, and it seems that the little incident I had was only due to me not executing the .bat file at the right time.

I posted the unlock code (without my device number), because I was struggling to find it yesterday, and I was lucjky but saw people who had to wait several days before getting it so if I can help someone, I'm willing to take the risk to be hacked, and BQ didn't specify anything about security or EUA infringement so I guess it's quite ok to post it, but probability of it being unique and useless to anyone except me is hight.

About this square, I believe I was on fastboot by default, could turn the phone off but immediate reboot, in fastboot mode. If I turn it off then wait for it to boot up with the power and +/-volume key pressed (can't remember which one, sorry), the screen would power off, notification led still lit if plugged, and it showed up as "Qualcomm HS-USB Diagnostics 900E" on my computer's device manager (but wasn't accessible or showing up as an USB drive or something like that), and wasn't detected by the adb/ fastboot commands. If I pressed the power button long enough (like you do to shut it down manually), it would eventually poweroff/restart in glitchy fastboot mode.

In fact I was sure in fastboot mode only after I saw the red "LOCKED" after trying to reset it with the BQ flash tool. The phone was detected by the adb/fastboot commands the entire time the glitch square was visible.

Sorry, I didn't kept the log of the failed bat, maybe there is a way to recover it ? If anything, I think 80% of the commands failed. Also, sorry if I wasn't clear in my post, but I tried to execute the modified .bat file, but in fastboot mode and not in system as I should have done.

Sorry for my broken english btw, and thank you for your answer !
[BQ Aquaris X Pro Guides, News, & Discussion] c0dyj4ck:
Hi, I'm using the aquaris x, all is working fine with bootloader and magisk but if I try to use root for any app my mobile hangs up everytime, any idea?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hm, the only time i experienced this was when I tried using AdAway without the systemless hosts option in Magisk (see post #2 '9.3 Use of adblockers').

Which apps did you try?

At which point does it hang? - at the moment the app tries to get root? Do you see the notification from magisk or does it hang before?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Nice, thanks for the information!

I believe that shouldn't be a problem because the first step in the bat is to reboot the phone into fastboot mode and the proceed with fastboot commands.

It's really weird and I can't understand how this happened. :confused:

(Maybe there was a interruption in the USB connection, did you move the phone or the cable?)

Let's hope that it was a one time problem...

Anyway, thanks for the detailed description.
[BQ Aquaris X Pro Guides, News, & Discussion] c0dyj4ck:
Arrrrr, that's it! Thanks :)
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Ah, ok :D