Error Writing 'system_a' - Xiaomi Mi A1 Questions & Answers

After i using treble, i can't up rom stock on mi a1.
I need some help
Below is an error when I use miflashtool
Code:
[14:28:04 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash system_a D:\tissot_images_7.8.23_7.1\images\system.img ||
[14:28:48 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[14:28:48 00b27ed70904]:info2:Sending sparse 'system_a' 1/6 (515483 KB)...
[14:28:48 00b27ed70904]:info2:eek:KAY [ 12.385s]
[14:28:48 00b27ed70904]:info2:Writing 'system_a' 1/6...
[14:28:48 00b27ed70904]:info2:FAILED (remote: size too large)
[14:28:48 00b27ed70904]:info2:Finished. Total time: 44.463s
[14:28:48 00b27ed70904]:info1:"Flash system_a error"
[14:28:49 00b27ed70904]:process exit id 8348 name cmd
[14:28:49 00b27ed70904]:error:FAILED (remote: size too large)
[14:28:49 00b27ed70904]:error:FAILED (remote: size too large)

Related

stuck while flashing recovery

says error (size too large)
Code:
C:\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 1073741824 bytes
sending 'recovery' (18828 KB)...
OKAY [ 0.608s]
writing 'recovery'...
FAILED (remote: size too large)
finished. total time: 0.625s
Did you tried with normal version :
https://dl.twrp.me/onyx/

Moto G5 Plus XT1685 bootloop after falshing

Guys i have problm in flashing my phone moto g5 plus XT1685
i didn't find the correct firmware to flash it , i find XT1681-XT1683
So the problem is before flashing my phone i got update from the system i update phone then i try to downgrade and i fail ...
i try to upgrade from version 7.0 to 7.1 using other firmware "XT1710-08_ALBUS_RETCN_7.1.1_NZS26.71-97-41_cid11_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip"
so i flashing it by cmd with 1 erreur the gpt.bin file but system didn't boot it stay in bootloop ....
here is the stap 1 :
+fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.007s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.085s
+fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.123s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.563s]
finished. total time: 0.691s
+fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (2163 KB)...
OKAY [ 0.057s]
writing 'logo'...
OKAY [ 0.078s]
finished. total time: 0.140s
+fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.391s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.321s]
finished. total time: 0.723s
+fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.482s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.424s]
finished. total time: 0.919s
+fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.367s]
writing 'dsp'...
OKAY [ 0.186s]
finished. total time: 0.567s
+fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (540 KB)...
OKAY [ 0.034s]
writing 'oem'...
OKAY [ 0.110s]
finished. total time: 0.153s
+fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (523949 KB)...
OKAY [ 11.582s]
writing 'system'...
OKAY [ 4.377s]
finished. total time: 15.974s
+fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (513455 KB)...
OKAY [ 11.304s]
writing 'system'...
OKAY [ 4.061s]
finished. total time: 15.377s
+fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (498532 KB)...
OKAY [ 10.994s]
writing 'system'...
OKAY [ 3.518s]
finished. total time: 14.523s
+fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (514493 KB)...
OKAY [ 11.340s]
writing 'system'...
OKAY [ 3.683s]
finished. total time: 127.939s
+fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (514690 KB)...
OKAY [ 11.333s]
writing 'system'...
OKAY [ 3.681s]
finished. total time: 15.026s
+fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (516519 KB)...
OKAY [ 11.398s]
writing 'system'...
OKAY [ 3.761s]
finished. total time: 15.170s
+fastboot flash system system.img_sparsechunk.6
target reported max download size of 536870912 bytes
sending 'system' (505615 KB)...
OKAY [ 11.126s]
writing 'system'...
OKAY [ 3.622s]
finished. total time: 14.761s
+fastboot flash system system.img_sparsechunk.7
target reported max download size of 536870912 bytes
sending 'system' (468359 KB)...
OKAY [ 10.347s]
writing 'system'...
OKAY [ 3.866s]
finished. total time: 14.228s
+fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (75244 KB)...
OKAY [ 1.675s]
writing 'modem'...
OKAY [ 0.668s]
finished. total time: 2.355s
+fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.037s]
finished. total time: 0.039s
+fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.053s]
finished. total time: 0.061s
+fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (880 KB)...
OKAY [ 0.047s]
writing 'fsg'...
OKAY [ 0.103s]
finished. total time: 0.165s
+fastboot erase cache
erasing 'cache'...
OKAY [ 0.030s]
finished. total time: 0.032s
+fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.072s]
finished. total time: 0.074s
+fastboot erase customize
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.037s
+fastboot erase clogo
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.022s
+fastboot oem fb_mode_clear
...
OKAY [ 0.006s]
finished. total time: 0.008s
+fastboot reboot
rebooting...
finished. total time: 0.007s
Click to expand...
Click to collapse
so after that i try to flash the firmware from the official site motorola
i download the latest one "NPN25.137-92_cid50" and when i falsh it here is what happen in step 2 :
Here the firmware step 2 :
+fastboot oem fb_mode_set
...
OKAY [ 0.005s]
finished. total time: 0.007s
+fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.081s
+fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.122s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.426s
+fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (2186 KB)...
OKAY [ 0.052s]
writing 'logo'...
OKAY [ 0.075s]
finished. total time: 0.133s
+fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.392s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.312s]
finished. total time: 0.708s
+fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.478s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.424s]
finished. total time: 0.907s
+fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.368s]
writing 'dsp'...
OKAY [ 0.178s]
finished. total time: 0.551s
fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (75646 KB)...
OKAY [ 1.658s]
writing 'oem'...
OKAY [ 0.627s]
finished. total time: 2.291s
+fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (509755 KB)...
OKAY [ 11.181s]
writing 'system'...
OKAY [ 4.218s]
finished. total time: 15.405s
+fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (508223 KB)...
OKAY [ 11.132s]
writing 'system'...
OKAY [ 4.205s]
finished. total time: 15.341s
+fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (523648 KB)...
OKAY [ 11.447s]
writing 'system'...
OKAY [ 3.799s]
finished. total time: 15.252s
+fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (500822 KB)...
OKAY [ 10.973s]
writing 'system'...
OKAY [ 3.867s]
finished. total time: 14.842s
+fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (433268 KB)...
OKAY [ 9.517s]
writing 'system'...
OKAY [ 3.425s]
finished. total time: 12.948s
+fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (74880 KB)...
OKAY [ 1.649s]
writing 'modem'...
OKAY [ 0.659s]
finished. total time: 2.316s
+fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.025s]
finished. total time: 0.027s
+fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.025s]
finished. total time: 0.026s
+fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (2528 KB)...
OKAY [ 0.060s]
writing 'fsg'...
OKAY [ 0.077s]
finished. total time: 0.142s
+fastboot erase cache
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.018s
+fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.050s]
finished. total time: 0.052s
+fastboot erase customize
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.010s
+fastboot erase clogo
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.008s
+fastboot oem fb_mode_clear
...
OKAY [ 0.146s]
finished. total time: 0.147s
Click to expand...
Click to collapse
Note that in stap 1 : bootloader.img of other frimwear are pass in falshing ... mean higth kernel then 7.0 is passed
but the 2 first step didn't pass in my stap 2 i donne
the phone stay in bootloop
i need to bypass the gpt.bin and bootloader.img to can back the phone work in normal ... if i'm wrong help me
is there way to break security ? or to edit the gpt.bin and bootloader.img to modify the xml files called "gpt.default.xml". , please help me ...
is there tool to extract .img and .bin files ???
i can't flash firmware to my phone correcte

Screen turned black while flashing image

Ok guys let me get to point fast!
I tried to flash 8.1 leaked beat build. connected my usb cable and executed flash_a_all.bat . There was inconsistency in connection my usb conected and disconnected for a moment and the bootloader turned all black.
No light on keys or from screen but vibrates when connection to computer or power + (vol +) or power + (vol-)
in my device manager, the phones is connnected as "Qualcomm HS-USB Diagnostics 900E"
this is how flashing ended
Please help me here guys !!!
HTML:
[HTML](bootloader) Device already : unlocked!
OKAY [ 0.030s]
finished. total time: 0.031s
target reported max download size of 534773760 bytes
sending 'modem_a' (86016 KB)...
OKAY [ 3.039s]
writing 'modem_a'...
OKAY [ 0.419s]
finished. total time: 3.459s
target reported max download size of 534773760 bytes
sending 'sbl1' (384 KB)...
OKAY [ 0.068s]
writing 'sbl1'...
OKAY [ 0.024s]
finished. total time: 0.094s
target reported max download size of 534773760 bytes
sending 'rpm' (172 KB)...
OKAY [ 0.038s]
writing 'rpm'...
OKAY [ 0.022s]
finished. total time: 0.063s
target reported max download size of 534773760 bytes
sending 'tz' (1516 KB)...
OKAY [ 0.088s]
writing 'tz'...
OKAY [ 0.028s]
finished. total time: 0.119s
target reported max download size of 534773760 bytes
sending 'devcfg' (40 KB)...
OKAY [ 0.039s]
writing 'devcfg'...
OKAY [ 0.023s]
finished. total time: 0.062s
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.590s]
writing 'dsp'...
FAILED (remote: check crc failed)
finished. total time: 0.806s
target reported max download size of 534773760 bytes
sending 'aboot' (584 KB)...
OKAY [ 0.047s]
writing 'aboot'...
FAILED (remote: check crc failed)
finished. total time: 0.079s
target reported max download size of 534773760 bytes
sending 'boot_a' (14880 KB)...
OKAY [ 0.540s]
writing 'boot_a'...
FAILED (remote: check crc failed)
finished. total time: 0.736s
target reported max download size of 534773760 bytes
Invalid sparse file format at header magic
sending sparse 'system_a' 1/6 (515622 KB)...
OKAY [ 17.525s]
writing 'system_a' 1/6...
OKAY [ 9.171s]
sending sparse 'system_a' 2/6 (510059 KB)...
OKAY [ 17.378s]
writing 'system_a' 2/6...
OKAY [ 9.401s]
sending sparse 'system_a' 3/6 (518707 KB)...
OKAY [ 17.880s]
writing 'system_a' 3/6...
OKAY [ 20.688s]
sending sparse 'system_a' 4/6 (481011 KB)...
OKAY [ 16.422s]
writing 'system_a' 4/6...
OKAY [ 8.830s]
sending sparse 'system_a' 5/6 (521581 KB)...
OKAY [ 17.874s]
writing 'system_a' 5/6...
OKAY [ 9.791s]
sending sparse 'system_a' 6/6 (308870 KB)...
OKAY [ 10.707s]
writing 'system_a' 6/6...
FAILED (status read failed (Too many links))
finished. total time: 156.759s
target didn't report max-download-size
sending 'lksecapp' (60 KB)...
FAILED (command write failed (No error))
finished. total time: 0.006s
target didn't report max-download-size
sending 'cmnlib' (204 KB)...
FAILED (command write failed (No error))
finished. total time: 0.003s
target didn't report max-download-size
sending 'cmnlib64' (256 KB)...
FAILED (command write failed (No error))
finished. total time: -0.000s
target didn't report max-download-size
sending 'keymaster' (224 KB)...
FAILED (command write failed (No error))
finished. total time: 0.000s
error: Device does not support slots
...
FAILED (command write failed (No error))
finished. total time: 0.004s
< waiting for any device >
rebooting...
finished. total time: 0.016s
Press any key to exit...
[/HTML]

Y6II Cam-L23 Bricked, Huawei usb com 1.0

hi,
i already posted this, 3 days ago in another root thread,
a friend of mine tried to flash his phone after bootloader unlocked ok, but after the flash phone bricked, and ask me for help, now I'm asking as well,
tried:
IMAGE Download Software - IDTML01Ver1001 and CAML00LMAA001063_Board_Software_null_null_Android_ 6.0_EMUI_4.1_05021XEW, it always gives error but it seems to flash the fastboot at least, so the phone from: huawei usb com 1.0 goes to fastboot, so in adb i try:
C:\SDK\platform-tools>fastboot flash system system.img
target reported max download size of 471859200 bytes
sending sparse 'system' 1/6 (455490 KB)...
OKAY [ 62.178s]
writing 'system' 1/6...
OKAY [ 30.954s]
sending sparse 'system' 2/6 (447920 KB)...
OKAY [ 25.925s]
writing 'system' 2/6...
OKAY [ 30.355s]
sending sparse 'system' 3/6 (460685 KB)...
OKAY [ 20.218s]
writing 'system' 3/6...
OKAY [ 31.334s]
sending sparse 'system' 4/6 (454527 KB)...
OKAY [ 19.641s]
writing 'system' 4/6...
OKAY [ 30.797s]
sending sparse 'system' 5/6 (458441 KB)...
OKAY [ 19.465s]
writing 'system' 5/6...
OKAY [ 30.925s]
sending sparse 'system' 6/6 (20484 KB)...
OKAY [ 0.859s]
writing 'system' 6/6...
OKAY [ 1.406s]
finished. total time: 304.135s
C:\SDK\platform-tools>fastboot flash cust cust.img
target reported max download size of 471859200 bytes
sending 'cust' (253973 KB)...
OKAY [ 10.453s]
writing 'cust'...
OKAY [ 17.159s]
finished. total time: 27.612s
C:\SDK\platform-tools>fastboot flash userdata userdata.img
target reported max download size of 471859200 bytes
sending 'userdata' (44124 KB)...
OKAY [ 1.770s]
writing 'userdata'...
OKAY [ 3.053s]
finished. total time: 4.838s
C:\SDK\platform-tools>fastboot flash boot boot.img
target reported max download size of 471859200 bytes
sending 'boot' (23514 KB)...
OKAY [ 1.188s]
writing 'boot'...
FAILED (remote: flash write prim vrl failure)
finished. total time: 1.531s
C:\SDK\platform-tools>fastboot flash fastboot1 fastboot.img
target reported max download size of 471859200 bytes
sending 'fastboot1' (2194 KB)...
OKAY [ 0.141s]
writing 'fastboot1'...
FAILED (remote: image verification error)
finished. total time: 0.188s
C:\SDK\platform-tools>fastboot flash fastboot2 fastboot.img
target reported max download size of 471859200 bytes
sending 'fastboot2' (2194 KB)...
OKAY [ 0.063s]
writing 'fastboot2'...
FAILED (remote: partition does not exist)
finished. total time: 0.078s
C:\SDK\platform-tools>fastboot flash fastboot fastboot.img
target reported max download size of 471859200 bytes
sending 'fastboot' (2194 KB)...
OKAY [ 0.062s]
writing 'fastboot'...
FAILED (remote: flash write prim vrl failure)
finished. total time: 0.156s
C:\SDK\platform-tools>fastboot flash cache cache.img
target reported max download size of 471859200 bytes
sending 'cache' (6248 KB)...
OKAY [ 0.312s]
writing 'cache'...
OKAY [ 0.453s]
finished. total time: 0.766s
C:\SDK\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (37966 KB)...
OKAY [ 1.531s]
writing 'recovery'...
FAILED (remote: flash write prim vrl failure)
finished. total time: 2.031s
--------------------------------------------------------------------------------------------------
so I'm able to flash successfully
system, cust, cache and userdata
but not able:
recovery, fastboot or boot, and after i fastboot reboot,
again only red and green led and huawei usb com 1.0, to start again
thank you very much indeed, for any guide or help, or maybe a cam-l23 board software to try
Hi!
What software do you use?
I hard brico my P8 Lite ALE...
I download rom form Huawei finder and came a wrong one... -.-
So PC only see him as HUAWEI USB COM 1.0.
Your have a similar software, maybe we can hel each other!
Thanks.
hi
persona78 said:
Hi!
What software do you use?
I hard brico my P8 Lite ALE...
I download rom form Huawei finder and came a wrong one... -.-
So PC only see him as HUAWEI USB COM 1.0.
Your have a similar software, maybe we can hel each other!
Thanks.
Click to expand...
Click to collapse
you should try to find:
***IMAGE Download Software*** - IDTML01Ver1001 and CAML00LMAA001063_***Board_Software_null_null_Android***_ 6.0_EMUI_4.1_05021XEW
for your model
thanks to you, for your attention
atv said:
you should try to find:
***IMAGE Download Software*** - IDTML01Ver1001 and CAML00LMAA001063_***Board_Software_null_null_Android***_ 6.0_EMUI_4.1_05021XEW
for your model
thanks to you, for your attention
Click to expand...
Click to collapse
Hi!
Can you provid me that files and a litle tut how to use it?
.
On fastboot, can you unlock bootloader?
-
alguien con el board software

Brick - Please Help me ! PRA LX1 C432

Hi all
My phone is in bootloop since many day. I was on Lineage 18.1 with deezer and google maps installed (only theses 2 apps)
After turning off (for the first time) because there was no battery left. It never restarted
And even worse, the erecoevery is no longer accessible, the TWRP is broken ..
I only have access to Fastboot.
I tested flashing a TWRP or booting on a TWRP via fastboot command ... Impossible. It crashes before splash to the TWRP. (which appears an half second)
I tested hisuite which recognizes my phone in fastboot but does not recognize the model and refuses to restore a system: "device not supported"
I am trying to flash a complete system (via command terminal or via ZRK tool) = impossible to reboot
Bellow the result of my commands
Does anyone have a suggestion for me ?
Code:
./fastboot erase system -w
Erasing 'system' OKAY [ 75.573s]
Finished. Total time: 75.632s
./fastboot flash cache CACHE.img
Sending 'cache' (6200 KB) OKAY [ 0.175s]
Writing 'cache' OKAY [ 0.176s]
Finished. Total time: 0.379s
./fastboot flash crc CRC.img
Sending 'crc' (235 KB) OKAY [ 0.013s]
Writing 'crc' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash curver CURVER.img
Sending 'curver' (0 KB) OKAY [ 0.007s]
Writing 'curver' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash dts DTS.img
Sending 'dts' (23678 KB) OKAY [ 0.679s]
Writing 'dts' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash efi EFI.img
Sending 'efi' (17 KB) OKAY [ 0.007s]
Writing 'efi' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash kernel KERNEL.img
Sending 'kernel' (24576 KB) OKAY [ 0.698s]
Writing 'kernel' OKAY [ 0.865s]
Finished. Total time: 1.590s
./fastboot flash modem_fw MODEM_FW.img
Sending 'modem_fw' (98304 KB) OKAY [ 2.745s]
Writing 'modem_fw' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash modemnvm_update MODEMNVM_UPDATE.img
Sending 'modemnvm_update' (14224 KB) OKAY [ 0.396s]
Writing 'modemnvm_update' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash odm ODM.img
Sending 'odm' (109702 KB) OKAY [ 3.108s]
Writing 'odm' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash package_type PACKAGE_TYPE.img
Sending 'package_type' (0 KB) OKAY [ 0.007s]
Writing 'package_type' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash product PRODUCT.img
Sending 'product' (113532 KB) OKAY [ 3.186s]
Writing 'product' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash ramdisk RAMDISK.img
Sending 'ramdisk' (16384 KB) OKAY [ 0.464s]
Writing 'ramdisk' OKAY [ 0.398s]
Finished. Total time: 0.890s
./fastboot flash recovery_ramdisk RECOVERY_RAMDISK.img
Sending 'recovery_ramdisk' (32768 KB) OKAY [ 0.930s]
Writing 'recovery_ramdisk' OKAY [ 0.800s]
Finished. Total time: 1.760s
./fastboot flash recovery_vbmeta RECOVERY_VBMETA.img
Sending 'recovery_vbmeta' (6 KB) OKAY [ 0.007s]
Writing 'recovery_vbmeta' OKAY [ 0.030s]
Finished. Total time: 0.067s
./fastboot flash recovery_vendor RECOVERY_VENDOR.img
Sending 'recovery_vendor' (16384 KB) OKAY [ 0.464s]
Writing 'recovery_vendor' OKAY [ 0.401s]
Finished. Total time: 0.896s
./fastboot flash sensorhub SENSORHUB.img
Sending 'sensorhub' (820 KB) OKAY [ 0.027s]
Writing 'sensorhub' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash system SYSTEM.img
Sending sparse 'system' 1/6 (460799 KB) OKAY [ 13.234s]
Writing 'system' OKAY [ 12.118s]
Sending sparse 'system' 2/6 (460074 KB) OKAY [ 13.597s]
Writing 'system' OKAY [ 12.556s]
Sending sparse 'system' 3/6 (460751 KB) OKAY [ 13.416s]
Writing 'system' OKAY [ 11.778s]
Sending sparse 'system' 4/6 (453466 KB) OKAY [ 13.196s]
Writing 'system' OKAY [ 11.609s]
Sending sparse 'system' 5/6 (454756 KB) OKAY [ 12.975s]
Writing 'system' OKAY [ 11.150s]
Sending sparse 'system' 6/6 (418060 KB) OKAY [ 11.904s]
Writing 'system' OKAY [ 10.762s]
Finished. Total time: 148.684s
./fastboot flash teeos TEEOS.img
Sending 'teeos' (2576 KB) OKAY [ 0.075s]
Writing 'teeos' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash trustfirmware TRUSTFIRMWARE.img
Sending 'trustfirmware' (115 KB) OKAY [ 0.010s]
Writing 'trustfirmware' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash vbmeta VBMETA.img
Sending 'vbmeta' (9 KB) OKAY [ 0.007s]
Writing 'vbmeta' OKAY [ 0.027s]
Finished. Total time: 0.060s
./fastboot flash vendor VENDOR.img
Sending sparse 'vendor' 1/2 (460710 KB) OKAY [ 13.273s]
Writing 'vendor' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash verlist VERLIST.img
Sending 'verlist' (0 KB) OKAY [ 0.007s]
Writing 'verlist' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash xloader XLOADER.img
Sending 'xloader' (68 KB) OKAY [ 0.008s]
Writing 'xloader' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
naced said:
Hi all
My phone is in bootloop since many day. I was on Lineage 18.1 with deezer and google maps installed (only theses 2 apps)
After turning off (for the first time) because there was no battery left. It never restarted
And even worse, the erecoevery is no longer accessible, the TWRP is broken ..
I only have access to Fastboot.
I tested flashing a TWRP or booting on a TWRP via fastboot command ... Impossible. It crashes before splash to the TWRP. (which appears an half second)
I tested hisuite which recognizes my phone in fastboot but does not recognize the model and refuses to restore a system: "device not supported"
I am trying to flash a complete system (via command terminal or via ZRK tool) = impossible to reboot
Bellow the result of my commands
Does anyone have a suggestion for me ?
Code:
./fastboot erase system -w
Erasing 'system' OKAY [ 75.573s]
Finished. Total time: 75.632s
./fastboot flash cache CACHE.img
Sending 'cache' (6200 KB) OKAY [ 0.175s]
Writing 'cache' OKAY [ 0.176s]
Finished. Total time: 0.379s
./fastboot flash crc CRC.img
Sending 'crc' (235 KB) OKAY [ 0.013s]
Writing 'crc' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash curver CURVER.img
Sending 'curver' (0 KB) OKAY [ 0.007s]
Writing 'curver' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash dts DTS.img
Sending 'dts' (23678 KB) OKAY [ 0.679s]
Writing 'dts' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash efi EFI.img
Sending 'efi' (17 KB) OKAY [ 0.007s]
Writing 'efi' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash kernel KERNEL.img
Sending 'kernel' (24576 KB) OKAY [ 0.698s]
Writing 'kernel' OKAY [ 0.865s]
Finished. Total time: 1.590s
./fastboot flash modem_fw MODEM_FW.img
Sending 'modem_fw' (98304 KB) OKAY [ 2.745s]
Writing 'modem_fw' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash modemnvm_update MODEMNVM_UPDATE.img
Sending 'modemnvm_update' (14224 KB) OKAY [ 0.396s]
Writing 'modemnvm_update' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash odm ODM.img
Sending 'odm' (109702 KB) OKAY [ 3.108s]
Writing 'odm' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash package_type PACKAGE_TYPE.img
Sending 'package_type' (0 KB) OKAY [ 0.007s]
Writing 'package_type' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash product PRODUCT.img
Sending 'product' (113532 KB) OKAY [ 3.186s]
Writing 'product' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash ramdisk RAMDISK.img
Sending 'ramdisk' (16384 KB) OKAY [ 0.464s]
Writing 'ramdisk' OKAY [ 0.398s]
Finished. Total time: 0.890s
./fastboot flash recovery_ramdisk RECOVERY_RAMDISK.img
Sending 'recovery_ramdisk' (32768 KB) OKAY [ 0.930s]
Writing 'recovery_ramdisk' OKAY [ 0.800s]
Finished. Total time: 1.760s
./fastboot flash recovery_vbmeta RECOVERY_VBMETA.img
Sending 'recovery_vbmeta' (6 KB) OKAY [ 0.007s]
Writing 'recovery_vbmeta' OKAY [ 0.030s]
Finished. Total time: 0.067s
./fastboot flash recovery_vendor RECOVERY_VENDOR.img
Sending 'recovery_vendor' (16384 KB) OKAY [ 0.464s]
Writing 'recovery_vendor' OKAY [ 0.401s]
Finished. Total time: 0.896s
./fastboot flash sensorhub SENSORHUB.img
Sending 'sensorhub' (820 KB) OKAY [ 0.027s]
Writing 'sensorhub' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash system SYSTEM.img
Sending sparse 'system' 1/6 (460799 KB) OKAY [ 13.234s]
Writing 'system' OKAY [ 12.118s]
Sending sparse 'system' 2/6 (460074 KB) OKAY [ 13.597s]
Writing 'system' OKAY [ 12.556s]
Sending sparse 'system' 3/6 (460751 KB) OKAY [ 13.416s]
Writing 'system' OKAY [ 11.778s]
Sending sparse 'system' 4/6 (453466 KB) OKAY [ 13.196s]
Writing 'system' OKAY [ 11.609s]
Sending sparse 'system' 5/6 (454756 KB) OKAY [ 12.975s]
Writing 'system' OKAY [ 11.150s]
Sending sparse 'system' 6/6 (418060 KB) OKAY [ 11.904s]
Writing 'system' OKAY [ 10.762s]
Finished. Total time: 148.684s
./fastboot flash teeos TEEOS.img
Sending 'teeos' (2576 KB) OKAY [ 0.075s]
Writing 'teeos' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash trustfirmware TRUSTFIRMWARE.img
Sending 'trustfirmware' (115 KB) OKAY [ 0.010s]
Writing 'trustfirmware' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash vbmeta VBMETA.img
Sending 'vbmeta' (9 KB) OKAY [ 0.007s]
Writing 'vbmeta' OKAY [ 0.027s]
Finished. Total time: 0.060s
./fastboot flash vendor VENDOR.img
Sending sparse 'vendor' 1/2 (460710 KB) OKAY [ 13.273s]
Writing 'vendor' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash verlist VERLIST.img
Sending 'verlist' (0 KB) OKAY [ 0.007s]
Writing 'verlist' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash xloader XLOADER.img
Sending 'xloader' (68 KB) OKAY [ 0.008s]
Writing 'xloader' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
Click to expand...
Click to collapse
Hi...
you write that you flashed a TWRP via fastboot and then try to reboot from fastboot mode to TWRP recovery right?
But there is no command to reboot from fastboot directly to recovery like fastboot reboot-recovery or some thing else!
you just can use the command fastboot reboot
then instant unplug the usb-cable and press/hold Vol+ button
i repeat...
fastboot reboot-->enter
unplug the usb cable
press and hold Vol+ button (just the 1 button Vol+ nothing more needet)
good luck
solong
speedson

Categories

Resources