[Q] Any uses for /system folder? (Rooted Phone) - EVO 4G Q&A, Help & Troubleshooting

I've a strange question that might or might belong in the development thread, but figured since it's a question, I'll try here first.
I'm using a Stock DeOxed Rooted Rom on my EVO.
I recently installed a few more apps and saw this pesky little warning about low on space.
When I went into my "SystemPanel" app to see how much space was left exactly and noticed that my /data folder only had around 30megs out of it's 428M available.
Ok.. time to delete some apps I thought, but then I noticed that my /system folder (Where I presume pre-installed apps live) had almost 1/3 of it's space still available (115 out of 350megs available).
So I'm wondering.....
Is there some method that I can use to install Apps directly to this folder instead of the standard /data that apps appear to go to when installed?
Is it as simple as moving the APK file with Root Explorer, or are there some under the hood items in apps that prevent this sort of thing?
I've a few rather large apps that I cannot move to the SD card due to widget problems and the like but would be perfect for the system folder if I can find a way to move them there easily.
Thoughts?

DroidGnome said:
I've a strange question that might or might belong in the development thread, but figured since it's a question, I'll try here first.
I'm using a Stock DeOxed Rooted Rom on my EVO.
I recently installed a few more apps and saw this pesky little warning about low on space.
When I went into my "SystemPanel" app to see how much space was left exactly and noticed that my /data folder only had around 30megs out of it's 428M available.
Ok.. time to delete some apps I thought, but then I noticed that my /system folder (Where I presume pre-installed apps live) had almost 1/3 of it's space still available (115 out of 350megs available).
So I'm wondering.....
Is there some method that I can use to install Apps directly to this folder instead of the standard /data that apps appear to go to when installed?
Is it as simple as moving the APK file with Root Explorer, or are there some under the hood items in apps that prevent this sort of thing?
I've a few rather large apps that I cannot move to the SD card due to widget problems and the like but would be perfect for the system folder if I can find a way to move them there easily.
Thoughts?
Click to expand...
Click to collapse
/system/app is where system apps are kept. If I remember correctly, any app can be installed into there, but you have to do through flashing an update.zip if I'm remembering properly. You may be able to take the apk that's in /data/app for the app you want to move and move it to /system/app, but I'm not sure if that will work properly or not. Someone who cooks ROMs might know more.
Also, you can partition your sd card and use true apps2sd with most ROMs. Its a little bit of work and will shorten the life of your card, but that gives you a lot more room if you need it.

I don't know that there's a way to move user apps to system. It's very possible there is a way, I've just never seen any posts about it. Apps 2 SD is usually the way to go.
ps. 30 megs?!?! Geez, how many apps do you have?
Sent from my SUPERSONIC

Easy peasy
First, use a true apk backup tool to backup e apk files you want to move. Titanium backup will NOT work because it compresses and distorts, and we need true apk files. I recommend file manager by adao team. Just go to applications, check what you want, and hit backup. Next, get the apk files on your computer by mounting sd and copying files from backups folder. You will lose all app data, but what can you do? Next, adb push the files to system app folder while in recovery mode (just say so if you don't know how to do this and i will tell you) and reboot. Done. Tell me if it works well.
By the way, 30 megs???

Doesn't froyo install to the sdcard if you tell it to?
I thought a2sd was obsolete

You can put apps there after changing the folder's permissions but I wouldn't recommend it. Just not a good idea to put regular apps there.
Just install them to your SD card instead
Sent from my PC36100 using XDA App

go into the android app manager and go through all your programs and click on move to sd card...
they will all still occupy some space on your nand, but not nearly as much.

Thanks for the advice, I thought it might not be as easy as moving them, oh well, just seems a shame for there to be over 100 megs I cannot do anything with.
I already had moved all I could to the SD card prior to posting this, but thanks for that advice as well, I'm sure others forget they can do that with Froyo.
As for the 30 megs I had left.. we'll it's back up to about 70 free which should be plenty for a while. (Remember we only have about 420 to start with).
Some of the big ones which could not be moved to the SD card are:
Swype (Deleted, took over 17megs)
TouchDown (12 megs.. must keep for tasks sync sadly)
Google Maps update (7.6 megs)
Documents to go (8megs)
A few various games that cannot yet be moved to the SD card at around 5megs each..
The rest are just lots of little apps.. I'm sort of an app junkie You should have seen my old Palm Centro... it was amazing!
According to Titanium, I currently have 194 'User apps', though I think a few are simply widgets, icon packs and the like.

Related

[Q] How does APPS2SD *actually* work?

Hey guys,
Been searching on this for a whle and haven't found the info I'm looking for.
How does the custom APPS2D actually work? By that I mean, what is it really doing? I know it's copying the app(s) to the partitioned ext2/3/4 area of the sdcard, but how does it know *what* part of the app to move as it seems something is always left on the phone.
I'm currently running AdamG's OpenDesire 3.0.5 (nice) and thanks to the script provided by msdl28712 in this thread here http://forum.xda-developers.com/showthread.php?t=748529, I can see that APPS2SD is saving me "188MB". Pretty nice.
But my internal memory is still going down. I started out at about 148MB I think. I'm currently at about 115MB free. Of course, that's fantastic - but it sort of suggests that, even though I've downloaded loads of apps to the sd card, they will always leave some footprint/config/data on the internal memory of various sizes (as I can see it on my info page).
So really, I am still quite limited in the number of apps I can store. Even though I gave myself a nice big 4gb ext4 partition, I'll still hit a limit because of the footprint data left behind on the phone's int memory even after "copying to SD".
Is this right or am I way off?
Although I have no Actual knowledge of what you ask I will say this. The phone needs to be able to function if there is a SD card installed or not and therefore it must have info about the apps installed in the phone memory. I would imagine its very similar to windows and the windows registry. The registry will always be stored on the windows (Phone) storage and the program resources can be anywhere. Therefore when you install an app there will always be a small amount of phone storage required to link to and handle the operations of that program.
All in my opinion.
Some apps, not all, I've found in multiple places on my Eris.
I found it strange that the market wasn't consistently placing them in both places ( actually, that's a good thing, cause it would eat double the space ), but that led me to believe that the developer who wrote whichever particular app that was being stored in 2 location, wrote it to store to additional "backup" location ...
For example, say you download an item from the Android market, and it puts it in the "data\app" folder location. Well, I'd also find another copy in the root of the "cache\" folder ....
The way I found this, was I wondering where the heck all my memory was going, especially since I'd recently installed/uninstalled some various music player apps, but the space wasn't being freed up. I went digging through various folders looking for items, and low and behold, started finding the duplicately stored APK files. I started removing them, and I've monitored that files contents on a regular basis since, which has helped.
- JB
What A2SD? A2SD+, A2SD Froyo?
Found a nice explanation on CM Wiki... can't find it now though...
but there's always short explanation by MIUI Au..if you wanna give it a tryy
http://www.miui-au.com/faq/a2sd/
johnrbrown1968 said:
Some apps, not all, I've found in multiple places on my Eris.
I found it strange that the market wasn't consistently placing them in both places ( actually, that's a good thing, cause it would eat double the space ), but that led me to believe that the developer who wrote whichever particular app that was being stored in 2 location, wrote it to store to additional "backup" location ...
For example, say you download an item from the Android market, and it puts it in the "data\app" folder location. Well, I'd also find another copy in the root of the "cache\" folder ....
The way I found this, was I wondering where the heck all my memory was going, especially since I'd recently installed/uninstalled some various music player apps, but the space wasn't being freed up. I went digging through various folders looking for items, and low and behold, started finding the duplicately stored APK files. I started removing them, and I've monitored that files contents on a regular basis since, which has helped.
- JB
Click to expand...
Click to collapse
First of all you are answering a quite old thread(hint: 8th august)
Second to clarify no, the app is not installed to several locations.. The apk file in the cache is just the one, that the market downloads in order to install it(hint: cache) upon installation the file is placed in the /data/app folder or in case you are using a2sd/a2sd+ it will be placed in /sd-ext/app(the phone still think it is in /data/app, but it wont take up space on the /data partition)
After the installation the downloaded .apk file is sometimes left behind, but as the /cache partition have a fixed size, this won't take up any space for app installs(/data) when the space is needed on the cache partition for another download or something else, the file is eventually deleted.
edit: for people, who want to know the answer to OP, please search I and many others have wrote it over and over again in this very forum.

Wow.

Hi all,
I have been a winmob user for over 5 years and i know pretty much everything about them. (see join date) Though 3 days ago i got a a8183 desire.
My god i have a lot to learn about Android. Winmob seemed so much simplier to pick apart with registry and custom roms.
Anyways i have been reading thread after thread for days yet i still have a couple of questions that i cannot get clear answers for.
I have a a8183 telstra desire running on optus. I have updated to the latest offical 2.2 ROM. (Everyone mentions OTA (over the air) though i downloaded it and installed thru windows).
So i would appreciate if someone could help me out with my questions/assumptions.
1. From what i have read you cannot r00t a froyo OS. Is that right? Though i have found an app z4root that will do it temporarily until reboot. Unrevoked doesnt seem to work.
2. To change system files you need not only root though you need the clockworkmod recovery part of the bootloader. (eg. to replace HOST file for adblocking).
3. You need permanent r00t to install the clockworkmod (so i cannot do this).
4. You cannot remove default ROM apps from your phone without the clockworkmod.
5. You need clockworkmod to install custom ROMs.
So from what i gather.. r00t is good. though really only cause it gets you the clockworkmod recovery which is where you can really hack it.
And to get this i need to downgrade to 2.1, r00t, clockwork then use a hacked rom for 2.2?
Your help is greatly appreciated.
hi sage, i too came from windows mobile so i know how you feel, lucky for me i jumped on the android bandwagon earlier with the htc hero, after i got bored with my HD1, anyway your wrong on quite a few points, so i'll point you in the right direction.
1) the latest version of unrevoked (www.unrevoked.com/recovery) is more than able to root the froyo roms, its a one click app and can root your device in minutes
2) to easly modify system files you need s-off (this is equivalent to HSPL on wm devices) after you have rooted, you need to search for alpharev, this is a linux live cd, you just burn it and boot it and it will security unlock your device.
3) when you download and run unrevoked, it will not only root your device but insatall the latest version of clockworkmod recovery. (just hold vol down and power when your device is off to access hboot, and choose recovery from the list) so unrevoked kills 2 birds with one stone
4) to remove the apps in the /system/ partition there are 2 ways, from recovery using adb, or if you flash the s-off mod, you can remove them directly from your device using a file manager.
5) yes you need clockworkmod or another custom recovery to install custom roms, but now you know how to do it, thats not a problem
Hi Sage,
If you're looking for an easier way to get rid of all the Telstra apps (more like a blob of links really ) on your phone you may want to try one of the stock HTC WWE ROMs. It's clean and you can flash it via exe, just like in WM. The latest RUU I believe is the 2.29.405.2. Also, be aware of the risks of rooting your phone.
thanks for your response guys
Ok so i am now r00ted and running Leedroid's WWE ROM! (thank you!) it was actually pretty easy.
I think unrevoked was failing cause i was using a USB HUB.
OK so now i just want to remove some more of the default apps that come with it.
So i will try alpharev to security unlock my device. (is this permanent or if i reflash my rom it will come back?)
once i have done this i can then delete anything i like thru r00t explorer?
At this stage i am trying to just make some more room for apps. As a number of them wont move to SD Card.
A couple of last questions if i may. I have an new SD Card on order. Am i able to simply copy everything from my existing SD to my new and then swap it over in my phone and it will all be ok? Or do i need 'clone' it with some tool?
Where in the system paths do i remove 'shortcuts' within all apps? (or even simply rename them.)
Much appreciate your help. Android is growing on me. I especially love adb logcat!
ok.. i am now security off'd alpharev worked a treat.
i am now using r00t explorer to try and delete items from /system/app though they come up read-only so i cannot delete them
i take when i get to remove these the phone will have more stoage space for apps yeah?
i also still cannot find where the all apps shortcuts sit! (so i can rename/remove).
and lastly now i have the alpharev bootloader so gonna google how to change that
i did use the Leedroid apps2sd ROM. though most of my apps are still going to phone memory and i cant move them across.
Is there a fix for this? i guess once i work out how to delete these read-only files ill be ok anyway.
Unfortunately removing system apps wont give you more space to install apps, they are stored under a different partition, /system and /data are not on the same disk so you can save as much space on /system as you want but it won't affect /data at all.
With running out of space you have a few choices:
Go to settings..applications..then manage and move as many apps to SD as you can. This is fro-yo apps2sd, not all data is moved and not all apps can be moved, so you will probably run out of space again anyway.
Or
Reboot into recovery and partition your sdcard to create an ext partition, when you boot your rom ALL apps will be moved to the ext partition leaving lots of free space. Backup your sdcard before you partition it, you will lose all data.
Sage said:
ok.. i am now security off'd alpharev worked a treat.
1) i am now using r00t explorer to try and delete items from /system/app though they come up read-only so i cannot delete them
2) i take when i get to remove these the phone will have more stoage space for apps yeah?
3) i also still cannot find where the all apps shortcuts sit! (so i can rename/remove).
Click to expand...
Click to collapse
1) Press on Remount as R/O, this should allow you to delete/replace system stuff & ringtones, fonts...etc.
2)No, because apps install to data/apps & not system/apps.
3)You mean like the applicatiuon menu when we used to delete shortcuts or rename them? Hahaha man that was sooooooooooooo long time ago for me. Anyway, the applications installed are displayer & you can't hide them or rearrange them like Winmo. You might want to try Launcher Pro to hide apps in the apps drawer.
If you need more info, ask freely because 2 years ago I went through the same
mr.r9 said:
1) Press on Remount as R/O, this should allow you to delete/replace system stuff & ringtones, fonts...etc. Typo..You meant R/W
2)No, because apps install to data/apps & not system/apps.
3)You mean like the applicatiuon menu when we used to delete shortcuts or rename them? Hahaha man that was sooooooooooooo long time ago for me. Anyway, the applications installed are displayer & you can't hide them or rearrange them like Winmo. You might want to try Launcher Pro to hide apps in the apps drawer.
If you need more info, ask freely because 2 years ago I went through the same
Click to expand...
Click to collapse
Hmm..actually the new MTD partition table hack should be able to free space on the /system, adjusting partitions with less for /system and /cache and more for /data/app should give enough space..Though I'm not sure if he wants to try this right now, since it's considered an advanced task and maybe he'd like to get more accustomed to Android before attempting it? His wish though..
And well, there's yet another method to remove system apps, other than the other two methods. This is to modify the zip file of the custom rom to remove the actual apks from /system and reflashing it on top of the actual flash..
droidzone said:
And well, there's yet another method to remove system apps, other than the other two methods. This is to modify the zip file of the custom rom to remove the actual apks from /system and reflashing it on top of the actual flash..
Click to expand...
Click to collapse
Ohh yes indeed. OP, you can edit the zip before installing it to your device. You can remove/replace application in system/data and fonts...etc. Just remember to change signature verification to off in your recovery.
my god. i have spent days on this baby and im only barely scratching the surface
much appreciate all your help guys!
ok.. so its time to use app2sd i hear that app2sd+ is better though? (it moves more data to SD yeah? appcache?)
i only have 2Gb microsd right now so i might wait until i my 8GB arrives before i flash a new ROM and start again (again!)
i also noticed these online kitchens. http://cookmyrom.co.cc
which look great! tho they are still a version behind the leedroid i am using tho its a good way to get rid of some default apps.
i certainly like the idea of reparitioning the default disk though not quite ready for that yet especially when app2sd+ sounds much more straight forward.
i am dumbfounded that you cant remove 'shortcuts' from the All Apps! or even rename them!! my god. i would think that was first thing available on such an open source OS.
So i have now created a folder called "Folder" to reduce the clutter.. and now i guess i cant even rename it!?? and if i create another one its called "Folder" too!
lol.. this OS is so advanced yet some basic stuff seems to be overlooked.
I did try launcher pro though it removed my HTC Sense (which i like). So i might need to keep looking for an app to help organise my All Apps and my desktop (is desktop what its called?)
And just how do i add ringtones?
love your work guys thanks again.
Create a folder called Ringtones on the root of your SD to have...ringtones.
When you open a folder, long press on the header to rename it.
As for organizing, I stopped caring & started to use search, but maybe if you want you can try an app called folder organizer.
mr.r9 said:
Create a folder called Ringtones on the root of your SD to have...ringtones.
When you open a folder, long press on the header to rename it.
As for organizing, I stopped caring & started to use search, but maybe if you want you can try an app called folder organizer.
Click to expand...
Click to collapse
nice one thank you!
Sage said:
...So i have now created a folder called "Folder" to reduce the clutter.. and now i guess i cant even rename it!??...
Click to expand...
Click to collapse
Open the folder then hold where it says folder to change its name.
Ok. Now have app2sd working!
thanks to all of you. Beginning to love this android phone now. I feel sorry for all the people who use them as they come from the factory! Thank god for all the xda people who rip them to shreds and make them better
If i can have one last question. Any way to remap hardware buttons to start an app?
Like when you hold down the search button it launches Google Voice. I want it to launch a different app..
I did a search and found the hardware button remapper though it only does hardware to hardware.. not hardware to app
For Folders(Assuming you're using full HTC Sense), just open it and hold the title bar. Took me some time to figure out. You cannot easily rename the apps in "All apps", but you can remove them(Which is essentially uninstalling them) from Settings > Applications > Manage, unless they are system apps which need to be manually deleted either via S-OFF + Root explorer(OR something similar) or ADB + Custom recovery(Clockworkmod or Amon Ra).
For setting a custom ringtone, open the music app, select the music > Menu > Set as ringtone.
so no love on the hardware remap for apps?
Oh well i have done a lot of googling and it seems it cant be done (well at least not easily).
My last question is when you launch an app from a folder the folder stays open.. any way to force close or change its behaviour?
for those following this. I found the Tasker app remaps hardware buttons amongst doing amazing other things.
Still no love on closing folders though.
i ended up using tasker to create app widgets to replace the folders...
If you want app widgets, there's also "Desktop Visualizer".
In terms of killing of an app, have you tried "Settings -> apps settings -> development" then there's an option there for "stop apps via long press"?

App data moved off root of SD?

Is there a way to make app data saved to a folder in SDcard instead of the root? That way it can organize between all the junk I put on there and what is really app data...
Is this achieved by partitioning? or app2sd? never tried either one.
Apps create folders on SD as repositories for additional elements needed to make the app function, or for storage in general.
Don't recommend relocating (or removing) app-created folders unless you have uninstalled the app.
Stray stuff you may have placed on SD can be organized in a folder(s), but I wouldn't mess with anything an app created unless I were (or had) deleted the app.
Don't have to partition the SD to create your own folder.
Okay, I feel really stupid. I was messing with a new ROM and it didnt seem to work out so I went back to my old ROM (qhaung81 AOKP). When I went back to reload all my apps and stuff, it ended up in a whole nother folder!! In order to find it now Ive got to go to SD/SD0 and everything I have is in there! How do I get it out of that folder and back to my regular root? I dont want any of this mess!!
Hope someone can help!!
Ridge

What is needed on the SD card

I have a 8gb sd card what are the bare necessities I should have on it. How do I know what I can safely delete. If I see folders with the names of apps that I no longer use, is that safe to delete? My card is half full. I also see folders with different rom names that I no longer have installed. I do manual full wipes 3x on everything when I reflash. Just looking for a little more knowledge in the sd storage area. Thanks guys
I usually backup the whole sd card while messing with this (then delete backup when I'm sure things are smooth)!
1. if you don't use it, LOSE it. (Is there an uninstaller that gets rid of all this crap?)
2. ...UNLESS you've uninstalled an app you plan on using again one day; keeps the settings; nice. Eg, sports apps that are out-of-season.
keep non-market *.apk files in /download so you don't have to hunt them down again, but clean out other downloads (pics, etc) that are trash. (Btw, the .apk files can add up; you can move them to computer, but I always keep at least a decent file mgr apk and Amazon Appstore apk on SD so I can easily get to work after a wipe/flash.)
Kernels, radios, etc: move to computer so there are no mishaps
PHOTOS: smash 'em all into one directory (I use /pictures) with subdirs if you want, point your photo apps to save to that directory. That'll get rid of a billion photo app directories :
(note: I also set default cam to save to SD card dir).
Also makes syncing with computer a breeze.)
MUSIC: have you tried Amazon Cloud or Google Cloud thing? (I have invites for latter if you want one)
Titanium Backup: one copy of user files (to get data); and use Dropbox (if you're Pro user) for redundant backup (it's saved me once!). But I'd keep ONE backup of user apps/data on SD just for convenience.
cwm ROMS: I keep a stable one or two via RomManager/backups, but I move the others to computer (until they're stupidly outdated).
Otherwise a good cache cleaner can keep **** clean on your SD card (and if you play too much with dirs of apps you use, it'll piss off the apps
SDcards get cluttered really easily when installing/uninstalling roms to test. I've always deleted the folders from old roms that I don't plan to reinstall later.
You can pretty much delete what ever you want from your sd as long as you dont want it. Apps will regenerate folders and files. Also if you want to keep some stuff but want more room on the sd there is always emmc with around 7gb free.

[Q] moving apps and game data?

Just got a GT N7100 few days ago. rooted it. i have lots of games installed like max payne, gta3 etc. so all my storage is gone. i want to ask how do i move games and apps to external sd? can i backup game data which is everytime whopping over 1gb so that i do not need to download it again if i reinstall any game. is there any way to move gamedata to ext. sd?
and:victory: i just got idea if i do not uninstall game back but just backup gamedata and delete it from phone to free up memory and when i need app i just move back data to its original location which is usually android data, will it work.
i have 300 mb free space and now my phone doesnt allow me to install an app even less than 1mb of size..any idea......thanks in advance.......:good:
Moving to external sd has been asked and answered before. Here is one I replied to: http://forum.xda-developers.com/showthread.php?t=2010235
"can i backup game data which is everytime whopping over 1gb so that i do not need to download it again if i reinstall any game"
Click to expand...
Click to collapse
No if you want to use the same files/folders on another phone. The game downloads files for your specs, not for other phones.
If its for your or another Note 2 then it might work if the game has not been updated since your backup. If it has been updated it might need the new files.
RE
what about if i do not uninstall game back but just backup gamedata and delete gamedata from phone to free up memory and when i need app i just move back data to its original location which is usually android data, will it work and yes i will be doing this on same phone.
That will probably work unless you open it by a mistake. Maybe not if it has the permission to run at startup. It could look for the files then, and not find any.
Both of the solutions i linked to works for me.
Directory Bind is most useful for me with this phone.
And then you don't have to wait for the copying every time you want to play a game.
re
can u shed some light on directory blind and how to use it?
I used this guide: http://forum.xda-developers.com/showthread.php?t=1889550
Remember that apps with root access can do everything they want with your phone, including making it as usefull as a brick.
Don't use an app with root access until you think you understand a little of what it does, and you have read a few reviews/posts about it.
Be extra careful with root apps that are not in the Play store/Market. This is not. Why are they not there? Maybe because Google rejected it because it does bad things?
I wanted all of the data in the folder DirectoryBind on my external SD card. What you are supposed to do then (step 2 in that guide) is change the default data path to /mnt/extSdCard/DirectoryBind. I wrote /extSdCard/DirectoryBind because my Galaxy S II had a link to the microSD card there. The Note II does not, so the /mnt/ is important
Took me a while to realize what was wrong...
Thanks man .. DB did the job.....everything s now fine.
Startup soung stopped working?
hey man ! after installing DB startup tone doesnt work..any ideas?
The Samsung tone when you turn on the phone? I don't want that, so let me know if you find out what removed it.

Categories

Resources