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?
Related
Hello Modders,
I wiped all my data with TeamWin Recovery under advanced wipe.
(Dalvik Cache; System; Data; Internal Storage, Cache)
When I tried to install Cyanogenmod it told me the Bootloader is not unlocked.
Of course it should be unlocked. I unlocked it without any errors.
Code:
C:\OPO\XNPH38R\rom>fastboot oem unlock
...
OKAY [ 0.005s]
finished. total time: 0.006s
And yes, I was in fastboot Mode. All drivers were installed.
Code:
C:\OPO\XNPH38R\rom>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (5578 KB)...
OKAY [ 0.180s]
writing 'boot'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.185s
Any ideas?
best regards,
ExXxO
The solution was easier than expected.
HowTo:
Get the OnePlusOne-BootUnlocker.zip from this Thread
Download a working ADB.exe with drivers to flash the zip later. (Both need to be in the same folder, the exe and zip)
Open CMD.exe and tell your computer to navigate to the folder where the ADB.exe is located, example > "cd C:/OPO/ADB.exe"
Go into your Recovery with the OnePlus One and connect it to the PC.
Flash the Zip on the OnePlus with the command > "adb push OnePlusOne-BootUnlocker.zip /sdcard"
In the Recovery just install the the zip.
Finished. > If you don't have a Costum Recovery Installed follow this tutorial
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?
I am in a boot loop like when at blue honor logo like and goes back to your device is unlocked. I try to install img the update.zip and...Full SELinux support is present.
MTP Enabled
Installing zip file 'external_sd/update.zip'
Checking for MD5 files...
Skipping MD5 check: no MD5 file found
Removing uneeded files...
Patching system files...
Removing empty directorys...
Unpacking new files...
add link type file...
write radio image...
32K crc checked failure
E: unknown command [errno]
E: unknown command [errno]
update_huawei_pkg_from_ota_zip: update package from
zip failed
Updater process ended with ERROR: 7
Error installing zip file '/external_sd/update.zip'
Updating partion details...
Failed to mount '/system' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Failed to mount '/product' (Invalid argument)
...doneSo what do I do to get it to work again? I have access to erecovery and twrp and fastboot and adb.
This is if I try to flash stock,
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery boot.img
target reported max download size of 471859200 bytes
sending 'recovery' (15462 KB)...
OKAY [ 0.390s]
writing 'recovery'...
OKAY [ 0.221s]
finished. total time: 0.617s
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery cust.img
target reported max download size of 471859200 bytes
sending 'recovery' (259081 KB)...
OKAY [ 6.480s]
writing 'recovery'...
FAILED (remote: partition error)
finished. total time: 6.511s
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (36996 KB)...
OKAY [ 0.926s]
writing 'recovery'...
OKAY [ 0.870s]
finished. total time: 1.802s
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery system.img
target reported max download size of 471859200 bytes
sending sparse 'recovery' (425232 KB)...
OKAY [ 18.655s]
writing 'recovery'...
FAILED (remote: partition error)
finished. total time: 18.700s
Johnsonn3 said:
I am in a boot loop like when at blue honor logo like and goes back to your device is unlocked. I try to install img the update.zip and...
Full SELinux support is present.
MTP Enabled
Installing zip file 'external_sd/update.zip'
Checking for MD5 files...
Skipping MD5 check: no MD5 file found
Removing uneeded files...
Patching system files...
Removing empty directorys...
Unpacking new files...
add link type file...
write radio image...
32K crc checked failure
E: unknown command [errno]
E: unknown command [errno]
update_huawei_pkg_from_ota_zip: update package from
zip failed
Updater process ended with ERROR: 7
Error installing zip file '/external_sd/update.zip'
Updating partion details...
Failed to mount '/system' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Failed to mount '/product' (Invalid argument)
...doneSo what do I do to get it to work again? I have access to erecovery and twrp and fastboot and adb.
This is if I try to flash stock,
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery boot.img
target reported max download size of 471859200 bytes
sending 'recovery' (15462 KB)...
OKAY [ 0.390s]
writing 'recovery'...
OKAY [ 0.221s]
finished. total time: 0.617s
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery cust.img
target reported max download size of 471859200 bytes
sending 'recovery' (259081 KB)...
OKAY [ 6.480s]
writing 'recovery'...
FAILED (remote: partition error)
finished. total time: 6.511s
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (36996 KB)...
OKAY [ 0.926s]
writing 'recovery'...
OKAY [ 0.870s]
finished. total time: 1.802s
C:\Users\User\Desktop\New folder (3)>fastboot flash recovery system.img
target reported max download size of 471859200 bytes
sending sparse 'recovery' (425232 KB)...
OKAY [ 18.655s]
writing 'recovery'...
FAILED (remote: partition error)
finished. total time: 18.700s
Click to expand...
Click to collapse
Am sorry to see u messing up with partitions .
For flashing system.img u should follow this command
Fastboot flash system system.img
For recovery
Fastboot flash boot boot.img
For boot
Fastboot flash boot boot.img
And for cust
fastboot flash cust cust.img
U tried to flash all files in recovery partition..
Recovery is limited to just 256mb u cant flash any other file more than 256mb.
And finally. U cant flash into system cust and data partitions through fastboot .
Only way is to make a zip and flash the files through twrp.
adriansticoid said:
Your phone was somewhat close to salvation until you did rm rf / now it's completely obliterated.
Mine is 5 months now. Happily using RR 5.8.3
Click to expand...
Click to collapse
Hi. I am in a similar situation. What should I do to recover it?
Hey everyone, I just did a clean-up of this thread. Let's please remember to keep things civil and keep our language appropriate for everyone.
please help me my i ca'nt flash any stock rom or stock recovery.
flash stock recovery error :
C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.540s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 1.556s
flash stock rom :
FAILED (remote: Device already : unlocked!)
finished. total time: 0.003s
error: could not load android-info.txt: Invalid argument
...
FAILED (remote: Device already : unlocked!)
finished. total time: 0.021s
target reported max download size of 536870912 bytes
Invalid sparse file format at header magic
i try use MsmDownloadToolV4.0InternationalVersionOxygenOS5.1 .5 connect my phone to laptop and install OnePlus.QualcomDrivers I do not see my phone information displayed on the tool
current my device unable to boot into recovery and only in quancom fastboot mode
please help me thank a lot
If you are able to put phone in fastboot mode (bootloader), you can follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
If unable to reboit phone in fastboot then follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Gr8man001 said:
If you are able to put phone in fastboot mode (bootloader), you can follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
If unable to reboit phone in fastboot then follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Click to expand...
Click to collapse
my device boot to fastboot mode work
i try flash stock rom from your link error
FAILED (remote: Device already : unlocked!)
finished. total time: 0.003s
error: could not load android-info.txt: Invalid argument
flash witch MsmDownloadToolV4.0InternationalVersionOxygenOS5.1.5
me oneplus driver and install any driver from tool not show COM port
You must not have followed the step correctly to flash rom with fastboot method. I assume you have adb and appropriate drivers installed on your pc. Download the zip file from the link in that thread on your pc. Unzip the file. Put your phone in bootloader mode. Connect the OnePlus 6 to PC; Run flash-all.bat file from the folder where you unzipped the ROM. It worked all the time for me and many others.
https://forum.xda-developers.com/oneplus-6/themes/tool-gsi-installer-2-0-t3803779
try this, it's easy and fast,
I wiped everything in trwp when I was going to install Lineage, I did the misstake to restart the recovery and now Im stuck in the bootlaoder.
I need to install the stoc firmware via fastboot/bootlaoder but can't find any img file, only zip file of the Stock firmware.
Is is possible to install a zip file via fastboot?
Fastboot recognize the phone when typing the commando fastboot devices, so I see the serial nr.
If I try to install twrp img both on boot and flash recovery commando I get this:
PS C:\Android> fastboot boot twrp-3.2.1-0-enchilada.img
downloading 'boot.img'...
OKAY [ 0.577s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.598s
PS C:\Android> fastboot flash recovery twrp-3.2.1-0-enchilada.img
target reported max download size of 536870912 bytes
sending 'recovery' (26748 KB)...
OKAY [ 0.574s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 0.579s
I have tried the MsmDownloadTool V4.0, but the deviced manager in windows doesn't find the Qualcom....
@Peterrrrr said:
I wiped everything in trwp when I was going to install Lineage, I did the misstake to restart the recovery and now Im stuck in the bootlaoder.
I need to install the stoc firmware via fastboot/bootlaoder but can't find any img file, only zip file of the Stock firmware.
Is is possible to install a zip file via fastboot?
Fastboot recognize the phone when typing the commando fastboot devices, so I see the serial nr.
If I try to install twrp img both on boot and flash recovery commando I get this:
PS C:\Android> fastboot boot twrp-3.2.1-0-enchilada.img
downloading 'boot.img'...
OKAY [ 0.577s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.598s
PS C:\Android> fastboot flash recovery twrp-3.2.1-0-enchilada.img
target reported max download size of 536870912 bytes
sending 'recovery' (26748 KB)...
OKAY [ 0.574s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 0.579s
I have tried the MsmDownloadTool V4.0, but the deviced manager in windows doesn't find the Qualcom....
Click to expand...
Click to collapse
I have never tried msmtool, but it sounds like a driver issue. Maybe take a closer look at their instructions
You can try these fastboot flashable stock roms.
You have few options to solve your issue. Now you are in slot B. You can change switch partition to A with fastboot. Try use: fastboot --set-active=a. It will switch to partition A and then try to boot/flash recovery. Also you have try to use fastboot roms with flashall.bat. There are few availaible in forum.
If you would like to use MSM you have to connect phone in proper mode to PC. Power off and hold Vol+ then connect. Also try to install latest Qualcomm drivers.
Msm tool
Download and use msm tool