Join us on Tl   Wh

Hovatek Forum MOBILE Android Cannot flash original firmware on BQ Aquaris X2

Cannot flash original firmware on BQ Aquaris X2

Cannot flash original firmware on BQ Aquaris X2

VinceLx
VinceLx
VinceLx
Junior Member
19
27-11-2024, 07:33 PM
#1



Hello all,
I am running this procedure:
https://xdaforums.com/t/howto-aquaris-x2...k.4239267/
to unbrick an Aquaris X2.

I had an issue with connecting in Diag mode, which has been solved here:
https://www.hovatek.com/forum/thread-47543.html

Now the last step of the above procedure is, in section 3, to flash a stable firmware.
I downloaded the proper firmware: 3.1.5_20201014-0834-zangya_bq-user-664-Fastboot-FW.zip

I did the actions from section 2.2 Emergency Package - Bootloader Unlock
I ran: fastboot flashing unlock
The device rebooted, ok
Then I ran: fastboot flashing unlock_critical
The device rebooted, ok 
Then I ran: sdm636_fastboot_all_images.bat
and here I got:
error: no devices/emulators found
Device does not match ZANGYA and cannot be flashed. Check the FW.
Press any key to continue . . .

I confirm I have a BQ Aquaris X2, written on the back cover.

On the About phone section in android, the model is: PQ6001, which seems normal after having flashed the Emergency Package in EDL mode.

Any idea how to deal with this issue?
VinceLx
VinceLx
VinceLx
Junior Member
19
27-11-2024, 08:15 PM
#2
I see the following checks in the bat file:
:Check_Device
set expected=zangya
for /f "tokens=2 delims=: " %%a in ('fastboot.exe getvar device 2^>^&1 ^| findstr device') do set device=%%a
if "%device%"=="%expected%" (goto :Flash) else (goto :Error)
:Old_Way
set expected=SDM636
for /f "tokens=2 delims=: " %%a in ('fastboot.exe getvar product 2^>^&1 ^| findstr product') do set product=%%a
if "%product%"=="%expected%" (goto :Flash) else (goto :Error)

Should I simply remove them?

Especially about SDM636. I see here that the expected chipset for X2 is SDM636:
https://www.mobosdata.com/phone/bq-aquaris-x2/
Whereas for V smart 1 it is: MSM8976 Plus
https://www.mobosdata.com/phone/vsmart-active-1-1/

What do you think?
maxpayne
maxpayne
maxpayne
Intern
4,059
05-12-2024, 11:24 PM
#3
(27-11-2024, 08:15 PM)VinceLx What do you think?

You can create a .bat file to find out what fastboot detects the device as then modify the fastboot_all_images.bat to carry the same name

Code:

for /f "tokens=2 delims=: " %%a in ('fastboot.exe getvar device 2^>^&1 ^| findstr device') do set device=%%a
echo %device%
for /f "tokens=2 delims=: " %%a in ('fastboot.exe getvar product 2^>^&1 ^| findstr product') do set product=%%a
echo %product%
pause

Another thing you should take note of is the use of fastboot.exe in the code. Also consider trying just fastboot (exluding the .exe) if there's not detection.
You could also remove the checks (if you can without breaking the code) and you're sure that its for your model
This post was last modified: 05-12-2024, 11:31 PM by maxpayne.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt