Android installer broken - Android Q&A, Help & Troubleshooting

Hi,
I think I broke my apk installer...sort of.
Since a few days I can't install any apks that are from Google Play, so I think the whole installer for external apps is broken.
Ok, I use Lucky Patcher and I think it has broken it, but only to use the pro features of Titanium and Poweramp...they don't want to recognize their keys from PlayStore for some reason or recheck them and won't find them even after reinstallation of both, app and key. I already tried it with XInstaller and with formating /system and reinstalling the OS via TWRP (running latest PA 5 legacy alpha for LG G2, but there seem to be no such issue known) but both have not helped. I only can install apps by coppying the apk manually to /data/app or /system/priv-app and restart the device. I also made a logcat log while trying to install LMT Launcher so I hope this can help to identify the problem.
If anybody knows a solution, please help, installing apps and updates the manual way is quite annoying.
EDIT: It looks like the Package Manager is trying to install apps on a non existing SD-Card. There is no possibility for an SD-Card on my G2 (only on Korean models) without USB-OTG but the ROM has the buttons in App Overview to move Apps to an SD-Card, so I think the installer tries the same. Is there a way to find out the path where it wants to install apps and Link this (with XPosed) to the real installation folder?

Related

[Q] Gingerreal: How to get functional alarm?

Hi there,
I'm using Gingerreal 2.0 as my first custom rom. It's really fast compared to stock and I like it very much.
I have one problem though: I've installed Alarm Clock Plus from the market but it doesn't seem to work. My alarm simply doesn't ring.
I didn't install the package with Samsung apps as I don't want all that crap. Should I install only the Samsung clock apk's? And if so, which ones should I install? (I see multiple apk's that seem to relate to clock/alarms)
Anyone can help me with this issue?
Thanks
Hi, I think I installed clockwidget.apk, deskclock.apk. Note though that it could also be a problem of DRM media drivers without which media fails to play or crashes, you need to copy drmprovider.apk, drmua.apk and sisodrmprovider.apk.
I also found I needed to install picotts.apk and ttsservice.apk as text-to-speech would always crash (and some 3rd party apps use it, thus they fail too).
You can just leave those apks and modify the zip of samsung apps and install those and see how it all works. I have working alarms, tts, and media playing on top of a very stable and fast ROM...
Can you give me more details on how to do that? I removed every apk from the zip file except the ones you mentioned. Then I tried to flash the zip with 'install zip from sdcard' but it ends up with installation aborted...
If you go to the gingerreal forum and search for the post by shinoxan on the 3rd page of the GR 2.0 thread, he posts a zip to fix the DRM problems; I used his zip and added the apks there. You could also try copying the apks directly using a rooted superuser shell...
His zip was hosted at megaupload, so I can't download that one. He mentioned to mount /system before flashing. I didn't mount /system yesterday so that might be the cause that it didn't work. I will try it tonight while /system is mounted.
Yes, I think that should fix it. PM me and i can send you a zip i used to update my TTS apps.
The packages from iandol worked ! Got my alarm back
Lets try to post the links:
Here is the mod I made for stopping TTS crashing with the clock and deskclock widgets, see if it works for you:
http://ifile.it/akmtorg
Here is the original DRM modification from shinoxan:
http://ifile.it/6lf4dtw

[Q] Can't manually install apk from Explorer

Hi Everyone,
I'm having trouble manually installing apk files from a file explorer. Whenever I try to, it says I have insufficient memory. But I have over 10gb of available memory. This happened after tinkering with Lucky Patcher and then eventually uninstalling it. Im afraid i might have changed something whithin Lucky Patcher and now I cant reinstall it because of the installation problem. My s6 edge is Pingpong rooted and also has OTG helper if this helps. dont know if it messes up with drive mounting.
Installing from google play is no problem at all.
Thanks for anyones suggestions
jgatlabayan said:
Hi Everyone,
I'm having trouble manually installing apk files from a file explorer. Whenever I try to, it says I have insufficient memory. But I have over 10gb of available memory. This happened after tinkering with Lucky Patcher and then eventually uninstalling it. Im afraid i might have changed something whithin Lucky Patcher and now I cant reinstall it because of the installation problem. My s6 edge is Pingpong rooted and also has OTG helper if this helps. dont know if it messes up with drive mounting.
Installing from google play is no problem at all.
Thanks for anyones suggestions
Click to expand...
Click to collapse
Have you try this?
http://forum.xda-developers.com/showpost.php?p=40411252&postcount=5
Thank you for reply! Yes I did everything there. Thing is im not allowed to install any app for it shows insufficient memory for every app i try to install. But i think lucky patcher messed it up. But also lucky patcher might be able to fix it. Is there a way for me to manually install lucky patcher so I can bypass the installer menu?
Like extract its files to a specied folder?
I tried installing through adb with this command, adb install -r app.apk
but it still says I have insufficient memory even in adb.
Also, I noticed that Titanium Backup is not recognizing all of my apps. Just a few system apps.
Return to stock...
Yey! I was able to fix it with Rom toolbox! Switched installation path to internal.

I cant install an APP (App not installed)

That's it, I can't install an app (cytus) from the .apk.
If I download it from the google play I can play and every thing else is ok. but I need to use Lucky patcher too unlock things
BUT, the real problem is that I can't install any version of this apk. (I guess when I was reinstalling it from titanium backup it broke some thing, I don't know)
Additional information:
I've already installed it once; I do have space on my phone; I've reinstalled the ROM and even changed to another one but all them are Lollipop 5.1
Seikushim said:
That's it, I can't install an app (cytus) from the .apk.
If I download it from the google play I can play and every thing else is ok. but I need to use Lucky patcher too unlock things
BUT, the real problem is that I can't install any version of this apk. (I guess when I was reinstalling it from titanium backup it broke some thing, I don't know)
Additional information:
I've already installed it once; I do have space on my phone; I've reinstalled the ROM and even changed to another one but all them are Lollipop 5.1
Click to expand...
Click to collapse
Lucky patcher is considered warez on XDA and shouldn't be discussed.
Regarding the rest of your question, it sounds like remnants of the app in question are present, therefore resulting in your play store error. Use a file manager to explore your data and system/data folders to see if you can find anything. If you do, delete it and try again.
Evolution_Tech said:
Lucky patcher is considered warez on XDA and shouldn't be discussed.
Regarding the rest of your question, it sounds like remnants of the app in question are present, therefore resulting in your play store error. Use a file manager to explore your data and system/data folders to see if you can find anything. If you do, delete it and try again.
Click to expand...
Click to collapse
Hi, I've already did that. Explored the system and trying find something related to the game but I did a full wipe on my phone and there's nothing left(I guess).
I'm able to download it from google play and play the game as usual but I can't install from the apk. And the same APK can be installed on very other phones
Any other tips?
Some one can help please?
Sorry to post for the 3rd time but I'm still having this issue

Install APK Themes Android Pie 9.0

Hi Everyone,
So apparently after updating my XA2 Ultra to android 9.0 I am unable to install the themes I used
via APK. I read on the internet that this is something Sony is disabling for some reason.
Does anyone know a way to install a theme using the APK file and not from the Google Pay store?
Every time I try to Install them It just tells me that it couldn't be install and that's it.
Any help will be appreciate it.
Thanks everyone.
Oswaldo212 said:
Hi Everyone,
So apparently after updating my XA2 Ultra to android 9.0 I am unable to install the themes I used
via APK. I read on the internet that this is something Sony is disabling for some reason.
Does anyone know a way to install a theme using the APK file and not from the Google Pay store?
Every time I try to Install them It just tells me that it couldn't be install and that's it.
Any help will be appreciate it.
Thanks everyone.
Click to expand...
Click to collapse
Hi,
I used to have the same problem, for *some* APKs even on 8.0. What i did (not sure what caused the problem, actually) was:
1) Enable unknown sources via dev. menu
2) Disable the Play Protect and built-in antivirus(es), e.g. AVG
3) Disable app checking from Google options (this might be tricky, because the app itself didn't show me this option, bit it came up eventually, don't remember how, i think when you try to install the .apk via ES or some other file explorer.)
Now it gives me the "App not installed" or "Unable to install" only when i try to update an app that was not originally installed from the Play Store, but (for example Aptoide or other Black Market store) it can be remedied by simply uninstalling the old app and install the new one.
Hope this helps. Good luck!

Can't install APK files outside of Play Store?

I recently upgraded from an Android 7 phone (Moto G5) to an Android 9 phone (Moto G7). I like to back up all of my apps that I plan on using in the future, using a backup app like ML Manager, and installing them locally with a file browser, like FX. On my new phone, there are some APK backups that I can't install from a file browser; even if I actually download them though the Google Play Store, back them up, uninstall them, and then try to install that backup on the same phone, it won't work. Not every app does this, and at first, I thought it was only paid apps that were giving me problems, so I chalked it up to DRM, but a bunch of free apps won't work, either.
I've tried alternate methods of installation, too, like using a terminal emulator (see the screenshot, using the app Manual Camera as an example), and ADB on a PC, which results in an INSTALL_FAILED_VERIFICATION_FAILURE error. I've searched for this error and followed directions, like disabling Play Protect (which I never enabled on this phone, anyway), but nothing works. Is this just how Android is now? Did something change so that it's harder to install backups? I tried all of this on my wife's phone, too, which also runs Android 9, and I got the same errors. Any help would be appreciated, because I'm out of ideas. Thanks in advance!
pedrovay2003 said:
I recently upgraded from an Android 7 phone (Moto G5) to an Android 9 phone (Moto G7). I like to back up all of my apps that I plan on using in the future, using a backup app like ML Manager, and installing them locally with a file browser, like FX. On my new phone, there are some APK backups that I can't install from a file browser; even if I actually download them though the Google Play Store, back them up, uninstall them, and then try to install that backup on the same phone, it won't work. Not every app does this, and at first, I thought it was only paid apps that were giving me problems, so I chalked it up to DRM, but a bunch of free apps won't work, either.
I've tried alternate methods of installation, too, like using a terminal emulator (see the screenshot, using the app Manual Camera as an example), and ADB on a PC, which results in an INSTALL_FAILED_VERIFICATION_FAILURE error. I've searched for this error and followed directions, like disabling Play Protect (which I never enabled on this phone, anyway), but nothing works. Is this just how Android is now? Did something change so that it's harder to install backups? I tried all of this on my wife's phone, too, which also runs Android 9, and I got the same errors. Any help would be appreciated, because I'm out of ideas. Thanks in advance!
Click to expand...
Click to collapse
Some apps are different for noghat and pie Android
So there is no grantee that you can install all APK that you backed up on noghat for pie
Download them from Google
It should completely work
Make sure that you have free space on internal storage and when you wanna download them make sure that download arm/arm64 version
amirizad_7436 said:
Some apps are different for noghat and pie Android
So there is no grantee that you can install all APK that you backed up on noghat for pie
Download them from Google
It should completely work
Make sure that you have free space on internal storage and when you wanna download them make sure that download arm/arm64 version
Click to expand...
Click to collapse
Yeah, downloading from the Play Store definitely works, I'm just curious as to why backing up an app downloaded from the Play Store won't install from the APK *on the exact same device.* I'm a stickler for keeping local backups of everything, but I'm more curious than anything at this point.
pedrovay2003 said:
Yeah, downloading from the Play Store definitely works, I'm just curious as to why backing up an app downloaded from the Play Store won't install from the APK *on the exact same device.* I'm a stickler for keeping local backups of everything, but I'm more curious than anything at this point.
Click to expand...
Click to collapse
Well there is a another reason
That is some app install with APK
And other one install with APKS
which you should install them with SAI and have two or three file to install (even more)
And when you backup from apks apps it doesn't backup all files to install it again
But at play store it install automatically
amirizad_7436 said:
Well there is a another reason
That is some app install with APK
And other one install with APKS
which you should install them with SAI and have two or three file to install (even more)
And when you backup from apks apps it doesn't backup all files to install it again
But at play store it install automatically
Click to expand...
Click to collapse
Holy crap, dude, I had NO idea that split APKs were a thing. I downloaded Split APK Installer from the Play Store, and I can make and restore local backups again. Thank you so much for the info, it was exactly what I needed!
pedrovay2003 said:
Holy crap, dude, I had NO idea that split APKs were a thing. I downloaded Split APK Installer from the Play Store, and I can make and restore local backups again. Thank you so much for the info, it was exactly what I needed!
Click to expand...
Click to collapse
Happy that it helped

Categories

Resources