[MOD][CM10]Swap internal/external storage links - Sprint HTC EVO 4G LTE

This is a flashable zip for cm10 that will:
mount external storage to /storage/sdcard0 and internal storage to /storage/sdcard1
remove all links to /storage/sdcard1 (internal storage)
link /storage/sdcard1 (internal storage) to /internal_sd and /mnt/internal_sd
survive a cm rom flash (as long as /system isn't formatted beforehand)
md5: 838eb8b6e9fb2246efdc0f39d6c21c10

Sweet! Gonna try.
Works well.

EDIT: You can ignore this post. V2 now saves camera pics/vids to the external storage.
I know some people wanted this so their pics could be saved to the external storage but it doesn't work. The camera/gallery must be hard coded to save to /storage/sdcard0.
The only option I can think of to change this is to mount bind /storage/sdcard1 to /storage/sdcard0/DCIM. But this will save all of the camera folders to the root of the external storage. If people are interested in this I can look more into and see if it is actually possible without bad side effects.

Hey I was going to reply to your PM but I figured posting here would bump it up and let other people see it.
Anyway I finally got a chance to try out the zip (on vacation) and I don't see a difference. The mount points remain the same if I go to storage under settings it still shows the internal as internal and sdcard as external.
If I try to move an app over it still moves it to the internal space.
Sent from my EVO using Tapatalk 2

Actually I forgot to add a file to the zip. I'll be updating this in a bit.
EDIT: OP updated with a new version. This one should work better. Sorry about that.

maxdamage2122 said:
Actually I forgot to add a file to the zip. I'll be updating this in a bit.
EDIT: OP updated with a new version. This one should work better. Sorry about that.
Click to expand...
Click to collapse
Thought I was crazy haha, I'll test it out and update this letting you know if it's working thanks!
EDIT: Works great, also screenshots get saved to the SD Card just fine haven't tested camera but I guess it still saves to the on-phone memory if you say so xD
Here is picture confirmation:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

No camera pics/vids get saved to the external storage. It wasn't working before because I forgot to edit that file.

maxdamage2122 said:
No camera pics/vids get saved to the external storage. It wasn't working before because I forgot to edit that file.
Click to expand...
Click to collapse
Yep. Figured that out earlier today, came here to post about it xD
Sent from my EVO using Tapatalk 2

You sir, are my hero. Tried it out, works perfect. One question, does this work with TWRP when doing backups?

cLo013 said:
One question, does this work with TWRP when doing backups?
Click to expand...
Click to collapse
No. But in twrp you can choose to backup to the external storage.

Does this script works on all devices? I have galaxy tab 10.1 on CM10 and wondering if I can flash this script.

maxdamage2122 said:
This is a flashable zip for cm10 that will:
mount external storage to /storage/sdcard0 and internal storage to /storage/sdcard1
remove all links to /storage/sdcard1 (internal storage)
link /storage/sdcard1 (internal storage) to /internal_sd and /mnt/internal_sd
survive a cm rom flash (as long as /system isn't formatted beforehand)
md5: 410DE4F0FD9AB5CA37828C9084355C67
Click to expand...
Click to collapse
When you say "survive CM ROM flash as long as system isn't formatted...", do you mean that a complete wipe can't be done? And if a complete wipe IS done, assuming it erases this mod, can the mod be immediately flashed after flashing the ROM, or do we need to boot the system once for some setup actions before the mod will work?

vwgtiturbo said:
When you say "survive CM ROM flash as long as system isn't formatted...", do you mean that a complete wipe can't be done? And if a complete wipe IS done, assuming it erases this mod, can the mod be immediately flashed after flashing the ROM, or do we need to boot the system once for some setup actions before the mod will work?
Click to expand...
Click to collapse
Depends on what you mean by complete wipe. If you wipe/factory restore the mod will stick. If you flash a cm ROM the mod will stick. The only time the mod will be gone is if you format /system or use one of those super wipe things.
Edit: The mod will also be gone if you flash any other ROM other than cm.
If you do format system and want the mod back you can flash it after the ROM in the same recovery session.

maxdamage2122 said:
Depends on what you mean by complete wipe. If you wipe/factory restore the mod will stick. If you flash a cm ROM the mod will stick. The only time the mod will be gone is if you format /system or use one of those super wipe things.
If you do format system and want the mod back you can flash it after the ROM in the same recovery session.
Click to expand...
Click to collapse
Awesome... So, does this "fix" the issue with mounting internal storage on the desktop instead of the external card? It baffles me why my CM10 install mounts the internal storage on any of my desktops (Win,Lin,Mac) instead of the external...

vwgtiturbo said:
Awesome... So, does this "fix" the issue with mounting internal storage on the desktop instead of the external card? It baffles me why my CM10 install mounts the internal storage on any of my desktops (Win,Lin,Mac) instead of the external...
Click to expand...
Click to collapse
Not sure because I never tested it. I have a hunch it won't but if you want try it out and let me know.

maxdamage2122 said:
Not sure because I never tested it. I have a hunch it won't but if you want try it out and let me know.
Click to expand...
Click to collapse
Let me NAND backup, and I'll flash stock CM10, make some notes, then flash this and compare. Thanks for the responses!

maxdamage2122 said:
Not sure because I never tested it. I have a hunch it won't but if you want try it out and let me know.
Click to expand...
Click to collapse
Okay, after quite a bit of flashing/rebooting, and various tests, I can confirm that this DOES INDEED fix the CM USB desktop mount issue. Instead of USB mounting making the internal storage available to the OS of the host computer, it instead makes the external SD card available. AWESOME SAUCE!!!
So, just for those that may be curious (and to show the lengths I went to to see how this mod changes the filesystem), I've listed below all of the conditions I looked at before and after flashing this mod.
I used two OSs on the phone (Stock with Goodies v2.03, just as something to compare CM to, knowing that it isn't affected by this mod; and CM10 nightly from 9/06). Also, on the host side, I used all three major OSs (Mac, Lin, Win), just to verify that the USB storage mounts I experienced weren't flukes.
I know that a lot of this is really redundant, as most of these locations are linked and such, but I included everything just for completeness.
And here it is…
Filesystem Mounts:
Stock203 (via TWRP)
---------------------------------------------------------------
sdcard/ internal
sdcard2/ external
sd-ext/ nothing (empty)
Stock203 (via Terminal Emulator)
---------------------------------------------------------------
/mnt/usb/ nothing (empty)
/mnt/sdcard/ internal
/mnt/sdcard/ext-sd/ external
/sdcard internal
/sdcard2 external
---------------------------------------------------------------
---------------------------------------------------------------
PREMOD
CM10 (via TWRP)
---------------------------------------------------------------
/sd-ext/ nothing (empty)
/sdcard/ internal
/sdcard/ext_sd/ nothing (empty)
/sdcard2/ external
---------------------------------------------------------------
CM10 (via Terminal Emulator)
---------------------------------------------------------------
/external_sd/ external
/sdcard/ internal
/mnt/external_sd/ external
/mnt/sdcard/ internal
/mnt/sdcard/ext_sd/ nothing (empty)
/storage/sdcard0/ internal
/storage/sdcard0/ext_sd/ nothing (empty)
/storage/sdcard1/ external
Titanium Backup
* SD Card (mapped to internal)
* Ext SD card (mapped to external)
USB mount to desktop
* Internal storage
---------------------------------------------------------------
---------------------------------------------------------------
POSTMOD
CM10 (via Terminal Emulator)
---------------------------------------------------------------
/internal_sd/ internal
/mnt/internal_sd/ internal
/mnt/internal_sd/ext_sd/ nothing (empty)
/mnt/sdcard/ external
/sdcard/ external
/storage/sdcard0/ external
/storage/sdcard1/ internal
/storage/sdcard1/ext_sd/ nothing (empty)
Titanium backup
* SD Card (mapped to external)
* Ext SD card (mapped to internal)
USB mount to desktop
* External storage
---------------------------------------------------------------
---------------------------------------------------------------
EDIT: And of course, all of my spacing is removed... This really should be WYSIWYG.

Just so you know that ext_sd folder on your internal storage can be deleted if you like. Sense creates it to link to the external card. So on cm10 its useless.

FYI this was taken from the cm10 thread:
dsEVOlve said:
After I flashed this mod I found that I was no longer able to take pics in rapid succession as it took several seconds to save each pic to the external card. Thought I would throw it out there in case it is important for others thinking about using this mod. I've got a 10 month old and taking quick pics kinda matters to me.
FWIW, I have a class 10 card.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I tested it on my class 4 with the same results.

maxdamage2122 said:
FYI this was taken from the cm10 thread:
I tested it on my class 4 with the same results.
Click to expand...
Click to collapse
Hmm... I'll have to look into that. Honestly though, the camera on cmx is ****e, relative to sense. If I end up loading cmx into the phone permanently, it's with the understanding that I'll be bringing a point and shoot with me, for pictures that matter (or the crappy camera/slowness would be fine for things that are out of the norm/unusual occurrences). In my use, mounting the external to the desktop is a much higher priority than quicker pictures. Just my usage, of course; everyone has their own priority
Not to mention, is someone has a highly rated class 10 SD card (versus a cheapie), there shouldn't be much lag unless the system is a bottleneck.

Related

[Q] How to swap sdcard-ext to sdcard mountpoint

Hi there, I have a 32gb class10 sdcard, dont want to use the internal 10gb memory as the default place to save app data, since I have 20gb of gamedata on the sdcard\android\data and sdcard\gameloft\games, so how can I mount my 32gb sdcard to be the root\sdcard, and the internal memory to be the root\sdcard-ext just like it was when I have the CM7 rom.
No I dont want to go back to CM7, I want to do this on my original rom android 2.3.6 brasilian bell atrix.
I found a CWM recovey swaper to droid x, so it is possible, can you guys help me, some script or anything.
I already tryed to just rename with rootexplorer but didnt work.
I already tryed lots and lots of markets apps that said it would do, but didnt.
Can someone please point me a way...
Thanks a lot
Pistolaobr said:
Hi there, I have a 32gb class10 sdcard, dont want to use the internal 10gb memory as the default place to save app data, since I have 20gb of gamedata on the sdcard\android\data and sdcard\gameloft\games, so how can I mount my 32gb sdcard to be the root\sdcard, and the internal memory to be the root\sdcard-ext just like it was when I have the CM7 rom.
No I dont want to go back to CM7, I want to do this on my original rom android 2.3.6 brasilian bell atrix.
I found a CWM recovey swaper to droid x, so it is possible, can you guys help me, some script or anything.
I already tryed to just rename with rootexplorer but didnt work.
I already tryed lots and lots of markets apps that said it would do, but didnt.
Can someone please point me a way...
Thanks a lot
Click to expand...
Click to collapse
I'd like to know this aswell... But in my case, I haven't done any research.
Will post if I find something.
Happy holidays,
Sent from my Atrix 4G using Tapatalk
Rayan said:
I'd like to know this aswell... But in my case, I haven't done any research.
Will post if I find something.
Happy holidays,
Sent from my Atrix 4G using Tapatalk
Click to expand...
Click to collapse
k scrub-a-dub-dubs googling would have answered this question already and so would the XDA forum search, but since its the holidays i'll help you both out.
1) get Root explorer, and you're going to need root access. I'll wait.
2) Using root explorer traverse to /etc/vold.fstab. MAKE A BACKUP of this file!
3) find the two lines for sdcard and sdcard-ext/emmc (depending if you're on CM7) Lines should look like this:
dev_mount sdcard /mnt/sdcard BLA BLABLA BLAB etc etc etc
AND
dev mount sdcard-ext /mnt/sdcard-ext blaglalgalglaglaglalglagldslfgfl
4) ok simply swap the 2nd word of each line with each other. So the first line
would say
dev_mount sdcard-ext /mnt/sdcard BLA BLABLA BLAB etc etc etc
and the second line would be
dev mount sdcard /mnt/sdcard-ext blaglalgalglaglaglalglagldslfgfl
5) save the file and reboot
NOTES: blur based roms do SDCARD + SDCARD-EXT. CM7 does SDCARD + EMMC, but the same guide applies
goodluck and happy holidays
roflestomp said:
k scrub-a-dub-dubs googling would have answered this question already and so would the XDA forum search, but since its the holidays i'll help you both out.
1) get Root explorer, and you're going to need root access. I'll wait.
2) Using root explorer traverse to /etc/vold.fstab. MAKE A BACKUP of this file!
3) find the two lines for sdcard and sdcard-ext/emmc (depending if you're on CM7) Lines should look like this:
dev_mount sdcard /mnt/sdcard BLA BLABLA BLAB etc etc etc
AND
dev mount sdcard-ext /mnt/sdcard-ext blaglalgalglaglaglalglagldslfgfl
4) ok simply swap the 2nd word of each line with each other. So the first line
would say
dev_mount sdcard-ext /mnt/sdcard BLA BLABLA BLAB etc etc etc
and the second line would be
dev mount sdcard /mnt/sdcard-ext blaglalgalglaglaglalglagldslfgfl
5) save the file and reboot
NOTES: blur based roms do SDCARD + SDCARD-EXT. CM7 does SDCARD + EMMC, but the same guide applies
goodluck and happy holidays
Click to expand...
Click to collapse
Thanks but that didn't work :-(
I changed mine from:
# external sd card
dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
dev_mount sdcard
/mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
To:
# external sd card
dev_mount sdcard /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
dev_mount sdcard_ext /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
But even after a reboot both mount points remain unchanged.
Any other suggestions?
Thanks
Sent from my Atrix 4G using Tapatalk
roflestomp said:
4) ok simply swap the 2nd word of each line with each other.
Click to expand...
Click to collapse
Its the 2nd word dude, so change to
# external sd card
dev_mount sdcard_ext /mnt/sdcard
# internal eMMC
dev_mount sdcard /mnt/sdcard-ext
Pistolaobr said:
Its the 2nd word dude, so change to
# external sd card
dev_mount sdcard_ext /mnt/sdcard
# internal eMMC
dev_mount sdcard /mnt/sdcard-ext
Click to expand...
Click to collapse
Du'h my bad!
It works flawlessly!
Thanks and happy holidays!
Sent from my Atrix 4G using Tapatalk
It's not flawless. When mounted by usb to the computer, the phone crashes and restarts :/
Well, even though it works it is indeed not flawless.
In my case it works just fine when I mount the Atrix as mass storage, but the problem I've been having is sudden reboots and worst of all, yesterday it reverted back to its original settings all by itself after one of the many reboots.
Too bad since I'm running out of space!
I'll try it again today.
Cheers
Sent from my Atrix 4G using Tapatalk
roflestomp said:
Well then you can't read straight. Works fine for me n others
Click to expand...
Click to collapse
I could, after several restarts XD But the problem still persist if I reconnect the usb. So it's an annoyance. Are you on an atrix also?
nikdimas said:
I could, after several restarts XD But the problem still persist if I reconnect the usb. So it's an annoyance. Are you on an atrix also?
Click to expand...
Click to collapse
I have tried this hack and mount both partitions as mass storage without any reboot problem.
The thing is that it seems like it confuses the OS and reboots at random times which eventually causes both mount partitions to fail or even to revert the hack to it's original settings.
I noticed that while the hack is applied, under Webtop the partition labels are mixed up, in other words, what used to be the internal SDCARD after the hack it acts as SDCARD-EXT but under webtop the label remains MB580 which supposedly is internal SDCARD and SD/MMC Drive belongs to what supposedly is now an internal SDCARD.
I hope I made my point on that paragraph!
@roflestomp, by any chance have you partitioned your external sdcard with Webtop2SD? I have and I'm thinking that could be the problem. I will experiment getting rid of the 4GB ext partition I created there and see what happens.
Cheers and happy new year to all!
Rayan
Rayan said:
I have tried this hack and mount both partitions as mass storage without any reboot problem.
The thing is that it seems like it confuses the OS and reboots at random times which eventually causes both mount partitions to fail or even to revert the hack to it's original settings.
I noticed that while the hack is applied, under Webtop the partition labels are mixed up, in other words, what used to be the internal SDCARD after the hack it acts as SDCARD-EXT but under webtop the label remains MB580 which supposedly is internal SDCARD and SD/MMC Drive belongs to what supposedly is now an internal SDCARD.
I hope I made my point on that paragraph!
@roflestomp, by any chance have you partitioned your external sdcard with Webtop2SD? I have and I'm thinking that could be the problem. I will experiment getting rid of the 4GB ext partition I created there and see what happens.
Cheers and happy new year to all!
Rayan
Click to expand...
Click to collapse
In red, I think the os is confused (is this what you're trying to say?) and the phone autoreboots but the it doesn't clear my settings to the defaults.
I totally don't understand your paragraph xD Are you saying that some part of the webtop is in the original sd scard (on the atrix system)? If it is, i'm fcked
In blue, did you mount it both as sdcard or sdcard-ext? And when you connect the atrix to usb and computer does it reboot by itself?
Thanks
Sorry for the confusion!
This time I'll try to illustrate with screen caps
But first I'll answer your questions:
1. Yes, what I tried to say was that I think that the OS eventually goes nuts and reboots without any apparent reason and once I noticed that the hack reverted to its original settings, all by itself (at least in my case).
2. Check my screen caps to understand what I meant to say. But don't worry, so far Webtop and even Webtop2sd seem to be working just fine with the hack.
3. Yes, I managed to mount both memory partitions onto my PC with the hack applied without any reboot problems.
Okay, here's the screenies:
First, this is how it looks WITHOUT the hack applied.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Android Settings/Storage - Notice the size of each so you can later tell them apart.
Astro File Manager External MicroSD. For easier identification, I created a folder labeled 123-My External MicroSD
Astro File Manager Internal Memory. For easier identification, I created a folder labeled 123-My Internal SD
This is under Webtop, notice the labels and folder names
Next this is how it looks WITH the hack applied.
Android Settings/Storage - The hack seems to be applied correctly! - Notice how volume sizes have been swapped.
Astro File Manager - Notice how the EXTERNAL memory now shows the folder Iabeled INTERNAL, which is correct.
Astro File Manager - Notice how the INTERNAL memory now shows the folder Iabeled EXTERNAL, which is correct.
Now here's where it turns interesting, notice the labels on both internal an external memory and see that the folders now match to their original un-hacked version! It was supposed to be inverted just like Astro File Manager.
I think theres something else we need to tweak or hack for this to work.
I will start over from scratch with both memory partitions formated and clean OS and post my findings.
Have a great 2012!
Rayan
Sent from my Atrix 4G using Tapatalk
Rayan said:
Well, even though it works it is indeed not flawless.
In my case it works just fine when I mount the Atrix as mass storage, but the problem I've been having is sudden reboots and worst of all, yesterday it reverted back to its original settings all by itself after one of the many reboots.
Too bad since I'm running out of space!
I'll try it again today.
Cheers
Sent from my Atrix 4G using Tapatalk
Click to expand...
Click to collapse
Hey man... And did you feel improvement in performance?
Sent from my OC'd Motorola ™ Atrix® via XDA premium
dragoncius;[URL="tel:20813279" said:
20813279[/URL]]Hey man... And did you feel improvement in performance?
Sent from my OC'd Motorola ™ Atrix® via XDA premium
Click to expand...
Click to collapse
Not really...
It's hard to tell on normal things like booting up, saving files, using the video camera and such, but the only place i notice a bit of performance decrease is while launching huge games, but that's because I have a Class 4 32GB microsd!
But I'm not doing this to improve performance, but for lack of space on my internal storage.
Cheers!
Rayan
P.S. Can you guys see the screen caps in my previous post? On my PC I can't see them, but on my Webtop I can!
Rayan said:
Sorry for the confusion!
This time I'll try to illustrate with screen caps
But first I'll answer your questions:
1. Yes, what I tried to say was that I think that the OS eventually goes nuts and reboots without any apparent reason and once I noticed that the hack reverted to its original settings, all by itself (at least in my case).
2. Check my screen caps to understand what I meant to say. But don't worry, so far Webtop and even Webtop2sd seem to be working just fine with the hack.
3. Yes, I managed to mount both memory partitions onto my PC with the hack applied without any reboot problems.
Okay, here's the screenies:
First, this is how it looks WITHOUT the hack applied.
Android Settings/Storage - Notice the size of each so you can later tell them apart.
Astro File Manager External MicroSD. For easier identification, I created a folder labeled 123-My External MicroSD
Astro File Manager Internal Memory. For easier identification, I created a folder labeled 123-My Internal SD
This is under Webtop, notice the labels and folder names
Next this is how it looks WITH the hack applied.
Android Settings/Storage - The hack seems to be applied correctly! - Notice how volume sizes have been swapped.
Astro File Manager - Notice how the EXTERNAL memory now shows the folder Iabeled INTERNAL, which is correct.
Astro File Manager - Notice how the INTERNAL memory now shows the folder Iabeled EXTERNAL, which is correct.
Now here's where it turns interesting, notice the labels on both internal an external memory and see that the folders now match to their original un-hacked version! It was supposed to be inverted just like Astro File Manager.
I think theres something else we need to tweak or hack for this to work.
I will start over from scratch with both memory partitions formated and clean OS and post my findings.
Have a great 2012!
Rayan
Sent from my Atrix 4G using Tapatalk
Click to expand...
Click to collapse
Rayan said:
Not really...
It's hard to tell on normal things like booting up, saving files, using the video camera and such, but the only place i notice a bit of performance decrease is while launching huge games, but that's because I have a Class 4 32GB microsd!
But I'm not doing this to improve performance, but for lack of space on my internal storage.
Cheers!
Rayan
P.S. Can you guys see the screen caps in my previous post? On my PC I can't see them, but on my Webtop I can!
Click to expand...
Click to collapse
Yes I can see your screencaps.
@first post of yours above:
I did it like that and on my pc it's both proper (unlike what u have there at the end) but not before encounterring countless reboots xD The chances of not encounterring reboots is like 10% LOL.
I had to use mount in recovery mode (drains battery) to transfer files.
I thought you're going to show me the part where you had both cards as your internal sd... (or did I misunderstood you again?).
1. I also have no restart with atrix + gingermod 2.3.6 bell rom.
2. The only bug that i have it is that now, windows can only read the internal memory at 1st, i have to plug, unplug, than plug it again to read both internal memory and sdcard, it seems that when the atrix try to unplug the cardmemory to give acess to windows explorer, it doesnt work and the cardmemory stays unpluged, only the second time, with the cardmemory alredy unplugged, widows explorer recognizes my sdcard.
I'm on alien build #4 with working webtop .. that should be the problem ;/
Deos anyone know how to fix the problem with sdcard. After doing the scrit editing, the sdcard is not detected by windows anymore, only internal memory.
Rom 2.3.6
Pistolaobr said:
Deos anyone know how to fix the problem with sdcard. After doing the scrit editing, the sdcard is not detected by windows anymore, only internal memory.
Rom 2.3.6
Click to expand...
Click to collapse
You know? I've seen this problem even without this hack and with several ROMs I've tried, and I use the same plug-unplug-plug-unplug-plug fix with random results.
By the way, I've found that using the mass media notification to switch on and off and on again instead of plugging fixes this more often than not.
Sent from my Atrix 4G using Tapatalk
Check out this thread, it may help. I haven't tried it but I will be as sood as I have some time.
http://forum.xda-developers.com/showthread.php?t=1310309
[MOD][AD2SDX][ALPHA02] New Data To SD-EXT Mod - AMARULLZ DATA TO SD-EXT [OCT-20]

[How-to] S-Off ext SD Fix (With Screenshots)

Guys, noticed a few people having trouble with the sd card fix so I ran it and took screenshots. Each screenshot is what you should see after running the command listed above the screenshot. (I am not going to post screenshots of how to open the command prompt.. if you made it this far you should already know)
Disclaimer: This formats your SD Card.
This requires busybox. I utilized the busybox installer found at https://play.google.com/store/apps/...usybox&feature=nav_result#?t=W251bGwsMSwyLDNd
1. adb shell
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. busybox fdisk /dev/block/mmcblk1
3. type the letter "o"
4. type the letter "w"
5. busybox fdisk /dev/block/mmcblk1
6. Type the letter "n"
7. Type the letter "p" for primary
8. Type the number "1" for first partition
9. Press the enter key for default size.
10. Press the enter key for default size.
11. Type the letter "w"
12. busybox mkfs.vfat /dev/block/mmcblk1p1
Edit: Step 13.. On your phone, click on the Notification that states "Blank SD Card" and choose format, the card should then format and mount properly.
This is my first How-to so if something does not make sense please let me know. Hope this helps guys.
Nicely done. I'll add this to my FAQ thread. Great guide.
Sent from my Htc Rezound
Follow me on twitter @lmrtech
Somebody tipped me off to the "adb shell" and then proceed portion prior to this walkthrough, but I know others struggled with this issue as well. I'm sure they'll appreciate this info, thanks!
Im getting this after entering the letter "w"
fdisk: WARNING: rereading partition table failed, kernel still uses old table: D
evice or resource busy
nnnnr14 said:
Im getting this after entering the letter "w"
fdisk: WARNING: rereading partition table failed, kernel still uses old table: D
evice or resource busy
Click to expand...
Click to collapse
Hmm, never got that before. Do you have your device mounted as Charge only? Also may reboot the device see if that resolves it.. Last would be to run it through the terminal emulator on the phone (that is how I fixed mine the first time, its a pain but it worked).
When doing it through the terminal emulator on the phone though you do not need to use the adb shell command, just the busybox commands.
sindroidx said:
Hmm, never got that before. Do you have your device mounted as Charge only? Also may reboot the device see if that resolves it.. Last would be to run it through the terminal emulator on the phone (that is how I fixed mine the first time, its a pain but it worked).
When doing it through the terminal emulator on the phone though you do not need to use the adb shell command, just the busybox commands.
Click to expand...
Click to collapse
what radio are you using? like are you on the new leak or the old one..
nnnnr14 said:
what radio are you using? like are you on the new leak or the old one..
Click to expand...
Click to collapse
First time (when I ran it on my phone) I was on the ICS leak. When I took the screenshots for this post I had downgraded to the GB RUU so I could install the eng hboot.
I'll add this to my OP in the S-Off Instructions thread. Thanks a lot.
i i followed the instructions to the t but i never got the [email protected] prompt is sh-3.2#, i didnt have any errors or anything but it still is not recognized when i plug it into the computer, i also tried it from the emulator on the phone and i get the warning about the kernel still uses old table, device or resource busy, any thoughts?
hoebag said:
i i followed the instructions to the t but i never got the [email protected] prompt is sh-3.2#, i didnt have any errors or anything but it still is not recognized when i plug it into the computer, i also tried it from the emulator on the phone and i get the warning about the kernel still uses old table, device or resource busy, any thoughts?
Click to expand...
Click to collapse
Did you format the SD card at the end? Don't have a screenshot for that one since I had already got mine working but if no errors happened, you should be able to click on the notification that states "Blank SD Card" and choose format and it should format then mount.
Edit: Just modified OP for step 13.
yes i did, my phone said the sd was blank and i formatted it, it said checking sd card, then preparing sd card, but when i plug it into the computer if only shows the internal sd card as a few kilobytes and no ext sd comes up, on my rom i open the camera and it says insert and ad card to use the camera
edit: just tried running it again and on the last step i get cant open /dev/block/mmcblk1p1 no such file or directory
hoebag said:
yes i did, my phone said the sd was blank and i formatted it, it said checking sd card, then preparing sd card, but when i plug it into the computer if only shows the internal sd card as a few kilobytes and no ext sd comes up, on my rom i open the camera and it says insert and ad card to use the camera
edit: just tried running it again and on the last step i get cant open /dev/block/mmcblk1p1 no such file or directory
Click to expand...
Click to collapse
Strange, the last command is what makes the file system for mmcblk1p1.. does recovery or fastboot recognize the sd?
Sent from my ADR6425LVW using xda premium
im actually having the same problem right now.... im running the 2.01.605.11 firmware using scotts clean rom de 1.2 with the firmware patch. it wouldnt install anything onto the sd card so i rebooted to recovery unmounted sd card and remounted it. enabled usb-ms and made a back up of my sd card, rebooted and tried the fix and i get the same issues the other guy does....
sindroidx said:
Strange, the last command is what makes the file system for mmcblk1p1.. does recovery or fastboot recognize the sd?
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
it seems that recovery sees it, windows certainly does when i format it using windows, the phone just cant see it, and the rom im using isnt helping as the settings to storage are force closing so i cant get into them but the camera still says to insert and sd card, im going to try and format the card using my thunderbolt real quick and see if that helps, ill post back and let you know
---------- Post added at 03:28 AM ---------- Previous post was at 02:55 AM ----------
i have no idea what i really did to fix it but its working now, i put the card in my computer, formatted it with windows, copied all of my backed up files to the card and put it back in the phone, it still didnt read it but recovery did so i flashed newts onexxx rc2 rom and bam it read everything from the first boot, internal and external cards, must have been the rom
sindroidx said:
This is my first How-to so if something does not make sense please let me know. Hope this helps guys.
Click to expand...
Click to collapse
Dude. I dont know how to thank you enough for this post.
Thanks for the post but still a no go. Will try again tomorrow.. somehow going to try to flashy a rom and see if it works..
RDxxASSASSINxx said:
im actually having the same problem right now.... im running the 2.01.605.11 firmware using scotts clean rom de 1.2 with the firmware patch. it wouldnt install anything onto the sd card so i rebooted to recovery unmounted sd card and remounted it. enabled usb-ms and made a back up of my sd card, rebooted and tried the fix and i get the same issues the other guy does....
Click to expand...
Click to collapse
I would try a couple things if you haven't already gotten this resolved. If showing in recovery I would try to re-apply the firmware patch. If that does not work I would try a clean install of your ROM once more. Looks like the other issue was resolved by a different ROM, so it would be a suggestion (if the card shows in recovery) to try at least a clean install of the same ROM.
kkeller87 said:
Dude. I dont know how to thank you enough for this post.
Click to expand...
Click to collapse
Not a problem man, just trying to do what I can to help out the community.
Still no go
I have tried again tonight to give the sd card fix a try. Formatted sd card with windows and ran fix. After typing w the outcome was Fdisk: WARNING rereading partition table failed: Kernel still uses old table: device or resource busy
Hope that give an idea for an answer.. Thanks
FYI..my phone won't install busybox (Stericson) cause of sd card not mounted or not reading. Had to use jrummy's. I tried to force busy box to work through my rom with titanium but that didn't work.
My sd card works in ra recovery. When I go into root explorer sdcard2 is in read only. Is there a way to change that?
droidrev71 said:
I have tried again tonight to give the sd card fix a try. Formatted sd card with windows and ran fix. After typing w the outcome was Fdisk: WARNING rereading partition table failed: Kernel still uses old table: device or resource busy
Hope that give an idea for an answer.. Thanks
FYI..my phone won't install busybox (Stericson) cause of sd card not mounted or not reading. Had to use jrummy's. I tried to force busy box to work through my rom with titanium but that didn't work.
My sd card works in ra recovery. When I go into root explorer sdcard2 is in read only. Is there a way to change that?
Click to expand...
Click to collapse
Hmm shows in recovery but R/O in root explorer.. I would try a couple things. First, if it shows in recovery, what firmware are you? If your on the GB firmware I would try the patch released (you can find it in almost all ICS ROM posts). If that does not work I would next try to format the SD Card in recovery, (not sure if that will work but I have heard that formatting in Windows fixed some so its worth a try). Last I would try flashing a new ROM (not saying you have to stay on it but another fix I have heard is new ROM).
If none of those work, I would grab another SD Card and try running to fix to see if maybe there is an issue with the SD card.
sindroidx said:
Hmm shows in recovery but R/O in root explorer.. I would try a couple things. First, if it shows in recovery, what firmware are you? If your on the GB firmware I would try the patch released (you can find it in almost all ICS ROM posts). If that does not work I would next try to format the SD Card in recovery, (not sure if that will work but I have heard that formatting in Windows fixed some so its worth a try). Last I would try flashing a new ROM (not saying you have to stay on it but another fix I have heard is new ROM).
If none of those work, I would grab another SD Card and try running to fix to see if maybe there is an issue with the SD card.
Click to expand...
Click to collapse
i have success.. i'm guessing the main fix was flashing newts rc2. that was the original rom i was on when i did the s-off. i lost my data on sd after using the external sd card fix. so didn't have a back up. i had cleanrom 3.7 on laptop and that is what i flashed to try to fix the first time(different rom which i thought would fix). so glad to be normal again.. exept with data loss which i didn't have much.. thanks for you patience and help
i can't believe the fix was that simple..what a trip..lol

AOSP Roms not using internal sdcard?

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!

[TUTORIAL][GUIDE] Get Apps to SD Card L9

This is obviously the most frustrating thing that we all want to do on the L9 (I have the P769 v20h T-Mobile ROOTED). This should work on all L9's. After tons of research I finally figured out a working method through multiple threads. There's methods with DirectoryBind and BusyBox scripts to mount but those were honestly confusing to me and I didn't understand how to operate those.
First off your phone MUST BE ROOTED. If your phone is not rooted here is a thread that will explain to you how to root, the software is chinese but I promise you it works.
Required Items:
Rooted L9
SD Card
Steps:
1.) I repeat you MUST be rooted
2.) Backup your SD cards files on your computer because you will be formatting the SD card.
3.) We must partition the SD Card into two parts. You can do this by downloading any SD card partitioner app but I used AParted.
3a.) Before you can do anything in the "Aparted" app you have to unmount your SD card. You can do this by going to your system settings. Then go to "Storage" then down at the bottom you will see "Unmount SD Card". Click that.
3b.) Now go into AParted. Click on the "TOOLS" tab at the top. You should only have one partition called "Part 1". Checkmark Part 1 and choose delete down at the bottom.
3c.) You now have a completely formatted SD card.
4.) Create TWO FAT32 partitions by going to the "TOOLS" tab at the top. The first partition is considered your SD card so this is where you would store personal pictures and music, etc from your computer. The second partition is where all the apps and apps data will be moved to. So make sure you appropriately size your partitions. Since I keep a fair sum of music I have a 8GB SD card and made the first partition 1.5GB and used the remaining space for Partition 2.
4a.) To make the partition click checkmark part 1 then click create. Under File System choose "Fat32". Make sure to only use whatever space you will need to store music, etc... Do this by changing the "Size" 1000 is equal to a gigabyte. So if you have a 4GB SD card then you can make this first partition 1500 or 2000 (1.5GB or 2GB) but you have to leave space. Now Click ok.
4b.) Now to make partition 2. Checkmark "Part 2" and click create. Under the file system choose "fat32" again. This time dont change the size, just use the remaining space that it shows and click ok.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5.)Now download the app called "Link2SD"
6.) Once you open the app it will scan a list of all your apps.
View attachment 2306959
7.) BE CAREFUL with which apps you choose to move, I would say limit yourself to only moving the apps you've downloaded such as ESPN, Netflix, Games, etc...
8.) Choose the program you want to move to your SD card, I chose Cut the Rope.
9.) Click the "Create Link" button
10.) Make sure all three options are check-marked (Link Application Files, Link Dalvik-cache Files, Link Library Files)
11.) It will finish and you can proceed to link any apps you desire to the SD card, you can go into your system apps and see how much free space is available so you know it worked. You can see on mine I have much more than 339MB used.
If this helped please give thanks
nice works flawless
LGPwn works just as quickly and it's in English. Simple stuff
Sent from my Android powered coffee coaster.
sleepingturtle said:
LGPwn works just as quickly and it's in English. Simple stuff
Click to expand...
Click to collapse
I respect your opinion, but the reason I did not mention LGPwn was because on the newest firmware update on the T-Mobile version of the P769 which is v20h (released September 13 I think) the LGPwn method no longer works and the Chinese software was the only root method that worked with v20h.
This looks pretty legit hopefully this works. Ive been trying everything to free up some space on this phone.
Weird. LGPwn worked on v20h for me. There are a few different models of P769s out there.
Sent from my Android powered coffee coaster.
I'm having some troubles here im doing doing what you are saying and nothing seems to work. Can you please tell me what to do more specifically because i feel like you are missing some parts.
So i have my phone rooted with LGpwn and ofcourse i tried it and it didn't work says like "Failure..."
So how do i go about to root with the chinese software do i have to unroot my L9 and how do i do that?
sleepingturtle said:
Weird. LGPwn worked on v20h for me. There are a few different models of P769s out there. .
Click to expand...
Click to collapse
Strange... Well good thing it works on some models then, thanks for letting me know.
Rom28ito said:
I'm having some troubles here im doing doing what you are saying and nothing seems to work. Can you please tell me what to do more specifically because i feel like you are missing some parts.
Click to expand...
Click to collapse
Where is the problem occurring? The main part I'm missing in here is how to delete the partition. You have to unmount the SD card before you can perform any deletion of the partition.
Mazrx said:
So i have my phone rooted with LGpwn and ofcourse i tried it and it didn't work says like "Failure..."
So how do i go about to root with the chinese software do i have to unroot my L9 and how do i do that?
Click to expand...
Click to collapse
I feel like the same issue for you is the mounting. I'll edit my main post and add those steps. You have to go to settings>storage>SD card> Unmount SD Card. Then you goto the Aparted app and goto the tools tab to delete everything on your SD card. Then you create the two partitions with the free space
aaron2z said:
Strange... Well good thing it works on some models then, thanks for letting me know.
Where is the problem occurring? The main part I'm missing in here is how to delete the partition. You have to unmount the SD card before you can perform any deletion of the partition.
I feel like the same issue for you is the mounting. I'll edit my main post and add those steps. You have to go to settings>storage>SD card> Unmount SD Card. Then you goto the Aparted app and goto the tools tab to delete everything on your SD card. Then you create the two partitions with the free space
Click to expand...
Click to collapse
I got it now. I did what you said and it worked now, THANK GOD now i can play the games that i wanted without worrying about space. :victory:
Rom28ito said:
I got it now. I did what you said and it worked now, THANK GOD now i can play the games that i wanted without worrying about space. :victory:
Click to expand...
Click to collapse
Of course. I'm glad too help. Be careful with games like CSR Racing which is like 200MB where they download extra files because it looks like those extra files don't link to the SD card. I'm working on figuring it out though.
sleepingturtle said:
LGPwn works just as quickly and it's in English. Simple stuff
Sent from my Android powered coffee coaster.
Click to expand...
Click to collapse
I didn't see the option to put apps to my sd in Lgpwn.
uncleswoop said:
I didn't see the option to put apps to my sd in Lgpwn.
Click to expand...
Click to collapse
LGPwn only roots. It doesn't do anything regarding putting apps on sd card. Follow the instructions in the OP and you should be fine.
sleepingturtle said:
LGPwn only roots. It doesn't do anything regarding putting apps on sd card. Follow the instructions in the OP and you should be fine.
Click to expand...
Click to collapse
Yeah, just wanted you to clarify that all it does is root. It isn't an alternative for this process of getting apps on your sd.
Dumb question... Since I'm dearly new in this. Will getting that extra space on phone improve its performance?
Sent from my LG-P768 using Tapatalk
Question
Why would you use 2 fat 32 partitions as opposed to making an ext3 or ext4 and linking like you would do on a lower end phone?
Sent from my LG-P769 using xda app-developers app
Cesarvzla said:
Dumb question... Since I'm dearly new in this. Will getting that extra space on phone improve its performance?
Sent from my LG-P768 using Tapatalk
Click to expand...
Click to collapse
Not likely. Depending on the class of your sd card it could even slightly negatively impact your apps that are loaded on the sd card. It's worth any nominal change in speed to be able to get the apps to the SD card as otherwise this phone is definitely handcuffed by a small internal storage limit.
I actually tried ext4 and after I partitioned the phone wouldn't even read my SD.
Also I tried to use link2SD with a second fat32 but link2sd said it didn't support my phone. Is it cause I rooted with lgpwn?
Sent from my LG-P769 using xda app-developers app
How to back up SD card files on computer? Any program or software to do the back up? Thanks.
aaron2z said:
This is obviously the most frustrating thing that we all want to do on the L9 (I have the P769 v20h T-Mobile ROOTED). This should work on all L9's. After tons of research I finally figured out a working method through multiple threads. There's methods with DirectoryBind and BusyBox scripts to mount but those were honestly confusing to me and I didn't understand how to operate those.
First off your phone MUST BE ROOTED. If your phone is not rooted here is a thread that will explain to you how to root, the software is chinese but I promise you it works.
Required Items:
Rooted L9
SD Card
Steps:
1.) I repeat you MUST be rooted
2.) Backup your SD cards files on your computer because you will be formatting the SD card.
3.) We must partition the SD Card into two parts. You can do this by downloading any SD card partitioner app but I used AParted.
3a.) Before you can do anything in the "Aparted" app you have to unmount your SD card. You can do this by going to your system settings. Then go to "Storage" then down at the bottom you will see "Unmount SD Card". Click that.
3b.) Now go into AParted. Click on the "TOOLS" tab at the top. You should only have one partition called "Part 1". Checkmark Part 1 and choose delete down at the bottom.
3c.) You now have a completely formatted SD card.
4.) Create TWO FAT32 partitions by going to the "TOOLS" tab at the top. The first partition is considered your SD card so this is where you would store personal pictures and music, etc from your computer. The second partition is where all the apps and apps data will be moved to. So make sure you appropriately size your partitions. Since I keep a fair sum of music I have a 8GB SD card and made the first partition 1.5GB and used the remaining space for Partition 2.
4a.) To make the partition click checkmark part 1 then click create. Under File System choose "Fat32". Make sure to only use whatever space you will need to store music, etc... Do this by changing the "Size" 1000 is equal to a gigabyte. So if you have a 4GB SD card then you can make this first partition 1500 or 2000 (1.5GB or 2GB) but you have to leave space. Now Click ok.
4b.) Now to make partition 2. Checkmark "Part 2" and click create. Under the file system choose "fat32" again. This time dont change the size, just use the remaining space that it shows and click ok.
View attachment 2306952
5.)Now download the app called "Link2SD"
6.) Once you open the app it will scan a list of all your apps.
View attachment 2306959
7.) BE CAREFUL with which apps you choose to move, I would say limit yourself to only moving the apps you've downloaded such as ESPN, Netflix, Games, etc...
8.) Choose the program you want to move to your SD card, I chose Cut the Rope.
9.) Click the "Create Link" button
View attachment 2306964
10.) Make sure all three options are check-marked (Link Application Files, Link Dalvik-cache Files, Link Library Files)
11.) It will finish and you can proceed to link any apps you desire to the SD card, you can go into your system apps and see how much free space is available so you know it worked. You can see on mine I have much more than 339MB used.
View attachment 2306966
If this helped please give thanks
Click to expand...
Click to collapse
Excelent!

[Q] Going back to Sense, have some rom questions

I was on JB but I didn't like how the internal/external storage was, everything went to the internal so I would run out of space quickly. So I wanted to get back on Sense where the storage issue was not a problem. I followed this guide [Guide] How to Downgrade, Factory Restore, and fully update the Rezound, I'm now rooted on stock 4.03.605.2 710RD.
REV3NT3CH, helped me out a lot but still having some questions.
1. What is the most stable Sense rom out with the best mods? Haven't been on Sense in a while so I've forgotten what is out there.
2. How can I tell if my storage issues are fixed? What should my storage look like on Sense, what folders should I be seeing.
Thanks for the help...
-mac
xXezmacXx said:
I was on JB but I didn't like how the internal/external storage was, everything went to the internal so I would run out of space quickly. So I wanted to get back on Sense where the storage issue was not a problem. I followed this guide [Guide] How to Downgrade, Factory Restore, and fully update the Rezound, I'm now rooted on stock 4.03.605.2 710RD.
REV3NT3CH, helped me out a lot but still having some questions.
1. What is the most stable Sense rom out with the best mods? Haven't been on Sense in a while so I've forgotten what is out there.
2. How can I tell if my storage issues are fixed? What should my storage look like on Sense, what folders should I be seeing.
Thanks for the help...
-mac
Click to expand...
Click to collapse
when you go to take a picture does it say internal storade or sd card not found...if not you are golden....also as for best sense rom there is a couple...depends on if you want a desensed sense rom or a full on sense rom...desensed is much faster but still uses the stock sense dependencies and is in no way shape or form aosp
REV3NT3CH said:
when you go to take a picture does it say internal storade or sd card not found...if not you are golden....also as for best sense rom there is a couple...depends on if you want a desensed sense rom or a full on sense rom...desensed is much faster but still uses the stock sense dependencies and is in no way shape or form aosp
Click to expand...
Click to collapse
i took a picture and there was no error. i went into settings > storage and there wher 2 options, phone storage & storage card.
anyways, i attached some screenshots of my internal and external, can you let me know what these mean? mnt, sdcard. sdcard 2, ext_sd? since im back on sense now, say if i download game will it now go to my 64gb sd card instead of internal like it did on jellybean? when i was on jb everything went to internal. anyways, i wiped internal and external like you said in amon ra, hopefully this fixes everything.
im guessing sdcard = my rezounds 10gb internal. sdcard 2 = my 64gb external sdcard. what is mnt and ext_sd? if ext_sd is my external sdcard why do i have two paths to it?
and i just installed a game i bought a while back, wanted to see where it installed: im confused on the numbers of internal, phone storage, etc. it says the game 40mb was put on sdcard but i dont see it. i dont want large apps and games left on my phones storage, id like to use my 64gb sdcard, reason i bought it.
do i need to partition my external sdcard or something? i dont see my ext sdcard anywhere below.
xXezmacXx said:
i took a picture and there was no error. i went into settings > storage and there wher 2 options, phone storage & storage card.
anyways, i attached some screenshots of my internal and external, can you let me know what these mean? mnt, sdcard. sdcard 2, ext_sd? since im back on sense now, say if i download game will it now go to my 64gb sd card instead of internal like it did on jellybean? when i was on jb everything went to internal. anyways, i wiped internal and external like you said in amon ra, hopefully this fixes everything.
im guessing sdcard = my rezounds 10gb internal. sdcard 2 = my 64gb external sdcard. what is mnt and ext_sd? if ext_sd is my external sdcard why do i have two paths to it?
and i just installed a game i bought a while back, wanted to see where it installed: im confused on the numbers of internal, phone storage, etc. it says the game 40mb was put on sdcard but i dont see it. i dont want large apps and games left on my phones storage, id like to use my 64gb sdcard, reason i bought it.
do i need to partition my external sdcard or something? i dont see my ext sdcard anywhere below.
Click to expand...
Click to collapse
with all apps they usually store in internal under system/data....if you want that pushed to external you have to get an app that does that like apps2sd....this is default for any android....also its showing the ext_sd while in sdcard because it mounts to it for lets say that apps2sd and some apps even require and make the directory if needed for easier transfering...if you notice in main root directory it only shows sdcard1 and sdcard 2 just like it should
REV3NT3CH said:
with all apps they usually store in internal under system/data....if you want that pushed to external you have to get an app that does that like apps2sd....this is default for any android....also its showing the ext_sd while in sdcard because it mounts to it for lets say that apps2sd and some apps even require and make the directory if needed for easier transfering...if you notice in main root directory it only shows sdcard1 and sdcard 2 just like it should
Click to expand...
Click to collapse
should i partition my sdcard? like it is telling me to do.is app2sd the best for this?
xXezmacXx said:
should i partition my sdcard? like it is telling me to do.is app2sd the best for this?
Click to expand...
Click to collapse
You have a separate 1.7 GB partition that downloaded apps go to, that doesn't count against the 12GB or so of Internal SD. I wouldn't worry about moving apps to the SD card unless you're filling that 1.7 GB up. If you do fill it up, go through your apps in Settings and use the built in move to SD on any app that it's not grayed out on. Don't move any apps with active widgets or that start on boot.
mjones73 said:
You have a separate 1.7 GB partition that downloaded apps go to, that doesn't count against the 12GB or so of Internal SD. I wouldn't worry about moving apps to the SD card unless you're filling that 1.7 GB up. If you do fill it up, go through your apps in Settings and use the built in move to SD on any app that it's not grayed out on. Don't move any apps with active widgets or that start on boot.
Click to expand...
Click to collapse
I'll use that up quickly. I just installed this 40gb game for my son, it says the apk is 40mb and that's it located in /mnt/asec/. What is mnt, is that apk stored on my internal? And how can I get it on my ext sdcard if so? I bought some games that are 300mb+, some even a 1gb. I want to use ny 64gb ext sdcard, whole reason I bought it, want to keep internal free. I have like 12 games and 20+apps that will surely take up all my internal when I re d/l them. By the way I did go into settings and hit the move to sdcard box.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my ADR6425LVW using Tapatalk
xXezmacXx said:
I'll use that up quickly. I just installed this 40gb game for my son, it says the apk is 40mb and that's it located in /mnt/asec/. What is mnt? And how can I get in on my ext sdcard? I.bought some games that are 300mb+, some even a 1gb. I want to use ny 64gb ext sdcard, whole reason I bought it, want to keep internal free. I have like 12 games and 20+apps that will surely take up all my internal when I re d/l them.
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
You can try the Move to SD option, it's up to the developer of the app to configure what can/can't move to SD using that option though. In the case of the app you listed, the .apk part is in the DRM protected app folder and that'll never move off the internal storage using the built in method. If you find that option isn't cutting it, you need to switch to using an apps2SD method where you can move everything.
/mnt is just the mount point for all filesystems regardless of what hardware they are on.
http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/mnt.html
mjones73 said:
You can try the Move to SD option, it's up to the developer of the app to configure what can/can't move to SD using that option though. In the case of the app you listed, the .apk part is in the DRM protected app folder and that'll never move off the internal storage using the built in method. If you find that option isn't cutting it, you need to switch to using an apps2SD method where you can move everything.
/mnt is just the mount point for all filesystems regardless of what hardware they are on.
http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/mnt.html
Click to expand...
Click to collapse
I did try the rezounds move to sd option. Maybe I'm doing it wrong. I went into settings - device - apps. I believe the game is already moved b/c it has the "move to phone" button available.
When I click "move to phone" it changes to the ss below, now a "move to phone storage" button is available.
What do these storage terms mean, ex; USB storage app? What's the diff between move to phone and move to phone storage? Im guessing I need to try an apps2sd application, but which one? Could you recommend some, don't mind paying. Also, won't I need to partition my ext sdcard for apps2sd to work, just asking cause all these apps I see talk about partitioning your ext sdcard.
Btw, thanks for all the help I'm starting to understand this a lot better, much appreciated.
Sent from my ADR6425LVW using Tapatalk
Apps in the Rezound exist in either the data partition (Phone storage) or the internal Storage (Storage)... apps cannot be moved to the SD card normally with the embedded Settings->Apps tool.
This is usually enough though, it is rare that you would run out space but if you were going to use something that moves the apps to the actual SD card, I would suggest Link2SD... it requires partitioning the SD card and making the secondary partition an Ext3/4 partition, it moves the data to the Ext3/4 partition of the SD Card and creates symbolic links back to the original places, even allowing Widgets and startup apps to be reside on the SD card. It does involve a little finesse if you have to factory default or install a new ROM though. I used to use it all the time on my old HTC Aria, which had about 256M for app storage and it worked brilliantly.
acejavelin said:
Apps in the Rezound exist in either the data partition (Phone storage) or the internal Storage (Storage)... apps cannot be moved to the SD card normally with the embedded Settings->Apps tool.
This is usually enough though, it is rare that you would run out space but if you were going to use something that moves the apps to the actual SD card, I would suggest Link2SD... it requires partitioning the SD card and making the secondary partition an Ext3/4 partition, it moves the data to the Ext3/4 partition of the SD Card and creates symbolic links back to the original places, even allowing Widgets and startup apps to be reside on the SD card. It does involve a little finesse if you have to factory default or install a new ROM though. I used to use it all the time on my old HTC Aria, which had about 256M for app storage and it worked brilliantly.
Click to expand...
Click to collapse
That's the one thing I wasn't sure of, is it using the Internal or External SD when doing the move to SD option, if it's Internal, forget what I said and just use Link2SD, should be a guide online how to use it.
mjones73 said:
That's the one thing I wasn't sure of, is it using the Internal or External SD when doing the move to SD option, if it's Internal, forget what I said and just use Link2SD, should be a guide online how to use it.
Click to expand...
Click to collapse
Start here: http://www.link2sd.info and here: http://forum.xda-developers.com/showthread.php?t=919326
Sent from my Nexus 4 using Tapatalk
acejavelin said:
Start here: http://www.link2sd.info and here: http://forum.xda-developers.com/showthread.php?t=919326
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I read through the "What you need for linking applications:" from that xda thread. I;m going to follow it to the T, hopefully it'll work for my Rezound. Thanks for the info.
mjones73 said:
That's the one thing I wasn't sure of, is it using the Internal or External SD when doing the move to SD option, if it's Internal, forget what I said and just use Link2SD, should be a guide online how to use it.
Click to expand...
Click to collapse
I'm trying to use that Mini Partition application but I have no idea what I'm doing, these directions aren't really detailed. I'm been trying to figure this out for hours now. I'm going nuts!
xXezmacXx said:
I'm trying to use that Mini Partition application but I have no idea what I'm doing, these directions aren't really detailed. I'm been trying to figure this out for hours now. I'm going nuts!
Click to expand...
Click to collapse
I always use Partition Magic or EaseUS Partition Manager, but why don't you just partition it in TWRP? It is under Advanced... Set the Swap size to 0 and the EXT size to whatever you want, I always used 2GB (2048) on my Aria but you could use whatever you feel is appropriate, and your choice of partition types and swipe to partition. Then reboot and setup Link2SD. Remember you will lose everything on your SD card, so make sure to back it up to a PC or something.
EDIT: I have not done this on the Rezound, so I am assuming it will work fine, but I don't know anyone who has done it on this device since the embedded space is usually more than sufficient.
acejavelin said:
I always use Partition Magic or EaseUS Partition Manager, but why don't you just partition it in TWRP? It is under Advanced... Set the Swap size to 0 and the EXT size to whatever you want, I always used 2GB (2048) on my Aria but you could use whatever you feel is appropriate, and your choice of partition types and swipe to partition. Then reboot and setup Link2SD. Remember you will lose everything on your SD card, so make sure to back it up to a PC or something.
EDIT: I have not done this on the Rezound, so I am assuming it will work fine, but I don't know anyone who has done it on this device since the embedded space is usually more than sufficient.
Click to expand...
Click to collapse
Ok ill use twrp just gotta flash it. For the ext do I select ext 2 3 or 4? Also, is the ext where the apps will be moved to? I have a 64gb card can I make the ext 15-20gb or higher?
Sent from my ADR6425LVW using Tapatalk
xXezmacXx said:
Ok ill use twrp just gotta flash it. For the ext do I select ext 2 3 or 4? Also, is the ext where the apps will be moved to? I have a 64gb card can I make the ext 15-20gb or higher?
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
Use Ext3 or 4, in this situation you won't notice any difference in performance between the two, at one time 3 was considered to be more stable and I use it most of the time but I don't know if it makes any difference anymore. You will not run into the size limitations in those partition types, I believe its in the upper terabyte range . To make it easy and have nice round numbers I always do it in increments of 512 though, so 16384 would probably be appropriate and give you 16 gigabytes of space.
I gotta ask though, what do you need so much application space for? are you running thousands and thousands of apps? The reason I ask is most apps automatically move their data to the SD card if they are very large, like most games and the advantages you see by using a tool like this can be minimal if you're using lots of very large games.
EDIT: one thing to keep in mind that might be confusing the first few times you use this application, the objective is to link the applications, not move. It seems counter intuitive but if you move them you're defeating the purpose and not gaining much, you need to use the link options.
Sent from my Nexus 4 using Tapatalk
acejavelin said:
Use Ext3 or 4, in this situation you won't notice any difference in performance between the two, at one time 3 was considered to be more stable and I use it most of the time but I don't know if it makes any difference anymore. You will not run into the size limitations in those partition types, I believe its in the upper terabyte range . To make it easy and have nice round numbers I always do it in increments of 512 though, so 16384 would probably be appropriate and give you 16 gigabytes of space.
I gotta ask though, what do you need so much application space for? are you running thousands and thousands of apps? The reason I ask is most apps automatically move their data to the SD card if they are very large, like most games and the advantages you see by using a tool like this can be minimal if you're using lots of very large games.
EDIT: one thing to keep in mind that might be confusing the first few times you use this application, the objective is to link the applications, not move. It seems counter intuitive but if you move them you're defeating the purpose and not gaining much, you need to use the link options.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
When I get home tonight I will follow your directions on partitioning with twrp. You've been more than helpful, thank you.
To your ?. I use the phone and so does my son. I must of purchased 30+ games this month alone, and apps, well too many to count. I also use it to to store my 5000+ mp3s and movies for my son.
Edit: for example I just downloaded rayman fiesta run and the files it downloaded arent on my external. And when I JB all games were slow, lagged a lot. Now I'm back on sense everything is smooth.
Sent from my ADR6425LVW using Tapatalk
xXezmacXx said:
When I get home tonight I will follow your directions on partitioning with twrp. You've been more than helpful, thank you.
To your ?. I use the phone and so does my son. I must of purchased 30+ games this month alone, and apps, well too many to count. I also use it to to store my 5000+ mp3s and movies for my son.
Edit: for example I just downloaded rayman fiesta run and the files it downloaded arent on my external. And when I JB all games were slow, lagged a lot. Now I'm back on sense everything is smooth.
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
just curious...on JB roms....did you force gpu rendering in dev options.....it will cause that....i run avabel on jellybean....which need i remind you is a very power and graphic hungry game....and runs fine
xXezmacXx said:
When I get home tonight I will follow your directions on partitioning with twrp. You've been more than helpful, thank you.
To your ?. I use the phone and so does my son. I must of purchased 30+ games this month alone, and apps, well too many to count. I also use it to to store my 5000+ mp3s and movies for my son.
Edit: for example I just downloaded rayman fiesta run and the files it downloaded arent on my external. And when I JB all games were slow, lagged a lot. Now I'm back on sense everything is smooth.
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
5000 MP3's?!?! I used to go that, just uploaded them all (plus around 10,000 more) to Play Music and use the cloud now since I have WiFi 95% of the time when I play music.
Games will not use your EXTERNAL storage, but most of them install the core of app in the phones app storage area (the 2GB portion) and their data on the internal storage (the ~11GB area). Most of the ones I have do that, for example, Mechs Warfare takes about 80MB of storage in the app data partition, but uses about 450MB of internal storage.
If you have a lot of games that do this, Link2SD, Move2SD, and other similar tools may not help much, all they will do is move the application data to the external storage, but the app controls it's own data being installed on the "sdcard", which is the internal storage. In most of those applications there is no way to tell it to use the external card and there is no way to move the data without swapping mount points between the internal and external storage.

Categories

Resources