[Q] Best way to free up space? - Xperia Play Q&A, Help & Troubleshooting

I've just rooted and would like to get more space, is there an app that will force all apps to move to SD or would I be better off using Titanium Backup to uninstall the bloatware?
and if I uninstall the bloatware, will I still be able to update? Either OTA or via the PC Companion?

For me, I downloaded [SystemCleanUp] and deleted all systems apps and widgets that I don't use and I got free 226MB of intrenal storage and 202 MB ram free
*This app takes automatically back up of all apps you deleted in a hidden folder in sd card
And try this [DroidSail Super App2SD] best and easiest app to move any app you installed to sd card - doesn't move systems apps -

Read This Thread
You can read through this thread to get more free space.
http://forum.xda-developers.com/showthread.php?t=1340747
I Would NOT recommend Moving AdobeFlashPlayer to the card though. I had phone freeze issue with that. Other than that it works fine now that i restored and left adobe alone.
You will need either, a terminal emulator or adb drivers on your pc to run command prompt adb shell:
Open Command prompt on PC. Plug in phone(still powered on).
type: adb shell >press enter
type: pm setInstallLocation 2 >press enter
type: exit >enter
unplug phone and reboot it.
----------------------------------------------------
If using Terminal Emulator:
Open up a terminal emulator and type in:
su
pm setInstallLocation 2
exit
And reboot.
---------------------------------------------
Another option, and is also easy, is the Link2sd Guide at XperiaBlog.net.
Hope this Helps. You can THANK me if it does. Also thanks to TLRtheory for his original post.

Related

How to check if Apps2SD has been installed correctly...

The following information is for those who are still unsure of whether Apps2SD has been installed and if it is working correctly after root.
Open a Terminal Editor on your phone (I currently use ConnectBot, which is available for download via the Android Marketplace, comes with hotkeys, and it's free, link <here>).
When you have the client open, type "su" to gain super user access, and then hit enter. Now type "ls -l /data" and hit enter. You should see a few lines, a couple of which should read on the far right column:
dalvik-cache -> /system/sd/dalvik-cache
app-private -> /system/sd/app-private
app -> /system/sd/app
Notice the -> indicating symlinks and the 'sd'
You can also run: busybox df -h to check the /system/sd that the folder is being used
If this output is visible to you, then Apps2SD is working properly and you have installed it correctly. You will notice that by checking Menu > Settings > SD & phone storage, there is still some internal memory going down due to cache, other data, etc, but the main apps all go on the SD card given the above result. I currently have 29 apps installed (including Google Earth, which is 22.1 MB in size itself) and my internal memory currently shows 119MB of available space.
You can perform more extensive checks by executing the following command:
ls /system/sd/app (this will list all the apps which you have installed to the SD card)
If you prefer to run it from a PC with your phone connected, then this can also be checked via ADB by installing the relevant Android SDK for your OS. Downloads for SDK versions, link <here>.
Alternatively, you can use the script (written by theboxman from MoDaCo.com), which you can run via GScript Lite to test if Apps2SD is working correctly, link <here>.
how about unlock?
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.
Hi Mastoid,
Could you tell me how exactly to run this from PC?
I've got the whole SDK installed but no idea what i have to do...open a prompt or something? Please inform as i'd really like to check.
You need to download the Android SDK and also Java.
http://java.sun.com/javase/downloads/widget/jdk6.jsp
http://developer.android.com/sdk/index.html
Then open a command prompt in Windows, plug in your Desire (your phone does not need to be in hboot/fastboot to access adb shell).
1) Open a command prompt on your computer and cd to your adb tools directory (it will be wherever you extracted the sdk; ie, c:\android-sdk_r04-windows\android-sdk-windows\tools
2) In that window enter the following commands:
adb shell
su
ls -l /data
this should list the top 2 items as:
lrwxrwxrwx root root 2010-04-28 22:54 app-private -> /system/sd/app-private
lrwxrwxrwx root root 2010-04-28 22:54 app -> /system/sd/app
ls -l /system/sd/app (will list apps on installed to your SD Card)
Now, for final proof, type:
busybox df -h
iom_jack said:
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.
Click to expand...
Click to collapse
Do you mean to have it sim-unlocked?
http://uk.answers.yahoo.com/question/index?qid=20100328154024AA1abkl
Great!
That worked, though the items you mention are not at the top but a couple of rows down. Busybox did show the apps installed on the SD.....ah, peace of mind
thx for the instructions!
no problem bud, glad it worked out for you
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Question about APP2SD.....if anyone can answer
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD
totorip said:
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD
Click to expand...
Click to collapse
I posted a thread recently showing how to check if Apps2SD has been installed correctly and is working:
http://forum.xda-developers.com/showthread.php?t=677073
How to setup App2SD?
Anyone got a clear, easy guide on getting it working? Can you install it on the standard rooted ROM from MoDaCo? Do you need to have it cooked into a ROM?
A video or something would help but I'm interested in getting it setup incase I need to get a load of apps
î did your think i i use better terminal pro
app => system/sd/app
dalvik cache => /system/sd/dalvik cache
app private => /system/sd/ app private
so how can i have around 40mb left only?
Re: Question about APP2SD.....if anyone can answer
How many apps have you installed?
How have you partitioned your sd card? i.e. swap size?, ext2 size?
Have you applied the Apps2SD update zip?
-------------------------------------
Sent via the XDA Tapatalk App
ive got maybe 40/50apps
i partitionned , 66 cache 1280m EXT 2=> EXT3
and no update....i dont need with the latest modaco R2 custom rom do i?
im afraid to reboot everything again, spent the whole day to isntall everything
30mb left :x
Re: Question about APP2SD.....if anyone can answer
I would suggest that you apply the dalvik-cache update zip and that should hopefully fix it. Note that you should only allocate 512MB to 1024MB (max) for the ext2 size and, you do not require a swap of 66MB, it is not recommended. I have my swap set to 0MB, ext2 set to 512MB which is more than enough space for apps, and rest to FAT32.
Search google for the "Apps2SD mini guide" (found via MoDaCo website) click the link and scroll down to the bottom of page one, the update zip file is available there.
-------------------------------------
Sent via the XDA Tapatalk App
is it bad? (64 swap)
i calculated, i installed 170m worth of app. And i have "43" left (started at 138)
so , somewhere, APP2SD is working...but not verry effective
Re: Question about APP2SD.....if anyone can answer
I think it is working, run the command (ls /system/sd/app) in terminal editor in the link i posted earlier and check what apps are stored to the sd card. Also, download and install "cachecleaner" from the marketplace (free) to free up some cache space.
-------------------------------------
Sent via the XDA Tapatalk App
Re: Question about APP2SD.....if anyone can answer
You have something wrong. I have also this Rom with about 53 apps and have still 134MB free.
Sent from my HTC Desire
i installed the update.zip
i went from 38 to 53mb
then i use cache cleaner , i now have 60....
and still 170m worth of app...
so is my app2sd working in half?
Re: Question about APP2SD.....if anyone can answer
I ran the command in Su, and only the 2 app ones said sd, my dalvic cache didn't say SD card. I ran the suggested update fix but had bootloop, do I need to wipe anything first? I'm using evil 1. 0 Rom and thought it came pre app2sd. . .
Id like to get dalvic moved. . .
Thanks
-------------------------------------
Sent via the XDA Tapatalk App
Lol since thazt update zip i have no more wifi....cant start wifi it says. Great

Insufficient Storage???

I'm trying to update my eBay app and keep getting this error. The weird thing is, I have plenty of memory. I've also been able to download other apps and install them fine.
I thought it was just the app itself, but from reading comments in the market, other Evo users have been able to download the update.
What can I do?
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Check your /cache partition. In terminal or via adb shell, "df /cache". If it's full, you'll get this message, as the market downloads APKs there before installing them.
bkrodgers said:
Check your /cache partition. In terminal or via adb shell, "df /cache". If it's full, you'll get this message, as the market downloads APKs there before installing them.
Click to expand...
Click to collapse
How do I do it via terminal? And what do I do if its full?
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Basically download Terminal Emulator from the market open it, and type "df /cache" <enter>
Your sig says you're rooted, so you can wipe cache from recovery.
Yea, I know how to get into terminal. I already have it. Just didn't know the command.
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Also, here are my results:
df /cache
/cache: 163840K total, 3692K used, 160148K available (block size 4096)
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Hmm. Well, it doesn't look like /cache is your problem then. I'm not sure what else to check.
Bumping up an old thread. It happened to me too after the app disappered while I was twisting the phone setup. Both market and Titanium Backup failed.
Thanks to a thread (which I do not have permission to post) I located and deleted /data/data/com.ebay.mobile folder using Root Explorer. Titanium Backup then restored it successfully. Market was still weird but in a different way though.
Steps from andyme/Pedro Mari on abovementioned thread for fixing skype:
1. Root your device.
2. set USB debuging on the device
3. go to shell with adb
3.1 su
3.2 accept su on the device
3.3 rm -R /data/data/com.skype.raider
Well I used Root Explorer instead of adb, and the folder path for ebay is /data/data/com.ebay.mobile.
jjane45 said:
Bumping up an old thread. It happened to me too after the app disappered while I was twisting the phone setup. Both market and Titanium Backup failed.
Thanks to a thread (which I do not have permission to post) I located and deleted /data/data/com.ebay.mobile folder using Root Explorer. Titanium Backup then restored it successfully. Market was still weird but in a different way though.
Steps from andyme/Pedro Mari on abovementioned thread for fixing skype:
1. Root your device.
2. set USB debuging on the device
3. go to shell with adb
3.1 su
3.2 accept su on the device
3.3 rm -R /data/data/com.skype.raider
Well I used Root Explorer instead of adb, and the folder path for ebay is /data/data/com.ebay.mobile.
Click to expand...
Click to collapse
All I had to do is kill all apps with a task killer app. Then apps install
Sent from my PC36100

Can't access my apps

For like a week I can't access my app list from the Android Market. The new version says "Once you have apps on this account you will see them here" (meaning that I haven't downloaded any apps, which isn't true); also tried unistalling to an older version which simply said "Server error. Can't access your apps right now".
I uninstalled a few phone apps using Titanium, and maybe I deleted something that is interfering with this? Or there could be a problem with my Google account? I sincerely don't know.
Do you remember which system apps you deleted?
another way to determine which apps are removed is to give us a list of all the apps.
i believe the command in ADB would be.
adb shell
ls /system/app > apps.txt
please note i have no idea if the above command will work not to good with ADB.
Or you could just install Terminal Emulator on your own phone, CD to /system/app and after that do a ls. Then do a screenshot and post it over here.
Sent from my R800i using XDA App

Insufficient Memory Error

Having just run through applying the CyanogenMod 10.1(by vijendrahs - refere below) to 4.2.2 on my HTC Desire, I've now come across the above error with some of the applications that I've been trying to install.
I've partitioned my SD card and am running mounts2sd and am using link2sd. I've also downloaded and have tried the marketfix app. I've also tried killing apps and restarting the phone none of which seem to make a difference.
The research I've done indicates that this is appears to have something to do with memory. What I've noticed is that there doesn't seem to be any particular pattern to those apps that will install and those that won't. For example the Tasks app won't install nor will Yahoo but Skype, Maps, and Gmail installed fine.
I am beginning to suspect that the error message might not actually reflect the problem that is being reported. Is there a tool or some debugging routine that I can run to expose any further insights into this?
http://forum.xda-developers.com/showthread.php?t=2070704
Why did u use mounts2sd or link2sd if in threat is recommend a2sd in terminal? I used this ROM with a2sd and all was fine, no any error according memory.
Vijendrah's JB 4.2.2 has build in A2SD. Just open Terminal Emulator from menu and type:
"#su" then hit Enter;
"#a2sd" install then hit Enter;
"Y" then Enter when first question pops-up;
"N" then Enter when second question pops-up;
"Y" then Enter when third question pops-up.
Note: type only what's inside the commas.
Thanks for the replies. In my defense, it was my first attempt at a ROM flash and I probably didn't follow the instructions properly. I I'll try a re-flash over the weekend and see how that goes.
That said, I still think that the error message is misleading unless there is something in the installation routines for those apps that is validating for a minimum amount of available RAM.
Two ideas:
1.Android will give you that error when you try to reinstall app which you tampered with using lucky patcher try running it once before attempting to install and it will remove any leftover odex files it is responsible for.
2.Or the original a2sd script is messing up link2sd, try removing 10apps2sd from system/etc/init.d with root explorer or es file explorer. Reinstall link2sd afterwards.
3.you are simply running out of internal memory, link2sd leaves dalvik in there. You can explore your sdext with es file explorer and see what's going on there or use 'df' command in terminal emulator to check if there really is no space left in internal or sdext
freebird24h said:
Two ideas:
1.Android will give you that error when you try to reinstall app which you tampered with using lucky patcher try running it once before attempting to install and it will remove any leftover odex files it is responsible for.
2.Or the original a2sd script is messing up link2sd, try removing 10apps2sd from system/etc/init.d with root explorer or es file explorer. Reinstall link2sd afterwards.
3.you are simply running out of internal memory, link2sd leaves dalvik in there. You can explore your sdext with es file explorer and see what's going on there or use 'df' command in terminal emulator to check if there really is no space left in internal or sdext
Click to expand...
Click to collapse
Curious. I reran a2sd and answered no to the second question regarding data. Upon reboot, I was able to install apps that previously failed. On the downside, I've lost the home key!
I use MildWild

Disable SDCard

I need to be able to disable the external SDcard on a bunch of tablets. These tablets are all rooted, and boot directly into our custom app so we can su commands at boot time.
I have successfully disabled the usb using this command: su -c 'echo 0 > /sys/devices/virtual/android_usb/android0/enable'
Does anyone know of a similar method that can be used to disable or prevent external SD card from functioning? I need the internal SD space to continue to function.
you can use 'unmount' command:
eg:
unmount /mtn/sdcard/.android_secure
(or su -c 'unmount ... etc)
Asmok78 said:
you can use 'unmount' command:
eg:
unmount /mtn/sdcard/.android_secure
(or su -c 'unmount ... etc)
Click to expand...
Click to collapse
I have a couple problems with this...
1. I would need to execute this whenever they reinsert the sdcard which causes it to remount
2. It doesn't always work if the sdcard is in use.
I need to prevent the external sdcard from working at all (/mnt/extsd) as a security requirement for one of our customers.
NebulaSleuth said:
I have a couple problems with this...
1. I would need to execute this whenever they reinsert the sdcard which causes it to remount
2. It doesn't always work if the sdcard is in use.
I need to prevent the external sdcard from working at all (/mnt/extsd) as a security requirement for one of our customers.
Click to expand...
Click to collapse
I don't remember all options to umount on android. In "classic" unix for problem 2 you can use option -f. For 1. - need edit /etc/fstab. I'm not sure if the android is identical.

Categories

Resources