Issue with SD card mount point - Xiaomi Redmi Note 3 Questions & Answers

(Please delete thread)
(Was having issues with permissions - changed them via ROOT:/mnt/media_RW/{...}/ and no longer an issue)

Related

[SOLVED]CM74DX2 RC1 - Installed apps disappear

I seem to have issues with CM74DX2 RC1 (and also with RC0) where apps will disappear after a reboot. Sometimes, another reboot fixes it or a reboot into recovery and clearing the cache fixes it.
I never experience this with other ROMs like Eclipse, so I'm wondering what is causing this? They are apps that reside on my external SD card. But, it's not all of the apps on the external SD card that disappear. Sometimes it might be as little as 5 of them and sometimes 20, but not all of them at the same time. Also, it's NOT always the same apps.
Short of moving them to internal memory, is there another fix for this? And why does it seem to manifest itself so much on CM7 but not Eclipse?
Thanks!
UPDATE: Figured out the issue. What I discovered was that the X2 was complaining that the SD card was mounted read only. However, with Root Explorer, I could make changes IF I remounted it R/W, which was strange since it should always be mounted R/W.
I decided to do a full disk check from Windows on the card and it found errors and fixed them. Since then, no issues every time I reboot with apps disappearing.

[Q] /mnt/sdcard/ is mising

Hey folks,
first of all, I'm sorry if my following problem has already been discussed elsewhere in this forum, but I wasn't able to locate a thread or post that fits my exact issue as I don't want to mess up another thread with this.
So here is my problem:
I've recentally updated the resurrection remix rom from v1.9.1 to v2.1 on my SGS2. My phone boots up normally and works like a charm. But then I mentioned that both of my music-apps (poweramp and stock-player) are showing every song twice, as there would be file duplicates. So I checked the content of my external sdcard (where I put my music on) with both the stock-file-explorer and ES file explorer and found out, that my external sdcard wasn't mounted in /mnt/sdcard anymore but in /mnt/emmc and when I clicked on the sdcard-icon in the stock-app it only showed me my internal storage. With ES file explorer I can't access my external sdcard at all. I already plugged the sdcard out of the device, rebooted, plugged it back in and rebooted again. But nothing has changed. Further I've taken a look with MyPhoneExplorer and figured out, that the folder /mnt/sdcard doesn't exist anymore (creating it by myself failed) while /mnt/emmc was still there. Long story short, here are the facts:
/mnt/sdcard --> doesn't exist anymore
/mnt/emmc --> shows the content of external sdcard
sdcard-icon in stock-file-explorer --> shows internal storage
ES file explorer --> can't access sdcard at all (maybe I'm too stupid to use it)
music-apps --> show all the files doubled
Please help me, what can I do to get my external sdcard back at /mnt/sdcard and the music-apps to show every file only once?
let's just talk about the mount points first:
on stock roms, the internal sd card is mounted as /sdcard/ and the external sd card is /sdcard/external_sd/
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
in recent cm9 builds, suddenly those mount points were reversed, which does not make much sense in my opinion.
with the jump from ressurection 1.9 to 2.1 you might have just hit that switch. have you performed a full wipe before and/or after flashing the new rom? maybe that'll do the trick
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
Click to expand...
Click to collapse
Actually that's the case. But what is mnt-directory good for then, if there already are folder providing the content of internal storage and external sdcards? and just btw. wikipedia says that emmc stands for embedded multimedia card and this was invented to be used as an internal storage, that's confusing me.
have you performed a full wipe before and/or after flashing the new rom?
Click to expand...
Click to collapse
I followed the installation guide very strictly and performed the wiping and factory resetting before and after the flashing as instructed.
But if the files are where they should be, why is my music indexed twice no matter what I do?
ps: I managed to access my external sdcard with ES file explorer after doing an analyse of the sdcard through the manager-option of ES file explorer.
Unfortunately there doesn't seem to be a solution for the problem, beside waiting for the next version of the rom. But to those of you who may face the same or a similar problem, here's a little workaround:
In poweramp you can define the folders to scan, so just allow it to scan only /emmc/ and the doubled files will disappear. Unfortunately this is not possible for the stock-player. Maybe this is helpful.
i never bothered to look up emmc and just assumed the "e" stood for external.
if it stands for embedded it would actually make sense to switch the mount points.
the fact that one device can be accessed using several paths, e.g. /sdcard/ and /mnt/sdcard/ is a linux thing. same thing is present on pcs, servers and embedded systems (video game console, set top boxes, mediaplayers...). the mount point /sdcard/ is for convenience.
the "picking up files twice" issue you have with your music probably comes from some mount problem. but here's an idea:
in any music player, find a song that is present twice in a row, and look at its details. you should be able to find the full filename including the folder structure. then you will know exactly, what causes the duplicates. it might be that your card is mounted in some other folder as well.
other than that, as you said, it might be best to wait for the next rom revision, or get your post count up and post in the development thread directly, where they can probably help you. if that is a general bug of the rom, i guess you are not the first to realize it and people should be working on it as it sounds really annoying.

[Q] ext_sd/sdcard2 WAS working, now it's not mounted! (But visible in TWRP) HELP!

Ok, so I went to TWRP and flashed a .zip (Dual_Core_Mod_Ultimate_v2.1) from sdcard - I wiped cache/dalvik before I installed the .zip
After a reboot, sdcard2 worked fine, but the zip didn't seem to stick - so I repeated the same exact process.
Now, sdcard2 is blank. In Root Explorer, sdcard2 is showing the same memory usage as sdcard. And under Settings - Storage, it shows Storage card memory as unavailable, and when I click "Mount storage card" it does nothing.
In TWRP (It's 2.1.8 - the one that came with RegawMOD) I went to Mount and checked Storage card, and was able to see the files on it (sdcard2)
So, why can I see it in TWRP but not in Root Explorer?
I'm rooted, HTC Dev Unlocked, on Stock rom (1.3.651.1) HBoot v1.12
Someone please help me/tell me the steps so I can access my ext_sd again through Root Explorer! I need help! - zmag
Edit: When I boot into TWRP, click Mount, there's a checkbox on Cache and internal - storage card is unchecked. If I check it to mount it, I can see the files on my ext_sd; but ONLY in TWRP. Again, it used to work perfectly fine, but now I can't get it to mount when Android Stock rom is running. Root Explorer shows sdcard2 in the directory list, but when I open it, it's blank. And it shows the same GB used/free as sdcard (sdcard being the internal memory)
And for what it's worth, the Dual_Core_Mod_Ultimate_v2.1.zip WAS working fine, now it doesn't seem to be sticking anymore.
And I was hoping if I left the checkbox marked for the external sd in TWRP and rebooted, it would fix it - but it's not.
I've tried searching the forums already, and came up desperate to solve this. And I was gonna buy a 64 gb sd card today too! WTH Thanks in advance if ANYONE has experienced this! - zmag
Edit 2: I just installed the latest version of TWRP via GooManager to see if it would help, and it didn't. The only difference I noticed is when I rebooted into TWRP, the external sd box was already checked, unlike in v2.1.8, where I had to check it myself under the Mount option. I'm really hopeful someone can help me figure out what's wrong here... - zmag
---
Edit: NOT SOLVED!
Here's how I THOUGHT fixed this. I noticed that in TWRP, I could see the files via it's Advanced - File Manager under sdcard2, but NOT ext_sd...
So, I decided to try "Fix Permissions" as a last resort, and voila! It worked! After reboot, Superuser asked for access again to Root Explorer (and a few other apps) which I obviously granted. But thankfully, all is well now.
(I can assure you I was nervous to say the least!) - zmag
Edit 2: Well it seems that the same exact thing is happened. In TWRP, sdcard2 shows the files, but ext_sd is nothing. And, Root Explorer is blank in both, but RE shows the same date/time/GB space in sdcard & sdcard2
WHY does this keep happening? PLEASE HELP!
---
Ok, I flashed Dual_Core_Mod_Back_to_Stock_v2.1.zip - seems all is well.
Lesson here: DON'T INSTALL DUAL_CORE_MOD_ULTIMATE_V2.1.ZIP... EVER AGAIN!

[Q] SGS III - ext. SDCard suddenly ReadOnly

Today I found - after trying to make a foto - that my SDCard doesn't seem to be not accessibl anymore - at least the cam app says this. After some ivestigation I found out that the SD is still accessible but all files and folders are in read-only mode. I checked the perms with ESFileExplorer and found no hint why (775 was set correctly) however the properties dialog of differnt file managers always says read-only. I tried to access, remove and create files/folders via pc o that card (format FAT32) w/o any problems. So I made a backup and format the card within the phone and what shall I say - it seems to work again.
Does anybody have an idea what this may have caused?
SGS III + JB 4.1.2 I9300XXELL5_I9300VFGELL1_VD2 + XXELL5_JKay_Deluxe_Stock_v14_5_4 + rooted with SGS Toolkit
Thanks a lot!!!
BTW: I used the search function already but I did not find an explainantion which matches fully to my problem
Possibly found a reason
Hm, may have found 2 possible reasons for that behaviour:
- SolidExplorer (strange behviour as after start of it a lot of files partly w/o filname (only . or @ or y) are displayed, partly not visible in other file managers and after some time I can't delete/change no file on that card anymore)
- Too high value vor SDBooster (used 1024 now reduced to 512) - but for my understanding this should not be the reason as it was working for a long time w/o problems.
Will investigate later and will inform about the outcome...
Help on this thread please.
Same problem here.. My torrents, my camera, sms backup and restore, titanium backup, everything else specially those i set as daily scheduled activities always end up having unsuccessful results..
The problem can be worked around by unmounting->re-mounting sd-card..... every 5 minutes or so...
HELP!!
format it
Why didn't I think of that in the first place? Geez..
So anyone here who really understands the problem?
Note(2)worthy response using Tapatalk HD.
I have exactly the same issue as you, at the very beginning, i notice this problem when i was taking photo and said my sdcard is not accessible, it then changes to use internal storage.
Let me list out my symptom and solution:
Symptom:
1. The sdcard looks fine, no special error thrown during android startup.
2. Just after startup, i am able to write file /copy file to the external sdcard
3. After a while, the external sdcard becomes read only. I can view/copy files from sd card, but not write/copy file to the external sdcard.
4. No apps can modify the files in external sdcard
5. By using ADB shell, type mount, and you will notice the /extSdCard is mounted as "ro", which means read only.
Description:
If you have the above symptom, your external sdcard probably have some problems...
When I was checking the mount details on step 5, i noticed that the default options is onerrors=remount-ro , it looks like the external sdcared is remounted as read-only because it has problem on external sdcard....
Solution:
I put the external sdcard to a Windows PC, and run scan disk (right click the drive >"properties" > "tools" > Check Now).
It really find problem on the FAT of the external sd card!!! It fix automatically and my external sd card is working fine now.
In my case, it doesn't need to root or format the sdcard.
Good luck!
.DayWalker. said:
Today I found - after trying to make a foto - that my SDCard doesn't seem to be not accessibl anymore - at least the cam app says this. After some ivestigation I found out that the SD is still accessible but all files and folders are in read-only mode. I checked the perms with ESFileExplorer and found no hint why (775 was set correctly) however the properties dialog of differnt file managers always says read-only. I tried to access, remove and create files/folders via pc o that card (format FAT32) w/o any problems. So I made a backup and format the card within the phone and what shall I say - it seems to work again.
Does anybody have an idea what this may have caused?
SGS III + JB 4.1.2 I9300XXELL5_I9300VFGELL1_VD2 + XXELL5_JKay_Deluxe_Stock_v14_5_4 + rooted with SGS Toolkit
Thanks a lot!!!
BTW: I used the search function already but I did not find an explainantion which matches fully to my problem
Click to expand...
Click to collapse

External memory card undetected

Hi guys,
My external memory card has all of a sudden become undetectable. Inside root explorer it appears as a file and not a folder. When i try to see its permissions it is set to read only. I changed it to read write but still its not detectable. Moreover it changes to read only on every reboot.
I was on Resurrection Rom v 5.10 so i updated to v5.14 with full wipe. Still the issue remains.
I have searched on google and it appears to be something related to kitkat. I tried a few solutions like running 3rd party media scanners or editing the permission.xml but all in vain
I tried installing other kitkat roms like Neat Rom v5.8 ..now i can see the extSdCard as folder but when i open it its blank...Moreover i can see the permissions set as rwxrwxrwx in root explorer,but if i manually go to set permission for the folder it gives a popup saying "extSdCard permission cannot be set because the file system is read only"
I tried installing stock JB rom via odin but still it didnt help ..
If i try to mount external Sd card from cwm it gives error saying"Can't Mount "
Note: I tried 3 different SD cards and all went undetected where as they were detectable on other phones.
Need help guys.
Attaching few screenshots for better understanding
If you are unable to read the card's data then consider it lost. Connect it to your PC in USB mass storage mode, it should appear as a drive. If you can read the data, take a backup else leave it. Now format your external card using windows.
It should fix the issue for you.

Categories

Resources