[Q] Regarding the system cache after AlphaRev re-partitioning - General Questions and Answers

Hello everyone, this is my first post on these forums!
I have rooted my HTC Desire, installed a Cyanogenmod 7.0.3 stable version, S-Off-'d, and partitioned the internal memory with AlphaRev CM7 r2 image. So far, everything seems to be working well, however, I noticed something curious after the repartitioning.
In quick system info, the stats are like this:
SD card storage - Total 7.05GB, Free 2.14Gb
A2SD storage - Total 457MB, Free: 140MB
Internal storage - Total 288MB, Free 140MB
System storage - Total 145MB, Free 16,38MB
System cache - Total 288MB, Free 140MB
If the CM7 r2 partition image has 5MB cache, why does the system info display a total of 288MB (same as internal storage)? While I had the stock partition, it displayed the correct 40MB of system cache. Again, it works just fine, but I wish to know what it means.
The second much noobier question is this: I use LauncherPro in CM7, since I like it much better than the ADW launcher. Does LauncherPro perhaps use the same system cache for it's caching? If that's the case, could the 5MB of system cache be too small for it to work correctly? I thought that the 5MB only for system cache was a bit small anyways, but I can't seem to find any faults for now and had no problems downloading very large apps from the Android Market as of yet.
I would be grateful if someone could provide me some answers.
P.S. I should also perhaps mention that I had re-partitioned the internal memory after I backed up my CM7 image with all the apps and settings. After the re-partitioning, I restored my nandbackup.

Nevermind, figured it out.

Related

[Q] Custom MTD Partitions

I was reading in the desire forums and saw this thread.
[DEV][S-OFF] Custom MTD Partitions (resize data, system, and cache)
I've always been disappointed with the small amount of space the Aria has for internal storage. Would it be possible to change the partition size of the aria to allow for more internal storage?
KillerBeaver said:
I was reading in the desire forums and saw this thread.
[DEV][S-OFF] Custom MTD Partitions (resize data, system, and cache)
I've always been disappointed with the small amount of space the Aria has for internal storage. Would it be possible to change the partition size of the aria to allow for more internal storage?
Click to expand...
Click to collapse
just use s2e or darktremors apps2sd and have all the internal storage you want lol
I had heard that battery life and r/w speed could be better on the internal. Is that incorrect? I thought it could be done relatively simply with a hex editor, but i'm not very knowledgeable in that specific department. So, that's why i wanted to ask.

[Q] change partition size on Galaxy 3 - more space for apps

Hi,
I have a problem with data space.
Therefore I removed those aplications from system folder :
Swype.apk (11 MB) - for czech and many other user useless because of absence their language support
Layar.apk (5MB) ? - useless too - I do not wanna anyone know where I am located
Samsung Apps.apk (5 MB ?) - useless because Samsung GAY policy
Thinkdroid.apk ( 5 MB) ? - I never used , but I wanna install it on sdcard - weird after remove from system, it was not possible to install it - phone rebooted
Ive expected I will have more free space for aplications, but I have not
So I have now :
System : 182.99 MB used, 27.64 MB free
Data : 188.86 MB used , 5.29 MB free
Cache : 792 KB used 32.03 MB free
My goal is ofcourse to have as much as MB free at DATA folder / partition
Is there any EASY way how to make it happen without data loss and most important - without PHONE BRICK ?
so some partition manager ?
I tried already some trick to have 2 partitions on SD and ofcourse, it does not work - it take only 1 or more hours to get 30+ GBs of music, maps etc back to SD
I am not sure if this works for example at Kyrillos 7.0 , but if I have to download something over DATA connection and cant use wi-fi , then this solution is unacceptable
Of course my goal is to have unchanged aplications and their data + I5800XXJPS
My dream is Android 2.3.4 , but I will wait till FM RADIO and other non working stuff will be solved
I found this http://android.modaco.com/topic/331205-guide-how-to-get-more-free-space-for-your-apps/
but it looks too hard and I need more like 128/136 MB for system partition
I am using APP 2 SD Pro and Move2SD Enabler set to EXTERNAL
for example install ANGRY BIRDS is impossible even I have 200 MB free at my 32 GB SDCARD
thanks for your help
Bro, wrong section.
And you have a 32 GB SD card. Then make a 1 GB ext4 partition. Rest 31 GBs you use for songs and all. Kyrillos has apps2sd v2 enabled. Only /data/data/ remains in internal memory. If you don t want that to also, then you can use app2sd v3. It works. All apps that you install will goto ext4 partition of SD.
It may be possible but there is an easier way. If you are low on space for apps, that means that data partition is full, you on the other hand, you deleted apps from system partition so you have more space there. So... go to data/app and move some of your instaled apps from there to system/app. Be sure to leave some free space on system partition, especially if you are going to change themes, then leave 10mb free.
thanks
ka'cipeder said:
It may be possible but there is an easier way. If you are low on space for apps, that means that data partition is full, you on the other hand, you deleted apps from system partition so you have more space there. So... go to data/app and move some of your instaled apps from there to system/app. Be sure to leave some free space on system partition, especially if you are going to change themes, then leave 10mb free.
Click to expand...
Click to collapse
Thanks all to respon, specially You,
I alraedy did exactly You suggest and it helps
I do not wanna go ext partitions, I alraedy deleted some most biggest size files from Dalvik-cache too
if there are a some steps how make works APP2SD ver 3 without partitioning SD, then please write how
now I am trying Regina Launcher first time, initializing takes so loooong
Best Regards
Radek

Custom parition size?

Hi all,
I have searched for an answer to this question for a couple days now and cannot seem to find an answer anywhere; at least one that relates to this device.
What I would like to know is if it is possible to resize the partitions on the my phone. I am looking to mod the size of the rom, cache, and data.
For instance I have cyanogenmod 7 installed (with latest tiamat kernel if that matters) and CM7 is only taking up about 152MB out of the system roms size of 575MB. I do not know how big my cache partition is but would be curios as to what tool could show me that too.
What i want to do then is shrink the amount of rom availible to CM7 to something closer to 170MB which would free up a fair amount of rom for cache and data.
Any ideas?
Thanks
You would have to make some major changes to the ROM and kernel. The easier way would be to get a large SD card and create SD ext partitions and use an apps2sd ROM. There is plenty of space though on our phones for apps and storage. The data partition is 1.1 GB and most roms will let you move apps to SD without extra partitions on card. Creating those partitions on SD will allow the phone to treat them like /data though.
Sent from my Inspire 4G using xda premium
Using Titanium Backup, you could also convert some user apps to system apps. This would move them to the rom storage.
Sent from my HTC Inspire 4G using Tapatalk

New to CM7

Hi all,
So last night I decided to give Cyanogenmod7 a try. I came from MIUI.us 2.1.20 - I just love MIUI, but it's a bit too demanding for the Milestone. So I have CM7 up and running, and it is a lot more snappy. But now, I'm having trouble installing some apps.
I tried installing my bank's banking app, but it didn't install - checked the market and it doesn't appear. Same thing with WhatsApp!! If it were working, I might just become a CM7 user..but it's not working.
Am I missing something? I installed after doing a full wipe, after which I installed DT A2SD scripts and then gapps-20111216 (although didn't see gmail or market etc after gapps, so installed those via apk).
What's the deal here?
Thanks.
Sent from my Milestone using Tapatalk
Ok, just wiped again, and reinstalled all. CM7 then gapps then dt a2sd. So far it's working.
Sent from my Milestone using Tapatalk
googleservicesframework.apk and vending.apk are all you need for using market. Try to reinstall them. May you success.
Ok, so now my problem is A2SD. It's not working! A2SDGUI refuses to go in, and when I do a check, I get a segmentation fault...I've never had this issue before. I've tried reinstalling DT A2SD from withing recovery and still, nothing. Please assist, I just need to get set up properly now.
Regards
Sent from my Milestone using Tapatalk
DT scripts dont work ...use an external partition (app2ext)
d.casper.b: CM7 for Milestone already comes with its own ap2ext scripts that are automatically used if there is ext partition present on your sdcard.
You should not install any 3rd party app2ext scripts as they are very likely to be conflicting with the scripts that are already there.
Thanks kabaldan.
I'll check it out.
I was even going so far as trying to use Link2SD from the market..
How'd I know if it's working? By monitoring the available internal storage?
Sent from my Milestone using Tapatalk
d.casper.b said:
Thanks kabaldan.
I'll check it out.
I was even going so far as trying to use Link2SD from the market..
How'd I know if it's working? By monitoring the available internal storage?
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
when you will enable app2ext you will see the total space in your storage rise to 197 mb
I am not winning. I did a factory reset and flashed cm7 and gapps (not dt a2sd).
I did a test, internal storage was at 191mb, then I installed opera mobile and it went down to 182mb. Then uninstalled it again. Went into cyanogenmod settings and set install location to external. Installed opera again, but it was no different. Moving it to sd under 'manage applications' increased the internal memory again, but that's just moving the app to the FAT32 partition of the sd card.
So it's not seeming to work for me for some reason.
Sent from my Milestone using Tapatalk
EDIT: I really don't want to be a nuisance, but now, looking at the available storage using "Quick System Info", I noticed after uninstalling "Opera Mobile", 9mb was freed on internal storage & 13mb on the ext partition.
So, perhaps it is working, and since the dalvik cache is (I assume) on internal storage, the storage is still decreasing. Am I correct? If so, is there a way to also move dalvik cache to the ext partition - I had it like this on MIUI & never looked at available memory ever again.
First of all, have you really partitioned your SD card? Make sure you followed the 3rd step on this guide: http://www.mrmuh.com/2012/01/update-a-motorola-milestone-from-motorola-firmware-to-cyanogenmod-7/ . You should have your SD Card partitioned with two partitions, the first should be FAT32 that's used normally on Android, and the second EXT3 or EXT4. Obviously, make sure you have a backup of your FAT32 partition before partitioning.
Second, you should understand how the apps2ext scripts on CM7 work. Application installs that would be stored on internal memory are rerouted to the EXT3/4 partition on the SDCard. This happens at the underlying system (linux) level, Android (that runs on top of linux) is not aware of this rerouting, so, as far as Android "knows", apps that are rerouted to the EXT partition are on the phone's internal memory. That means that you should make sure that apps you need installed on the EXT partition of the SD card are shown in "Applications > Manage applications" list to be installed on the internal memory. Yep, it's confusing, but once you understand how it works and why it works that way, it makes sense.
Third, the fact that apps are rerouted to the EXT partition doesn't mean that everything about the app will live on the ext partition: it means only the main application package will live on the ext partition, application data is still stored on the internal memory. For most apps, the amount of data used for application data are much smaller than the application package, but in some apps the amount of application data from the app may often surpass the size of the app itself - for example, in my phone, Tweekdeck stores about 9Mb of data, which is about 10 times the size of the application itself (820kb) - presumably this amount of data is cached tweets, pictures, etc. But that case is usually the exception, not the rule, I've just mentioned it so you understand that using apps2ext doesn't mean your internal memory will always stay unused, it just means it will be used (way) less.
Finally, regarding the CyanogenMod Settings location setting, if you understood what I said above, you should now understand that it should actually be set to always install to "Internal", rather than external. However, there's a bug in this that you should be advised, that not all apps will respect this setting: some apps will install to external regardless of how you've configured that setting (meaning the app will use Froyo/Gingerbread native Apps2SD, hence being installed to the FAT partition of the SDCard). So, when you install a new app, check on app management if it didn't get installed to the SDCard, and move it to the internal memory if that's the case. For these kind of apps, you'll have to do it every time you update the app too.
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
I understand entirely what you've said, I know that internal is really ext if working, and sd is FAT32 partition.
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Thanks for putting up with me..I'm almost there.
Sent from my Milestone using Tapatalk
d.casper.b said:
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
I understand entirely what you've said, I know that internal is really ext if working, and sd is FAT32 partition.
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Thanks for putting up with me..I'm almost there.
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
in the market you will find an app called s2e which moves app data, davlik cache to sd
also link2sd also free's up more space and makes cm7 snappier
please don't install such things to CM7 for Milestone unless you know what you are doing and you are able to resolve conflicts with the existing scripts
dalvik-cache is already moved automatically
if you want to free more space in /data, enable lib2ext to move native libraries to ext - it's mentioned in the changelog for 7.1.2 release
app data itself should not be moved as it can cause instability
d.casper.b said:
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
Click to expand...
Click to collapse
Yeah, get rid of swap, there won't be any use for it (for now anyway) and it's best for you at this point to have a known working structure (two partitions, 1st FAT, 2nd ext3/4) for your SD as you're troubleshooting your problems/questions, it'll make it easier for us too as this will eliminate potential points of failure or inconsistencies. And you should really consider upgrading to a journaled filesystem, either ext3 or ext4. Using ext2 is unreliable because Android doesn't umount the ext partition cleanly on reboot or shutdown, so you may have problems with apps disappearing or misbehaving every other reboot. Using ext3/4 with journal elimitates this problem since the journal is just replayed for the uncleanly umounted partition and the filesystems behaves more consistently.
d.casper.b said:
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Click to expand...
Click to collapse
The apps2ext script built on CM7 should do this by default - you probably already have your dalvik-cache on the ext partition. To check this, go into OR, enter the console and type: "ls /sddata/dalvik-cache" . If it returns a list of files, you've already got the dalvik-cache on your ext partition. Another option is setting the option dalvik.vm.dexopt-cache-only to 1 in the file /system/build.prop . This will put all dalvik-caches (both from user apps and system apps) on the phone's internal cache partition, thus still freeing space on the internal memory but without using the ext partition, but that's not recommended if you install too many apps because the cache partition may run out space and that will spawn all kinds of weird behavior on Android. The safer route is just using the default configuration anyway (user apps dalvik-cache on sd-ext).
Another option to further reduce internal memory use is using lib2ext, that will move user apps native libraries to the ext partition, but the memory gain in this case is dependent on which apps you use and how big their native libraries (if they even have one) are. To activate it, just go into the Terminal app (with Android booted) and type:
$ su
# lib2ext
And reboot. The libraries will be moved to the ext partition during boot. Make sure you have a big enough ext partition to hold everything (apps, dalvik-cache and apps libs) - the size to recommend is very dependent on how many apps you use and how big they are, but I'd say 512Mb would be the bare minimum.
in the market you will find an app called s2e which moves app data, davlik cache to sd
also link2sd also free's up more space and makes cm7 snappier
Click to expand...
Click to collapse
DON'T! JUST DON'T! These third-party apps will cause all kinds of problems with CM7 builtin apps2ext.
EDIT: Oh well, Kabaldan already put all my rambling much more succintly than I could... I'm way too talky
well i was jus trying to help.. .anyway guys thanks i guess i won't be needing those apps anymore ...sorry for my noobness
Thank you so much guys!
It seems like it's working. I will check out lib2ext & the other suggestions tonight or over the weekend (on my way to work now).
I must say, I thought the move to CM7 would be a temporary one, but the speed gain is just what I needed, & the tweaks I thought I'd miss I am finding hidden in the settings .
Just wondering on the battery now - but I've been fiddling non-stop.
So let me play a bit more the weekend & I'll merge my ext2 and SWAP partition into one ext3 partition.
Thanks all, and kabaldan for your hard work on this rom.
Sent from my Milestone using Tapatalk
Just as I was on my way...
Everything's running fine, A2SD works. But now, I partitioned my SD card with a 2nd partition (ext3, it was ext2), but now widgets are not loading. Checked the apps install location, and it's 'internal', ie. ext3. I never had this before. I think maybe it's due to the filesystem now?
EDIT: Ok, ext2 is doing the same. I can't keep starting from scratch the whole time guys.
EDIT2: It's now suddenly working! Just have a Fat32 and an Ext3 partition. But I don't understand because it's been setup like this twice before with no success. I'll hold thumbs!
PS, CyanogenMod is quite up my alley now, speed is awesome and I'm happy.
Sent from my Milestone using Tapatalk

900mb free but low on space. need help

Hello,
Just bought new SD-card. According to titanium backup theres 12mb free phone storage and 1gb ext4 partiton (982mb) free space, but still i get Low On space and cant install any apps. What should i do ?
MisterMonitor said:
Hello,
Just bought new SD-card. According to titanium backup theres 12mb free phone storage and 1gb ext4 partiton (982mb) free space, but still i get Low On space and cant install any apps. What should i do ?
Click to expand...
Click to collapse
The 12MB phone storage is what's killing you. In 'Manage Apps' under 'Settings', you can click on each individual app and send some of the larger ones to the SD card. You can also try clearing data for the Facebook app, which can hold a lot of data due to contact photos if you use it.
Just for curiosity's sake, what phone are you using?
Im using HTC Desire.
I understood that due to 12mb phone storage i get Low on space, but i made ext 1gb partition, so shouldnt now phone storage expand and became 12mb+1gb ?
All my apps are on sdcard, and no facebook app.
I made 1gb partition why its not helping ?
MisterMonitor said:
Im using HTC Desire.
I understood that due to 12mb phone storage i get Low on space, but i made ext 1gb partition, so shouldnt now phone storage expand and became 12mb+1gb ?
All my apps are on sdcard, and no facebook app.
I made 1gb partition why its not helping ?
Click to expand...
Click to collapse
It sounds like you don't have apps2sd installed, or that the ext4 partition isn't recognised properly. I remember it was particularly fussy about whether the ext4 part was the first partition in the table or not, I'm not sure if this is still the case
Sent from my HTC Vivid
With previous SD card, There's 12mb free internal storage and 134mb a2sd free, 238 a2sd occupied.
So i really dont understand now :/. This partition is working but not all space in a2sd are used (134mb) free , but also 238 a2sd occupied. So its working, so why i get Low on space :/ .
On new card I made 1gb partition and 0 occupied.
And i cant run restore in titanium backup, because it shows there's no space, but i adjusted to write everything to external storage in titanium backup settings.
Please help, because now i bought a new card and cant use it :/ .
I see what you're trying to do now
The phone will never show that you've added to phone storage, because you can't. Adding an SD partition won't increase your phone storage at all, it just gives you a place to put all your apps so they don't take up your actual phone storage.
There is something on your phone taking up the ~150MB phone storage. It may be contact photos, it may be SMSs/MMSs, it may be camera pictures and videos (if you haven't set the camera to save to SD by default). You've already moved your apps so it's not those. You need to go through all your apps and see how much each is individually using (in 'manage apps').
Pay particular attention to 'contacts storage', 'calendar storage' etc as they are usually the hogs in my experience, and you can't move them. If you sync your Facebook contacts with your phone, the photos and details can easily use over 200MB.
Thank you very much for helping me ).
I understood about memmory usage. Cleaned almost everything in phone memmory, but still 18mb left.
Its just a new SD card and so many problems. Now apps cant find root access, watahell ? My phone was always rooted .
Please someone help to fix problems, i want to use my new SD card.
1. Something happened to root. Titanium gets root rights. I BusyBox installer shows that my phone is rooted, but when i push install busybox it fails .
In titanium backup i press "Problems?" and it offers to updade superuser. I press Update superuser and imedietly get force close.
I really apreciate if someone help me :/ .
Try rooting again. If you're S-OFF already, SuperOneClick will make mincemeat of your Desire in one click (link in my signature)
As soon as something goes wrong with root, you need to have another try at it. If you get an error, post it here and I will help if I can

Categories

Resources