Getting error can't install app not enough space. - Nexus 7 Q&A, Help & Troubleshooting

Hi I AM getting error's that I can't install apps or update apps because there is insufficient space.
The only way I get any thing to install is to push them via root explorer and set the permissions accordingly, as you see from screen shot I have plenty of internal space as regards system space there is approx 200mbs free.
Anybody.know how to fix it.
Thanks for any help.
From the darkest reaches of my mind...... Somebody turn on the light

Hmmm, have you got lucky patcher installed?
Sent from my Nexus 7 using Tapatalk 2

leelaa said:
Hmmm, have you got lucky patcher installed?
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Not that I AM aware.I am on stock rom but rooted.
If I need lucky patcher do you have link or is it available on the pay store.
From the darkest reaches of my mind...... Somebody turn on the light

This happens when there's an odex file of the apk you're installing is still present in the system.

Do you use titanium backup? Sometimes there is an Odex file you need to delete
Sent from my Nexus 7 using xda premium

Billchen0014 said:
This happens when there's an odex file of the apk you're installing is still present in the system.
Click to expand...
Click to collapse
Thanks never thought of this.
kilometers4 said:
Do you use titanium backup? Sometimes there is an Odex file you need to delete
Click to expand...
Click to collapse
When ever I install app I 1st try install like normal app, then when this fails,I use root explorer to move the app and set permissions.
I have noticed the odex files is it safe to delete? or do I need to move odex file then after install move odex back?
Is there away to deodex without running into probs,I AM new to n7 but not to android.
From the darkest reaches of my mind...... Somebody turn on the light

zolaisugly said:
Thanks never thought of this.
When ever I install app I 1st try install like normal app, then when this fails,I use root explorer to move the app and set permissions.
I have noticed the odex files is it safe to delete? or do I need to move odex file then after install move odex back?
Is there away to deodex without running into probs,I AM new to n7 but not to android.
From the darkest reaches of my mind...... Somebody turn on the light
Click to expand...
Click to collapse
I've heard that you have to delete the Odex file. I would copy it first just in case but I'd give it a try
Sent from my Nexus 7 using xda premium

Update it just seems to be gapps that are giving the issue I have deleted any gapp odex file from system and cleared any remaining files from data. Cleaned dalvik cache can now install apps from play store but not gapps
From the darkest reaches of my mind...... Somebody turn on the light

leelaa said:
Hmmm, have you got lucky patcher installed?
Click to expand...
Click to collapse
I have the same problem, and I do have LuckyPatcher installed, yes.
Billchen0014 said:
This happens when there's an odex file of the apk you're installing is still present in the system.
Click to expand...
Click to collapse
The apk I'm trying to install was just added to the phone. How can there be an Odex file for an apk that's never been installed on the system? Where would I find this Odex file?
kilometers4 said:
Do you use titanium backup? Sometimes there is an Odex file you need to delete
Click to expand...
Click to collapse
I do use TItanium backup, but I don't see why there would be an Odex file for an app that has never been installed. I found tons of Odex files when I searched with Root Explorer, but none that seemed relevent to the apk I'm trying to install.
Any help?

Related

Says I am out of space and can't install apk when I have 800+mb left, why?

I'm not even installing a game, just another app that takes a few mb's.
I go into storage and see I have 800mb left.
What's the problem?
it says: "_____ couldn't be installed. Free up some space and try again."
i have faced this problem, try to uninstall the app u install before this message
Sent from my HTC Sensation XL with Beats Audio X315b using xda premium
i'm actually having problem with only one app- vplayer.
can anyone help?
I can install other apps no problem. I'm trying to download vplayer from the play market, and it just wouldn't install. It says not sufficient storage, but I do have sufficient storage, and I can install other apps no problem.
I had vplayer previously, but uninstall it, is there anyplace I can clear the data? this is quite frustrating
You can try deleting the .odex file for that app under /data/app (I think you might need a root explorer)
Cryingmoose said:
You can try deleting the .odex file for that app under /data/app (I think you might need a root explorer)
Click to expand...
Click to collapse
if you are rooted, otherwise
open Terminal
Code:
su
cd /data
cd /app
ls
rm (packagename.odex)
ls will allow u to see the list of all the files in that folder and help u type the exact name with ease.
Just download lucky patcher it will automatically remove unused odex files
Cryingmoose said:
You can try deleting the .odex file for that app under /data/app (I think you might need a root explorer)
Click to expand...
Click to collapse
Just log-in to say thank you! It worked for me! :laugh:
Cryingmoose said:
You can try deleting the .odex file for that app under /data/app (I think you might need a root explorer)
Click to expand...
Click to collapse
Worked for me. Posting to let everyone know this works.
Thanks.
Having an issue with memory as well.. The amount of data I have doesn't equal what its says I have left.. Running cm 10.1 rc2 where has all the space gone? I'd this a memory leak?
Sent from my Nexus 7 using Xparent Cyan Tapatalk 2
Hassaan.W said:
Just download lucky patcher it will automatically remove unused odex files
Click to expand...
Click to collapse
Excellent fool-proof way of solving the problem! Thanks!
Hassaan.W said:
Just download lucky patcher it will automatically remove unused odex files
Click to expand...
Click to collapse
I had no idea that would work. Bingo! Solved that error for me. =-}
Another reason to love Lucky Patcher, thanks.
Cryingmoose said:
You can try deleting the .odex file for that app under /data/app (I think you might need a root explorer)
Click to expand...
Click to collapse
Worked for me too..

[Q] "App not installed" when trying to insall .apk files

I am using the Bell SGH-i337M rooted and whenever I try to install a .apk from My Files, it just says app not installed.
Help please.
re: apks
no girls said:
I am using the Bell SGH-i337M rooted and whenever I try to install a .apk from My Files, it just says app not installed.
Help please.
Click to expand...
Click to collapse
Go into Settings> MORE TAB >security and make sure that the "unknown sources" is checked.
good luck!
Its checked...
no girls said:
Its checked...
Click to expand...
Click to collapse
what apps are you trying to install?
rcklss1 said:
what apps are you trying to install?
Click to expand...
Click to collapse
Just some games, for example, the old version of candy crush saga
Bump
I have the same problem, I can't install smart ir remote app.
Sent from my SAMSUNG-SGH-I337
Capt said:
I have the same problem, I can't install smart ir remote app.
Sent from my SAMSUNG-SGH-I337
Click to expand...
Click to collapse
OMG that was also one of the apps i was trying to install!
Manually put the files in data/app and fix permissions in recovery
PurebreadCracker said:
Manually put the files in data/app and fix permissions in recovery
Click to expand...
Click to collapse
i'm a noob to this, could you explain that a bit please?
so i just drag the .apk file into data/app and then what would i do?
no girls said:
i'm a noob to this, could you explain that a bit please?
so i just drag the .apk file into data/app and then what would i do?
Click to expand...
Click to collapse
Use a root browser like Root Explorer or ES File Explorer, and copy the .apk files into data/app
Reboot into recovery, and fix permissions
How do I fix permissions or is there an option to do that in clockwork mod?
Also, would it be possible to use mobileodin to do that instead
no girls said:
How do I fix permissions or is there an option to do that in clockwork mod?
Also, would it be possible to use mobileodin to do that instead
Click to expand...
Click to collapse
CWM: Advanced => Fix Permissions
PurebreadCracker said:
CWM: Advanced => Fix Permissions
Click to expand...
Click to collapse
fix permissions and then it will automatically be installed? or would i have to do something else?
also, do u know why its like this with the s4? i didnt have these problems with the s3
and thank you so much for your continued help! really appreciate it
no girls said:
fix permissions and then it will automatically be installed? or would i have to do something else?
also, do u know why its like this with the s4? i didnt have these problems with the s3
and thank you so much for your continued help! really appreciate it
Click to expand...
Click to collapse
Putting it into data/app installs is, fixing permissions is just so it will show in the app drawer
Make sure you have Security => Unknown Apps checked and Verify Apps unchecked
Apps install fine for me by clicking an .apk
Use Root Explorer or ES File Manager, it's probably the MY Files preventing it.
PurebreadCracker said:
Putting it into data/app installs is, fixing permissions is just so it will show in the app drawer
Make sure you have Security => Unknown Apps checked and Verify Apps unchecked
Apps install fine for me by clicking an .apk
Click to expand...
Click to collapse
it worked for one out of the 5 that i wanted to install, the rest gave me the app not installed message.
no girls said:
it worked for one out of the 5 that i wanted to install, the rest gave me the app not installed message.
Click to expand...
Click to collapse
Use Root Explorer or ES File Manager, to try and install with your original method, it's probably the MY Files preventing it.
PurebreadCracker said:
Use Root Explorer or ES File Manager, to try and install with your original method, it's probably the MY Files preventing it.
Click to expand...
Click to collapse
just tried this but still didnt work:
moved the apk into data/app, rebooted into cwm, fixed permissions, rebooted, nothing happened, then went into root explorer and tried installing it from there but still the same app not installed messsage
no girls said:
just tried this but still didnt work:
moved the apk into data/app, rebooted into cwm, fixed permissions, rebooted, nothing happened, then went into root explorer and tried installing it from there but still the same app not installed messsage
Click to expand...
Click to collapse
I'm not running TW so I'll do my best to help you... Could you name the apps please?
PurebreadCracker said:
I'm not running TW so I'll do my best to help you... Could you name the apps please?
Click to expand...
Click to collapse
smart remote for galaxy s4 and candy crush saga v1.0.7

[Q] Manually installing system app, reboot, no .odex

I recently rooted my stock AT&T Samsung Galaxy S4 (MF3) and have been implementing a few improvements that I've found on this thread but have run into a strange error twice already when trying to replace an existing system app with a modded version.
With other phones in the past I simply paste an app into system/app and set RW-R-R permissions, then reboot the phone. During the next boot it usually says "android is upgrading 1 of 1" and creates a matching .odex file in the /system/app folder and everything works perfect.
So far I've tried to replace the SecPhone.apk with a version that allows call recording, and the TetheringProvision.apk with one that will let me tether on my AT&T phone. In both instances I reboot, but it never says "upgrading", nor is an .odex file created, and then the app fails to work. With the TetheringProvision.apk I also kept getting a "failed to change permissions" error in ES File Explorer, so I retried with Root Explorer, and SMangager but none of them could change the permission on the apk once it was in the system/app folder (yes /system was mounted R/W). I'm not sure if this is related to the above problem or not.
Has anyone else had a similar issue? I have frozen most of the Samsung bloatware apps and while I've been careful, I suppose I could have accidentally frozen something important, but everything other than these replacement system apps seems to be working perfectly. I thought android automatically checked for new apps on every boot, but apparently not on my phone.
Is there any way to force an app check on boot? Thanks for the help.
So I guess no one else has had a similar issue...
Sent from my GT-I9505 using xda app-developers app
You can not mod a rom that is odexed...period, unless it is made for odex.
TheAxman said:
You can not mod a rom that is odexed...period, unless it is made for odex.
Click to expand...
Click to collapse
Sorry, what do you mean by "period, unless it is made for odex"? Can you or can't you?
Sent from my GT-P7510 using xda premium
stinky73 said:
Sorry, what do you mean by "period, unless it is made for odex"? Can you or can't you?
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
For an Odexed system, an Odex file is required to be installed along with the original file. So if a mod is created for an "Odexed" system, it will have a .odex file accompanying it that must be installed also. Installing a deodexed file into an odexed system doesn't work unless the deodexed file is split down into its 2 parts again (original file, plus .odex file)..
This was very helpful. Is there a guide you could recommend to me on how to make an odex file from the modded apk that I have so that I can get these programs working on my S4?
Sent from my GT-I9505 using xda app-developers app
stephend9 said:
This was very helpful. Is there a guide you could recommend to me on how to make an odex file from the modded apk that I have so that I can get these programs working on my S4?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Following article explains the odexing procedure "http://forum.xda-developers.com/showthread.php?t=1208320"

(Request) stock systemui and odex from mf3

Install a transparent notification bar, forgot to keep a copy of the original sysmui. Now i have no status bar and a black baground. If anyone can copy it from their phone, i really appreciated. Im on a active with mf3. Thanks
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
Could you go into a little detail on what happened and what you have done to try to fix it? I don't understand what your saying.
I think he wants the systemUI.apk for the active because he fubar'd his.
jd1639 said:
I think he wants the systemUI.apk for the active because he fubar'd his.
Click to expand...
Click to collapse
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app
agent929 said:
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
You can copy the file from root explorer without flashing. I was able to get a copy of the systemui and place it into the sys/app folder. Now everything is back to normal.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app
agent929 said:
Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
Got it from a friend who just picked up a s4 active.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)
agent929 said:
So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)
Click to expand...
Click to collapse
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.
FourPointedFreak said:
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.
Click to expand...
Click to collapse
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app
agent929 said:
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
As long as you have the appropriate odex file along with it and you know how to do it - it should be fine. You have to know how an APK file works, Applications are basically glorified ZIP archives. The java code is stored in a file called classes.dex and this file is parsed by the Dalvik JVM and a cache of the processed classes.dex file is stored in the phone's Dalvik cache.
An odex is basically a pre-processed version of an application's classes.dex that is execution-ready for Dalvik. When an application is odexed, the classes.dex is removed from the APK archive and it does not write anything to the Dalvik cache. An application that is not odexed ends up with 2 copies of the classes.dex file--the packaged one in the APK, and the processed one in the Dalvik cache. It also takes a little longer to launch the first time since Dalvik has to extract and process the classes.dex file.
If you are building a custom ROM, it's a really good idea to odex both your framework JAR files and the stock apps in order to maximize the internal storage space for user-installed apps. If you want to theme, then simply deodex -> apply your theme -> reodex -> release.

Accidently uninstalled stock messaging - impossible to get system/app to r/w?

Is there no way to get system/app to r/w? Been trying every app and terminal command to let me remount so I can reinstall my backup of the messaging apk and it just doesn't work.
I use Root Explorer and have had no problem using"Mount R/W" in system/app.
Sent from my Galaxy Note 3.
GirLuvsDroid said:
I use Root Explorer and have had no problem using"Mount R/W" in system/app.
Sent from my Galaxy Note 3.
Click to expand...
Click to collapse
Ok that worked but it crashes attempting to install the backup, anyone got a stock messanging.apk they can toss my way?
crimsonsin said:
Ok that worked but it crashes attempting to install the backup, anyone got a stock messanging.apk they can toss my way?
Click to expand...
Click to collapse
Hopefully, this is the right one.
the heyetryo
Bleh. Copied to system/app, still get application not installed. Reboot with it in there and it doesn't show up either. At a loss here.
GirLuvsDroid said:
Hopefully, this is the right one.
Click to expand...
Click to collapse
Any chance you can toss me the matching .odex file to that apk?
crimsonsin said:
Any chance you can toss me the matching .odex file to that apk?
Click to expand...
Click to collapse
Another thought, did u make sure permissions were right ?
Sent from my HTC Rezound using Tapatalk 2
crimsonsin said:
Any chance you can toss me the matching .odex file to that apk?
Click to expand...
Click to collapse
Here you go. You'll need to rename the file to delete the .zip extension.
mjh68 said:
Another thought, did u make sure permissions were right ?
Sent from my HTC Rezound using Tapatalk 2
Click to expand...
Click to collapse
Yep, they're set correctly
Now it's giving me the option to update or new install this system app. Problem is I don't see an already installed version obviously.
try downloading a custom rom for your cellphone, just for extracting the messaging app
Sent from my XT920 using Tapatalk 4
have you tried to use adb to install it?

Categories

Resources