Aggiunta risoluzione errore: flashing is not allowed for Critical Partitions

This commit is contained in:
piccihud 2024-02-18 18:07:13 +01:00
parent 94d46a8775
commit 68d78e212c
1 changed files with 57 additions and 31 deletions

View File

@ -254,39 +254,65 @@ Nel caso di errore:
- [https://techpiezo.com/linux/fastboot-error-mke2fs-failed-cannot-generate-image-for-userdata/](https://techpiezo.com/linux/fastboot-error-mke2fs-failed-cannot-generate-image-for-userdata/)
Nel caso si volessero lanciare i comandi manualmente:
Invece, se si ricevesse il seguente errore:
```bash
fastboot flash aop_a aop.img
fastboot flash aop_b aop.img
fastboot flash bluetooth_a bluetooth.img
fastboot flash bluetooth_b bluetooth.img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
fastboot flash fw_4j1ed_a fw_4j1ed.img
fastboot flash fw_4j1ed_b fw_4j1ed.img
fastboot flash fw_4u1ea_a fw_4u1ea.img
fastboot flash fw_4u1ea_b fw_4u1ea.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw_a qupfw.img
fastboot flash qupfw_b qupfw.img
fastboot flash storsec_a storsec.img
fastboot flash storsec_b storsec.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vbmeta_a vbmeta.img
fastboot flash vbmeta_b vbmeta.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash LOGO_a LOGO.img
fastboot flash LOGO_b LOGO.img
fastboot flash persist persist.img
> fastboot flash aop_a aop.img
Sending 'aop_a' (180 KB) OKAY [ 0.006s]
Writing 'aop_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed')
```
dare i seguenti comandi, semplicemente:
```bash
fastboot flashing unlock_critical
fastboot reboot
```
Nel caso si volesse eseguire uno script:
```bash
fastboot erase boot_a && \
fastboot erase boot_b && \
fastboot erase system_a && \
fastboot erase system_b && \
fastboot erase recovery && \
fastboot erase recovery_a && \
fastboot erase recovery_b && \
fastboot erase userdata && \
fastboot erase userdata_a && \
fastboot erase userdata_b && \
fastboot flash aop_a aop.img && \
fastboot flash aop_b aop.img && \
fastboot flash bluetooth_a bluetooth.img && \
fastboot flash bluetooth_b bluetooth.img && \
fastboot flash boot_a boot.img && \
fastboot flash boot_b boot.img && \
fastboot flash dsp_a dsp.img && \
fastboot flash dsp_b dsp.img && \
fastboot flash dtbo_a dtbo.img && \
fastboot flash dtbo_b dtbo.img && \
fastboot flash fw_4j1ed_a fw_4j1ed.img && \
fastboot flash fw_4j1ed_b fw_4j1ed.img && \
fastboot flash fw_4u1ea_a fw_4u1ea.img && \
fastboot flash fw_4u1ea_b fw_4u1ea.img && \
fastboot flash modem_a modem.img && \
fastboot flash modem_b modem.img && \
fastboot flash oem_stanvbk oem_stanvbk.img && \
fastboot flash qupfw_a qupfw.img && \
fastboot flash qupfw_b qupfw.img && \
fastboot flash storsec_a storsec.img && \
fastboot flash storsec_b storsec.img && \
fastboot flash system_a system.img && \
fastboot flash system_b system.img && \
fastboot flash vbmeta_a vbmeta.img && \
fastboot flash vbmeta_b vbmeta.img && \
fastboot flash vendor_a vendor.img && \
fastboot flash vendor_b vendor.img && \
fastboot flash LOGO_a LOGO.img && \
fastboot flash LOGO_b LOGO.img && \
fastboot flash persist persist.img && fastboot reboot
```
Maggiori informazioni: [https://xdaforums.com/t/rom-stock-fastboot-op6-stock-fastboot-roms-for-oneplus-6.3796665/](https://xdaforums.com/t/rom-stock-fastboot-op6-stock-fastboot-roms-for-oneplus-6.3796665/)