moving app - Desire Q&A, Help & Troubleshooting

other than moving apk from "data/app" to "system/app" there are other file i can move to free user space?
cache? dalvik?
some user config file? if they are only some kb i don't care about them
.dex file? they will be created after 1st run of an app but were they are stored? rom? user mem? can be moved?

i must admit i didn't understand what ur saying !

DarkAngel00 said:
other than moving apk from "data/app" to "system/app" there are other file i can move to free user space?
cache? dalvik?
some user config file? if they are only some kb i don't care about them
.dex file? they will be created after 1st run of an app but were they are stored? rom? user mem? can be moved?
Click to expand...
Click to collapse
.dex files are used by the dalvik cache on odexed roms...... if your using a stock rom, root and use a custom rom with apps2sd. or you may want to think about changing the mtd partions on your device to add more space to /data

excuse me for bad english, my question is:
other then apk in data/app there are other file i can move to system partition to free space for app?

u can apply this without rooting , or install a custom rom, or maybe apply sibere's data2sd (basicly what Andro mentioned)

There're no useless files in system which you may move to have free space, it's only the .apk files which you can move or you may partition your sd card to have the required space.
Hundreds of tutorials available on how to partition the card.

Related

[Q] Safe to remove APKs?

My Desire's ROM is full. I have rooted the phone and using root explorer to remove garbage from the ROM. There are many apps in /system/app. Each app has a .apk file and an .odex file. Is it safe to move the *.apk files to my sd card to save up space? Or are they needed to run the application?
Thanx
norad73 said:
My Desire's ROM is full. I have rooted the phone and using root explorer to remove garbage from the ROM. There are many apps in /system/app. Each app has a .apk file and an .odex file. Is it safe to move the *.apk files to my sd card to save up space? Or are they needed to run the application?
Thanx
Click to expand...
Click to collapse
Think you may need to read a fair few of the posts in the forum if you are asking is it safe to remove apk's.
A fair answer is yes and no.
Some you can some you can't.
Removing the wrong ones will cause havoc with your phone.
Why not try flashing one of the custom Roms on here.
Thanx Raze.
I believe that the operating system either *needs* or *doesent need* an apk file in the system/app folder for the app to function correctly.
My question is: Does android 2.2 *need* or *not need* the .apk file of an app to exist in the /system/app folder in order for the app to function correctly? Isnt the odex file enough?
Since apk's are package files, my impression was that maybe they are not needed after the app is installed.
deleted .apk file = uninstalled app
deleted important.apk file = havoc on your phone
norad73 said:
My Desire's ROM is full. I have rooted the phone and using root explorer to remove garbage from the ROM. There are many apps in /system/app. Each app has a .apk file and an .odex file. Is it safe to move the *.apk files to my sd card to save up space? Or are they needed to run the application?
Thanx
Click to expand...
Click to collapse
You won't get any advantage from that; freeing space on the system storage partition won't lead you to have more room for your apps on the internal storage of your device: those are two different partitions. If you want more space on the internal storage partition you should flash a custom, resized partition table (you need s-off, look on the related topic for the howto) and (if you didn't do that yet) partition your sd, so that you can use a2sd scripts to move your stuff there. That's the best you can do if you wanna have more room for your apps, everything else won't help much imo
norad73 said:
Thanx Raze.
I believe that the operating system either *needs* or *doesent need* an apk file in the system/app folder for the app to function correctly.
My question is: Does android 2.2 *need* or *not need* the .apk file of an app to exist in the /system/app folder in order for the app to function correctly? Isnt the odex file enough?
Since apk's are package files, my impression was that maybe they are not needed after the app is installed.
Click to expand...
Click to collapse
My understanding (please correct me if i am wrong as i am so used to windows phone) is that the odex file is simply the integrity of the apk. lots of roms now are de-odexed so you can push or zip-flash a file into its place and it will still function. if the rom still has the odex files this is not possible as the phone will check the apk against the odex file and bootloop. The apk is the install package and the woking part of the file itself. Your best bet would be to flash a rom with A2SD installed in it. This accesses a fat3 partition on your sd card which the android os sees as extra internal space. I'm running LeeDroid 2.2d A2SD version. I have more apps installed now than when i was on a stock rom (motonav, psx4droid, angry birds, snesoid etc) and my phone still says i have 85mb or 52% of my space left
Thank you guys, now it is clear.
I keep getting a storage space low warning on my Desire, and I am trying to find out how to free up some space. My phone is rooted, my sd is partitioned, and most of my apps are installed on the SD with apps2sd.
Any apps still installed on the phone do not support installing on the SD. I have removed almost all apps and left only a very few that cannot be moved.
EDIT: Just realized that HTC Mail data was taking up 65mb of the phone memory.... deleted it and now my phone can breathe again
you are rooted? well if you use a2Ext you dont have to move your Apps to SD.
Moved to Q&A as not development.
Please do not post such questions in development.
Check those articles:
Safe to remove apks:
http://androidforums.com/droid-x-al...t-apps-apks-removable-non-removable-root.html
http://wiki.cyanogenmod.com/index.php?title=Barebones
Custom MTD Partitions (resize data, system, and cache):
http://forum.xda-developers.com/showthread.php?t=806321

[Q] Android /System/app question

Guys,
I want to understand Android a bit better.
I'm running LeeDroid 2.2d A2SD, so all my apps are running on the SD
1) Now what is the difference between \System\app & \Data\app ?
2) Which of those two is redirected to the SD card?
3) Is there some good reasons to put an application in \system\app instead of \data\app, performance maybe ?
Thanks for the gurus that can answer these questions
/system/ is the system partition, under normal conditions, users do not have write access to this partion. Obviously rooting and s-off will allow write access to this partition, /data/ is the user partiton, it holds all downloaded apps in /data/app and all user data and settings in /data/data. When you use app2sd+ /data/app/ and the dalvik cache is moved to /system/sd/app and /system/sd/dalvik-cache. (the ext partition). Now although you can manually move apps to /system/app, these apps will not be updatable by normal methods, the only way to update apps on the /system/ partition is to manually replace the old .apk with the updated version. One great way ive found to increase space is to change the partition tables of the mtd partitions on your device. Basically reducing the size of the /system/ partition and adding that reclaimed space to data, there is a tut in the development section on this!
Sent from my HTC Desire using Tapatalk
QuestiOn
Ok so it is best to put launcher pro and beautifull widgets on the /system/app directory so that it can be loaded from memory instead of SD card.
So I tried to copy the launcherpro apk from /data/app to /system/app after putting the system directory in RW mount with root explorer.
But it doesnt seem to happen and after one minute the phone reboots and nothing has been done ...
Probably because launcher pro is running..
Question 1: How can I write the launcher pro and beautifull widgets apk to the /system/app directory
Question 2: What happens to the settings/data from launcher pro?

[Q] where are market downloads stored?

gents,
I wonder in which folder the downloaded market apps go before the get installed.
Additionally the question rises if one can delete those files or do they get deleted automatically after installation??
HorNet505 said:
gents,
I wonder in which folder the downloaded market apps go before the get installed.
Additionally the question rises if one can delete those files or do they get deleted automatically after installation??
Click to expand...
Click to collapse
They are run from the location they are downloaded to on the phone. So when you download a file from the App Market it will be stored in the folder, installed and run from said APK. If you move it to SD it moves the file from internal to external. If you uninstall the file if it sits on the phones memory it will automatically delete the file.
Not quite. They are stored on the cache partition. They are not always deleted, but they do not take up app space as the partition size is fixed. And when the space is needed on the cache partition, eventually they are deleted.
Is the cache folder visible to me? What's it called.
I got the problem that, despite all my apps are moved to my SD card, the updates fill up my internal memory. I understood that the updated apps are as well moved to the SD card. This is my default setting as well i
Downloaded apks are gets stored in /data/app. You need ROOT access to locate them. Root Explorer will let you access these files.
ip2op01 said:
Downloaded apks are gets stored in /data/app. You need ROOT access to locate them. Root Explorer will let you access these files.
Click to expand...
Click to collapse
Let me make a correction here: installed apps are stored in /data/app (requiring root for write permissions). System apps are stored in /system/app (requiring S-OFF or Recovery mode for write permissions). Downloaded apks are stored in /cache/download, which is why in partition tables, where the cache partition is >5 MB, you should symlink the download folder to a folder in the sdcard, to be able to download apps larger than 5 MB. Otherwise the market will return the error "Insufficient storage available." or something like that.
Not that all of that really matters, seeing as this is a year old thread...
Please use the Q&A Forum for questions Thanks
Moving to Q&A

system app space

maybe a daft question but what is the benefit from deleting system apps,wallpapers etc.
does it speed up things , create more space?
anybody no
Speed up things? Not really, it is a linux based device, not windows But depending on what you delete (e.g. running unnecessary apps).
Removing factory stuff will create more space.
And what to remove? It depends on the ROM what you use. If it is a HTC Sense based ROM, then there is a list over at Leedroid's site what can be remove.
cheers, what will it create more space for tho? can u say obtain apk files of apps from the market and install then as system apps therefore creating more space for downloaded apps on internal memory?
Just cut and paste apks from /data/app into /system/app, preferably large apps that rarely get updated and your unlikely to uninstall.
Or
Use titanium backups "convert to system app" feature.
Don't forget they will disappear when updating your rom.
Sent from my HTC Desire using XDA App
i can convert to system apps in titanium, then backup the rom , extract the boot and system image and run it thru disxda kitchen and that will create a rom with the titanium backups in system apps .wont it??????
Not all apps convert well as system apps in titanium. Also I think you'd need to be s-off to do that.
Why not just run your rom.zip through dsixda, then drop the .apk's you want into the system/app directory and pack it up again?
sounds like a plan dan!
rootSU said:
Not all apps convert well as system apps in titanium. Also I think you'd need to be s-off to do that.
Why not just run your rom.zip through dsixda, then drop the .apk's you want into the system/app directory and pack it up again?
Click to expand...
Click to collapse
i used this method time ago and it works...

[Q] Insufficient storage problem [solved]

Hello,
I wanted to install Swype. However, I always get the insufficient storage error. I am using a custom MTD with 160 20 which should allow having enough space on /data for Swype. Partition sizes:
/data: Total 285MB, Free 57MB
SD Card: Free 346MB
/system Total 160MB, Free 8MB
What can I do now in order to install Swype?
Does Swype need more space on /system?
See if there's any .odex file under /data/app. If its there, delete it and try installing that app again.
Thanks Wasimk!
There was indeed an .odex file inside /data/app which I deleted and now I was able to install it again.
You are the bomb
wasimk32 said:
see if there's any .odex file under /data/app. If its there, delete it and try installing that app again.
Click to expand...
Click to collapse
Wasimk32 said:
See if there's any .odex file under /data/app. If its there, delete it and try installing that app again.
Click to expand...
Click to collapse
This problem was driving me crazy, thanks a lot for the solution.
I found the Phonesky.odex file in /system/priv.app and solved the problem by removing it.

Categories

Resources