[Q] how to transfer apps to new 8gb class 4 kingston sdcard - Desire Q&A, Help & Troubleshooting

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

Related

[Q] Freeing Up Internal Memory

I keep getting a message about storage space running low.
I have installed Apps2SD so all my apps that can be moved have been moved.
My contacts folder seems large at 18Mb
QuickOffice is 5Mb but I never use it.
Am I missiing something here?
Is there a way to free up memory easily?
If you have an a2sd+ script (most custom roms have), the apk files of your apps will be moved to the ext2/3/4 partition on the sd card, but there still remains the dalvik cache on the /data partition which uses up memory. There are scripts to move this dalvik cache to the sd card as well, but they require you have a class 4 or faster card. The best thing to do is search the thread of your rom, since it's probably been asked about it there.
If you're using google's a2sd (because you're not using a custom rom with such a script), not all apps can be moved to the sd card, since the developer has to specifically state the app can be moved, and for some reason, a lot of people don't do that. You can download a program called SDMove or App2sd from the market which will tell you which apps can be moved (and give you an option to move them), but there isn't very much you can do about getting more space. That is, if you don't want to get a new rom or install a a2sd+ script.
Cheers for the feedback.
Iam not sure if LeeDroid has the APPS2SD in the rom, I have Rom Manager and I THINK i now have ext2 and swap file but yet to confirm that with the new sd card as I am unable to copy the files from the old to the new, (thats another story)
So are you saying that APPS2SD on the ROM is better than APPS2SD from the market? I liked the market one so much I actually paid for to pro version.
Some of the apps will not move which is annoying, esp if what you say is that its all down to the lazy developers.
Can I reduce the phone book size? Text Messages etc to alleviate this issue?
I have no qualms in installing a new ROM if that will give me more space.
As many Desire users, I had the same issue.
Oxygen ROM is the best thing that had happened to Desire.
First do S-OFF, put Bravo Oxygen HBOOT patch (see alpharev.nl for more info), and then flash Oxygen ROM. And you will never have to worry about space again. I don't even move my apps to SD anymore, since there is no need.
Porcupine00 said:
As many Desire users, I had the same issue.
Oxygen ROM is the best thing that had happened to Desire.
First do S-OFF, put Bravo Oxygen HBOOT patch (see alpharev.nl for more info), and then flash Oxygen ROM. And you will never have to worry about space again. I don't even move my apps to SD anymore, since there is no need.
Click to expand...
Click to collapse
I said that around in other posts and other members were moaning at me because "not everyone can do that". Anyway, yes flashing a hboot will give you more data to work with (depending on which template you get).
Using A2SD(+) is a workaround if you don't want to S-Off you Desire. However, A2SD(+) still uses /data partition unless you get a Data2SD script or at least a script to move the Dalvik cache. I think a lot of people fail to realise this.
Flashing Hboots? Sounds like Gary Glitters footwear!
What is S-OFF?
So is A2SD (+), different from A2SD?
Does this require a degree in Linux like so many of the other things?
If your contacts app is too large ...
http://androidforums.com/htc-desire/127440-internal-memory-again.html
for me, data2sd was the only solution to consider when it comes to internal memory issues
uktotty said:
Flashing Hboots? Sounds like Gary Glitters footwear!
What is S-OFF?
So is A2SD (+), different from A2SD?
Does this require a degree in Linux like so many of the other things?
Click to expand...
Click to collapse
Firstly, HBOOT is the partition table in your phone. By default it has 147 MB for the /data partition (that's where your apps go) and 250 MB for the /system (where your ROM is installed).
Secondly, HTC implemented a security flag in our phones that protect this HBOOT from being changed and denies writing to /system when using the phone.
Now, this security flag can be disabled (S-OFF = security off), which will allow you to change the layout of your partition table. What @Porcupine00 was saying is a lot of people do the procedure to S-OFF their devices, flash the Oxygen HBOOT (which gives 300+ MB of /data storage), because Oxygen ROM is very small (about 90 MB) and doesn't need that much space in /system, so this space is made available in /data. However, messing with partitions is quite dangerous and you should read all the guides carefully before trying, because it can really brick your device. Must I add is voids you warranty?!
Now, to clear up the confusion about a2sd. There is the a2sd system implemented by Google and available in FroYo and higher which can only move the apps meant to be moved. There is the app on the market which is called App 2 SD which shows the apps installed on your phone that can use this system. And there are a2sd+ scripts which move all apps to the ext partition on your sd card.
Data2SD is another kind of script for moving apps to ext partition, along with their other data, but it requires a fast sd card (I think a class-6 or higher is recommended, whereas my stock Desire sd card is a class-2).
I advice you read through the Desire Android Development forum and find out about all these methods and make sure you know what you are doing before flashing.
Good luck!
thank you sir, very informative and non patronising
I still need to work out how to get the date from my old 4gb to my new 16Gb card as everyhing I have tried has failed, then I can get some larger partitions and the ext's
What is the problem you are having? When I rooted my phone, I swapped my 4-GB with an 8-GB one and the only thing I did is just copy all the contents from the former to the latter. I had no issues with apps, media files whatsoever.
However, I only had a FAT partition back then, so if you are talking about moving the apk's on the ext partition, you'll need to use a Linux operating system (because Windows doesn't read ext, and also doesn't mount anything else than the first partition on an external drive, which happenes to be the FAT one in our case). There are live cd's from several linux distributions that are available for free download, which you can use to copy the content from your ext partition to your pc, then back to the new card.
The problem is as follows.
Titanium back up all apps and data to 4gb card
Copy contents to windows desktop, folder properties 3.6gb
Change card to 16gb in phone, connect etc
Copy contents of 3.6gb file to new card
800mb on new card.
It seems to be copying FOLDERS but not the contents of those folders.
I am using standard USB mount
I have tried Droid Explorer
I also have ABD installed and stuff but it confuses me!
I have also got various versions of linux and a VM but not tried any of that as 20 years of windows experience probably wont help me
Only thing missing is a card reader currently so doing all of this via usb cable with card in phone
Maybe it has something to do with your Windows system? Could you try on another computer? Also, have you tried reformatting the new card before copying the files?
good point, dont have any other pcs to try here and works laptop is pgp encrypted.
I have used partionmanager to format the car, partition the card etc and it shows healthy partitions.
Just cant seem to copy and paste the files!
OK so I copy 3.6 gb from android to desktop, do the reverse and droid explorer says
"Copying 439Mb"
Can you try to open up your card using Windows Explorer and look at what size it shows? I'm thinking it's not actually the '439 MB' that's wrong, but the '3.6 GB'. I remember my Sense nandroid backup had about 400 MB as well, and also, how could you possibly fit 3.6 GB of apps in a Desire's 147-MB /data partition?
After you copy, try looking at some random files and cross-check the size it says on the phone (use Astro or some other fille manager), then chech the size on the card shown on your PC, and the size of the copied file. Maybe there is no copying error at all, but just a size-showing one, so maybe you've nothing to worry about
Sorry not the data partion the MicroSD Card
I am moving from a 4gb card which will hold around 4gb to a 16gb card which will allow me ext, swap parttions etc
Sorry, my bad, I meant 'Titanium Backup' and not 'nandroid backup'. I was saying the Titanium backup alone is fine if it's about 400 MB. So you can't copy your files like music, wallpapers and stuff? I wonder where the problem is
Trying something now, which is bot into recovery mode and mount the USB, copy to the new card via that method, no error messages yet
Guys
Thanks for the feedback
We have a result!!
Copy files from old CD Card to PC (3.6Gb)
Change cards in phone
reboot into recovery and mount usb
Copy files back (3.6Gb)
Woo Hoo
Phone runs quicker now, will see what we can do about internal memory after new rom

[Q] A2SD+ and low internal memory

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.

[Q] Moving apps to SD card android 4.3->

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?

[Q] [HELP] SM 113 Unable to mount external partition as sd-ext

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

Disable automount of 2nd and 3rd partitions in LineageOS 14.1

I've just installed lineageOS to my Huawei Y6 (https://forum.xda-developers.com/huawei-y6/development/rom-huawei-y6-t3668939/page50) and have a problem. I've got 32GB SD card with four partitions:
EXT4: HUAWEI-SD (pictures, music, etc.)
EXT4: HUAWEI-APP (for applications moved using Apps2SD Pro)
EXT4: HUAWEI-LINUX (Ubuntu installed via Linux deploy)
SWAP: HUAWEI-SWAP (2GB swap)
So problem is that all ext4 partitions is automounted. Well, HUAWEI-APP is mounted by Apps2SD, before system tries to touch it, so it is just shown as `corrupted`. But HUAWEI-LINUX is always mounted during boot and Android folder is created, so before starting linux deploy I always have to eject (unmount) it via settings.
Is there a way to disable mounting this partition by OS?
vyo1993 said:
I've just installed lineageOS to my Huawei Y6 (https://forum.xda-developers.com/huawei-y6/development/rom-huawei-y6-t3668939/page50) and have a problem. I've got 32GB SD card with four partitions:
EXT4: HUAWEI-SD (pictures, music, etc.)
EXT4: HUAWEI-APP (for applications moved using Apps2SD Pro)
EXT4: HUAWEI-LINUX (Ubuntu installed via Linux deploy)
SWAP: HUAWEI-SWAP (2GB swap)
So problem is that all ext4 partitions is automounted. Well, HUAWEI-APP is mounted by Apps2SD, before system tries to touch it, so it is just shown as `corrupted`. But HUAWEI-LINUX is always mounted during boot and Android folder is created, so before starting linux deploy I always have to eject (unmount) it via settings.
Is there a way to disable mounting this partition by OS?
Click to expand...
Click to collapse
Have you found any solution to this? I have app2sd and need the second partition for apps and data. But the partition is automatically mounted by system on boot. Hence apps2sd can't use it. So i have to manually eject that partition everytime just so apps2sd can use it. I'm using lineageos 16. This was not a problem on lineage os 15.1
greatbal said:
Have you found any solution to this? I have app2sd and need the second partition for apps and data. But the partition is automatically mounted by system on boot. Hence apps2sd can't use it. So i have to manually eject that partition everytime just so apps2sd can use it. I'm using lineageos 16. This was not a problem on lineage os 15.1
Click to expand...
Click to collapse
Sadly, no . After updating my system I can't use Apps2SD as well.
However, here's what you can do:
Back up all data from sdcard to PC. Otherwise, it will be lost!
Erase sdcard (recreate partition table with GParted or something like that)
Insert it into android, format as adoptable
Format it there using `adb shell` (terminal application should work as well) with
Code:
> sm list-disks adoptable # Will print ID of your sdcard as disk:XXX,XX
> adb shell sm partition disk:XXX,XX mixed XX # Use sdcard ID from previous step and percent of storage you want to be for free-use (unencrypted)
Shutdown your phone
Optional: change first partition type to something else (I use f2fs because it's good for sdcards and I have no trouble reading it on my linux PC). Do not touch two other partitions!
Restore data onto sdcard (you did followed step 1, right?)
Go to storage settings and check result. You will probably see "not connected" internal storage (but another one still should be connected), which can be safely "forgotten"
Optional: Install something like AppMgr III which will allow to move apps to sdcard and back
Optional (potentially dangerous!): enable "force allow apps on external" in developer settings. This will make it possible to move any app onto sdcard, but some may became buggy because of that (if you meet such bugs, just move them back)
Hope this helps!
P.S.: it's also possible to mount encrypted storage on linux. If you want to know how, I can post instructions on that as well (I had troubles searching for them and now have simple bash script to mount them).
I get adoptable storage to write apps to the SD card with LOS 16 on a moto X4 XT1900-1, but all the apps that are stored in the sdcard lose their settings on reboot. e.g. VLC looses it's settings, the email app looses the account settings etc.
To make it clear:
1. all apps on adoptable storage work normally until a reboot is done
2. when the phone is rebooted, all apps run normally, but they loose all the settings and permissions,
they act as when they were first installed.
Anyone know a fix for this?
motophone said:
I get adoptable storage to write apps to the SD card with LOS 16 on a moto X4 XT1900-1, but all the apps that are stored in the sdcard lose their settings on reboot. e.g. VLC looses it's settings, the email app looses the account settings etc.
To make it clear:
1. all apps on adoptable storage work normally until a reboot is done
2. when the phone is rebooted, all apps run normally, but they loose all the settings and permissions,
they act as when they were first installed.
Anyone know a fix for this?
Click to expand...
Click to collapse
Just another reason to use SD as removable storage.

Categories

Resources