Hi, i tried that and actually all these steps seem to go well. But after that i kind of bricked my phone.
Googling for hours brought it back via sudo fastboot flash recovery recovery.img
Im in desperate need of working firmware now ))
download lineageos org/paella >> is only for x5 not x5 plus
BQ seems not to have release a firmware online, the flashtool does not work as it complains that the phone is locked,
sudo fastboot oem unlock-go
...
OKAY [ 0.000s]
finished. total time: 0.000s
but no effect (((
fastboot oem device-info
sudo 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 [ 0.005s]
finished. total time: 0.005s
the firmware at shenron bq com/ otas/ 2016/SM...8976_gohan__user_-_20170109-134157_update.zip does not get installed, it gives an error
so does storage googleapis com /otas...BQ/1.6.0_20161229-1655-gohan-user-1047-FW zip
---------- Post added at 07:21 PM ---------- Previous post was at 06:50 PM ----------
Starting TWRP 3.0.2-1-f3c1b2f5-dirty on Thu Jan 1 05:15:59 1970
(pid 339)
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/devices/platform/msm_hsusb/gadget/lun0/file'
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 128
I:LANG: en
Starting the UI...
Overlay graphics may work (mdssfb_90000), but not enabled. Use TW_TARGET_USES_QCOM_BSP := true to enable.
setting DRM_FORMAT_RGBX8888 and GGL_PIXEL_FORMAT_RGBX_8888
cannot find/open a drm device: No such file or directory
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 0 .length = 8
vi.green.offset = 8 .length = 8
vi.blue.offset = 16 .length = 8
setting GGL_PIXEL_FORMAT_RGBA_8888
double buffered
framebuffer: 0 (1080 x 1920)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 128
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
blacklisting hbtp_vm input device
=> Linking mtab
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I
rocessing '/cache'
I
rocessing '/system'
I
rocessing '/system_image'
I
rocessing '/data'
I
rocessing '/boot'
I
rocessing '/recovery'
I
rocessing '/misc'
I
rocessing '/external_sd'
I:Created '/external_sd' folder.
I
rocessing '/usb-otg'
I:Created '/usb-otg' folder.
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:Setting up '/data' as data/media emulated storage.
I:Recreating /data/media folder.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:Backup folder set to '/data/media/TWRP/BACKUPS/XH035792'
I:Settings storage is '/data/media'
I
ecrypt adopted storage starting
I
ageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
Updating partition details...
Failed to mount '/system' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p24', current file system: 'ext4'
I
ata backup size is 0MB, free: 6614MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unmounting main partitions...
Partition Logs:
/cache | /dev/block/mmcblk0p25 | Size: 247MB Used: 0MB Free: 247MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p25
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system | /dev/block/mmcblk0p24 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p24
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system_image | /dev/block/mmcblk0p24 | Size: 2560MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p24
Display_Name: System Image
Storage_Name: system_image
Backup_Path: /system_image
Backup_Name: system_image
Backup_Display_Name: System Image
Storage_Path: /system_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/data | /dev/block/mmcblk0p46 | Size: 6629MB Used: 0MB Free: 6614MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p46
Length: -16384
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537
/boot | /dev/block/mmcblk0p21 | Size: 64MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p21
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/mmcblk0p22 | Size: 64MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p22
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/misc | /dev/block/mmcblk0p27 | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p27
Display_Name: misc
Storage_Name: misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/external_sd | /dev/block/mmcblk1p1 | Size: 59672MB Used: 1584MB Free: 58087MB Backup Size: 1584MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: External SD
Storage_Name: External SD
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: External SD
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538
/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB OTG
Storage_Name: USB OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65539
I:Loading package: TWRP (/data/media/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I
ageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
I:Checking resolution...
I:Loading resources...
I:Failed to load image from indeterminate013, error -1
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Including file: /twres/portrait.xml...
I
ageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page flash_sleep_and_reboot
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page reboot_system_routine
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backup_options
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/TWRP/BACKUPS/XH035792'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page system_readonly_check
I:Loading page reboot
I:Loading page system_readonly
I:Loading page settings
I:Loading page settings_timezone
I:Loading page settings_screen
I:Loading page settings_vibration
I:Loading page settings_language
I:Loading page advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageraction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixcontexts
I:Loading page installsu
I:Loading page slideout
I:Loading page select_storage
I:Loading page select_language
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
Startup Commands:
ro.boot.emmc=true
ro.boot.console=ttyHSL0
ro.boot.baseband=msm
ro.boot.hardware=qcom
ro.boot.serialno=XH035792
ro.boot.keymaster=1
ro.boot.bootdevice=7824900.sdhci
ro.boot.veritymode=enforcing
ro.boot.verifiedbootstate=orange
ro.omni.device=gohan
ro.twrp.boot=1
ro.twrp.version=3.0.2-1
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=msm8952
ro.build.id=MOB30M
ro.build.date=Tue Dec 6 11:41:07 EST 2016
ro.build.date.utc=0
ro.build.host=build
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=jenkins
ro.build.flavor=omni_gohan-eng
ro.build.display.id=omni_gohan-eng 6.0.1 MOB30M 2 test-keys
ro.build.product=Aquaris_X5_Plus
ro.build.version.sdk=23
ro.build.version.base_os=
ro.build.version.release=6.0.1
ro.build.version.codename=REL
ro.build.version.incremental=2
ro.build.version.preview_sdk=0
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2016-06-01
ro.build.description=omni_gohan-eng 6.0.1 MOB30M 2 test-keys
ro.build.fingerprint=bq/omni_gohan/gohan:6.0.1/MOB30M/2:eng/test-keys
ro.build.characteristics=default
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.kernel.android.checkjni=1
ro.secure=0
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=Aquaris_X5_Plus
ro.product.board=msm8952
ro.product.brand=bq
ro.product.model=Aquaris X5 Plus
ro.product.device=Aquaris_X5_Plus
ro.product.locale=en-US
ro.product.manufacturer=bq
ro.baseband=msm
ro.bootmode=unknown
ro.hardware=qcom
ro.revision=0
ro.serialno=XH035792
ro.bootimage.build.date=Tue Dec 6 11:42:14 EST 2016
ro.bootimage.build.date.utc=1481042534
ro.bootimage.build.fingerprint=bq/omni_gohan/gohan:6.0.1/MOB30M/2:eng/test-keys
ro.bootloader=unknown
ro.debuggable=1
net.bt.name=Android
net.change=net.bt.name
sys.usb.ffs.ready=1
init.svc.adbd=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
twrp.crash_counter=0
twrp.action_complete=0
debug.atrace.tags.enableflags=0
dalvik.vm.isa.arm.variant=cortex-a7
dalvik.vm.isa.arm.features=default
dalvik.vm.usejit=true
dalvik.vm.lockprof.threshold=500
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.dex2oat-filter=verify-at-runtime
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-at-runtime
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib.2=libart
service.adb.root=1
I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u
bject_r:system_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:InfoManager file '/data/media/TWRP/.twrps' not found.
I:Backup folder set to '/data/media/TWRP/BACKUPS/XH035792'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 128
I
ageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/TWRP/BACKUPS/XH035792'
I:TWFunc::Fixup_Time: Pre-fix date and time: 1970-01-01--00-16-00
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: no ats files found, leaving untouched!
I:Enabling MTP during startup
I:Starting MTP
Starting MTP
I:sending message to add 65537 '/data/media' 'Internal Storage'
I:Message sent, add storage ID: 65537
I:sending message to add 65538 '/external_sd' 'Micro SDCard'
I:Message sent, add storage ID: 65538
MTP Enabled
I:Switching packages (TWRP)
I:Set page: 'system_readonly'
created new mtpserver object
MtpServer::run fd: 20
mtppipe add storage 65537 '/data/media'
MtpStorage id: 65537 path: /data/media
mtppipe add storage 65538 '/external_sd'
MtpStorage id: 65538 path: /external_sd
I:Is_Mounted: Unable to find partition for path '/vendor'
I
peration_start: 'Toggle System Mount'
I
peration_end - status=1
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'wipe'
I:Set page: 'advancedwipe'
I:Set page: 'action_page'
I
peration_start: 'Format'
I:wipe list '/cache;/system;/data;'
I:wipe_path '/cache'
Formatting Cache using make_ext4fs...
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead
I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:wipe_path '/system'
Formatting System using make_ext4fs...
Creating filesystem with parameters:
Size: 2684354560
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 10240
Label:
Blocks: 655360
Block groups: 20
Reserved block group size: 159
Created filesystem with 11/163840 inodes and 21489/655360 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead
I:wipe_path '/data'
Wiping data without wiping /data/media ...
I:skipped '/data/lost+found'
I:skipped '/data/media'
Done.
I:sending message to add 65537 '/data/media' 'Internal Storage'
I:Message sent, add storage ID: 65537
Updating partition details...
mtppipe add storage 65537 '/data/media'
MtpStorage id: 65537 path: /data/media
E:MtpServer::addStorage Storage for storage ID 65537 already exists.
I
ata backup size is 0MB, free: 6614MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'action_complete'
I
peration_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'advancedwipe'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set overlay: 'select_storage'
I:Backup folder set to '/external_sd/TWRP/BACKUPS/XH035792'
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I
peration_start: 'Flashing'
Installing zip file '/external_sd/lineage-14.1-20170223-nightly-paella-signed.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
script aborted: E3004: This package is for device: piccolometal,picmt,paella,Aquaris_X5; this device is Aquaris_X5_Plus.
E3004: This package is for device: piccolometal,picmt,paella,Aquaris_X5; this device is Aquaris_X5_Plus.
E:unknown command [log]
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '/external_sd/lineage-14.1-20170223-nightly-paella-signed.zip'
Updating partition details...
I
ata backup size is 0MB, free: 6614MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I
peration_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I
peration_start: 'Flashing'
Installing zip file '/external_sd/1.6.0_20161229-1655-gohan-user-1047-FW.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Could not find 'META-INF/com/google/android/update-binary' in the zip file.
Error installing zip file '/external_sd/1.6.0_20161229-1655-gohan-user-1047-FW.zip'
Updating partition details...
I
ata backup size is 0MB, free: 6614MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I
peration_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I
peration_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /external_sd/recovery.log