[Guide] How to fix "Out Of Space" Problem while installing app - Miscellaneous Android Development

Sometimes when you have free space available in your rooted android phone and you try to install any app and it displays like the pic shown below even if you have space available in your sdcard.
Today i am going to tell you how to fix this problem,,,,,
So let's start,,,,
Open rooted explorer of your phone then goto root and open data/app folder,,,,,
Now its time for searching search the keyword .odex
You will get some odex file relating to either the name of your app (the app which on installing shows out of space) or its package name,,,,,
Now select the odex file and delete it,,,,,
Reboot the phone and your problem will get solved,,,,
Now you can freely install that app,,,,
If I helped you then don't forget to hit the thanks button

Related

Pre-update Google Maps

I need the .apk of the version of Google Maps before this new update came out.
I accidentally deleted it.
Thanks.
What happens if you try: Menu -> Settings -> Apps -> Manage Apps -> find Maps in the list and choose Uninstall updates ?
You can give this a try. I pulled it from my titanium backup that updated daily, and the manifest says that is is version 4.7.0.
It keeps saying install is failed.
I'm on Uber ROM, and I think maps is baked into it. Other people were having problems with it too.
I'll try a re-flash and post results.
Actually, a re-flash just wipes everything.
Sent from my Incredible using XDA App
Ok I see what you are working with now. Just follow the steps below
1. Download the file below, MAPS.sh
2. Place the file MAPS.sh into your gscript folder on your SD card
3. Open the program GScript
4. Press your menu key
5. Press the Add script button
6. Press Load file
7. Now select MAPS.sh from the available scripts
8. Make sure the box next to “Needs SU?” is checked
9. Press Save
10. Now press the MAPS script
11. A blue screen will come up, now give it a minute until it says success at the bottom of the blue screen.
12. Exit out of GScript
13. Go to your favorite file explorer
14. Find the Maps.apk file that you downloaded in my first post
15. Now the file should be able to install without any problems
16. You can now enter the Market and update
I installed the Uber Rom and tested all of these steps with success.
http://www.mediafire.com/?imwvec5s0tr7r9m
It gives me a failure message, saying that it can't find the file when gscript is doing its thing.
Sent from my Incredible using XDA App
dpwhitty11 said:
It gives me a failure message, saying that it can't find the file when gscript is doing its thing.
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
Ok, that is fine it just means that you have already deleted a file that it is trying to delete. It also sets the file system to allow you to install the apk. Just run it all again but install the apk after it is done no matter what GScript tells you at the end.
It won't install.

[Q] Can't Install Themed APK

I have a stock Sensation, temp-rooted, and have a couple of themed apps I like (TweetDark, Transparent G+). Using root explorer, I navigate to downloads on my SD, select the APK and select install. It prompts that the app will replace an existing one, keeping user data (normal). It asks me to accept permissions (normal). It says installing (normal). Then is says Application Not Installed with a Done button (definitely not normal). I have third party apps allowed, and it let me install an APK that wasn't an overwrite, so why can't I install my themed APKs? Any suggestions/information would be most helpful.
JaylanPHNX said:
I have a stock Sensation, temp-rooted, and have a couple of themed apps I like (TweetDark, Transparent G+). Using root explorer, I navigate to downloads on my SD, select the APK and select install. It prompts that the app will replace an existing one, keeping user data (normal). It asks me to accept permissions (normal). It says installing (normal). Then is says Application Not Installed with a Done button (definitely not normal). I have third party apps allowed, and it let me install an APK that wasn't an overwrite, so why can't I install my themed APKs? Any suggestions/information would be most helpful.
Click to expand...
Click to collapse
you cant because the stock rom is .odex you need to de-odex the rom or apk for it to work or backup both the apk and .odex files to your sd now delete the .odex file install your apk and reboot
Thanks for your answer. I was afraid it would be something like that. The phone's a loaner as part of a T-Mobile feedback program so I don't want to muck with it to much.
Sent from my HTC Sensation 4G using XDA App

[Q] How to Install APK into System/App ???

I downloaded the Backup System Apps from here ... http://forum.xda-developers.com/show....php?t=1209425
I put the DeskClok.apk on the sd card then I tryed to install, but it give me an error ..
how do I install this or any other APK into the system/app folder ?
is this okey to install on Galaxy Gio 2.2.1 FROYO ???
What is the error? because that helps give you an answer.
Do you have your settings to allow installs from outside the market?
Go to settings, applications, Unkown sources and tick the box.
What error are u getting?
I'm getting this error .. "error analysis ... there is a problem with the analysis package"
(don't know if its well translated .. I'm portuguese, so I get the error in portuguese)
I put it on the SD card .. clik in it and it give me this error ..
It probably said problem parsing the package. It maybe that that file is corrupted so look for a different one and try it.
well .. that was the only one I find here .. for galaxy gio
I accidentally deleted my DeskClock.apk ... I tried to search for it but none are the original clock for gio ...
I hoped this was the one .. don't you know how can I get the original DeskClock.apk for GIO 2.2.1 Froyo ??
Ok let me see what I can do.
thanks a lot
i'll be waiting for a reply !!
Ok considering deskclock a standard app here's a link download one of these apk's to see if it works try the newest ones first.
http://search.4shared.com/search.html?searchmode=2&searchName=deskclock+apk
You can even download from your phones browser to make it easier. Just make sure you have unknown apps checked.
thanks a lot ..
i'll try it now ..
Just hit the thanks button if I helped its a non-dev like me got.
System apps are not signed, so they cannot be installed through the normal way. You'll need Root Explorer or another root level file explorer. EStrongs File Explorer is free - you may need to enable root access in settings. I highly recommend getting Root Explorer if you can. It's on sale for $.99 in the Amazon App Store and possibly in the market. I purchased it from the market so I can't see the price right now.
Anyway, I'll give you the directions with Root Explorer, but they may be a little different with another app. Navigate to where you have the apk on your SD card. Long-press on the apk and select copy, then use the up level button (at the top of the folders, marked as "... " ) until you can't go any further. You'll be at the root directory of your phone. Open the system folder and select "mount r/w" near the top left, then app (you'll be in /system/app) and select the paste button. Long-press on the deskclock.apk and select "permissions" from the menu. Mark it so it looks like this:
Read Write
Read
Read
Then reboot your phone & it should be there.
Alternatively, you could reflash your rom without wiping data to get the app back. Reflashing will override any changes you've made to the system, and any apps you've deleted will need to be deleted again. Good luck!
Sent from my PC36100 using Tapatalk
Thanks a lot .. your tutorial about root explorer is really explicit .. I dindn't know it would be that easy .. i'll purchase and try it now
About Reflashing ...
what is it ?
how can i do it ?
He probably talk about to reflash your stock rom as i linked u in your other thread : http://forum.xda-developers.com/showpost.php?p=16810804&postcount=8 in second post of that thread is explain how to flash your samsung.

[Q] pushing app to system

so it seems its a system limitation when using dialer apps where the missed call notification doesn't get cleared when opening the dialer app.. the stock phone app needs to be opened in order to clear it...
i'm running cm7.1 on nexus s 4g.. just installed touchpal dialer.. i read on this site
http://stackoverflow.com/questions/2007024/push-my-apk-to-system-app
that you could push the app into the system folder and that would address the problem.. i downloaded the app from the market so no idea how to get the apk..
i assume if i could get a hold of the apk.. i could use root explorer to change the persmissions, then move the file into system/app and then install the app??
any help would be appreciated.
p.s. all i really want is the search feature of these apps which stock dialer doesn't have.. which is a big oversight by google not to have this.. so if any other solutions are available.. great.. love to hear them
The apk should be somewhere in /data/app, there are also apps that let you backup apk files to sdcard.
Afterwards remount /system to read+write and push the apk file to /system/app.
do i need to uninstall the app from /data/app after? or should i leave that file in there
Using Root Explorer, find the apk in /data/app, long-press and select move. Navigate to /system/app, mount r/w (by pressing the button at the top), and paste. Long-press the apk again, select permissions and set to rw-r--r--, then mount r/o and reboot.
Voila! Your user app is now a system app. You can also use Titanium Backup to convert a user app to system app and vice versa. As I have the paid version I'm not sure if this feature is available in the free version.
Sent from my Evo + MIUI using Tapatalk!
thanks.. seems to work now.. i'm surprised apps can't automatically install in that way to notifications can be dealt with.. guess they don't have permissions to install into system?..appreciate the help.. all works now!!
so seems doesn't like to work like that.. every time i reboot i get a force close popup... then i have to delete the app and restart.. had permissions set correctly and everything

Android workaround for the NFS Most Wanted "not enough free space" problem

ATTENTION! Back up your original apk file BEFORE the mod as you WILL need it AFTER the mod is done..
Ok guys, so i decided to play NFS Most Wanted on my new device (LG L Fino) so i installed from market and started the app.. Ok BUT as many of you i was facing the "Not enough memory on device,clear up some memory to proceed" message. So i got angry and decided to see if there is a workaround of the problem. Well generally the problem itself is that my device (like many others) uses ONE memory chip which is split into TWO 2GB parts, the first is system only, and the second is user- accessible, BUT 1,2GB of that "user space" is flooded by system junk and bloatware etc etc.. So all you have left in the so-called Emulated SD is actually some 0.8 gigabyte which is not sufficient in any way, when you want to install NFS Nost Wanted, because when you start the app first time it asks you to download some 2055mb's game data and says you have 0mb free on device, when the actuall gamedata size is only 670mb.. So i found this workaround and i decided to share right away.. Enough talking - lets get to business:
Prerequisites:
ROOT IS A MUST HAVE FOR THIS JOB
Install RAR app from rarlabs (search on google play)
Install ES File Explorer
Install NFS Most Wanted from google play
Make sure of having at least 700mb free on internal mem.
Lets start.
First open ES File explorer and turn Root Explorer "on"
Then navigate to root/data/app and find a file named " com.ea.games.nfs13_na-1.apk "
Now COPY that file to the root of your ext SD (for the sakes of easy navigation)
Next click and hold on the file till you have it marked then from the popup menu (right lower corner) choose "Open as" (not extract) then choose "ES Archive manager" and once inside, navigate to /assets/downloadcontent .
There you will find a file named: "config.properties"
Copy that to the root of you ext SD and open it with text editor.
what you need is to find the two lines that read
TOTAL_SPACE_MB=2055
# TOTAL_SPACE_MB_MIN=440
and edit them to look like this:
TOTAL_SPACE_MB=0205
# TOTAL_SPACE_MB_MIN=044
Now close the file and save the changes.
Next open the RAR app and navigate to the root of your ext SD then click and hold the edited text file till a menu pops up, select "Copy to buffer"
Then click and hold at the apk file, select "Open as archive" (NOT EXTRACT!) and again navigate through assets/downloadcontent, then click and hold on a random file and from the popup menu select Paste, it should ask you if you want to overwrite, choose YES and close RAR.
Final step is to open ES File Explorer again, navigate to root of ext SD, COPY the now edited APK then navigate to root and /data/app and PASTE. Select YES to overwrite file.
Now click and hold the apk one last time, and from the popup menu (lower right corner) choose "Properties"
Right next to "Permissions" there should be a button named "Change" go ahead and push the button. Now you have to fix those permissions, you should see 9 checkboxes. CHECK the three ones that are underneath "Read" and check ONLY the topmost thats underneath "Write". ALL OTHER HAVE TO BE UNCHECKED!
it should now look like this:
.......................Read.........Write.........Execute
Owner:........(*)...............(*)...................( )
.
Group:.........(*)................( )...................( )
.
Others:........(*)................( )...................( )
Click Ok, close ES File explorer, run game, download 650mb gamedata and have fun (optional is when you download gamedata to use app like GL to SD)
if you mess up the process, start over-rinse-repeat
I hope i helped someone and if yes please feel free to hit thanks button ( no it doesn't bite)
Greetings from Bulgaria
Edit: I found out a bug and i don't know if it's only with my copy of the game after modding or if everyone of you who tried this has it. So...
THE BUG is that after i modified the already installed apk in order to download data, i happened to restart my device and when it booted it seemed like my copy of the game somehow "partially uninstalled" itself.. After a little digging i found out that it actually did uninstall itself, BUT only the apk - that meaning the data and savegame ARE still there..
THE SOLUTION is before doing the above mentioned walktrought you have to backup you Original apk first (using the backup app tool of ES File Explorer) and after that you have to reboot your device, install the original apk (it will tell you that this update has nothing new in it, thus not requiring any new permissions - install anyway) and you're good to go with a stable installed game..
BUG 2: after all done right, it happens that my copy of GL to SD app is not showing the most wanted in "linked apps" section and neither it is showing it in the "Move data" list.. Don't you worry, the game is still "in there" even when it does not show up on the lists, click the "mount" button and play as normal - it is working..
If there is some trouble i will be glad to help, just write a reply here and i will check my thread regularly.
Have a nice time guys... (Aaandd girls)
xD thanks a ton man, this helped me

Categories

Resources