s2e - cache moved - umount needs reboot - G1 General

Hi,
I installed S2E and it has freed space by moving cache. When I unmount sdcard the phone stops working as if lost power. I need to replace battery and reboot. I suppose that some apps would need cache which causes this problem. any work around ?
Regards,
Miten.

There is no work around for that if you use s2e apps2sxt etc. I guess you could use terminal or adb and copy the files from the ext partition to your internal data, but that would be a hassle.

I will not recommend moving applications and private apps, just move dalvik cache and download cache. should solve ur problem.
Community: http://on.fb.me/Root4Andrd

Related

Is it safe to move dalvik-cache and data folders to sdcard also?

well i have app-privaate and apps in the sd card.. but when i install apps, internal memory still goes down.. after somesearching i found out that dalvik-cache and data folders also take up space when istalling apps.. will it be ok if i also move these into the sdcard?
You should use the new apps to sd script. Its way better. But if you don't want to then you can move the dalvik cache but donlt move the data. It'll make your system really unstable.
ohh ok thank youu
after i do that, is it safe to flash a theme on
and i heard the new apps to sd didnt work on haykuros 6.0r1
is that true?
How are you currently doing the apps to sd? are you using the symlinks? If so dalvik-cache should be fine. You can try the data as well but you might have to undo it if things start acting up.
yes i used symlinks.. i transfered apps, app-private, and dalvik cache.. im not transfering data.. ill keep it like this.. its running well thanks guys
i have one question tho.. will everything be fine if i flash a theme on it? the aero one for 6.0r1

A2SD - Can someone point me to a how-to?

Fairly new to custom ROMs... Started with Damage 2.0.2 and been updating all the way through to 2.0.7.2, but never attempted the A2SD. Can someone point me to a good how to guide on setting this up for the first time. I have found a few forum how-to's on switching SD cards with A2SD, but most things i am finding with searches are assuming it is already setup.
Please attach links or paste in a simple how-to for me. Thanks.
Also, will I be able to keep this ROM intact, (i know i will have to backup the SD card to repartition it...), but will i have to wipe the ROM as well after the ext is built to reinstall the ROM?
Make a copy of your SD card to your computer.
Reboot into recovery.
Partition Your SD card, I used 0 swap and 380 something for the ext.
Toggle MS through recovery and copy your SD card files back to your card.
Reboot.
Get Quick System Info from the market.(It shows how much memory is left on your partition, basically an easy way to tell if it worked)
durandetto said:
Make a copy of your SD card to your computer.
Reboot into recovery.
Partition Your SD card, I used 0 swap and 380 something for the ext.
Toggle MS through recovery and copy your SD card files back to your card.
Reboot.
Get Quick System Info from the market.(It shows how much memory is left on your partition, basically an easy way to tell if it worked)
Click to expand...
Click to collapse
What do you mean by toggle MS through recovery?
It's an option in recovery it allows you to view your SD card on you computer. MS stands for Mass Storage.
durandetto said:
It's an option in recovery it allows you to view your SD card on you computer. MS stands for Mass Storage.
Click to expand...
Click to collapse
So how do I move the current apps over to the SD card once it is partitioned and up and running?
http://geekfor.me/faq/apps2sd/
This link mentions some other methods to check if it's running. However, it's for fresh rom. Maybe others can chime in to say if the information is the same for damage control roms. As far as I know, the main trick is just partitioning the sdcard using the recovery tool as durandetto mentioned. If the rom sees an ext partition, a2sd will automatically start working. I too am using dc2.0.7.2.
For me, quick system info shows a2sd working, but my internal storage is much less than I thought it would be. I understand that app data is still stored on the internal storage, but can anyone tell me if my numbers are normal or not?
A2SD Storage: 0.89GB, Free 790MB
Internal Storage: 160MB, Free 33.33MB
I probably have under 50 apps installed.
jonesdana said:
So how do I move the current apps over to the SD card once it is partitioned and up and running?
Click to expand...
Click to collapse
Your apps will automatically be installed on your sd card, at least mine were.
e30user said:
http://geekfor.me/faq/apps2sd/
This link mentions some other methods to check if it's running. However, it's for fresh rom. Maybe others can chime in to say if the information is the same for damage control roms. As far as I know, the main trick is just partitioning the sdcard using the recovery tool as durandetto mentioned. If the rom sees an ext partition, a2sd will automatically start working. I too am using dc2.0.7.2.
For me, quick system info shows a2sd working, but my internal storage is much less than I thought it would be. I understand that app data is still stored on the internal storage, but can anyone tell me if my numbers are normal or not?
A2SD Storage: 0.89GB, Free 790MB
Internal Storage: 160MB, Free 33.33MB
I probably have under 50 apps installed.
Click to expand...
Click to collapse
I have around the same amount of apps and I usually have almost 80mb after I clear my cache.
Does it matter if the apps were downloaded from the market or from another source? Because I have about 35MB of internal storage left as well but my A2SD appears to be working as well. I might have 25 apps.
durandetto said:
I have around the same amount of apps and I usually have almost 80mb after I clear my cache.
Click to expand...
Click to collapse
I recently cleared my dalvik cache to fix some market apps not showing up. However, I just did it again so I can compare results to the numbers posted earlier.
Before:
A2SD Storage: 0.89GB, Free 790MB
Internal Storage: 160MB, Free 33.33MB
After wipe of dalvik cache:
A2SD Storage: 0.89GB, Free 790MB
Internal Storage: 160MB, Free 33.24MB
Is the dalvik cache the cache you're talking about?
Jonesdana - it might help if you mention what size sdcard you have if you're curious about typical partition sizes. I know that's one of the things I was curious about when figuring this stuff out. I have an 8gb card and set the ext3 partion for 1 gig(overkill, I know), swap 128, fat for the rest.
Deleted...
e30user said:
I recently cleared my dalvik cache to fix some market apps not showing up. However, I just did it again so I can compare results to the numbers posted earlier.
Before:
A2SD Storage: 0.89GB, Free 790MB
Internal Storage: 160MB, Free 33.33MB
After wipe of dalvik cache:
A2SD Storage: 0.89GB, Free 790MB
Internal Storage: 160MB, Free 33.24MB
Is the dalvik cache the cache you're talking about?
Jonesdana - it might help if you mention what size sdcard you have if you're curious about typical partition sizes. I know that's one of the things I was curious about when figuring this stuff out. I have an 8gb card and set the ext3 partion for 1 gig(overkill, I know), swap 128, fat for the rest.
Click to expand...
Click to collapse
Settings>applications>manage applications Sort by size and check the Browser, market, albums and others that you use regularly and clear cache. I doubt you'll gain 50mb, but you should gain something.
Isn't the point of this to not have to do that stuff? I don't see the benefit of a2sd from this thread.
Apps2SD
EDIT: Removed the original instructions because of errors. If you want to install A2SD version 2.5, follow these instructions on this thread:
http://forum.xda-developers.com/showthread.php?t=666420
My apologies for any issues the original instructions may have caused.
Now, for a bonus. If you installed A2SD verison 2.5, you can also move your dalvik-cache to your sd card. This will free up more space on your internal storage. This is completely optional and does not affect the operation of A2SD. Simply enter the phone's console via adb shell, then type /system/bin/a2sd cache. The dalvik-cache will be relocated to /system/sd/dalvik-cache. If you do this, make sure the phone is fully booted.
You can move your dalvik-cache manually without version 2.5.
In the adb shell, type the following commands:
mkdir /system/sd/dalvik-cache
chown 777 /system/sd/dalvik-cache
cp /data/dalvik-cache/* /system/sd/dalvik-cache
rm /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
And that's it.
tkirton said:
Okay...here's the breakdown of how to activate A2SD (a.k.a. Apps2SD)
1. (Optional) Download A2SD version 2.5: http://www.darktremor.com/files/misc/a2sd-2.5-signed.zip. Save the file to your SD card. If you don't want to download this version, skip this step.
2. Reboot the phone into recovery mode.
3. Partition the SD card by selecting Partition SD Card -> Partition SD.
4. Once you have partitioned it, press the back button to go to the main recovery menu.
5. If you downloaded the A2SD version 2.5, flash the program by selecting Flash zip from scard -> a2sd-2.5-signed.zip. Otherwise, skip this step.
6. Reboot the phone. A2SD will start when the program boots and will automatically move your programs located in /data/app and /data/app-private.
7. To validate, go into the console of the phone by typing adb shell and press ENTER. Type ls -l /data and press ENTER. Look for the entries app and app-private. Check to see if entries look like the following:
app -> /system/sd/app
app-private -> /system/sd/app-private
If you see this, then A2SD is working.
Now, for a bonus. If you installed A2SD verison 2.5, you can also move your dalvik-cache to your sd card. This will free up more space on your internal storage. This is completely optional and does not affect the operation of A2SD. Simply enter the phone's console via adb shell, then type /system/bin/a2sd cache. The dalvik-cache will be relocated to /system/sd/dalvik-cache. If you do this, make sure the phone is fully booted.
You can move your dalvik-cache manually without version 2.5.
In the adb shell, type the following commands:
mkdir /system/sd/dalvik-cache
chown 777 /system/sd/dalvik-cache
cp /data/dalvik-cache/* /system/sd/dalvik-cache
rm /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
And that's it.
Click to expand...
Click to collapse
Using just the aps2sd 2.5 zip I always start with about 153 meg out of 159 meg and after all my apps are back using titanium backup (about 60 apps) I still have over 135 meg free. I never had this before I used this zip. I did not run the dalvik cache command either. After checking however my dalvik-cache is being moved to /system/sd/dalvik-cache. I see no diff in the phone than before I moved this to the SD either. It just frees up lots of space and lets you load many many more apps
so what exactly does one gain from doing this? just more space? i can't imagine there would be any increase in speed, and wouldn't this have a tiny negative impact on power usage? (small but theoretically still there)
I've never tried this either...
So, if your sdcard dies, could you just reflash the rom over itself and everything would be gravy?
-edit-
After you've installed a new card and formatted it properly, of course.
Can you flash the 2.5 over existing a2sd? or would you have to redo everything when done?
redram38 said:
Using just the aps2sd 2.5 zip I always start with about 153 meg out of 159 meg and after all my apps are back using titanium backup (about 60 apps) I still have over 135 meg free. I never had this before I used this zip. I did not run the dalvik cache command either. After checking however my dalvik-cache is being moved to /system/sd/dalvik-cache. I see no diff in the phone than before I moved this to the SD either. It just frees up lots of space and lets you load many many more apps
Click to expand...
Click to collapse
bbv203 said:
Can you flash the 2.5 over existing a2sd? or would you have to redo everything when done?
Click to expand...
Click to collapse
You can flash the 2.5 over the existing a2sd! I am not sure if you have to wipe the Davlik Cache, but I would recommend it. You will probably have a lengthy boot time as the Davlik Cache is written.
hmmmm...one way to find out I guess!
mjweisberg said:
You can flash the 2.5 over the existing a2sd! I am not sure if you have to wipe the Davlik Cache, but I would recommend it. You will probably have a lengthy boot time as the Davlik Cache is written.
Click to expand...
Click to collapse

[Q] Relocate dalvik-cache to cache

Anybody knows how to relocate dalvik-cache to /cache/dalvik-cache folder instead f /data/dalvik-cache? In the latest Mur4ik's ROM (v2.0M2) it seems that the dalvik-cache is in the data folder which unnecessarily consumes space. I found this tutorial but it didn't work. Any help please?

[Help Me] Apps on Sd Poofed !

Hi, i am currently using Kyrillos Rom V 7.0 Non OC.
Yesterday,my phone battery drained to the end (not a problem until here).
When i arrived home i turned it on after charging for a while,but them,all my apps were gone. I can still see them at the Aplications Manager,but i cant "move to phone" (the box is hidden).
I got my SD card formated using a swap and a Ext4 partition so i can use Apps2SD+ and it was working fine for like 1 Month.
Also, my Market can't install any app anymore,since it shows "File Package is not Valid" message.
What i've tried :
1 - Setting / Storage / unmount - > mount Sd Card
2 - Recovery Mode -> Mount and Storage -> Mount Ext , Mount Sdcard , rebooted.
Nothing Worked,
I hope someone can help me.
Thanks.
try wiping cache and dalvik cache
RafayelG said:
try wiping cache and dalvik cache
Click to expand...
Click to collapse
Will this Wipe all my apps on Sd ?
I dont want to wipe my Sd card data by any means : (
Since i cant backup it using Titaniun Backup because i can't install it from market,i dont want to wipe my SD.
What exactly this "Wipe Cache and Dalvik Cache" does ?
EDIT : Ok, Seems it doesn't destroy any piece of user data.
Wipping it now,and will be back to tell what happened
Didn't worked.
Any other help ?
This same thing happened to one of my very good friends Jinxskore. He then had to wipe data, cache and dalvik. All three. Then it was normal again. Your data will be lost I am afraid.
dhirend_6d said:
This same thing happened to one of my very good friends Jinxskore. He then had to wipe data, cache and dalvik. All three. Then it was normal again. Your data will be lost I am afraid.
Click to expand...
Click to collapse
Fack.
Well,i am still looking for a non hardcore solution,hope i find it .
Thanks anyway.
Anyone else ?
I'm starting to lose my faith : (
Try to use Titanium Backup, install it from your pc!
I have the same thing every time I boot up. After my media scanner is finished it just doesn't show my apps. Only sometimes when I wait very long it shows them. So I try to keep my phone on as long as I can. But I can't install apps from the market either. I touch for example 'free' press accept and it just doesn't start downloading anything! But a reboot fixes the install problem most of the time for a while...
Btw what kinda sd card are you using? I have a 16gb class 2.
So I blame my problems to that.
I have an idea
Hey about Contacts and SMS backup use relavant apps. Contacts can be backed up on Sd card and copied to pc, I dont think sms backup needed you can let them go if they are important PM me to tell you a method. I hope you have root explorer. If no download it from a PC file sharing website and simply install it. Go to /-->data-->app Copy all apks of your installed apps to sd.
Now you wont lose your apps. Backup SD. I would recommend to use *2676*3855# and Hard Reset/ Factory Format your phone. Format SD after complete backup and re partition do all again, set up phone enjoy it again.

[Q]Out of space when installing apps

I just updated to a new build, but when I try installing apps, it says out of space even though I have over 600MB internal and 2GB external. I think I have to delete some system files but am not sure
Installing or recovering thm via Titanium?
Installing with the apk, right after the boot up.
Are the over 600MB internal the free or the total space?
That's the free
Try wiping cache and dalvik cache.
Keghan said:
I just updated to a new build, but when I try installing apps, it says out of space even though I have over 600MB internal and 2GB external. I think I have to delete some system files but am not sure
Click to expand...
Click to collapse
When this happens to me, i just tell it again.. Usually works on 2nd, occasionally 3rd try.. Then its back to normal.
Sent from my SPH-D710 using xda premium
@Keghan
the solutions could be:
unmount and remount the cache and data directory
fix permissions
wipe the cache and the dalvik-cache
clear the data of the playstore
RATTAR said:
@Keghan
the solutions could be:
unmount and remount the cache and data directory
fix permissions
wipe the cache and the dalvik-cache
clear the data of the playstore
Click to expand...
Click to collapse
Is it also true that you can remove the odex files for that particular app in /data? I remember seeing something about that in the recent posts for the Epsylon3 ICS Dev thread.
I scanned through the Dev forum and found out that by
Deleting the tombstone folder in Data and
deleting the odex of that file in data/app folder works

Categories

Resources