Error in platform - General Questions and Answers

When me flash system.img than this error show
Invaild sparse file format at header magic

Do a Google search for "Invaild sparse file format at header magic": hundreds of results will be shown.

Related

I can't install ROM on my HTC One S device

Hi all,
I'm trying to install a ROM that I built on my device, but what I did it didn't work.
I downloaded RUU (exe) file, extracted it, found the file rom.zip, and extracted the file system.img from this zip.
When I try with fastboot (fastboot flash system system.img) I get the error:
sending 'system' (1048572 KB)...
FAILED (remote: data length is too large)
finished. total time: 0.007s
When I build update.zip with dsixda kitchen, put it in /sdcard, and go to receovery, I get various errors.
What can I do?

[Q] Device not unlocked cannot flash or erase)

Hello there i had problem with my oneplus one the support send me a
We prepared an Automated batch file which will fix your issue automatically, all you need to do is to download the zip file from the link below and extract it, after extracting please open the "README !!!!!.pdf" and follow the instructions.
PLEASE NOTE :- IT WILL DELETE ALL YOUR PHONE'S DATA> PLEASE BACK UP YOUR PHONE'S DATA
This should resolve your issue.
but i have try the setup as the support writ to me 10 times but i am getting all times errors
######### This patch is Created by ONEPLUS Technical Support. #######
###### This patch should only be used for ONEPLUS ONE 64GB Global Version. #####
#
...
OKAY [ 0.020s]
finished. total time: 0.021s
< waiting for device >
erasing 'persist'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 4.901s
error: cannot load 'persist.img'
erasing 'reserve4'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.010s
error: cannot load 'reserve4.img'
error: cannot load 'boot.img'
error: cannot load 'userdata_64g.img'
error: cannot load 'system.img'
error: cannot load 'recovery.img'
error: cannot load 'cache.img'
error: cannot load 'NON-HLOS.bin'
error: cannot load 'sbl1.mbn'
error: cannot load 'sdi.mbn'
error: cannot load 'emmc_appsboot.mbn'
error: cannot load 'rpm.mbn'
error: cannot load 'tz.mbn'
error: cannot load 'logo.bin'
ihop some of you can help me
i have mailed oneplus one support no answer
What was the problem you were having in the first place please?
Transmitted via Bacon
To run that all-in-one batch FIX file released by OnePlus you need to unlock your bootloader FIRST then run that batch file(s). Put your device in bootloader mode and run fastboot oem unlock (This wipes you device)
Now put it in bootloader mode again and run the 3 batch files contained within that .zip file.
Edit: I see the second file actually does unlock your bootloader, have you run the files in the correct sequence e.g. ONEPLUS ONE - 0.bat then ONEPLUS ONE - 1.bat then ONEPLUS ONE - 2.bat with your device in bootloader mode ?

LG-P505R stuck in Fastboot mode

Hi all.
I somehow managed to get my LG-P505R in what I believe to be a soft-bricked state.
I can access fastboot mode as well as emergency mode. I have tried to flash the stock kdz file following probably just about all guides I could locate here. I have also tried to flash recovery.img (clockworkmod image also), boot.img and system.mbn via fastboot but am still unable to boot into either system or recovery. I have all of the .mbn files extracted from the original kdz file and I would like to try to flash them through fastboot. My issue is that I do not know which mbn file goes to which partition. I also am not too sure of the exact partition names to flash.
I have tried the obvious ones like, fastboot flash amss amss.mbn. The result is
sending 'partition' (0 KB)...
OKAY [ 0.046s]
writing 'partition'...
FAILED (remote: unknown partition name)
finished. total time: 0.096s
same result with all except for recovery, boot, system and splash.
Here is a list of the files extracted from kdz if the info can help.
amss.mbn
amsshd.mbn
appsboot.mbn
appsboothd.mbn
boot.img
oemsbl.mbn
oemsblhd.mbn
partition.mbn
qcsbl.mbn
qcsblhd_cfgdata.mbn
recovery.img
splash.img
system.mbn
the system.mbn is originally extracted in 3 different files, system.mbn.0, system.mbn.1 and system.mbn.2
Does anyone have any insight on how I might be able to recover?

OnePlus 6 stuck in bootloader

At this point, I just need to get my phone working again. I don't care if it is stock, but right now, I cannot get out of bootloader. Most everything I try to do with fastboot fails....
Code:
$ fastboot devices
b6f10fbb fastboot
$ fastboot boot OnePlus6Oxygen_22_OTA_010_all_1806070151_boot.img
downloading 'boot.img'...
OKAY [ 1.998s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 2.012s
$ fastboot flash boot OnePlus6Oxygen_22_OTA_010_all_1806070151_boot.img
target reported max download size of 805306368 bytes
sending 'boot_a' (65536 KB)...
OKAY [ 2.051s]
writing 'boot_a'...
OKAY [ 0.307s]
finished. total time: 2.358s
$ fastboot -w
wiping userdata...
mke2fs 1.45.5 (07-Jan-2020)
Warning: RAID stripe-width 1 not an even multiple of stride 2.
/tmp/TemporaryFile-a9OdTu: Unimplemented ext2 library function while setting up superblock
/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for userdata
pwd: /library/phone tools/10.3.0-OnePlus6Oxygen_22_OTA_042_all_1912142031_0fb330-fastboot
$ fastboot -w update images.zip
< waiting for any device >
extracting android-info.txt (0 MB)...
extracting boot.img (64 MB)...
target reported max download size of 805306368 bytes
archive does not contain 'boot.sig'
archive does not contain 'boot_other.img'
extracting dtbo.img (8 MB)...
archive does not contain 'dtbo.sig'
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
extracting system.img (2860 MB)...
Invalid sparse file format at header magic
archive does not contain 'system.sig'
archive does not contain 'system_other.img'
extracting vbmeta.img (0 MB)...
archive does not contain 'vbmeta.sig'
extracting vendor.img (1024 MB)...
Invalid sparse file format at header magic
archive does not contain 'vendor.sig'
archive does not contain 'vendor_other.img'
wiping userdata...
mke2fs 1.45.5 (07-Jan-2020)
Warning: RAID stripe-width 1 not an even multiple of stride 2.
/tmp/TemporaryFile-7kXuEc: Unimplemented ext2 library function while setting up superblock
/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for userdata
I have a bunch of tools downloaded.
OS is Ubuntu 20.04. I do not have ready access to Windows.
u need msmflashtool on windown to fix it easy, if it not worked for you just send me msg on telegram
@NotReal0
( i dont need your money )

HOW TO SOLVE THIS

invalid sparse file format at header magic
[SOLVED] Invalid sparse file format at header magic
can someone help me, got this error when I flash GSI on fastbootD C:\adb2>fastboot flash system sys.img Invalid sparse file format at header magic after the flash continue, I reboot on BL, wipe data, reboot and go directly on standard...
forum.xda-developers.com

Categories

Resources