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
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?
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
I all I have an old memopad that I would like to revive for using I in a project. Afetr upgrading to lollipop for mistake I tried to boot in recover through rom manager and obviously it failed
Now I am stuck , I can load fastboot mode and it show unknow bootloader. How Can I revive it?
update:
I followed this tutorial https://forum.xda-developers.com/memo-pad-7/general/downgrade-asus-memo-pad7-me70c-t3735665
I managed to install the temp recovery but I am unable to mount the sd card.
The error seems in the partition structure.
I: Can't partiton unknown volume : /emmc
I Can't patition non-vfat : datamedia
W: failed to mount /dev/block/platform/intel/by-label/ fata ( invalid argument)
Can't partition device : /sdcard
Click to expand...
Click to collapse
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 . . .