[Q] Moving apps into system ROM - Desire Q&A, Help & Troubleshooting

In another thread, some instructions were posted for moving apps from internal memory to the system rom. I followed the instructions, but I think I'm missing something because I'm just getting force closes. I've copied the apk files to the SD card, uninstalled the app, changed the permissions, then rebooted. I used Adobe Reader and Google+ since I don't use them often, and wanted to try something that wouldn't matter too much if I goofed it up. Since I was getting the force closes, I thought I had to install them (long press on apk file and click install). Well, that defeated the purpose because it installed them to internal memory. So was I supposed to do something else, or did I miss a step? And now I've got some stray files on the internal memories, since that has now shrunk. I was able to "uninstall updates" to Google+ and get rid of most of it, but I don't see where to uninstall them so I can start over.
I'm using the free Root Browser instead of Root Manager, don't know if this has anything to do with it or not.

Copy the apk into /system/app, change the permissions and then reboot. If you still get force closes, wipe dalvik and cache in recovery.

Thanks, it seems to be working. Doesn't seem like it's saving any space though. It must still be installing part of the app, or some data, on internal memory. (And yes, I'm uninstalling the apps before moving them.)
Sent from my HTC Desire CDMA using XDA App

Related

[Q] Any uses for /system folder? (Rooted Phone)

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.

Malware or overreacting?

Last night I downloaded an app from the market: Anttek App Manager. I didn't really need it, I just came across it & it seemed like a good program that I could use to replace a couple of other apps.
I opened up the program & didn't do anything. I did grant it superuser permissions when it opened, but did nothing else except browse through & get a feel for the interface.
Suddenly I was having a force close party all over the screen. Market, maps, settings, homescreen, anything system was force closing. I tried opening settings to uninstall the app but it force closed immediately. Tried with Market, same result. I could get into user apps to uninstall but when it tried to uninstall through the system uninstaller it would force close. I finally uninstalled through Titanium Backup. I was still getting force closes so I rebooted. After the reboot I could open system apps again. I checked my apps in settings & the app was gone from he downloaded tab but remained under the all tab. I uninstalled again. I checked through root explorer & it wasn't there, but in protected apps there was a downloadfile.apk that was timestamped with when I rebooted. I emailed it to myself to check out later if needed & deleted the file.
What do you guys think? Was it just something buggy that I'm blowing out of proportion or is it something to worry about?
Edit: I'm running cyanogenmod 6.1.2 if it matters.
I honestly dont know if it was something malicious or not. I had an issue when I downloaded an app (Don't remember what it was) and it downloaded 300+ downloadfile.apk. As you probably guessed it filled up my sd card. In my case I found it prudent to do a complete wipe and reflash my ROM. I set everything back up and havent had any more issues.
I would probably wipe and start over or Nandroid back to before you downloaded the app. Just my opinion...
Yeah, I think I'm just going to restore from a backup. I just don't want to have to reflash my theme & font, but it doesn't take that long, I'm just lazy.
I was wondering if there's anyway a virus could go deeper than what is changed by wiping/flashing/restoring? I'm somewhat technologically literate but when it comes to the deep down stuff I'm lost.

[Q] running EF02 with Urban ROM, uninstall app ?

Okay so I tried to post in Urban Inception thread but since I only lurk and flash I can't LOL
so here's the deal. I have the latest purple recovery, EF02 and EF02 modem, I flashed urban, and then flashed his add on
I cannot uninstall preloaded apps. This is my first gingerbread so I don't know if there are drastic differences, but I typically use root explorer and move the apps in question to a different folder on my SD card to back up, or just delete. simple as that.
so I did this to some of the add ons/rom apps, and they stay in the app drawer, and market, installed apps. but are not in system/app or data/app....I did even look in data/data thinking maybe it doesn't clean up after itself but even after deleting left overs its still shows
any suggestions?
Is there any way to lift the block on my account so I can post in Dev forum. I'm not a Dev wiz but I've been testing Rom/kernels since my moment on SDX and had switched over here since I got my Epic, Gtab (sweet!) and daughters intercept because there is better community support.I might ooooops with a duh question here and there but I typically have some common sense about posting "How do I turn on my phone????" in the Dev forum
thanks in advance
shrinkingspace said:
Okay so I tried to post in Urban Inception thread but since I only lurk and flash I can't LOL
so here's the deal. I have the latest purple recovery, EF02 and EF02 modem, I flashed urban, and then flashed his add on
I cannot uninstall preloaded apps. This is my first gingerbread so I don't know if there are drastic differences, but I typically use root explorer and move the apps in question to a different folder on my SD card to back up, or just delete. simple as that.
so I did this to some of the add ons/rom apps, and they stay in the app drawer, and market, installed apps. but are not in system/app or data/app....I did even look in data/data thinking maybe it doesn't clean up after itself but even after deleting left overs its still shows
any suggestions?
Is there any way to lift the block on my account so I can post in Dev forum. I'm not a Dev wiz but I've been testing Rom/kernels since my moment on SDX and had switched over here since I got my Epic, Gtab (sweet!) and daughters intercept because there is better community support.I might ooooops with a duh question here and there but I typically have some common sense about posting "How do I turn on my phone????" in the Dev forum
thanks in advance
Click to expand...
Click to collapse
the apps should be in /system/app/ or /data/app/ and you should be able to remove them with root explorer just remember to remount writable before you go to move/erase one of them.
and to post in the development section i believe you need atleast 10 posts
thanks I did do that actually, it's usually the first thing I do, like I wrote above. I either move them (take them out of system/app or data/app) to make a back up at the same time (before there were so many flashable restore zips lol....or just straight up delete them
I did do that and they still show in app drawer, installed apps and market, they show with that generic icon, they do not show in system app....they are executable and don't update from market with you try but show up none the less....I was assuming it was rom specific, which is why i wanted to post there.
I don't know if it was something written into the add on pack offer by the rom developer (compkid?)
but thank you for responding, oh and yes i was mounted R/W it wouldn't have deleted from system otherwise...werid there's a trace left???? grrrrrrr just driving me nuts
shrinkingspace said:
thanks I did do that actually, it's usually the first thing I do, like I wrote above. I either move them (take them out of system/app or data/app) to make a back up at the same time (before there were so many flashable restore zips lol....or just straight up delete them
I did do that and they still show in app drawer, installed apps and market, they show with that generic icon, they do not show in system app....they are executable and don't update from market with you try but show up none the less....I was assuming it was rom specific, which is why i wanted to post there.
I don't know if it was something written into the add on pack offer by the rom developer (compkid?)
but thank you for responding, oh and yes i was mounted R/W it wouldn't have deleted from system otherwise...werid there's a trace left???? grrrrrrr just driving me nuts
Click to expand...
Click to collapse
I have noticed that I have had to delete the apps from system/apps folder and data/data folders. Try looking that folder as well and see if the apps are showing in there.
Sent from my SPH-D700 using XDA Premium App
yes I did delete from both. I did notice also that some were located in both
so when i look at settings>applications> manage, they are still listed, as com.....etc
and grayed out, and sd symbol...when i click on them, all options (uninstall, clear data, force stop) are blacked out
I looked on my sd card and they are not in .secure, android/data etc
I ran the terminal and ls'ed /mnt/asec and they are not there either
so here's only thing i can think of: when I ls -l system/app all the system apps have rw-r--r--
i can write to it, ie copy and paste via rootexplore but is it not letting me execute install???
so should i chmod...only thing is I can't chmod system/app recursively??? keeps saying bad mode like it's not recognizing "-R"
maybe I'm off and the permission have nothing to do with it
thanks for the suggestions so far, if anyone else has an idea or knows about the permissions and whether that's what's going on let me know
or where those are hiding, it says sd in the app list but i couldn't find it anywhere and I didn't notice any sdext partition
so got it????
I went back to stock, fresh clean odin, odined purple CWM, flashed Kernelplus EF02, 3x wipe, flashed urban again, this time I DID NOT do the add on and it's been fine, doing nothing diff than usual and when i delete an app from system or data, it's gone from app list, market,
so I don't know what's going on with that compkid addon zip but the only thing i did different this time was not flash that and everything is behaving normally
If you make changes to the system, clearing the dalvic cache and fixing permissions should help clear the remnants of removed apps.
Sent from the Odyssey
I want to make sure I have this right. You deleted the apks from both folders, did a reboot and the apps were still there? Or did you just delete from the two folders and not reboot before checking if they were still there?
Sent from my SPH-D700 using XDA Premium App
Sometimes if u reboot the go away also.
Sent from my SPH-D700 using XDA Premium App
oh trust me i rebooted...they were not in the folders (system, or data), but still in the app list (settings, applications, manage apps) and market and appbrain still tried to update
in manage applications it showed them as greyed out, and when i clicked on that all options (clear data, uninstall, froce stop etc) were blacked out and unclickable
this time around i did all things the same (ef02 from odin, flash CWM purple, su.zip, 3x data wipe UI ROM) except installing that add on package of extra apps and I no problem deleting anything from system after installing urban inception Rom...added a theme and still no problem modifying
weird huh, I haven't opened the zip, and to be honest I can follow it but I'm not a dev so i wouldn't necessarily recognize anything
Ok, compkid is big on his icons and themes. Check these three spots with Root Explorer or something like it: system/app, data/app, and data/data folders. The third was the last spot I found some things left to delete. I think that should take care of any leftover files that are keeping them from disappearing but in the OP Compkid does suggest using 7zip to delete unwanted apps before flashing the folder. Hope that may help
Sent from my SPH-D700 using XDA Premium App
any idea why those grayed out icons would have a tiny sd (sd card im assuming) in corner...they were the ones that came with the addon, not user installed. I did peek in data/data but theres a good chance i missed something. I also for kicks checked everywhere in my sdcard like i mentioned earlier...just never seen an app left like that with an sd on the blank icon
issues resolved as far as my phone but i have this need to know issue haha
i should have gone through first, i did notice that but i was being lazy i guess
shrinkingspace said:
any idea why those grayed out icons would have a tiny sd (sd card im assuming) in corner...they were the ones that came with the addon, not user installed. I did peek in data/data but theres a good chance i missed something. I also for kicks checked everywhere in my sdcard like i mentioned earlier...just never seen an app left like that with an sd on the blank icon
issues resolved as far as my phone but i have this need to know issue haha
i should have gone through first, i did notice that but i was being lazy i guess
Click to expand...
Click to collapse
You have got me there. I haven't run across that before. Did you possibly move apps to SD or is that an indicator of such since they are saved to SD? Not sure on that one..just some possibilities. Maybe someone else has some ideas???
Sent from my SPH-D700 using XDA Premium App
well i didn't move those over for sure, it was es file explorer, twitter (maybe), facebook (maybe), samsung app store (another maybe) i was looking at so many things in half a day, having not been on xda in awhile, catching up on all the gingerbread leak stuff and new CWM and trying to make sure i read through everything before playing that i can't remember all of the apps exactly (one smack for not writing it down), but i remember specifically one was es file explorer
i've never seen that either, with the green/white square icon, and all the menus blacked out when i click it....never seen that ...haha I'd love it if someone knew so i wouldn't have to sit here pretending I'm not still annoyed in the back of my mind, wonder if i could ever find happy gilmore's "happy place" instead of little green and white icons
So if you long press on those Android boxes that used to be apps and hold them over the trash can you can't uninstall them? I use Zeam Launcher and that's an option on there. What launcher are you using? It sounds like you are close to where you want to be now...
Sent from my SPH-D700 using XDA Premium App
i can delete them off the desktop fine, but they are still in the system someplace...the app manager still shows them there...those icons show in drawer, in app list and in market update however the update was unsuccessful...the app manager shows them in the list when i click on them, you can't do anything, every option (uninstall, clear data, move, force stop) is blacked out and not clickable
sure i can delete the icon but it's still tucked away somehow,
also like i said earlier, something else was buggy where i couldn't drop apps, in the system/app folder to install (YES I clicked R/W)....i couldn't re install via rootexplorer even the ones that came with add on....i've used many roms since i got my moment and 2.1 came out and then began my flashing addiction and i've always been able to click and install, it might prompt me that it's already install do i want to proceed, but would install over the other and complete successfully....every time it said install unsuccessful.

[Q] There is insufficient space on this device

I have E4GT with Caulkins 2.9.1.
I have the following storage available on my device:
SD Card 24.25GB
USB Storage 3.25 GB
Device Memory 1.23 GB
I get the following error when trying to update apps, or install new apps:
"There is insufficient space on this device"
I have gone into settings>apps>google play> clear cache. -> no change
I have downloaded App Cache Cleaner app and cleared all cached files. -> no change
The error message is a lie written by a lazy programmer. What's actually happening is that the installation is trying to copy or move a file and can't. To circumvent this problem I have to enter root explorer and look for files related to the program I'm trying to upgrade and delete them. Sometimes I just find dangling files which aren't really needed; other times I have to delete the whole shebang and reinstall the program from scratch. One process that I've noticed can sometimes cause this problem is the auto-Odex routine that is available in the Development folder.
Bottom line though is that this problem has NOTHING to do with your available memory space.
Henri Blanche said:
The error message is a lie written by a lazy programmer. What's actually happening is that the installation is trying to copy or move a file and can't. To circumvent this problem I have to enter root explorer and look for files related to the program I'm trying to upgrade and delete them. Sometimes I just find dangling files which aren't really needed; other times I have to delete the whole shebang and reinstall the program from scratch. One process that I've noticed can sometimes cause this problem is the auto-Odex routine that is available in the Development folder.
Bottom line though is that this problem has NOTHING to do with your available memory space.
Click to expand...
Click to collapse
How do I find dangling files in explorer. Is there a was for me to determine which ones are wasted files?
before i read your reply i went into recovery and wiped cached and dalvik cache, thought it worked, because i was finally able to install or update about 3 apps, but then got the same error on the 4th app.
so those steps that have been suggested by others on different devices but with similar errors, did not resolve this issue on E4GT.
thanks for any additional help.
This may help http://bit.ly/GNQOZh take a read. I fought this a while ago and went nuts till I did what I describe.
It's usually, but not always, as simple as looking for files with the name of the program imbedded. The most recent program for me was AudioGalaxy.... so I just searched for and deleted any reference to the program that didn't look essential.
If you're REALLY stumped, then download a program from the Market like Log Viewer, which shows you the real-time system log of your Android operating system. That's how I discovered that a failed file copy was being misinterpreted as a full disc in the first place. It also will show you the name of the file being copied or moved and into which directory. Helpful hint: cut and paste the log into something like Notepad for easier reading.
By all means empty out your caches... but only to remove a potential file that's causing you a problem. Like I said, you haven't run out of free space.
Good luck!
A common source for this error is also that there are partitions on your phone that are not visible in the system settings, but which can fill up too.
If you open a console on your device, i.e. with terminal emulator, and type "df" you should see every partition and how much space is free on it.
leaderbuilder said:
This may help take a read. I fought this a while ago and went nuts till I did what I describe.
Click to expand...
Click to collapse
I did this earlier, and then downloaded App Cache Cleaner app and cleared all cached files which did not result in a solution...
im working on other suggestions from this thread
CandyIsYum said:
I did this earlier, and then downloaded App Cache Cleaner app and cleared all cached files which did not result in a solution...
im working on other suggestions from this thread
Click to expand...
Click to collapse
App Cache Cleaner isn't really that thorough.
Try SD Maid.
CandyIsYum said:
I did this earlier, and then downloaded App Cache Cleaner app and cleared all cached files which did not result in a solution...
im working on other suggestions from this thread
Click to expand...
Click to collapse
You 'cleared data' on the media and still had this issue? http://mikemartinezonline.com/blog/wp-content/uploads/2012/02/03.png I've had this issue a few times with a few people- again it just happed to me yesterday! Seems that the media storage, media hub, oovoodo, and some others were taking up huge amounst of space. In fact my media storage was at 800MB until I cleared it. Especially noticed this for me after adding and removing media and swapping different sd cards.
leaderbuilder said:
You 'cleared data' on the media and still had this issue? ] I've had this issue a few times with a few people- again it just happed to me yesterday! Seems that the media storage, media hub, oovoodo, and some others were taking up huge amounst of space. In fact my media storage was at 800MB until I cleared it. Especially noticed this for me after adding and removing media and swapping different sd cards.
Click to expand...
Click to collapse
I cleared the app cache there, and still had the issue. I also went into recovery and cleared cache, dalvik cache.
I didn't try the SDMaid method, so if someone else has this same problem, that may be a place to try.
I ended up starting with scratch with my device, and just upgraded to calkulin 2.9.2.
now my device is functioning as expected, and i can finally install angry birds space...
Well same problem shows up again.
updated to Calkulin 3.0, in hopes to resolve the problem, but still no go.
insufficient space when trying to install or update app from google play.
SD Card: 3.25GB Free / 29.7 GB
USB Storage: 7.29 Free / 11.50 GB
Device: 1.29 GB Free.
It's kind of annoying, is this something that would be resolved by going back to stock. This is getting a bit annoying.
thanks again.
Which app?
Edit: Have you tried clearing data for google play in settings/applications/all yet?
Sent from my SPH-D710 using XDA

Not enough space available to download... system/ folder full

To start, I have an L710T from Boost. Stock rom, 4.4.2, rooted, but that's all. No extra nifty stuffs.
This morning I woke up to an error that says "Couldn't download system update. Not enough space available to download." When I click on it, it says it needs 70.5MB. I have over 9 Gigs free on the phones internal SD. I did a little digging and found that the /system folder has 1.48GB used out of 1.56GB, which means there is only 81.92MB free on that partition. I'm guessing this is the cause of the error message. However, I don't have very many apps installed, and the apps in /system/app and /system/priv-app all appear to be pre-installed apps, except for superuser.apk. I cleared the cache on all of the apps holding a large amount of cache, but that didn't help.
I looked at what folders are holding the most data and /system/priv-app has 383MB, /system/app has 375MB, and /system/lib has 345MB. Those are the biggest, with the next being /system/framework with only 59MB. So I think I've located what the problem is, I just don't know what to do about it, or how it got that way. Any help is greatly appreciated.
The "couldn't download system update" issue
I have the same issue and since I'm rooted, I figured that was the likely real issue. I used the "full unroot" option in "SuperSU" to get back to being unrooted. After a hard reboot I tried the update again and it didn't f***ing work. Now I gotta retrace my steps to get root again, but wtf, this is ridiculous.
I've read this, if it helps other people:
For the unrooted, if space is an issue in downloading and unpackaging the update, clearing all caches (not data) and deleting photos/videos stored internally could help to free up space. I've read in other forums to clear the Dalvik cache and "logcat" (by entering *#9900# into the dialer) helps provide more internal memory, but I don't think that's what most people need to do (and I'm not even sure you can clear the Dalvik cache without root).
I fixed my problem just yesterday. First I freed up over 140MB of space on the system partition by deleting some OEM crud and by moving all the ringtones that I dont use over to the SD card. That wasn't enough though because I still got the error. Then I did a long press on the error notification, touch app info, brought me to Google Services or some such so I cleared all cache and data on that because it was using 40MB of data which is how much free space there was when I first got the error. After a reboot it did the update and succeeded, or so I presume because I wasn't watching it. But whatever, the annoying error message is gone.
This worked for me too, thank you so much for this simple fix!

Categories

Resources