[Root] Firmware Update über Fastboot - Tutorial [bq Aquaris X5 Plus] - keine Diskussion

@cyclon1978 Nur aus Interesse, war dein Bootloader nur unlocked oder auch unlocked_critical?
 
  • Danke
Reaktionen: Monk007
Unlocked critical
 
Zuletzt bearbeitet von einem Moderator:
Bearbeitet von: loopi - Grund: Unnötiges Direktzitat entfernt, bitte Antwort Funktion benutzen (siehe Forenregeln) Grüße loopiCB
Hi zusammen,

ich habe heute zwei von drei der durch mich betreuten X5-Plus auf Nougat aktualisiert und es hat soweit alles geklappt.

Ausgangsbasis: Ein mal 1.5.1 und ein mal 1.6.0, beide critical-unlocked.
Vorgehensweise:
  1. Zunächst mit Titanium-Backup zur Sicherheit ein Backup erstellt.
  2. Daten der internen SD-Card für den Fall der Fälle per adb pull auf den Rechner kopiert.
  3. In der Batch-Datei der entpackten Firmware userdata und den finalen Reboot auskommentiert, anschließend Firmware geflasht.
  4. TWRP 3.1.0.0 dauerhaft mit fastboot flash recovery twrp-3.1.0-0-gohan.img geflasht.
  5. In den Recovery-Modus gestartet und mit adb sideload Magisk-v11.1.zip Magisk installiert.
  6. Nach dem ersten Start wurde die Aktualisierung erfolgreich abgeschlossen.
Alles läuft soweit wunderbar. Einige Beobachtungen:
  • Alle Daten erhalten.
  • Auch SMS alle noch da.
  • Launcher-Icons auf Standard zurückgesetzt.
  • Optimiertes Laden wurde durch das Update deaktiviert.
  • Alle Custom-Skins von Beautiful-Widgets können die Uhr nicht mehr anzeigen, nur noch die Default-Clock funktioniert. Schade, hab BW immer gerne benutzt.
  • Was ein wenig stört, ist die automatische Farbeinstellung der Statusleiste in Abhängigkeit zum Hintergrund. Das ist nicht immer optimal.
 
Zuletzt bearbeitet:
  • Danke
Reaktionen: Keule-tm
@Fxedel: habe das gleiche Problem, bin mir nur sicher, dass ich unlock_critical war. Aber viel wichtiger ist, was ist bei dir nun herausgekommen? Was meinte der support oder hast du eine andere Möglichkeit zur Rettung gefunden?
 
Hi, ich scheitere leider schon beim entsperren. Was mache ich falsch?

Code:
E:\BQ_X5_Plus>fastboot flashing unlock_critical
usage: fastboot [ <option> ] <command>

commands:
  update <filename>                        reflash device from update.zip
  flashall                                 flash boot, system, vendor and if fou
nd,
                                           recovery
  flash <partition> [ <filename> ]         write a file to a flash partition
  erase <partition>                        erase a flash partition
  format[:[<fs type>][:[<size>]] <partition> format a flash partition.
                                           Can override the fs type and/or
                                           size the bootloader reports.
  getvar <variable>                        display a bootloader variable
  boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
  flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
                                           flash it
  devices                                  list all connected devices
  continue                                 continue with autoboot
  reboot                                   reboot device normally
  reboot-bootloader                        reboot device into bootloader
  help                                     show this help message

options:
  -w                                       erase userdata and cache (and format
                                           if supported by partition type)
  -u                                       do not first erase partition before
                                           formatting
  -s <specific device>                     specify device serial number
                                           or path to device port
  -l                                       with "devices", lists device paths
  -p <product>                             specify product name
  -c <cmdline>                             override kernel commandline
  -i <vendor id>                           specify a custom USB vendor id
  -b <base_addr>                           specify a custom kernel base address.

                                           default: 0x10000000
  -n <page size>                           specify the nand page size.
                                           default: 2048
  -S <size>[K|M|G]                         automatically sparse files greater
                                           than size.  0 to disable
 
Hi,

dein Commando ist falsch, es gibt keins mit "flashing".

(keine Ahnung warum das auf Seite 1 so steht)
 
Also nur
Code:
fastboot flash unlock_critical
statt
Code:
fastboot flashing unlock_critical
?
 
edit: oi, da war ich ja benebelt.

Der Befehl im Startpost ist richtig. Hast du mal geprüft, ob deine fastboot-version aktuell ist?
 
Zuletzt bearbeitet:
fastboot oem unlock (sollte das korrekte sein)

wie oben fastboot auflistet wäre flash für das neuschreiben der jeweiligen partiton
 
Also stimmt das Tutorial nicht (mehr)?

Das erhalte ich jetzt:
Code:
E:\BQ_X5_Plus>fastboot flash unlock_critical
unknown partition 'unlock_critical'
error: cannot determine image filename for 'unlock_critical'

Was ist denn der richtige Befehl?

Entsperrt hatte ich das Gerät bereits, aber noch nicht critical

Code:
E:\BQ_X5_Plus>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.017s]
finished. total time: 0.021s
 
aTg!s schrieb:
Also stimmt das Tutorial nicht (mehr)?

Das erhalte ich jetzt:
Code:
E:\BQ_X5_Plus>fastboot flash unlock_critical
unknown partition 'unlock_critical'
error: cannot determine image filename for 'unlock_critical'
[/code]
du gibst den befehl flash und als partition "unlock_critical", das kann nicht gehen
flash ist das falsche commando

richtig ist:
fastboot oem unlock
fastboot oem unlock_critical
 
Okay. Nur das unlock_critical klappt nicht:
Code:
E:\BQ_X5_Plus>fastboot oem unlock_critical
...
(bootloader)    Device already : unlocked!
OKAY [  0.003s]
finished. total time: 0.003s
 
Das hängt mit der Version von fastboot zusammen.
Alte Versionen können kein unlock_critical, da macht man das normale unlock mit "fastboot oem unlock". Bei neuen Versionen geht auch unlock_critical, der Befehl dazu lautet dann "fastboot flashing unlock_critical", wie in der Anleitung beschrieben.

Code:
sebastian@seb-laptop ~ % fastboot --version
fastboot version 7.1.1_r13

Code:
sebastian@seb-laptop ~ % fastboot help   
usage: fastboot [ <option> ] <command>

commands:
  update <filename>                        Reflash device from update.zip.
                                           Sets the flashed slot as active.
  flashall                                 Flash boot, system, vendor, and --
                                           if found -- recovery. If the device
                                           supports slots, the slot that has
                                           been flashed to is set as active.
                                           Secondary images may be flashed to
                                           an inactive slot.
  flash <partition> [ <filename> ]         Write a file to a flash partition.
  flashing lock                            Locks the device. Prevents flashing.
  flashing unlock                          Unlocks the device. Allows flashing
                                           any partition except
                                           bootloader-related partitions.
  flashing lock_critical                   Prevents flashing bootloader-related
                                           partitions.
  flashing unlock_critical                 Enables flashing bootloader-related
                                           partitions.
  flashing get_unlock_ability              Queries bootloader to see if the
                                           device is unlocked.
  flashing get_unlock_bootloader_nonce     Queries the bootloader to get the
                                           unlock nonce.
  flashing unlock_bootloader <request>     Issue unlock bootloader using request.
  flashing lock_bootloader                 Locks the bootloader to prevent
                                           bootloader version rollback.
  erase <partition>                        Erase a flash partition.
  format[:[<fs type>][:[<size>]] <partition>
                                           Format a flash partition. Can
                                           override the fs type and/or size
                                           the bootloader reports.
  getvar <variable>                        Display a bootloader variable.
  set_active <slot>                        Sets the active slot. If slots are
                                           not supported, this does nothing.
  boot <kernel> [ <ramdisk> [ <second> ] ] Download and boot kernel.
  flash:raw boot <kernel> [ <ramdisk> [ <second> ] ]
                                           Create bootimage and flash it.
  devices [-l]                             List all connected devices [with
                                           device paths].
  continue                                 Continue with autoboot.
  reboot [bootloader]                      Reboot device [into bootloader].
  reboot-bootloader                        Reboot device into bootloader.
  help                                     Show this help message.

options:
  -w                                       Erase userdata and cache (and format
                                           if supported by partition type).
  -u                                       Do not erase partition before
                                           formatting.
  -s <specific device>                     Specify a device. For USB, provide either
                                           a serial number or path to device port.
                                           For ethernet, provide an address in the
                                           form <protocol>:<hostname>[:port] where
                                           <protocol> is either tcp or udp.
  -p <product>                             Specify product name.
  -c <cmdline>                             Override kernel commandline.
  -i <vendor id>                           Specify a custom USB vendor id.
  -b, --base <base_addr>                   Specify a custom kernel base
                                           address (default: 0x10000000).
  --kernel-offset                          Specify a custom kernel offset.
                                           (default: 0x00008000)
  --ramdisk-offset                         Specify a custom ramdisk offset.
                                           (default: 0x01000000)
  --tags-offset                            Specify a custom tags offset.
                                           (default: 0x00000100)
  -n, --page-size <page size>              Specify the nand page size
                                           (default: 2048).
  -S <size>[K|M|G]                         Automatically sparse files greater
                                           than 'size'. 0 to disable.
  --slot <slot>                            Specify slot name to be used if the
                                           device supports slots. All operations
                                           on partitions that support slots will
                                           be done on the slot specified.
                                           'all' can be given to refer to all slots.
                                           'other' can be given to refer to a
                                           non-current slot. If this flag is not
                                           used, slotted partitions will default
                                           to the current active slot.
  -a, --set-active[=<slot>]                Sets the active slot. If no slot is
                                           provided, this will default to the value
                                           given by --slot. If slots are not
                                           supported, this sets the current slot
                                           to be active. This will run after all
                                           non-reboot commands.
  --skip-secondary                         Will not flash secondary slots when
                                           performing a flashall or update. This
                                           will preserve data on other slots.
  --wipe-and-use-fbe                       On devices which support it,
                                           erase userdata and cache, and
                                           enable file-based encryption
  --unbuffered                             Do not buffer input or output.
  --version                                Display version.
  -h, --help                               show this message.
 
  • Danke
Reaktionen: aTg!s und skdubg
Danke! Neues ADB und Fastboot habe ich jetzt. Bootloader ist jetzt mit unlock_critical entsperrt.
Nächstes Problem. Das .bat-Skript findet die Dateien nicht...

2017-03-28 11_26_05-Aquaris_X5_Plus-bq-2.0.0.png
 
aTg!s schrieb:
Das .bat-Skript findet die Dateien nicht...Anhang anzeigen 559872
Führst du die Batch-Datei mit Admin-Rechten aus? Rechtsklick -> Als Administrator ausführen

Oder kopier mal den Ordner in ein Verzeichnis ohne Leerzeichen, z.B. nach D:\
"Eigene Dateien" ist öfter mal kritisch...
 
Das Verzeichnis hat kein leerzeichen: "E:\BQ_X5_Plus\Aquaris_X5_Plus-bq-2.0.0" auch direkt in die Wurzel von z.b. d:\ erscheint das gleiche ergebnis.
Rechtsklick und als Admin ausführen mache ich natürlich auch.
 
aTg!s schrieb:
Das Verzeichnis hat kein leerzeichen: "E:\BQ_X5_Plus\Aquaris_X5_Plus-bq-2.0.0" auch direkt in die Wurzel von z.b. d:\ erscheint das gleiche ergebnis.
Stimmt, hab ich falsch gesehen.

Die Meldung ganz oben "no devices/emulators found" finde ich seltsam. Andererseits scheinen die "erase" Befehle zu funktionieren.
Hast du mal den PC neugestartet?
 
unabhängig von Leerzeichen und Adminrechten, im cmd Fenster steht ganz oben no devices/emulators found

...ich war zu langsam :)
 

Ähnliche Themen

N
  • NCLBrownAle
Antworten
0
Aufrufe
103
NCLBrownAle
N
H
Antworten
6
Aufrufe
747
Haamid
H
A
Antworten
10
Aufrufe
582
mädschie
mädschie
Zurück
Oben Unten