Create cache on micro sd - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

I'm looking for the best way to move /cache partition which is at 210mb to micro sd card. I'm having freezes when apps access that cache partition. While some apps are working fine, i could gain a bit of stability if i pull this out.
Looked on google for link2sd, and formating the sd card to a specific file type. So there could be a work around for cache, too.
It'd help me a lot to find a solution for this problem.

someone try this:https://play.google.com/store/apps/details?id=com.spazedog.mounts2sd

That's not it, that moves the APP (all of it) to a 2nd EXT4 partition on the SDcard and creates a symlink.
To move the /cache partition, would require a little tweaking. You're still needing the 2nd partition, /cache cannot be on FAT32.

neier24 said:
I'm looking for the best way to move /cache partition which is at 210mb to micro sd card. I'm having freezes when apps access that cache partition. While some apps are working fine, i could gain a bit of stability if i pull this out.
Looked on google for link2sd, and formating the sd card to a specific file type. So there could be a work around for cache, too.
It'd help me a lot to find a solution for this problem.
Click to expand...
Click to collapse
Sent from my GT-N7000 using xda app-developers app

I got sick of trying to fix. I'll see what i can do in a couple of months when i get back to this... after a "short" break.

Related

[Q] putting apps in /system/app, good or bad?

Hi, I've been putting some of my apps apks in /system/app, so that I have more free space in /data.
Mostly I just put apps there that I know I will never need to uninstall, like TiBackup, LauncherPro etc. When those apps update, I just manually move the newer apk into /system/app.
Question: Is it wrong to fill up /system to almost-full?
I know it's mounted read-only during normal use, so nothing else can write to it anyway.
Yup, I'd like to know tha answer to this question too!
I have heard of it being done quite abit. So it can't be that bad.
Yeah, it can't be that bad. But what if you filled it to 100%, is that bad?
Cache and data are housed in separate partitions as far as I know. So, I believe it's ok to fill it up completely, since most other things don't need write access to /system partition anyway. If it's not being written to during normal operation, then any free space on /system is basically wasted.
But I'd still like to hear from someone more knowledgeable if it is indeed fine to fill up the /system partition. Or if it's better to leave a certain amount of space, and how much space is recommended.
It depends on the ROM. If you're using CM, apps in the /system partition stores it's dalvik-cache in the /cache partition. So, if I am correct, more apps in the /system means less /cache space.
I tried putting LauncherPro in /system/apps and then removing it from /data/apps, but with no luck - it kept force closing on launch not ideal for a launcher! I haven't yet figured out why it wouldn't work, but I'm sure I'll get there in the end.
SF
geevee11 said:
It depends on the ROM. If you're using CM, apps in the /system partition stores it's dalvik-cache in the /cache partition. So, if I am correct, more apps in the /system means less /cache space.
Click to expand...
Click to collapse
On CM6, /cache is a different partition than /system, so it shouldn't affect cache space.
I'll observe the free space for a few days without adding additional apps on /system. Right now, I have 15MB free on /system, and 39MB free on /cache. I'll report back in a while.
r8dhex said:
On CM6, /cache is a different partition than /system, so it shouldn't affect cache space.
I'll observe the free space for a few days without adding additional apps on /system. Right now, I have 15MB free on /system, and 39MB free on /cache. I'll report back in a while.
Click to expand...
Click to collapse
I was talking about the dalvik-cache. Even if you install apps in the /system partition, it'll still have the dex files. So the more apps you put in your /system partition, the more your /cache will fill up = less ram.
I found out that apps in /system couldn't be updated through the market.
For instance: the facebook app that comes installed with google apps package of CM6 is installed in the /system dir of the phone. When I tried to update it through market it would fail every time. Once I deleted the app from /system and rebooted the phone, updating (installing) the app from market went fine.

I could really use some help solving my A2SD+ problem

For the life of me, I CANNOT get A2SD to work properly.
ROM: MIUI 1.9.16
SD Card: 16GB w/ 1GB EXT4 partition
Problem:
When I do a fresh install of MIUI (wipe cache, wipe dalvik, wipe data/factory reset) A2SD+ in settings->system->storage says available and used are "0.00B".
If I use dark tremor a2sd install scripts, they 'claim' to have activated the space. It appears space is used on it too (around 100mb, despite previous wipe of all data which says it wipes SD-EXT). When new apps install they east away at my meager "internal" storage (IE: 20mb remaining) and my programs area says I ahve a total of something like 200mb of storage (shouldn't this change to over 1GB because of the partition?!).
As of right now I've restored my previous install, which says "0.00B" for A2SD+, and I have a 1GB EXT4 partition sitting here doing nothing.
a2sd is auto on MIUI after flash/reboot--shouldn't need to run scripts--but you can
try reformatting sdcard outside of phone and with sdformatter, then partition it as ext3 0 swap
ext4 never worked quite right for me
then fresh install with system/data/cache wipes 3 times each
Thanks for the reply. What's with this common habit of wiping 3 times? Doesn't wiping just unlink all the inodes from the partition table, then mark the sectors as free space anyways?
Anyway, MIUI at flash point never picks up this partition. I will try changing it to EXT3 and seeing what happens.
I am not a tech, but I think the phone doesn't do thorough job. That's why I format outside phone. Don't know for sure on System wipe, but most peolple recommend 3 or more times on data/caches.
I have been using these methods for quite awhile now and have much fewer flash issues between roms. Thanks to Temasek on his Format zips--------
ken
Well would you look at that. Fresh flash of the ROM with an EXT3 partition and it works! Didn't have to flash any DT zip. Thanks!
EDIT:
After using MIUI backup to restore my apps and stuff, I'm already out of space. My sd-ext isn't being used! how do I fix this?!
Your Welcome--
Sorry for double post, but I spoke too soon. A2SD still doesn't appear to be working correctly. I've attached a few screenshots to help show what I'm talking about. Titanium backup doesn't see the space (I don't think) either. It appears MIUI sees the space available... but doesn't use it. I just did an a2sd zipalign, followed by a a2sd cachesd to move the dalvik cache to the SD card which helped my space woes a bit, but my a2sd partition seems to be completely unused, other than the dalvik cache!
I can't view your thumbs, get error on page. May be my work computer
Had that happen once and a2sd was doing its thing, just not showing in Root Explorer as ext being used
Do you have any low mem warnings
You could try Quick System from market and see what it says
Your A2SD is working fine. As you can see, you have >100 MB of apps installed on it (0.94GB SD-EXT partition size, 832MB free). The reason you still see your internal memory being used is - 1) Dalvik-cache is still on the internal memory, 2) App data is still on internal memory. You can change that in A2SD GUI settings. If it tells you that Dalvik is already on SD - it's lying, the app isn't too correct, the script is much more correct. You can run the script to move Dalvik to SD in that case.
And the integration of A2SD isn't system-wide - actually, the system has no idea that A2SD is present, and doesn't report anything else for its partition sizes but the original sizes.
Jack_R1, after a random soft reset occurred, titanium now shows the a2sd. Thanks for clearing some of the information up for me.

error mounting sdcard after moving apps to sdcard

on GDXv25 abd alfv8a have all the extra goodies for vold and all that. I change my SDCARD to a bigger one. format a partition for ext4 and leave the rest as default. On moving old stuffs back to it it seems to behave very well. Then I decide to move some of the apps to offload internal storage. The moving seems totally ok but after reboot my sdcard seems not be able to mount anymore. Go into CWM recovery and try to mount my sdcard. It says error mounting /sdcard yet I could succesfully mount my ext4 partition. At this point should I go ahead and re-format the sdcard again? What happens to those apps that I offload to the sdcard? are they toasted?
I'd to get some opinion before I re-format it since it will bring me over the point of no return. I still have no clue why all of a sudden after the moving of my apps that the partition won't mount anymore
On my linux I try to mount it via USB... it gives an error saying can't mount coz it can't read superblock. I gather some operations must have wiped into superblock. Sh*t hits the fan so to speak
by the way it is a new sdcard ... I dun think i damage it. But from CWM I can't even go ahead and format it because it says error mounting the partition.
I am amazed - I thought you don't need to mount before you can format. what's the deal here? I can't mount and I can't format?
vientito said:
On my linux I try to mount it via USB... it gives an error saying can't mount coz it can't read superblock. I gather some operations must have wiped into superblock. Sh*t hits the fan so to speak
Click to expand...
Click to collapse
That error message simply means that the ext filesystem in the sd-ext partition is kaputt and needs to be repaired (for example, manually restore a copy of the superblock) or formatted.
And that's your reason why you ran into problems ... something went wrong as you moved your old stuff onto the new card, and the next app you put onto the sd-ext finally triggered the problem.
Of course there's also the slight chance that the phone doesn't like the SD card.
finally I am able to format that sdcard by inserting into my kodak video playsport camera and format that from there! It's ridiculous that under CWM I am not able to do something as simple as formatting. That should not be a "feature" at all! Error mounting the card I could accept that but not able to format a card with screwed up superblock that's not acceptable.
With this exercise, I realize how valuable a backup it is. With all those apps xferred to the sdcard, I practically cross a bridge. Even with old usable card re-insert into phone those apps are gone and are no longer available. Only a backup (of course on a usable putaway MMC card) could have saved me all the trouble.
I still dunno what have gone wrong in the first place. Perhaps there's something I dun quite understand about moving apps to xternal storage.

How to increase /data partition?

There is 1.35GB free space in /system partition but only 40MB free space in /data partition on my phone.
Is there a way to repartition the internal storage so as to make use of the large free space in /system partition?
Using CM10 20120820 nightly build
getmore2012 said:
There is 1.35GB free space in /system partition but only 40MB free space in /data partition on my phone.
Is there a way to repartition the internal storage so as to make use of the large free space in /system partition?
Using CM10 20120820 nightly build
Click to expand...
Click to collapse
I've got the answer. The /data and /system partition is swapped in CM10 20120820 nightly build.
May be I should use CM10 20120814 version to get the bigger /data partition back.
That would slow down your apps and you wouldn't be able to make use of new features and fixes. Move some of your apps to sdcard and remove unused ones and there shouldn't be a problem.
You could, by that defeats the purpose of what pawitp just did. Move apps to sd.
Sent from my GT-I9000 using xda premium
If you need the extra space create an ext4 partition of around 1gb on your external sdcard and install Link2sd from the play store. That's a universal solution for all phones with limited storage.
Someone has also created a script that does practically the same thing, except it uses the internal movinand where /system is stored instead. http://forum.xda-developers.com/showthread.php?p=30568246
Use Datafix app from market, it makes /data/data directory, where all app cache can be stored.
zmagas1 said:
Use Datafix app from market, it makes /data/data directory, where all app cache can be stored.
Click to expand...
Click to collapse
That doesn't work with JB anymore because of the partition change. Hopefully they update it to make it work.

Nook Color CM10 emmc Data Partition Size

Loving the CM10 ROMs. Everything has been snappy on my nook since beta 2.
I thought I had the newer (revision 1.2+) nook partition layout (5gb data(apps)/1gb media). But now with CM10 I am getting an out of space error when trying to install new apps. I have moved all apps to my sd card and still get the error about not enough space. If I try and look at the partiton size it looks like it is maybe only 1gb now. Did installing a CM10 ROM change my partition size? Am I missing something else? Perhaps I am just wrong about my original partition sizes.
I searched some threads and the web and saw some discussion on my issue, particularly mention of a 'new CM10 partition layout', but this was confusing at best. It may not have even been nook related, but pertained to some phones.
dcahoe said:
Loving the CM10 ROMs. Everything has been snappy on my nook since beta 2.
I thought I had the newer (revision 1.2+) nook partition layout (5gb data(apps)/1gb media). But now with CM10 I am getting an out of space error when trying to install new apps. I have moved all apps to my sd card and still get the error about not enough space. If I try and look at the partiton size it looks like it is maybe only 1gb now. Did installing a CM10 ROM change my partition size? Am I missing something else? Perhaps I am just wrong about my original partition sizes.
I searched some threads and the web and saw some discussion on my issue, particularly mention of a 'new CM10 partition layout', but this was confusing at best. It may not have even been nook related, but pertained to some phones.
Click to expand...
Click to collapse
You can tell by looking in settings and storage. It will tell you the size of your media storage. If you truly have the 1Gb /data, you might want to look at Dean Gibson's repartitioning thread. He has a 2gb/4gb version.
And no, there is no repartitioning that cm10 does. That was for a phone you saw.
Sent from my Nook HD+ running Tapatalk
Well, I think I do have the 5gb data/1gb media partition layout afterall.
In Setting->Apps->Downloaded it shows at the bottom 'Internal Storage, 753Mb used, 4.2Gb free'.
If I launch a terminal window:
$ df /data
/data Size=4G Used=643M Free=4G Blksize=4096
$ df /emmc
/emmc Size=1G Used=83M Free=942M Blksize=4096
$ df /mnt/sdcard
/mnt/sdcard Size=15G Used=10G Free=4G Blksize=8192
I guess the only app that is giving me the out of space is Titanium Backup. I can't get it to install from either the appstore or from .apk that I downloaded. Both methods start installing and then say 'out of space'. I have been installing and removing other apps along the way with no similar problem.
I did wipe cache/dalvik cache when installing ROM. I also tried CWM Fix Permissions. I also tried CWM Backup -> Wipe Data/Factory Reset -> Restore.
Anyone know why Titanium Backup won't install?
dcahoe said:
Well, I think I do have the 5gb data/1gb media partition layout afterall.
In Setting->Apps->Downloaded it shows at the bottom 'Internal Storage, 753Mb used, 4.2Gb free'.
If I launch a terminal window:
$ df /data
/data Size=4G Used=643M Free=4G Blksize=4096
$ df /emmc
/emmc Size=1G Used=83M Free=942M Blksize=4096
$ df /mnt/sdcard
/mnt/sdcard Size=15G Used=10G Free=4G Blksize=8192
I guess the only app that is giving me the out of space is Titanium Backup. I can't get it to install from either the appstore or from .apk that I downloaded. Both methods start installing and then say 'out of space'. I have been installing and removing other apps along the way with no similar problem.
I did wipe cache/dalvik cache when installing ROM. I also tried CWM Fix Permissions. I also tried CWM Backup -> Wipe Data/Factory Reset -> Restore.
Anyone know why Titanium Backup won't install?
Click to expand...
Click to collapse
The only thing I can think of is some users are having read only problems on both SD card and /data, which is where apps get installed. Have you tried to install other apps since the TB install failed? A test you can try to see if you are one of the users with ro issues is to use a root file manager (there is one built into CM10 now) to create a test file somewhere on /data.
Sent from my Nook HD+ using Tapatalk

Categories

Resources