[Q] Multiple external storages for FroYo - Android Software/Hacking General [Developers Only]

Hi,
I am running FroYo on custom board developed for multimedia tablet. I am using sdcard as an external storage but I also want to use USB pen drive for external storage. Adding rules in vold.fstab, both sdcard and USB drives are being mounted but Gallery application only shows the contents of sdcard. This is because EXTERNAL_STORAGE is set to mount point of sdcard in init.rc file.
I fount from MountService.java code that Android doesn't support multiple volumes. But I came to know from internet that Samsung Galaxy is using two sdcards, one as an internal (not removable) and other as an external.
Anybody knows, hack to use both external media and get both detected by Gallery application?
Does anyone know, about vold.fstab and init.rc tweaking for Samsung Galaxy.
I am not even able to use internal storage? Do you know, how to enable internal storage? which configurations are required?
Thanks,
Ram

Related

[Q] Cannot transfer apps to microsd card option to move not showing

Hi, can anyone please help?
I have just purchased the Asus eee pad Transformer and it automatically updated to 3.1. I have put some apps on it through the android market.
I went to put some apps/photos etc onto the removable card to save some internal space but when I went into settings then to applications then to manage applications the option to 'move to sd' was not showing on any of the apps. can anyone tell me why and if possible how to rectify this.... what is the point in having a removable card and cant use it. Any replies would be much appreciated..... thanks Jayne
16GB is not enough space for your apps?
You dont need to move apps to SD card as all internal memory (about 16 or 32GB depending on which version you have) is used for applications.
removable sd can be used for for music, movies and any other 3rd party files..
16gb is more than enough for installing apps... (I think...)
there's no app2sd in honeycomb, this is different from what android 2.x does.
thanks for the replies,
I am not able to put pictures/music etc. on to sd card. how do you do it in case I am missing something
thanks
There are several ways to add to The removable SD card. You can get ES file explorer and transfer from SD Card ( internal mem) to Removable card or if you set up your system right use ES file explorer to transfer from your desktop/laptop to the Removable Memory. If you don't want to do that, just put the removable card in your computer , transfer music and photos to it and return it to the TF. I use a Tonido Plug ( small inexpensive ubuntu server) on my network to store everything, then just download or stream to TF via ES File Explorer.
Thanks for this answer, I was actually also asking myself this question.
I saw that app2sd exists on the android market so I guess it doesn't work on our transformer, right ?
there is also an issue I am facing : I downloaded a free application to measure the speed reading and writting of the new SD card I have installed. Whatever I try, the software always check the SDcard directory (so internal) but never the microsd I have installed.
I tried with another one and there is still the same problem. Is it a honeycomb restriction ?
Working with the microsd card seems very difficult (I am still a newbie that may explains why).
Indeed, most of apps only see your internal SD Card.
I've found something to work around the problem - you just have to edit/modify the vold.fstab file.
You can find it in /system/etc/.
Then replace this line:
dev_mount microsd /Removable/MicroSD auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
Click to expand...
Click to collapse
by this one:
dev_mount microsd /sdcard/_MicroSD auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
Click to expand...
Click to collapse
Reboot your TF01!
Now, your TF101 will mount the MicroSD in a directory from the internal SD Card '/system/sdcard/_MicroSD'. All your apps will see it...
PS: you can edit/modify this file with some apps like Root Explorer.
Need Permission
I tried to edit this file but came back with read only tag. I tried to change permissions but again came back read only system file. How do I change the read-only tag?
Found how to do it
I found how I could use adb to pull the file, edit in Notepad and then push it back. It worked.

[Q] How to Push as mass storage device in PC?

Hello all
I bought a P6200 recently! but when I connect it to PC it doesn't mount as USB drive?
As well in settings menu I couldn't find it to set it to mass storage mode!(like my Xperia neo and other Android phones) even it doesn't have USB part
Would u help me ?
It's ridiculous that can't be done!
yup... it is ridiculous because it really cant be done...
That' s not true. After connecting my Tab Plus to PC, I got new wino opened with 2 drives. One is my MC and second Phone memory so I can copy whatever I want. Try in settings-application-development...
that is in MTP mode...
The reason is because of how the GTab 7+ uses internal/external memory.
It's impossible for Android to unmount the memory because it's constantly in use. This provides a lot of benefits for performance and application space.
However, the trade off is that unmounting the partition would cause android to crash. So you can't unmount it to let a PC mount the partition. The work around for this is Android hosting the partition as an MTP device and doing file changes by proxy for the PC.
Personally, I haven't found a situation where I needed to do something on the file system that MTP prevented me from doing. At least so far...
I too have had no problems so far transfering files using MTP but its very slow. So I've used a card reader to transfer files to the sdcard when I wanted to do a quick transfer of a larger amount of files such as mp3's.
Hard to mount the sd card as a drive for use with synctoy is one example of where mtp is inconvenient at best.
Sent from my GT-P6210 using Tapatalk
Mass Storange mode is no longer available since Android3/4 deives as there is no seperate internal SD card. All Android tabs connect with MTP mode.
I use SyncToy as well to backup the whole of /sdcard. But that's for the P1000, now I can't do the same on the P6200. All the other available options are either too slow or too cumbersome to use on a daily basis.
Sent from my GT-P6200 using XDA App
Has anyone tried the "Multi Mount SD-Card" app on this device? It mounts the SD card as USB mass storage without dismounting from the android system.
I found mine mounted them both only after i inserted a micro sd card into the device.
Sent from my GT-P6210 using xda premium
I have just installed Multi Mount SD-Card v2.12 and found that it is not compatible with the device. It's disappointing.
I would suggest setting up adb and using Android commander (it is a GUI for windows)
Sent from my HTC Glacier using Tapatalk

External storage issues

Hi all
Just wondering if anyone knows whether external storage I.e. USB drives, sdcards etc are working out of the box with the jellybean rom from Team EOS? I haven't been able to use any external storage after upgrading to the Team EOS ICS rom? Just get a message saying folder doesn't exist would you like to created it and then it fails anyway. Any info would be greatly appreciated.
Internal SD is at /storage/sdcard0
External SD is at /storage/sdcard1
USB is at /storage/usb0
Hmm sometimes it doesn't mount so you have to restart the device. You usually should be able to mount via setting tab but it crashes on me all the time. =/

[Q] Way to mount as SD

I used to have an HTC desire and whenever I plugged it into my PC it would give me the option to mount as an external drive. I have had an HTC one x plus I no longer have this option I have root etc. and was wondering is there was perhaps an app or ROM which would allow me to do this?
What exactly are you trying to mount? The internal storage of the device or the SD card? If you want access to the internal storage of the device (accessing the YAFFS file system), to my knowledge there is no way to directly access that from the interface of your computer, as it uses a different file system. You can however, use a file viewer app on your phone to view those files, but you would be viewing them from the phone's screen. If you just want to access the SD card, it should automatically appear on your removable devices as soon as you plug in your device.
syung said:
What exactly are you trying to mount? The internal storage of the device or the SD card? If you want access to the internal storage of the device (accessing the YAFFS file system), to my knowledge there is no way to directly access that from the interface of your computer, as it uses a different file system. You can however, use a file viewer app on your phone to view those files, but you would be viewing them from the phone's screen. If you just want to access the SD card, it should automatically appear on your removable devices as soon as you plug in your device.
Click to expand...
Click to collapse
thanks for the reply, I'm trying to mount the virtual SD do as to make transferring movies, music, files and so on easier and faster than having to sync
No problem, this option should be available even if you root your devices, just select mount as disk drive or whichever option is most similar to that and you should be able to view the contents of the SD card.

[Question] Using 2 SD cards in Android

Hi, all! I've been trying to figure out how to simultaneously use 2 SD cards on an Android device.
The device itself is FiiO M11 running Android 7 (non-rooted).
There are 2 SD cards used in the device and they are mounted as internal storage.
What's been established/discovered so far via ADB connection (I have attached the relevant screenshots):
both cards are successfully mounted on the system (on /mnt/expand/...) [screen1]
one of them is mounted by the system to /storage/emulated and can be accessed/written to by the apps on the device
it's possible to see the root contents of the 2nd SD card [screen2], but when trying to read 'media' folder (where I would assume the files are supposed to be stored) via ADB, I get 'Permission denied' error
So the main questions I have:
how to access/write to the 'media' folder on 2nd SD card via apps?
would a bind mount of 'media' to a location inside /storage/emulated solve the issue (access+permissions) and if yes, how to create it?
is there an Android app that can manage this or can it be done via ADB?
I'm aware that rooting might help solving the permission "ailments", but preferably I'd like to achieve this without rooting the device.
I might be developing PTSD from the way Android's been handling external storage and permissions over the years, so thanks in advance for any advice/help.
How'd you get the second SD card mounted? I'm running an RFinder B1+ (14) which has an emulated SD card and two SD card slots. What I've read is that since Honeycomb or so there's been a way to have apps scan a second physical SD card but they couldn't write to it.
I suspect Runbo or RFinder is going to use this to put stuff related to the RF module on that second SD card like DMR ID database, ROM updates, etc.
My second SD card needs wiped/restored but with it in the TF2 slot it doesn't show up at all. I'd like to use it for copying and backing up SD cards from the device itself.

Categories

Resources