yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 9 Themes, Apps, and Mods] N1NJATH3ORY:
You rock:D:D Man at this rate root is not much needed in this day and age! As with amount of control we are getting on the NOTE 9 NO YOUTUBE ADS + Background playback Aweosme!

---------- Post added at 04:41 AM ---------- Previous post was at 04:39 AM ----------

if you start to block facebook ads! You will not be able to login or will have login issues, there's no way around it! Be it Disconnect Pro or Adhell 3!
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Mwyann:
You should give Youtube Vanced a go too (works without root too).
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Nastrahl:
If I'm not wrong:

You can't block Facebook ads because they got the same domain + uses HTTPS. Any of AdHell nor Disconnect Pro can filter.

Only AdGuard or AdClear could, but not anymore unless to root because apps don't trust personal certs anymore and you can't add personal certs as system one.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] LuRock:
Thanks bro.. Works flawlessly
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Hey there!

I don't own this device anymore!

There will be no updates from me anymore.

This is how to Root the BQ Aquaris X2 / X2 PRO without a Custom Recovery like TWRP!

This is more or less a workaround until an official TWRP recovery will be available.

*** WARNING ***

This will work for the following builds:

- 1.3.0 -> 1.7.2

Requirements:

- ADB/Fastboot + Drivers

- Unlocked Bootloader

- Working Brain

How to:

Unlock Bootloader:

Unlocking Method

Our Aquaris X2 PRO is locked and needs to be unlocked before flashing anything.

STEPS:

1. Connect your phone to your PC using ADB.

2. > adb reboot bootloader

3. Your phone will now enter the fastboot mode

4. > fastboot flashing unlock

5. Your phone will be unlocked.

*** Make a backup of all your data as it might get erased during the process***

*** Warning***

After you unlock the device, it will become less secure. Your personal data might be leaked or lost.

Please think twice before flashing your phone and do it at your own risk.

Root / install Magisk:

Step 1:

Download the latest Magisk Manager from this Link:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

And install the APK File.

Step 2:

Download the patched boot image for your firmware version (See attached screenshot):

Aquaris X2 PRO

Version 1.3.0_x:

https://tt-services.de/xda/aquarisx2pro/patched_boot_1.3.0.img

Version 1.4.0_x:

https://tt-services.de/xda/aquarisx2pro/patched_boot_1.4.0.img

Version 1.5.0_x:

https://tt-services.de/xda/aquarisx2pro/patched_boot_1.5.0.img

Version 1.6.0_x:

https://tt-services.de/xda/aquarisx2pro/patched_boot_1.6.0.img

Version 1.7.0_x:

https://tt-services.de/xda/aquarisx2pro/patched_boot_1.7.0.img

Version 1.7.1_x:

https://tt-services.de/xda/aquarisx2pro/patched_boot_1.7.1.img

Version 1.7.2_x:

https://tt-services.de/xda/aquarisx2pro/patched_boot_1.7.2.img

---

Aquaris X2 Thanks to tomparr for providing the images!

Version 1.3.0_x:

https://tt-services.de/xda/aquarisx2/patched_boot_1.3.0.img

Version 1.4.0_x:

https://tt-services.de/xda/aquarisx2/patched_boot_1.4.0.img

Version 1.5.0_x:

https://tt-services.de/xda/aquarisx2/patched_boot_1.5.0.img

Version 1.5.0_x:

https://tt-services.de/xda/aquarisx2/patched_boot_1.6.0.img

Version 1.7.0_x:

https://tt-services.de/xda/aquarisx2/patched_boot_1.7.0.img

Version 1.7.1_x:

https://tt-services.de/xda/aquarisx2/patched_boot_1.7.1.img

Step 3:

Use ADB to boot into Bootloader:

> adb reboot bootloader

Now try if the patched Boot Image will work for you:

> fastboot boot <<path to boot image>>

Now the Device should boot with this Image.

Check if the device will boot as expected and take a look at the Magisk Manager APP to check if everything has succeeded.

Sometimes this will not always work as expected. If your device stuck at the Android one screen try to flash the image directly (See next step)

If so you can flash the Boot image with the folowing Steps:

> adb reboot bootloader

> fastboot flash boot <<path to boot image>>

Done! :fingers-crossed:
[BQ Aquaris X Pro Guides, News, & Discussion] Micha_Btz:
works for me too. thanks.
[BQ Aquaris X Pro Guides, News, & Discussion] wiran8:
Works perfect, however when I try to enter into Magisk Hide the app close suddenly. Any advice?
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Sorry I havent tested MagiskHide yet.

Same problem here...

I opened a issue on GitHub.

You can view the current status here:

https://github.com/topjohnwu/Magisk/issues/619
[BQ Aquaris X Pro Guides, News, & Discussion] Micha_Btz:
How do you create the bootimages?
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Hi Micha_Btz,

there is a detailed guide how to do that in the official Magisk Thread.

You can view it in this section:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[BQ Aquaris X Pro Guides, News, & Discussion] SrWindings:
It works withg Aquaris X2? Without the "pro"
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Hi SrWindings,

I've updated the thread and add a boot image for the X2.

Can you can give me feedback if everything works?

I do not own an X2...
[BQ Aquaris X Pro Guides, News, & Discussion] SrWindings:
I will test it today or tomorrow (CEST Time Zone), and I will give you the feedback. Thank you. I hope it works :)
[BQ Aquaris X Pro Guides, News, & Discussion] SrWindings:
Well I tested it now with the "fatboot boot [image path]" and it doesen't work. It gets stuck in the android one logo.

Could you fix it or do you need more information?
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Which rom version are you using? Can you tell me the exact build number?
[BQ Aquaris X Pro Guides, News, & Discussion] SrWindings:
Im using the stock rom (the one coming with the device)

Version: 1.4.0_20180830-1036

Android: 8.1.0

https://imgur.com/a/Xkezv7y
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Sorry, it looks like i am not able to create the image without the hardware :(
[BQ Aquaris X Pro Guides, News, & Discussion] SrWindings:
Can you at least tell me how to do it? Please?
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
There is a detailed guide how to do that in the official Magisk Thread.

You can view it in this section:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[BQ Aquaris X Pro Guides, News, & Discussion] SrWindings:
Thank you, but how can I get my boot image? I searched the entire internet for a method for dumping/backuping my boot image without a custom recovery or root and I don't find any. Help me please!
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
You can use the official firmware located here:

https://www.bq.com/de/support/aquaris-x2/support-sheet

Download the 1.4 firmware zip file and extract the boot image manually from there.
[BQ Aquaris X Pro Guides, News, & Discussion] qiezer:
hello

i heard of trouble with the X2 (pro)'s camera after rooting in one way or another. anybody here who knows something about that?
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Hey there,

I don't have any problems/bugs since rooting the phone.

Can you tell me where those camera problems are mentioned?
[BQ Aquaris X Pro Guides, News, & Discussion] qiezer:
hello TurboToni

thx for your answer. my collegue couldn't tell, where he might have read it. it may have had to do with autofocus but not sure

greetz
[BQ Aquaris X Pro Guides, News, & Discussion] Mexalen:
Hi,

thanks for the guide. What's the workflow for applying OTA updates while retaining root?

BR
[BQ Aquaris X Pro Guides, News, & Discussion] Micha_Btz:
I download the firmware from BQ, delete userdata.img and remove the line in the fastboot script. Download the boot image from here, flash at first all images from BQ and at least the boot image from here.

Flash the boot image to both boot partitions.

You also can make an OTA Update and after the devices is rebooting, turn it off and then on, go to fastboot mode, flash the new boot image and you are ready again.
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
This problem is fixed now.

Just install the new (current) version of Magsik.
[BQ Aquaris X Pro Guides, News, & Discussion] tchavei:
Hi. When I boot from your IMG, I'm asked for a password? What am I doing wrong?
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Hi, can you tell me which version you are using?

Have you tried to enter your lockscreen password?
[BQ Aquaris X Pro Guides, News, & Discussion] frauhottelmann:
When I try to do fastboot boot patched_boot_1.5.0.img I get:

robert@Linux-Robert:~/Downloads$ fastboot boot patched_boot_1.5.0.img
downloading 'boot.img'...
FAILED (remote: unknown command)
finished. total time: 0.001s

And when I try to flash it I get:

robert@Linux-Robert:~/Downloads$ fastboot flash boot patched_boot_1.5.0.img
target didn't report max-download-size
sending 'boot' (50609 KB)...
FAILED (remote: Requested download size is more than max allowed)
finished. total time: 0.000s

I am on the 1.5.0. What's going on? :D
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Have you unlocked your bootloader?
[BQ Aquaris X Pro Guides, News, & Discussion] frauhottelmann:
Of course.
[BQ Aquaris X Pro Guides, News, & Discussion] Micha_Btz:
the device has two boot partitions

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img
[BQ Aquaris X Pro Guides, News, & Discussion] frauhottelmann:
Thanks, but it was a problem with Linux' fastboot. The one they supply in their zip works fine under Linux...
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
Hi,

I own the X2 (not Pro) and followed the Magisk instructions to create a patched boot image. Unfortunately, I face the same issues as described previously, the phone hangs at the Android One screen when booting with fastboot boot <image>. So I played a bit more and found:

the device is still available in fastboot and accepts fastboot commands,

the official unmodified boot image from the 1.5.0 firmware has the same behaviour, stays at the Android One screen with fastboot available

Any idea what could cause this behaviour? I do hesitate a bit to flash an image thats not booting correctly. ;)
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Hi,

Please try to flash the modified image directly.

Sometimes the "fastboot boot" command does not work that well.

If you face some issues just reflash the original boot image.

If you will flash the original boot image the device should boot as expected.
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
Thanks for the quick answer.

Never had problems with "fastboot boot" on my previous devices, but you were right. Flashing the file works as expected. In case you want to add it to your first post, I can provide you the patched images of the X2 firmwares.

Cheers, Tom
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
I am glad to hear that!

It would be awesome if you can provide me the modified images. I will add it to the post. :)
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
Here you go.

1.7.3

1.7.2

1.7.1

1.7.0

1.6.0

1.5.0

1.4.0

1.3.0

Cheers, Tom
[BQ Aquaris X Pro Guides, News, & Discussion] wiran8:
Hi guys, the device just got an update and it was installed automatically, so now I have the phone unrooted, do you know when the modify img will be available? x2 pro 1.6.0_

Thanks for the awesome work!
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
I've just added the new image for the X2 pro
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
Hi,

I sent you an PN with the new image for the X2 and also added it to my post above.

Greetings, Tom
[BQ Aquaris X Pro Guides, News, & Discussion] dromaius:
Hi,

I build today for my X2pro the new boot.img version for 1.7.0 and Magisk v18.0. Works fine for me.

Download here on your own risk.

- Dromaius

PS: md5sum: 9144f938d99e3b70f7128aaeb0cc5238

PPS: no backup, no mercy.
[BQ Aquaris X Pro Guides, News, & Discussion] fallenguru:
Hello,

I'm afraid I could use some help ... The situation:

BQ Aquaris X2 Pro (my wife's); bootloader unlocked via BQ flash tool; boot.img extracted from official firmware image (1.6.0) and patched via Magisk Manager; flashed via the fastboot that came with the flash tool. Worked like a charm.

Now, the 1.7.0 OTA popped up and supposedly installed itself without asking. I'm aware that I should've restored the stock boot image before the update, but that cat was out of the bag, so I just had Magisk Manager install into the second slot and rebooted.

==> Long boot loop, finally broken by a request for the encryption password (which was never set).

Is there any way to recover without data loss? If not, what's the cleanest way to get to a factory state? Also, how does one disable automatic updates so that never happens again?

Of all the things that had to happen while we're on holiday ...
[BQ Aquaris X Pro Guides, News, & Discussion] TurboToni:
Hi fallenguru,

im sorry, but since there is no custom recovery available for the X2 series yet there is no option to pull any data from your phone at this point.

You can try to flash the official boot image.

Maybe this will do the trick.

Otherwise you can try to do a factory reset without wiping the userdata partition...

You can download the official bq firmware here: https://www.bq.com/de/support/aquaris-x2-pro/support-sheet

!!!Dont upgrade your phone - Use the same version which is installed on your phone!!!

There should be a script in the zip file with th endng ".bat"

You can open this with any text editor and delete the command for flashing the userdata partition.

This should be "fastboot flash userdata userdata.img" or something like that.

Than run the script and check if the device will boot...

Otherwise you should reset the firmware with the original script provided in the zip by BQ.

Good luck!
[BQ Aquaris X Pro Guides, News, & Discussion] fallenguru:
Just in case this bites anyone else, the solution:

Use fastboot to set the active slot to B (i.e., the one that has been updated) and boot the stock boot.img from the new firmware. If everything works -- no data loss, yay! --, you can then flash it (to the slot selected above). Then proceed to have Magisk Manager patch it, and, if that boots, flash it to re-root.
[BQ Aquaris X Pro Guides, News, & Discussion] CleverPhone:
Hi!

Did someone already manage to patch version 1.7.1?

I tried it with "MagiskManager-v6.1.0.apk" and "1.7.1_20181218-0944-zangyapro_bq-user-1050-Fastboot-FW.zip".

But the Magisk Manager app always crashes while patching. :rolleyes:

Edit: I now also tried patching version 1.7.0 myself. But the app crashed again.

Which version of Magisk Manager are you using?
[BQ Aquaris X Pro Guides, News, & Discussion] AndroidenKalle:
I used Magisk Manager 6.1.0 to patch the boot image from FW 1.7.1 without any problems.

Did you extract the boot.img and patch this file only?
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
Same here, all patched images for the X2 by me have been created with MagiskManager 6.1.0.
[BQ Aquaris X Pro Guides, News, & Discussion] gaduaxe:
how about root method for 1.8.x firmware version?

thank you
[BQ Aquaris X Pro Guides, News, & Discussion] AndroidenKalle:
Is it official? I can't find the firmware on the BQ homepage.
[BQ Aquaris X Pro Guides, News, & Discussion] gerasimka:
Has anyone tried patching the boot.img from the 1.7.2 update? Stuck in the boot process while testing (bq logo).
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
Did you flash the boot.img or use fastboot boot?
[BQ Aquaris X Pro Guides, News, & Discussion] gerasimka:
I used fastboot boot with original boot image and with the patched one. Same result.
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
No clue why, but for some reason the phone does gets stuck at the boot logo with fastboot boot. However, it boots up fine when you flash the image.
[BQ Aquaris X Pro Guides, News, & Discussion] gerasimka:
Thanks. It worked. I flashed the patched boot.img directly over the batch.
[BQ Aquaris X Pro Guides, News, & Discussion] sile87:
Hello, how did you flash? I got error: Failed to identify current slot if i flash it. fastboot boot ends up with the one logo. I'm on X2 with latest 1.7.3 and used the patched img.

Regards
[BQ Aquaris X Pro Guides, News, & Discussion] c0dyj4ck:
hi, what is with a patched bootimage for firmware 2.0.1? I installed magiskmanager but I can not patch anything?
[BQ Aquaris X Pro Guides, News, & Discussion] AndroidenKalle:
See section "Boot Image Patching" at https://topjohnwu.github.io/Magisk/install.html
[BQ Aquaris X Pro Guides, News, & Discussion] krillin666:
Hello, maybe someone can be of help to my situation.

I had my phone rooted in the last firmware version (1.7.3), and I was getting notifications to update to Android 9 pie for some time, however I was waiting to have some time to spare and first backup my files and do a factory update to pie and then root.

However, last nigh without warning my phone just rebooted and updated to pie, (firmware ver 2.0.2) and I lost root obviously. However, all my files, apps, etc were intact.

So today I decided to root my phone again. I download the firmware zip from BQ's site and then used Magisk (ver. 19.2) to patch the boot.img.

I rebooted to fastboot and did "sudo fastboot flash magisk_patched.img", and rebooted but the phone got stuck in the logo screen.

Then I used method 5 of the other tutorial here in xda by zangyapro and ran ./sdm660_fastboot_upgrade.sh (with the mentioned modifications), however it bootlooped again. Then I flashed the original boot img and my phone booted just fine again, I patched the boot omg again with magisk, did again "sudo fastboot flash magisk_patched.img", and it bootlooped again.

Any clues on how to successfully root ? Never had any problems updating and rooting from firmware 1.4.0 to 1.7.3.

Thank you for your time
[BQ Aquaris X Pro Guides, News, & Discussion] merlinwv:
Hi I successfully rooted my X2 Pro (on firmware 2.0.1) vi the standard method described for magisk (19.2) - so I guess it should work for 2.0.2 too.

I did NOT flash the magisk_patched.img directly, but rather issued a

fastboot boot magisk_patched.img

while still having the stock boot.img flashed.

If it successfully boots, you have temporary root with magisk present, and can then just select the "Install" option in magisk itself, which will patch the current boot-slot, re-sign it with a developer key and flash it.

After a reboot, you then have permanent root (until the next update ;) )
[BQ Aquaris X Pro Guides, News, & Discussion] Bodenseematze:
I successfully flashed 2.0.2 (with the batch script) and afterwards installed Magisk 19.2, patched the boot.img, flashed it to the active slot and successfully rebooted - everything works...

But as merlinwv said - it's always a good idea to test the bootability with

fastboot boot magisk_patched.img

;)
[BQ Aquaris X Pro Guides, News, & Discussion] salva martinez:
i have done everything , but my devide keeps loading de bq sign, and you cant restart /reboot it.

please help!!!!
[BQ Aquaris X Pro Guides, News, & Discussion] zygardoge:
I got a problem. Several month ago I got my phone rooted successfully (fw 1.7.3) before it was updated to android 9 (now is 2.2.0) and became unrooted. Then I tried to make it rooted again by flash boot the patched boot img, but it still keeps stuck in fastboot screen and does nothing, and it doesn't show anything after this command.

PS D:\Download\2.2.0_20190612-1447-zangyapro_bq-user-689-Fastboot-FW> adb reboot bootloader
PS D:\Download\2.2.0_20190612-1447-zangyapro_bq-user-689-Fastboot-FW> fastboot flash boot magisk_patched.img

Did I do correctly ?
[BQ Aquaris X Pro Guides, News, & Discussion] tomparr:
Did you try to flash the boot image used for FW1.7.3 or did you create a new one based on 2.2.0? As for the commands, the zangya is a A/B device. Therefore, you need to use fastboot flash boot_a patched_boot.img and fastboot flash boot_b patched_boot.img
[BQ Aquaris X Pro Guides, News, & Discussion] haizapo:
I saw from BQ site https://www.bq.com/de/support/aquaris-x2-pro/support-sheet they have new firmware 2.2.1 (Android Pie 9). I am now at android 8.1.0 with build number 1.11xx. What should I do to upgrade my phone to android 9?

I will unlock bootloader soon
[BQ Aquaris X Pro Guides, News, & Discussion] haizapo:
I have successfully install android PIE to phone. Very easy. I haven't root it yet.
[BQ Aquaris X Pro Guides, News, & Discussion] c0dyj4ck:
Hi,

I have some problems to update the new jul package (93mb) my device is rooted and it aborts after view seconds of install with no error in display.

Any idea?
[BQ Aquaris X Pro Guides, News, & Discussion] thinhx2:
i need tester to test twrp, rom for this phone

https://drive.google.com/open?id=1NCcbtHljrRtZsiW8_78YiW2nudzfwikz
[BQ Aquaris X Pro Guides, News, & Discussion] Bodenseematze:
Maybe I can help - what can / shall I do?
[BQ Aquaris X Pro Guides, News, & Discussion] thinhx2:
test twrp, and flash rom if twrp can boot

i have vsmart active 1. but i cant test it because my mother using it
[BQ Aquaris X Pro Guides, News, & Discussion] Bodenseematze:
I can install twrp and test it - but where can I downlad it?

The above link only has lineageos images?!

What does it mean "I have vsmart active 1"?
[BQ Aquaris X Pro Guides, News, & Discussion] thinhx2:
i uploading all to my drive. but if you have telegram. i can send all to you right now

vsmart active is name of bq x2 pro in vietnam. it just rename and using a custom rom from vsmart. dont care about it haha
[BQ Aquaris X Pro Guides, News, & Discussion] thinhx2:
Uploaded
[BQ Aquaris X Pro Guides, News, & Discussion] Bodenseematze:
I downloaded all 5 images from the subdirectory "custom recovery".

But what are those different images?

recovery-zangyapro-3.3.0-v0.0.1.img
twrp-9-231-a1-one.img
twrp-9-231-a1-recovery.img
twrp-9-test1.img
twrp-9-test1-one.img

And what is the correct / suggested way to flash them?

:confused:
[BQ Aquaris X Pro Guides, News, & Discussion] thinhx2:
name tag: one is newest build.

use command: fastboot boot "path to .img" to boot twrp. my friend testest. it fine
[BQ Aquaris X Pro Guides, News, & Discussion] c0dyj4ck:
atm I cannot update November updates on my X2 I get no connection with fastboot :/
[BQ Aquaris X Pro Guides, News, & Discussion] Bodenseematze:
Sorry to be a bit late - had no time in the last weeks...

Inbetween I tried to boot all of your provided images (with above mentioned fastboot command) - result is: none of them boot at my device :(

All boots lead to a neverending "bq" symbol showing up and vanishing again - it seems, they all cause a boot loop (or hanging)?

Either I do something wrong or there is something wrong with your images...

Do you have some logging or other mechanism to debug and find out what's wrong?
[BQ Aquaris X Pro Guides, News, & Discussion] thinhx2:
You have telegram?

Find me : +84904399978

Twrp,lineage 16 work fine with BQ 2.3.1 firmware
[BQ Aquaris X Pro Guides, News, & Discussion] Bodenseematze:
No, unfortunately I don't have it.

I'm still on BQ 2.0.2 firmware and actually want to stay with BQ firmware (but of course always with the last).

TWRP should boot regardless of the other firmware, shouldn't it?

If all would go well with the "fastboot boot" test, your twrp.img files are meant to be flashed to the recovery part?!

Did someone else try to boot thinhx2's twrp images?

BZW, booting without flashing anyting is totally safe - it's just a temporary boot with the given image; if you switch the phone off and on again, everything is "normal" again

(of course until it works and you flash something in twrp)
[BQ Aquaris X Pro Guides, News, & Discussion] thinhx2:
Zangyapro sdm660 bro. Not zangya