AOSP Roms not using internal sdcard? - HTC Rezound

Hi,
I have a quick question about something I've noticed (and can't seem to find a thread on this in the Q&A). Behavior I've noticed/seen is that when ever I install an AOSP rom, it only appears to use my external sd card (/mnt/sdcard/ext_sd), but ignores the 10GB internal memory card (mnt/sdcard). If i use any "sense based" rom - like EclipticRez.....I can use/leverage both.....so I "don't think" it's a formatting issue...as right now i have full access to both SD cards. I recently jumped and installed Rage 3.0 when I found out that bluetooth has been fixed [Squeals with delight....], but when it wasn't accessing the internal 10GB i restored back.
I'm hoping someone can point me in the right direction and fix this before i install Rage 3.1 as soon as its available.
Thanks,
Rez
HTC Rezound - Rooted & S-OFF! :highfive:
Firmware: Stock hboot 2.27; Amon Ra Vigor [v3.15]; Baseband 2.22.10.0801r / 2.22.10.0803r
ROM: EclipticRez
Kernel: Funky Kernel
Previous Rezound ROMS: Scotts CleanROM Developer Edition [V1.4] , CounterShrike, Anything by Neo

AOSP maps internal to /emmc.

Rezinator said:
Hi,
I have a quick question about something I've noticed (and can't seem to find a thread on this in the Q&A). Behavior I've noticed/seen is that when ever I install an AOSP rom, it only appears to use my external sd card (/mnt/sdcard/ext_sd), but ignores the 10GB internal memory card (mnt/sdcard). If i use any "sense based" rom - like EclipticRez.....I can use/leverage both.....so I "don't think" it's a formatting issue...as right now i have full access to both SD cards. I recently jumped and installed Rage 3.0 when I found out that bluetooth has been fixed [Squeals with delight....], but when it wasn't accessing the internal 10GB i restored back.
I'm hoping someone can point me in the right direction and fix this before i install Rage 3.1 as soon as its available.
Thanks,
Rez
HTC Rezound - Rooted & S-OFF! :highfive:
Firmware: Stock hboot 2.27; Amon Ra Vigor [v3.15]; Baseband 2.22.10.0801r / 2.22.10.0803r
ROM: EclipticRez
Kernel: Funky Kernel
Previous Rezound ROMS: Scotts CleanROM Developer Edition [V1.4] , CounterShrike, Anything by Neo
Click to expand...
Click to collapse
Im having a similar issue. Mine is being mounted but unable to access it from any apps or computer besides root explorer. I was reading somewhere that because a sense rom will mount it as a sd cards and AOSP mounts it as EMMC and jumping between the roms can cause issues. The fix was suppose to be do a complete wipe on the phone (factory rest, wipe data, system..ect) and the reinstall. Well i did that and still doesnt fix the issue, if i find a fix for mine ill let you know if your still having problems

clmowers said:
Im having a similar issue. Mine is being mounted but unable to access it from any apps or computer besides root explorer. I was reading somewhere that because a sense rom will mount it as a sd cards and AOSP mounts it as EMMC and jumping between the roms can cause issues. The fix was suppose to be do a complete wipe on the phone (factory rest, wipe data, system..ect) and the reinstall. Well i did that and still doesnt fix the issue, if i find a fix for mine ill let you know if your still having problems
Click to expand...
Click to collapse
Shrike - I saw that you posted this in the Infection thread. (which matches your response above)
>>AOSP mounts internal as /emmc and external as /sdcard.
I see that now. Is there a thread I need to read or something I need to do so that AOSP/Infection will leverage the 10GB that is on internal drive? It seems like "out of the box" AOSP/Infection/.... ignore /emmc...
SD Maid shows
/storage/sdcard1 = /emmc [10GB]
/storage/sdcard0 = /sdcard [32GB]
Non-AOSP does this "automatically" [from what I saw]....I use the internal 10GB for all the installs...then use my 32GB removable SD card for my media and backups only.
Thanks!!
Rez

Rezinator said:
Shrike - I saw that you posted this in the Infection thread. (which matches your response above)
>>AOSP mounts internal as /emmc and external as /sdcard.
I see that now. Is there a thread I need to read or something I need to do so that AOSP/Infection will leverage the 10GB that is on internal drive? It seems like "out of the box" AOSP/Infection/.... ignore /emmc...
SD Maid shows
/storage/sdcard1 = /emmc [10GB]
/storage/sdcard0 = /sdcard [32GB]
Non-AOSP does this "automatically" [from what I saw]....I use the internal 10GB for all the installs...then use my 32GB removable SD card for my media and backups only.
Thanks!!
Rez
Click to expand...
Click to collapse
with sense you can choose where your data is saved. AOSP does not offer this. you get to set it to internal or external thats it. you might be able to find an app that will let you store media and backups to sd and the rest to internal but i havent seen one.
for backups from recovery, if you use TWRP you can have backup save to sd card. for app backups titanium offer this too.

synisterwolf said:
with sense you can choose where your data is saved. AOSP does not offer this. you get to set it to internal or external thats it. you might be able to find an app that will let you store media and backups to sd and the rest to internal but i havent seen one.
for backups from recovery, if you use TWRP you can have backup save to sd card. for app backups titanium offer this too.
Click to expand...
Click to collapse
So are you saying that on AOSP you can set everything to either internal or external but no mix and match? So you pick either internal or external and that's it?
What happens if you put all your music on external but want your apps to install to internal? Will you still be able to read/listen to the music files while having apps install onto the internal?
I was just thinking of trying out Infected AOSP but I don't know if AOSP is right for me then.

synisterwolf said:
with sense you can choose where your data is saved. AOSP does not offer this. you get to set it to internal or external thats it. you might be able to find an app that will let you store media and backups to sd and the rest to internal but i havent seen one.
for backups from recovery, if you use TWRP you can have backup save to sd card. for app backups titanium offer this too.
Click to expand...
Click to collapse
where is the option to set it to ext or internal?

feralicious said:
So are you saying that on AOSP you can set everything to either internal or external but no mix and match? So you pick either internal or external and that's it?
What happens if you put all your music on external but want your apps to install to internal? Will you still be able to read/listen to the music files while having apps install onto the internal?
I was just thinking of trying out Infected AOSP but I don't know if AOSP is right for me then.
Click to expand...
Click to collapse
Yes and no.. For example on mine everything is saved to the external but I save my music to the internal. Power amp is able to pull from the internal card so all my music is playable I think what he meant was you can either have apps save to the external or internal not both. On a sense ROM you can change the location of where the app is saving its data to external or internal
Sent from my Infectious Rezound using Tapatalk 2

xXezmacXx said:
where is the option to set it to ext or internal?
Click to expand...
Click to collapse
for nandoirds yes.
for the os its not as simple you will need to edit your void.fstab

synisterwolf said:
for nandoirds yes.
for the os its not as simple you will need to edit your void.fstab
Click to expand...
Click to collapse
Is it as easy as editing the vold.fstab? This what I have currently.
# internal sdcard​dev_mount emmc /storage/sdcard1 38 /devices/platform/msm_sdcc.1/mmc_host/mmc0 nonremovable,encryptable​# external sdcard
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2​
If I change/edit it to whats below, will it work?
# internal sdcard
dev_mount emmc /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2 nonremovable,encryptable
# external sdcard
dev_mount sdcard /storage/sdcard1 38 /devices/platform/msm_sdcc.1/mmc_host/mmc0​
I just guessed that the nonremovable,encryptable part should stay with the internal sdcard. I have no idea what this will do so if anyone sees anything wrong please let me know!
Also I don't care what the sdcards are called in a file explorer. When on a CM9 ROM I used a zip that made the external sd show up as emmc in root explorer. The same zip doesn't work on 10.1 but it did on 10.
EDIT: I tried this for the hell of it and absolutely nothing changed! I guess I should change it back but I am shocked that something didn't break. I really have no idea what I'm doing!

Related

[ZIP][CM7] Nook Color SDcard and emmc swap!

Ok after many hours tonight I have managed to put together a couple .zip files that will install a modified vold.fstab on your Nook Color. (I am a total n00b at this)
The EMMC of the Nook Color has a partition for the ROM and a 5 GB partition that's mostly if not completely unused. Presently, there aren't any 3rd-party managers to move apps to that unused partition, so I modified the vold.fstab and am now able to use that partition for apps, files, etc.
NC.SWAP.VOLD.ZIP swaps the way the SD and EMMC directories are mounted. By swapping the mount points, and renaming EMMC to SDCARD, your apps, etc., will install to the internal storage, vs. installing to your SDCARD. Your physical SDcard is automatically mounted as "EMMC."
This also means that the music player still finds files, you can move files to "EMMC," and you can still eject the SDcard ("EMMC"), put it back in and it still shows up automatically. Now your NC won't freak out if you pull the card out without unmounting it - all of the apps are on the actual EMMC. You'd just find the SDcard under /mnt/emmc instead of /mnt/sdcard.
Because this ZIP file maps the change at an OS level, when you boot to recovery, your NC sees SD as the SDcard, so no issues occur. When you boot into your ROM, the mount points are swapped and you'll have access to the renamed "SDCARD" (5 GB) on your NC.
Use CWR 3.0.1.0 to install the .zip and check out the results with File Manager.
Thanks go out to Clark008, luciferii and Cali^Gal from #nookcolor, Loonacy and Raymondull from #Cyanogenmod, and EpicFail1236 from XDA.
Sorry if this is a bit crude, it's my first script ever. I would be happy to get any advice on how to make this better!
EDIT: I have been looking into renaming the emmc mount to say SD-External or better yet making it mount as /mnt/sdcard/sd-ext. it might be possible, ill be looking into it as soon as I can got laid up for a bit.
"Because this ZIP file maps the change at an OS level, when you boot to recovery, your NC sees SD as the SDcard, so no issues occur. When you boot into your ROM, the mount points are swapped and you'll have access to the renamed "SDCARD" (5 GB) on your NC."
/\/\ That clarifies a lot compared to the brief orig post. Will likely be flashing it this weekend.
BTW, if this expands and you need this 2nd post just have a mod give it to you. Thanks again!
BRILLIANT. Will be definitely testing this later today. Can't wait to run SD Tools on this
Sent from my NookColor using Tapatalk
it works! interesting how it'll work out as to unmounting, flashing roms. but with emmc being useless this is fantastic.
Thank you for the effort and time place in this mod
Yeah. The whole point of this was to utilize the 5GB internal emmc and not waste it. The next step is to mod the CWM to mount emmc as /sdcard so you can flash your zips from where you download them to (usually /mnt/sdcard/download), which in this case, goes to your emmc. But CWM will mount your external sdcard instead. For the time being, we can just put the zips we need to flash to the external sdcard, ie. /mnt/emmc.
I don't know if anyone noticed it yet, but if you usb mount after the swap, the transfer speed is kind of slow (~1.5mbps). I don't know if this is due to the emmc or that the read ahead cache needs to be tweaked.
We're open to make this even better. Feel free to comment and provide feedback.
This sounds like a step in the right direction, however, what I would like to see would be merging the emmc with the internal storage. What I mean is this; right now, when I go into "Storage", I see an "SD card" (8gb), "Internal Storage" (0.92gb), and "/mnt/emmc" (5gb). Why can't we combine the .93 Internal and the 5gb emmc together to make a 5.92gb Internal storage and eliminate the emmc from teh storage area? I'm sure there is a reason that I'm not aware of, but it seems that this would be the same as just about every other device. I am pretty sure the ROM is running from the emmc partition, so that has to have something to do with it, but I don't see a purpose for 3 storage places. I keep getting errors when I try to download apps and I don't even have very many installed. I have had to move most of them to the SD card to make room and some apps don't like to be installed on the SD card.
Another option would be to swap the emmc with the Internal storage. Then we'd be using the 5gb and the .92 gb would be sitting there doing nothing instead. Again, I'm sure there are reasons for this, I'm just asking to learn.
I agree.. ideally having the emmc mount be part of the system would be ideal.
Calla969 said:
This sounds like a step in the right direction, however, what I would like to see would be merging the emmc with the internal storage. What I mean is this; right now, when I go into "Storage", I see an "SD card" (8gb), "Internal Storage" (0.92gb), and "/mnt/emmc" (5gb). Why can't we combine the .93 Internal and the 5gb emmc together to make a 5.92gb Internal storage and eliminate the emmc from teh storage area? I'm sure there is a reason that I'm not aware of, but it seems that this would be the same as just about every other device. I am pretty sure the ROM is running from the emmc partition, so that has to have something to do with it, but I don't see a purpose for 3 storage places. I keep getting errors when I try to download apps and I don't even have very many installed. I have had to move most of them to the SD card to make room and some apps don't like to be installed on the SD card.
Another option would be to swap the emmc with the Internal storage. Then we'd be using the 5gb and the .92 gb would be sitting there doing nothing instead. Again, I'm sure there are reasons for this, I'm just asking to learn.
Click to expand...
Click to collapse
i have no idea TBH but thats far beyond my ability. really it would be nice to symlink emmc to the SD card or the other way around. the issue is that you cant symlink with fat partitions :-/
This is neet. I don't know enough to comment, but it looks valuble for some people.
I just use my stock emmc for music storage and let apps sit on SD w/ videos.
WobbleTheHutt said:
i have no idea TBH but thats far beyond my ability. really it would be nice to symlink emmc to the SD card or the other way around. the issue is that you cant symlink with fat partitions :-/
Click to expand...
Click to collapse
No, but you can symlink to them. Why not set vold.fstab to mount the partitions onto other names and make symlinks named /sdcard -> /othername? That way, the symlinks can do their jobs or rearranging the namespace to suit our needs.
The ramfs isn't FAT32, is it?
I'm an old cmdline type, tricks like this are used all the time to fool software with stubborn opinions about filenames.
Dennis
Jiggity Janx said:
If this works as effectively as it sounds like it will it's gonna rock! With the multiple wifi/bluetooth file transfer options I can say bye bye to the need for an sd card!
EDIT: I think this thread is eerily quiet because of the popular advice written up HERE. Specifically #5...
IMO, with a great write up on the best ways to work with this, all of the things it will affect (positive and negative), and the proper words of warning then the individuals that take it upon themselves to modify their devices are the only ones that can be held responsible if it doesn't work out as they had hoped. They also have to understand that when they work outside the boundaries of an accepted "standard" that they are somewhat desolate and will need to come back into the fold before they can/will be helped...
Just my .02...
Click to expand...
Click to collapse
This may be slightly off topic, but I cannot for the life of me figure out what that post is complaining/ talking about, I have had no trouble bouncing between HC, CM7 and stock.
All you have to do is flash to stock and then worst case you force the boot failure and the nook resets its self automatically
The last few posts on that message are myself and another person who have had not trouble with that now the OP hasn't responded so i'm not sure what to make up that post.
Is it real and an actual issue?
Or did the poster overreact to something?
Can some one please explain it to me if I am wrong about something in using a EMMC version of HC?
chisleu said:
This is neet. I don't know enough to comment, but it looks valuble for some people.
I just use my stock emmc for music storage and let apps sit on SD w/ videos.
Click to expand...
Click to collapse
Seems neet to me also. Always interested in using both emmc and sd space.
@ chisleau - I like the concept of putting all my music on emmc. Do you use an option in CM7 to install or move all your apps to your SD card?
thinking out loud (and not actually doing it) -- but we know that /data is /dev/block/mmcblk0p6 and and the "media" or "emmc" is located at /dev/block/mmcblk0p8 -- can't we just repartition and merge the two?
minotauri said:
thinking out loud (and not actually doing it) -- but we know that /data is /dev/block/mmcblk0p6 and and the "media" or "emmc" is located at /dev/block/mmcblk0p8 -- can't we just repartition and merge the two?
Click to expand...
Click to collapse
We can repartition but don't do it for this Reason -#5 http://forum.xda-developers.com/showpost.php?p=12494638&postcount=1
http://forum.xda-developers.com/showpost.php?p=12494666&postcount=2
ROMs that follow proper packaging - This emmc swap mod is one of them. So we're fine for those who are still hesitating.
Clark008 said:
ROMs that follow proper packaging - This emmc swap mod is one of them. So we're fine for those who are still hesitating.
Click to expand...
Click to collapse
Yep, I was hesitating, but between your post above and the "Thanks" from fattire to the OP, that is all the encouragement I need to take the plunge.
A few questions, tho, if someone can help me to understand this better....
I guess until I saw the OP, I did not realize that all apps in CM7 are installed to the SD card, as when I look at my installed apps in App Mgr, they don't show as being on the SD card. Is this some sort of CM7 voodoo or are my apps really on the internal memory?
Right now, with CM7, I am using the EMMC partition to store my music, under "My Files/Music". Power Amp can see this folder and it will play all my music just fine from within that directory on the internal partition, so if I install this update, what will that do to the 5Gb of internal storage I have now and the music on it?
Also, if I do install this update, what will happen to the apps and their associated data that I already have installed? Is this best done on a fresh build or will everything (apps/data and music) be A-OK after the Swap update is applied?
Just want to know what I am getting into by applying this update, as I have things pretty stable right now. If I could roll with apps on internal and music on SD, I would be more than fine with that, as long as I don't lose any of my apps/data/music in the process. If this is just mere partition re-naming/re-pointing, then I suspect my assets will remain intact?
Thanks to all who collaborated on this project!
why can't the entire internal partitions be imaged?
i use dd all the time to backup my sd card installs in case a test kernel or nightly goes poorly- or to burn a fresh install for multiple people. I just pop in the sd card into my laptop and burn the image back to the sd card.
if this was possible i'd have no issues with running off internal entirely if i could just burn the img. and get everything back as stock, including important device identifiers incase those were erased.
Need undo
This did what it's supposed to do but it seems to be causing a problem with the way I'm booting from sd. Is there a way to undo this?
Bump since I found this useful. +1 for CWM sdcard/emmc swap to enable SDcard-less flashing goodness from ROM Manager.

Use an external sd card as internal storage

Today I got a 32 GB, SanDisk Micro SDCard, mainly for the use with Google Music (I have a 7,200+ library). However, I didn't find a source which had a solid solution, to at least have Google Music use the external sd card. So, I just messed around with it, and I found out how to Swap (reverse) the sd card 'locations', properly.
In vold.fstab, in the directory /system/etc/, you have two lines. Edit them with Root explorer's included "text editor", or any other good text editor. Make sure you have r/w on. Find the below two lines:
Code:
# external sd card
dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc3 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
and
Code:
# internal eMMC
dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
What I did, and what proved successful (to use both internal, and external storage, which are reversed), is this:
Code:
# external sd card
dev_mount sdcard_ext [COLOR="Red"]/mnt/sdcard[/COLOR]:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc3 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
and
Code:
# internal eMMC
dev_mount sdcard [COLOR="Red"]/mnt/sdcard-ext[/COLOR] 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Replace the regular lines, with the red lines, save, restart your phone, and BAM, your internal is now marked as external, and your external, is now your internal
I use Stock 154_5, Unlocked, rooted.
Enjoy, and press the thanks button
Also, you can revert them back, if you changed them. Just put the stock code back into the file.
Also, I just discovered:
You can only use the internal storage, when connecting to a computer. The 'internal' (which, we switched around), will not be detected. If you do connect your device to a computer, after you disconnect it, the 'internal', storage, which is really the external, because we switched it, will not be detected, and you must restart your phone.
I'll test this on MIUI. I have the 64GB version. Same problem.
ZeroManArmy said:
I'll test this on MIUI. I have the 64GB version. Same problem.
Click to expand...
Click to collapse
Cool. Let me know if it works. Yeah, 64 GB only for movies and pictures.... Isn't worth it for me. Lol
What do you have for CM9 or MIUI?
ZeroManArmy said:
What do you have for CM9 or MIUI?
Click to expand...
Click to collapse
I use Stock 154_5, Unlocked, rooted.
URGENT,
i am using samsung galaxy note device , i have follow your instruction to change the vold.hstab file.
Now my device has recognize my ext sd card as sdcard. But my device cant recognise my internal sdcard, so i have lose my root explorer. and I couldn't reedit the vold.hstab file back.
I have try to hardreset, and try to reinstall root explorer, but it always give an restart and error : "process.media force close "
From my understanding the failure of installing the root explorer because my device can't recognise sdcard anymore
I go to setting--> storage , I found the sdcard is not detected, only usb storage detected
how to solve this problem?
n1cky6969 said:
URGENT,
i am using samsung galaxy note device , i have follow your instruction to change the vold.hstab file.
Now my device has recognize my ext sd card as sdcard. But my device cant recognise my internal sdcard, so i have lose my root explorer. and I couldn't reedit the vold.hstab file back.
I have try to hardreset, and try to reinstall root explorer, but it always give an restart and error : "process.media force close "
From my understanding the failure of installing the root explorer because my device can't recognise sdcard anymore
I go to setting--> storage , I found the sdcard is not detected, only usb storage detected
how to solve this problem?
Click to expand...
Click to collapse
Well your problem is because, this is for the Photon 4G. Not the Note. Have you tried other File managers, such as Antek?
D2dyno said:
Well your problem is because, this is for the Photon 4G. Not the Note. Have you tried other File managers, such as Antek?
Click to expand...
Click to collapse
Anyhow, It is impossible to install any applications, if try to install,device will restart
But, it's okay now, I have reflash my rom, all the problem solved
Thanks for your responds
n1cky6969 said:
Anyhow, It is impossible to install any applications, if try to install,device will restart
But, it's okay now, I have reflash my rom, all the problem solved
Thanks for your responds
Click to expand...
Click to collapse
No problem, and I'm glad to help.
Man am I happy I came across this thread!!!
I've been reading forever in some of the rom threads for an answer to this question! A few of the roms I've tried out had the internal and external storage swapped with no option to switch and that kept me from using them because I use internal storage for apps data and such and then my external memory card for backups and personal files!
The only 2 roms that this can be fixed in is jokers CM9-unofficial-ICS rom (there is actually an Advanced Option in Settings) and the MIUI.us port (there is a storage mod flashable swap, which didn't work for me, and there is an option in the Aroma installer to choose what you want for Internal Storage).
Now that I've come across this, imma try it out and see if I can't get it to work on some other roms I have used!
Thanks for the discovery! I'll let ya know how it works out for me!
Sent from my MB855 using xda premium
Jleeblanch said:
Man am I happy I came across this thread!!!
I've been reading forever in some of the rom threads for an answer to this question! A few of the roms I've tried out had the internal and external storage swapped with no option to switch and that kept me from using them because I use internal storage for apps data and such and then my external memory card for backups and personal files!
The only 2 roms that this can be fixed in is jokers CM9-unofficial-ICS rom (there is actually an Advanced Option in Settings) and the MIUI.us port (there is a storage mod flashable swap, which didn't work for me, and there is an option in the Aroma installer to choose what you want for Internal Storage).
Now that I've come across this, imma try it out and see if I can't get it to work on some other roms I have used!
Thanks for the discovery! I'll let ya know how it works out for me!
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
Glad to hear! ICS ROMs handle external SD cards way better, so I prefer them now.
D2dyno said:
Glad to hear! ICS ROMs handle external SD cards way better, so I prefer them now.
Click to expand...
Click to collapse
I hear you there! The ICS roms rock! Jokers ICS rom has been my favorite due to the option to switch to use Internal memory for apps/app data. The other CM9 variants (AOKP/AOKPCB) had it default to use external memory as storage for apps/app data with NO option to swap. Now that I came across this, when my battery is a little better than 37% lol, imma do your mentioned edits!
Only difference from what I see from stock is that instead of "sdcard-ext" its "emmc". My current setup has "emmc" set as sdcard-ext (external storage) and sdcard as, well sdcard (internal storage) lol.
My issue has been that those have been swapped where "emmc" = internal storage and "sdcard" = external storage. With it being that way, it makes it a PIA to restore from Titanium Backup.
But this is all a thing of the past haha
I'm glad I'm not scared to read (like I feel like a lot of users are). I've seen a lot of posts where ppl were asking about how to swap the storage locations with no solid answers. Granted I didn't come across this solution immediately either...BUT I did and I plan to link to this thread and give you props in hopes that others find this useful as I know others are definitely having the same issue!
Sent from my MB855 using xda premium
I just successfully tested this on the AOKPCB from and it worked perfectly! Not gonna lie, that makes me VERY happy!!
Maybe everyone typing thanks could actually "THANK" this person?
Works on tablet
Ok tried this on a cheap tablet that I bought for playing around like this. An Arnova AN 7G3 7" with 4gb memory, 2 gb internal and 2gb internal sdcard. It was close to your file, all I had to change was sdcard and extsd. Before I did the switch and after seeing someone had trouble with apks after the switch, I made sure to move all apks to tablet, then copied all folders from sd to extsd. I also made a copy of the orignial vold file, just incase. Changed vold file rebooted and everything was great. Made a copy of altered vold file, then replaced with orignial and rebooted.....all still ok, replaced file with altered file and rebooted ,again all ok. Moved all apks that I could move to sdcard from tablet, free up 650mg on tablet. All moved apks worked fine.
AN 7 G3 is rooted out box runing stock ICS 4.0.1
Thanks for the info
ALD3 said:
F theOk tried this on a cheap tablet that I bought for playing around like this. An Arnova AN 7G3 7" with 4gb memory, 2 gb internal and 2gb internal sdcard. It was close to your file, all I had to change was sdcard and extsd. Before I did the switch and after seeing someone had trouble with apks after the switch, I made sure to move all apks to tablet, then copied all folders from sd to extsd. I also made a copy of the orignial vold file, just incase. Changed vold file rebooted and everything was great. Made a copy of altered vold file, then replaced with orignial and rebooted.....all still ok, replaced file with altered file and rebooted ,again all ok. Moved all apks that I could move to sdcard from tablet, free up 650mg on tablet. All moved apks worked fine.
AN 7 G3 is rooted out box runing stock ICS 4.0.1
Thanks for the info
Click to expand...
Click to collapse
Glad to hear it works on more than just GB
Thanks
D2dyno said:
Glad to hear it works on more than just GB
Click to expand...
Click to collapse
Thanks as I have been trying to find info for months. I posted in Arnova section of Arctablet news on how to do this tablet and a heads up and Thanks to YOU as well as a link to your work here. Hope you don't mind and did give credit to YOU. Check it out when you have time
http://www.arctablet.com/blog/forum...n-7-g3-recognize-you-micro-sd-as-internal-sd/
Just saw this topic and I have a (noob) question.
Does this work on any android phone or it's specific for this Moto one?

[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.

[MOD] Mount Point Swapper

This flashable zip will allow to choose how to mount your internal and external storage.
Your two options are:
Internal storage as /mnt/sdcard and external storage as /mnt/sdcard/ext_sd
Internal storage as /mnt/sdcard/ext_sd and external storage as /mnt/sdcard
I have not been able to successfully mount the internal anywhere else unfortunately but will continue looking into it.
SIDE EFFECTS/ISSUES WITH THIS METHOD
You can not mount the external sdcard to a computer
In storage settings, External storage shows under "Phone storage" and the internal storage shows under "Storage card"
Selecting "Unmount storage card" will unmount the internal storage ("Mount storage card" will remount it though)
If you remove or boot with out the external sdcard neither storage space will be available for use
Possibly others...
Changelog
v1.0.1
Updated touch calibration
Changed update-binary-installer
Bug fix
No Version
Initial release
350 views from 2 different threads and not a single PM.
I'm definitely interested, however I am curious about what the reason/benefit of this mod would be.
mike.r.olson said:
I'm definitely interested, however I am curious about what the reason/benefit of this mod would be.
Click to expand...
Click to collapse
The benefit would be all the big games will store the game data on the bigger external card. Along with other settings certain apps store. Also, if you have to exchange your phone, you keep all of your data.
Sent from my El Tevo
mike.r.olson said:
I'm definitely interested, however I am curious about what the reason/benefit of this mod would be.
Click to expand...
Click to collapse
It would make your sd your storage... 16gb built into phone or my 64gb card hmmmm lol
Sent from my ice cream powered Evo Lte!
maxdamage2122 said:
I need a couple people with TWRP/CWM recovery to test out a couple flashable zips for me since I have not unlocked my bootloader yet. If you are interested please PM me and let me know which recovery you are running. PLEASE DO NOT post anything in this thread till I am done testing and have posted the zip. I should have it up late tonight (sadly I have work today) if everything goes as planned.
I have figured out how to mount the external storage as /sdcard and the internal storage as /sdcard/ext_sd. I have not been able to successfully mount the internal anywhere else unfortunately but will continue looking into it.
SIDE EFFECTS/ISSUES WITH THIS METHOD
You can not mount the external sdcard to a computer
In storage settings, External storage shows under "Phone storage" and the internal storage shows under "Storage card"
Selecting "Unmount storage card" will unmount the internal storage ("Mount storage card" will remount it though)
If you remove or boot with out the external sdcard neither storage space will be available for use
Possibly others...
Click to expand...
Click to collapse
I'll test it for you, but I would also like a few things changed. Maybe increase app storage? Or could we dedicated some of it to phone ram?
sent from my EVO LTE
Updated OP with flashable zip.
Hey, can we PM, we may be on to something, we have the same dilemma lol.
maxdamage2122 said:
350 views from 2 different threads and not a single PM.
Click to expand...
Click to collapse
I bet not too many people have filled up their internal storage...once they do they will be posting here in drones.
Sent from my EVO using xda premium
This is a big benefit thanks cause when flashing roms twrp doesnt see the external sd card
Sent from my MB855 using xda premium
What I'd really like to see is the ability to have swap.
pbedard said:
This is a big benefit thanks cause when flashing roms twrp doesnt see the external sd card
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
TWRP does allow you to view the external sdcard you have to go into mounts and change it. Be sure to change it back though or your back up's wind up on your external card.
Sent from my EVO using XDA
There should be a couple extra steps put in the OP.
And remember original storage is:
Internal storage = the app itself
Phone storage = the apps data
sd card= everything else
1. any apps that (the apk file itself) are installed in the phone storage, should be moved to internal storage.
2. Any of the game data that is on phone storage, should be moved to the actual sd card (sdcard2). This data is in the Android folder on phone storage (sdcard). So it should be moved from /mnt/sdcard/android/data to /mnt sdcard/ext_sdcard/android/data. Really just move the whole folder to the sd card. I moved the whole folder to phone storage from the sd card when I got the phone so I didn't have to sit there and download all the game data for the bigger games and such again.
3. Follow the steps in the OP of this hack.
4. If you want to get some of your 2 GB app storage space back, move the apps as you wish to phone storage. This will be the app apk file not the huge game data. But this time phone storage will be the actual sd card. So it won't take away from your 10 GB it will take away from the sd card.
The apps that get moved will get moved from /data/app to /mnt/sdcard/.android_secure.
also at this step I would say move a couple big apps/games as oppose to many little apps/games. Better to have a couple big ones to load not that often, than to have many little apps to load more often and cause more slowdown. The more little apps you have on the sd card the more possibility the phone gets slowed down, cause no matter what sd card u have, it's gonna be just a little slower than what came on the phone. So moving just a couple 50 mb games should go a long ways.
Now the question is what to do with that 10 GB. If I do this hack, which I eventually will, I would probably fill this space with titanium backups, have the pictures and video saved here, roms and such I will flash I recovery, ringtones, wallpapers. You kinda don't have to many more choices with this space. if I'm gonna take space away from the memory card but don't want to delete any of my 40 GB of music, I would want to move whatever I could in that 10 GB of space so it doesn't get wasted. Remember moving apps or huge game data doesn't go into the 10GB anymore.
There are pluses to this hack and there are minuses. Until I get the exact figures on what I can put where I am going to wait on doing all this, but I hope I helped give a bit of an overview to what is going on with your storage space and how it is used.
I posted this in the other thread too so no one misses it cause moving stuff around is time consuming and annoying.
Swyped from my eVo
What I was thinking is to redo partition sizes. The 2.3gb for internal app storage get increased a little more.
Could we use some space to increase our RAM as seen in task manager? Mount the rest as the /android or /data folder so our apps would load faster instead of ex_sdcard.
Mount the external SD as the sdcard as normal. Sounds crazy I know..
sent from my EVO LTE
How does this differ from http://forum.xda-developers.com/showthread.php?t=1716166??
EarlyMon said:
How does this differ from http://forum.xda-developers.com/showthread.php?t=1716166??
Click to expand...
Click to collapse
It's the same. The OP of that thread didn't see my thread when he made his. Mine is a flashable zip and his is the manual method (good for people that don't have unlocked bootloaders).
The zip failed for me in TWRP
No real error, just says failed!
Weird..
sent from my EVO LTE
Spyderekz said:
The zip failed for me in TWRP
No real error, just says failed!
Weird..
sent from my EVO LTE
Click to expand...
Click to collapse
Updated OP with a new version. Try that one out.
Flashed the new zip last night, everything is sweet. In fact I was having a problem moving apps from the internal [2GB) to the phone storage [10GB) and having the moved apps survive a reboot before I did this hack. I would move them, and after next time I would reboot, it would have the storage space taken up but not be installed. This is what made me flash this cause I was only going to have the 2 GB for apps. So after doing this and reboot everything is where it's suppose to be. Fixed my tons of problems with Google music too. storage and ram are a pain in the ass with this phone.
Follow my instructions and everything will be great.
My question is when I do flash new ROM and the swap mounts gets undone, can I flash this after the ROM in the same session or after a fresh install and reboot?
Swyped from my eVo
ryanalan82 said:
My question is when I do flash new ROM and the swap mounts gets undone, can I flash this after the ROM in the same session or after a fresh install and reboot?
Click to expand...
Click to collapse
Yes you can.
Edit: Flash in the same session.
Flash after rom
sent from my EVO LTE

Help Please. SDCard not mounting

The thread says it all. I have a rooted EVO LTE running the CM 10. Everything was working fine until I accessed the SD Card from within TWRP to copy a file. Now I get errors when I look at the command line within TWRP "failed to mount /sdcard {Invalid argument)". Can anybody help me? Thanks so much to all of this community.
finman76 said:
The thread says it all. I have a rooted EVO LTE running the CM 10. Everything was working fine until I accessed the SD Card from within TWRP to copy a file. Now I get errors when I look at the command line within TWRP "failed to mount /sdcard {Invalid argument)". Can anybody help me? Thanks so much to all of this community.
Click to expand...
Click to collapse
I currently have the same problem and mannnn am I f'n pissed.... i did a factory reset from within the bootloader which is what caused mine to stop working right...anyways I am also looking for a solution so when i do I will give you the info.
zoned_out said:
I currently have the same problem and mannnn am I f'n pissed.... i did a factory reset from within the bootloader which is what caused mine to stop working right...anyways I am also looking for a solution so when i do I will give you the info.
Click to expand...
Click to collapse
The only way I was able to fix this was to mount the SDCard over USB in Recovery Mode and reformat it. I lost what was on there, but it's working now.
I formated my card through windows 7 and I still have the same problem. I never had this issue on any of my previous rooted phones I am really gettin pissed with the lte...
Sent from my EVO using xda app-developers app
Are you guys also having trouble accessing the Camera? Mine doesn't seem to pick up my SD card and only allows me to use the Camera using external storage...
Well when I pull my camera up my phone days " no external storage available" then at the bottom if my screen another pop up says "insert an SD card before using the camera" I have my SD in....idk what to do. I searched the threads already but nothing besides some guy saying format my SD...I did that but now I have the same problem along with my pictures and music being erased.
Sent from my EVO using xda app-developers app
Well you could have put the files on your comp first and then reformatted, but I am having the same problem. I guess we just gotta hang in there. It will be fixed soon I hope.
I'm having the same issue with the Aug. 31 CM10 nightly. I cannot access my SD card. If I look in system memory, it shows the card and the size, but I cannot access it, same as you guys. Trying with TWRP to wipe, it shows a bunch of e: failed to mount /sdcard (invalid argument). Still no solutions?
d1scopotato said:
I'm having the same issue with the Aug. 31 CM10 nightly. I cannot access my SD card. If I look in system memory, it shows the card and the size, but I cannot access it, same as you guys. Trying with TWRP to wipe, it shows a bunch of e: failed to mount /sdcard (invalid argument). Still no solutions?
Click to expand...
Click to collapse
I was able to mount the SDCard over USB in Recovery Mode and reformat it from my computer. Obviously I lost my data that was on the SDCard, but none of the apps I had running were affected. Once I did this and rebooted into CM10, everything was fine and I just made a fresh Titanium Backup of all of my apps. My previous TWRP Nandroids were on the SDCard, so they were lost, but I can always reinstall another ROM and restore my Titanium Backups and go from there. Hope that helps.
I had this same exact problem, but the external storage it is referring to is actually your internal sd card, and not the external.
What you need to do is go into TWRP and mount YOUR INTERNAL sd card (don't switch to external), and in windows 7 format it.
More detailed instructions: http://forum.xda-developers.com/showthread.php?t=1812774
midfieldmaestro said:
I had this same exact problem, but the external storage it is referring to is actually your internal sd card, and not the external.
What you need to do is go into TWRP and mount YOUR INTERNAL sd card (don't switch to external), and in windows 7 format it.
More detailed instructions: http://forum.xda-developers.com/showthread.php?t=1812774
Click to expand...
Click to collapse
This!
midfieldmaestro said:
I had this same exact problem, but the external storage it is referring to is actually your internal sd card, and not the external.
What you need to do is go into TWRP and mount YOUR INTERNAL sd card (don't switch to external), and in windows 7 format it.
More detailed instructions: http://forum.xda-developers.com/showthread.php?t=1812774
Click to expand...
Click to collapse
AWESOME! Thanks!
So I'm having a similar issue, except I didn't try to access the external sd card from TWRP. And yes I've verified its the actual physically removable card.
I can see it in the system storage menu. However when I try to access it in Estrongs, it's no longer mounted as ext_sd in the sdcard folder. I did some digging and found it's now mounted as external_sd in the root folder of the phone. Looking in the storage folder, it still shows up as sdcard1, and my internal storage is still sdcard0. This seems to have happened after I flashed one of the nightlies, like 9/1 or 9/2. Any ideas on how to resolve this?
I'd rather not revert to my last backup, which was a Sense rom. I think this is screwing with the media scanner, because none of my sounds for alarms calls or texts work anymore
BeerMit said:
So I'm having a similar issue, except I didn't try to access the external sd card from TWRP. And yes I've verified its the actual physically removable card.
I can see it in the system storage menu. However when I try to access it in Estrongs, it's no longer mounted as ext_sd in the sdcard folder. I did some digging and found it's now mounted as external_sd in the root folder of the phone. Looking in the storage folder, it still shows up as sdcard1, and my internal storage is still sdcard0. This seems to have happened after I flashed one of the nightlies, like 9/1 or 9/2. Any ideas on how to resolve this?
I'd rather not revert to my last backup, which was a Sense rom. I think this is screwing with the media scanner, because none of my sounds for alarms calls or texts work anymore
Click to expand...
Click to collapse
this is a work around for the HTC method of listing the sd cards, in my opinion HTC really screwed the pooch with the way they labeled the file system. The way sense accesses the external sd is through a shortcut to the physical address of the external sd. It really screwed with apps like power amp which had no problem reading both cards but if for example you went to power amp and marked what folders had your music by selecting the folders through the ext_sd folder shortcut it would read and list your music twice. another user who flashed cm10 noticed this (not the ext_sd file problem but the way CM10 was confused by the structure) and quickly wrote (then generously shared) a script that would rewrite the address correctly. I guess that a similar script (or that very same one) was introduced to the installer for the nightly builds
Wow thanks for the clear explanation. I too thought the ext_sd method was screwy, with all of my custom notification sounds showing up twice. Any idea on how to fix my alarm and call sounds not working? Can't afford to miss a day of class lol
This isn't definite as I haven't had to but going to fix permissions might help if some programs aren't recognizing the file tree
Welp, it was worth a shot, but no go. Ima keep tinkering. Thanks anyway tho
Well here's what I did after I flashed the original rewrite script, I had to factory reset (changes survived)and then wipe system, then reflash the nightly build (fastboot kernel for boot 1.15+)
Edit: I still have the shortcut folder on my internal however its not linked anymore so nothing shows up, everything else works fine
Ok, tried a full reset, wiped data, system, caches. Ringtones are working again, as are text tones. Alarms, still silent as ever... I'm so confused right meow
Sorry to hear that man

Categories

Resources