[Q] How move apps to sd card? - XPERIA X8 Q&A, Help & Troubleshooting

I have Xperia X8 with android 2.1 and I want to move apps in SD card. How do this?

Just use app2sd or link2sd .... U hv to root first of course ..

KR470S said:
I have Xperia X8 with android 2.1 and I want to move apps in SD card. How do this?
Click to expand...
Click to collapse
Any custom ROM has native app 2 SD, plus you can follow
http://forum.xda-developers.com/showthread.php?t=1345872
To create a special partition in your SD card to which you apps can be automatically move, plus the swap space that will give you more free memory.
There are two good guides about custom roms:
http://forum.xda-developers.com/showthread.php?t=1333865
http://forum.xda-developers.com/showthread.php?t=1222348
If you are new to this, it will take some time get used to these guides, tools, etc. But there are lots of fun on testing custom ROMs, overclock, benchmarks, different skins, launchers, etc.
A good start is the toolbox, from puppet13th post:
http://forum.xda-developers.com/showthread.php?t=1117100
It is text only, different from SuperOneClick, a really great tool too, but toolbox can root your phone, install some modules (overclock, cypress / synaptics dual touch), and most important, the dual recovery: freexperia (or xrecovery... I don't remember) plus clockworkmod. Some ROMs are designed for the first one, but most recent ones are for CWM.

how do you partition sd card? i use to be able to do that until i formatted my sd card...now i forgot how to!

tohno said:
how do you partition sd card? i use to be able to do that until i formatted my sd card...now i forgot how to!
Click to expand...
Click to collapse
I did this yesterday, following this thread:
http://forum.xda-developers.com/showthread.php?t=1345872
I would prefer another way to repartition my SD, as Linux GPartED, that can easily resize partitions and add new ones. But I couldn't find the requirements for that and had problems a couple of months ago, when I tried to replace my SD and it was reformatted (don't know why) automatically, with no warning.
So I almost followed the thread:
1) backed up all my files (I just mounted SD and copied the files, as I didn't had sd-ext yet)
2) reboot into clockworkmod. I backup here is STRONGLY RECOMMENDED!
3) mounted /system & /data, and unmount /sdcard
4) copied sdparted.txt to /sbin/sdparted (already rooted, otherwise it would not work)
adb push sdparted.txt /sbin/sdparted
adb shell chmod 755 /sbin/sdparted
5) As I was in a different ROM, MiniCM7 2.1.6, I didn't have parted, required by sdparted.
So I copied from GingerDX v21
adb push parted /usr/xbin/parted
adb shell chmod 755 /usr/xbin/sdparted
But if your ROM already have parted, you can skip this.
6) Now just run sdparted as mentioned in MarJar thread. I have a 8 GB SD, and I choose 512 MB for sd-ext and 256 MB for swap, leaving more than 7 GB for files. So mine was:
adb shell
sdparted -es 512M -ss 256M -efs ext4
(someone, somewhere, mentioned that ext4 would be faster. I saw some benchmarks for Linux telling the opposite... But ext4 jas journaling, so it should be safer)
Now you have a partitioned SD.
7) Copy userinit.tx from the thread to /sd-ext/userinit.sh. It will be automatically executed on startup and mount the enable swap:
adb push userinit.txt /sd-ext/userinit.sh
adb shell chmod 755 /sd-ext/userinit.sh
8) Now I would recommend, if you have installed your apps to your ROM, to mount the SD again and copy the files back to the SD. You can do it in clockworkmod, menu Partitions or something like that, choosing Mount SD Card.
I didn't, so when I rebooted the phone, the "Apps" (or whatever remained fromthem in /data) were move to /sd-ext automatically. But any previous ROM, as mine also, would keep files in SD. The result was the nothing was working. So I copied the files back to SD card and restored the backup I took in step 2 (that saved me ).
But if you restore the files back to SD before rebooting, I think you would be fine.
It worked gracefully for me after restoring the backup.
9) Reboot and enjoy.

Related

[Guide] Partition your Sd Card, Upgrade to Ext3, and Install Apps2SD

WARNING: DO NOT FOLLOW THE APPS2SD AS MOST ROMS ALREADY DO THIS FOR YOU.
If you do, it will break things.
-ivanmmj
Like My Guide(s)? Donate
Here we go!
Things you need:
A Rooted G1 Phone
Cyanogen ROM - Download v4.0.2
Cyanogen Recovery 1.4 - Download
Apps2SD - Download
Clean SD Card
Note: This will remove ALL files on your SD Card so please back it up
------------------------------------------------------------------------------------------------------------------
Install the New Recovery Image
Download the recovery image
Place the cm-recovery-1.3.1.img file in the root of your SD Card (Root = not in any folder)
Go back to your phone (Dont forget to unmount)
Open terminal and type in the following
Code:
su (wait for a screen to popup and press "allow")
flash_image recovery /sdcard/cm-recovery-1.3.1.img
------------------------------------------------------------------------------------------------------------------
Install Apps2SD
Download the Apps2sd apk from above
Place the apps2sd.apk on your sd card
Download a file manager like Linda or Astro from Market (They are both free)
Go to Settings > Applications and check the Unknown Sources button
Open up the file manager you just downloaded and find the apps2sd on your sdcard
Press on the app and install the Package Installer and press on Install
Apps2sd should now be installed
------------------------------------------------------------------------------------------------------------------
Partition Fat32/Ext2 with App2SD
Open up Apps2SD
It will show you a screen telling you that your card is not partition and you will have a sliding bar to choose the amount of space you want for an EXT2 partition
I suggest a max of 600mb for EXT2 space (I use 500mb)
Press Ok
You will get a Force Close screen DONT PRESS FORCE CLOSE PRESS WAIT
You will get a reboot message, Press Reboot
You now have a EXT2 partition
------------------------------------------------------------------------------------------------------------------
Upgrading your EXT2 Partition to EXT3
Note: You do need the Cyanogen Recovery image for this to work!
Reboot into Recovery (Home + Power)
Go to console (Alt+x)
Press Enter
Type the following in the Console:
Code:
upgrade_fs
Wait for it to finish
Congrats! You now have a Fat32/EXT3 partitioned Sd Card!
------------------------------------------------------------------------------------------------------------------
Installing the Cyanogen ROM with Auto Apps2SD
Download the ROM
Rename the file from cm-xxxxxxx.zip to update.zip
Place update.zip at the root of your sd card (Root = Not in any folder)
Reboot into Recovery (Home + Power)
Wipe (alt+w)
and Flash (alt+s)
Wait for it to finish and reboot!
------------------------------------------------------------------------------------------------------------------
Congratulations! You now have a Fat32/EXT3 Partitioned SD Card with auto Apps2SD enabled. You can check if you have both partitions in Settings > Sd Card and Storage. Remember, this is Auto Apps2SD, that means the everytime you reboot it will move all your installed apps to your sd card AUTOMATICALLY!
------------------------------------------------------------------------------------------------------------------
Format your EXT3 Partition (ADB is needed)
Code:
adb remount
adb shell
rm -r /system/sd/*
reboot recovery
then flash the update.
------------------------------------------------------------------------------------------------------------------
Here is another way to partition your sd card!
Note: You will need The latest CM recovery image
This guide will partition your SD card with 32 mb swap, and 512 mb EXT4 partitions!
WARNING! This will erase EVERYTHING on your SD Card!
Note: ADB Is needed for this script to work. If you dont have ADb working please read the ADB Sticky in the Q & A Forum
Step 1:
Download the necessary files HERE
Step 2:
Place the sdparted.sh file in C:\ Note: Do not place it in any folders!
Place adb.exe and AdbWinApi.dll in C:\Windows\system32
Step 3:
Run sdparted.bat
Thats it! All done!
Thank you 51dusty for the sdparted Script!
Batch file made by me!
Great guide...again =] But this way is MUCH MORE stable.
http://forum.xda-developers.com/showthread.php?t=534714
ya i know i saw that guide. I decided to put this one up becuase it uses minimal commands and doesnt involve a lot of terminal usage and stuff. Just another way to partition i guess.
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
lazee_smurf said:
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
Click to expand...
Click to collapse
yup! you are all good! 86mb for a cupcake rom is perfect! Congrats!
So what goes into the secondary storage because if I download something the internal space gets used
lazee_smurf said:
So what goes into the secondary storage because if I download something the internal space gets used
Click to expand...
Click to collapse
just reboot and your app will go to your sd card.
nephron said:
just reboot and your app will go to your sd card.
Click to expand...
Click to collapse
Thanks for the help!
Greetings
I knew it all could'nt go as smoothly as the new rom install ^_^
When I try to run apps2sd wether out of astro or from the app panel, it goes to a black screen, and thats it. The phone is not locked, I just hit home (after waiting for minutes for something to happen) and I'm back at my home screen.
I did'nt think I skipped any steps. Idea's ?
Thanks for the Sticky Guide
upgrading filesystem
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
maybeoneday said:
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
Click to expand...
Click to collapse
This is why you don't partition your sdcard using this. It works most of the time but not always. Wipe and reformat your sdcard. Then reflash ROM
pistol4413 said:
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
Click to expand...
Click to collapse
No you will not.
sweet
alritewhadeva said:
No you will not.
Click to expand...
Click to collapse
Sweet man thanx!
ext3 slowed my g1 down
I jus upgraded my partition using this guide and my fone seems WAY SLOWER. Is there anyway to downgrade safely back to ext2 without wiping the partion clean? Or do u recomed an app I already have an overclock app.
fixed problem!
I fixed the issue. Lol I feel kinda dumb. Just has to many processes running that where eating memory.
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
rushless said:
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
Click to expand...
Click to collapse
Apps2SD2 detects if your card has been formated with an ext2 partition. If not it will format your sd card for you therefor not needing a computer program. The new reocvery 1.3.1 allows you to run the upgrade_fs command to format the ext2 to ext3 and also has other features such as gparted and fix ext filesystem.
my question is this...I already have cyanogen's rom installed...I have been away from a computer and the internet for about a week so I'm still on 3.6.5...which is fine with me.
In Cyan's thread, he says:
DO NOT RUN ANY OTHER APPS2SD APPLICATIONS ON THIS BUILD. YOU WILL BREAK YOUR SYSTEM. THEY ARE NOT NECESSARY BECAUSE THIS ROM WILL DO A2SD AUTOMATICALLY AND BETTER!
Click to expand...
Click to collapse
however one of the steps to partitioning the sd card in this post is installing apps2sd..
i want to partition the card...but I don't want to break my system...am I missing something? clarification please?

Switchrom -s / Re-Parition SD / Switchrom -r

So if I have a few roms that I save with switchrom and then I decide to backup my sd to my computer.....
Then format my sd card in a different way (ie used to be ext2, now I want ext4)
And then I copy the files back onto my sdcard after the repartition....will I be able to restore those switchroms?
Because from what I have tried...it usually doesn't work...(I forget the exact error message) is there some command I am forgetting in between?
I have done this with BART, which is basically switchrom with a few modifications...
Here is what I did just the other day:
Reboot into recovery (Amon-RA)
Drop down into console
Run :
Code:
bart -s myRomName
After completed, type
Code:
reboot recovery
Then choose to Mount the SD card and copy everything over to your PC
Once completed, un-mount the SD card and then move onto partitioning...
I went from 128MB swap to 256MB swap
I went from 640MB ext2 to 1024MB ext2
After that, I upgraded to ext3... I have heard that ext2 is better, but every
time I use that format, my SD card gets corrupted in a matter of days.
(Hence the reason why I sent through this process recently.) I will "three
finger salute" the phone at times due to a hanging app, from the countless
ones that I download to try out, so this might be causing the problem.
After the upgrade, mount the SD card and copy your FAT32 section back.
Drop down into the console and type
Code:
bart -l
You should see the ROM that you just stored...
Type
Code:
bart -r myRomName
Once completed type
Code:
reboot recovery
Then go the Wipe section and Clear the Dalvik cache...
Finally reboot...
I have done this numerous times on both my and my wife's G1... I have also
done the above steps keeping the same sizes of the partitions and moving
from ext2 -> ext3 -> ext4 to give each of them a try...
Using BART will only back up the files on the ext partition, not the filesystem...
It is like a fresh install... At least that has been my experience with it...
Cool well I might use Bart then instead of switchrom since it seems to have worked for you without any hiccups.
Essentially I am doing the same process as above except with switchrom rather than bart (although i have used all 3 forms of backup in Amon Ra's Recovery)
Just wanted to make sure there wasnt some special command in console to fix something outta whack.
I figured my method would work but for some reason it doesn't like the repartitioning of the sdcard in between switchrom -s and switchrom -r
Thinking it might have been a fluke.....
Yep, I had to migrate my switchROM folder when I got my new SD Card and had no issues.

[ARC][APP2SD] Discontinued App2Sd for Xperia Arc-Updated

App2Sd for Xperia Arc​
Thanks to DooMLoRD for his Kernel.
Thanks to tkirton for his script.
Description:
App2sd has many advantages.App2sd is set on boot so it does not like link2sd.It will also work for Launcher,widget etc...because it set on boot.First it will move all Application from Internal Storage to EXT3.Then your Installing application will install on EXT3.So no more "Not enough space in Internal Storage." to install a apps.
Requirement:
Unlocked Bootloader
Custom Kernel from here
Installation:
Recommended:
Note:First create a EXT3 partition in your sdcard using partition tool.Click here for more info.
1.Download and copy to sdcard.
2.Install it via Recovery.
3.Factory reset your phone(Settings->Privacy->Factory Data Reset)
If you want to keep your previous application:
1.Download and copy to sdcard.
2.Install it via Recovery.
3.Connect your phone to ADB and type as below:
Code:
adb remount
adb shell
a2sd reinstall
Restart your device.
It will show a black screen after SE logo(Don't know why).
Remove battery and restart.
It will work.
You can see all application under /sd-ext/app.
FAQ:
Want to Move Dalvik cache files to the ext3:
Code:
adb remount
adb shell
a2sd cachesd
Want to Move Dalvik cache files to Internal Storage:
Code:
adb remount
adb shell
a2sd nocache
Want to Remove App2SD:
Code:
adb remount
adb shell
a2sd remove
Download:
Link:App2SD
Don't forgot to click some ads in my page.
Sounds nice, thank you.
But one (hopefully not dumb) question: What exactly does it do? Is it possible to really move every app from internal to external memory?
Hehe, been working on this a full day now. Even got parted and other binaries to do all the above from a terminal or adb shell, couldnt find upgrade_fs though to make ext3/4. Thanks for the guide, gonna follow the steps.
@bmwbasti
First it will move all Application from Internal Storage to EXT3.
Then your Installing application will install on EXT3.
svprm said:
@bmwbasti
First it will move all Application from Internal Storage to EXT3.
Then your Installing application will install on EXT3.
Click to expand...
Click to collapse
Sorry if this is a stupid question, what benefit does it take?
assuming that will give the phone more spaces???
@babygau
Internal storage is ~200MB.
So you can install application upto 200MB.
By this you can install more.
For Example:
If your EXT3 part is 500MB means,you can install application upto 500MB.
We can move apps to sd natively can't we? And if we need more space, we can partition the sd with fat32 and ext2/ext3/fat32 and install link2sd without the need for new kernel. That's how I did with mine.
Am I missing something here? Thanks!
Nice work! Just, how can I install it via recovery? Can't find a guide anywhere...
EDIT: Boot into fastboot (EDIT+POWER). I did it without USB attached, don't know if it works with USB attached.
Question: Does the extra space actually show up under applications? Mine doesn't. Or maybe I made a partition mistake? I made 2 partitions on the SD: 6GB EXT3 (primary) and 10GB FAT32 (primary). I also tried it with a smaller 1GB EXT3 partition and later an 1GB EXT2 partition. In all cases I get a black screen after "SONY ERICSSON" (in letters, not the logo). The next restart it starts normal but without the extra space on the internal disk. I don't get it
You partition is correct.
I recommend 1GB for EXT3 is enough.
Did you installed custom kernel from http://www.xda-developers.com/forum/showthread.php?t=1172885 ?
First install it.
Then go to recovery by pressing the back button while power on the mobile.
In the recovery,Go to install zip form sdcard -> choose zip from sdcard ->a2sd.zip
Thanks for your help but that is not the problem I think. What I did exactly:
-flash generic global
-flash doomlord kernel v2 (will try v3)
-startup and attach with usb mass storage
-format as 15GB FAT32 + 1 GB EXT3 (official SE SD card)
-copy zip to FAT32 partition
-restart in recovery and install zip via menu (no errors and 3 mounts which sounds logical)
-restart and now reset factory default in the Android privacy menu without formatting the SD-card.
-after the automatic restart I get a black screen after "Sony Ericsson" for at least an hour. Then I pulled the battery and restarted, now it's fine but no extra space and a 1GB smaller SD-card (which is ok). Strange...
It's working.
Go to /sd-ext using root explorer you will see three folder.
Go to app folder you will see all apps.
svprm said:
It's working.
Go to /sd-ext using root explorer you will see three folder.
Go to app folder you will see all apps.
Click to expand...
Click to collapse
Indeed sir, it works! The internal storage stays 217MB, however apps are installed on sd-ext. I recon the 217MB gets lower when sd-ext runs out of free room.
Istalled
I see app in Ext partition
but
internal storage go down slowly down when i istall ;_; (and i have a lot of free space in ext partition)
any idea?
Evil_Sephiroth said:
Istalled
I see app in Ext partition
but
internal storage go down slowly down when i istall ;_; (and i have a lot of free space in ext partition)
any idea?
Click to expand...
Click to collapse
Indeed it goes down a little for some apps but slowly. Before I had like 30MB of space left, now 150mb+ and I use around 400MB/1GB of the new disk. Works like a charm. Next time I will make a disk of 500MB whcih is enough for me.
mariolouis said:
We can move apps to sd natively can't we? And if we need more space, we can partition the sd with fat32 and ext2/ext3/fat32 and install link2sd without the need for new kernel. That's how I did with mine.
Am I missing something here? Thanks!
Click to expand...
Click to collapse
I do this too and I wonder if there is any thing am missing
Can we get a version of this for the play please?? i tried to install, i flashed the patch, but when i try to activate using adb, i get the error:
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-
[ ] GetProp Command = /system/bin/toolbox getpr
[ ] SetProp Command = /system/bin/toolbox setpr
[ ] Mount Point = /sd-ext
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with reinst
[ ] Starting Darktremor Apps2SD in reinstall mo
[X] SD Card not mounted.
Cannot reinstall applications to SD card.
NiMH_999 said:
I do this too and I wonder if there is any thing am missing
Click to expand...
Click to collapse
apps2sd has many advantages, for starters, you cannot move, widgets, live wallpapers, and apps you wish to sync from /data/app/ or they will not work, with apps2sd cause the ext partition is mounted on boot these can now all be stored on the SD card, also some other apps cannot be moved from /data/app/ without apps2sd, another advantage is apps2sd can move the dalvik cache from /data/ to the SD-EXT, My DC is nearly 150mb
@Evil_Sephiroth @bassie112
Yeah it will decrease due to Dalvik cache.
If you like move Dalvik cache to sd-ext.
App2sd have many advantage as said by AndroHero.
@AndroHero
It need custom kernel with init.d support.
PM me your Boot.img.
I will try to help you.
@AndroHero
u are on Play right? i am still waitign for 4.0 FW to be released for PLAY.. once thats available i will update my Xperia Play kernel with new goodies
Thanks svprm and doomlord, i will wait and be patient then

[Q JB on i9000] Phone does not mount internal sdcard at boot

Hi,
I already asked for this issue in the this Thread, but didn't got any answer.
I tested these three JB ROMS: CM10, HellyBean and SlimBean.
All of them work nice, except that my internal sdcard does not mount at boot time.
I have to do it manually every time boot up my phone by choosing System Settings --> Storage --> Mount SD card
Anyone have the same issue?
Does anyone have a solution?
Thanks
Same here! Google found this post, perhaps it will find us an answer
xalo2k said:
Hi,
I already asked for this issue in the this Thread, but didn't got any answer.
I tested these three JB ROMS: CM10, HellyBean and SlimBean.
All of them work nice, except that my internal sdcard does not mount at boot time.
I have to do it manually every time boot up my phone by choosing System Settings --> Storage --> Mount SD card
Anyone have the same issue?
Does anyone have a solution?
Thanks
Click to expand...
Click to collapse
toddmworth said:
Same here! Google found this post, perhaps it will find us an answer
Click to expand...
Click to collapse
I have the same issue with my I9000.
Any JB with different kernels makes the internal SD eventually be unmounted. When install a JB ROM the phone works very well but suddenly, the internal SD (phone's SD) is unmounted.
In CWM both SD are mounted and read without any problem. With ICS ROMs the phone works flawlessly.
In my case, the external SD is functioning as expected.(I have a 32 GB micro sd)
The installation language is Spahish - Spain.
No matter which method of cleaning and wiping I use, the result is the same.
Also, starting from GB stock firmware (JVU) flashed with Odin, followed by installing the nightly Cianogen CM10.1 and finally flashing the desired JB ROM works.
I tested Helly Bean, Slim Bean, C-ROM Mix and Baked Blacjbean7 obtaining the same behaviour.
Important: I'm restoring around 54 apk using Titanium backup (games, applications and utilities) in every case. I did not tested the ROMs without these restorations.
marcelogabriel said:
I have the same issue with my I9000.
Any JB with different kernels makes the internal SD eventually be unmounted. When install a JB ROM the phone works very well but suddenly, the internal SD (phone's SD) is unmounted.
In CWM both SD are mounted and read without any problem. With ICS ROMs the phone works flawlessly.
In my case, the external SD is functioning as expected.(I have a 32 GB micro sd)
The installation language is Spahish - Spain.
No matter which method of cleaning and wiping I use, the result is the same.
Also, starting from GB stock firmware (JVU) flashed with Odin, followed by installing the nightly Cianogen CM10.1 and finally flashing the desired JB ROM works.
I tested Helly Bean, Slim Bean, C-ROM Mix and Baked Blacjbean7 obtaining the same behaviour.
Important: I'm restoring around 54 apk using Titanium backup (games, applications and utilities) in every case. I did not tested the ROMs without these restorations.
Click to expand...
Click to collapse
This is the problem I am having. I can see internal sd card on CWM.
But on booting in android, whatever the rom is , does not mount internal sd card on booting android.
Please help to solve this.
Same here
TheMask007 said:
This is the problem I am having. I can see internal sd card on CWM.
But on booting in android, whatever the rom is , does not mount internal sd card on booting android.
Please help to solve this.
Click to expand...
Click to collapse
I have been reading/researching about this issue for about a week (on and off) trying various fixes because this is driving me bonkers.
I have tried:
1) Reduced the amount of used space on my SD Card (Samsung 16gb SDHC) to half
2) Moved as many apps as I can to SD (Noticed more frequent unmounts after this)
3) Removed my Nandroid Back-up from my SD
4) Reflashed CM 10.1
The last thing I am going to try is wiping/reformatting my SD card. If that fails then im suspecting something else is happening at OS/kernel level. I have read in other forums where people have tried a full wipe and restore apps slowly but still get the same unmount. One user has tried another SD card (smaller 4GB one) which seemed to solve their issue?? Weird.
Anyway, I will report back if I have any joy.
In your kernel settings you have the option to mount/unmount system and more or you could write/download a script that mounts the sd card automatically.
Maybe this could help: http://forum.xda-developers.com/showthread.php?t=1971689
I give up.
cixty said:
In your kernel settings you have the option to mount/unmount system and more or you could write/download a script that mounts the sd card automatically.
Maybe this could help: http://forum.xda-developers.com/showthread.php?t=1971689
Click to expand...
Click to collapse
I tried it and no good. It seems as though the Internal SD is mounted, but some error is causing it to operate/display as unmounted via OS.
I completed more testing (extreme):
Wiped Internal SD
Wiped External SD
Try other kernel
Try other CM based ROM
The issue still occurred.
I then reinstalled Stock (XXJVT) via ODIN (Pit 512) and Semaphore kernel to see if its a hardware thing.
Nope.
This combo works amazingly. Infact its faster, smoother and easier to use (along with additional tweaks in Semaphore) than CM10 so I wont be going back to Jelly Bean on this phone. Ever.
Gingerbread for the win!
Hi,
I am using PAC-ROM v22.2 (Jelly Bean) and have the same problem: 80% boot don't mount the internal sdcard (I have no problem with the external sdcard). I can't even mount it manually as xalo2k does, cause I have no "Mount SD Card" menu under Settings/storage.
I spent many hours trying to search for a fix on google, xda, and others with no success. I found a lot of "litterature" on how to mount the sdcard on the PC, or how to swap internal and external cards. However, I don't care about mouting my sdcard on the PC, and I don't want to make believe Android that my external sdcard is the internal one, as I would not like to loose the internal 8GB that the phone is supposed to provide.
In Terminal Emulator, I can do:
> su
> mount -r -w -t vfat /dev/block/mmcblk0p1 /storage/sdcard0
> cd /sdcard
> ls -l
There I can see my files. However, if I exit root, the files don't appear anymore. Hence this looks like a permission problem.
Unfortunately ESExplorer still tells me sdcard0 is not mounted, and my apps (i.e. the camera) aren't able to access it. Additionnaly, the apps I had moved to the sdcard are'nt accessible...
So I tried to fix the permissions. Going under /storage as root, I can see:
drwx------ root root 1970-01-01 01:00 sdcard0
d---rwxr-x system sdcard_rw 1970-01-01 01:00 sdcard1
Si I try:
> busybox chown -R system:sdcard_rw sdcard0
But I get "Operation not permitted" for each dir/file in sdcard0
How comes that an operation is not permitted to the root user ???
Did anyone fix this problem ?
Edit: "You can't chown or chmod a vfat partition let alone a directory within it. You can only change ownership and permissions in fstab and it will apply to all directories and files. So to change ownership of the entire mount point you would change your fstab entry" (see http://ubuntuforums.org/showthread.php?t=1646849)
Thanks and regards
OK guys, I finally found a solution.
Thanks to http://ubuntuforums.org/showthread.php?t=1646849 I mentionned just above, I decided to write an fstab file (the name is important) and placed it under /etc:
/dev/block/mmcblk0p1 /storage/sdcard0 auto rw,uid=1000,gid=1015,fmask=0702,dmask=0702 0 0
/dev/block/vold/179:1 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
Basically, this script is the result of the terminal command (you need to be root):
mount | grep sdcard0 > /etc/fstab
... which I ran after I could get the sdcard mounted (after a mount on PC and eject). But it first failed with errors on options, so I removed a few of them until I kept the lines above.
Then I wrote a little script which I place on my external sdcard which does not have a mount problem at boot:
busybox mount -a
and placed a shortcut to this script on my desktop with SManager.
I just have to click on this shortcut after boot and the internal sdcard gets mounted.
I tried to place this script under /etc/init.d with the hope it would be launched automatically at boot, but this did not mount the sdcard. If anyone knows why ???
Hope this helps !
Well... still having troubles with my sdcard... With the above fstab script I can mount it, access the files, etc...
However, the camera still asks me to insert a sdcard... Is this a permission issue ? Which permissions (owner, group, etc...) does the camera need ? My DCIM dir has the following permissions:
d---rwxr-x system sdcard8RW 2013-06-04 10:36 DCIM
Thanks and regards
- Regis

[GUIDE][ROOT] Link2SD

Link2SD GUIDE
ROOTED DEVICES ONLY
Link2SD is a good solution to save the contents of your internal memory, I know we have a lot but its a good idea in the case of saving more space on your internal memory.
Back up your external sd contents before proceeding!
STEP 1
Install these:
https://play.google.com/store/apps/details?id=stericson.busybox
https://play.google.com/store/apps/details?id=com.sylkat.AParted
https://play.google.com/store/apps/details?id=com.broodplank.initdtoggler
https://play.google.com/store/apps/details?id=jackpal.androidterm
STEP 2
If you've already installed busybox, skip this step.
Install busybox using the busybox installer into /system/xbin
STEP 3
After install, unmount your external sd card from System/Storage/Unmount SD Card
THEN, unmount your external sdcard and sdext2 partition if you have one, from terminal emulator.
Thsi varies from ROM to ROM, I'm on CM11, so I run these commands
Code:
mount -o remount,ro /storage/sdcard1
umount /storage/sdcard1
mount -o remount,ro /data/sdext2
umount /data/sdext2
If you're stock, do this...
Code:
mount -o remount,ro /storage/external_SD
umount /storage/external_SD
mount -o remount,ro /data/sdext2
umount /data/sdext2
Again, rom specific. If you don't have an sdext2 partition, no need for the BOTTOM TWO commands.
STEP 4
Open AParted and resize your external sd card's partition, then make yourself an ext4 formatted sdext partition. Mine is 8 GB in size, since I have a 16 GB card. The journal write takes a long time...usually about a minute and a half. Don't cancel it or you'll end up with a corrupt sd card.
STEP 5
Remount your sd card by your system menu, this is the easy way.
STEP 6
Toogle init.d in Init.d Toggler. Only for stock ROMs without init.d support. Skip this if you've already done init.d or have a ROM that has it baked/enabled.
STEP 7
Install Link2SD and the pro key. The pro key costs money, so if you're poor than I'm sorry. I'm really poor, it's only a few bucks. XD
https://play.google.com/store/apps/details?id=com.buak.Link2SD
https://play.google.com/store/apps/details?id=com.buak.link2sdplus
Run Link2SD after both are installed. If done correctly you'll get a prompt asking you to create your mount scripts, so select ext4 format and confirm, then CANCEL reboot. Go to Link2SD settings and enable Relink Lib files and Relink .dex files at boot. I also make my cache auto-clear every 6 hours or so. Auto link is a really bad idea. Since some system apps break when you link them. Clear the app and dalvik cache. Some of your apps may crash. Recreate your mount scripts again, then REBOOT.
STEP 8
Go into Link2SD and link all your user apps, you can use the filter at the top and serlect "User" to see which ones you installed. DO NOT link anything that modifies your system, since those apps are known to break. For example, voltage control or ROM Manager / ROM Toolbox break when you link them. Since you have the pro version you can link the internal data too!
DO NOT link any system apps. This is a likely known cause for a brick.
DO NOT link CM themes.
DO NOT link launchers.
STEP 9
You have successfully installed Link2SD and have it working! I suggest installing SD booster or making yourself an init.d script to boost your read ahead speed at boot. This helps A LOT with app execution on older sd cards.
I hope this guide helped! Remember, if you fark up you did it to yourself! I'm not responsible.
The L90 D415 is awesome!!!
~LoopyD
Donate to the PayPalz ([email protected])
Partitions with cwm can work too?
I don't use cwm, but TWRP, so wouldn't know.

Categories

Resources