Guys,
I was trying to flash a custom rom ( [CANCRO][OFFICIAL][STABLE-SOKP-L-5.1.1-LMY48B-R3][SONIC OPEN KANG PROJECT]) in my mi3 phone. But I am getting a weird "Patching system image unconditionally blkdiscard failed: invalid argument" error when I tried to flash it.
The zip file is not broken, I made it sure. I tried to flash using both TWRP and cwm, not working.
Any idea?
Related
After editing system.img.ext4 i receive this error "failed to mount system invalid argument"
when trying to boot phone
I have flashed the original system.img.ext4 and is working
how can i fix this?
The phone is galaxy mini 2 gt-s6500d
grigoreee said:
After editing system.img.ext4 i receive this error "failed to mount system invalid argument"
when trying to boot phone
I have flashed the original system.img.ext4 and is working
how can i fix this?
The phone is galaxy mini 2 gt-s6500d
Click to expand...
Click to collapse
Wrong section move to general please
After editing system.img.ext4 i receive this error "failed to mount system invalid argument"
when trying to boot phone
I have flashed the original system.img.ext4 and is working
how can i fix this?
The phone is galaxy mini 2 gt-s6500d
I've got a HTC ONE DE 64GB version
I got the OTA update and downloaded it and attempted the install.
the phone reboots into recovery and stops the update.
I get the following errors.
E: invalid command argument
E: invalid command argument
finding update package.....
E: unknown volume for path [internalsdcard:0/download/ (name of ota m7 file)
E: can't mount internalsdcard:0/download/ (name of ota m7 file)
installation aborted.
please help!!
which recovery are you using?
Can you boot back in OS?
juniormaxx said:
I've got a HTC ONE DE 64GB version
I got the OTA update and downloaded it and attempted the install.
the phone reboots into recovery and stops the update.
I get the following errors.
E: invalid command argument
E: invalid command argument
finding update package.....
E: unknown volume for path [internalsdcard:0/download/ (name of ota m7 file)
E: can't mount internalsdcard:0/download/ (name of ota m7 file)
installation aborted.
please help!!
Click to expand...
Click to collapse
it's using clockwork mod recovery.
and after the error it boots up normal.
I will suggest to run the DEV RUU, if it matches the same level as your phone. Check from fastboot getvar all and Software versions. If you have a higher version, then you will need to S-OFF, and run RUU.
This will clean up your phone from any root/custom roms..
Hi all,
I got error blkdiscard failed invalid argument while flashing [ROM][MI3/Mi4][CM-12.1][Android-5.1.1]CM-Cancro.
Many said that I had to extend partition to 1.2GB, which I already did. I can install Temasek rom with extended
partition, but failed with Bitti09 rom.
Here is what I have did before
-flash r11 cwm
-manually extend partition
-script extend partition
-flash TWRP
all step above failed to install [ROM][MI3/Mi4][CM-12.1][Android-5.1.1]CM-Cancro.
Now running with audahadi Temasek rom.
Here is my log from TWRP
PHP:
Installing '/sdcard/Custom_rom/cm-12.1-20150613-UNOFFICIAL-mi3-cancro.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
minzip: Extracted 4 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
Patching system image unconditionally...blockimg version is 2
erasing 318848 blocks
script aborted: blkdiscard failed: Invalid argument
blkdiscard failed: Invalid argument
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Custom_rom/cm-12.1-20150613-UNOFFICIAL-mi3-cancro.zip'
Error flashing zip '/sdcard/Custom_rom/cm-12.1-20150613-UNOFFICIAL-mi3-cancro.zip'
Updating partition details...
Please help...
Finally I have solved this problem. Yes "blkdiscard failed: Invalid argument" is error of unsuitable partition space to install a rom.
Initially my partition was like this
system = 1242 MB (1.2GB)
system1= 100 MB
After google and reading most comment from partition thread, I found out there is three version of system partition size which is 730MB, 1242MB and 1337 MB.
I found that @audahadi partition script use
system = 1337 MB
system1= 5MB
Quote:
Originally Posted by audahadi
This Procedure May Will Brick Your Device!!!!!
Only for users who comfort with single partition layout only !!!
This is a script to partiton your system partition as like stated in OP. Tested with Clockworkmod recovery.
How to use? Just flash through recovery on either partition. Remember, this will wipe your system partition, do backup for safe or no if you like to live dangerously.
Repartition_MI3W_1_2GB.zip
Credit :
http://forum.xda-developers.com/show....php?t=2765846
http://forum.xda-developers.com/gala...-data-t2762594
Click to expand...
Click to collapse
So using that script, i have succeed install CM based rom.
sorry but could you please elaborate!! I don't get it.. how could I see my partitions?! and how can I change them?!
sorry for being noob.
Go to google play and install Disc Info app. You can see your partition
Sent from my MI 3W using XDA Forums
Can you give me the link for system = 1337 MB
system1= 5MB partition?
Here you go
http://forum.xda-developers.com/attachment.php?attachmentid=3321267&d=1432050198
Sent from my MI 3W using XDA Forums
Hey guys, i have encountered a weird problem i got stuck in boot loop. i have tried to install the firmwares from fast boot, edl and TWRP mode. nothing is working
while trying to factory reset/wipe data i am getting error for BCB messaged alerts for failed to open dev/block/bootdevice/by-name/misc: no such file or directory found.
while from twrp i am getting unable to mount storage. i will highly appreciate if anyone can help me. mostly i have tried all of the firmware's.
Wiping Data...
Done processing script file
Wiping Cache...
Unable to find partition for path '/cache'
Done processing script file
Wiping Dalvik Cache...
Failed to mount '/data' (Invalid argument)
Done processing script file
Pushing First Zip...
D:\UL-ASUS_I001_1-CN-16.0631.1910.63-1.1.252-user.zip: 1 file pushed. 36.4 MB/s (2608518787 bytes in 68.420s)
Flashing First Zip...
Installing zip file '/UL-ASUS_I001_1-CN-16.0631.1910.63-1.1.252-user.zip'
Checking for Digest file...
Unmounting System...
Flashing A/B zip to inactive slot: B
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
First Zip Flashed
Deleting First Zip...
Press any key to continue . . .