Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,576 Members 43,853 Now Online
XDA Developers Android and Mobile Development Forum

[MOD]Cache2SD

Tip us?
 
despotovski01
Old
(Last edited by despotovski01; 14th July 2011 at 05:37 PM.)
#1  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1,872
Posts: 1,455
Join Date: Jan 2011
Cool [MOD]Cache2SD

Hey developers!
We all know that our device has little memory. The Cache partition is only 64MB, of which only 20 are free!
Because of that, I'm going to show you how to use a folder on your SD card to download games and apps from the Android Market, instead of the default one(/cache/download)!

Requirements:
-Terminal Emulator (or ADB Shell)
-Root access

Tutorial:
1. Open Terminal Emulator
2. Type these commands in order:
Code:
su
mkdir /sdcard/cache-download
rm -rf /cache/download
ln -s /sdcard/cache-download /cache/download
3. Enjoy your Cache2SD!



This was tested and it works on SwiftDroid 2.0 RC1
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
The Following 4 Users Say Thank You to despotovski01 For This Useful Post: [ Click to Expand ]
 
eoghan2t7
Old
#2  
eoghan2t7's Avatar
Recognized Contributor
Thanks Meter 2,142
Posts: 4,176
Join Date: Jan 2011
Location: Belfast

 
DONATE TO ME
Does this tweak speed up the phone in anyway?

Sent from my GT540 using XDA Premium App

Donate to my work here Paypal Donate



Get The Latest 1080p HD Porn Here: FREE 1080p Porn
The Following User Says Thank You to eoghan2t7 For This Useful Post: [ Click to Expand ]
 
despotovski01
Old
#3  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1,872
Posts: 1,455
Join Date: Jan 2011
Quote:
Originally Posted by eoghan2t7 View Post
Does this tweak speed up the phone in anyway?

Sent from my GT540 using XDA Premium App
No, but it allows you to download big games from the Market, like Pocket Legends, Drift Mania, etc.
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
 
eoghan2t7
Old
#4  
eoghan2t7's Avatar
Recognized Contributor
Thanks Meter 2,142
Posts: 4,176
Join Date: Jan 2011
Location: Belfast

 
DONATE TO ME
Quote:
Originally Posted by despotovski01 View Post
No, but it allows you to download big games from the Market, like Pocket Legends, Drift Mania, etc.
Might put that in my softmod to have a rom with it pre configured

Sent from my GT540 using XDA Premium App

Donate to my work here Paypal Donate



Get The Latest 1080p HD Porn Here: FREE 1080p Porn
 
Chxrlyglez
Old
(Last edited by Chxrlyglez; 14th July 2011 at 04:59 PM.)
#5  
Chxrlyglez's Avatar
Senior Member
Thanks Meter 83
Posts: 426
Join Date: Feb 2011
Location: México City

 
DONATE TO ME
Thanks for sharing!!!

just one question: I can't do this. When i write the third line:

Quote:
cp -a /cache/download /sdcard/cache-download
terminal says: cp: can't preserve ownership of '/sdcard/cache-download/' : Operation not permited

Can you help me??



THANKS FOR ALL YOUR WORK AND HELP
SORRY MY BAD ENGLISH
MY BEST REGARDS
pcfighter Old
#6  
Guest
Thanks Meter 0
Posts: n/a
You don't have Root permission. Root your phone using SuperOneClick, for example.
 
despotovski01
Old
#7  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1,872
Posts: 1,455
Join Date: Jan 2011
Quote:
Originally Posted by BRONCHAS View Post
Thanks for sharing!!!

just one question: I can't do this. When i write the secon line terminal says: cp: can't preserve ownership of '/sdcard/cache-download/' : Operation not permited

Can you help me??
Did you type 'su' at the beginning?
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
 
Chxrlyglez
Old
#8  
Chxrlyglez's Avatar
Senior Member
Thanks Meter 83
Posts: 426
Join Date: Feb 2011
Location: México City

 
DONATE TO ME
Quote:
Originally Posted by despotovski01 View Post
Did you type 'su' at the beginning?
Yes yes, first su and Root permision i have, bc i use Swiftdroid 2.0 RC1



THANKS FOR ALL YOUR WORK AND HELP
SORRY MY BAD ENGLISH
MY BEST REGARDS
 
despotovski01
Old
#9  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1,872
Posts: 1,455
Join Date: Jan 2011
Quote:
Originally Posted by BRONCHAS View Post
Yes yes, first su and Root permision i have, bc i use Swiftdroid 2.0 RC1
Try this:
Code:
su
mkdir /mnt/sdcard/cache-download
cp -a /cache/download /mnt/sdcard/cache-download
rm -rf /cache/download
ln -s /mnt/sdcard/cache-download/download /cache/download
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
 
eoghan2t7
Old
#10  
eoghan2t7's Avatar
Recognized Contributor
Thanks Meter 2,142
Posts: 4,176
Join Date: Jan 2011
Location: Belfast

 
DONATE TO ME
Quote:
Originally Posted by BRONCHAS View Post
Thanks for sharing!!!

just one question: I can't do this. When i write the third line:



terminal says: cp: can't preserve ownership of '/sdcard/cache-download/' : Operation not permited

Can you help me??
Thats the same error im getting. Even after clearing the download folder.

Sent from my GT540 using XDA Premium App

Donate to my work here Paypal Donate



Get The Latest 1080p HD Porn Here: FREE 1080p Porn

Tags
cache2sd, cyanogen, gt540, mod, optimus
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes