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/) - [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 ```bash
fastboot flash aop_a aop.img > fastboot flash aop_a aop.img
fastboot flash aop_b aop.img Sending 'aop_a' (180 KB) OKAY [ 0.006s]
fastboot flash bluetooth_a bluetooth.img Writing 'aop_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
fastboot flash bluetooth_b bluetooth.img ')
fastboot flash boot_a boot.img fastboot: error: Command failed')
fastboot flash boot_b boot.img ```
fastboot flash dsp_a dsp.img dare i seguenti comandi, semplicemente:
fastboot flash dsp_b dsp.img
fastboot flash dtbo_a dtbo.img ```bash
fastboot flash dtbo_b dtbo.img fastboot flashing unlock_critical
fastboot flash fw_4j1ed_a fw_4j1ed.img fastboot reboot
fastboot flash fw_4j1ed_b fw_4j1ed.img ```
fastboot flash fw_4u1ea_a fw_4u1ea.img
fastboot flash fw_4u1ea_b fw_4u1ea.img Nel caso si volesse eseguire uno script:
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img ```bash
fastboot flash oem_stanvbk oem_stanvbk.img fastboot erase boot_a && \
fastboot flash qupfw_a qupfw.img fastboot erase boot_b && \
fastboot flash qupfw_b qupfw.img fastboot erase system_a && \
fastboot flash storsec_a storsec.img fastboot erase system_b && \
fastboot flash storsec_b storsec.img fastboot erase recovery && \
fastboot flash system_a system.img fastboot erase recovery_a && \
fastboot flash system_b system.img fastboot erase recovery_b && \
fastboot flash vbmeta_a vbmeta.img fastboot erase userdata && \
fastboot flash vbmeta_b vbmeta.img fastboot erase userdata_a && \
fastboot flash vendor_a vendor.img fastboot erase userdata_b && \
fastboot flash vendor_b vendor.img fastboot flash aop_a aop.img && \
fastboot flash LOGO_a LOGO.img fastboot flash aop_b aop.img && \
fastboot flash LOGO_b LOGO.img fastboot flash bluetooth_a bluetooth.img && \
fastboot flash persist persist.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/) 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/)