Initially Titanium Backup's "move to SD" feature looked like a great way to use tools I was already familiar with to make the most of limited internal storage. While searching for answers on how to set up what TB needed, it became clear that pretty much any similar app or solution - e.g. Mounts2SD - would need this partition mounted to function properly.
Problem is I can't seem to get it to work, despite trying EVERYthing that all of xda forums and Google can tell me. And there's a lot of info on this topic.
This is the mount command in Terminal emulator:
Code:
su
busybox mount -t ext4 /dev/block/mmcblk1p2 /sd-ext
(where I've confirmed that /dev/block/mmcblk1p2 is the partition I want to mount, ext4 is replaced by correct filesystem, and /sd-ext exists and is the desired mount point.)
It seems to go fine... I don't get any errors or feedback. But TB doesn't detect the partition even after adding an "app" folder using "mkdir" command.
Here's way more info than necessary about my situation in case it might help...
Device is SM-113, KK 4.4.4. Rooted, stock everything, selectively debloated using Titanium Backup Pro
Recovery is TWRP 3.0.0
Busybox by Stericson from Google Play
This is what I've done, in all possible combinations:
— Have used 3 separate SD cards: 32GB fresh out of the package (largest size officially supported by this tab) and 2 used 64GB (no documentation but it mounted and works fine for regular storage!)
— Used TWRP, AParted (from Play store) and Minitool (on Windows) to create the partitions
— 2nd partition formatted as ext2 & ext4 (read somewhere that ext3 wasn't a good idea...)
— Size of the 2nd partition ranging from less than 10% of SD card size up to 10GB
— Mounting to /sd-ext, /system/sd, and /data/sd (per TB's knowledgebase, linked above )
I've also attempted using a few apps from Google PIay as recommended by various threads on the subject from this forum (don't even remember which but I can look them up if necessary). I've since wiped and restored a nandroid backup so that none of these can potentially get in the way.
This IS working on my (also stock, MM 6.0.1) Galaxy S5 (G900W8) with one of the cards that didnt work on this tab - a 4GB ext4 partition on a 64GB SD card. After TB recognized it I set up init.d support and it happily mounts on every boot.
So it looks like it's something to do with this device, which sadly has extremely limited space that makes me want to cry. Therefore, I hope someone else with the 113 can lend a hand.
If necessary, I'm totally willing to flash stock, re-root, and set everything up again in order to make this work!
Not too sure. I use Aparted and Link2SD on a couple of my older toys...lol. I use ext 3 too. I have a 210, I'll play with it and see if I can figure it out.
Thanks @RealWelder! Don't know if that'll help as it's a different device, but let me know what, if anything, you figure out.
Personally, I'm going to give it another shot using the 'Mounts2SD' app (even though I'd wanted to do this WITHOUT any new apps... oh well, if it works at least I'll have plenty of space!)
I got it to work! *happy dance* Absolutely NO idea exactly what did it, but there was a lot of fiddling with permissions, and rebooting, and painfully typing "mount -t ext4 etc. etc." into terminal, and making adjustments to init.d scripts until finally ... TB recognized it.
Thank you XDA forum!
Sent from my Samsung SM-T113 using XDA Labs
Related
hi everyone
Been looking how to transfer all my apps to my new sd card using leedroid worked by tmod. Telstra htc desire.
i have tried to transfer everything to my sd card however i formatted it using rom manager, ext however windows wasnt recognising it formatted it using windows 7 then now the sd card wont mount.
would like some advice or software how to do this please help
cheers Arnie
If you want full apps on your sdcard (using ext) then you have to do this:
format to ext using the recovery, i used amon_ra, so im not sure how well and which version of clockwork recovery works well etc. I did 1GB=ext3 rest=fat32. Windows7 does not recognise the ext3 partition and always comes up with an error when mounting the card with "ignore error, fix error"..ignore error works perfectly well.
You need a ROM that has the scripts that allow this to happen. As such, afaik, it is a very minor detail/fix, but your ROM needs to support it. AFAIK, SupervillainHD and Defrost support this, I have not tested any others. Any ROM that says a2sd+ should support this method of a2sd, if in doubt try it out. There is no menu option, no extra thing to do. It will automatically detect if you have an ext2/3 partition on sdcard and do the moving on the first boot. Be aware that Cyanogen does not support the ext3 method of a2sd and only the crappy froyo a2sd. I believe there is a fix, but it sounded kinda hackish to me, and a lot of people in #cm seemed to have a bad opinion of ext3 a2sd (as opposed to the froyo's inbuilt a2sd).
The easiest way to test it out is to adb shell (or access root shell from the phone), and type ls -l /data/app*. If a2sd is on and working you should see something like this:
Code:
lrwxrwxrwx root root 2010-12-02 14:48 app -> /system/sd/app
lrwxrwxrwx root root 2010-12-02 14:48 app-private ->/system/sd/app-private
if note you should see:
Code:
drwxrwxrwx root root 2010-12-02 14:48 app
drwxrwxrwx root root 2010-12-02 14:48 app-private
Note that depending on ROM/phone setup the part after "->" can be /system/sd-ext/app or /sd-ext/app the point is there should be a -> and something after it, and the first letter should be l (for link) and not d (for directory).
N.B: As i said, and I am sure you are aware, Froyo comes with a built in semi-a2sd thing. this version does not need you do anything extra. Merely go to the Menu in any CM based ROM's and click on CyanogenMod menu (or some other extra menu you're rom may have put in) and select "always enable external storage of apps" or something similar (whatever option in there sounds like it). This is a hackish way of doing it. The proper way would be to go to menu->application->manage applications and select the app you want to move after installing it, and click on the "move to sdcard" button.
This is built into the android system, with more security features or smthg, but is a little lacking. Unless you use the hackish method (which is not always reliable afaik), the dude who wrote the app has to enable support for app2sd via this method in his app, not a lot of people do. But most big games and such do so. Also, this method only moves parts of the app to the sdcard. The biggest disadvantage is that the apps are stored in the fat partition, which means mounting the fat partition onto the computer (by clicking on "mount sdcard to computer via usb in the pull down bar") wil disable and render useless any apps that are on sdcard (until the sdcard is mounted back into android)...and widgets go haywire on reboot, since the fat partition takes a bit to come online (due to the checks the system does before mounting it). These issues do not occur at all with a seperate partition that is ext2/ext3.
-Tj
I haven't found really good explanation on forum and most of post on this seems not to be answered so I'm posting to see if I can get this sorted.
I used Leedroid, InsertCoin, and now on GingerVillian now. All of them had same setting of 500MB ext partition. Problem is I always seems to get low internal memory no matter what ROM I use. Currently I have 394MB free SD-EXT and 16MB Internal.
I moved adobe flash to SD card which seems to free up space and Dalvik Cache is on SD-Ext.
So question is why even though I have lot of EXT space left is it not being used and is there way to make it use it more instead of internal memory?
jinius said:
I haven't found really good explanation on forum and most of post on this seems not to be answered so I'm posting to see if I can get this sorted.
I used Leedroid, InsertCoin, and now on GingerVillian now. All of them had same setting of 500MB ext partition. Problem is I always seems to get low internal memory no matter what ROM I use. Currently I have 394MB free SD-EXT and 16MB Internal.
I moved adobe flash to SD card which seems to free up space and Dalvik Cache is on SD-Ext.
So question is why even though I have lot of EXT space left is it not being used and is there way to make it use it more instead of internal memory?
Click to expand...
Click to collapse
App2SD is flawed because of this, say you have an app 20mb, 15mb would be put on to the SD card and the rest go's to internal, so you will still use up space and in the end will have to start uninstalling.
Best way is to use a Rom with data2SD witch give's you 2gb internal memory.
Sent from my HTC Desire using XDA App
I have the same problem... I hate it , i have 1 gb for sd-ext3 and i cant enjoy it !
Any ideas ?
wska said:
I have the same problem... I hate it , i have 1 gb for sd-ext3 and i cant enjoy it !
Any ideas ?
Click to expand...
Click to collapse
Data2SD RoM problems solved
One could also flash a new hboot which increases the size of the /data-partition. However you need s-off for this and it's imho riskier than flashing a rom with data2sd. Whereas i work with a2sd + cm7 hboot and i am very happy it.
Desire with Cool Sensation v7
Hi,
I have this problem too. but it is not our choice to choose the data2sd instead of app2sd because it depend on what the ROM support.
Previously I use App2sd+ from ModaCo ROM. I have 200+ apps and it take the internal memory nearly full but sd-ext space just half.
I tried the Data2sd for Desire is only SuperNova with HTC Sense and it work in 1Gb sd-ext. BUT it uses Sense 2.1.
I just try Sense 3 from Cool Sensation v7 ROM. I love it and dont want to revert back to previous Sense It have 3D home screen, cool weather animation, SMS secure lock. However this ROM still use app2sd. I cannot post to the thread, I dont have enought post count.
I try some other way to apply Data2sd into this ROM but I got boot loop.
After few days I use this ROM, my internal memory almost full (15mb free) for only 57 apps even the app2sd symlink-ed /data/app, /data/app-private, /data/dalvik-cache and /system/app into sd-ext!
Expert please help me and give me some idea.
Do I need to symlink /data/data into sd-ext manually?
Is it possible to remove app2sd in the ROM and install Data2sd? How?
Data2sd require busybox, init.d and ext4 kernel support. I think this ROM have all this thing.
HTC Desire
Hboot S-Off with Revolutionary
4ExtRecovery
Cool Sensation v7 ROM
8Gb Class 2 sd card with Fat32 + 1Gb ext4
And have some basic in Linux shell
I can 100% get my head around this either, although i did install some apps and i could really tell if it was on Internal or EXT4.
From my understanding, as far as the phone os, it thinks apps are on Internal and will decrease the size counter, but apps are on EXT4 if you use a file manager etc.. but even if all goes to EXT4, we still get that annoying LowDisk message was it get to 15megs...
I still was convinced, but i accidently decided i wanted to format my FAT32 partition, mainly to get rid of all the junk that on there since STOCK Rom. I used the Phone own Format SD Card option.
Well that was fun (NOT!!) it instead formatted the EXT4 and not the FAT32, when i rebooted all the loaded apps that were on EXT4 were now gone.
Phone still works, but one side effect of this is now i have like 270megs free....lol, granted no wallpaper, lockscreens etc,
anyway seeing as i screwed up and that im already S-OFF, im going to just go with CM7r2 HBoot.
Similar issue - I think?
Hi all, my first post here
So I have been working my way through all the error messages and guides and finally have InsertCoin set up. All is looking good except after Titanium Backup restored all my apps my internal memory is as full as before I rooted the phone, so I think I can safely say that the 2gb I partitioned off on my SD is not getting ay use at all? Is there a way I can check?
For the record I am running with AmonRa, and I used Revolutionary to get s-Off. The guide I followed to set up A2SD did not have me using any Terminal commands, so I am guessing that is an area for me to explore in solving this, here is the guide I used (near the end)
/myhtcdesire.com/modding/how-to-install-a-custom-rom-on-your-htc-desire
I used that method as i am on a borrowed mac and it just seemed easier. I
I am hoping there is an easy fix that someone can suggest.
hoads1234 said:
Hi all, my first post here
So I have been working my way through all the error messages and guides and finally have InsertCoin set up. All is looking good except after Titanium Backup restored all my apps my internal memory is as full as before I rooted the phone, so I think I can safely say that the 2gb I partitioned off on my SD is not getting ay use at all? Is there a way I can check?
For the record I am running with AmonRa, and I used Revolutionary to get s-Off. The guide I followed to set up A2SD did not have me using any Terminal commands, so I am guessing that is an area for me to explore in solving this, here is the guide I used (near the end)
/myhtcdesire.com/modding/how-to-install-a-custom-rom-on-your-htc-desire
I used that method as i am on a borrowed mac and it just seemed easier. I
I am hoping there is an easy fix that someone can suggest.
Click to expand...
Click to collapse
To check if a2sd is working, open terminal emulator and type
Code:
su
ls -l /data
Output should say (for a2sd):
Code:
app -> /sd-ext/app
app-private -> /sd-ext/app-private
Additionally for a2sd+:
Code:
dalvik-cache -> /sd-ext/dalvik-cache
If it does not show this, a2sd is not working. So make sure you partitioned sd card correctly (fat32 + ext; both primary).
CallMeLaNN said:
Hi,
I have this problem too. but it is not our choice to choose the data2sd instead of app2sd because it depend on what the ROM support.
Previously I use App2sd+ from ModaCo ROM. I have 200+ apps and it take the internal memory nearly full but sd-ext space just half.
I tried the Data2sd for Desire is only SuperNova with HTC Sense and it work in 1Gb sd-ext. BUT it uses Sense 2.1.
I just try Sense 3 from Cool Sensation v7 ROM. I love it and dont want to revert back to previous Sense It have 3D home screen, cool weather animation, SMS secure lock. However this ROM still use app2sd. I cannot post to the thread, I dont have enought post count.
I try some other way to apply Data2sd into this ROM but I got boot loop.
After few days I use this ROM, my internal memory almost full (15mb free) for only 57 apps even the app2sd symlink-ed /data/app, /data/app-private, /data/dalvik-cache and /system/app into sd-ext!
Click to expand...
Click to collapse
I used Cool Sensation v7 but didn't have this problem until I flashed the newer v9 (just noticed v10 has been posted today though). My internal memory was very low but I then flashed the Dalvik to sdext.zip from the Cool Sensation thread and then had 180MB internal free. Try that and see if it works. If it doesn't, have you aligned your SD ext using the .zip on the same thread? if not this could be why your having problems, though it didn't work for me.
Thanks for the ideas, I was a bit out of my depth with the Mac SU functions, so although i didn't get the desired feedback you suggested, but it could have been me. So anyway I found a Ubuntu machine and plugged in the SD card in an adapter and can see that there is a successful partition, and that the EXT partition seems to have some files and folders in it.
I have also just noticed that the SD cards partitions also appear in the Titanium Backup overview screen.
So i guess my problem is that the memory is just full! Maybe my expectations of extra memory after rooting were unrealistic. ?
For the Record, just to make sure my situation is normal, in Titanium I see
System ROM - 262MB (129MB free)
Internal - 158MB (15MB free) - is this just a section of system ROM above?
SD CARD - 13.8GB (11GB free)
SD Card (a2sd) - 1.9GB (1.5GB free)
@xybadog this is my update,
@hoads1234 just want to share with you,
I use Cool Sensation v7, the internal memory full can be solved by flashing the additional zip for stock hboot but I flash non stock hboot. Why?
After some studying, now I know why expert keep asking for my hboot. Hboot define the data partition. On the phone memory, it divided into system, cache and data partition. the hboot define the partition size. For stock hboot, you will only have 147Mb for HTC Desire. Whatever the custom ROM symlink'ed some data partition, we stuck on 147Mb. If you flash like CM7r2 hboot, you will get more room (300+Mb) on data but just enough for system. "Internal memory" is referring to data partition.
Now I still have 130Mb free internal memory after installing 90 apps without wiping any cache for about 2 weeks.
I dont have Ubuntu even I know how to use it. No time to install or make virtual machine. To partition your sdcard easily without linux, use 4ExtRecovery. It is CWM based recovery plus support for Ext4 and some features like partitioning, check for aligned sd-ext and mount as disk drive.
To check for your current internal partition. boot into recovery, and use ADB to run command "df -h". The /system /data and /cache is the thing you need to look for.
You could use the cyanogenmod rom, then install s2e app from market. That app is designed purely for use with cyanogenmod. I use this combo, I have a huge amount of apps installed and still 50mb of internal space free. No need for changing your hboot or using data2sd rom. Very simple fix
Sent from my CM7.1 Desire using XDA Premium App
okay thanks, I am still happy having a go with InsertCoin, so I will have a look at the hboot.
I think i read somewhere that i could do it just like adding a new ROM and copying a zip file across, so time for some more forum reading to work my way through this next step.
http://forum.xda-developers.com/showthread.php?t=1110921
okay here is my update, since in have revolutionary hboot, i tried to change to alpharev, so i could use their modified partition tables (found no reference of being able to do this in Revolutionary) - the folks on alpharev irc said not to, but didn't say why.
I did try and use the unrevoked tool to flash AmonRa across again, but this had a waiting for reboot error and may have failed. I have also reflashed my ROM again after a full wipe a couple of times. Not finding any improvements in memory, so will keep fiddling.
okay next question!
I tried the terminal emulator commands (once i worked out this was an app, and not the Mac terminal..) and got the following responses
app -> /system/sd/app
app-private ->
dalvik-cache ->
so am i guessing correctly that none of the apps i download are being sent to the SD partition.
Any advice to get app-private directed to my sd card?
hoads1234 said:
okay next question!
I tried the terminal emulator commands (once i worked out this was an app, and not the Mac terminal..) and got the following responses
app -> /system/sd/app
app-private ->
dalvik-cache ->
so am i guessing correctly that none of the apps i download are being sent to the SD partition.
Any advice to get app-private directed to my sd card?
Click to expand...
Click to collapse
I suggest you use ADB instead of terminal emulator because easy to type in PC.
Install Android SDK make ADB shell to work and connected to your device. The shell is just the same what you need to do in terminal emulator.
To move app private and dalvik cache simply make symlink like this:
Code:
busybox cp -a /data/dalvik-cache /system/sd/
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
The first will move all contents, the second will remove the existing original dalvik-cache folder. and the third one will make symlink to point from original location to the sd partition.
Has anyone successfully reformatted either /sdcard or /sdcard/external_sd/ /emmc as ext3? I'm not talking about an Apps2SD partition, I'm talking about reformatting the whole volume as one partition, transparent to apps. I do not use Windows so I do not need interoperability, I am fine with ext filesystems.
My goal is to be able to use symlinks (not to mention a more robust filesystem) to redirect certain hard-coded items to store on a different storage volume than it defaults to, but symlinks are not permitted on vfat (FAT32) filesystems.
Thanks!
Anything that I look an answer for, is just not answered. :-(
I am looking for the same information. Wonder why the native ext file systems are not allowed, given that its a Linux kernel running.
You could format it to ext3 and see how it works. Worst case scenario is your phone will tell that sdcard to fu*k off. Given that our phones can and do read the ext format I'm sure you can do it. I'm just not sure how well it will work as far as mounting and such.
On top of that, Windows can read ext formats. You just need a program to do it. I use it all the time.
Thanks for reviving this thread. Surely there must be someone out there who has tried this, and I was hoping to hear from them before I gave it a go, but looks like I'll just have to give it a shot myself.
When I find the time to backup & wipe my sdcard to try and reformat & mount it, I'll report back here.
With my Galaxy Note N7000 I can format a USB Stick to EXT3, and the phone uses it perfectly well as USB Storage...
(rooted, w/w SpeedMod kernel)
Well, first of all, hello everybody!, as you may see I'm fairly new.
So, to begin with the question I'll give you guys the description of my problem:
I've the stock, slow, 16 GB micro SD class 2 card that comes with the Xperia Play. I've been trying to save to get a nicer one, but they're very expensive here in Mexico.
Since a while ago I've been reading about the SD-Ext partition (I know, I know, Gingerbread now supports moving apps to the SD, but I want the widgets and also I want to install a linux distro on my phone and that partition would be convenient ), so I decided to make it, but since I have no other SD and the one I got is almost full (I could surely make some space in my SD but this idea has potential, I needed to try, also, I really enjoy complicating this sort of things ) I made a disk image of that partition with dd on linux. Went trough a lot of complications, but finally, with the help of CIFS Manager I managed to "loop" mount that image on the /mnt/sdcard folder.
My configuration ended like this:
/mnt/sdcard - Disk Image over WiFi (FAT ~15 GiB)
/mnt/sd-ext - /dev/block/mmcblk0p2 (Ext2 1.5 GiB)
unmounted - /dev/block/mmcblk0p1 (FAT 13 GiB)
unmounted - /dev/block/mmcblk0p3 (Swap ~330MiB)
(I'll mount them once I solve this)
The only problem I've now is that my applications "installed" on that disk image are not available, they are on the app drawer, but it says "Application not found" (I ran ls on /sdcard and I could see every folder, even Android settings, on the storage section says that I've 14.83 GB of Total Sapce, clearly the image, not the actual SD).
And here it comes, the real question ... Is there any way I can reload/rescan my apps without rebooting so I can then move them to SD-Ext or any other workaround?
Thanks for your patience reading this
Additional info:
R800a
Stock ROM
DooMLoRD's DooMKernel v8 (for CIFS/NFS support)
FW .42
OK so I gave up, I wanted to use my phone and couldn't find a way to fix it, so I made some space, shrink, made new partitions etc etc.
As a matter of fact it was a nice way to see how much of an actual linux installation I can use on an Android, and I was very pleased.
If anyone is interested on what I did so far (I think I'm not the first man to accomplish something like this) I'll explain on later posts, if not, just let this thread die.
So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
leripe said:
So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
Click to expand...
Click to collapse
on stock android 4.2 u could actually use app2sd to move some apps to external storage
using Cyanogenmode 4.3 based Carbon MOD i found that i no longer can do that, tried app2sd and link2sd
i read somewhere that external storage is defined in system PATH variables, dont know how relevant that is but seems connected
but i honestly dont know yet much about the android platform to fix this issue myself, so i might be wrong
we need some pro tip help
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
tesme33 said:
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
Click to expand...
Click to collapse
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cwm and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature.
Edit:
All of the above may not be like that nowadays, and this is somewhat speculation since there hasn't(?) been an official statement from cm about app2sd support. Though emulated sdcard may require something different.
(edited 19.2.2014)
Moving apps to external card.
leripe said:
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cmw and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature. This feature may only need one to repartition the sdcard, but I can't get it to mount as mass storage nor with sdcard reader(it shows "empty" card) in windows(maybe i should try it in linux).
Click to expand...
Click to collapse
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Kingsman1 said:
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Click to expand...
Click to collapse
Well check my thread on my signature and the requests section in the 1st post for more info on about app2sd.
Resolve the issue
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
dlightx said:
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
Click to expand...
Click to collapse
Can I check with you what bug this fixes?
Ability to use app2sd?
I use FolderMount and works real well. No need to partitioning sd card.
I've gotten to getting Link2SD working on the GT-I9195 with nightly 20140402 KitKat.
Based loosely on [Tutorial/HOWTO] Convert Your External SD Card from FAT/exFAT to EXT4! (3 ways!)
1. Clear everything out of your external SD card. We're gonna be formatting it so you'll have to backup your data.
2. Boot up into recovery and have a working ADB environment setup on your computer
3. adb shell (Do NOT mount your /storage/sdcard1)
5. Check that you have fdisk and mke2fs installed (Type fdisk --help and mke2fs --help ensure they don't throw up errors)
6. fdisk /dev/block/mmcblk1
7. Type o and Enter to destroy the partition table
8. Type n to create a new partition. Make sure its Primary (p). Select first partition and choose how many cylinders you want to allocate to it.
9. Type n to create your second partition. Again, make sure its Primary (p). Leave cylinder allocation blank to use remainder of space by default.
10. Verify partition layout by typing p to show partition layout.
11. Exit fdisk and save changes by typing w
12. mke2fs -t ext4 /dev/block/mmcblk1p1
13. mke2fs -t ext4 /dev/block/mmcblk1p2
14. reboot
15. Once CM has booted up, check if your external storage partition 1 has been mounted. It should be mounted at /mnt/media_rw/sdcard1
16. Try creating a folder in /mnt/media_rw/sdcard1 and /storage/sdcard1 to test if your read/write permissions are correct.
17. Install DiskInfo from playstore to check if your second partition is visible
18. Once done, install Link2SD and select ext4 when prompted to ask what kind of filesystem your 2nd partition is.
19. Reboot after Link2SD installs scripts.
20. Voila!
Let me know if there are any issues. I modified several files while doing this so not sure if any of them affected.
Should #16 not work, try:
1. Going to /system/etc/permissions/platform.xml and adding media_rw group to the element that only has sdcard_r group in it.
2. Typing mount in Terminal Emulator (su) or adb shell and see whether your partitions are mounted. If you're not sure, post the output out here.
Final mount output (filtered with mmcblk1 or sdcard stuff):
Code:
/dev/block/mmcblk1p2 /data/sdext2 ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_i
d=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:33 /mnt/media_rw/sdcard1 ext4 rw,dirsync,context=u:object_r:
sdcard_external:s0,nosuid,nodev,noexec,noatime,data=ordered 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1
023,default_permissions,allow_other 0 0
EDIT 2: *** IMPORTANT!! Do NOT select External in the App2SD option in Link2SD. Otherwise you will not be able to install any apps from the Play Store (Insufficient Storage error)
I use GL to SD on my Slimrom: https://play.google.com/store/apps/details?id=com.slf.ListglApp
It may not have fancy UI like FolderMount or Link2SD, and it slight complex to use. But it works on per app basis, without re-partition too.
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Oijkn said:
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Click to expand...
Click to collapse
If it non system apps, you can use GL to SD as I provide the link already above. It works.
TNCS said:
If it non system apps, you can use GL to SD as I provide the link already above. It works.
Click to expand...
Click to collapse
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Oijkn said:
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Click to expand...
Click to collapse
Nope, sorry. I tried this tool and it work so never bother to look for another one.
If GL to SD doesn't have the app you want to move, you can manually link the app and the relevant folder at GL to SD settings. After you linked them, at the main page of apps you can tell it to start to move.
This thread shows up on google for me when trying to figure out why minitool partition wizard doesn't detect my phone at all. The guide I'm following says USB-SDcard reader is required but is that really true?? Surely there is a way to mount the SDcard at a low enough level to partition it without addition hardware?? Even if I have to mount it using TWRP recovery or something I would think it's possible. Anyone know?