Related
Hi Guys,
Im currently running oxygen RC7 on my Htc Desire. ok im a little confused as to how i have such little space. According to wikipedia the Desire has 512mb flash memory. But according to app2sd it has a total of 185.69MB and according to settings it has 148Mb. So which is it? Now im aware that the rom takes up some space now onto the second part of my question.
I also have partitioned my SD card to 512mb with rom manager, but this doesnt explain the random sizes both A2SD and system settings are saying. Also i dont understand what i achieved by partitioning my sd card i didnt see any difference in size on the storage settings am i just looking in the wrong place.
My understanding is that app2sd moves apps to the ext3 partition created by Rom manager and the stock application manager moves apps to the fat partition. My reasoning for this is that some apps can be moved to SD by the stock application manager and the same apps cant be moved by app 2 SD
Can anyone explain this to me?
Thanks
I don't know much about Apps2SD, A2SD or what ever you call it but I will give it a go anyway and hope that I help you out a little. I don't use it as I will explain why.
The 512MB size is the total size of the internal memory. That memory is split up into 3 main partitions. /system, /data and /cache. Other things like boot, recovery and so on goes somewhere else. The rom goes onto the /system partition, the apps go to /data partition and /cache is for temporary storage like when your downloading apps from the market.
Try not to do it with Rom Manager. It is a little buggy and doesn't work well. You can use something like gparted to format and partition your SD card.
As for A2SD. I understand that you install a script for it to work properly. By default, it will move apps to the ext partition on your SD card. Please note if your using widgets and the app is on the SD card, you won't be able to use the widgets.
Here is a A2SD script by DarkTremmor. Read up on it. Hope this helps.
I prob am wrong about this but this is my understanding of A2SD. Please update me guys if I am wrong or you have better info. I still don't understand A2SD properly. I will however try it out and see how it works.
If you use A2SD (the version with the ext) widgets will work. They only won't work when on the fat partition.
hey thanks for the reply. ok so this helps me understand it a bit better thanks googlejelly. But this still doesnt explain why a2sd has a different total size then the stock application manager?
Even if you say that by default App2sd moves it to ext partition and that is the reason for the different sizes it still doesnt match up as i created a partition of 512mb and got 185.69 which is a bit far off the mark.
Most proper way to know your free memory is Console. Connect phone, type adb shell and:
Code:
# mount
/dev/block/mtdblock3 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard 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,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec 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,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.rovio.angrybirdsseasons-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/system - read only (s-off rules!) file system for your system files
/data and /cache rw partitions for application and data storage
next is SD-Card mount point
/mnt/secure - is hidden folders on SD-Card for storing data for native a2sd Android. You can see last line - it's Angry birds moved to SD mounted as independent partition. Don't move any apps to SD-card if you have custom a2sd+ script configured.
Code:
# df
Filesystem Size Used Free Blksize
/dev 203M 44K 203M 4096
/mnt/asec 203M 0K 203M 4096
/mnt/obb 203M 0K 203M 4096
/system 140M 126M 13M 4096
/data 272M 56M 215M 4096
/cache 25M 10M 14M 4096
/sd-ext 457M 189M 267M 1024
/mnt/sdcard 3G 2G 859M 4096
/mnt/secure/asec 3G 2G 859M 4096
Now sizes (i have custom partitions size, so your sizes will differ)
/data - where you install all apps.
/sd-ext - a2sd+ storage (on SD-Card)
And to check is a2sd word proper:
Code:
# ls -l data/
lrwxrwxrwx root root 2011-02-22 16:54 app-private -> /sd-ext/app-private
lrwxrwxrwx root root 2011-02-22 16:54 app -> /sd-ext/app
lrwxrwxrwx root root 2011-02-22 16:54 dalvik-cache -> /sd-ext/dalvik-cache
-rw-r--r-- root root 8447 2011-02-22 16:55 dta2sd.log
-rw-r--r-- root root 8447 2011-02-22 16:54 dta2sd.lg1
-rw-r--r-- root root 8576 2011-02-22 16:54 dta2sd.lg2
drwx------ system system 2011-02-22 16:55 backup
-rw-rw-rw- root root 376 2011-02-21 17:30 dtinstall.log
drwx------ system system 2011-02-21 17:32 secure
drwxrwxr-x system system 2011-02-23 15:08 system
drwxr-xr-x root root 2008-08-01 15:00 xbin
drwxr-xr-x root root 2011-02-21 17:32 local
drwxr-xr-x root root 2008-08-01 15:00 jit
drwxr-xr-x root root 2011-02-23 14:05 data
drwx------ root root 2011-02-22 16:54 property
-rw-r--r-- root root 1978 2008-08-01 15:00 changelog.txt
drwxrwx--- root root 2011-02-21 17:32 lost+found
drwxrwx--t system misc 2011-02-23 13:14 misc
drwxr-x--- root log 2011-02-21 17:32 dontpanic
you see "->" is symlink to SD-card. So any app you installed in internal memory of your phone actually goes to SD. But, there is on folder - data, which not moved to card with a2sd. Cause some restrictions or smth like this.
in /data/data/ app store their libraries etc. Now check which soft use storage:
Code:
# cd data/data
# du -shd1
3.0M ./com.adobe.reader
80.0K ./com.mhuang.overclocking
54.5K ./kz.mek.DialerOne
4.0K ./jp.r246.twiccaplugins.twitpic
17.5K ./com.anddoes.fancywidget
9.0K ./org.swiftp
.....
2.5K ./com.rerware.android.MyBackupRoot
15.0K ./ccc71.bmw
45.6M .
So total folder use 45.6MB of internal storage. all other is free for use. There another folders in data, but it not so heavy.
Stock Desire, according to alpharev, has - Bravo Sense: /system:180M /cache:40M /data:217M.
Main goal of using custom a2sd+ is that you install all apps in internal memory as your phone thinks. And all widgets work well. With stock a2sd you can't move apps with widgets to sd-card or it stop working.
crap i tried the app2sd script and it messed up my phone, now i cant install any app from the market it just starts and stops straight away. im after doing a factory reset on my phone and even restored backups.
can anyone help?
Why not to take any of existent rom with working a2sd?
thanks for the relpy (both of them) after doing a wipe via android itself, everything is back to normal now. So is it that all i have to do to get app2sd to transfer my apps to my ext3 partition on my sd is run a script (.zip file) in clockworkrecovery?
the one i tried is what messed everything up, i dont know if it was because some of my apps were on my sd (via the standard application manager) or that the script wasnt designed for the desire/the rom im running.
i have partitioned my rom correctly to ext3 so im nearly there :-(
With a2sd all apps should be installed in internal memory.
Check what show ls -l /data/ in terminal. If there is symlink to SD - everything is Ok!
I've partitioned my SD Card to ext4 using Gparted and it shows up on the SD Card settings to have 1.50GB total space I'm currently using MIUI 1.6.10.1 and just wondered what method you have to use to use the A2SD+ Space, is it a move location app such as A2SDGUI or Mod Install location or is it something else? Thanks in advance.
Depending on your rom, you have to activate a2sd. Command for terminal is "a2sd cachesd"
Meaple said:
Depending on your rom, you have to activate a2sd. Command for terminal is "a2sd cachesd"
Click to expand...
Click to collapse
Thank you i've tried that just wondering though, is
"No.a2sd swap environment variable found", "Problem detected: Darktremor Apps2SD may not have ran during boot. Cannot read a2sd.mountpoint. and "Invalid command: cache"
Click to expand...
Click to collapse
is this normal? Everything else seemed to run fine.
Thanks for this! Just saved me 90mb space
I had the same error, when running as SU. Phone rebooted, now have tons of free space so i guess it doesnt matter
KevAmiga said:
I had the same error, when running as SU. Phone rebooted, now have tons of free space so i guess it doesnt matter
Click to expand...
Click to collapse
Did you get exactly the same Errors?
Sure did.
+10 chrs
in terminal try
a2sd reinstall and run above mention command.
If that dont work. Search for Darktremor script. Download and flash that zip file from recovery and try to run those commands.
I've fixed it by the way if anyone wants to know or if this will help anyone.
What I did was do these commands separately in the Terminal Emulator:
#su (Allows root access)
#a2sd reinstall (reinstalls a2sd)
#a2sd cachesd (puts cache to sd)
#a2sd datasd (moves data to sd)
Blakeeeee said:
I've partitioned my SD Card to ext4 using Gparted and it shows up on the SD Card settings to have 1.50GB total space I'm currently using MIUI 1.6.10.1 and just wondered what method you have to use to use the A2SD+ Space, is it a move location app such as A2SDGUI or Mod Install location or is it something else? Thanks in advance.
Click to expand...
Click to collapse
ACTIVATING A2SD+
THESE COMMANDS ARE WAY BACK FROYO DAYS
SEE LATEST MIUI CHANGELOG IF EVER THIS CHANGED
- get terminal from market
- Type su
- Type a2sd zipalign
- Type a2sd cachesd
- You may even need to do a2sd reinstall
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=11410721&postcount=3
I did it so and all works fine.
a2sd not found ;-(
using this rom: http://forum.xda-developers.com/showthread.php?t=1151765
Maybe because you installed a different rom than the OP (You: ·Official RUU Desire Sense Gingerbread v1.2 -GB2.3.3; OP: MIUI). To check if A2SD+ is working (I assume you partitioned your SD card for using A2SD+), open terminal emulator on your phone and type
Code:
su
ls -l /data
Post the output here and you will be told, if A2SD+ is working for you or not.
Furthermore, check wether you have a file named "10apps2sd" in /system/etc/init.d.
MatDrOiD said:
Maybe because you installed a different rom than the OP (You: ·Official RUU Desire Sense Gingerbread v1.2 -GB2.3.3; OP: MIUI). To check if A2SD+ is working (I assume you partitioned your SD card for using A2SD+), open terminal emulator on your phone and type
Code:
su
ls -l /data
Post the output here and you will be told, if A2SD+ is working for you or not.
Furthermore, check wether you have a file named "10apps2sd" in /system/etc/init.d.
Click to expand...
Click to collapse
$ export PATH=/data/local/bin:$PATH
$ su
# ls -l /data
total 21
lrwxrwxrwx 1 0 0 14 Nov 22 20:59 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Nov 22 20:59 app-private -> /system/sd/app-private
drwx------ 1 1000 1000 2048 Nov 22 21:41 backup
lrwxrwxrwx 1 0 0 23 Nov 22 20:59 dalvik-cache -> /system/sd/dalvik-cache
drwxrwx--x 1 1000 1000 2048 Nov 23 06:09 data
drwxr-x--- 1 0 1007 2048 Nov 22 20:58 dontpanic
lrwxrwxrwx 1 0 0 11 Nov 22 20:58 drm -> /data/local
drwxr-xr-x 15 0 0 0 Nov 22 21:40 htcfs
drwxrwx--x 1 2000 2000 2048 Nov 22 20:58 local
drwxrwx--- 1 0 0 2048 Nov 22 20:58 lost+found
drwxrwx--t 1 1000 9998 2048 Nov 23 11:43 misc
drwx------ 1 0 0 2048 Nov 23 06:08 property
drwx------ 1 1000 1000 2048 Nov 22 20:59 secure
drwxrwxr-x 1 1000 1000 2048 Nov 23 09:30 system
-rw-r--r-- 1 0 0 835 Nov 22 21:41 zipalign.log
#
I have a file called 40a2sd
KevAmiga said:
Thanks for this! Just saved me 90mb space
Click to expand...
Click to collapse
Yeah it's done flawlessly
Sent from my HTC Desire using XDA App
You don't have to care about anything, A2SD+ is fully working:
mikaelft said:
lrwxrwxrwx 1 0 0 14 Nov 22 20:59 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Nov 22 20:59 app-private -> /system/sd/app-private
drwx------ 1 1000 1000 2048 Nov 22 21:41 backup
lrwxrwxrwx 1 0 0 23 Nov 22 20:59 dalvik-cache -> /system/sd/dalvik-cache
Click to expand...
Click to collapse
MatDrOiD said:
You don't have to care about anything, A2SD+ is fully working:
Click to expand...
Click to collapse
But but.... But I only have 108mb internal space left. My ext4 is 1024mb. :-s
Even if one is using A2SD+, the /data partition still gets filled with app data. That's how it works. And A2SD+ or rather it's EXT does not extend the internal /data partition. The only solve is to use DATA2SD. With this script all data will be moved to an EXT partition and this one will now be the "internal" /data partition. So your internal memory depends on the size of your EXT partition.
MatDrOiD said:
Even if one is using A2SD+, the /data partition still gets filled with app data. That's how it works. And A2SD+ or rather it's EXT does not extend the internal /data partition. The only solve is to use DATA2SD. With this script all data will be moved to an EXT partition and this one will now be the "internal" /data partition. So your internal memory depends on the size of your EXT partition.
Click to expand...
Click to collapse
Ok... I have 64mb swap size, is that bad?
Do I still need to check "Move data to SD" in applications? All can't be moved.
No the swap has nothing to do with it (please read my post again, very carefully and I am pretty you will understand it ).
No, you MUST NOT move it yourself. This is automatically done by the A2SD+ script. The reason why one can still move apps to SD in application settings is, android can only differentiate between apps on internal memory (/data) or on FAT32 of SD Card.
If the app is on EXT-partition of SD card, android "thinks" it is still on internal memory (and some app data is still there, as explained above).
MatDrOiD said:
No the swap has nothing to do with it (please read my post again, very carefully and I am pretty you will understand it ).
No, you MUST NOT move it yourself. This is automatically done by the A2SD+ script. The reason why one can still move apps to SD in application settings is, android can only differentiate between apps on internal memory (/data) or on FAT32 of SD Card.
If the app is on EXT-partition of SD card, android "thinks" it is still on internal memory (and some app data is still there, as explained above).
Click to expand...
Click to collapse
Ok... now I pressed "move to phone"
Then I got:
More free storage on SD card
More free storage on A2SD storage
Less storage on internal storage.
I have a HTC Desire Z Model A7272 with the microSD microSDHC SanDisk 8 GB Class 4.
CyanogenMod 7.0.3
After rooting and installing CyanogenMod 7.0.3, I went to Settings -> Storage -> Erase SD Card. Doing that showed two confirmation screens Erase SD Card -> Erase everything and then the notification bar said:
Code:
SD card safe to remove
Blank SD card
Opening the notification bar sais:
Code:
Blank SD card
SD Card blank or has unsupported file system
with the option Format SD card. Doing that, enters the circle again, displaying one after another:
Code:
SD card safe to remove
Blank SD card
SD Card blank or has unsupported file system
Same with Settings -> Storage -> Mount SD Card and Erase SD Card.
After Googling and Reading I booted ClockworkMod Recovery:
ClockworkMod Recovery 3.0.2.4
There I did mounts and storage -> mount /sdcard, which resulted in:
Code:
Error mounting /sdcard!
Same with mounts and storage -> format /sdcard:
Code:
Formatting /sdcard...
Error mounting /sdcard!
Skipping format...
The option advanced -> Partition SD Card only displays ext sizes until 4 GB, my card is 8 GB.
So I enter the shell:
Android Debug Bridge version 1.0.26 shell
VBusyBox v1.16.2androidfull
Boot Log sais:
Code:
# [I]dmesg[/I]
<6>[ 4.893951] mmc2: new high speed SDHC card at address e624
<6>[ 4.894866] mmcblk1: mmc2:e624 SU08G 7.40 GiB
<6>[ 4.895202] mmcblk1: p1
List the partition table:
Code:
# [I]fdisk -l /dev/block/mmcblk1[/I]
Disk /dev/block/mmcblk1: 7948 MB, 7948206080 bytes
256 heads, 63 sectors/track, 962 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk1p1 * 1 963 7760896 c Win95 FAT32 (LBA)
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(1023, 255, 63) logical=(0, 32, 33)
Partition 1 has different physical/logical endings:
phys=(1023, 255, 63) logical=(962, 138, 10)
Trying to mount it by hand:
Code:
# [I]mount -v -t vfat /dev/block/mmcblk1p1 /mnt/sdcard[/I]
mount: mounting /dev/block/mmcblk1p1 on /mnt/sdcard failed: Invalid argument
System call trace of that:
Code:
# [I]strace mount -v -t vfat /dev/block/mmcblk1p1 /mnt/sdcard[/I]
stat64("/dev/block/mmcblk1p1", {st_mode=S_IFBLK|0600, st_rdev=makedev(179, 33), ...}) = 0
mount("/dev/block/mmcblk1p1", "/mnt/sdcard", "vfat", MS_VERBOSE, ""...) = -1 EINVAL (Invalid argument)
write(2, "mount: mounting /dev/block/mmcbl"..., 77mount: mounting /dev/block/mmcblk1p1 on /mnt/sdcard failed: Invalid argument
) = 77
mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x40008000, 4096, PROT_READ) = 0
munmap(0x40008000, 4096) = 0
SYS_248(0xffffffff, 0x1000, 0xafd46300, 0xafd46300, 0xffffffff <unfinished ... exit status 255>
Unfortunately, the following programs I am used to by Linux are not available on my phone: blkid, fsck, mkfs.
I tried creating a new partition table with one primary partition over the entire size. Neither ClockworkMod Recovery nor CyanogenMod wanted to format or mount this. However, one of them changed the partition table back to what can be seen above.
Unfortunately, I can not currently put the card into another device to debug/format/mount it there.
Any idea how I can debug this further on my phone?
from the formating going on your phone, it seems to say skipped the format. i suggest to format the sd card on your computer to fat32. also if your computer detects errors on the sd card, you can debug them on your computer then reformat it. just remeber to back up your stuff
I didn't have another device. That was my problem.
So I dug one up (some Samsung, non-Android), put it in there, formatted it, put it back in mine and it worked!
Cool for problem solved, but I am still wondering what the cause of this was and how to fix it.
The partition table is still looking exactly the same:
Code:
# [I]fdisk -l /dev/block/mmcblk1[I]
Disk /dev/block/mmcblk1: 7948 MB, 7948206080 bytes
256 heads, 63 sectors/track, 962 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk1p1 * 1 963 7760896 c Win95 FAT32 (LBA)
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(1023, 255, 63) logical=(0, 32, 33)
Partition 1 has different physical/logical endings:
phys=(1023, 255, 63) logical=(962, 138, 10)
So my questions remain:
1. Why were both CyanogenMod 7.0.3 and ClockworkMod Recovery 3.0.2.4 unable to format and/or mount the card? Where is the exact bug?
2. How to fix this software so we don't need another device?
ilf_ said:
I didn't have another device. That was my problem.
So I dug one up (some Samsung, non-Android), put it in there, formatted it, put it back in mine and it worked!
Cool for problem solved, but I am still wondering what the cause of this was and how to fix it.
The partition table is still looking exactly the same:
Code:
# [I]fdisk -l /dev/block/mmcblk1[I]
Disk /dev/block/mmcblk1: 7948 MB, 7948206080 bytes
256 heads, 63 sectors/track, 962 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk1p1 * 1 963 7760896 c Win95 FAT32 (LBA)
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(1023, 255, 63) logical=(0, 32, 33)
Partition 1 has different physical/logical endings:
phys=(1023, 255, 63) logical=(962, 138, 10)
So my questions remain:
1. Why were both CyanogenMod 7.0.3 and ClockworkMod Recovery 3.0.2.4 unable to format and/or mount the card? Where is the exact bug?
2. How to fix this software so we don't need another device?
Click to expand...
Click to collapse
Did you try
#parted /dev/block/mmcblk1p1
in clockwork recovery?
I suggest getting a new card. Either of the cards in my signature are good, and PNY's 8GB Class 4 card is a good backup card.
Im having the same problem. I have an atrix. WHAT DO I DO
I'm having the same issue and have tried formatting through clockwork, the current rom i'm using, and windows. The sdcard still cannot be mounted. I've tried searching throught the forums and haven't found anything that helped. Hoping someone might have some suggestions other than buying a new sdcard...thanks
also, how do u type in commands while in recovery?
Better method for extending storage in XMD Or using external at place of internal Hi, after searching in forums for swapping External 2 internal , i try all methods but it don't work for me with my XMDS build 15.5.a.1.5 JB 4.3, then i found this one without swapping
Requied:
1 - Rooted XM SS/DS or any Handset with emulated internal SdCard ( i try it on samsung galaxy pocket neo and it has work fine)
2 - FolderMount app
3 - BusyBox installed if you haven't install it from here
4 - Reboot Fix taken from here Credit to jinishpv
5 - Link2SD configured like in thread http://forum.xda-developers.com/showthread.php?t=1750888 , and the minimal size of sdext2 is between 1 up 1,5 GB (depending of update applications) the max is 2 GB for FAT16.
How it work?
this method merge and link folders existing folders from internal storage to external one used by application or user (physicaly are on external but logically are on internal or the system recognize the folder on internal memory but use storage from external)
ex: I pair blue-tooth folder in Int and EXT , if I receive a file from blue tooth by default the file wil be received to internal storage virtually stored on Internal but physically stored on external storage.
before mounting folders :
su
127|[email protected]:/ # df
df
Filesystem Size Used Free Blksize
/dev 420.4M 64.0K 420.4M 4096
/mnt/secure 420.4M 0.0K 420.4M 4096
/mnt/asec 420.4M 0.0K 420.4M 4096
/mnt/obb 420.4M 0.0K 420.4M 4096
/system 1183.2M 1023.2M 159.9M 4096
/cache 197.0M 19.4M 177.6M 4096
/persist 3.9M 84.0K 3.8M 4096
/firmware 64.0M 35.5M 28.5M 16384
/data 2053.7M 541.8M 1511.9M 4096
/data/sdext2 1459.8M 1033.8M 425.9M 32768
/lta-label 15.8M 4.3M 11.5M 4096
/mnt/shell/emulated 2053.7M 541.8M 1511.9M 4096
/storage/emulated/legacy 2053.7M 541.8M 1511.9M 4096
/storage/emulated 420.4M 0.0K 420.4M 4096
/storage/sdcard1 13517.3M 7628.5M 5888.8M 65536
/storage/emulated/0 2053.7M 541.8M 1511.9M 4096
/storage/emulated/0/Android/obb 2053.7M 541.8M 1511.9M 4096
/storage/emulated/legacy 2053.7M 541.8M 1511.9M 4096
/storage/emulated/legacy/Android/obb 2053.7M 541.8M 1511.9M 4096
Click to expand...
Click to collapse
after mount with mount folder app just we what's been added
/storage/emulated/legacy 2053.7M 541.8M 1511.9M 4096
/storage/emulated 420.4M 0.0K 420.4M 4096
/storage/sdcard1 13517.3M 7628.5M 5888.8M 65536
/storage/emulated/0 2053.7M 541.8M 1511.9M 4096
/storage/emulated/0/Android/obb 2053.7M 541.8M 1511.9M 4096
/storage/emulated/legacy 2053.7M 541.8M 1511.9M 4096
/storage/emulated/legacy/Android/obb 2053.7M 541.8M 1511.9M 4096
/data/media/obb/com.gameloft.android.ANMP.GloftA8HM 13517.3M 7628.5M 5888.8M 65536
/data/media/0/bluetooth 13517.3M 7628.5M 5888.8M 65536
/data/media/0/Download 13517.3M 7628.5M 5888.8M 65536
/data/media/0/SpeedSoftware 13517.3M 7628.5M 5888.8M 65536
/data/media/0/viber 13517.3M 7628.5M 5888.8M 65536
/data/media/0/WhatsApp 13517.3M 7628.5M 5888.8M 65536
Click to expand...
Click to collapse
little explain :
after mounting it create a new mount for folder what a destination is on sdcard1
How To do? :
1- download the app from https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=fr and install it
2- grant super user authorizations
3- creating substitute folder by pairing from internel to external
4- click on add (+)
5- Creating pairs of folder
1st Method: by choosing folder
Choose Name of folder and paths in both source and destination , source will be the folder on internal and destination will be in external
Ex : obb folder for asphalt 8 and you can do it for DCIM , bluetooth , Download and for big folder on internal storage.
{
"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"
}
2nd Method : from Apps Analyzer
1- Open apps analyzer form app
2- you click on app you want to move its folder to SDCARD Ex: Asphalt 8
3- Click on Create pair for obb or data
1 - you choose the folder for app (it will be choosed automaticaly for some apps)
and save
2- after done wait for mounting and merging folder the list for folder will be appears like above
with white pin not mounted with green one mounted and working
just click on wanted one for mounting/dismounting
Troubleshooting:
in the first time perhaps when it mounts folder it can reboot ( it happend for me whan i chose folder manualy)
remove all and make a first one by app analyzer , if error permissions appears FolderMount ask you if do want patch the rom choose yes and reboot.
then you can mount folder manualy
and enjoy with more space
Results
and here is the result without Link2SD
after Adding LINK2SD
I hope that will helpfull and Sorry for my english!!!
Does it work with half root (Towel Root)?
my phone is rooted with kingoroot and it work fine
towelroot not tested
kirev said:
Does it work with half root (Towel Root)?
Click to expand...
Click to collapse
test it and post your results
rafik23 said:
test it and post your results
Click to expand...
Click to collapse
Soon...
why you dont try full root withe towel root here http://forum.xda-developers.com/xperia-m/general/towel-root-steps-to-root-t2789990
Thanks, I will!
kirev said:
Does it work with half root (Towel Root)?
Click to expand...
Click to collapse
kirev said:
Thanks, I will!
Click to expand...
Click to collapse
i wait your result ...
Towel root make half root when you reset phone that means you loose supersu not su binaries
Sent from my C2005 using XDA Premium 4 mobile app
Hi, last night I tried every method to install Link2SD but all failed
I want to try your method because our phone is similar (firmware version), but I need information about these:
1. What partition format do you use for your 2nd partition. FAT32 or EXT2/3/4?
2. I already rooted my phone using Towelroot. SuperSU works fine. Do I have to reroot it using your root method (kingoroot)?
Thanks in advance
amahgfur said:
1. What partition format do you use for your 2nd partition. FAT32 or EXT2/3/4?
2. I already rooted my phone using Towelroot. SuperSU works fine. Do I have to reroot it using your root method (kingoroot)?
Click to expand...
Click to collapse
1. Use ext4 for your Link2SD partition of approx. 2GB and FAT32 for your primary partition i.e. the rest of the Micro SD card.
If using a MicroSD 32GB card or larger, you should consider using a 64K cluster size when partitioning FAT32.
I use MiniTool Partition Wizard on a MS Windows system.
The only consideration for using a Link2SD FAT32 partition instead of ext4 is that any old system can read files on a FAT32 partition.
There are however many ext4 file readers for MS Windows systems and thus ext4 is the best option for the Link2SD partition.
With the SD card inserted into the phone and upon the first startup of Link2SD app, select an ext4 partition to mount and restart your phone.
I would suggest purchasing the Link2SD Plus app as it provides a link to SD card for app data too.
2. Root access is just root access. If it looks like a duck and it quacks like a duck, it's a duck.
If you're successfully using SuperSU with a full root, your should be fine.
I use Framaroot to gain full root access myself, when most people use other methods.
hgn66 said:
I just tried FolderMount. After moving first app (via app analyzer) the phone just keep rebooting and after each time, just about 30 sec for next reboot! Deleting FolderMount and the phone stops rebooting...
So I don't know is it really possible to move apps to sd card on Sony Xperia M? I searched lots of forums and tested many methods... Seems Impossible...
Click to expand...
Click to collapse
[1] Configure full root access for a locked bootloader on C1905 (test and confirm stable)
[2] Configure Link2SD on a 2GB ext4 partition and move apps and data(Link2SD+) to external SDCard ext4 partition (test and confirm stable)
[3] Configure FolderMount and link Internal folders to external SDcard folders (test and confirm stable)
No reboots.
This is VERY possible as that's how I have an Xperia C1905 configured.
Using this method, camera thumbnails no longer use up space on internal storage if you've linked folder DCIM.
Using this method both sdcard0 and sdcard1 point to the same files on the external SDcard for the folders you have linked, thus eliminating internal/external folder location confusion and free space on internal storage.
Using a high read/write 64GB SDcard, one has great storage flexibility and internal storage remains static at approx 1.6GB free.
I just tried FolderMount. After moving first app (via app analyzer) the phone just keep rebooting and after each time, just about 30 sec for next reboot! Deleting FolderMount and the phone stops rebooting...
So I don't know is it really possible to move apps to sd card on Sony Xperia M? I searched lots of forums and tested many methods... Seems Impossible...
rafik23 said:
Better method for extending storage in XMD Or using external at place of internal Hi, after searching in forums for swapping External 2 internal , i try all methods but it don't work for me with with my XMDS build 15.5.a.1.5 JB 4.3, then i found this one without swapping
Requied:
1 - Rooted XM SS/DS
2 - FolderMount app
3 - BusyBox installed if you haven't install it from here
4 - Reboot Fix taken from here Credit to jinishpv
5 - Link2SD configured like in thread http://forum.xda-developers.com/showthread.php?t=1750888 , and the minimal size of sdext2 is between 1 up 1,5 GB (depending of update applications) the max is 2 GB for FAT16.
How it work?
this method merge and link folders existing folders from internal storage to external one used by application or user (physicaly are on external but logically are on internal or the system recognize the folder on internal memory but use storage from external)
ex: I pair blue-tooth folder in Int and EXT , if I receive a file from blue tooth by default the file wil be received to internal storage virtually stored on Internal but physically stored on external storage.
before mounting folders :
after mount with mount folder app just we what's been added
little explain :
after mounting it create a new mount for folder what a destination is on sdcard1
How To do? :
1- download the app from https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=fr and install it
2- grant super user authorizations
3- creating substitute folder by pairing from internel to external
4- click on add (+)
5- Creating pairs of folder
1st Method: by choosing folder
Choose Name of folder and paths in both source and destination , source will be the folder on internal and destination will be in external
Ex : obb folder for asphalt 8 and you can do it for DCIM , bluetooth , Download and for big folder on internal storage.
2nd Method : from Apps Analyzer
1- Open apps analyzer form app
2- you click on app you want to move its folder to SDCARD Ex: Asphalt 8
3- Click on Create pair for obb or data
1 - you choose the folder for app (it will be choosed automaticaly for some apps)
and save
2- after done wait for mounting and merging folder the list for folder will be appears like above
with white pin not mounted with green one mounted and working
just click on wanted one for mounting/dismounting
Troubleshooting:
in the first time perhaps when it mounts folder it can reboot ( it happend for me whan i chose folder manualy)
remove all and make a first one by app analyzer , if error permissions appears FolderMount ask you if do want patch the rom choose yes and reboot.
then you can mount folder manualy
and enjoy with more space
Results
and here is the result without Link2SD
after Adding LINK2SD
I hope that will helpfull and Sorry for my english!!!
Click to expand...
Click to collapse
amahgfur said:
Hi, last night I tried every method to install Link2SD but all failed
I want to try your method because our phone is similar (firmware version), but I need information about these:
1. What partition format do you use for your 2nd partition. FAT32 or EXT2/3/4?
2. I already rooted my phone using Towelroot. SuperSU works fine. Do I have to reroot it using your root method (kingoroot)?
Thanks in advance
Click to expand...
Click to collapse
i use FAT16 i have used FAT32 but it does'nt work (error script etc....), then i follow the tutorial litterally http://forum.xda-developers.com/showthread.php?t=1750888 . towelroot or kingo root the phone is rooted i dont know what's a différence technically. i just know root is installing SU binaries in system folder , an supersu.apk can be installed separetly, in full root the superSU.apk dont be removed when reset phone. but half rooted whan you reset you must reinstall again
hgn66 said:
I just tried FolderMount. After moving first app (via app analyzer) the phone just keep rebooting and after each time, just about 30 sec for next reboot! Deleting FolderMount and the phone stops rebooting...
So I don't know is it really possible to move apps to sd card on Sony Xperia M? I searched lots of forums and tested many methods... Seems Impossible...
Click to expand...
Click to collapse
have you try to apply rebootfix ? try install busybox and test
http://forum.xda-developers.com/showthread.php?t=2430046
Android Bob said:
1. Use ext4 for your Link2SD partition of approx. 2GB and FAT32 for your primary partition i.e. the rest of the Micro SD card.
If using a MicroSD 32GB card or larger, you should consider using a 64K cluster size when partitioning FAT32.
I use MiniTool Partition Wizard on a MS Windows system.
The only consideration for using a Link2SD FAT32 partition instead of ext4 is that any old system can read files on a FAT32 partition.
There are however many ext4 file readers for MS Windows systems and thus ext4 is the best option for the Link2SD partition.
With the SD card inserted into the phone and upon the first startup of Link2SD app, select an ext4 partition to mount and restart your phone.
I would suggest purchasing the Link2SD Plus app as it provides a link to SD card for app data too.
2. Root access is just root access. If it looks like a duck and it quacks like a duck, it's a duck.
If you're successfully using SuperSU with a full root, your should be fine.
I use Framaroot to gain full root access myself, when most people use other methods.
[1] Configure full root access for a locked bootloader on C1905 (test and confirm stable)
[2] Configure Link2SD on a 2GB ext4 partition and move apps and data(Link2SD+) to external SDCard ext4 partition (test and confirm stable)
[3] Configure FolderMount and link Internal folders to external SDcard folders (test and confirm stable)
No reboots.
This is VERY possible as that's how I have an Xperia C1905 configured.
Using this method, camera thumbnails no longer use up space on internal storage if you've linked folder DCIM.
Using this method both sdcard0 and sdcard1 point to the same files on the external SDcard for the folders you have linked, thus eliminating internal/external folder location confusion and free space on internal storage.
Using a high read/write 64GB SDcard, one has great storage flexibility and internal storage remains static at approx 1.6GB free.
Click to expand...
Click to collapse
have you do it successefull?
rafik23 said:
have you do it successefull?
Click to expand...
Click to collapse
Yes, I have done it successfully.
Now just living the life dude, living the life.
I've been using a C1905 with root access(Locked BL), 64GB SanDisk Extreme and Link2SD Plus(has data offload) for almost a year.
Installed FolderMount about a month ago just to test if it'd work with WhatsApp as a media offload to SDCard.
Worked so well, I added Pictures,Videos,Music,Downloads,Camera(pesky thumbnails) and a couple of apps which still used internal storage for data.
Now see a continued 1.6GB of free internal flash.
No problems and not really expecting any.
External Link2SD 2GB partition created as ext4 on a SanDisk 64GB card with remainder formatted as FAT32.
When using Link2SD and FolderMount you see funny figures in settings->storage as symbolic links are ignored and reported space used/available now exceeds 2GB
rafik23 said:
i wait your result ...
Click to expand...
Click to collapse
I did it. Nothing special, first full root with Towel Root (and fix). I installed Link2SD with 4GB ext4 second partition, moved (bravely) ALL programs with Create Link and restarted the phone. It took a long time to reboot, I thought the phone was stuck on phone operator's logo, so I removed the battery. The second time it was also long reboot, but I just left the phone to boot and when I went back - it was just fine! Now the reboot takes a long time, there's some smallish lag but generally Link2SD works as advertised
THANKS!
when you use foldermount for any data or games what take a want a big storage you gain more
can u upload a shot for memory storage ?
Dear Android Bob, does this method work on C2005? I'm about to change my phone and get a Galaxy just because I hate sony for this!
[C1905/C2005] both working with Link2SD and Foldermount
hgn66 said:
Dear Android Bob, does this method work on C2005? I'm about to change my phone and get a Galaxy just because I hate sony for this!
Click to expand...
Click to collapse
Yes, Link2SD (paid version with data offload) and Foldermount work as designed on a C2005.
I have a C1905 and a C2005 and both are working without problems using Link2SD and Foldermount.
Most of the application data is 'pulled' off the internal NAND memory using Link2SD, but some internal user data from the likes of WhatsApp and etc still need Foldermount to link their user data to the SD card.
I format cards as FAT32 for the primary (larger) partition with a cluster size of 32K and the Link2SD partition as ext4 at around 2-4GB .
Generally, I have over 1.6GB NAND memory (internal flash) free on both phones
You MUST have full root (not half-root) configured on the phone and you shouldn't have any problems with a XM or XMD phones and a ext4 partition (~2GB) on an external micro SD card.
I would also suggest a U1 Micro SD card instead of a conventional Class10 card (~10MB as max write)
U1 cards normally have write speeds over or approaching 20MB (U1 standard states write speeds over 10MB)
This just means the Micro SD card is not limiting I/O and slowing the phone down with all the apps/data now residing on the external card.
A C1905 with a SanDisk Extreme 64GB card seems to chug along pretty well. (~4GB ext4 Link2SD partition)
The SD card was removed while the device was running.
The device is running CM 7.2 and the SD card was partitioned to extend the internal memory.
Now, everything is out of whack.
The call log is gone, the texts are gone, I have no contacts, I have no favorites.
The widgets are gone, the home screen icons are gone.
Actually it'd be better to say what's still there: The apps themselves and some file content (pictures, videos, downloads) are there.
How do I rectify this and safe my data. I wouldn't mind migrating it to a new device as I have a new device.
Please advice if you can
what method did you use to partition your card ? some leave user data on internal memory some move that too on to external. i don't know if there's any PC software that can see your 2nd partition if you put your SDcard into a card reader on a PC for backing up.
3mel said:
what method did you use to partition your card ? some leave user data on internal memory some move that too on to external.
Click to expand...
Click to collapse
I don't know for sure but I think it was Data2SD from the package Data2sdV2withA2sdremover_by_jikantaru.zip
It is a 2 GB SD card and the phone shows an internal storage of 473 MB and 1,39 GB on the SD card.
3mel said:
i don't know if there's any PC software that can see your 2nd partition if you put your SDcard into a card reader on a PC for backing up.
Click to expand...
Click to collapse
I inserted it in a Ubuntu computer and got some output.
This is the relevant output from Ubuntu
Code:
[email protected]:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p1 1.4G 1.4G 21M 99% /media/ubuntu/F031-5199
/dev/mmcblk0p2 465M 393M 73M 85% /media/ubuntu/userdata
Code:
[email protected]:~$ sudo fdisk -l
Disk /dev/mmcblk0: 1.9 GiB, 2002780160 bytes, 3911680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000ccb88
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 1 2912109 2912109 1.4G c W95 FAT32 (LBA)
/dev/mmcblk0p2 2912256 3911679 999424 488M 83 Linux
Code:
[email protected]:~$ sudo ls /media/ubuntu/F031-5199
AI Factory Stats LOST.DIR Safety Guide
Android media ScanToPDF_Free
aScreenshot miniclipId.txt SmsContactsBackup
busybox-stericson My Documents svox
clockworkmod My files System Volume Information
data Notifications TitaniumBackup
data2whateverlog.txt Pictures tmp
DCIM Quick Start Guide toolbox-stericson
download reboot-stericson User Manual
ezPDFReader Ringtones
kindle rosie_scroll
[email protected]:~$ sudo tail /media/ubuntu/F031-5199/data
Code:
[email protected]:~$ sudo lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
mmcblk0
├─mmcblk0p1 vfat F031-5199 /media/ubu
└─mmcblk0p2 ext3 userdata 6f6684d8-78c2-40b6-ae72-d9b089f623a1
Both partitions are still there and accessible. I did run fsck but it did not help with the lost thing (texts, etc.)
somebody else had trouble with that method a cm10.1 thread. I would have said try flashing it again but I don't know that method...