[Q] CM10 + Link2SD OBB Question - Motorola Droid X2

I am currently running CM10a2.999999999 by DKZ on my Droid X2 and Link2SD (auto link enabled). I have been attempting to run several applications (JetSetRadio and Sword and Sworcery) but both games hang on launch. I have placed the folders that contain the stored .obb files I had prior to flashing to CM10 in /storage/sdcard1/android/obb/. I was wondering if this is an issue with CM10, the unofficial Droid X2 port, the wrong directory or something that I have to do in addition such as linking directories. I appreciate any support given.

Its possible that because the sdcards have been flip flopped you may need to place the obb files in /storage/sdcard0 and the proper underlying directories to get them to function properly. So even though sdcard1 looked like the internal memory its being treated as the external by the rom, and those apps may be using the way the rom was mapped for where to find certain files meaning sdcard0 while looking like the external is actually the internal for the purposes of the way the rom treats them respectively.
Sent from my Nexus 7

Lrs121 said:
Its possible that because the sdcards have been flip flopped you may need to place the obb files in /storage/sdcard0 and the proper underlying directories to get them to function properly. So even though sdcard1 looked like the internal memory its being treated as the external by the rom, and those apps may be using the way the rom was mapped for where to find certain files meaning sdcard0 while looking like the external is actually the internal for the purposes of the way the rom treats them respectively.
Sent from my Nexus 7
Click to expand...
Click to collapse
I attempted what you suggested but to no avail. Thank you for the support none the less!

Related

[Q] Apps think int-sd is ext-sd ?

I'm seeing almost every app (except for CWM recovery) thinks the
/mnt/sdcard directory is the external card (which is true in most
android devices). So they are looking in and placing files in the wrong
place. Smarter apps allow me to set a virtual root for it to start with,
but Kindle and Nook insist on looking in /mnt/sdcard/<appname>
for the stored books.
Does anyone know a workaround to repoint /mn/sdcard/<appname>
to /mnt/sdcard/ext_sd/<appname>.
Personally, I think the idea to change the meaning of
the /mnt/sdcard, (from the uSD card to part of the on
board flash memory), was not thought out well.
Yeah its a head scratcher. I assume that HTC decided after putting out a $600 tablet they could save money by not including a $7 SD card in the ext. slot and just defaulted everything to the internal SD. I'm sure someone could write a script to change the mount points on rooted ROMs, but not sure what might fail if you change cards.
hmm as a temp workaround I guess I can run a script to copy the
/sdcard/ext_sd/nook and /sdcard/ext_sd/kindle directories
to the corresponding places on the internal 'sdcard'?
Does android have an rc.local like file to run after the system mounts the two devices, and one to run at shutdown, to do the copies?
being vfat, I can't softlink the directories to point to the real sdcard
is there a way to overlay mount the 2 directories from the real sdcard
to the internal flash sdcard?

Memory folder/file name confusion USB/internal/external?

I recently installed an external sd card (Samsung 8GB class 10). I wanted to use it for photos, videos, music and app backups. Also to move some memory heavy apps to sd card. I realise with our sgs2's we're blessed with an abundance of internal memory storage, but wanted to cover myself for factory data resets and so on.
Anyhoo I can't seem to get my head round the folder/file name setup e.g.
Folder sdcard/ which contains sdcard/external_sd and also contains sdcard/usbstorage.
To confuse matters further I seem to have duplicate folders called:
mnt/sdcard/ which contains mnt/sdcard/external_sd it also contains mnt/sdcard/usbstorage.
I would have thought an external sdcard would have a separate root folder? My question is how to get "app to sdcard" to go to external_sd? Also what's the best folder/filename setup to sort out this mess? Thanks, any help would be much appreciated.
Sent from my GT-I9100 using xda premium
OK so in the linux filesystem /mnt is the area devices are generally mounted to
So the links in the area are to the same sets of locations
/mnt/sdcard is the mount point for the internal SD on a non rooted phone this is the default file system
thus in /mnt/sdcard/external_sd in a non rooted filesystem would simply show up in the file system as /external_sd (and the same with the USB storage) they are in fact one in the same copying file via either path will have exactly the same result.
gazman69 said:
I recently installed an external sd card (Samsung 8GB class 10). I wanted to use it for photos, videos, music and app backups. Also to move some memory heavy apps to sd card. I realise with our sgs2's we're blessed with an abundance of internal memory storage, but wanted to cover myself for factory data resets and so on.
Anyhoo I can't seem to get my head round the folder/file name setup e.g.
Folder sdcard/ which contains sdcard/external_sd and also contains sdcard/usbstorage.
To confuse matters further I seem to have duplicate folders called:
mnt/sdcard/ which contains mnt/sdcard/external_sd it also contains mnt/sdcard/usbstorage.
I would have thought an external sdcard would have a separate root folder? My question is how to get "app to sdcard" to go to external_sd? Also what's the best folder/filename setup to sort out this mess? Thanks, any help would be much appreciated.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
If you're having trouble with the phone directory layout and you have root, you can change it by making a symbolic link to point in another direction or directly change the mount partition table, but I think that would afect the ROM behaviour...
For the first thing, if the phone usually has this directories:
/system
/data
/sdcard
You can create a new one (/external_sd or whatever you want) and make it point to your external_sd directory, so in your root folder will have:
/system
/data
/sdcard
/external_sd -> /sdcard/external_sd
The command to do that is: ln -s /sdcard/external_sd /external_sd
Cheers guys. Thanks for your advice and knowledge on this one. I'm unrooted on stock voda rom 2.3.5. If I understand correctly (and I'm not entirely sure that I do;-). The two copies of the folder/file tree is fairly standard and does not cause any conflicts?
When I move an app to sd, it defaults to internal sd. I can then move them via file manager to external sd. But is there a way to make external sd the default card for this or at least a way to make a choice between them? Apologies if you've already covered this and I didn't get it.
Sent from my GT-I9100 using xda premium

[Q] emmc/external_sd help for Resurrection Remix 2.1

Seen as I can't ask in the actual Resurrection Remix thread cause of having to have a certain amount of posts, I ask here...
This is for RR 2.1
Has anyone figured out how to get /mnt/emmc to be mounted as /mnt/sdcard/external_sd.
Have been trying, from different threads, to edit vold.fstab and build.prop to no avail. (only get bootloops)
(used root explorer as other file managers cause bootloops sometimes even for small edits)
So if anyone has gotten it to work with this rom could you show what and how to edit the files. It would be greatly appreciated.
Why do you want to mount your internal memory as your external memory?
I would like my actual 8GB sdcard to be mounted as /mnt/sdcard/external_sd
and the internal memory as /mnt/sdcard
Cause right now the 8GB is /mnt/emmc
and the internal memory is /mnt/sdcard
So I'm guessing from your post that its not supposed to be that way to begin with?
but either way it was like that in GB roms and it was so much more convenient to go to straight to the external_sd folder instead of going the extra step of going to mnt/emmc.
And some apps can not find files that are now in /mnt/emmc. So I have to put them on the internal memory.
It was faster to work with.
Da Iceman said:
I would like my actual 8GB sdcard to be mounted as /mnt/sdcard/external_sd
and the internal memory as /mnt/sdcard
Cause right now the 8GB is /mnt/emmc
and the internal memory is /mnt/sdcard
So I'm guessing from your post that its not supposed to be that way to begin with?
but either way it was like that in GB roms and it was so much more convenient to go to straight to the external_sd folder instead of going the extra step of going to mnt/emmc.
It was a lot faster to work with.
Click to expand...
Click to collapse
hey pal check this Multimount sdcard app from play store hope it might resolve ur issue
ps- the emmc / external sd issue is related to AOKP since in AOKP the EMMC folder is ware u find all ur external sdcard files and folders
But isnt that just for mounting sdcard on your PC while its still mounted (accessible) on your phone?
yea, but im wondering if there is a way to get it to actually mount in the "/mnt/sdcard/external_sd" path or anything. as long as its accessible via a folder in the sdcard.
It makes many things so much more convenient.
Da Iceman said:
But isnt that just for mounting sdcard on your PC while its still mounted (accessible) on your phone?
Click to expand...
Click to collapse
yes also check the links below hope they might also help u
http://forum.xda-developers.com/showpost.php?p=24983708&postcount=23071
http://forum.xda-developers.com/showthread.php?t=1410262
Thanks.
Just one more wondering thought. but is there a way to do it like the first link so it starts on reboot, without the need for extra programs (like editing a file or making a startup script)
If not, then its fine, I'll be happy with these.

[Q] OK, new question regarding storage...

I'm sure this has been brought up - I just can't find it, so sorry if it's a repeat...
I've loaded the NT with the cherry pick 20130131 4.2 ROM, doing very well, loving it. Now one thing I noticed is that when starting some apps, they wouldn't start because "No SD card was installed"...weird...the app that did this to me was MX player, so I'm going to assume that it couldn't find the internal storage block to use. Just to get it to work, I shoved a 2GB SD card in it (blank one) - all was well after that, but questions remain...
>> I could have sworn I've seen posts where this type of storage configuration or mishap, whichever, was by design, or a known bug. Can anyone speak to that?
>> While cruising around in root explorer, what I found is that the /data folder seems to be where all my internal storage is - and you're saying DUH, but my point being if I go to the /storage folder, I see sdcard0 and sdcard1 - what I would expect here is that sdcard0 represents my 16GB internal storage, and sdcard1 represents my 2GB card...but it's not turning out that way... Here's what I see:
/storage/sdcard0 = the 2GB card I put in and it doesn't contain anything on it...
/storage/sdcard1 = 1GB of space with "android" material on it, which has things I'd normally associate with internal storage - movies folder, music, TWRP backups, an android folder, etc, so it's as if internal storage is not being fully used - not sure what this extra 1GB of storage is that it's using, but it's nowhere near big enough....
Sooo...I'm not even sure what to ask, but I'll try it like this, how do I make this /storage/sdcard1 area part of the full internal storage area instead of being restricted to 1GB in size, or is that something I even want to mess with?
Thanks in advance.
I'm using the fix in the first post of this topic for the kids' Tablet. I haven't had any problems like what the OP reports. I only edited the build prop and didn't touch anything else.
http://forum.xda-developers.com/showthread.php?t=2068595
Edit: For clarification I've copied the part I used:
After more digging, I've found that the proper way to swap the storage locations was to add a line to /system/build.prop, with the persist.sys.vold.switchexternal parameter set to 1. That indeed worked and swapped the storage locations, but created some issues. Whenever I open some apps (like gallery), the process android.process.media crashes. Sometimes it even crashes alone.
Click to expand...
Click to collapse
I tried a manual update to the vold file from the last post here:
http://forum.xda-developers.com/showthread.php?p=37552173
But it seems I've just flipflopped my problem...
SDCARD0 now points to the 1GB area, and SDCARD1 now points to the 2GB removable card, neither pointing to the bulk area where the /data folder is pointing,
I'm sure I'm very close, just not quite there yet... I'm running the v4.2 rom, so perhaps there's a difference...
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
If you haven't repartitioned your Tablet 1GB is all you get for user storage.
asawi said:
If you haven't repartitioned your Tablet 1GB is all you get for user storage.
Click to expand...
Click to collapse
Is that because of the way the Nook was partitioned before with stock?
No ROMs have addressed this to your knowledge? I've read about a "flashable" fix, but didn't get to read how successful it was LOL
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
There is a topic describing how you can repartition yourself using ADB. There is also an option to use the repart.img that you'll find if you Google. It repartitions the same way they do if you take it to a BN store. I used that on one of mine and it worked beautifully. It gives 8 GB user storage and 5 GB for apps.

Storage issue Asus Padfone S SKU WW_12.2.2.41

Hello fellow Asus Padfone S users, my name is Andy.
I have a question regarding Internal Storage. Using Asus File Manager, I open the Storage Analyzer at bottom.
There I noticed something fishy,there are 9 Gb of memory in Others Tab. When I click the detail, it is said that I'm using only 3 Gb of space. So,where is the other 6 Gb...?
OK,so then I check in Asus File Manager Internal Storage. Then I click the root (my phone isn't rooted) directory withou hiding the system files. There, I see 2 folder, sdcard and storage, which has the same amount as my internal storage.
The sdcard folder contains my internal storage data. But in the storage folder, it contains emulated and sdcard0 folder which the sdcard0 folder has the same data as the sdcard folder in root.
Then I open the emulated folder. In there, I found 2 folders, 0 and legacy folder. And it has the same amount of data as my sdcard folder in root.
So what is this folders means...? They duplicate my internal storage data and making my phone internal storage full. Can I delete the other folders...? Will it corrupt my phone...?
Any opinion on this is much appreciated.
Thank you before.
winged_potato said:
Hello fellow Asus Padfone S users, my name is Andy.
I have a question regarding Internal Storage. Using Asus File Manager, I open the Storage Analyzer at bottom.
There I noticed something fishy,there are 9 Gb of memory in Others Tab. When I click the detail, it is said that I'm using only 3 Gb of space. So,where is the other 6 Gb...?
OK,so then I check in Asus File Manager Internal Storage. Then I click the root (my phone isn't rooted) directory withou hiding the system files. There, I see 2 folder, sdcard and storage, which has the same amount as my internal storage.
The sdcard folder contains my internal storage data. But in the storage folder, it contains emulated and sdcard0 folder which the sdcard0 folder has the same data as the sdcard folder in root.
Then I open the emulated folder. In there, I found 2 folders, 0 and legacy folder. And it has the same amount of data as my sdcard folder in root.
So what is this folders means...? They duplicate my internal storage data and making my phone internal storage full. Can I delete the other folders...? Will it corrupt my phone...?
Any opinion on this is much appreciated.
Thank you before.
Click to expand...
Click to collapse
Asus roms structure these folders differently than other phones. It differs from other devices.
They are basically the same, basically serves as symlinks to internal storage. (It does the same with my phone)
Your actual SD card should be under removeable/MicroSD if its inserted. No other paths unlike internal storage.
With the exception of the padfone s plus...
They do that so apps can save their data directly into internal storage, and the reason why there are many paths to the same is to maximize app saving compatibility.
Regarding to your issue with you running out of memory around 6gbs is taken out right away because the system uses it. You can use 10.77GB out of the 16GB available. After you first set up your device (Im sure its different with custom roms) Different reasons for that.
Its different with different devices and maybe different roms.
Anything other than that just for say around the system takes more, means there is something is wrong and a factory reset usually fixes that. Pretty confusing stuff I know but other manufacturers do the same thing, samsung got backlash when GS4 got released after users complained that the OS used up almost half of their internal storage.
Justatechie said:
Asus roms structure these folders differently than other phones. It differs from other devices.
They are basically the same, basically serves as symlinks to internal storage. (It does the same with my phone)
Your actual SD card should be under removeable/MicroSD if its inserted. No other paths unlike internal storage.
With the exception of the padfone s plus...
They do that so apps can save their data directly into internal storage, and the reason why there are many paths to the same is to maximize app saving compatibility.
Regarding to your issue with you running out of memory around 6gbs is taken out right away because the system uses it. You can use 10.77GB out of the 16GB available. After you first set up your device (Im sure its different with custom roms) Different reasons for that.
Its different with different devices and maybe different roms.
Anything other than that just for say around the system takes more, means there is something is wrong and a factory reset usually fixes that. Pretty confusing stuff I know but other manufacturers do the same thing, samsung got backlash when GS4 got released after users complained that the OS used up almost half of their internal storage.
Click to expand...
Click to collapse
Thank you very much for your respon.
Yes,I do know that my SD Card is under Removable.
And yes,I know that 6Gb are taken out for the system. I can looked it in Setting/Storage section.
But what I meant is that the reduction is from the 10 Gb that I have.
What if i delete those copied folders...? Is that OK...?
I'll try to factory reset it and see if the issue occurs. It may take somewhile cause it's frustrating if you Factory Reset your daily devices.
Thank you for your respons...

Categories

Resources