[SUCCESS] Tackling 'Error -505" - Google QuickSearchBox fails to install - Android Q&A, Help & Troubleshooting

I found this "-505" error prevalent on two of my MediaTek MT6735 MKU82ZPZ/A devices, it's probably common with China Phones, which install a certain list of stock Google apps, the QuickSearch Box not being included.
I have found a solution for this, based on my issues with blocking forced updates with Google Play services and the Google Play Store:
http://forum.xda-developers.com/showthread.php?t=3091832
I figured since these two added folders in the system / data / app folder prevented Google Play services from updating:
system/data/app/com.google.android.gms-1.apk/
and
system/data/app/com.google.android.gms-2.apk/
And that adding the specific folder for the Play Store also prevents Play Store from unwanted updates, then I should be able to actually Force an app to install as if it were a stock app (but it will not really be installed as a system app, it will still be "user").
I chose, not the latest beta for the Google Search app, but one from a couple of days ago:
http://www.apkmirror.com/apk/google...gle-app-6-0-17-21-arm64-android-apk-download/
So that would be Google search v6.0.17.
Next, I renamed the APK file into the format that I used to block the Google play services update, and then I created a path in the proper system folder:
/data/app/com.google.android.googlequicksearchbox-1/
In this case, there was no need to add the dot-APK extension to the folder.
What's next? Okay basically you take the APK file that you had named "com.google.android.googlequicksearchbox-1" and then you place it in that folder.
After you have moved it in there, you're just going to have to rename it to "base.APK".
And then using the app "FX", install it using "root package installer". Basically, just tap the APK file and you'll see a popup, just choose "root package installer" and then install it. Then reboot your device and you will have Google search on your springboard or in your appdrawer when it comes back up.
Needless to say, you have to be rooted in order to do this. It works best with the "FX" explorer app as it allows installing an The APK as a root package, which allows it to be installed. Because if you try to install it manually, it just fails.
This is for specific Lollipop 5.1 MediaTek MT6735 systems, maybe some other systems do it too, whenever you come across the "-505 error" - I don't know if this error is specific for this particular package or if will occur with other Google apps.
Whatever happens, if this succeeds in installing quicksearch for you, leave the base.APK file in that folder otherwise the app will stop working.
Oh yes, I dictated all of this into my MTK device using the regular stock keyboard with its new dictation button provided by Google search.

Related

[Q] Apps which can not be installed without GAPPS being present?

I am playing around with the idea of Android without GAPPS, and I came along two apps which seem not to be installable without the Google Framework being present:
Adaffix-270.apk
QR Droid-412.apk
When I select any of these apks in the filemanager for manual installation, then on the screen with the required permission click "Install" it ends with the message "V Application not installed" (the "V" being the green check mark), no error message or explanation.
All the other apps I tried so far could be installed without problem on that Google-free phone (ZTE Blade with a CM7.2-RC0 based KANG).
So can it really be, that certain apps just can not be installed, if GAPPS are not present, or could it be a different problem?
I can see no reason why these two apps would require the Google Framework, since their functionality is not based on it, so why would they not install? Can there even be such a check in the install routine for GAPPS being present to proceed?
BTW I downloaded those two (free) apps from the Market on another phone with GAPPS installed, then made the apks with ASTRO File Manager, and transferred them to the ZTE Blade.
QR Droid
QR Droid uses Google Maps, so it needs Gapps. (when scanning a QR Code with GPS coordinates)
I guess something similar happens with the other app.
Well, no need for QR Droid, I already replaced it with Barcode Scanner.
But there is no replacement for Adaffix, which is an app that looks up caller IDs online, whcih are not in the phonebook. No idea why that one would require any of the Google services.

[GUIDE] How to fix and upgrade Google Play Services

[GUIDE] How to fix and upgrade Google Play Services
Click to expand...
Click to collapse
This Guide is designed for people, who are having problems with the GoogleApps_GearCM_CM9_20140711 package.
Only for CyanogenMod 9.1 - BroadcomCM Beta 5, but might help other people too.
Error Messages
If you get one of the following errors, you have installed a Google Apps Package which was signed with old certificates.
Incompatible with other application(s) using the same shared user ID.
This app won't run without Google Play services, which are missing from your phone.
The Problem
You cannot fix this error by installing/updating Google Play Services, because there is a conflict with the "shared user id".
The Solution
The "shared user ids" are stored in this file "/data/system/packages.xml".
Therefore it is very important that you don't delete the google apps manually with a Root Explorer.
Because in this case, the "shared user ids" are not getting deleted in the "packages.xml".
You should uninstall the Google Apps with the App Manager of the ES File Explorer.
Download it from the Play Store
Start the app and open the left toolbar
Go to "Tools" -> "App Manager"
Select "System Apps" from the top menu
Select the following apps (one by one) and hit uninstall and then click OK
/system/app/GooglePlayStore.apk (com.android.vending) (Google Play Store)
/system/app/GoogleContactsSyncAdapter.apk (com.google.android.syncadapter.contacts) (Google Contacts Sync)
/system/app/GoogleLoginService.apk (com.google.android.gsf.login) (Google Account Manager)
/system/app/GoogleServicesFramework.apk (com.google.android.gsf) (Google Services Framework)
/system/app/NetworkLocation.apk (com.google.android.location) (Network Location)
Click to expand...
Click to collapse
This will uninstall the apps correctly and the "packages.xml" gets also updated correctly.
Next Step
Afterwards reboot into recovery and wipe the cache.
Then install my updated Google Apps Package, which you can find here.
Final Step
After installing my updated Google Apps Package, reboot your device and go to the System Settings, and add your Google Account.
After clicking the "Add Account" button, there might be a bug, where the Google Icon is black and the text is not visible.
Just click the line which is completely dark, and configure your Google Account. Afterwards the Icon should re-appear.
How can i update Google Play? I'm using CM 7.2
mstfymrtc said:
How can i update Google Play? I'm using CM 7.2
Click to expand...
Click to collapse
Google Apps are updated automatically after you have installed a Google Apps Package.
Worked for me, thanks. Needed to enable Root Explorer in ES File Explorer (it's a toggle in the left-sidebar) and had to download ES Task Manager. Network Location system app didn't exist on mine (Android 4.4.4) but the fix still worked. Since I'm using CM11, I just re-installed their GApps zip package from Recovery.
Easy fix without reboot
Nightly Coder said:
This Guide is designed for people, who are having problems with the GoogleApps_GearCM_CM9_20140711 package.
Only for CyanogenMod 9.1 - BroadcomCM Beta 5, but might help other people too.
Error Messages
If you get one of the following errors, you have installed a Google Apps Package which was signed with old certificates.
Incompatible with other application(s) using the same shared user ID.
This app won't run without Google Play services, which are missing from your phone.
The Problem
You cannot fix this error by installing/updating Google Play Services, because there is a conflict with the "shared user id".
The Solution
The "shared user ids" are stored in this file "/data/system/packages.xml".
Therefore it is very important that you don't delete the google apps manually with a Root Explorer.
Because in this case, the "shared user ids" are not getting deleted in the "packages.xml".
You should uninstall the Google Apps with the App Manager of the ES File Explorer.
Download it from the Play Store
Start the app and open the left toolbar
Go to "Tools" -> "App Manager"
Select "System Apps" from the top menu
Select the following apps (one by one) and hit uninstall and then click OK
This will uninstall the apps correctly and the "packages.xml" gets also updated correctly.
Next Step
Afterwards reboot into recovery and wipe the cache.
Then install my updated Google Apps Package, which you can find here.
Final Step
After installing my updated Google Apps Package, reboot your device and go to the System Settings, and add your Google Account.
After clicking the "Add Account" button, there might be a bug, where the Google Icon is black and the text is not visible.
Just click the line which is completely dark, and configure your Google Account. Afterwards the Icon should re-appear.
Click to expand...
Click to collapse
What I did is went to settings apps, then I went to running apps, Google play services said it had 2 running service's, I opened it up and to find 7 were running and causing conflicts between the authentication and the service itself. I stopped all the services which is just like reciting because they restart. Phone works again no reboot, try this for a quick fix next time to save your day. Sincerely Jacob.
Nightly Coder said:
This Guide is designed for people, who are having problems with the GoogleApps_GearCM_CM9_20140711 package.
Only for CyanogenMod 9.1 - BroadcomCM Beta 5, but might help other people too.
Error Messages
If you get one of the following errors, you have installed a Google Apps Package which was signed with old certificates.
Incompatible with other application(s) using the same shared user ID.
This app won't run without Google Play services, which are missing from your phone.
The Problem
You cannot fix this error by installing/updating Google Play Services, because there is a conflict with the "shared user id".
The Solution
The "shared user ids" are stored in this file "/data/system/packages.xml".
Therefore it is very important that you don't delete the google apps manually with a Root Explorer.
Because in this case, the "shared user ids" are not getting deleted in the "packages.xml".
You should uninstall the Google Apps with the App Manager of the ES File Explorer.
Download it from the Play Store
Start the app and open the left toolbar
Go to "Tools" -> "App Manager"
Select "System Apps" from the top menu
Select the following apps (one by one) and hit uninstall and then click OK
This will uninstall the apps correctly and the "packages.xml" gets also updated correctly.
Next Step
Afterwards reboot into recovery and wipe the cache.
Then install my updated Google Apps Package, which you can find here.
Final Step
After installing my updated Google Apps Package, reboot your device and go to the System Settings, and add your Google Account.
After clicking the "Add Account" button, there might be a bug, where the Google Icon is black and the text is not visible.
Just click the line which is completely dark, and configure your Google Account. Afterwards the Icon should re-appear.
Click to expand...
Click to collapse
donn`t work i can login but no playstore
Nightly Coder said:
This Guide is designed for people, who are having problems with the GoogleApps_GearCM_CM9_20140711 package.
Only for CyanogenMod 9.1 - BroadcomCM Beta 5, but might help other people too.
Error Messages
If you get one of the following errors, you have installed a Google Apps Package which was signed with old certificates.
Incompatible with other application(s) using the same shared user ID.
This app won't run without Google Play services, which are missing from your phone.
The Problem
You cannot fix this error by installing/updating Google Play Services, because there is a conflict with the "shared user id".
The Solution
The "shared user ids" are stored in this file "/data/system/packages.xml".
Therefore it is very important that you don't delete the google apps manually with a Root Explorer.
Because in this case, the "shared user ids" are not getting deleted in the "packages.xml".
You should uninstall the Google Apps with the App Manager of the ES File Explorer.
Download it from the Play Store
Start the app and open the left toolbar
Go to "Tools" -> "App Manager"
Select "System Apps" from the top menu
Select the following apps (one by one) and hit uninstall and then click OK
This will uninstall the apps correctly and the "packages.xml" gets also updated correctly.
Next Step
Afterwards reboot into recovery and wipe the cache.
Then install my updated Google Apps Package, which you can find here.
Final Step
After installing my updated Google Apps Package, reboot your device and go to the System Settings, and add your Google Account.
After clicking the "Add Account" button, there might be a bug, where the Google Icon is black and the text is not visible.
Just click the line which is completely dark, and configure your Google Account. Afterwards the Icon should re-appear.
Click to expand...
Click to collapse
Don`t work, Google logged in but playstore Servererror

How can I install Google Play Services/Google Play Store on a phone with just AOSP?

I need to pair a watch with a phone that has just AOSP flashed on it and so I'm trying to figure out if/how I can install Google Play Services/Google Play Store onto the phone. (In order to pair the watch with the phone I need to install the Android Wear App, but I can't do that if the phone doesn't have Google Play Store/Google Play Services installed).
My phone is a Nexus 5 with the Lollipop AOSP installed, so I just tried installing the GSP apks using adb but I keep getting error messages that GPS has stopped running.
I'm an iOS developer and new to Android and have been searching for days how to solve my problem without success, so I'd be grateful if somebody could help me with the following questions:
1) If I get Google Play Services and Google Play Store apks from somewhere like apkmirror.com and install them will I be able to access the Android Wear app on Google play and download/install/run it?
2) If not then if I get the Android Wear app itself from somewhere like apkmirror.com and install it along with GPS will the Android Wear app run?
3) When I try to install GSP why do I get the error messages about it stopping? Are there other dependent components I need to also install to make it run?
4) Can I install it using adb or do I have to install it using a recovery? If so, then why does a recovery have to be used to install it, whats the difference between installing via a recovery and installing via adb?
Thanks for any insight, I'm getting nowhere and getting frustrated trying to work all this out.
I had exactly the same problem and could solve it.
I described my solution here:
https://code.google.com/p/aosp4nexus5/wiki/AOSPforNexus5
The documentation describes two alternatives:
1. Manual installation which is lost with every new flashing of the system image
2. Integration in the build process to create a system image including Google Play Store as vendor-specific prebuilt APKs
Thanks, I'll try it out
Do you have any ideas where I could get GoogleServicesFramework.apk from?
Places like apkmirror have GooglePlayStore.apk and GooglePlayServices.apk for Lollipop but not GoogleServicesFramework, (why would they have 2 of them but not all of them?).
I don't have a Nexus 10 device so can't obtain them as you did in your post.
mungbeans said:
Do you have any ideas where I could get GoogleServicesFramework.apk from?
Click to expand...
Click to collapse
You can unzip the file gapps-lp-20141109-signed.zip from BasketBuild https://s.basketbuild.com/gapps
You find it under system/priv-app/GoogleServicesFramework.
The name of the APKs may differ. GooglePlayServices is named something like GsmCore or com.google.android.gsm.
The Play Store is named something like Phonesky or Vending.
Thanks very much

[ROOT][Fix GMS] How to fix Google Play Services 7.0.97 as stopped

- You have problems with the application Google Play Services 7.0.97?...
Google with the latest updates of play services has caused many problems, continuous blocks and excessive consumption of the battery...
I have not found a definitive solution to use version 7.0.97, but I can explain an alternative and provisional...
- What you need?
1. Root
2. Google Play Services .apk version 6.6.03 universal armeabi CPU (I preferred version and stable)
3. File manager with permission root
How to?
1. uninstall the previous version of the Google Play Services
2. install version 6.6.03 (...)
3. create a folder in /Data/app with name com.google.android.gms-2 , permits changes in RW-R-R (this folder blocks the automatic update)
Note:
- Updated from sdcard worked
...by NotOnlyEyes
Great ... until it gets auto-"upgraded" by Google. Since this is not listed as an app in Play, how would one mark to not auto-upgrade. Maybe if it shows on recent upgrades in "my-apps," auto-upgrade can be unchecked from there.
Tasker scripts and/or the "Amplfiy" Xposed module can be used to tame the battery drain, or use an app-permissions that might come with your ROM to take away keep-awake. Will do nothing for the instability, however.
Maybe post a link to the old version.
Dovidhalevi said:
Great ... until it gets auto-"upgraded" by Google. Since this is not listed as an app in Play, how would one mark to not auto-upgrade. Maybe if it shows on recent upgrades in "my-apps," auto-upgrade can be unchecked from there.
Tasker scripts and/or the "Amplfiy" Xposed module can be used to tame the battery drain, or use an app-permissions that might come with your ROM to take away keep-awake. Will do nothing for the instability, however.
Maybe post a link to the old version.
Click to expand...
Click to collapse
This is block auto-upgrade from market:
3. create a folder in /Data/app with name com.google.android.gms-2 , permits changes in RW-R-R (this folder blocks the automatic update)...
Add link version google play services 6.6.03 in first post...
Notonlyeyes said:
This is block auto-upgrade from market:
3. create a folder in /Data/app with name com.google.android.gms-2 , permits changes in RW-R-R (this folder blocks the automatic update)...
Add link version google play services 6.6.03 in first post...
Click to expand...
Click to collapse
This looks like for lollipop.
In previous Android, using Link2sd, this would BE the link to the apk.
So what I did try was side-loading 6.6.03. The downgrade installed without a hitch thanks to the xinstall module, link2sd symlinked it, fine.
Then rebooted. Hoped to intercept the expected update and uncheck the Play Services auto-upgrade at that point. Unfortunately, most recent Google App (Search/Now) will not eat 6.6.03 so got com.google.process.gapps stop messages. The Google Now pane offered a click to install Play Services but this did not work.
Attempt to side-load 7.0.86 simply hung so trying to restore 7.0.97 from Titanium which also takes quite a bit of time but should eventually work (hope). So far, not successful, but will get it. Had side-loaded it originally.
is it causing problems on every version of android or only on kitkat ??
nomancoolboy said:
is it causing problems on every version of android or only on kitkat ??
Click to expand...
Click to collapse
Well im on cm9 and i havent got any error so far

how to uninstall beta gcamera app downloaded from unknown installation source

I have a new phone. Samsung Galaxy A50s. Model number SM-A507FN
I downloaded Arnova's Beta 6: GCam_5beta6.200105.0445build-7.2.018.apk
for Android 9+ phones from https: // ww w. celsoazevedo. com/files/android/google-camera/dev-suggested assuming it will work on my phone. However, the app has been crashing frequently and it does not work. I have upgraded the software of the phone so it was upgraded to Android 10. Kernel 4.14.62-17887617.
This app was not installed from play store so I don't know how to uninstall it now. So please let me know how to uninstall this app. It not appear in the list of installed apps either in settings or in the play store.
Because you didn't install the app from Google Play, that's why this app doesn't appear on your play store's installed apps list. I think the reason why your apk file keeps crashing and not working is that the installed apk version isn't compatible with your device system. So it's important to find a proper apk file before downloading. Maybe you can find some useful infor abt the compatibility between device version and app version in this article apktovi.com/blogs/how-to-find-a-proper-variant-for-apk-download.
And if you're lookin' for a way to uninstall apk file, you can apply the following simple steps: Go to "My file" application>search for the apk file>long press and tap "Delete" in the upper right-hand corner. Hope this helps!!

Categories

Resources