Cant manually install app? - Nexus 5 Q&A, Help & Troubleshooting

I have been trying to install a apk to my devices but it always returns install failed, i've run a logcat and found that it says "failed to create secure container smdl2tmp1"? anyone know what this is?

Garner said:
I have been trying to install a apk to my devices but it always returns install failed, i've run a logcat and found that it says "failed to create secure container smdl2tmp1"? anyone know what this is?
Click to expand...
Click to collapse
Is it hapening with just one particullary app or everyone? Also, are you install from Play or sideload?

zagorteney said:
Is it hapening with just one particullary app or everyone? Also, are you install from Play or sideload?
Click to expand...
Click to collapse
Just sorted it now thanks, looks like its a CM12 issue tried frank and it works fine.

Related

Manually installing Market app

I have a branded Galaxy S with no Android market. I've found 3 different Vending.apks, version 1.665, 1.668, 1.713. I tried to install them using adb install. 1.7133 returns "unexpected exception". Other two install successfully but they both crash when click Install an app. When I go back to app page it says Starting download and gets stuck there (Market app is not frozen). Am I missing a step for manually installing market? Do I have to do anything like adb push Vending.apk /system/app/?
Have you tried flashing a gapps.apk?
have you tried using appbrain and their corrosponding apps like their installer?
MindChild said:
have you tried using appbrain and their corrosponding apps like their installer?
Click to expand...
Click to collapse
AFAIK appbrain uses default market app to download. I don't have any market app that's the problem..
glwinkler said:
Have you tried flashing a gapps.apk?
Click to expand...
Click to collapse
I don't know what gapps.apk is. Could you elaborate please?
Do you mean Vending.apk from the gapps-passion-EPE54B-signed.zip of the Cyanogenmod 5?
Btw I'm using:
pad: jvjh1
phone: jxjg2
csc: trcjh2
Did the same vending.apk installation on a HTC legend "Middle East Version" which also came with no Market and no sucess, i do have the same problem..."crashing at installation"
and about gapps, it's not an apk but rather a flashable content that require rooted device and since i don't wanna root this phone i really didn't figure it out so far. so i'm still waiting for a solution.
Ok. The gapps.apk I know of you can find on rom manager. I think you can DL rom manager straight from their website and install using something like astro file manager. Cyanogen can't release a rom with the Google apps for copyright reasons so they offer it as a seperate download. I'm assuming you can find it on the cyanogenmod site. Otherwise try flashing a stock image through rom manager if they have one for the galaxy x. How did it not come with a market?
Hi. I posted a reply for your idea for my problem but got no reply from you, I guess the thread got lost beneath all the other threads. Could you please give me any ideas about this:
http://forum.xda-developers.com/showpost.php?p=8090192&postcount=4
Thanks.
Click to expand...
Click to collapse
Sent from my Nexus One using XDA App

Google Play Sore Error (-505) -- Lollipop

After updating to Lollipop on my Nexus 5, it restored all of my apps except for about 10. One of them is a widget that I use everyday called Simple Calendar Widget by MYCOLORSCREEN. When trying to download the app, it gives me the message "Unknown error code during application install: -505". It seems to download fine, but the message pops up during the install process. Anybody know about this issue or experiencing the same thing if you try to download this application? I also tried downloading the apk file online but that also fails to install. I can't find any info regarding this issue. Thanks.
I had this issue on certain apps as well. The dev of those apps needed to change something for it to work on Lollipop.
RoomTenONine said:
I had this issue on certain apps as well. The dev of those apps needed to change something for it to work on Lollipop.
Click to expand...
Click to collapse
I've had this problem. Did a search with Google and it seems others are having this issue. Hopefully Google will have an update to fix.
Do a search in this forum. I replied with the cause and solutions. Was posted last week.
Sent from my Nexus 5 using Tapatalk
nikon120 said:
Do a search in this forum. I replied with the cause and solutions. Was posted last week.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Code 505 is a permissions code. This typically means that the APK file already exists in your /data/app folder. You'll need to locate the APK files in question in the /data/app folder and remove them. You will need root to perform this action.
You came across this problem because you didn't do a wipe of your userdata partition when you jumped from Kitkat to Lollipop. I encountered the same issue because of that reason. I just ended up wiping and starting fresh as my phone hadn't been wiped since I got the device last November.
Click to expand...
Click to collapse
Are you sure? I flashed the factory image of Lollipop on my phone and it wiped everything. Afterwards, I had to also do a factory reset of my phone from the settings due to a storage issue. Why would that get left behind?
Edit: I checked (phone is rooted) and the app isn't in the /data/app folder
PMamba said:
Are you sure? I flashed the factory image of Lollipop on my phone and it wiped everything. Afterwards, I had to also do a factory reset of my phone from the settings due to a storage issue. Why would that get left behind?
Edit: I checked (phone is rooted) and the app isn't in the /data/app folder
Click to expand...
Click to collapse
I spent an hour combing through Google group threads trying to get a real answer to this outstanding question. I was perplexed that only two applications of mine refused to install due to this error. The consensus was that the APK file was still there, or some remnants of data related to the application remained on the device that the Play Store service didn't like.
I ended up wiping my device twice:
Once by flashing both the userdata.img and cache.img files, which ended up giving me the storage issue bug on Lollipop. (Showing 16GB instead of 32GB)
Second by performing a factory reset from within the booted OS, which resolved the storage issue.
After that, everything was good to go. Have yet to encounter this error code again.
PMamba said:
After updating to Lollipop on my Nexus 5, it restored all of my apps except for about 10. One of them is a widget that I use everyday called Simple Calendar Widget by MYCOLORSCREEN. When trying to download the app, it gives me the message "Unknown error code during application install: -505". It seems to download fine, but the message pops up during the install process. Anybody know about this issue or experiencing the same thing if you try to download this application? I also tried downloading the apk file online but that also fails to install. I can't find any info regarding this issue. Thanks.
Click to expand...
Click to collapse
I just had to click install again after the error and it worked for me. It was a PITA.
sigh, I've had this issue with terminal emulator
C:\>adb install Term.apk
3966 KB/s (515876 bytes in 0.127s)
pkg: /data/local/tmp/Term.apk
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=jackpal.androidterm.permission
.PREPEND_TO_PATH pkg=com.jrummy.liberty.toolbox]
Click to expand...
Click to collapse
So yeah...duplicate permissions, in this case i had ROM Toolbox Lite installed which had the same permission sooooo it's one or the other at the moment
bleets said:
sigh, I've had this issue with terminal emulator
So yeah...duplicate permissions, in this case i had ROM Toolbox Lite installed which had the same permission sooooo it's one or the other at the moment
Click to expand...
Click to collapse
Hm alright. Where does the apk file need to be in order to use the adb install command? I want to see which app is conflicting with.
PMamba said:
Hm alright. Where does the apk file need to be in order to use the adb install command? I want to see which app is conflicting with.
Click to expand...
Click to collapse
as long as you have adb working it can be anywhere as long as you know the path
so adb install c:\path\to\file.apk
as it happens with terminal emulator i could download the apk seperately, with other apps i'd probably download on my tablet and pull it off that
bleets said:
as long as you have adb working it can be anywhere as long as you know the path
so adb install c:\path\to\file.apk
as it happens with terminal emulator i could download the apk seperately, with other apps i'd probably download on my tablet and pull it off that
Click to expand...
Click to collapse
Wow it looks like GTasks is conflicting. Without GTasks this app is useless. :crying:
Thanks though.
PMamba said:
Wow it looks like GTasks is conflicting. Without GTasks this app is useless. :crying:
Thanks though.
Click to expand...
Click to collapse
https://code.google.com/p/android-developer-preview/issues/detail?id=1668
hopefully it'll get sorted...
You'd have thought people testing would have installed enough apps to come across it and if google knew about it in october why not fix it
I had this issue trying to install Rom Toolbox. I uninstalled Terminal Emulator and the issue went away, probably because Terminal Emulator is included in Rom Toolbox.
How I solved it
In bootloader mode I flash from the factory image userdata and cache, then I wipe Dalvik, data and cache in TWRP after the first boot I skip the setup just too full factory data reset, in the second boot, I set up everything normal, but instead of restoring from previous devices I set it up as a new device, then I manually download the app that was giving the error, it installed without a problem.
I know is a little too much for an app, but it works for me.
onetraakmind said:
I had this issue trying to install Rom Toolbox. I uninstalled Terminal Emulator and the issue went away, probably because Terminal Emulator is included in Rom Toolbox.
Click to expand...
Click to collapse
Exactly.
Thank you very much for the tip.
onetraakmind said:
I had this issue trying to install Rom Toolbox. I uninstalled Terminal Emulator and the issue went away, probably because Terminal Emulator is included in Rom Toolbox.
Click to expand...
Click to collapse
I'm currently having the issue everyone mentions, except I already have ROM Toolbox Pro and was trying to install Terminal Emulator. Terminal Emulator in ROM Toolbox currently FC's on Stock (rooted) 5.0.1. But I use other features, like the Rebooter that I don't wanna sacrifice for just Terminal Emulator haha. Wish they'd fix this issue permanently
Jleeblanch said:
I'm currently having the issue everyone mentions, except I already have ROM Toolbox Pro and was trying to install Terminal Emulator. Terminal Emulator in ROM Toolbox currently FC's on Stock (rooted) 5.0.1. But I use other features, like the Rebooter that I don't wanna sacrifice for just Terminal Emulator haha. Wish they'd fix this issue permanently
Click to expand...
Click to collapse
Uninstall ROM toolbox, install terminal emulator, install ROM toolbox... Someone said that worked.
rootSU said:
Uninstall ROM toolbox, install terminal emulator, install ROM toolbox... Someone said that worked.
Click to expand...
Click to collapse
You really should look in the rom toolbox pro app a little better. There is an emulator built in
Sent from my One M8 using Tapatalk
mattie_49 said:
You really should look in the rom toolbox pro app a little better. There is an emulator built in
Sent from my One M8 using Tapatalk
Click to expand...
Click to collapse
I know, that's why you can't install jackpal terminal emulator if you have ROM toolbox installed as it uses the same permissions.
Although you should read up yourself because if you did, you'd know the terminal emulator in rom toolbox force closes on lollipop on the nexus 5.
I understand this is a old thread but I fixed it a way that wasn't mentioned in this thread. Just thought I'd share for anyone googling this issue and finding this. What I did was go into the guest account and uninstall the app that was causing the issue such as snapchat. The way I caused it in the first place was installing snapchat on aptoide which installed it on both my account and the guest account and I decided I didn't want snapchat anymore so I uninstalled it but it was still there on the guest account which caused the error 505 whenever I tried to reinstall snapchat.

[HELP] google camera package exist but doesn't...

I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
GizmoTheGreen said:
I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
Click to expand...
Click to collapse
Root your phone with superSU, open lucky patcher, select install. Click on google camera apk. Select uninstall and install done!! Reboot
GopalKaul said:
Root your phone with superSU, open lucky patcher, select install. Click on google camera apk. Select uninstall and install done!! Reboot
Click to expand...
Click to collapse
whats lucky patcher?
my phone is already rooted with supersu
GizmoTheGreen said:
whats. . .
my phone is already rooted with supersu
Click to expand...
Click to collapse
It is actually warez and is not allowed to even be talked about on XDA. Should a mod come across this topic, both of your replies will be deleted for even mentioning it.
RoyJ said:
It is actually warez and is not allowed to even be talked about on XDA. Should a mod come across this topic, both of your replies will be deleted for even mentioning it.
Click to expand...
Click to collapse
oh I see, I had no idea! I won't be looking into it.
but it there a good tool that can fix glitched packages? my system thinks com.google.android.GoogleCamera is installed but I can't find it anywhere and any install of it is blocked x'D
for now I installed a modded one I found on xda that let's you have older + latest 4.2 with modified package name com.google.android.GoogleCameraMOD and it's working....
Are you on Pure Nexus, by chance? I know you're not stock since you mentioned 7.1.2. If you're using that ROM, in the download section underneath the ROM and gapps, there's a camera fix zip and you need to flash that as well. @GizmoTheGreen
RoyJ said:
Are you on Pure Nexus, by chance? I know you're not stock since you mentioned 7.1.2. If you're using that ROM, in the download section underneath the ROM and gapps, there's a camera fix zip and you need to flash that as well. @GizmoTheGreen
Click to expand...
Click to collapse
I'm on santhoshm aosp rom, looking at that zip it seems to be a fix for hdr+ on nougat roms... which is not my problem
I can try it later anyway see if it shows up in my system
you maybe need to wipe data :crying:
GizmoTheGreen said:
I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
Click to expand...
Click to collapse
Use a root file explorer like ES and check for old Google camera folders in system and delete them, then try again
Char_G said:
Use a root file explorer like ES and check for old Google camera folders in system and delete them, then try again
Click to expand...
Click to collapse
I've done that, no such folder or file in the system app folder
GizmoTheGreen said:
oh I see, I had no idea! I won't be looking into it.
but it there a good tool that can fix glitched packages? my system thinks com.google.android.GoogleCamera is installed but I can't find it anywhere and any install of it is blocked x'D
for now I installed a modded one I found on xda that let's you have older + latest 4.2 with modified package name com.google.android.GoogleCameraMOD and it's working....
Click to expand...
Click to collapse
welp now I need that APK again and can't find it for the life of me been googling for an hour checking all possible results x'D

The installation package uses a shared directory that does not exist

Hi guys,
Does anyone ever encountered this problem?
Some app on Playstore listed as Not Compatible.
And even when i sideload the app (manually download and install), it gives error like it described in screenshot.
Any clue?
heindrix said:
Hi guys,
Does anyone ever encountered this problem?
Some app on Playstore listed as Not Compatible.
And even when i sideload the app (manually download and install), it gives error like it described in screenshot.
Any clue?
Click to expand...
Click to collapse
Did you follow suggestion, by uninstalling and reinstalling from app gallery?
spica1234 said:
Did you follow suggestion, by uninstalling and reinstalling from app gallery?
Click to expand...
Click to collapse
Hi there,
There's no that app in App Gallery except in Play Store.

[Q] Unable to sideload apps

Strange issue here. I cannot get apps to sideload. I can select an APK to install with a file manager app that has Install Unknown Apps set to Allowed, and it appears to start the install. But when it looks like it's finished, the prompt displays "App not installed." Anyone run into this before?
Note 20 Ultra 5G AT&T on stock BTIF firmware.
any app or some particular app? if latter it not not be compatible
raul6 said:
any app or some particular app? if latter it not not be compatible
Click to expand...
Click to collapse
Far as I can tell, any app. I've tried several, with the same results.
guyd said:
Far as I can tell, any app. I've tried several, with the same results.
Click to expand...
Click to collapse
Where are you getting them from?
airmaxx23 said:
Where are you getting them from?
Click to expand...
Click to collapse
Using an app like APK Extractor to save a backup
guyd said:
Using an app like APK Extractor to save a backup
Click to expand...
Click to collapse
Try side loading an app from APK Mirror and see if that works.
Is the app that you are trying to install already installed? I get that message when I try to install an older version over a new version. I have to uninstall the newer version to install the older version.
guyd said:
Using an app like APK Extractor to save a backup
Click to expand...
Click to collapse
I've run into the same issue with other extractor apps.
They appear to extract ok but they are DOA on reload.
Try using APK Export
https://play.google.com/store/apps/...google&utm_medium=organic&utm_term=apk+export
This one works, ad free and no internet connection, highly functional freeware on Playstore.
How that happened?:silly:
Are you trying to install a system app?
Eagle 3 said:
Is the app that you are trying to install already installed? I get that message when I try to install an older version over a new version. I have to uninstall the newer version to install the older version.
Click to expand...
Click to collapse
No. The app was uninstalled.
thuglife said:
Are you trying to install a system app?
Click to expand...
Click to collapse
No
guyd said:
No
Click to expand...
Click to collapse
Either permission to side load isn't enabled, the apk is damaged or it's incompatible with the device or OS.
Try side loading a known good apk.

Categories

Resources