Hi,
is it possible to save the screenshots (vol- and power) into the internal storage?
Thanks.
I know such a change will not surive reboot, but how could I mount the int. storage (/dev/block/vold/179:31 on my phone) in /sdcard and ultimately in /mnt/sdcard properly? I did 'mount /mnt/emmc /sdcard' and 'mount /mnt/emmc /mnt/sdcard' - then when I do ls -la /sdcard/ or ls -la /mnt/sdcard I can see the internal storage, but the Root explorer keeps saying 'The SD card is not currently mounted' and all applications I need to put in /sdcard in order to work are refusing to believe that its mounted.
Obviously I'm missing something....
Hi,
Since my last upgrade of cynaogenmod nighties yesterday on my galaxy s2, my internal AND external sdcard are not mouting anymore
I tried to understand why and I found that my /storage folder was empty. I think it should have been populated by /init.smdk4210.rc script :
Code:
...
on early-init
export EXTERNAL_STORAGE /storage/sdcard0
export SECONDARY_STORAGE /storage/sdcard1
mkdir /storage 0775 system system
mkdir /storage/sdcard0 0775 system system
mkdir /storage/sdcard1 0775 system system
mkdir /storage/usbdisk0 0775 system system
...
I tried to mount /storage/sdcard0, but without success (in fact I am not sure to have the right method).
Extract of /system/etc/vold.fstab
Code:
...
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
...
I thought that
Code:
mount /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 /storage/sdcard0
would have been sufficient, but unfortunately not (I tried with /sys/devices/platform/dw_mmc/mmc_host/mmc0/mmc0 to).
I would like to retrieve my internal sdcard content.
Thank you in advance,
Bill
Ok after some investigations it is a known bug from 20130121 cyanogen nighties.
To get back internal sdcard :
Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
You can find more information here : http://forum.cyanogenmod.org/topic/63994-cm101-internal-sd-card-dont-mount/
Problem should be solved in future cyanogen nighties release https://github.com/cyanogenmod/android_system_core/commit/7cc503720f1a8a6aa9481c5f9fd4552bc463a501
Thanks for help
Bill
deleted
HELP!
my phone shows up on my computer but only my external sd card shows up, not my internal! help me fix it! ive attached some screenshots. btw, what are you guys using to run that code? (im a noob)
i ran the commands in terminal emulator but after reboot, everything remained the same?
billdangerous said:
Ok after some investigations it is a known bug from 20130121 cyanogen nighties.
To get back internal sdcard :
Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
You can find more information here : http://forum.cyanogenmod.org/topic/63994-cm101-internal-sd-card-dont-mount/
Problem should be solved in future cyanogen nighties release https://github.com/cyanogenmod/android_system_core/commit/7cc503720f1a8a6aa9481c5f9fd4552bc463a501
Thanks for help
Bill
Click to expand...
Click to collapse
I have the same problem and would like to get my phone back up and running.
How did you solve it?
I mean, where do I have to write those commands?
I'm a noobie, so please be so kind to explain
Peter.
kreatiir said:
I have the same problem and would like to get my phone back up and running.
How did you solve it?
I mean, where do I have to write those commands?
I'm a noobie, so please be so kind to explain
Peter.
Click to expand...
Click to collapse
If you have adb on your computer (and an usb cable to connect your phone to the computer), type these commands on a terminal window :
Code:
adb root
adb shell
then (as stated in pervious post) :
Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
If you do not have adb on your computer, you may download a terminal emulatror application on your android, then type the 2nd block of commands given above.
May the Force be with you !
Erm, if you have the problem with CM10.2 20130821, this solution is sadly not working...
SD card not mounting
I have got a symphony w125 from Bangladesh. It was running afterwards. After 2/3 months I rooted it from androidkothon.com . But after some days I got a notification... "Preparing phone memory
Checking for errors"
I neglected it and thought it'll be fine soon. But it won't. When I opened ES file manager, it showed me SD card unmounted. (Both for internal & external) .I tried my 16 GB m SD card inserting again. but it again showed the same notification . Then I did once "factory reset' and once "clear eMMC". Then also the same thing happened. While running suddenly shows system ui not responding automatically turns off. Then it doesn't start until I open the battery and insert it again. How to get my storage back now...?
sir i have a spreadtrum phone its board is sp6820gb_7620 and cpu id is 8810 cpu frequency is 1ghz and ram is 512mb with mali 300 gpu,
android version is 2.3.6 and kernal version is 2.6.35.7 [email protected] #7, software version is mocordroid2.3.6.w12.20_p20.01_20130715.130506, hardware version is 1.1.0. my problem is that my phone has only 128 mb of internal memory and when i tried to edit vold.fstab to swap its memory with memory card it stopped detecting sd card when turned on but when in recovery mode sd is shown present, i think its very similar to karbonn a1+ in hardware and software part so can you please help me with my phone?
[
Help me bro's please.
I swapped internal memory to sd card using vold.fstab file replacing.And now my int storage n sd card arent mounting ????
using karbonn smart a26 mobile
Internal and external sdcard unmounted
yj121 said:
i ran the commands in terminal emulator but after reboot, everything remained the same?
Click to expand...
Click to collapse
Accidently i formated my internal sd card and external sd card , now i am unable to mount it...
Plz help :angel:
---------- Post added at 05:23 PM ---------- Previous post was at 05:16 PM ----------
shailoo said:
Accidently i formated my internal sd card and external sd card , now i am unable to mount it...
Plz help :angel:
Click to expand...
Click to collapse
I ran all codes and my device is tablet micromax funbook P560....
Plz help
Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
Hi, i have this same problem with S3 mini, i can use this same command for my device or i will brick it?
I need mount internal storage, i have 0.00 bytes :/
Thanks!!
Hi
i am new to this and trying to fix my note 1 gt n7000
it was working fine till yesterday and suddenlly the internal memory the sdcard0 stopped
it does not mount and also when i turn the mobile on a pop up comes saying cannot download as not storage available.
there are some important photos in that which i would like to recover.
please help i tried the code mentioned below in terminal emulater but when i type
it says
not found and also for the latter commands it says permission denied.
i have rooted my device.
please help.
Code:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
If you do not have adb on your computer, you may download a terminal emulatror application on your android, then type the 2nd block of commands given above.
May the Force be with you ![/QUOTE]
same problem
yj121 said:
my phone shows up on my computer but only my external sd card shows up, not my internal! help me fix it! ive attached some screenshots. btw, what are you guys using to run that code? (im a noob)
Click to expand...
Click to collapse
I have the same problem. Please help me solve it
its not working for me
billdangerous said:
Hi,
Since my last upgrade of cynaogenmod nighties yesterday on my galaxy s2, my internal AND external sdcard are not mouting anymore
I tried to understand why and I found that my /storage folder was empty. I think it should have been populated by /init.smdk4210.rc script :
Code:
...
on early-init
export EXTERNAL_STORAGE /storage/sdcard0
export SECONDARY_STORAGE /storage/sdcard1
mkdir /storage 0775 system system
mkdir /storage/sdcard0 0775 system system
mkdir /storage/sdcard1 0775 system system
mkdir /storage/usbdisk0 0775 system system
...
I tried to mount /storage/sdcard0, but without success (in fact I am not sure to have the right method).
Extract of /system/etc/vold.fstab
Code:
...
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
...
I thought that
Code:
mount /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 /storage/sdcard0
would have been sufficient, but unfortunately not (I tried with /sys/devices/platform/dw_mmc/mmc_host/mmc0/mmc0 to).
I would like to retrieve my internal sdcard content.
Thank you in advance,
Bill
Click to expand...
Click to collapse
i have tried to correct this bug on my ROM tried it hard .
its the only bug i have
so
billdangerous said:
Hi,
Since my last upgrade of cynaogenmod nighties yesterday on my galaxy s2, my internal AND external sdcard are not mouting anymore
I tried to understand why and I found that my /storage folder was empty. I think it should have been populated by /init.smdk4210.rc script :
Code:
...
on early-init
export EXTERNAL_STORAGE /storage/sdcard0
export SECONDARY_STORAGE /storage/sdcard1
mkdir /storage 0775 system system
mkdir /storage/sdcard0 0775 system system
mkdir /storage/sdcard1 0775 system system
mkdir /storage/usbdisk0 0775 system system
...
I tried to mount /storage/sdcard0, but without success (in fact I am not sure to have the right method).
Extract of /system/etc/vold.fstab
Code:
...
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
...
I thought that
Code:
mount /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 /storage/sdcard0
would have been sufficient, but unfortunately not (I tried with /sys/devices/platform/dw_mmc/mmc_host/mmc0/mmc0 to).
I would like to retrieve my internal sdcard content.
Thank you in advance,
Bill
Click to expand...
Click to collapse
i know the problem has been solved but...
i had the same issue. what i did was run the command:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
but it only takes effect after a reflash of the rom. after reboot for me, it never fixed and would never mount, but after a clean flash of the rom i was using, it seemed to mount fine. so you must reflash, as reboot does not do anything.
Cannot mount internal sd card
I just flashed my honor 4x with flyme Custom ROM
but now my phone doesn't mount my internal sd card
I tried running these commands on shell using ADB, but it doesn't fix the issue
Pleasr help me out here
Thanks
My phone is a BluLifeOne 2015. One day it stopped booting past the logo so I tried to reflash stock with QFIL to no avail. I no longer can access recovery or OS but I can boot into fastboot and boot into TWRP with the command fastboot boot recovery.img. When I try and format the system it says 0mb and can't mount data, cache or system (argument invalid). The internal storage, data, cache and system are all showing as 0mb and I've tried to change file system on all of them but it does not change the size or give me access to the internal storage. I also tried to flash a zip file but same invalid arguments everytime. Can someone help.
After reformatting (keeping the sdcard partition) and reinstalling android on my rooted Moto X, Titanium Backup stopped working saying "insufficient free space". When I check space on the device it's got plenty.
As a test, when I tried to delete /storage/emulated/0/TitaniumBackup/org.mozilla.firefox-20140326-060005.tar.gz I get the error
rm failed for TitaniumBackup/org.mozilla.firefox-20140326-060005.tar.gz, Permission denied
Click to expand...
Click to collapse
Checking the file permissions, it looks like it's writable
Code:
1|[email protected]:/storage/emulated/0 # ls -l TitaniumBackup/org.mozilla.firefox-20140326-060005.tar.gz
-rw-rw---- root sdcard_r 5048353 2014-04-10 07:58 org.mozilla.firefox-20140326-060005.tar.gz
But just to be sure, I ran
Code:
chmod 777 TitaniumBackup/org.mozilla.firefox-20140326-060005.tar.gz
Which didn't seem to make any difference
When I run mount, it appears to be writable.
Code:
/dev/fuse /storage/emulated/0 fuse rw,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
Other apps are able to write to the sdcard partition, as best as I've noticed the /TitaniumBackup/ directory is the only one not working.
Is there anything else I can try other than completely reformatting my phone?
I rebooted into recovery and opened an adb shell while my phone was in recovery.
From within recovery I was able to delete the TitaniumBackup directory with no problems.
After I booted back into normal mode, I cleared all app data for Titanium Backup from Settings > Apps > Titanium Backup and then started up the app again and everything worked!
This thing has been a thorn in modding my phone ever since I rooted it - root has no read access to sdcard0 at all.
Whenever the external sdcard is mounted, root can only access sdcard1 after adding media_rw group to android.permission.WRITE_EXTERNAL_STORAGE, which works OK most of the times but there are some apps that rely on working with an external sdcard and root together unfortunately. Whenever the external sdcard is unmounted, same things happen with it - no access as root whatsoever. (user has full access)
Something of particular interest is the output of ls -l:
Code:
[email protected]_M3:/storage $ ls -l
drwxrwx--x root sdcard_r 1970-01-01 01:00 sdcard0
drwxrwx--x root sdcard_r 2015-08-10 02:48 sdcard1
[email protected]_M3:/storage $ su
[email protected]_M3:/storage # ls -l
drwx------ root root 2015-08-10 02:47 sdcard0
drwxrwx--x root sdcard_r 2015-08-10 02:48 sdcard1
[email protected]_M3:/storage #
and I don't really know where to begin to fix it. The stock ROM is doomed from the start with this it seems...
For the record; I'm using SuperSU and I have tried formatting my (2GB) sdcard to FAT32 and it didn't work.
Just restore the file tonoriginal data and use an app to do this.
Foldermount will work best.
Try this with thd help of this app ypu can read both sd cards at same time and keep game heavy data on sdcard as well
Sent from my SM-G355H using XDA Free mobile app
lolwhat file are you even talking about? Nothing has been touched there and that output of ls -l shows the permissions aren't as they're supposed to be for root.
FolderMount isn't exactly the thing I'm looking for. I need to fix permissions for root's access to the sdcard0 folder, plain and simple. For instance - I can't install Viper4Android because of this (though oddly I did manage to do it earlier, some black magic I did and don't remember lol). It wouldn't bother me if the sdcard folder in the ramdisk wasn't linked to the sdcard0 folder or if the permissions weren't tampered with and they were it seems.
I feel like as if I would have an easier time porting Cyanogenmod to my device than figuring this out...