General :: Vold Mounts Storage With Incorrect Permissions
Sep 5, 2013
I'm working on a CM port and currently facing issues with vold. For some weird reason, vold isn't mounting storage devices as it should. Here is my current vold.fstab file:
Code:
dev_mount flash /storage/sdcard0 auto /devices/platform/mtd/mtd8/media nonremovable
dev_mount sdcard /storage/sdcard1 auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0.
Using adb I can confirm that everything is mounted correctly and also I can browse the files. Using applications (even MediaScanner) fails with permission errors. This is how I'm creating the storage folders, for user/permissions reference:
Code:
# Create mountpoints
mkdir /mnt 0775 root system
export EXTERNAL_STORAGE /storage/sdcard0
export SECONDARY_STORAGE /storage/sdcard1
mkdir /storage 0550 system sdcard_r
mkdir /storage/sdcard0 0000 system system
mkdir /storage/sdcard1 0000 system system
[code]....
I have also noticed that the system reports different owner/group/permissions through adb and Terminal Emulator. Here are the outputs:
Code:
root@android:/ # ls -la /storage/
d---rwxr-x system sdcard_rw 1970-01-01 02:00 sdcard0
d---rwxr-x system sdcard_rw 1970-01-01 02:00 sdcard1
d--------- system system 2013-09-05 02:29 usbdisk0
[code]....
I'm suspecting storage_list.xml, but I checked mine and seems correct. Also, it doesn't define permissions, so I excluded that.How can I further debug this? Logcat doesn't show anything useful, everything seems fine with vold.
View 8 Replies
Aug 8, 2010
I was putting files on my SD Card from my computer and I noticed I was using up a lot of space. When it got down to like 3.24 GB remaining, I decided to delete stuff off the card to free up some space. I deleted just about everything, but it is still displaying 3.24 GB as the amount of available space. what is going on here? How do I fix this?
View 4 Replies
View Related
May 5, 2013
I'm trying to get my SD card encrypted and I've been able to successfully mount the luks volume, but due to the way that Jelly Bean 4.2 (Cyanogenmod 10.1) presents folders to user apps, only my terminal emulator can list the files.
In my troubleshooting, I've found that a standard mounted SD card is first mounted to /mnt/fuse/sdcard, and then an abstraction layer through a fuse driver mounts it to /storage/sdcard1 in order to set file permissions that all apps can access.
Right now, I'm trying to trick my vold.fstab into mounting the dm-5 device that appears in /sys/devices /virtual /block when the dm-crypt volume is opened. Unfortunately, since the original sys folder for the sd card is in /devices/platform/msm_sdcc.2/mmc_host/mmc1 format, I'm not sure where to direct vold.fstab to check the presence of the dm-0.
I'm aware that as asec apps are installed the dm-5 can change to something higher (dm-6+), but I'll cross that bridge once I get part one working.
View 2 Replies
View Related
Aug 14, 2012
Under the settings for Connect to PC, the phone mounts as disk drive even though the radio button for 'charge only' is selected.
What else should i try?
View 1 Replies
View Related
Jul 23, 2012
The permissions say that you must agree to allow them to delete files from your storage including your SD card; must agree to allow them to extract any information from your phone, etc. In other words they can do any thing they want with your phone and the data in it.
Is there any way to not grant these permissions and still get updates?
View 2 Replies
View Related
Mar 29, 2009
I am porting android to my own device now. I checkout the latest source code from android.git.kernel.org. I have successfully compilated filesystem images and burn those images to my devices. But i couldn't automatically mount my sdcard when android startup. The / sdcard directory is empty when i used 'ls /sdcard' command. I have copied the vold.conf file from development/data/etc direcotry to my device(/system/etc), but it's invalidated. When i read the source code(vold), i found the vold daemon relate to switch driver, device mapper driver and android gadget driver. Are there some document or information about how to configurate android kernel to support vold new volume management and wirte right vold.conf configuration file?
View 2 Replies
View Related
Dec 4, 2013
How to stop phone from displaying "low storage, uninstall apps to free storage. "
View 3 Replies
View Related
Aug 23, 2013
I've bought this chinese clone of the SIII, it's a MT6575. It's great except for the internal storage, which supposedly is 500MB but there seems to be an invisible SD storage which is 2GB. It's really confusing... When I go to Settings -> Storage there are 3 memories: "Internal Storage" (claims to be 4GB but it's fake, it's actually 500MB), "Phone Storage" (claims to be 16.5GB but it's probably 2GB), and finally my SD, "SD Card" (32GB).
The thing is, I'm having problems downloading big apps because apps go to "Internal Storage" which is 500MB only, and which files are stored in the "Phone Storage" (maybe internal & phone are actually the same?). However when I go to Settings -> Apps, on the "Downloaded" tab, the apps are in "Internal Storage" (500MB), and on the "On SD Card" tab, it shows that apps are in "Phone Storage" (the ones I moved to SD). This means my 32GB SD isn't being used by the system when I send apps to SD probably.
Also, my 32GB SD card is found in /mnt/sdcard2, and the /mnt/sdcard... I don't know which storage is that.
So basically all this is happening because I tried to Link2SD with my 32GB SD doing all the 2 partitions stuff and so, but Link2SD never detects the "secondary SD" which is the 32GB SD, as this fake SD card, "Phone Storage", is probably what the programs thinks to be the SD card.
View 4 Replies
View Related
Sep 13, 2013
On my galaxy tab 2 7, with Android 4.3, I have two choices of memory storage, emulated and extSdard. Im wondering if the emulated is actually on a like Cloud system or are the files still on my tablet? Also, if emulated storage is for multiple users, does this mean another device is connected besides my tablet?
View 1 Replies
View Related
Jun 22, 2010
I don't want my EVO to mount to my desktop every time I plug in to my MBP. It is saying "charge only" in the notification panel but yet mounts and makes the SDCARD unusable. USB debugging is disabled. Can anyone figure out why this started?
View 2 Replies
View Related
Oct 21, 2010
My Epic now auto mounts my microSD as soon as I plug in the usb cable. How do I avoid that?
View 4 Replies
View Related
Jun 26, 2010
Are there any specific car mounts slated for the EVO? I've used generic car mounts before and they're meh... Either don't grip enough or came with no charge capability...
If I'm ever going to get my money's worth on this phone I MUST use it for GPS... Thus I MUST have it on a mount cause I want to actually have a 2nd way to charge it too. 5 hours of uptime is not my thang!!!
Anywho, I might want to use a generic in the future anyways since I might actually get the 3200mah battery... Maybe...Oh the agnoy of choice...
View 2 Replies
View Related
Jul 7, 2010
I just got a new battery for my Droid, and the battery came 60% charged. So I did the battery drain until it powered off. I then put it on the dock to do a full charge, and now the phone is in a constant boot loop. It reboots up to the home screen and mounts the SD card. It stays on for about 5 seconds after mounting the card, and then reboots. I tried just plugging it into the charger w/o the dock, and still does the same thing. I have also tried pulling the battery, putting it back in and charge. Same. I have even tried doing a power down from the home screen within the 5-10 seconds the home screen stays on, but no luck. It turns off before it completes the shutdown and reboots again.
View 2 Replies
View Related
Apr 22, 2014
I'm testing a hybrid phone/scanner that came from China and I noticed the time was wrong on it (we don't use the phone part), so I went into time settings and it was set to automatic date & time and timezone, but when I turned off automatic timezone it said it was still China even though I've been using the device for a week. When I look up our IP on the web it says it's in the US in the correct state so I don't understand why Android is not locating the phone by IP.
I've noticed on other Android phones the time randomly goes incorrect when off cell service (like on my old Droid 2 or Galaxy Tab which I keep the cell service off for), so this appears to be a bug in Android. Is there a way I can smack the phone so it does it automatically or do I always have to expect Google not to do this right and make me have to manually set the timezone (and sometimes the time)?
View 3 Replies
View Related
May 23, 2012
My Active Applications Widget is incorrect. It now says 0 on the Widget, but clicking on it and opening the program shows "Active applications: 4" and it lists the 4 apps that I have recently used.
Why is the Widget wrong? It worked when I first put it there.
View 4 Replies
View Related
Nov 17, 2013
I bought a Sandisk 32gb (4) micro sd and downloaded the n2a jelly bean 4.2.2.My issue is that it keeps 27gb fat 32 which my nook can't see. It says I have an 800mb partition and a 5gb one in device manager.
On the nook it says total storage 5gb? Where has my 27 Gb gone? And as it's booting off a card why is it telling me it's internal memory too? When I boot to the stock nook o/s it says 12gb left out of 16. Why does my n2a boot up not tell me I have 27 left out of 32??
I have rebuilt card and partitioned it to one big partition before building the image but still totally confused as to what's going on??
View 2 Replies
View Related
Jun 16, 2012
When I boot my phone into bootloader it flashes with all the images, and it says incorrect image/wrong image for one of them how do I fix?
View 1 Replies
View Related
Nov 1, 2012
I have had a samsung galaxy s3 for about a week now, and everything has been working on it fine until today. Suddenly one of my email accounts decided that it had the wrong password (a University email address); I tried deleting the address and re-adding but now it won't let me add it as it says that the address or password is incorrect.
As i know the password is right and really need this email address to work!
View 4 Replies
View Related
Jan 13, 2013
How is the operating system getting these numbers? If I'm using 2+ GB on Rdio alone, how am I below 2gb of data during the month so far? I'm on Solavei so I have 4gb of 4g before it gets throttled and it would suck to get throttled and have no idea how much data I've actually used.
View 2 Replies
View Related
Dec 10, 2012
I's using CM10 in MS2. Emoji in Messaging show not correct, it show system smiley, not Emoji. I tried replace mms.apk by other mms.apk in xda, but nothing.
View 2 Replies
View Related
Nov 8, 2012
Having issues with Tapatalk returning an incorrect username/password for XDA while on data? This issue only presents itself while trying to access XDA on data, no such problem on wifi, or for any of the other forums I frequent whether on data or wifi.
View 4 Replies
View Related
Jun 15, 2013
Mobile possess the Blu Dash 4.0, as in this manual 512MB of memory, thought it strange when I visualized the tab and applications are given 341MB of memory.
View 2 Replies
View Related
Dec 13, 2012
Just got it, flashed it and now screen rotation is incorrect,Vol - does not work, Vol+ is Vol - and touch screen does not work i can't tell you the specs till i get back home to read the box.
View 2 Replies
View Related
May 1, 2011
I'm searching for an app (or hack, or whatever) which allows me to do custom actions when there are too many incorrect unlocking attempts. For example, when 5 incorrect patterns are entered, get the location and send it to a remote web server. In my case, I would like to start Cerberus tracking, but that's not the main point.
Is there an app, or custom lock screen, or any security app that allows me to do this?
View 1 Replies
View Related
Mar 11, 2014
I got an update to Twitter version 5.2.2. I'm using a Sony Z1 Compact with Android version 4.3. Since the update, Twitter is now using the same sound as my SMS notifications - the phone default notification. I keep trying to set Twitter to use a different sound (within the application - Settings > Account > choose notification sound).
View 2 Replies
View Related
Feb 15, 2014
In a WIP for create a CWM for Galaxy Music GT-S6010 I doing a wrong operation.
First at all I've dumped the recovery of my phone and used CWM builder online, but the recovery didn't work.
I have founded a recovery of another smartphone that I think has similar hardware, the GT-S5310. I have flashed the CWM recovery of this other phone and the result is:
1) The CWM work. It seems to work well.
2) The touch screen behavior is bad. Is incorrect and inverted. In some point when touch with one finger the result give two touch.
I think that the problem is software not hardware, because with bluetooth mouse and keyboard the phone work well.
I have already tried many times, in this order:
1) restore the original recovery;
2) flash the stock firmware;
3) flash the CWM, doing a clean cache, format /sysem, format /cache, clean dalvik cache;
But not solved.
View 4 Replies
View Related
Aug 20, 2013
I entered incorrect hex in SP Flash Tool and process was done. (While rooting my phone). But now when i am trying to turn my phone on, it hangs on startup screen...
My Fon is: Xolo A1000
View 1 Replies
View Related
Jun 9, 2013
I found the DroidWall, which has been useful in restricting internet access, but what if I want to deny other apps my location or access to my camera and microphone (facebook), etc?
View 2 Replies
View Related
Feb 28, 2012
So I am wondering if we remove a certain permission from an app, does the app still have the ability to use that permissions?
Example: Pandora can read contacts list, I remove that permission from the APK, Can Pandora still read my contact list?
View 9 Replies
View Related
Mar 11, 2014
When installing a app (after confirm its permissions) - the persmissions like "contact", "calls", etc (all kind of permissions) - are disabled to the dev once I delete the app or he always have access to my info (at permissions) OR at the time I've download the app he have access to the permissions until I delete it and all the permissions are disable?
Usually this information/permissions are availabe to the dev automatically once I install the app or he need manualy to get into this informations? If I force stop the app, will it still have access to my data (permissions) or only if its running?
View 2 Replies
View Related