No mount scrip
System cm10 build 6
Please help form this error
Swap 256
Sdext 1024 ext4
You have to clear up some space in the system. Oh and next time search first this has been asked and answered numerous times in both related threads. The whole solution is described there.
Swyped from my P509 on Tmobile.
With Swype and Flash, why would anyone choose the iPhone?
not working
mrlamo said:
You have to clear up some space in the system. Oh and next time search first this has been asked and answered numerous times in both related threads. The whole solution is described there.
Swyped from my P509 on Tmobile.
With Swype and Flash, why would anyone choose the iPhone?
Click to expand...
Click to collapse
[mode google translator on]
thanks for replying
it´s a clean installation, full wipe and wipe fo all partition, one by one... and try repair partition, and try creating partition and convert ext2 to ext3 and ext3 to ext4
I will find the solutions already published, but with the installation of other roms no problems, even with CM10 build 5
I use cwm 5.0.27 n it works.256 ext4 and 64 swap.
cwm
bao_loc106 said:
I use cwm 5.0.27 n it works.256 ext4 and 64 swap.
Click to expand...
Click to collapse
I already downloaded it.
how to install this application?
already installed, but the error continues
not working
sermaudu said:
I already downloaded it.
how to install this application?
already installed, but the error continues
Click to expand...
Click to collapse
Clockworkmod Recovery v5.0.2.7
E:Bad boot message
"recovery "
sermaudu said:
Clockworkmod Recovery v5.0.2.7
E:Bad boot message
"recovery "
Click to expand...
Click to collapse
What?
Delete one unused app from the /system partition. You should be able to do so within Link2SD. Just filter the system apps and remove one (make sure that something doesn't rely on it!) If you don't use app E-Mail (not Gmail) you can remove it, only the E-mail and not the provider. That should work, I have done it this way too.
--
P>
Sent from my LG-P500 using xda app-developers app
not working
paul.n said:
What?
Delete one unused app from the /system partition. You should be able to do so within Link2SD. Just filter the system apps and remove one (make sure that something doesn't rely on it!) If you don't use app E-Mail (not Gmail) you can remove it, only the E-mail and not the provider. That should work, I have done it this way too.
--
P>
Sent from my LG-P500 using xda app-developers app
Click to expand...
Click to collapse
hi,
sorry by english but...
I returned to partition, reinstall the OS and link2sd works, still shows the same error does not mount the script, when I go into recovery mode get the error mentioned above ....
Delete partitions, resizing, formatting and nothing
sermaudu said:
hi,
sorry by english but...
I returned to partition, reinstall the OS and link2sd works, still shows the same error does not mount the script, when I go into recovery mode get the error mentioned above ....
Delete partitions, resizing, formatting and nothing
Click to expand...
Click to collapse
Hmm, Link2SD works but it won't work?
You need to delete some files in /system/ in order to create the mount script. Our system parition is too tall. So delete some files you don't need from system.
Example:
If you don't like E-Mail, delete Email.apk from /system/app/
And so on!
Recovery: That's normal! It isn't a problem, it's on every LG-P500!
Sent from my LG-P500 running Protos 0.0.1
not working
CodingDroid said:
Hmm, Link2SD works but it won't work?
You need to delete some files in /system/ in order to create the mount script. Our system parition is too tall. So delete some files you don't need from system.
Example:
If you don't like E-Mail, delete Email.apk from /system/app/
And so on!
Recovery: That's normal! It isn't a problem, it's on every LG-P500!
Sent from my LG-P500 running Protos 0.0.1
Click to expand...
Click to collapse
thanks
CM9 installed without problems(link2sd working smoothly), reinstall CM10 when more stable
sermaudu said:
Clockworkmod Recovery v5.0.2.7
E:Bad boot message
"recovery "
Click to expand...
Click to collapse
This not an error, a working recovery SHOULD show this.
Sorry for my bad English.
Sent from my LG-P500
Related
Hello to all in comunity.
Galaxy s has only 30MB of cache size. And this is bad because some apps on the market can't be installed, since market uses this cache partition for the downloads. Is there a way to increase this size or to symlink it on some bigger partition like /data or somewhere else?
Sent from my GT-I9000 using XDA App
Anybody? I heard that's a way to symlink cache anywhere else, but i can't do it, everytime i try a message saying "resource busy" or something like this appears on Terminal Emulator. I'm trying to symlink cache to /data.
Do you have ext4 lagfix enabled?
Sent from my GT-I9000 using XDA App
No. Do i need to enable it?
Sent from my GT-I9000 using XDA App
Using speedmod kernel with lagfix enabled on cache (ext4) gave me 100 MB.
Sent from my Galaxy S/CM7 using XDA App
avary said:
Using speedmod kernel with lagfix enabled on cache (ext4) gave me 100 MB.
Click to expand...
Click to collapse
And what version of speedmod are you using? I'm on K12-T 500Hz....if i enable ext4 lagfix on cache, will i get the 100MB too?
And also, were you using CM7 already?
Thanks!!
I tried to symlink the cache to a folder i created ala hardcore's suggestion (Thanks again hardcore!), but unfortunately I got the same sized partition as the original cache folder, which kinda makes sense. Hopefully Samsung or one of the guys on XDA (yeah, they'll probably get a fix out before Sammy does) will have a solution.
avary said:
Using speedmod kernel with lagfix enabled on cache (ext4) gave me 100 MB.
Sent from my Galaxy S/CM7 using XDA App
Click to expand...
Click to collapse
I call bull****.
So there isn't a way to do it right now? I guess we need supercurio's or hardcore's help. Please people, help to contact them. Thx!!
Sent from my GT-I9000 using XDA App
I agree
snapper.fishes said:
I call bull****.
Click to expand...
Click to collapse
So do I. I tried using the latest speedmod, and no change. Think the only solution would be to have the cache size changed in the internals. Definitely out of my league; I don't want to try changing a setting and lose the use of my phone. Hopefully someone gets a fix in; battle bears is calling...
Definitely we need to move this thread to android development and see if someone there with enough skills can help us. I think it's an urgent problem. What about battle bears? And what if gameloft start to sell their games on android market now?
Sent from my GT-I9000 using XDA App
Thanks!!!!
gangpe said:
I tried to symlink the cache to a folder i created ala hardcore's suggestion (Thanks again hardcore!), but unfortunately I got the same sized partition as the original cache folder, which kinda makes sense. Hopefully Samsung or one of the guys on XDA (yeah, they'll probably get a fix out before Sammy does) will have a solution.
Click to expand...
Click to collapse
lucbl1 said:
Anybody? I heard that's a way to symlink cache anywhere else, but i can't do it, everytime i try a message saying "resource busy" or something like this appears on Terminal Emulator. I'm trying to symlink cache to /data.
Click to expand...
Click to collapse
How do you guys exactly try to symlink it? I guess more people could help out if they knew exactly what you are doing and what the error messages exactly say.
I'm not really interested in getting a bigger cache partition since I don't use really big apps, but this would probably be thay way I'd do it:
(you could type these command either through adb shell or directly on the device using a terminal emulator -- WARNING: these commands are not tested and may horribly break something)
Code:
mkdir /data/cache
busybox rm -rf /cache
busybox ln -s /data/cache /cache
shantzu said:
How do you guys exactly try to symlink it? I guess more people could help out if they knew exactly what you are doing and what the error messages exactly say.
I'm not really interested in getting a bigger cache partition since I don't use really big apps, but this would probably be thay way I'd do it:
(you could type these command either through adb shell or directly on the device using a terminal emulator -- WARNING: these commands are not tested and may horribly break something)
Code:
mkdir /data/cache
busybox rm -rf /cache
busybox ln -s /data/cache /cache
Click to expand...
Click to collapse
I was just using the same code you posted. But i think that for symlinking, /system and /data must be in Ext2/3 or 4 format, am i right? I'll be testing it in the weekend!
I mentioned this issue to supercurio who is looking into it.
Sent from my GT-I9000 using XDA App
lucbl1 said:
I was just using the same code you posted. But i think that for symlinking, /system and /data must be in Ext2/3 or 4 format, am i right? I'll be testing it in the weekend!
Click to expand...
Click to collapse
well, tbqh I didn't work much with RFS, so I am not sure if it supports symlinks, I guess it can't hurt to try though...
If it doesn't work on RFS you'd have to try some ext FS (ext2, ext4, whatever you prefer).
rlorange said:
I mentioned this issue to supercurio who is looking into it.
Click to expand...
Click to collapse
So maybe supercurio can fix it. Let's hope! Any news please report here.
Sent from my GT-I9000 using XDA App
Problem fixed on last speedmod kernel!
Sent from my GT-I9000 using XDA App
can someone plz help me? i got the problem and its rly annoying..i have 2.3.3 xxjvo with cf_root how do i fix this ****?!
romdroid. said:
can someone plz help me? i got the problem and its rly annoying..i have 2.3.3 xxjvo with cf_root how do i fix this ****?!
Click to expand...
Click to collapse
If rou are rooted just folow this commands in terminal...
su
mkdir /sdcard/tempcache
mount -o bind /sdcard/tempcache /cache
This is temporary, after reboot cache will return normal and you can delete tempcache in sdcard...
Cheers
Hi all,
I'm new to mods and all, but i think i messed something up using a terminal on my mac with my g3 connected.
I can install any mod i like, but they are always slow, i mean REAL SLOW! opening the task manager for instance takes a minute sometimes.
i think it has something to do with the cache partition on my phone? i once installed a rom that had an app where you could chose the kind of file system i wanted for system, data, cache, ... but i forgot the name of the rom, anyway it had something to do with data2sd etc... i had to enter some commands in a terminal etc.. damn this is hard to explain
anyway, is there a way to fix this problem, i get errors like
can't mount /dev/block/stl7 (file already there) and same for stl8
tnx all!
bramw82 said:
Hi all,
I'm new to mods and all, but i think i messed something up using a terminal on my mac with my g3 connected.
I can install any mod i like, but they are always slow, i mean REAL SLOW! opening the task manager for instance takes a minute sometimes.
i think it has something to do with the cache partition on my phone? i once installed a rom that had an app where you could chose the kind of file system i wanted for system, data, cache, ... but i forgot the name of the rom, anyway it had something to do with data2sd etc... i had to enter some commands in a terminal etc.. damn this is hard to explain
anyway, is there a way to fix this problem, i get errors like
can't mount /dev/block/stl7 (file already there) and same for stl8
tnx all!
Click to expand...
Click to collapse
Did you change the filesystems?? Convert all to rfs and then try.
dhirend_6d said:
Did you change the filesystems?? Convert all to rfs and then try.
Click to expand...
Click to collapse
That must have been the problem, i installed g3mod kernel and the g3mod app to convert the filesystems, tryed all rfs andeverything seems to be OK now! tnx!
Hey Guys whenever i download any apps from market i get the error Install Unsuccessful .... Insufficient storage ...
What to do :-/
Rom Hell Fire v7.2
UOT Kitchen Flashed 1
Overclocked 729 Mhz
Wildfire
delete apps or move some to SD card? If your memory is full it's logical you can't add apps
Sounds to me that a2sd is not properly set up.
I been having some issues running out of storage internaly. and after some fiddeling around with a2sd it was ok. And how to do it is posted in this rom's explanation on how to install it.
ruymanca said:
The ROM takes about 10 minutes to start for the first time since the beginning makes for a facility, I recommend formatting the memory trageta do a clean install or possibly delete the folders: ANDROID, LOST DIR ANDROID as these folders SECURE conflicts created by data from the old roms
I recommend making partitions ie swap64mb ext512 and the rest as fat32 mind too expensive or necessarily recommend formatting the card will memory or possibly delete the folders in the same android, haer all the wipes, the Rom takes a few minutes to make first start since being installed all the extras on the first boot takes 3 to 5 minutes, once this echo this start and made previous settings obligation is to do a reboot for full functionality telefeno
Installation of the rom:
1. reboot in recovery mode
2. we wipes all
3. selected to install update sip
4. restart the tlf
5. enter the terminal console and register the following:
his press enter
# a2sd cachesd or enter
the phone will reboot and have about 150 megs of free internal memory
Click to expand...
Click to collapse
nope dint workk :-/
Type "su" first (Without Quotes), then try the a2sd command.
Can u mention it Step by Step?
Hi all, i have same issue.
Yesterday i finally rootat my Wildfire and put Cyanogenmod 7.0.3.stable on it.
Its very nice!
BUT cant allways install apps from market. I have 87mb free on inside memory and 1,7gb in sdcard... So what is problem?
What i need to do? I can full wipe all my data from telefone if somone tell me how i can do this..
Can somone help?
Use dalvik wipe from xrecovery to clean ur phone data..
Sent from my U20i using XDA Premium App
try istalling darktremor a2sd script (need to be istalled from recovery if not already integrated into your rom) and download a2sdgui from market, it's a gui for the script mentioned earlier. into recovery you have to partition your sd card too (advanced) 1024mb ext and i suggest 64mb swap, then open the app I told you (a2sdgui) and move everything to ext, dalvik cache too.
I agree with the poster above.
if you have issues with a2sd, I recommend installing A2SDGUI from market. (I assume you already have darktremors a2sd script installed). I had darktremors script working fine, but after flashing a zip file, it was not working. So I installed the A2SDGUI from darktremor and fixed the script. Now it is working. Just search the market and install it. It is great. Now I have around 168 MB free after all the installed apps.
Hope this helps,
SOLUTION TO INSUFFICIENT STORAGE:
1. Use FROYO+ default apps2sd. It gives the option to force moving of 95% of the apps to sdcard. Even root is not necessary. You can move 95% of apps only after using the adb command "adb shell pm setInstallLocation 2". This command is not even needed in cm7. And this method uses the fat/fat32 partition of sdcard not the ext partition. Specifically apps will be installed to .android_secure folder in the root of sdcard.
2. This method includes creating ext partition on sdcard and using an app called "link2sd". This is a root only app. No scripts are needed. That app has option to even link individual apps to ext partition. Also links dalvik cache.
3. Creating ext + swap partition and using dtapps2sd script. Root is required. Also custom recovery is required for flashing the script. This might be the toughest one but it is pretty awesome. Moves apps , data, dalvik cache to ext partition. Everything can be done with commands from the terminal emulator. Or you can use the "a2sdgui" app for graphical user interface.
Sent from my HTC Wildfire using XDA App
The GUI for the script is much more user-friendly than emulator terminal. And you can undo everything you did if it's not as you tought faster than from terminal.
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Thanks a lot!
I just get my new sd-card( 16 Gb) and install darktremor a2sd script + a2sdgui.
Works just like it says!
No more thinking what program van install and what not....
Well I just installed the MOdd Again ... and I was done
Though i bought Samsung Galaxy ace as its my second time the Touch Panel doesn't work ... first in Tattoo and den in Wildfire
So ... Thanx a lot guys for Helping
DestinyAwaits said:
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Click to expand...
Click to collapse
Working perfectly fine for me Thanks!
Everytime I turned on my phone or if it rebooted, I always get:
Android is upgrading
-----------------------------
Starting Apps.
I am on stock ROM, TWRP recovery, Faux kernel. I think this happens after I wiped dalvik/cache in the recovery. Any idea how to stop it? It's nothing very major though as it only takes a few seconds.
are you using any sound/volume mods? or any other flashable mods? i think awesomebeats dies this, at least others have complained about it wiping the dalvik after every reboot.
cdon2109 said:
Everytime I turned on my phone or if it rebooted, I always get:
Android is upgrading
-----------------------------
Starting Apps.
I am on stock ROM, TWRP recovery, Faux kernel. I think this happens after I wiped dalvik/cache in the recovery. Any idea how to stop it? It's nothing very major though as it only takes a few seconds.
Click to expand...
Click to collapse
That's normal if you've wiped the Dalvik cache, and no you can't stop it.
Edit: so wait, this is happening even when you reboot normally after not wiping any caches or flashing a kernel?
CMNein said:
That's normal if you've wiped the Dalvik cache, and no you can't stop it.
Edit: so wait, this is happening even when you reboot normally after not wiping any caches or flashing a kernel?
Click to expand...
Click to collapse
yes.. and it updates apps after delvic wipe.. but in my case whenever i restart I see the "Android is upgrading" box for about 3-5 sec.. no update app progress bar.. and when I wipe delvic this upgrading apps takes like a min or so with my 150+ apps.. but this "Android is upgrading" dialogue box appears only for 3-5 sec..
I am using PA 3.99 with franco kernel.. once booted every thing inside is running smoothly and no fc's...
Same here. No odex files in app folder. No wipe, no cache clearing. Plain reboot. And Android is upgrading message on every boot. (Starting apps)
No optimizing apps message though.
Sent from my Nexus 4
Wouldn't it be related to "zipalign apk on each boot" parameter ? or an other init script put in place by a dirty flash (no /system or /data format) or a kernel... ?
Seems likely. Could you explain in detail kindly?
Sent from my Nexus 4
anandbibek said:
Seems likely. Could you explain in detail kindly?
Sent from my Nexus 4
Click to expand...
Click to collapse
Have a look in the files located in this folder for example (maybe there's another location for init scripts) :
- /system/etc/init.d/
- /system/addon.d/
and open each one, to see what are the tasks contained
benbugohit said:
Have a look in the files located in this folder for example (maybe there's another location for init scripts) :
- /system/etc/init.d/
- /system/addon.d/
and open each one, to see what are the tasks contained
Click to expand...
Click to collapse
Removed the scripts present in init.d folder and then booted with empty folder, but message still present.
Checked the addon.d folder, but those scripts are only for backing up gapps etc.
Not sure where else to try. Please advise.
Thanks.
anandbibek said:
Removed the scripts present in init.d folder and then booted with empty folder, but message still present.
Checked the addon.d folder, but those scripts are only for backing up gapps etc.
Not sure where else to try. Please advise.
Thanks.
Click to expand...
Click to collapse
Did you try to re-flash your (stock) ROM (and the kernel after 2 reboots) with wiping only /cache and dalvik-cache ? with latest 2.6.2.0 TWRP ?
happens to me too
Sent from my Nexus 4
I've seen people get this with stuff like V6 Supercharger by Zepplinrox and similar scripts.
Edit : @Dungeon47: thanks for this information that users can't provide...
HeyyMyNameIs said:
happens to me too
Sent from my Nexus 4
Click to expand...
Click to collapse
A pity that so much details are missing : what did you do before it happened ?
What's your set up ? rom, kernel ? after having update your rom ? kernel ? apps ? which versions ?
Did you try to revert to a clean install after having backup up your apps+datas ?
benbugohit said:
Edit : @Dungeon47: thanks for this information that users can't provide...
A pity that so much details are missing : what did you do before it happened ?
What's your set up ? rom, kernel ? after having update your rom ? kernel ? apps ? which versions ?
Did you try to revert to a clean install after having backup up your apps+datas ?
Click to expand...
Click to collapse
im sorry, just wanted the OP to know that he is not the only one with this "problem" by the way im rooted stock rom and kernel, some apps start up when i boot like nova launcher, lucky patcher sidebar and udn. But i am not looking for a fix for this as this does not take that long and i just said that to let the OP know that he is not alone with this "problem"
Sent from my Nexus 4
Ok guys,
Here's the solution. Don't flame me for talking about unholy stuffs. I'm posting this only because it is the cause of the problem.
If you are using LP or such tools to create .odex files of some app in /app folder. It won't cause any boot msg.
But after you dirty flash a ROM, that .odex files somehow gets backdated and causes the UPGRADING msg.
Fix is, delete the odex files, and re create them if needed. Once after every dirty flash.
Sent from my Nexus 4
I have found fix for this error, it is mainly due to odex files which are created by lucky patcher so deleting these files using lucky patcher itself will surely remove this error with 50 percent success rate. Here's the fix; open lucky patcher, there in lower left section you can see Toolbox, click that Toolbox then select 4th last option i.e Remove all odex files.Thats it android will reboot on itself and vola no android is upgrading. .
Check out attachment for help.
:good:Hits Thanks If I helped u:good:
LINK TO THE THREAD WITH THE AUTOMATED SCRIPT (thanks to @skyguy126): http://forum.xda-developers.com/moto-g/general/mod-storage-reloacting-dalvik-cache-t2953616
Hello everybody
as you may know, our Moto G's internal eMMC card has a ~600Mb partition called /cache, which is not used since the apps' cache is stored in /data, so the latter fills up and the first one stays empty.
Owning a 8Gb model, having 600Mb not available for storage really bugged me, because my phone's memory (/data partition) was always full because it's a 5.7Gb space shared between apps and microSD files.
Well, thanks to @skyguy126, who linked me to this guide, I managed to link the dalvik cache files to the /cache partition
Now, it may not work for you if:
a) you have A LOT of apps installed.
And by "a lot", I mean more than 90-100 apps, but if you have a 8Gb model, you probably don't :laugh:
b) you're running ART
Since ART uses a lot more space than dalvik, the space in the /cache partition probably won't be enough. When I was running ART, it used 1Gb more than dalvik.
Other than that, all you need is a rooted phone, the Terminal Emulator app installed (HERE), a root file manager, at least one hand and a working brain
I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT HAPPENS TO YOUR PHONE, CONTINUE AT YOUR OWN RISK.
Steps:
1) Open any text editor, messaging app, notes app or anything that allows a text input. write the following line, select it and copy it to your clipboard (you'll need it later).
Code:
ln -s /cache/dalvik-cache /data/dalvik-cache
Also, make sure you open the Terminal Emulator app and type in "su" (without quotes), then grant it superuser access. You'll need to switch to it quickly.
2) Open your root file manager, while making sure you still see the terminal emulator's notification (I used Root Explorer but any other app should work just fine), go to /data, select the /dalvik-cache folder (just to be sure, hit "properties" to check its size. If it's less than 600Mb you're good to go. If it's not, this won't work, sorry) and move (NOT copy, MOVE) it to /cache. If it asks you to merge two folders, do it.
NOTE: now some apps may start force closing, it's normal, keep going
3) Switch to the Terminal Emulator app (via the recents screen or by tapping its notification" and paste the text you copied at the beginning by long-pressing the black screen and hitting "Paste" (DUH?!?), hit enter, make sure no error messages come up, then reboot.
TA-DAAAA!
Your dalvik cache is now linked to the /cache partition, enjoy that half a gigabyte
If you need any help, feel free to PM me
"But Bert, what if it doesn't work and my phone explodes?"
Well, if it blows up there's nothing much I can do, but if it's just stuck at bootanimation/bootlogo/somewhere where you can't use it, simply head to the recovery and wipe dalvik-cache. This will revert the process and delete the link, putting the phone as it was before
Batch File to Automate the Process!!!
Look at reply #58 for latest information
Old:
Batch file complete, credit goes to @Bert98 for devising a method.
USE THIS COMPLETELY AT YOUR OWN RISK! You may NOT rehost, take credit, or make a paid download without the permission of @skyguy126 or @Bert98
This will only work on windows based computers!
I tested this on my moto g xt1032 16GB running CM11 Nightly and it worked fine.
Click that thanks button if it helped!
How to use:
Step 1: Download the attached file and extract.
Step 2: Double click the cachemove.rbat file and follow the onscreen instructions.
EDIT: THIS IS NOT WORKING ON MOTO G STOCK 4.4.4!!!
I am working on this issue but any help is greatly appreciated!
Common errors:
"adbd root cannot run as root in production builds"
Solution: http://forum.xda-developers.com/showthread.php?t=1687590
Install the app and run it. Enable insecure binary.
Changelog:
v1.1 - Fixed some minor bugs in script.
v1.2 - Added a restore script.
Keep in mind that the /cache partition will be slower as it's a ext4 partition as opposed to f2fs
DustArma said:
Keep in mind that the /cache partition will be slower as it's a ext4 partition as opposed to f2fs
Click to expand...
Click to collapse
/data is a F2FS only on stock ROM, on GPE and other ROMs it's ext4 as well
Inviato dal mio Moto G utilizzando Tapatalk
Bert98 said:
Hello everybody
as you may know, our Moto G's internal eMMC card has a ~600Mb partition called /cache, which is not used since the apps' cache is stored in /data, so the latter fills up and the first one stays empty.
Owning a 8Gb model, having 600Mb not available for storage really bugged me, because my phone's memory (/data partition) was always full because it's a 5.7Gb space shared between apps and microSD files.
Well, thanks to @skyguy126, who linked me to this guide, I managed to link the dalvik cache files to the /cache partition
Now, it may not work for you if:
a) you have A LOT of apps installed.
And by "a lot", I mean more than 90-100 apps, but if you have a 8Gb model, you probably don't :laugh:
b) you're running ART
Since ART uses a lot more space than dalvik, the space in the /cache partition probably won't be enough. When I was running ART, it used 1Gb more than dalvik.
Other than that, all you need is a rooted phone, the Terminal Emulator app installed (HERE), a root file manager, at least one hand and a working brain
I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT HAPPENS TO YOUR PHONE, CONTINUE AT YOUR OWN RISK.
Steps:
1) Open any text editor, messaging app, notes app or anything that allows a text input. write the following line, select it and copy it to your clipboard (you'll need it later).
Code:
ln -s /cache/dalvik-cache /data/dalvik-cache
Also, make sure you open the Terminal Emulator app and type in "su" (without quotes), then grant it superuser access. You'll need to switch to it quickly.
2) Open your root file manager, while making sure you still see the terminal emulator's notification (I used Root Explorer but any other app should work just fine), go to /data, select the /dalvik-cache folder (just to be sure, hit "properties" to check its size. If it's less than 600Mb you're good to go. If it's not, this won't work, sorry) and move (NOT copy, MOVE) it to /cache. If it asks you to merge two folders, do it.
NOTE: now some apps may start force closing, it's normal, keep going
3) Switch to the Terminal Emulator app (via the recents screen or by tapping its notification" and paste the text you copied at the beginning by long-pressing the black screen and hitting "Paste" (DUH?!?), hit enter, make sure no error messages come up, then reboot.
TA-DAAAA!
Your dalvik cache is now linked to the /cache partition, enjoy that half a gigabyte
If you need any help, feel free to PM me
Click to expand...
Click to collapse
Hello! Thnk you for the tip, but, with me, i think, didnt work.
Im stuck in the boot, can you helpme to restore the directories? BTW, i have folloed all the steps like you say, i dont know why not work, im using CRom
Greetings!
KahosTch said:
Hello! Thnk you for the tip, but, with me, i think, didnt work.
Im stuck in the boot, can you helpme to restore the directories? BTW, i have folloed all the steps like you say, i dont know why not work, im using CRom
Greetings!
Click to expand...
Click to collapse
Do you have TWRP on your device?
Inviato dal mio Moto G utilizzando Tapatalk
i have CWM, philz touch.
(any idea why didnt work? :c )
KahosTch said:
Hello! Thnk you for the tip, but, with me, i think, didnt work.
Im stuck in the boot, can you helpme to restore the directories? BTW, i have folloed all the steps like you say, i dont know why not work, im using CRom
Greetings!
Click to expand...
Click to collapse
To get it working just wipe dalvik cache in cwm, it will re-create directory in /data.
I had the same issue..
I will try to investigate what went wrong with this....
fabus said:
To get it working just wipe dalvik cache in cwm, it will re-create directory in /data.
I had the same issue..
I will try to investigate what went wrong with this....
Click to expand...
Click to collapse
jaja Thakyou, that work.:fingers-crossed:
I have found an issue. When you are copying /data/dalvik-cache to /cache/dalvik cache permissions can be mismatched (different partition type).
To fix it just:
- Go to CWM
- Connect phone to PC (should be recongnized as ADB device, if not check in Hardware Manager how it was recongizes)
- issue "ADB shell" command
- in Android shell: chmod 644 /cache/dalvik-cache/*
- reboot and you are done
I have made up an easier way to achive dalvik-cache on /cache partition:
On running android:
- make sure /cache/dalvik-cache folder is empty!!
- Rename /data/dalvik-cache to /data/dalvik-cache2
- ln -s /cache/dalvik-cache /data/dalvik-cache
- reboot and done
Android will recreate dalvik cache in /cache/dalvik-cache dir, it will take about 10 minutes, so be patient
if something goes wrong, just rename /data/dalvik-cache2 by ADB (e.g. in CWM)
I hope if was helpfull.
Cheers,
good work
Thank you for this. I will definitely be doing this.
You should make a batch file that does this whole process automatically. I would be happy to assist!
Guys could some experts code a batch file for this?
I appreciate the guide but terminal codes etc are beyond me.....
600mb is quite a lot of space to gain for an 8gig moto g
Sent from my XT1032 using XDA Free mobile app
AndroidHtc101 said:
Guys could some experts code a batch file for this?
I appreciate the guide but terminal codes etc are beyond me.....
600mb is quite a lot of space to gain for an 8gig moto g
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
It's up to 600mb. It's what ever size your dalvik cache is. I don't think this will work on android 5.0 since the change to art.
Yep I'll work on it... Hopefully it'll work, no promises...
skyguy126 said:
Yep I'll work on it... Hopefully it'll work, no promises...
Click to expand...
Click to collapse
That'd be great, since I know nearly nothing about batch files if you succeed, I'll put it in the OP
Inviato dal mio Moto G utilizzando Tapatalk
Skyguy
I have around 125apps and 500mb free, would installing the batch screw my phone up?
Thanks for helping
Sent from my XT1032 using XDA Free mobile app
AndroidHtc101 said:
Skyguy
I have around 125apps and 500mb free, would installing the batch screw my phone up?
Thanks for helping
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
It depends on your /data/dalvik-cache folder's size, you can check with root explorer
Inviato dal mio Moto G utilizzando Tapatalk
Hi Bert
It's 466.92mb
If I could get 500mb of more free space I would have a gig free which would really help my 8gb moto g
Sent from my XT1032 using XDA Free mobile app
AndroidHtc101 said:
Hi Bert
It's 466.92mb
If I could get 500mb of more free space I would have a gig free which would really help my 8gb moto g
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
Follow the instructions in the OP then, you're good to go
Inviato dal mio Moto G utilizzando Tapatalk