Related
Hi,
does any one have any idea why I can't browse the filesystem on my SGS2? I've had the phone since June last year and AFAIK I've never been able to do it. Could an app I installed after purchase be the problem? I've used My Files and some other browser from the Market, both with no success. As soon as I open the app it freezes and I have to force termination. The default folder when opening the app is sdcard so I've tried unmounting it, then opening the app. Did not work. I tried reformatting the sdcard, remounting then opening the app. Did not work. Is this by any chance a known problem? I've been putting off making this post for so long but as of recent I'd really need access to browse the files on my SGS2 so I need to resolve this.
Please help.
Thanks in advance.
Noone, seriously? What the hell.
Sheeptar said:
Noone, seriously? What the hell.
Click to expand...
Click to collapse
I don't think it's so hard to believe that no one has experienced this issue, since it sounds rather odd. I've certainly never heard someone speak of such a problem.
When you say sdcard, are you referring to internal memory or physical microSD card? If the latter, have you tried to remove it?
Are you on a stock ROM, if not, does flashing back to one and factory resetting fix it?
Does Settings --> Storage list everything as expected?
How many file managers have you tried? Maybe try one like Total Commander http://www.ghisler.com/android.htm
Can you access the memory when your phone is connected to a computer, and if not, how about with USB debugging enabled?
Sheeptar said:
Noone, seriously? What the hell.
Click to expand...
Click to collapse
XDA developers forum .
You ask a question and if some kind soul understands it and has an answer you get a reply .This is not always straight away as the question may not have been understood or non with the answer have actually been online . Or as in this case its not a known problem .
You have the choice of factory reset and wipe all data .
jje
Use Astro file explorer... available from the market.
https://market.android.com/details?...?t=W251bGwsMSwxLDEsImNvbS5tZXRhZ28uYXN0cm8iXQ..
As to your problem, i've never used the default file explorer, so I've never had it crash. On mine, "my files" is on the phone itself its part of the default stock rom. Have you tried just leaving it on there?
Whoa, thanks guys. I'd just nice to see atleast some feedback. I thought that this can't be that rare. Additional information:
1. I used My File, Astro File Manager, File Expert.
2. I meant SD card not internal memory.
3. I'm on stock SGS2 rom, never flashed anything. [worried about the warranty]
4. Storage lists everything as it should.
5. I can access both internal and sd card memory on the computer via USB.
How do I do a _complete_ factory reset? Is there a guide here and if so can you please point me to it?
_ _ _ _ _ _ _ _ _ _ _
BREAKTHROUGH: I tried this just now. While My Files and Astro File Manager both crash when I start them, File expert does not. That is because both My Files and Astro File Manager start within /mnt/sdcard!! File Explorer gives you a choice whether you want to browse the internal memory or sdcard _before_ it opens anything by itself. The other two just go to /mnt/sdcard from the start. If I choose SD Card in File Expert it crashes aswell. When I say it crashes I mean it stops responding and I have to double tap the home button and kill the process [cpu @ 50%].
So it seems someting is wrong with the sdcard! But I can access it from the computer easily. I've transfered movies and music and were able to play everything off it! Any idea what I could do next?
/sdcard/ is internal memory, microSD (physical card) is /sdcard/external_sd/
Factory reset is located in Settings --> Privacy --> Factory data reset
More information if it helps. Please remove spaces after http in links, I'm not allowed to post them yet!
In File Expert which lets me atleast browse internal memory I found the following. It stops respoding when:
1. I try to enter /sdcard
2. I try to enter /mnt/sdcard
3. I try to enter sd card via an option given to me by File Expert http ://shrani.si/f/5/N/2GXb4080/default.jpg -> Screen shot, please remove paste and remove a space after http, I' not allowed to post links yet.
In My Files the default dir when starting the app is /sdcard. App stops respoding here but the circle in the screenshot does rotate. http ://shrani.si/f/n/KQ/3jjTetat/default-my-files.jpg -> Screen shot, please remove paste and remove a space after http, I' not allowed to post links yet.
In Astro [the program is very slow from the start] the default directory when choosing File Manager is /mnt/sdcard. Programs does not respond, the there is a little circle on top that does "rorate". http ://shrani.si/f/3p/108/1vQl0XtZ/default-astro.jpg -> Screen shot, please remove paste and remove a space after http, I' not allowed to post links yet.
This is what I can do, browse what File Expert called Internal memory. And under this option I can see folder /sdcard. Which I cannot access without the program becoming unresponsive.
1. I choose My Files here -> http ://shrani.si/f/3M/j6/3JCgef6Q/myfiles.jpg
2. I choose Internal Phone Memory here -> http ://shrani.si/f/3w/Vy/3YhHtvs6/internal-memory.jpg
3. Folder /sdcard which I cannot open here: http ://shrani.si/f/1o/Bf/396L3J0F/sdcard.jpg
Could this all be a permissions problem? Thanks for helping everybody!
It could be. The folder /sdcard is actually a symlink to the folder /mnt/sdcard so perhaps you could see if something that accessed that by default had a problem. From memory, ES File Explorer defaults to /mnt/sdcard and has a free version.
If the symlink at /sdcard has screwed up permissions and you don't have a rooted device, which it sounds like you don't nor would lie to, then it may not be possible to fix the one file.
I tend to think that if its a file permission then it isn't the actual mount point at /mnt/sdcard since everything at that location, user settings, pictures, etc, have normal user permissions. A symlink behaves such that it has permissions for everyone but the thing that its pointing at is what ends up having the final say. A symlink with messed up permissions can easily cause a problem though.
The permissions for the symlink /sdcard is lrwxrwxrwx with root for the user and group. The first string of letters gives it full access that I was talking about.
The permissions of /mnt/sdcard is drwxrwxr-x with system for the user and sdcard_r for the group.
They look like this at the command line if you have adb and go to a shell, or have ssh on the phone, use ls -ld to look at each location. The relevant part is the string of letters after the command and the "root root" and "system sdcard_r":
Code:
# ls -ld /sdcard
lrwxrwxrwx 1 root root 11 Mar 4 10:54 /sdcard -> /mnt/sdcard
# ls -ld /mnt/sdcard
drwxrwxr-x 52 system sdcard_r 32768 Mar 4 10:56 /mnt/sdcard
try to use root explorer..
if still not work, try to change ROM..
Thank you PantsDownJedi! What's the best way to check permissions? I tried doing it in Windows by using USB storage, but the folder that opens [one for internal storage and one for sdcard] does not have any of the folders that I saw when using File Expert.
http ://shrani.si/f/3M/Bj/41qTwEsd/capture.png -> Please emove space after http
external_sd is empty!
Okries, do I need a rooted phone?
This is what I get, PantsDownJedi. Does it help?
Code:
~/data $ ls -ld /sdcard
lrwxrwxrwx 1 root root 11 Mar 5 09:19 /sdcard -> /mnt/sdcard
~/data $ ls -ld /mnt/sdcard
drwxrwxr-x 39 system sdcard_r 2097152 Jan 1 1970 /mnt/sdcard
Bump. I really don't want to take my phone in for a service.
Well to answer my own question... It wasn't the external SD card that was the problem but rather the internal one. Found out, that even after a factory reset and with ICS freshly installed and with the external SD card removed, the freshly installed system could not calculate how much space each category [Music, Apps, etc] took up. So I deleted everything in USB storage and now it works great.
While using WiFi Explorer to attempt to delete a file from my external sdcard I seem to have deleted the whole external sdcard directory on my stock Rezound. I have tried factory reset, but that doesn't add the missing directory back. As it is now my external card won't mount. I'm sure that there used to be a directory called ext-sdcard or something similar, but there isn't anymore.
If someone could please give me a very detailed walk-through of how to fix this, I would be very grateful. I'm 65+, not too terribly up on this stuff, but I am pretty good at following exact directions to copy and paste when it comes to rooting, etc.
Thanks in advance.
Can't say that I have been in that situation, so I'm not really sure what you deleted. If you just deleted the shortcut, then your data might still be there. Just so we're on the same page, do you have ES File Explorer installed? If not, can you download it from the Market?
Once you launch it. It should take you to the Internal sdcard. Do you see any folders or files? Look for "ext_sd". Might be wrong, but I believe that is just a shortcut to your External sdcard, not your actual card. If that folder is not there, hit the menu button, select New, folder, and name it... ext_sd
If that doesn't work or you do not care about the data on your cards, you could always try reformatting the sdcards. (Just be warned. If you do that, you WILL lose any data that might on the cards, such as pictures.) It should be on the same settings menu as the factory wipe was. First try "Erased SD card". If it is greyed out, select "Unmount SD card" first. If you still can't access the card, try erasing phone storage. Once reformatted, it may reload your ext sd card mapping.
I had a similar problem, since there is /sdcard and /sdcard2 in the root (top-level) directory I figured those were the actual mount points and /mnt/sdcard and /mnt/sdcard/ext_sd were symlinks. It turns out it's the exact opposite so I essentially deleted about 25GB worth of stuff I had on there.
Essentially you need to recreate the directory either from a file brower with root access (such as es file manager) or from the command line.
Run this command via either adb shell or a shell/terminal on your phone when you have root access: mkdir /mnt/sdcard/ext_sd
The mount command shows where it's mount point actually is. Like said above it is in /mnt/sdcard/ext_sd
/dev/block/vold/179:65 /mnt/sdcard/ext_sd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0202,dmask=0202,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
"Incorrect syntax" now
brando56894 said:
Essentially you need to recreate the directory either from a file brower with root access (such as es file manager) or from the command line.
Run this command via either adb shell or a shell/terminal on your phone when you have root access: mkdir /mnt/sdcard/ext_sd
Click to expand...
Click to collapse
I really appreciate the help. OK, I unlocked it, got root and tried to run the command "mkdir /mnt/sdcard/ext_sd" (without the quotes) with adb. The message I received back was "The syntax of the command was incorrect".
Hopefully I am a lot closer than I was.
If you don't mind, can I make a suggestion? Have you ran the latest .22 leaked RUU or any updates prior to this? Maybe look into Cleanrom 4.2(if you flashed the leak) or Cleanrom 1.7.5(if no leak). May be worth your time and patience to do this instead, as time is money.
Got it working - Thanks everyone
Prize goes to the suggestion of installing the leaked 4.0 Took me all day to figure out how to use adb, (it's hell to get old, kids), but finally all the stars were aligned and voilla. ICS kicks butt! Tomorrow I will see if I can remember how to unlock this thing again and install CleanRom. Again, thanks to all the helpful and friendly folks out there.
Glad you got it fixed!
Hi,
I recently rooted my galaxy s2, GT i 9100 that was running with ICS 4.0.3 with CF root kernel SGS2-XX_XEO_LPQ-v5.4-CWM5, and installed Resurrection and remix 2.6.1 ROM.
However, now my external secure storage data are not accessible, though there is a file "external_sd" under the "sd card" in the OI file manager. I used some other file managers like X-Plore, ES file manager ect but for no avail.
And, the external sd card is not shown under "storage" option in the phone too. Phone galary, music players etc also don't recognize any of the videos or photos saved in the external sd card. Please somebody help me solve this issue..
Regards
Anuruddha:crying:
Look for your external in /mnt/emmc/.
have a look at this thread: http://forum.xda-developers.com/showthread.php?t=1536568
But if you bind external SD from /mnt/emmc -> /sdcard/external_sd you will not be able to save photos on external by stock camera app.
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
przemcio510 said:
Look for your external in /mnt/emmc/.
Click to expand...
Click to collapse
Hi,
it is not there, I have checked every folder..
thanks
rajaspidey said:
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
Click to expand...
Click to collapse
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Yes, from GPlay.
anu7113 said:
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Click to expand...
Click to collapse
I am using ES file manager and X-Plore file managers and OI file managers. And I can see a folder "external_sd" in /mnt/sdcard (/mnt/sdcard/external_sd). However, when I open up external sd, it is empty and no data available, it is just an empty folder.
One more thing is, earlier(before root and new ROM), when I opened the "Phone Storage", the external sd card was visible with available memory space etc, but now there is nothing to be seen as such
Also, how to find terminal emulater? I have no idea about it
If you have any data on card, copy it to PC and then format it to FAT32.
Terminal = adb.
przemcio510 said:
If you have any data on card, copy it to PC and then format it to FAT32.
Terminal = adb.
Click to expand...
Click to collapse
Excuse me, this a " micro external sd", and cannot mount on any of the slots in the computer...and cannot accesses using USB also, as any of the file explorers does not read the data in the memory card..
You don't have any adapter?
I will try for an adapter..and try your way also...
thanks
It is a bug with some cf root kernels
Flash your stock kernel, then either use a fixed cf root or better root with method 1 in my signature
Sent from my GT-I9100 using Tapatalk 2
Be careful: FACTORY RESET can delete your data in the external memory card too.
Phil3759 said:
It is a bug with some cf root kernels
Flash your stock kernel, then either use a fixed cf root or better root with method 1 in my signature
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Hi,
I got a memory card reader and mounted the external memory card and browsed the folders, but to my amazement it has no data, and that is why the videos and images were not shown in the gallery.
I think this is what has happened;
On the day I rooted the phone and installed the new ROM, the phone was not getting GPRS and then I did a factory reset on the new ROM. However, before this reset, all the images and videos were available and accessible. While doing this reset the phone got dead and then I removed the battery and re booted after some time, the phone re booted with the loss of some applications, and after this incident the I didn't see the images and videos stored in the external memory card. I never thought that a factory reset would destroy my secure data in the external memory card, but unfortunately it had happened. Can anybody believe this??? However, I re flashed the new ROM again and searched for the data in my external memory card as I never thought that the factory reset had deleted the data in my external memory card too.
Now, I am clear there is nothing wrong with the phone, ROM and kernel, it is the FACTORY RE SET that deleted all my data in the external memory card, now I can see that external memory card is already there but all blank.
I thought that this is a problem of not reading the external memory card,but that is totally wrong. Since there was no data, I was mistaken that data was not accessible(because, who believes that external sd card will be deleted by a factory reset).:crying:
Need a program to open .sbu files(Samsung Back up)
Hi,
Anybody know a freeware to open samsung back up "sbu" files???
anu7113 said:
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Click to expand...
Click to collapse
ROOT EXPLORER is an paid app can be found in google play
Use ES File explorer / Solid explorer , its free & does the same work (do much more than root explorer)
rajaspidey said:
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
Click to expand...
Click to collapse
+1 :good:
it has perfectly and instantly worked for me...
anyone know what is the xperia series external sdcard directory in full path?
in samsung devices, the directory is like: "/mnt/extSdCard/"
External storage is /storage/sdcard1/
Internal storage is /storage/sdcard0/, there also is /storage/emulated/0/ and /storage/emulated/legacy/. They all lead to the same directory.
Usbdisk storage is /storage/usbdisk/
If you go to the directory /mnt/ext_sdcard/ this will work too but this is displayed as a shortcut to /storage/sdcard1/
The same is for internal storage /mnt/sdcard/ is a shortcut to /storage/emulated/legacy/
And also usbdisk storage is /mnt/usbdisk/ is a shortcut to /storage/usbdisk/
SÜPERUSER said:
External storage is /storage/sdcard1/
Internal storage is /storage/sdcard0/, there also is /storage/emulated/0/ and /storage/emulated/legacy/. They all lead to the same directory.
Usbdisk storage is /storage/usbdisk/
If you go to the directory /mnt/ext_sdcard/ this will work too but this is displayed as a shortcut to /storage/sdcard1/
The same is for internal storage /mnt/sdcard/ is a shortcut to /storage/emulated/legacy/
And also usbdisk storage is /mnt/usbdisk/ is a shortcut to /storage/usbdisk/
Click to expand...
Click to collapse
Don't forget /Removable/sdcard1/
3mL said:
Don't forget /Removable/sdcard1/
Click to expand...
Click to collapse
I don't have that directory. What rom are you on? I would assume that this would be the same even with stock rom
Im running the latest CM10.2 nightly
SÜPERUSER said:
I don't have that directory. What rom are you on? I would assume that this would be the same even with stock rom
Im running the latest CM10.2 nightly
Click to expand...
Click to collapse
I'm on stock.
Hey All,
Just bought the pro version of Root Cleaner to show some developer luv!
[Q] Can you help me find the path to my external storage for cleaning.
I have tried:
/storage/sdcard1/
/storage/removable/sdcard1/
/sdcard1/
Sadly all the above have failed.
In terminal I did a mount and it pointed to: "/storage/sdcard1/" but this still is not working.
I'm on a Sony Xperia Z Ultra running 4.4.2
T.I.A
PamelaGirl said:
Hey All,
Just bought the pro version of Root Cleaner to show some developer luv!
[Q] Can you help me find the path to my external storage for cleaning.
I have tried:
/storage/sdcard1/
/storage/removable/sdcard1/
/sdcard1/
Sadly all the above have failed.
In terminal I did a mount and it pointed to: "/storage/sdcard1/" but this still is not working.
I'm on a Sony Xperia Z Ultra running 4.4.2
T.I.A
Click to expand...
Click to collapse
Is the sdcard mounted? Go to system settings>Storage and look if you can see the sdcard. If its mounted you should a field with amount of free storage.
If not then there's a field that says "Mount SD card".
You can also look with a terminal.
$df
Are you sure you also have busybox installed?
selinux could also be bugging you. Set it to permissive and see if it does anything.
Thanks SUPERUSER for the response!
Yes, the SD card is mounted and I see it at system settings>Storage. I photos and music and TWP backups without any problems.
Busybox pro is installed at /system/xbin
Terminal sees it at: /storage/sdcard1
I see in terminal: /mnt/media_rw/sdcard1: Permission denied
"selinux could also be bugging you. Set it to permissive and see if it does anything." not sure how to follow you on this one.
T.I.A.
PamelaGirl said:
Thanks SUPERUSER for the response!
Yes, the SD card is mounted and I see it at system settings>Storage. I photos and music and TWP backups without any problems.
Busybox pro is installed at /system/xbin
Terminal sees it at: /storage/sdcard1
I see in terminal: /mnt/media_rw/sdcard1: Permission denied
"selinux could also be bugging you. Set it to permissive and see if it does anything." not sure how to follow you on this one.
T.I.A.
Click to expand...
Click to collapse
Download this file:
https://forum.xda-developers.com/attachment.php?attachmentid=3774130&d=1465207418
Open the app and set to permissive
edit:
reboot after setting to permissive
Have you granted root explorer root access?
Nice!
Thanks for the download!
I installed and set to permissive.
Yes Root Explorer has root access.
I notice no difference, do I need to reboot my device?
T.I.A
PamelaGirl said:
Nice!
Thanks for the download!
I installed and set to permissive.
Yes Root Explorer has root access.
I notice no difference, do I need to reboot my device?
T.I.A
Click to expand...
Click to collapse
oooh... I misread the app title. I thought you purchased a copy of "Root explorer"
I downloaded root cleaner.
Upon first start the "External storage" is empty.
I went to settings and scrolled down to "External SD location" and filled in "/storage/sdcard1". Closed the app and reopened it.
Clicked the "info" tab and "External storage" is showing.
(picture in Attached files)
Do you have that setting filled in the same?
Sweet SUPERUSER!
I followed the steps and it worked. You helped!
While I still have your ear what exactly is the Selinux apk I installed?
T.I.A
PamelaGirl said:
Sweet SUPERUSER!
I followed the steps and it worked. You helped!
While I still have your ear what exactly is the Selinux apk I installed?
T.I.A
Click to expand...
Click to collapse
selinux is a thing nsa invented. And came to action in android kitkat due to the new feature that allows mutiple user accounts.
selinux is used to secure your data so that the other user can't access your data from their accounts. And probably used for many other things in android.
One negative thing is that the external sdcard was now only "read only".
I remember setting selinux to permissive was one way to enable full system read write to external sd card. And then there are some apps that change some string to enable write access for those who don't have root.
If you don't need selinux you can remove the app.
Thank you for the quick responses, it got my three week issue resolved quickly and I got an education lesson too! Very much appreciate your help!
SUPER THANKS to SUPERUSER!
Hey.
I am no stranger to Android hacking so I downloaded newest ROM for my Doogee DG280 (mt6582).
I flashed it, then backed up using SPFlashTool, processed using MTKDroidTools to mod boot and recovery
and from this new CWM I installed SuperSU update from ZIP file.
So far so good, BUT:
Once any application requests root (i.e. calls "su"), it loses the rights to READ from sdcard (actual or emulated, doesn't matter).
I am emphasising READ because common problem on Kitkat is that the apps cannot write on SD card, which is easily
fixed by the SDFix app (tried it - no help).
So basically, all my apps can now read/write sdcard, but once an app requests root access, from that moment it can only write
to the SD, but not read from it. This creates lots of ****ty situations - for example, I download a file to an SD card and want to
copy it to /system/media/audio using Total Commander. So I do this, Total Commander says it needs to remount the partition.
I click Yes, it requests the root, remounts the partition (success) to rw and then tries to copy the file from SD but because it now
has root, it has lost the rights to actually read the file I want to copy.
Funny thing is, when I connect USB debugging and use ADB, the ADB is rooted as well and it CAN read from the sd card.
So there is a workaround for me now to use Android terminal, connect to the adbd on localhost and execute all the commands
I need but that is VERY nasty and of course it only works for manual operations.
Many root apps use sdcard to store data, for example Lucky Patcher stores downloaded patches on SD card. But with this bug
it cannot.
Anyone encountered this problem? Any solutions?
Try flashing this zip in recovery. Remember to take a backup before flashing. Did wonders for my phone running on MTK6582 chipset on KK ROM.
https://mega.co.nz/#!200y1KbA!-Z9tBbQrOAOCxP3Kis_c1idJQAMytR0O7AgGsuW3osY
no help
Unfortunately, didn't help. I examined the package and it does the same as SDFix app (which I already tried). But all these apps focus on giving write access to SD cards for ordinary apps.
I have a different problem - my apps actualy CAN read/write SD card right to the moment when they request root (call "su" binary). After that, they lose read access to the card.
Have you tried installing Busybox?
Maybe this helps: use SuperSU, disable the "mount namespace separation" option in SuperSU's settings. Reboot.