Question Can't mount '/cache' (invalid argument) - General Questions and Answers

Hi I have a Samsung a3 2017 (a320fl) I was trying to install a custom rom after flashing it for clean install it started bringing up error:7
Now when I try wipe cache it says Can't mount '/cache' (invalid argument) I've tried repairing the cache changing file system. And flashing new rom using Odin all failed.
Additional info
Cache reads as 0 and not present
I have no os in the phone but twrp is installed version 3.5.0_9-0

Re-flash Stock ROM.

jwoegerbauer said:
Re-flash Stock ROM.
Click to expand...
Click to collapse
Yes this worked for me had to use odin. It didn't flash in my stock rom but when I tried to mount my cache it worked

Related

[Q] CM and unable to mount 'EFS' HELP !

Hi,
after auto nightly install, my P5113 stays in booloop. In recovery I've failed to mount /efs (Invalid Argument)
Since 2 days, I've made "format", "wipe" and reinstall official ROM but nothing new ...http://forum.xda-developers.com/images/smilies/crying.gif
Can I remount EFS with ODIN ? or directly from sd-card ?
Thank's

Can't go forward at "country select" on differents Rom. Need help please !

Hello
After solved issue to my problem : http://forum.xda-developers.com/mate-8/help/flash-configure-phone-country-selection-t3318172
I have the same problem by selecting country.
I have flashed TWRP recovery and root the phone. (with original rom)
I have downloaded differents rom ... no one is ok ... i'm stay on "select country" and i can't go "next". nothing when i click on "next". This issue is for differents rom...
I don't understand.
I have wipe data/system/cache/dalvik/cust ... always the same issue...
Thx for help
up
just try flash rom without wipe or formate
i did that to avoide setup screen
It work with dirty flash.
Thank's
Hello, im facing the same problem and i dont know how to resolve it, could you please help me . . And btw what do you mean by " Dirty Flash" ?
Ainzy said:
Hello, im facing the same problem and i dont know how to resolve it, could you please help me . . And btw what do you mean by " Dirty Flash" ?
Click to expand...
Click to collapse
go back to your working rom
then flash the rom you want without wiping any thing or factory reset from twrp
rowihel2012 said:
go back to your working rom
then flash the rom you want without wiping any thing or factory reset from twrp
Click to expand...
Click to collapse
Hello and sorry for my very bad english ...
What do you mean by " Go back to your working rom" because before that, i wiped all the data and like a di*k i forgot to backup first lol and now when i boot the phone im stuck in settings page
like where you need to set the languages, country ect... Looks like a bootloop. Sorry for being a noob T_T
Ainzy said:
Hello and sorry for my very bad english ...
What do you mean by " Go back to your working rom" because before that, i wiped all the data and like a di*k i forgot to backup first lol and now when i boot the phone im stuck in settings page
like where you need to set the languages, country ect... Looks like a bootloop. Sorry for being a noob T_T
Click to expand...
Click to collapse
download the rom you wanna flash with you pc
open the zip file and go to /system/app/HwStartupGuide and remove it from zip with winrar pc app
then but the rom in sd card and flash it with twrp recovery
will work fine :good:
the setup screen will be no longer appear with you and rom will work fine
rowihel2012 said:
download the rom you wanna flash with you pc
open the zip file and go to /system/app/HwStartupGuide and remove it from zip with winrar pc app
then but the rom in sd card and flash it with twrp recovery
will work fine :good:
the setup screen will be no longer appear with you and rom will work fine
Click to expand...
Click to collapse
I downloaded the rom from :
http://www.carbontesla.com/2016/02/download-huawei-mate-8-b152-marshmallow-update-emui-4-0-europe/
But there is no file such as /system/app/ect inside the zip.
Even with this one :
https://drive.google.com/file/d/0B5I_q70mNuR4SndZQ1JNSUJQX00/view?pref=2&pli=1
there is no /system/app/HwStartupGuide but just /system/app/wali/
What should i do ? thx for your help
Ainzy said:
I downloaded the rom from :
http://www.carbontesla.com/2016/02/download-huawei-mate-8-b152-marshmallow-update-emui-4-0-europe/
But there is no file such as /system/app/ect inside the zip.
Even with this one :
https://drive.google.com/file/d/0B5I_q70mNuR4SndZQ1JNSUJQX00/view?pref=2&pli=1
there is no /system/app/HwStartupGuide but just /system/app/wali/
What should i do ? thx for your help
Click to expand...
Click to collapse
searsh the zip file for HwStartupGuide and remove it
rowihel2012 said:
searsh the zip file for HwStartupGuide and remove it
Click to expand...
Click to collapse
Hello, now i'm facing a new problem. I can't flash any roms with Team Win Recovery Project Mate 8 v2.8.7.0 and TWRP by Rayglobe :
http://prnt.sc/a7cdah
Even with ADB Sideload i got an error, since im living in China and for any reason I don't know why i can't upload an image even with a VPN so, i will just write down what i see from my screen phone:
Uploading partition details...
...done
Full SELinux support is present.
MTP Enabled
Starting ADB sideload feature...
Installing '/sideload/package.zip' ...
Removing empty directorys...
Unpacking new files...
add link type file...
write radio image...
E:unknow command [errno]
script succeeded: result was [ ]
Formating Cache using make_ext4fs function.
Wiping Dalvik ache Directories...
-- Dalvik Cache Directories Wipe Complete!
Click to expand...
Click to collapse
Then from my PC with the platform tool, its load at 47% and then nothing. Im prett sure that my file is not corrupted or something like that, cause i downloaded like 4 times the file and from different server.
Do a NXT-L29 TWRP backup will resolve the issue ??
Ainzy said:
Hello, now i'm facing a new problem. I can't flash any roms with Team Win Recovery Project Mate 8 v2.8.7.0 and TWRP by Rayglobe :
http://prnt.sc/a7cdah
Even with ADB Sideload i got an error, since im living in China and for any reason I don't know why i can't upload an image even with a VPN so, i will just write down what i see from my screen phone:
Then from my PC with the platform tool, its load at 47% and then nothing. Im prett sure that my file is not corrupted or something like that, cause i downloaded like 4 times the file and from different server.
Do a NXT-L29 TWRP backup will resolve the issue ??
Click to expand...
Click to collapse
Use twrp v3
rowihel2012 said:
Use twrp v3
Click to expand...
Click to collapse
i used this one :
http://forum.xda-developers.com/mate-8/development/recovery-twrp-huawei-mate-8-t3298567
And i still got the same issue even in adb sideload or flash with TWRP V3
From ADB Sideload :
Unable to mount storage
Failed to mount 'data' (invalid argument)
Full Selinux supprt is present.
TeamWin Recovery 3.0.0.0
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
MTP Enabled
Failed to mount '/data' (Invalid argument)
Installing zip file'/sideload/package.zip'
Removing unneeded files...
Patching system files...
Remvoving empty directorys...
Unpacking new files...
add link tye file...
Write radio image...
E:unknow commad [errno]
script succeeded: result was [ ]
Formating Cache using make_ext4fs function.
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Click to expand...
Click to collapse
And from TWRP when im trying to install the zip file:
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media/ folder.
Updating partition details...
Failed to mount 'data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid agument)
Full SELinux supprt is present.
TeamWin Recovery 3.0.0.0
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
MTP Enabled
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Installing zip file '/external_sd/B152.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
zip file is corrupt!
error installing zip file '/external_sd/B152.zip'
updating partition details...
failed to mount '/data' (invalid argument)
...done
failed to mount '/data' (invalid argument)
Click to expand...
Click to collapse
You have to wipe /data. Then you don't have this issue. To wipe /data you have to write "yed" on the prompt
julien712 said:
You have to wipe /data. Then you don't have this issue. To wipe /data you have to write "yed" on the prompt
Click to expand...
Click to collapse
I already do that, and the problem is still there
Edit 1 : With any rom of NXT-L29, when im trying to flash with TWRP i always get this message :
"Skipping MD5 check: no MD5 file found"
Is that normal?
Ainzy said:
I already do that, and the problem is still there
Edit 1 : With any rom of NXT-L29, when im trying to flash with TWRP i always get this message :
"Skipping MD5 check: no MD5 file found"
Is that normal?
Click to expand...
Click to collapse
you have to formate data not wipe
yea this is normal no md5 found
rowihel2012 said:
you have to formate data not wipe
yea this is normal no md5 found
Click to expand...
Click to collapse
Hello, by wipe you mean in TWRP, select WIPE > Format Data and type "Yes".
If yes, i already did that like 10 times and i still got the same error when flashing or using adb sideload :crying::crying:
Edit 1: With any roms I downloaded its show me on my screen when flashing with Install>Select zip file then swipe to flash, the following message :
Updating partition details...
...done
Full SELinux is present.
Modify By Raimondo Martire
MTP Enabled
Installing zip file 'external/_sd/update.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Zip file is corrupt!
Error installing zip file '/external_sd/update.zip'
Updating partition details...
...done
Click to expand...
Click to collapse
I really dont know where / what is the problem...
You can try to go back to stock rom with the rayglobes tool. Select "unbrick" section. It will flash all partitions to stock.
julien712 said:
You can try to go back to stock rom with the rayglobes tool. Select "unbrick" section. It will flash all partitions to stock.
Click to expand...
Click to collapse
Hello, i did what you tell me to do and the problem is still there i can't pass the bootloop in the settings page on the main menu :crying::crying:
What oO never saw that.
Fastboot mode doesnt works ?
Very strange because huawei reformat by this way... The only way to restore to stock.

How to uninstall Magisk?

Hello. I've recently tried to uninstall Magisk through its app but that doesn't seem to work. Some apps still detect that I have root access and not allow me to use it. Thus, I tried removing the install files in my phone and it still couldn't work. I have also tried factory resetting but for some reason TWRP won't allow it.
It writes:
"Could not mount /data and unable to find crypto footer
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder
Updating partition details
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount '/data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Formatting cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (Invalid argument)
Unable to mount storage"
Phone is still working perfectly apart from these errors. How can I fix this? Any help would be greatly appreciated. Thanks!
larrysgx said:
Hello. I've recently tried to uninstall Magisk through its app but that doesn't seem to work. Some apps still detect that I have root access and not allow me to use it. Thus, I tried removing the install files in my phone and it still couldn't work. I have also tried factory resetting but for some reason TWRP won't allow it.
It writes:
"Could not mount /data and unable to find crypto footer
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder
Updating partition details
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount '/data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Formatting cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (Invalid argument)
Unable to mount storage"
Phone is still working perfectly apart from these errors. How can I fix this? Any help would be greatly appreciated. Thanks!
Click to expand...
Click to collapse
To answer this we need the following info:
1. What phone do you have?
2. Do you use a stock or custom rom?
3. If you use a custom rom, what rom is it?
Zapthos said:
To answer this we need the following info:
1. What phone do you have?
2. Do you use a stock or custom rom?
3. If you use a custom rom, what rom is it?
Click to expand...
Click to collapse
Well, I have a S7 Edge. I am not that experienced with tech so I'm not so sure what I did for the Rom.
I flashed it through Odin though. I could dm you the link of the tutorial if you don't mind
Re-Flash rom
You can try re-flashing the rom (not sure if it's a word but you probaly know what I mean). So enter twrp (power, volume up & home button), go to wipe and wipe the following: System, Data, Cache, Dalvik/Art cache. Once you've done that flash the rom. Depending on what rom you use, you can see if magisk is gone. If not, try another rom (make sure it is for your device!!!). This should help, if not let me know.
Or just run Magisk Manager, tap Uninstall, then tap complete uninstall.

Failed to mount '/product' (invalid argument)

I have Samsung A50s.
Currently with NO OS as i was flashing infinity os and it did not work so i went back to TWRP to wipe system and start all over gain but it did not work and since i am getting this error what ever i wipe and thus i have no os on my phone right .
Please help me out as i could not find any fix for this.
Thanks

Error flashing ROM's since "semibrick/bootloop"

Hey guys,
Few hours ago, I Installed Poco x3 Europe ROM in my Global Poco X3 (with XiaoMiTool V2), and didn't start, it was in Bootloop. (Still don't know if this was a problem or not, I don't know what happened me that)
I solved it with MiFlash and flashing the lastest global rom "surya_global_images_V12.0.7.0.QJGMIXM_20201221.0000.00_10.0_global"
Finally, MIUI loaded, I install the TWRP, tried to flash crDroid ROM and these error appeared:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
After that, I don't know what I did, but I restarted and I didn't have any OS, phone starts automatically in Fastboot mode.
Again, reinstall the lastest rom with MiFlash, installed MIUI again, installed TWRP again, and I tried to flash LineageOS ROM:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
I retried to install the LineageOS again after that, and some extrange messages like:
patching system image unconditionally
patching product image unconditionally
After that, I installed OpenGapps Pico, and received Error 20. (I tried rebooting to TWRP again and flashing gapps again and same error)
Finally I made a reboot system, and LineageOS started, but without Gapps installed.
As you can see, I am newbie in the ROM world, I don't even know when to do wipe's (dalvik, cache, system) and format data, if before or after flashing ROM's, but yesterday, I installed ResurrectionRemix, ArrowOS, WaveOS and Pixel Experience ROM's without any problem.
What can I do?
Sorry you all for my bad english.
Best regards.
Since this happened to me, everytime I want to flash a clean ROM (European or Global) through XiaoMiTool V2, phone never work and start bootlooping in first screen (POCO in yellow) and I don't know why. I used XiaoMiTool V2 before and worked well.
Nobody know's what happening with my phone? My system_root and product partitions are broke? I need to change my rom, I don't like Miui haha
Use Orange Fox
or better TWRP
forsecom said:
Use Orange Fox
Click to expand...
Click to collapse
jeryll said:
or better TWRP
Click to expand...
Click to collapse
Small update.
I was using TWRP 3.4.0-15 (I think it's the lastest available)
Yesterday I installed OrangeFox R11.0_6 recovery, I flashed crDroid.zip ROM, apparently no problems with /system_root or /product:
patching system image unconditionally
patching product image unconditionally
After few seconds, error appear:
Failed to mount /vendor (Invalid argument)
After that (if my memory doesn't fail), I reboot in recovery, flashed NikGapps, and same error:
Failed to mount /vendor (Invalid argument)
I wiped cache, dalvik cache and format data, reboot system and crDroid started and I had Gapps installed, so maybe /vendor error is not serious, apparently everything works OK.
I flashed fw+vendor to flash another rom, and when I flash fw+vendor, I got error:
Failed to mount /vendor (Invalid argument)
After flash a new ROM.zip, I got error:
Failed to mount /vendor (Invalid argument)
After flashing gapps, I got error:
Failed to mount /vendor (Invalid argument)
Finally, I format data, and I got error:
Failed to mount /vendor (Invalid argument)
What the **** is /vendor and why happen this? xD
bartun said:
What the **** is /vendor and why happen this? xD
Click to expand...
Click to collapse
Vendor is specific to the device provided by the "vendor", i.e. usually the manufacturer (including customizations) – while System is the "Android base". If you upgrade a MIUI Rom with vendor deleted you're going to brick your device.
I think you need to do a full manual reinstall but I havent rooted my Poco. Maybe you wiped vendor when installing the custom rom... It advised to only wipe system and data
bartun said:
Hey guys,
Few hours ago, I Installed Poco x3 Europe ROM in my Global Poco X3 (with XiaoMiTool V2), and didn't start, it was in Bootloop. (Still don't know if this was a problem or not, I don't know what happened me that)
I solved it with MiFlash and flashing the lastest global rom "surya_global_images_V12.0.7.0.QJGMIXM_20201221.0000.00_10.0_global"
Finally, MIUI loaded, I install the TWRP, tried to flash crDroid ROM and these error appeared:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
After that, I don't know what I did, but I restarted and I didn't have any OS, phone starts automatically in Fastboot mode.
Again, reinstall the lastest rom with MiFlash, installed MIUI again, installed TWRP again, and I tried to flash LineageOS ROM:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
I retried to install the LineageOS again after that, and some extrange messages like:
patching system image unconditionally
patching product image unconditionally
After that, I installed OpenGapps Pico, and received Error 20. (I tried rebooting to TWRP again and flashing gapps again and same error)
Finally I made a reboot system, and LineageOS started, but without Gapps installed.
As you can see, I am newbie in the ROM world, I don't even know when to do wipe's (dalvik, cache, system) and format data, if before or after flashing ROM's, but yesterday, I installed ResurrectionRemix, ArrowOS, WaveOS and Pixel Experience ROM's without any problem.
What can I do?
Sorry you all for my bad english.
Best regards.
Click to expand...
Click to collapse
Install super.img from fastboot Rom

Categories

Resources