[joyeuse] Can't flash custom ROM "failed to mount /system root" - Redmi Note 9 Pro (International Model) General and

While installing anything from TWRP I'm always getting
"Failed to mount /system root /vendor /product (no such file or directory)" message
Already tried too fix it by changing the file system to EXT2 and back. Seems like it has sth to do with "section super" access rights or sth like that.
I'm not really sharp with stuff like that so I'm hoping someone bright minded could help. Thanks in advance!

GORBING said:
While installing anything from TWRP I'm always getting
"Failed to mount /system root /vendor /product (no such file or directory)" message
Already tried too fix it by changing the file system to EXT2 and back. Seems like it has sth to do with "section super" access rights or sth like that.
I'm not really sharp with stuff like that so I'm hoping someone bright minded could help. Thanks in advance!
Click to expand...
Click to collapse
remember to unmount system and vendor, may be is the problem

canteo said:
remember to unmount system and vendor, may be is the problem
Click to expand...
Click to collapse
Thanks for the answer!
Don't wanna sound stupid but what does it mean exactly. What should i do?
Is there such an option in TWRP that i don't know of? Is it the "Disable MTP" button? If so i can't mark these exact 3 to change them

PROBLEM SOLVED!
I reinstalled vanilla ROM and tried again with OrangeFox Recovery in which i had unmount options. It worked!

canteo said:
remember to unmount system and vendor, may be is the problem
Click to expand...
Click to collapse
Thanks a lot man, I was crying until i see your message, xD

GORBING said:
PROBLEM SOLVED!
I reinstalled vanilla ROM and tried again with OrangeFox Recovery in which i had unmount options.
Click to expand...
Click to collapse
Which Vanilla ROM? I have also the same problem. Please reply in details.

Related

[Q] CWM Can't Mount The SDCard

Hello everyone, I'm sure that this has been asked quite a few times but after trying for hours & hours I finally decided that I'll get some help
I'm using a Rogers GS3.
So I have the Rogers Stock ROM installed, which is: root66_RWC_I747MVLDLK4 (That's JB4.1).
& the latest CWM flashed(recovery-clockwork-touch-6.0.3.0-d2tmo) which works quite great!
CWM mounts & shows the files on my external sd without a hitch but what it doesn't mount is the internal sd, it's the common error (When I try to view files to install it says; E: Can't mount /sdcard & when I try to manually mount it; Error mounting /sdcard).
Please, any help is appreciated.
Thanks a lot in advance!
Cheers!
so when you go to "install zip from sdcard" -> "choose zip from sdcard" you dont see any of your sd cards contents?
the "mount /sdcard" option under Mounts and Storage is for external sdcard
xBeerdroiDx said:
so when you go to "install zip from sdcard" -> "choose zip from sdcard" you dont see any of your sd cards contents?
the "mount /sdcard" option under Mounts and Storage is for external sdcard
Click to expand...
Click to collapse
Yeah that's right, when I go to "install zip from sdcard" it doesn't show me any files & instead it gives me the error; E: Can't mount /sdacrd.
& well actually there are 2 options under Mounts & Storage, one Mount /sdacrd & the other Mount /ext_sdcard; the latter doesn't give me an error but the Mount /sdacrd does give me the error; Error Mounting /sdcard
JayShades said:
Yeah that's right, when I go to "install zip from sdcard" it doesn't show me any files & instead it gives me the error; E: Can't mount /sdacrd.
& well actually there are 2 options under Mounts & Storage, one Mount /sdacrd & the other Mount /ext_sdcard; the latter doesn't give me an error but the Mount /sdacrd does give me the error; Error Mounting /sdcard
Click to expand...
Click to collapse
have you rebooted the phone and booted back into cwm to try again? you said you installed the version for tmobile so i'm assuming thats the device carrier. just trying to eliminate the easy stuff first
xBeerdroiDx said:
have you rebooted the phone and booted back into cwm to try again? just trying to eliminate the easy stuff first
Click to expand...
Click to collapse
Yup, I've tried that, also I've tried the non touch latest CWM as well, the same exact error with that as well.
JayShades said:
Yup, I've tried that, also I've tried the non touch latest CWM as well, the same exact error with that as well.
Click to expand...
Click to collapse
maybe try twrp
i've seen rogers s3 threads with links to installing the d2att cwm. hmmm
xBeerdroiDx said:
maybe try twrp
Click to expand...
Click to collapse
Lol yes, I just flashed it, trying it in a second, will let you know
JayShades said:
Lol yes, I just flashed it, trying it in a second, will let you know
Click to expand...
Click to collapse
did you see my edit about using d2att cwm?
this link/guide points to it: http://forum.xda-developers.com/showthread.php?t=1822308
xBeerdroiDx said:
did you see my edit about using d2att cwm?
this link/guide points to it: http://forum.xda-developers.com/showthread.php?t=1822308
Click to expand...
Click to collapse
Oh I didn't see that before but unfortunately I've already seen that thread & tried it again just to see the same error :crying:
JayShades said:
Oh I didn't see that bfore but unfortunately I've already seen that thread & tried it again just to see the same error :crying:
Click to expand...
Click to collapse
lemme know if twrp takes care of the issue
Same think happened to me I was using twcr so I tried using cwm and its working fine. Downloaded through ROM manager, fixed the issue but I would rather have twcr
Sent from my SAMSUNG-SGH-I747 using xda premium
Haha I think I figured out what's wrong, quite dumb, but thanks to TWRP is how I figured it out.
What was happening was CWM was not able to even access my sdcard because I had encrypted it lol but luckily TWRP has an option to decrypt it & then access it so it got mounted & everything but for some reason I couldn't install any custom ROM from TWRP itself(tried 3 but none of them worked for me;CM,AOKP & Liquid). But now since that I know the problem, I'm just reinstalling the Rogers stock ROM & then going to try CWM again to flash a custom ROM.
Will update soon!
JayShades said:
Haha I think I figured out what's wrong, quite dumb, but thanks to TWRP is how I figured it out.
What was happening was CWM was not able to even access my sdcard because I had encrypted it lol but luckily TWRP has an option to decrypt it & then access it so it got mounted & everything but for some reason I couldn't install any custom ROM from TWRP itself(tried 3 but none of them worked for me;CM,AOKP & Liquid). But now since that I know the problem, I'm just reinstalling the Rogers stock ROM & then going to try CWM again to flash a custom ROM.
Will update soon!
Click to expand...
Click to collapse
Crap!! The worst ever thing just happened! When I reinstalled the stock Rogers ROM & restarted the phone, the password screen before the phone boots is still there BUT now it's not the password that I've set before, I'm guessing the factory reset reset that as well!! Ahhhhhh!!!
Any ideas on the default S3 encryption password lol? I tried the obvious one(i.e; 12345, 1234, 000, 00000, 1111, 11111, samsung) But no luck! Omg! This is bad lol!
Please if anyone knows a work around this, let me know because this is messed up! :/
Phew, fixed it, lol, just another factory reset through the built in recovery mode fixed it! That was close! I was scared to death haha!
Alright so I finally managed to install CyanogenMod 10.1 on the Rogers I747M! Woohoo!
Why it wasn't installing earlier was because the CyanogenMod is made for d2att devices but the I747M is d2mtr so it was failing that test & wouldn't go any further. Fo rfuture reference for anyone I guess:
1. Make sure that your sdacrd is not encrypted before trying to install any ROM except when using Odin.
2. There is a line on CryanogenMod that needs to be deleted for it to be installed on any I747M device, open the CyanogenMod zip file & go to /META-INF/com/google/android/ & open the updater script using a text editing software (i.e. Notepad) & delete all the lines before the first mount line.
& with that CyanogenMod will work without a hitch on the I747M!
Thanks & cheers Cyanogen team!
JayShades said:
Alright so I finally managed to install CyanogenMod 10.1 on the Rogers I747M! Woohoo!
Why it wasn't installing earlier was because the CyanogenMod is made for d2att devices but the I747M is d2mtr so it was failing that test & wouldn't go any further. Fo rfuture reference for anyone I guess:
1. Make sure that your sdacrd is not encrypted before trying to install any ROM except when using Odin.
2. There is a line on CryanogenMod that needs to be deleted for it to be installed on any I747M device, open the CyanogenMod zip file & go to /META-INF/com/google/android/ & open the updater script using a text editing software (i.e. Notepad) & delete all the lines before the first mount line.
& with that CyanogenMod will work without a hitch on the I747M!
Thanks & cheers Cyanogen team!
Click to expand...
Click to collapse
not only the i747M is d2mtr, my Galaxy s3 is i747M d2can(d2ub). but i can flash d2 att cm10.1 w/o problems
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
blackwing182 said:
not only the i747M is d2mtr, my Galaxy s3 is i747M d2can(d2ub). but i can flash d2 att cm10.1 w/o problems
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Nice nice
xBeerdroiDx said:
so when you go to "install zip from sdcard" -> "choose zip from sdcard" you dont see any of your sd cards contents?
the "mount /sdcard" option under Mounts and Storage is for external sdcard
Click to expand...
Click to collapse
There's no option in it
Thank You Brother
xBeerdroiDx said:
so when you go to "install zip from sdcard" -> "choose zip from sdcard" you dont see any of your sd cards contents?
the "mount /sdcard" option under Mounts and Storage is for external sdcard
Click to expand...
Click to collapse
Brother I tried to flash a MIUI rom and that Idiot gave an ascend rom in i9300 forum ... So after I flashed it ... My phone was struck on the boot screen and was unable to mount sd card ... I forgot this option .... Thank you ... But unfortunately all my backups were in the sd card and I had to format it .... Still stuck on boot screen but i think I can manage it ...
solution:
JayShades said:
Hello everyone, I'm sure that this has been asked quite a few times but after trying for hours & hours I finally decided that I'll get some help
I'm using a Rogers GS3.
So I have the Rogers Stock ROM installed, which is: root66_RWC_I747MVLDLK4 (That's JB4.1).
& the latest CWM flashed(recovery-clockwork-touch-6.0.3.0-d2tmo) which works quite great!
CWM mounts & shows the files on my external sd without a hitch but what it doesn't mount is the internal sd, it's the common error (When I try to view files to install it says; E: Can't mount /sdcard & when I try to manually mount it; Error mounting /sdcard).
Please, any help is appreciated.
Thanks a lot in advance!
Cheers!
Click to expand...
Click to collapse
try formatting your sd card to fat 32...

[Q] Unable Mount USB Storage

Just got myself a Note 3 and I managed to Root It and install TWRP Recovery but when I try to flash any rom I get this...
I'm not sure why it's doing this. Any tips or suggestions to try to fix it?
DudeNo said:
Just got myself a Note 3 and I managed to Root It and install TWRP Recovery but when I try to flash any rom I get this...
I'm not sure why it's doing this. Any tips or suggestions to try to fix it?
Click to expand...
Click to collapse
The unable to mount usb storage bit has nothing to do with it - you can safely ignore that message (unless you are trying to mount some sort of usb storage to your phone, which most people aren't trying to do). As for the failed flash - perhaps redownload the zip? It could have been a bad download - I would start there anyway
dwitherell said:
The unable to mount usb storage bit has nothing to do with it - you can safely ignore that message (unless you are trying to mount some sort of usb storage to your phone, which most people aren't trying to do). As for the failed flash - perhaps redownload the zip? It could have been a bad download - I would start there anyway
Click to expand...
Click to collapse
Thanks for the help. I was just curious on if it meant the wiping etc was not working. I downloaded another ROM an it worked flawlessly.
Hey guys, I had a similar problem, my sd card mounts and shows as active but I can't download anything through aptoide and I've stayed getting read write errors from evernote. I've tried formating the card unmounting it. And can't get it to work. Any idea?
Guys im really stuck in this problem and need help ASAP

SD Card/lvm2pv Corrupt and 2.95GB of internal storage only

Hi there!
A year ago, I messed up in installing Omnirom and LVM on my Find 7a and I've been left with 2.95GB of internal storage since. The rest of my internal storage is corrupt and is now called SD Card/lvm2pv. See attached screenshot..
So I detailed what I did on post 1325 here: https://forum.xda-developers.com/fi...ilds-7a-7s-t3237065/post66783345#post66783345
But basically, when installing it looks like I wiped something by accident as I followed a ROM guide that said to wipe Dalvik Cache, System, Data, Cache.
Here's what it says in TWRP when installing a zip/backing up:
Creating Android Secure: /internal_sd/.android_secure
Failed to mount '/internal_sd' (No such device)
I:Actual block device: '/dev/block/mmcblk0p29', current file system: 'LVM2_member'
Unable to recreate and-sec folder.
Failed to mount '/internal_sd' (No such device)
I:Actual block device: '/dev/block/mmcblk0p29', current file system: 'LVM2_member'
I:Unable to mount '/internal_sd'
I want to get my 12GB of storage back but I'm not sure what's wrong or what I need to do to solve the problem.
I've looked extensively online and it seems some people have had similar problems:
(such as post 8 in here https://forum.xda-developers.com/fi...rom-dirty-unicorns-6-0-1-7s-08-05-16-t3434120 )
but no sure solutions.
I found this guide: http://community.oppo.com/en/forum.php?mod=viewthread&tid=44896
But people were commenting under it saying it had bricked their phones so I'm going to give that one a miss I think.
I've spent all day looking for a solution to this but to no avail. I swear I've trawled!!
Does anybody know what's wrong or what I could do to fix it?
I could run the unbricker tool but that seems overkill.
Try this Omni Patch first:
https://mega.nz/#!Iw5FHJID!tAbrqXIkgxNqiPO0yQDsJnXeYYOlHFxM6BK5CqumFzI
If it doesnt work, try this Second:
https://mega.nz/#!NsAz1DxJ!vtO22hWN_r_gcjP_abeiRhoBcHoJ2W8Mopq2Q0aE03E
If all fail, go here and start it over:
http://community.oppo.com/en/forum.php?mod=viewthread&tid=23067&extra=
Then go to Settings -> Storage -> Erase.
Side note: Stay away from Omni Rom, they give the Find 7a BSOD here and there
Zeus Hai said:
Try this Omni Patch first:
https://mega.nz/#!Iw5FHJID!tAbrqXIkgxNqiPO0yQDsJnXeYYOlHFxM6BK5CqumFzI
If it doesnt work, try this Second:
https://mega.nz/#!NsAz1DxJ!vtO22hWN_r_gcjP_abeiRhoBcHoJ2W8Mopq2Q0aE03E
If all fail, go here and start it over:
http://community.oppo.com/en/forum.php?mod=viewthread&tid=23067&extra=
Then go to Settings -> Storage -> Erase.
Side note: Stay away from Omni Rom, they give the Find 7a BSOD here and there
Click to expand...
Click to collapse
Thanks for the reply!!
What is this unified-storage-patch you link to? Is it... uhhh.. safe?
And if that doesn't work it looks like I'll be rolling the dice with the unbricker tool.. oh well..
jd9922 said:
Thanks for the reply!!
What is this unified-storage-patch you link to? Is it... uhhh.. safe?
And if that doesn't work it looks like I'll be rolling the dice with the unbricker tool.. oh well..
Click to expand...
Click to collapse
No, it is not safe. It triggers some self destruct IC inside the Find 7a, and makes it explode just like the Note 7, hahaha :laugh:
Oh, I almost forgot, before using the unbricker, this LVM setup and LVM remover may help:
https://forum.xda-developers.com/showpost.php?p=62169121&postcount=3
Zeus Hai said:
No, it is not safe. It triggers some self destruct IC inside the Find 7a, and makes it explode just like the Note 7, hahaha :laugh:
Oh, I almost forgot, before using the unbricker, this LVM setup and LVM remover may help:
https://forum.xda-developers.com/showpost.php?p=62169121&postcount=3
Click to expand...
Click to collapse
I hear all phones with the number 7 in the name have that curious IC that spontaneously combusts alright!
But flashing that omni-6.0.1-find7-unified-storage-patch .zip file won't brick the phone will it?
Or am I at the stage where I need to throw crap at the wall enough times to see what sticks? :silly:
And isn't the omni-6.0.1-find7-unified-storage-patch something to do with Chinese partition? I'm trying to understand it but I'm struggling....
jd9922 said:
I hear all phones with the number 7 in the name have that curious IC that spontaneously combusts alright!
But flashing that omni-6.0.1-find7-unified-storage-patch .zip file won't brick the phone will it?
Or am I at the stage where I need to throw crap at the wall enough times to see what sticks? :silly:
And isn't the omni-6.0.1-find7-unified-storage-patch something to do with Chinese partition? I'm trying to understand it but I'm struggling....
Click to expand...
Click to collapse
No, you're at the stage where you need to trust someone, flashing some craps onto the phone until it's fixed
Ok, joke aside, I tried all the stuffs mentioned above and still my stubborn Find 7a didnt brick
Zeus Hai said:
No, you're at the stage where you need to trust someone, flashing some craps onto the phone until it's fixed
Ok, joke aside, I tried all the stuffs mentioned above and still my stubborn Find 7a didnt brick
Click to expand...
Click to collapse
Got it fixed!!!
Thanks for all the help. I'll post a guide/what I did, in the next few days when I get time.
What ROM do you recommend though if not Omni? I'm looking for simplicity with good battery life!

Root App Folder Permissions and Navigation

Guys, I'm having a tough time deleting a file or two that were recently installed in the root's /product folder and I guess I don't understand what I am doing wrong, or what security is in place to prevent me from doing this. I would greatly appreciate any help or suggestions here. I cannot change permissions to make the folder recursively rw. I first started with Root Explorer and Solid Explorer. Both are capable of changing permissions but failed saying it was a "system folder". I used terminal to setenforce to 0, and tried with su from terminal and could not manually change folder permissions using chmod either. I thought maybe TWRP would be the answer, so I booted recovery and tried mounting the data partition (I think it's on data) and used file manager to browse to the folder, but I cannot see the contents of the folder nor can I delete it. What am I missing here? Is the TWRP mount function busted atm? Last night I reflashed November's update with the -w thinking it might "overwrite" the folder, but there was no joy there either. I do have a couple of TWRP backups of the data folder and that is my next step. Before I apply the December image tonight, I'm going to restore the most recent /data partition backup. There has to be a way to get control of that folder and it's contents but so far it has eluded me.
Cheers and TIA.
As far as I'm aware, the only way currently to write to the product partition is to fastboot flash it. I've went as far as to modify TWRP fstab to mount it in recovery and use the file manager to replace the bootanimation only to have it either never write properly or for it to "correct" itself. Not sure which happened.
Sent from my Pixel 3 XL using Tapatalk
I appreciate the response... anything helps. Product is a folder in root also and that is what I am trying to access. Unless there is some kind of symlink linking that product folder to the product partition. I don't know. When I flashed the full image yesterday I would have thought that partition.img (nested in the zipfile) would have been flashed, too. Maybe I can try fastboot formating the product partition. Can't hurt. Thanks again!
Edit: Just found this thread where you also contributed. I'll try to flash that partition with the partition.img and see what happens. I just want to reset it to stock.
superchilpil said:
As far as I'm aware, the only way currently to write to the product partition is to fastboot flash it. I've went as far as to modify TWRP fstab to mount it in recovery and use the file manager to replace the bootanimation only to have it either never write properly or for it to "correct" itself. Not sure which happened.
Click to expand...
Click to collapse
I flashed product.img first and it rendered the phone unbootable... corrupt. I then went back into TWRP and wiped system and ran the flash-all script in fastboot and re-rooted. The net result is the product folder is unchanged. Everything is up and running just fine. That folder is just untouchable for me so far. Next I will format data and re-flash. I didn't fully understand what you meant about the custom kernel being the solution but so far EX is not working. May reach out to flar2 and see if he can make some kind of change to his kernel to support mounting this partition? Thanks again.
v12xke said:
I flashed product.img first and it rendered the phone unbootable... corrupt. I then went back into TWRP and wiped system and ran the flash-all script in fastboot and re-rooted. The net result is the product folder is unchanged. Everything is up and running just fine. That folder is just untouchable for me so far. Next I will format data and re-flash. I didn't fully understand what you meant about the custom kernel being the solution but so far EX is not working. May reach out to flar2 and see if he can make some kind of change to his kernel to support mounting this partition? Thanks again.
Click to expand...
Click to collapse
Yeah I have yet to be able to mount the product image to modify it, but I haven't tried all that much lately. I'm pretty sure it's fixable with a kernel edit but that's beyond my ability, and even if I could I have a 8 year old laptop that wouldn't be able to build it.
What are you trying to accomplish? The bootanimation?
Sent from my Pixel 3 XL using Tapatalk
superchilpil said:
Yeah I have yet to be able to mount the product image to modify it, but I haven't tried all that much lately. I'm pretty sure it's fixable with a kernel edit but that's beyond my ability, and even if I could I have a 8 year old laptop that wouldn't be able to build it. What are you trying to accomplish? The bootanimation?
Click to expand...
Click to collapse
No, I see boot animation in that folder, and yes we all used to use it, but this time it's just an apk from apkmirror that wrote to that system partition (don't ask me how) and now I can't uninstall or update it. com. breel.wallpapers18. I tried to uninstall it using pm uninstall, but it uninstalled it for user 0 so it remains as a system app, and not available to me. I can't uninstall it completely or upgrade... or even use it! It's just a fk'in set of Google live wallpapers I like, but now want to re-set. Waay too much time spent on this so I'm (just about) ready to flush and start over. Every year Google makes it harder for us (fans) to customize our own phones. wtf? Pissed.

TWRP unable to mount /system and /data

As the title says, I can't get TWRP to mount any useful partitions like /system and /data. It seems to be a common problem according to the issues page on GitHub, but does anyone have any kind of workaround for this?
Matthew98405 said:
As the title says, I can't get TWRP to mount any useful partitions like /system and /data. It seems to be a common problem according to the issues page on GitHub, but does anyone have any kind of workaround for this?
Click to expand...
Click to collapse
Are you on Android 10? There is no TWRP yet, period. Lots of threads and comments in the actual TWRP thread. Besides that, /system is locked down in 10.

Categories

Resources