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/
First of all, I don't speak English so good xd.
My Moto G4 was bricked and I made a blankflash, now when I start my phone I see this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And when I press start I see this:
I tryied to install the stock firmware, but don't work, It says FAILED: (remote failure).
Code:
Microsoft Windows [Versión 10.0.16299.19]
(c) 2017 Microsoft Corporation. Todos los derechos reservados.
C:\Users\Alex>cd C:\Users\Alex\Desktop\Herramientas ADB\platform-tools
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot devices
68fc4fcb fastboot
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.056s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.109s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Invalid partition name aboot
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.219s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1848 KB)...
OKAY [ 0.063s]
writing 'logo'...
(bootloader) Invalid partition name logo
FAILED (remote failure)
finished. total time: 0.078s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.525s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 0.525s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.516s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.531s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.516s]
writing 'dsp'...
(bootloader) Invalid partition name dsp
FAILED (remote failure)
finished. total time: 0.516s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (124713 KB)...
OKAY [ 3.920s]
writing 'oem'...
(bootloader) Invalid partition name oem
FAILED (remote failure)
finished. total time: 3.936s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (257278 KB)...
OKAY [ 8.100s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.109s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (258607 KB)...
OKAY [ 8.174s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.186s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (258384 KB)...
OKAY [ 8.120s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.120s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (252313 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.389s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
< waiting for device >
target reported max download size of 536870912 bytes
sending 'system' (254404 KB)...
OKAY [ 7.993s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 7.993s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (258060 KB)...
OKAY [ 8.787s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.839s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.6
target reported max download size of 536870912 bytes
sending 'system' (257177 KB)...
OKAY [ 8.290s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.298s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.7
target reported max download size of 536870912 bytes
sending 'system' (155122 KB)...
OKAY [ 4.903s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 4.911s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (76857 KB)...
OKAY [ 2.418s]
writing 'modem'...
(bootloader) Invalid partition name modem
FAILED (remote failure)
finished. total time: 2.425s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.007s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase modemst2
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.007s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (1864 KB)...
OKAY [ 0.063s]
writing 'fsg'...
(bootloader) Invalid partition name fsg
FAILED (remote failure)
finished. total time: 0.070s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.006s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.018s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase customize
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.000s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase clogo
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.017s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot oem fb_mode_clear
...
FAILED (remote failure)
finished. total time: 0.007s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot reboot
rebooting...
finished. total time: 0.016s
What I can do?
Thanks.
Zalyx said:
First of all, I don't speak English so good xd.
My Moto G4 was bricked and I made a blankflash, now when I start my phone I see this:
And when I press start I see this:
I tryied to install the stock firmware, but don't work, It says FAILED: (remote failure).
Code:
Microsoft Windows [Versión 10.0.16299.19]
(c) 2017 Microsoft Corporation. Todos los derechos reservados.
C:\Users\Alex>cd C:\Users\Alex\Desktop\Herramientas ADB\platform-tools
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot devices
68fc4fcb fastboot
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.056s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.109s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Invalid partition name aboot
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.219s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1848 KB)...
OKAY [ 0.063s]
writing 'logo'...
(bootloader) Invalid partition name logo
FAILED (remote failure)
finished. total time: 0.078s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.525s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 0.525s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.516s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.531s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.516s]
writing 'dsp'...
(bootloader) Invalid partition name dsp
FAILED (remote failure)
finished. total time: 0.516s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (124713 KB)...
OKAY [ 3.920s]
writing 'oem'...
(bootloader) Invalid partition name oem
FAILED (remote failure)
finished. total time: 3.936s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (257278 KB)...
OKAY [ 8.100s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.109s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (258607 KB)...
OKAY [ 8.174s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.186s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (258384 KB)...
OKAY [ 8.120s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.120s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (252313 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.389s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
< waiting for device >
target reported max download size of 536870912 bytes
sending 'system' (254404 KB)...
OKAY [ 7.993s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 7.993s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (258060 KB)...
OKAY [ 8.787s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.839s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.6
target reported max download size of 536870912 bytes
sending 'system' (257177 KB)...
OKAY [ 8.290s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 8.298s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.7
target reported max download size of 536870912 bytes
sending 'system' (155122 KB)...
OKAY [ 4.903s]
writing 'system'...
(bootloader) Invalid partition name system
FAILED (remote failure)
finished. total time: 4.911s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (76857 KB)...
OKAY [ 2.418s]
writing 'modem'...
(bootloader) Invalid partition name modem
FAILED (remote failure)
finished. total time: 2.425s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.007s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase modemst2
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.007s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (1864 KB)...
OKAY [ 0.063s]
writing 'fsg'...
(bootloader) Invalid partition name fsg
FAILED (remote failure)
finished. total time: 0.070s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.006s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.018s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase customize
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.000s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot erase clogo
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.017s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot oem fb_mode_clear
...
FAILED (remote failure)
finished. total time: 0.007s
C:\Users\Alex\Desktop\Herramientas ADB\platform-tools>fastboot reboot
rebooting...
finished. total time: 0.016s
What I can do?
Thanks.
Click to expand...
Click to collapse
I have the same issue .. did you solved this???
Have u unlocked your bootloader?
I also have this same problem , can someone please help. I m very new to all this. Th
Please help.
---------- Post added at 07:46 PM ---------- Previous post was at 07:41 PM ----------
please help me too. i m also getting this same error.
pratikbanka1 said:
Please help.
---------- Post added at 07:46 PM ---------- Previous post was at 07:41 PM ----------
please help me too. i m also getting this same error.
Click to expand...
Click to collapse
You have to downlaod correct firmware file .. i personally flashed a firmware of moto g4 plus to pass this stage and it worked...
I'm having literally the exact same issue after installing the latest nightly build of LineageOS 14.
asingh470 said:
You have to downlaod correct firmware file .. i personally flashed a firmware of moto g4 plus to pass this stage and it worked...
Click to expand...
Click to collapse
Could you perhaps link us where you got that ROM? I've tried quite a few without success. I'd kinda pretty much do anything right now to get my device back up and running again.
download and flash your g4 with the instructions and files in the post:
https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
I did the flash for my G4 (xt1622) recently and it worked flawlessly although it's posted in G4 PLUS forums.
same issue for me... pls help...
same issue for me... pls help...
yogesh m said:
same issue for me... pls help...
Click to expand...
Click to collapse
You have to download correct firmware file, there is no other option . I am using Xda after a long time
Alguien encontró la solución? Me pasa lo mismo en un moto g4 play xt1607
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
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)
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