Need help with ext2 on CM7 - Motorola Droid and Milestone General

Hi,
I successfully prepared my SD-card and rebooted the device. I was told this would take a bit longer for all the apps being moved, but it didn't.
I haven't applied any scripts from OR, because CM7 should perform the ext2 procedure automatically when booting with a prepared SD-card inserted.
But now I lost (or can't find?) my Google apps, keyboards and probably some other stuff. Looks like all the apps stored in internal memory are gone, but where, as I don't know how to get to them if they're on ext2. I don't notice any differences regarding moved apps and an operating ext2, except from that they're missing now... There's also no SD folder in System, which I think should have been created.
I can see all the apps in the installed list, but they have native Android icons, just like some shortcuts on my homescreen. Also widgets from apps installed in (former?) internal memory don't load. It looks like Android just needs to be told where they are now (just like myself ;-)
Any help would be much appreciated!
Thanks,
Gerard
The Netherlands

You should see a folder on your sd card called sd-ext and there should be 3 folders in there. Open up sd-ext/dalvik-cache and your apps should be there.
Sent from my Milestone using XDA Premium App

Reboot, wipe dalvik and cache, reboot and see if your app shows up.
Sent from my MILESTONE using Tapatalk

Nope, there is no "sd-ext" folder on my SD card. There is also no "sd" folder in "system".
In OR I just ran "Scandisk ext2" from the Utility menu and wiped both Dalvik and normal caches. At least that brought back my apps, but I have no idea where they are located now: in internal memory or on ext2...

sileshn said:
Reboot, wipe dalvik and cache, reboot and see if your app shows up.
Sent from my MILESTONE using Tapatalk
Click to expand...
Click to collapse
See my previous post, in Holland we say "2 souls, 1 thought"
So i wiped both caches and indeed got my apps back. I also ran that "Scandisk ext2" command, dunno what that did though.
So what I'm curious about is where I am now: back to how it was, or running ext2?

twixyz said:
See my previous post, in Holland we say "2 souls, 1 thought"
So i wiped both caches and indeed got my apps back. I also ran that "Scandisk ext2" command, dunno what that did though.
So what I'm curious about is where I am now: back to how it was, or running ext2?
Click to expand...
Click to collapse
What is your internal memory? If you have Linux, check your ext partition. It should have app, app-private and dalvik-cache folders with your apps in the app folder.
You should also have those folders inside /sd-ext folder or /system/sd-ext folder, not in the sdcard.
Sent from my MILESTONE using Tapatalk

sileshn said:
What is your internal memory? If you have Linux, check your ext partition. It should have app, app-private and dalvik-cache folders with your apps in the app folder.
You should also have those folders inside /sd-ext folder or /system/sd-ext folder, not in the sdcard.
Sent from my MILESTONE using Tapatalk
Click to expand...
Click to collapse
My internal memory is approximately 17 MB up now. Is that a reasonable amount?
I don't have Linux, but Ext2explore shows this:
{
"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"
}
I can find no /sd-ext folder or /system/sd-ext folders.

twixyz said:
My internal memory is approximately 17 MB up now. Is that a reasonable amount?
I don't have Linux, but Ext2explore shows this:
I can find no /sd-ext folder or /system/sd-ext folders.
Click to expand...
Click to collapse
Yup. That's it. I forgot that in the latest CM7, kabaldan moved the dalvik-cache back to the data partition. So yes, your apps2ext is working.
But, you should have a sd-ext in your root folder for sure.

sileshn said:
Yup. That's it. I forgot that in the latest CM7, kabaldan moved the dalvik-cache back to the data partition. So yes, your apps2ext is working.
Click to expand...
Click to collapse
So I don't need those /system/sd-ext folders? If not and it's all okay, great!
I have a few other questions though. Will everything I install from the Market from now on be installed at ext2, even if it's apps2sd enabled? Since apps already installed on my SD-card through apps2sd have not been moved to ext2, should I leave it this way or are there any benefits moving them too? If so, how? Is it better to install apps2sd enabled apps on SD or to ext2? Is there a way to control or handle this?
I realise this is a lot to ask, but I haven't been able to find the answers yet. Links are welcome too!
Thanks again,
Gerard

Stop the presses!
Found the sd-ext folder!
Somehow I looked at the wrong level or so, sorry!
So glad it works now!
Just eager to know how to use it the best way, as my previous post shows...

twixyz said:
Stop the presses!
Found the sd-ext folder!
Looked one level too high, sorry!
So glad it works now!
Just eager to know how to use it the best way, as my previous post shows...
Click to expand...
Click to collapse
Any app you install now goes into the ext folder automatically. When you delete it, it removes itself from the ext partition.
Though the app is stored on the ext partition, some internal space will be used. But you can install a lot more apps.
Regarding apps already moved using apps2sd, just move them back to the internal storage and reboot your phone. They will move to the ext folder on reboot.
Sent from my MILESTONE using Tapatalk

This really works great. I've moved all my apps to ext2 and everything runs smoothly.
Indeed my internal memory is dropping however, because of the apps data, which is stored in the "/data/data" folder, so I've read.
I've also read this data could be moved to SD also, but I'm not considering that yet. But what to do when internal memory is running out? What's the limit for stable, smooth operarion? I have about 50 MB free now.
Thanks again,
Gerard

i am having very similar problems. using apps2ext for the first time. (latest miui by lalit)
from my understanding apps get stored on the ext partition on the sdcard.
i moved some apps - that supported it - and everything was fine (i thought)
then i wiped my fat32 (i moved all of the files to my pc) -- BUT now my phone isnt able to find the apps (on the ext partition?!) anymore...
what am i missing here?
EDIT---
i just discovered the ".android_secure" folder and moved it back to my sdcard. my apps reappeared.
so there are 3 locations i can store my apps?
1) internal
2) SD: ext
3) SD: fat
how do i tell my phone to store everything on ext? i am able to move apps from within phone-application-settings to sd-card (gets stored on fat) or move them with titanium backup (also just internal and sdcard)
when i check titanium backup it lists 3 storage locations 1) internal 2) sdcard 3) sdcard (a2sd)
miui sd-card setting (A2SD+) on the other hand says "this device does not support A2SD+)
sorry for all this confusing stuff up there. i am trying to understand this

app planet is not working please help

abdussamad said:
app planet is not working please help
Click to expand...
Click to collapse
I don't think this is the right place to talk about this.

phlppk said:
i am having very similar problems. using apps2ext for the first time.
...
Click to expand...
Click to collapse
app2ext (second ext2/3/4 partition on the SD card) is different to the native Froyo app2sd (a virtual filesystem base o files stored in .android_secure folder).
The app2ext requres a script to be executed as the Android satrts (e.g. placed into init.d) and its makes all the stuff 'invisible' for the system, it simply moves all the apps from internal storage into the ext partition and links the partition to the filesystem. Once you have it you do not need to manually move every single apps to sd.

I've created an ext2 partition and CM7 move my apps to it. But when I continue moving my apps from sd to internal (or "not SD"), my internal storage go down.
I restarted the phone but it's 18MB free yet.
Must I move some apps to SD again?
Another question: what about davilk cache? When I did this on stock rom, the script I've used move davilk-cache to ext2 too.
Thanks

Dalvik cache is not moved to ext partition in cm7.
Sent from my GT-I9100 using Tapatalk

Maybe I've writen bad my previous post.
When I move apps from SD to internal (because I want them on ext2 partition) my internal storage increase (the free space go down). So, this app2ext doesn't give me any advantage over app2sd from android.
There is a solution or workaround for this?

parads said:
Maybe I've writen bad my previous post.
When I move apps from SD to internal (because I want them on ext2 partition) my internal storage increase (the free space go down). So, this app2ext doesn't give me any advantage over app2sd from android.
There is a solution or workaround for this?
Click to expand...
Click to collapse
Did you reboot after doing this?

Related

[Link2SD][SWAP] How to prep your SD card for it for Nameless ROM

What does this do?
make 3 partitions on SDCARD
-FAT32 > Primary Storage
-EXT4 > Secondary Storage Internal memory dummy
-Linux Swap > Extra RAM
Do I need to Backup my SDCARD contents?
Not needed, but if you want you can, it doesn't erase your sdcard data unless you did something wrong.
1/ Boot up your Windows machine
2/ Unmount your sdcard card on phone eject it and Insert your Micro SD card into a card reader and attach it to the computer
3/ Install Mini Partition Wizard Home Edition
4/ Run Partition Wizard Home Edition.
5/ Look for your SD card along the bottom and identify your FAT32 Partition
6/ Right click on it and choose "Move/Resize Partition"
7/ Use the down arrow in the middle field "Partition Size:" to change the value and consequently the value of the "Free Space After: field as well until you have created around 2307 MB of free space. *Warning - Do not create free space before the first primary FAT32 partition!!! If you do discard changes and start over!
8/ Click "OK"
9/ Identify the new unallocated space on the drive map.
10/ Right click on it and choose "Create"
11/ When you get the warning about the partition not being able to be used in Windows click "Yes" to continue
12/ Choose Ext4 for partition type. Primary, Resize to 2000 MB
13/Right click on empty 300 MB left Create Linux swap partition, Primary
14/ Make sure it is all primary not a logical partition
15/ Name it if you want.
16/ Click "OK" to continue
17/ Click the BIG "Apply" button in the top left of the window
18/ Choose "Yes" to continue from the pop up
19/ Let it do it's work.
Congratulations! Step 1 Complete!
Now to step 2:
1/ Eject and place your SD card back into your phone
2/ Install Link2SD from the Android Market
3/ Run it
4/ On first run it will ask you the type of partition your second SD card partition is. Choose Ext4 depending on which you made it.
5/ Follow the directions to reboot your phone
Congratulations! Link2SD is now working on your phone!
1.choose the funnel and choose User
2.choose multi select and select apps to to be moved to sd-ext and choose actions then create link choose all 3 checkbox
At this point I recommend you Menu click and go to Settings and choose "Autolink" to automatically link programs (.APK), dalvik cache files (.DEX) and library files (libs) to your SD Card 2'nd partition when a new program is installed.
Now for some strategy!
You say, "I've got all this external space! Why bother putting any programs on the internal space?"
Well...SPEED MAN! SPEED!
I keep Launchers, Widgets, Background processes like Titanium Backup, etc, on the internal as space allows to allow for speed when booting. The internal memory is faster than your SD card and keeping these programs here helps a lot in speeding up your boot time. This is an option with Link2SD that you DON'T have with Data2SD or Data2Whatever!
You can also keep commonly accessed programs like Tapatalk for example, on this internal fast memory.
You can also mass move by multi selecting, several programs to and from either internal, SD card, or SD card second partition. Ideal for your initial move to your new second partition of your apps pre-installed prior to link2sd.
People wanted instructions for a third swap download 81swap.rar in attachment extract 81swap script and push to /system/etc/init.d/ folder, during boot it would mount sdcard swap.
in cmd.
adb remount
adb push 81swap /system/etc/init.d/
adb shell chmod 777 /system/ect/init.d/81swap
reboot phone
to check if it mounted in terminal emulator type
su
free
see swap if it changed size to 400.
WARNING: From now on your SDCARD should not be Unmounted or ejected when phone is on.
Only eject SDCARD if phone is off.
Otherwise some problems might occur.
AUTHOR: d33ps1x
EDITED BY: me
FAQ:
Why when I created linked apps why does my Internal Memory Storage still low
A: After linking your apps to EXT4, reboot phone to see if Internal Storage increased.
Why my internal memory is still 700+ mb
A: link2sd ext4 partition is like a drawer so instead of 1 drawer you have 2, transfering stuff to your second drawer.
How can I check memory info?
A: In link2sd app hold recent apps button then choose storage info.
How does link2sd work?
It creates a link shortcut like in windows in internal memory and transfer the main apps files in sd-ext.
Can I connect my phone to usb storage mode?
Sure you can sd-ext partition won't be unmounted only your fat32 partition will be so computer will read contents of sdcard.
Stoshke says:
If you connect HTC desire C in USB mode on computer running linux OS, you can mount ext partition on your PC using Device Notifier, but this way you will dismount it from the phone. So be careful if you have automount enabled.
Questions
Hi einstein.frat ,are you running all this on your phone atm?
I ask because I've been waiting for my new sd card to arrive(it has) and have been looking and trialling this Mod over the last few days or so and I've met a few problems and irregularities .
I was going to PM you originally but I thought asking you in the thread might actually prove useful to others as well as myself .
I've read 3 other threads on this subject , the first http://forum.xda-developers.com/showthread.php?t=1432459 is referred to you in this thread.
The second http://forum.xda-developers.com/showthread.php?t=919326 is the thread about the app we are using to link to our ext partitions.
Now first question ;
Are the partition sizes you quote , the sizes you used as to me (and reading the other thread) they seem small . I wonder if you have typed KB instead of MB ?
Second question is about the swap file , the thread I referenced is this one http://forum.xda-developers.com/showthread.php?t=1659231
The Author basically goes through all the same procedures as everyone else but he uses an app instead of your script to manage the swapfile .
Now I agree with your thoughts here(i assume you wrote the script for this reason) that your script is a more elegant way of implementing the swap file at boot up .
But I think your line ;
adb shell chmod 777 /system/ect/init.d/81swap
should actually read;
adb shell chmod 777/system/etc/init.d/81swap
Just 2 very small differences
Anyway I have done it all and got it working on my new sd card so thankyou very much .:good:
Now my last tip? I guess I could call it that , is to do with checking if swap is working . Going back to this thread http://forum.xda-developers.com/showthread.php?t=1659231
The Author points out that if you run 'free' in terminal emulator if you have failed it will look like this (swap is all zeros)
{
"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"
}
and if it is successful it will look like this
Hopefully I havn't annoyed you with this post and hopefully it will help others get this Mod going .
All the best ,
Richard
SD card
Guys, what do you think, when doing this, is there any real phone performance difference between Class4 and Class10 SD cards, other then usb transfer speed?
neoyoli said:
Guys, what do you think, when doing this, is there any real phone performance difference between Class4 and Class10 SD cards, other then usb transfer speed?
Click to expand...
Click to collapse
I only got mine yesterday (a UHS-1 class 10) to move up from a class 4 , but it's way too soon to say whether there is a noticeable improvement (especially as I've implemented this mod)
.http://forum.xda-developers.com/showthread.php?t=1947560 This is a good thread to read especially where he finds a good class 4 is better than a poor class 10 . Have a read it's worth the time :good:
fixed kb to mb
Your chmod is wrong that is directory 777/ which doesnt exists right way is 777(space)/ chmod is attrib in windows like making it read only, hidden or write protect. 777 means read, write, executable to the file in all groups. If this it not set it won't run.
2000 = 2gb
300 = 300mb
Swap script is to enable linux swap partition on sdcard, nothing else.
einstein.frat said:
fixed kb to mb
Your chmod is wrong that is directory 777/ which doesnt exists right way is 777(space)/ chmod is attrib in windows like making it read only, hidden or write protect. 777 means read, write, executable to the file in all groups. If this it not set it won't run.
2000 = 2gb
300 = 300mb
Swap script is to enable linux swap partition on sdcard, nothing else.
Click to expand...
Click to collapse
Yup I realise what the script is for and my taking the space out of 777 / explains why the script hasn't stuck ( I think?)Just realised I erased the script myself last night as I decided to do a fresh install of your Rom and added a fresh init.d folder when I was doing all the bits with the Aroma installer after ...Doh
Hi einstein., thanks for your mod and development. Could this mod (Link2SD and swap) running on other devices with init.d support (I would like to test it with me)? If so, I would your permission I use your guide as a template for mine get in the S3 mini section, or not? Thanks for your answer and I wish you all the best for the new year, more!
Regards, leather.face
Sure you can, but swap partition on ur s3 might be diff mmblck so script might not work. You can find it if ur sdcard is mmblk03 swap will be 05 smething like that on 3rd place, modify script
Sent from my HTC Desire C using xda premium
einstein.frat said:
Sure you can, but swap partition on ur s3 might be diff mmblck so script might not work. You can find it if ur sdcard is mmblk03 swap will be 05 smething like that on 3rd place, modify script
Sent from my HTC Desire C using xda premium
Click to expand...
Click to collapse
Okay, thanks! I test first Link2SD and it should work then swap. Should questions arise then I write ...
Regards
sorry for my double post but ...
Hi einstein., Link2SD works very good and fine but I have problems with the swap script. My sdcard is mmcblk0 and I have mmcblk1, these are split on again in mmcblk1p1, mmcblk1p2, mmcblk1p3. What is the partition for swap? I've tried several but none worked. The value in the terminal emulator is 0 for swap. At the moment I do not go on, unfortunately ... Or can I see in a file where is the partition for swap in my device? Or do I need to swap a unsecured boot.img with swap support? I have enabled the init.d for stock rom and secured kernel but all scripts in the init.d and Link2SD works very good and fine. Thanks for your help.
Regards
Maybe your kernel doesn't support swap if you tried all 3 partitions.
Desire c kernel config have it enabled by default.
Will add this to index thread soon.
einstein.frat said:
Maybe your kernel doesn't support swap if you tried all 3 partitions.
Desire c kernel config have it enabled by default.
Click to expand...
Click to collapse
Hi einstein., thanks for your answer. I'll try again now. So one of these mmcblk1p1, mmcblk1p2, mmcblk1p3 partitions be destined for swap, I understand this correctly? Thanks for your mods and roms. Link2SD works perfectly. Can something happen when I test a another partition in the script specified and this is not be used for swap? Thanks for your help but sorry for my english ...
Regards leather.face
Edit:
@einstein., thanks for your help but my question has been settled. The stock kernel in the S3 mini supports no swap. I tested all the partitions but not working. Link2SD works perfectly. Thanks einstein. and have a nice evening.
Regards
Just in case anyone is thinking of adding this mod to their desire c my opinion is that It's worth it.
Performance when switching between apps is much better. I've tried most of the tweaks I can find, and this single change has made the most difference.
Boot time is significantly longer and I suppose you run the risk of wearing out your SD card sooner but its still worth it.
Thanks for the detailed instructions.
When using the latest version of nameless the swap will setup automatically ( you still need to create the partitions before flashing the Rom)
Sent from my HTC Desire C using Tapatalk 2
einstein, if I delete the symlink of an app, it goes back to the internal storage, right?
and an other thing: after doing the swap, my recent apps button goes straight into 2nd option mode, as if I held it longer, so no recent apps menu comes up. Do you have a tip how to fix it?
Same Issue
neoyoli said:
einstein, if I delete the symlink of an app, it goes back to the internal storage, right?
and an other thing: after doing the swap, my recent apps button goes straight into 2nd option mode, as if I held it longer, so no recent apps menu comes up. Do you have a tip how to fix it?
Click to expand...
Click to collapse
I get the same issue with the recent apps button . I've been reading through the original thread for the app but I've had no luck finding an answer.
And yes neoyoli if you delete the symlink the app goes back to internal
Wasn't the recent apps button changed/remapped to long pressing the home button in nameless v7.1.1 ?
Sent from my HTC Desire C using xda app-developers app
nikhil16242 said:
Wasn't the recent apps button changed/remapped to long pressing the home button in nameless v7.1.1 ?
Sent from my HTC Desire C using xda app-developers app
Click to expand...
Click to collapse
Does it work for you ?
Doesn't for me :silly:
LOool, silly us
whoamigriffiths, are you sure if you press the home button longer, the recent apps menu doesn't come up?

[Q] [URGENT]Link2SD or App2SD(APP Migr), SD card

Alright, so I've rooted and flashed CWM but when doing backups in
Nandroid and Titanium both stored in on my internal memory, while I want it on my SD card.
SD card: 32GB, FAT32(one partition), tried to make two FAT32 partitions but the second was not detected by both Windows pc and phone.
Phone sees my internal storage as "sdcard0" while it sees my sd card as "extSDCard"
1)Should I use App2SD(they changed it's name to App MIGR) or Link2SD to move apps to SD?
I've got most things covered for Link2SD but I still don't understand the init.d support; http://forum.xda-developers.com/showthread.php?t=2087497
2)While the Nandroid backup is pretty much organised, Titanium backup has like dozens of files, which am I supposed to choose if I wanted to restore my Titanium backup ?( I did the Backup new user+system apps & newer versions batch only.)(Nandroid didn't even detect my SD card while backing up.)
In cwm choose "backup and restore" / "backup to external sdcard" and your backups will be put in clockworkmod-folder on external sd.
For titanium backup you have to set location for backups to be on your external.
Have a look in titanium settings to change the default path.
I use derectorybind to bind the whole android folder to external.
Works great!
{
"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"
}
Both faria and benzrom (including drom) have init.d support. Just follow the guide to setup ext4 partition and Linux swap partition and link2sd should run fine.
Sent from the dark side on my GT-I8190
iKlutz said:
Both faria and benzrom (including drom) have init.d support. Just follow the guide to setup ext4 partition and Linux swap partition and link2sd should run fine.
Sent from the dark side on my GT-I8190
Click to expand...
Click to collapse
Init.d support can be done on every rom.
Universal init.d
tys0n said:
In cwm choose "backup and restore" / "backup to external sdcard" and your backups will be put in clockworkmod-folder on external sd.
For titanium backup you have to set location for backups to be on your external.
Have a look in titanium settings to change the default path.
I use derectorybind to bind the whole android folder to external.
Works great!
Click to expand...
Click to collapse
Got both external options to work for now.
Did u mean u bind the whole RAM or just the internal storage. Does it warn you when some apps i.e. widgets can't be moved(before it's broken) or doesn't it have that limit like Link2SD ? (Am still hestitating to use it;
-App2SD has this note:"Move apps function may not work on your devcie as manufacture removes the function of moving apps to SD from Android system" don't know whether we have that.
-Link2SD has sort of difficult requirements before install.
-DirectoryBind; Because many issues where posted by members.
Mystique03 said:
Got both external options to work for now.
Did u mean u bind the whole RAM or just the internal storage. Does it warn you when some apps i.e. widgets can't be moved(before it's broken) or doesn't it have that limit like Link2SD ? (Am still hestitating to use it;
-App2SD has this note:"Move apps function may not work on your devcie as manufacture removes the function of moving apps to SD from Android system" don't know whether we have that.
-Link2SD has sort of difficult requirements before install.
-DirectoryBind; Because many issues where posted by members.
Click to expand...
Click to collapse
Directorybind has nothing to do with ram. You just symlink appdata from "/sdcard/android" to your external to get more internal space
Never had any problems with it and im using it on three different devices.
tys0n said:
Directorybind has nothing to do with ram. You just symlink appdata from "/sdcard/android" to your external to get more internal space
Never had any problems with it and im using it on three different devices.
Click to expand...
Click to collapse
Got confused; I meant system ROM, since I just saw ~260MB left, but I suppose I made a mistake cause the system saves data to my internal storage too, am I right... o.0 ?
What are the differences between DirectoryBind, App MGR and Link2SD anyways?
iKlutz said:
Both faria and benzrom (including drom) have init.d support. Just follow the guide to setup ext4 partition and Linux swap partition and link2sd should run fine.
Sent from the dark side on my GT-I8190
Click to expand...
Click to collapse
How much space for;
FAT32 partition
Ext4 partition
Swap partition
and why on a 32GB SD card, the values.
The fat32 can be any size, this is your normal sd card data that you can use on your pc (music, videos, pics etc).
Ext4 should be however many apps sizes you want. Like if you have a lot of play store downloaded then set this as big as you think you need but save some space for linux swap.
Linux swap should be minimum 300mb (according to the guide), this is like a bit of extra ram incase your system ram gets full. Mine works fine with 800mb.
If you're looking for an example of what you could set, here :
Fat32 : 15gb
Ext4 : 15gb
Linux swap : 1gb
They could work fine is not very complicated unless I'm wrong. Study the guide well and read other people's posts on there too.
Sent from the dark side on my GT-I8190
---------- Post added at 06:08 PM ---------- Previous post was at 06:07 PM ----------
This is assuming you have 32gb sd card.
Sent from the dark side on my GT-I8190
Mystique03 said:
Got confused; I meant system ROM, since I just saw ~260MB left, but I suppose I made a mistake cause the system saves data to my internal storage too, am I right... o.0 ?
What are the differences between DirectoryBind, App MGR and Link2SD anyways?
How much space for;
FAT32 partition
Ext4 partition
Swap partition
and why on a 32GB SD card, the values.
Click to expand...
Click to collapse
Yes 260mb is left on your system partition.
Installed apps goes to "/data" = internal storage.
Does our phone/kernel support Ext4 ?
http://forum.xda-developers.com/showthread.php?t=2030282
Mystique03 said:
Does our phone/kernel support Ext4 ?
http://forum.xda-developers.com/showthread.php?t=2030282
Click to expand...
Click to collapse
sure it does....if u succeed in installing the Link2Sd the first option is to select ext 2,ext 3 or ext 4 to link it.....this might help on the init.d support...pretty easy actually...
http://forum.xda-developers.com/showthread.php?t=1933849
Mystique03 said:
1)Should I use App2SD(they changed it's name to App MIGR) or Link2SD to move apps to SD?
I've got most things covered for Link2SD but I still don't understand the init.d support; http://forum.xda-developers.com/showthread.php?t=2087497)
Click to expand...
Click to collapse
I paid for Link2SD Pro but I've had some problems with it. When I contact the developer, Bulant, he sometimes responds but other times I get no reply.
Have you tried using both? What do you think of AppMgr? What about Link2SD?

[Q] error: not enough internal memory - but I have 90MB and app is 30MB

Hi Folks,
Executive summary:
I'm trying to install an app that is around 30MB. I have 90MB of internal memory available. It won't download and complains there is not enough memory.
Gory detail:
I have a 32 GB SD card partitioned into 10GB (ext2) and 20 (FAT32) and I use Link2SD to automatically install apps on the ext2 partition. That is working fine.
There is an app in Samsung Apps, issued by the education department, that I need for my son's upcoming spelling bee. The app is around 30MB. When I try to download it, it complains that there is not enough internal memory and that I should delete some files, make space, etc.
Relevant information:
1. There is 90MB available on the internal memory and the app is 30MB.
2. The app should automatically be installed on the SD card anyway, and so not be concerned about the internal memory in the first place.
3. Other, smaller apps from Samsung Apps install without complaint directly onto the SD card.
The figure of 90MB is from Settings > Applications > Manage Applications and also from Link2SD > Settings > Storage Info. Same number.
The phone is rooted and running Gingerbread 2.3.6.
Thanks in advance.
2ways said:
Hi Folks,
Executive summary:
I'm trying to install an app that is around 30MB. I have 90MB of internal memory available. It won't download and complains there is not enough memory.
Gory detail:
I have a 32 GB SD card partitioned into 10GB (ext2) and 20 (FAT32) and I use Link2SD to automatically install apps on the ext2 partition. That is working fine.
There is an app in Samsung Apps, issued by the education department, that I need for my son's upcoming spelling bee. The app is around 30MB. When I try to download it, it complains that there is not enough internal memory and that I should delete some files, make space, etc.
Relevant information:
1. There is 90MB available on the internal memory and the app is 30MB.
2. The app should automatically be installed on the SD card anyway, and so not be concerned about the internal memory in the first place.
3. Other, smaller apps from Samsung Apps install without complaint directly onto the SD card.
The figure of 90MB is from Settings > Applications > Manage Applications and also from Link2SD > Settings > Storage Info. Same number.
The phone is rooted and running Gingerbread 2.3.6.
Thanks in advance.
Click to expand...
Click to collapse
Did you move the dalvik-cache partition?
Dalvik-cache needs space too to install and run the app so clean it and then try to install this app again
Viper The Ripper said:
Did you move the dalvik-cache partition?
Dalvik-cache needs space too to install and run the app so clean it and then try to install this app again
Click to expand...
Click to collapse
Thanks for getting back to me.
In setting up Link2SD, a new dalvik-cache folder was set up on the 2nd partition on the SD card and the default action for all new apps is to put dalvik-cache files there. There is still the old dalvik-cache folder on /data.
I used Link2SD to clear all the cache folders and got another 10 MB free of internal memory.
Running df in a terminal I get:
/data size-180MB, used-76MB, free-104MB
Which should mean that the 'old' dalvik-cache folder has plenty of room to expand and shouldn't be stopping the installation of a single new app. Again, of course, any new apps should have their dalvik-cache files added to the SD partition anyway, rather than the original one.
Is their something I'm not understanding about the dalvik-cache?
Thanks for the help.
2ways said:
Thanks for getting back to me.
In setting up Link2SD, a new dalvik-cache folder was set up on the 2nd partition on the SD card and the default action for all new apps is to put dalvik-cache files there. There is still the old dalvik-cache folder on /data.
I used Link2SD to clear all the cache folders and got another 10 MB free of internal memory.
Running df in a terminal I get:
/data size-180MB, used-76MB, free-104MB
Which should mean that the 'old' dalvik-cache folder has plenty of room to expand and shouldn't be stopping the installation of a single new app. Again, of course, any new apps should have their dalvik-cache files added to the SD partition anyway, rather than the original one.
Is their something I'm not understanding about the dalvik-cache?
Thanks for the help.
Click to expand...
Click to collapse
You're right, smply I thought that your dalvik-cache partition was full and it was the reason you couldn't install anything, but it's weird :S :S :S
For this and many other reasons I don't like to use link2sd, I prefer int2ext+ script; safe, simple, fast, doesn't touch the dalvik-cache partition and keep /data in /data place
AFAIK Link2sd don't move "apps" strictly, It link apps to sd-ext partition, so a part of apps are installed in /data (internal memory) and the rest (the heaviest) in your sd-ext partition
It could be helpful
http://forum.xda-developers.com/showthread.php?t=2313327&highlight=about+link2sd
BTW you can wait for the replies from fellows better informed on such issues
Thanks for your help.
It's my wife's phone and I'll be away from home now until next week, so can't pursue the solution any further just now, but I haven't given up!
I'll be back on this thread come Monday, and I'll definitely have a look at int2ext.
Thanks again.
Viper The Ripper said:
You're right, smply I thought that your dalvik-cache partition was full and it was the reason you couldn't install anything, but it's weird :S :S :S
For this and many other reasons I don't like to use link2sd, I prefer int2ext+ script; safe, simple, fast, doesn't touch the dalvik-cache partition and keep /data in /data place
AFAIK Link2sd don't move "apps" strictly, It link apps to sd-ext partition, so a part of apps are installed in /data (internal memory) and the rest (the heaviest) in your sd-ext partition
It could be helpful
http://forum.xda-developers.com/showthread.php?t=2313327&highlight=about+link2sd
BTW you can wait for the replies from fellows better informed on such issues
Click to expand...
Click to collapse
Sorry for the Off-Topic, but my battery drained faster with int2sd.. do you faced the same problems?
Sent from my GT-S5830 using xda app-developers app
Blackbox421 said:
Sorry for the Off-Topic, but my battery drained faster with int2sd.. do you faced the same problems?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
It's normal I suppose due to Read/Write cycles, but it's better (less cycles) than swap partition (reduce your sdcard's life drastically)
Couldn't Install on USB Storage or SD Card
If, while installing your app, its showing "Couldn't Install on USB Storage or SD Card", then I've got just the solution. You could either fix it permanently,temporarily or do a method each time before you install your app.
Permanent Method
1) If your device is running on 2.2.1 or 2.3.6 android version, upgrade it to 3.4.5 ICS or 4.1.1 Jellybean. If the problem is solved then, don't worry, your problem has been permanently fixed.
Temporary Method
1) Backup your SD Card files and format it. Don't worry, it won't affect your partitions. I cannot guarantee you that this thing won't come up again. It may not but there is still a chance.
2) Before installing your apps, Go to Settings>Storage Info>Unmount SD Card. Select this each time before you install anything. Your app will be installed on to your Phone memory. After installing, Go to Settings again and Mount your SD Card. And of course, you could then Link your app to your partition or whatsoever...
I'll recommend Temporary Method 2 as it is would be easy for you if you're a newbie...Hope that this helped...Thanks:highfive:

[Q] storage problem

I got my Sony Xperia ZR and was unable to move any of my apps to SD card. My SD card is currently working fine.THE only problem I am getting is that I the "move to sd card" button is not there. My ZR is updated into 4.4 kitkat and is rooted already. I downloaded the AppMgr III and it still doesn't work.I also tried foldermount and I can transfer apps data to sd card but after then my apps stop working and show an error message.please help if anyone knows how to fix it.
On foldermount make sure to "pin" the apps, the ?pin should be green like the screenshot:
{
"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"
}
Where can I find this menu?
xConjo said:
On foldermount make sure to "pin" the apps, the ?pin should be green like the screenshot:
View attachment 2837512
Click to expand...
Click to collapse
I tried that but my Phone reboot everytime when I make the pin green.do you know why this is happening?
Lemmi1 said:
Where can I find this menu?
Click to expand...
Click to collapse
It's an app called Foldermount, you can use it to "redirect" internal folders to your external SD card so you can have more space: https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=es_419 It requires root
soma cruz said:
I tried that but my Phone reboot everytime when I make the pin green.do you know why this is happening?
Click to expand...
Click to collapse
Make sure you gave the app root access. Try re-installing it from playstore.
It's Not working!tell me can I move apps to sd if I install custom rom in my phone or can I change the instalation direction
soma cruz said:
I tried that but my Phone reboot everytime when I make the pin green.do you know why this is happening?
Click to expand...
Click to collapse
Try the following and then use Foldermount. It will fix the issue. :good:
http://forum.xda-developers.com/xperia-z/orig-development/lb-definitive-root-remount-reboot-fix-t2317432
anthonythangaraj said:
Try the following and then use Foldermount. It will fix the issue. :good:
http://forum.xda-developers.com/xperia-z/orig-development/lb-definitive-root-remount-reboot-fix-t2317432
Click to expand...
Click to collapse
Thanks a lot.my phone's rebooting problem has been fixed but the moving apps to sd card didn't fix Yet.can you please tell me how to do that?
As far as I understand, the Xperia ZR does not support this. Period. Something to do with the fact that it's internal storage is actually an external that's built into the phone and emulated to act as the internal. It might even be a limitation of KitKat, but I don't think that's likely. Your best bet is Link2SD (preferrably pro) for regular apps and games, and FolderMount for apps with obb files like Injustice, Gameloft games, etc. Link2SD can be somewhat confusing though, though it's a little easier if you have some basic experience with Linux or partitioning hard disks. I understand that there are some apps that do what Link2SD does, but automates everything and keeps it simple (I think simple2ext might be an example of this, not sure though). Native app2sd and AppsMgrIII and the like are out of the question, though.
soma cruz said:
Thanks a lot.my phone's rebooting problem has been fixed but the moving apps to sd card didn't fix Yet.can you please tell me how to do that?
Click to expand...
Click to collapse
Check the following tutorial. I am using Folder mount to move obb files to Sd card. Working fine in all stock firmware.
http://forum.xda-developers.com/showthread.php?t=2413093
SirVer said:
As far as I understand, the Xperia ZR does not support this. Period. Something to do with the fact that it's internal storage is actually an external that's built into the phone and emulated to act as the internal. It might even be a limitation of KitKat, but I don't think that's likely. Your best bet is Link2SD (preferrably pro) for regular apps and games, and FolderMount for apps with obb files like Injustice, Gameloft games, etc. Link2SD can be somewhat confusing though, though it's a little easier if you have some basic experience with Linux or partitioning hard disks. I understand that there are some apps that do what Link2SD does, but automates everything and keeps it simple (I think simple2ext might be an example of this, not sure though). Native app2sd and AppsMgrIII and the like are out of the question, though.
Click to expand...
Click to collapse
It does support it, at least for me. Maybe because I have installed the "KitKat SD Card Full Access" module on Xposed? that and foldermount makes a great combo.
Really? Damn. Partitioned my SD card for nothing. I'm not really sure what Xposed is; I guess I'm going to go find a tutorial for it now. Thanks for the heads up.
P.S. Why would you need foldermount if you have native apps2sd? Doesn't the native move obb files?
SirVer said:
Really? Damn. Partitioned my SD card for nothing. I'm not really sure what Xposed is; I guess I'm going to go find a tutorial for it now. Thanks for the heads up.
P.S. Why would you need foldermount if you have native apps2sd? Doesn't the native move obb files?
Click to expand...
Click to collapse
Xposed Framework Is really useful and can be a really great complement in some roms (like the Stock one); It let you change the behavior of the system and apps without touching any APKs; so for example, I use it to force Inmersive Mode on apps that doesn't have this feature (I use it for games mostly, so I play at full screen ) and also I have the module named Kitkat SD Card full acces, that itself doesn't let me move apps to the SD, but if I understand correctly, this one let non-system apps gain acces to the SD Card (sdcard1).
I still can't move apps to the SD with that (from settings, also tried App2SD and link2sd and said that there was a problem because storage is being emulated) That's why I need to use FoulderMount and it's simple. select the source folder to mount (from Emulated/0 or sdcard0) and then thee destination folder (sdcard1/[whateverthenameofthefolderis]/) and that's it. there are tutorials (better explained) on how to use it too.
anthonythangaraj said:
Check the following tutorial. I am using Folder mount to move obb files to Sd card. Working fine in all stock firmware.
http://forum.xda-developers.com/showthread.php?t=2413093
Click to expand...
Click to collapse
Thanks!it worked but I can only move game's obb file not the apps data.however I'm happy to move big game's file files
anthonythangaraj said:
Check the following tutorial. I am using Folder mount to move obb files to Sd card. Working fine in all stock firmware.
http://forum.xda-developers.com/showthread.php?t=2413093
Click to expand...
Click to collapse
Thanks!it worked but I can only move game's obb file not the apps data.however I'm happy to move big game's file files
SirVer said:
As far as I understand, the Xperia ZR does not support this. Period. Something to do with the fact that it's internal storage is actually an external that's built into the phone and emulated to act as the internal. It might even be a limitation of KitKat, but I don't think that's likely. Your best bet is Link2SD (preferrably pro) for regular apps and games, and FolderMount for apps with obb files like Injustice, Gameloft games, etc. Link2SD can be somewhat confusing though, though it's a little easier if you have some basic experience with Linux or partitioning hard disks. I understand that there are some apps that do what Link2SD does, but automates everything and keeps it simple (I think simple2ext might be an example of this, not sure though). Native app2sd and AppsMgrIII and the like are out of the question, though.
Click to expand...
Click to collapse
Link2sd need second partition of the sd card and I don't know how to do it.I tried so many times but it didn't work.
soma cruz said:
Link2sd need second partition of the sd card and I don't know how to do it.I tried so many times but it didn't work.
Click to expand...
Click to collapse
If you're happy using Foldermount, then I suggest you don't bother with Link2SD. Partitioning an SD card is annoying and often messy. Also, it's not very flexible. You can't use any free space in the second partition for storage, which is just wasteful. Don't get me wrong, it's a brilliant app, and a very clever workaround for the problem, but it's not a perfect solution.
---------- Post added at 10:26 AM ---------- Previous post was at 10:18 AM ----------
xConjo said:
Xposed Framework Is really useful and can be a really great complement in some roms (like the Stock one); It let you change the behavior of the system and apps without touching any APKs; so for example, I use it to force Inmersive Mode on apps that doesn't have this feature (I use it for games mostly, so I play at full screen ) and also I have the module named Kitkat SD Card full acces, that itself doesn't let me move apps to the SD, but if I understand correctly, this one let non-system apps gain acces to the SD Card (sdcard1).
I still can't move apps to the SD with that (from settings, also tried App2SD and link2sd and said that there was a problem because storage is being emulated) That's why I need to use FoulderMount and it's simple. select the source folder to mount (from Emulated/0 or sdcard0) and then thee destination folder (sdcard1/[whateverthenameofthefolderis]/) and that's it. there are tutorials (better explained) on how to use it too.
Click to expand...
Click to collapse
Oh, I see. So there's no way to get the native, Android inbuilt app2sd? Bummer.
The Xposed framework looks very interesting, to say the least. After taking a look, I've decided to go back to stock and just use this for my tweaks and such. How long I'll keep it like that, I don't know, but I'm definitely going to try it. Thanks for explaining it to me.

Memory problem when installing apps

hi guys,
i've a little big problem with my atrix HD: i've just installed the cyanogen 11 snapshot M10, after having done all the wipes, format system, data etc, after the reboot everything was fine, and i started reinstalling all the app i need, and there is the problem, apparently i don't have enough free space to download and install app... maybe there's something i don't know about the place where the apps are downloaded or something like that.. i've checked the play store cache, wiped it too but nothin changed... here a screenshot about the apps page, thanks in advance
{
"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"
}
sliker90 said:
hi guys,
i've a little big problem with my atrix HD: i've just installed the cyanogen 11 snapshot M10, after having done all the wipes, format system, data etc, after the reboot everything was fine, and i started reinstalling all the app i need, and there is the problem, apparently i don't have enough free space to download and install app... maybe there's something i don't know about the place where the apps are downloaded or something like that.. i've checked the play store cache, wiped it too but nothin changed... here a screenshot about the apps page, thanks in advance
Click to expand...
Click to collapse
What app is it failing on? What size was it? Were you on a previous version of CM11? Just trying to get some background before diagnosing. I do see that you are down to 500 MB, so if its a big download you very well may be running out of space. The phone has about 5 gigs of free space when on CM11 M10.
sliker90 said:
hi guys,
i've a little big problem with my atrix HD: i've just installed the cyanogen 11 snapshot M10, after having done all the wipes, format system, data etc, after the reboot everything was fine, and i started reinstalling all the app i need, and there is the problem, apparently i don't have enough free space to download and install app... maybe there's something i don't know about the place where the apps are downloaded or something like that.. i've checked the play store cache, wiped it too but nothin changed... here a screenshot about the apps page, thanks in advance
Click to expand...
Click to collapse
for starters, did you make sure that you are seeing the right internal memory for that? remember, there's that sdcard1 and legacy folder that does take up room. advise you look through those, grab up what you need, put it under one folder and delete the other. also, if its saying that on installing apps, go data/app-lib, delete files corresponding to app, and reinstall app.
idontkn1 said:
What app is it failing on? What size was it? Were you on a previous version of CM11? Just trying to get some background before diagnosing. I do see that you are down to 500 MB, so if its a big download you very well may be running out of space. The phone has about 5 gigs of free space when on CM11 M10.
Click to expand...
Click to collapse
the app is google chrome, even if is a bit big, i don't think is big enough to fill all the free memory :/ the atrix was running a CM 11 snapshot M7
palmbeach05 said:
for starters, did you make sure that you are seeing the right internal memory for that? remember, there's that sdcard1 and legacy folder that does take up room. advise you look through those, grab up what you need, put it under one folder and delete the other. also, if its saying that on installing apps, go data/app-lib, delete files corresponding to app, and reinstall app.
Click to expand...
Click to collapse
do you think that's something related to the internal SD card? do the apks are downloaded in the internal sdcard?
sliker90 said:
do you think that's something related to the internal SD card? do the apks are downloaded in the internal sdcard?
Click to expand...
Click to collapse
Can you post a screenshot from the storage page with the internal sd?
do you mean, taken with the file manager?
sliker90 said:
do you think that's something related to the internal SD card? do the apks are downloaded in the internal sdcard?
Click to expand...
Click to collapse
idontkn1 said:
Can you post a screenshot from the storage page with the internal sd?
Click to expand...
Click to collapse
sliker90 said:
do you mean, taken with the file manager?
Click to expand...
Click to collapse
data partition access requires the use of a file manager that gives you root access (like root browser)
The internal storage that I was referring to is something that is usually seen when ppl use philz touch recovery (media1 vs media0 in philz). this does create a situation where you have your storage from a previous version of android and a storage from a newer version of android. for example, if using CM (I'm on CM10.2, but should be able to be seen on any version), you have the CM version of file manager included. open that and go to storage. in there you'll see emulated, sdcard1, and usbdisk. emulated refers to that older internal storage while sdcard1 refers to the newer
palmbeach05 said:
data partition access requires the use of a file manager that gives you root access (like root browser)
The internal storage that I was referring to is something that is usually seen when ppl use philz touch recovery (media1 vs media0 in philz). this does create a situation where you have your storage from a previous version of android and a storage from a newer version of android. for example, if using CM (I'm on CM10.2, but should be able to be seen on any version), you have the CM version of file manager included. open that and go to storage. in there you'll see emulated, sdcard1, and usbdisk. emulated refers to that older internal storage while sdcard1 refers to the newer
Click to expand...
Click to collapse
in the first photo, you can see the content of storage directory in my phone:
1-Emulated = it contains the directories "0" and "Legacy";
2-Sdcard0 = it's for the "Internal sdcard";
3-Sdcard1 = it stands for the "External sdcard";
4-Usb Disk = maybe is the partition mounted when i plug an usb drive in ?
I've a clockwork recovery installed.
So just to undestand, when i format the system, it creates copied directories in the internal storage?
However, this is a a new screenshot from the app section, as you can see, i can't install chrome in its stable release, but i can download and install the beta version....WTF?
sliker90 said:
in the first photo, you can see the content of storage directory in my phone:
1-Emulated = it contains the directories "0" and "Legacy";
2-Sdcard0 = it's for the "Internal sdcard";
3-Sdcard1 = it stands for the "External sdcard";
4-Usb Disk = maybe is the partition mounted when i plug an usb drive in ?
I've a clockwork recovery installed.
So just to undestand, when i format the system, it creates copied directories in the internal storage?
However, this is a a new screenshot from the app section, as you can see, i can't install chrome in its stable release, but i can download and install the beta version....WTF?
Click to expand...
Click to collapse
My bad, I hit a 1 instead of a 0 on the sdcard part. but yes, from what you described in your most recent post and the pic attatched, that is what I am referring to. That Emulated folder is what you need to go through, and move any files you want to keep over to sdcard0 (easier to work with), then delete everything inside Emulated. That should free up space.
Which CWM do you have?
I'm looking into the Chrome app right now to see what's going on with it. even though I'm on CM10.2, I've got both installed correctly. What is it saying when you try to download it?
clockwork version: v6.0.4.8
error displayed: -24, i've googled it and i found it's about memory leak problem
sliker90 said:
clockwork version: v6.0.4.8
error displayed: -24, i've googled it and i found it's about memory leak problem
Click to expand...
Click to collapse
I recently had that error with adobe reader. I fixed mine by doing what I said earlier in the data partition, as well as going through the main folders within the data partition (data/app, data/app-lib, data/dalvik-cache, data/data) and deleting anything corresponding to the app.

Categories

Resources