Installing APKs - G2 Q&A, Help & Troubleshooting

I installed a stripped version of stock Lollipop and have used it for my daily driver for a while. There are a few of the widgets/apps missing that I'm trying to add back. I've got the weather widget APKs, but can't get it to install. I've copied it to the system folder and reset permissions and still nothing. I just get a message after the reboot that weather failed. Anybody have any ideas or another APK that will work with stock lollipop? I appreciate it.

Related

Uninstalled Calendar. Now cannot reinstall.

Hi everyone. I would appreciate any help on my current problem.
I'm running rooted Vibrant with JI6 update and RyanZA OCLF. My bumbling with the Vibrant has resulted in the following scenario:
I backed up TWCalendar and Provider apk and odex and deleted both from /system/app.
After reboot, I uninstalled com.android.calendar and com.android.provider.calendar.
Another reboot, and I installed a Calendar.apk and CalendarProvider.apk, stock calendar apps from I believe CM5.0.8 for N1. Installed via Root File Manager and another stroke of reboot magic.
Calendar worked perfectly, except for an unsightly gray bar obscuring the top portion of the calendar. I thought thinks may have gotten mucked up with an install. So I did an uninstall->reboot->install->reboot. Gray bar was still there. So I decided to just go back to touchwiz calendar. I uninstalled Calendar and CalendarProvider, rebooted, moved my TWCalendar.apk and Provider apk and odex from backup, and then selected TWCalendar.apk to install. Said application did not install. Thought I would settle, for the meantime then, on the N1 calendar, so moved the TW apk and odexes to backup and once again tried to install Calendar.apk and CalendarProvider.apk. I tried to install Calendar.apk through root file manager, and it said application not installed. Now, I can install neither the normal calendar nor the TW calendar. Any attempts greet me with "Application Not Installed."
Anyone have any advice?
Thank you so much for any assistance.

Assistance Needed With Custom Theme

Hello,
Quick inquiry with regards to a minor complication when attempting to flash a custom theme to a Sony Xperia X10.
The device has been rooted successfully and is currently running Wolfbreaks CM 6.1.3 v053.
I have attempted to flash a custom theme titled "Galaxy S for CyanogenMod 6.1.1 Stable". Everything functions perfectly thus far. Other then the fact that upon reboot an error messages specifies that Gmail has ceased unexpectedly.
The exact message displayed is quoted as "The application Gmail (process com.google.android.gm) has stopped unexpectedly. Please try again." Although this message displays consistently upon each attempt to restart the program. Also automatically once the device initializes from a reboot or shutdown. The theme was flashed via xrecovery as custom zip. As per instructions "cmparts_ui.xml" was transferred to /sdcard/CMTheme and selected from the Tweaks menu.
(Thread referenced: http://forum.xda-developers.com/showthread.php?t=876600)
This problem did not occur originally when CM 6.1.3 was flashed. Would resolution be a matter of reflashing Cyanogenmod? or as simple as updating the application itself within the market? I can not locate any original files to flash back to the provided theme packaged with the most recent 6.1.3 mod and I can only surmise that doing so would resolve this issue.
Final note would be the process one would take to uninstall such custom themes. I've noticed deleting the .xml file from the sd card does remove it from the tweaks menu. However does this procedure ensure deletion of all associated files? Or is there a proper method to ensure complete removal is successfully accomplished?
Any feedback with respect to this particular theme including whether or not it would be necessarily recommended is much appreciated. This wouldn't be my first flash/root/modification or customization of a device. However this is my first Xperia X10. So I do want to make sure I am being as accurate as possible to avoid any future complications.
Thanks for everyones time and attention.
*Although on the plus side I'm able to transfer my contacts from a SIM card directly to the device with this current version of firmware. Such feature was greyed out in the menu initially
the theme probably has a custom gmail apk in it. which is either broken or incompatible with 6.1.3.
try opening wb's 6.1.3 with 7zip and pull the gmail.apk from that rom. copy it to your sd card, then use root explorer to copy it to /system/app. give it the correct permissions and reboot. problem should be fixed.
hello
thanks for your reply. your instructions sounded quite logical and i assumed id have no complications. i copied the app as per your instructions. overwrote the existing entry when prompted. however upon reboot gmail has been removed off the home screen.
attempting a manual install either within the system/app directory or through the sd card returns an unable to install error message.
ive gone ahead and downloaded the gmail app from the market. which thankfully does install. it is functioning and installs successfully to the device.
presumably anyone experiencing this same issue should download the app from the market very strange occurrence indeed.
my only other issue currently is the GPS functionality. switching on the gps displays no indicator within the toolbar. location based services seem not to pick up a location what so ever.
im hopeful this isnt a result of flashing this particular theme. any suggestions?
If you have flashed a framework etc for that theme (using xrec) it won't reverse if you delete that xml file in the sd card.
If you want to go back to original make a copy of that theme xrec and replace its apks with the apks from the ROMs xrec zip. Then flash it.
And if you want to use the theme and also the gmail apk look and feel (theme). Try replacing original gmail apks .png images, which are in drawable-hdpi etc. folders, with the themes gmail apk images.
thesoundofsilence said:
hello
thanks for your reply. your instructions sounded quite logical and i assumed id have no complications. i copied the app as per your instructions. overwrote the existing entry when prompted. however upon reboot gmail has been removed off the home screen.
attempting a manual install either within the system/app directory or through the sd card returns an unable to install error message.
ive gone ahead and downloaded the gmail app from the market. which thankfully does install. it is functioning and installs successfully to the device.
presumably anyone experiencing this same issue should download the app from the market very strange occurrence indeed.
my only other issue currently is the GPS functionality. switching on the gps displays no indicator within the toolbar. location based services seem not to pick up a location what so ever.
im hopeful this isnt a result of flashing this particular theme. any suggestions?
Click to expand...
Click to collapse
after you copied to /system/app, did you change permissions?
the theme may not have a status_gps.png icon or, it's the same color as your status bar.
the app never requested a permission change. upon trying to start originally would just return error.
this was resolved by downloading directly from the market. my only issue now is what to do with the gps connectivity? as it does not seem to be returning a location. the only other thing ive noticed is the default camera app does not zoom.
im trying to assess whether any of this is a result of having changed the theme to the galaxy s cm 6.1 mentioned in the initial post, and how to go about fixing these issues to avoid having to flash back to the original cm6 stock theme.
** GPS has been fixed and is fully functional. Single issue remains with regards to camera not zooming what so ever. Although now attempting an upgrade to CM7. Thanks everyone

Latest Google Keyboard...unable to install

Is anyone else able to install the latest update to Google Keyboard from the Market? I am unable to. I think I broke my Razr at some point, sadly. I manually updated to the new keyboard before they put it in the market (way back when). I have been able to get it to update in the past, but now, something is wrong, and it won't update...it keeps either telling me my certificate isn't correct, or it is already installed.
Things I have tried:
Making sure the following were the stock versions, and then removing all of them:
in /system/app:
Latin.apk, LatinIME.apk, LatinImeDictionaryPack.apk
in /system/lib:
libjni_latin.so, libjni_latinime.so
in /data/data:
com.google.android.inputmethod.latin
com.google.android.inputmethod.latin.dictionarypack
com.motorola.android.inputmethod.latin
I have tried wiping davlik-cache and cache, tried rebooting. Tried installing from market, and downloaded apk, using adb and pm install. It seems to either, if all the files are present, tell me that it can't install, as it is a different version of the certificate OR if I delete them all, it tries to install and reports the app is already installed.
Any suggestions?
Just to help anyone else find this post, some of the error messages I encountered that would help them find this in searching:
From the pm install, errors: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES and INSTALL_FAILED_ALREADY_EXISTS
and from the dialogs in Android, when trying to do it from the market:
Application already exists, and Package file was not signed correctly.
Are you rooted? If so, have you tried uninstalling the keyboard with titanium backup, rebooting, then installing the new one from the play store?
Yep, I'm rooted, I should have mentioned that. I tried uninstalling with Titanium Backup, no luck. There must be some other thing that is colliding with the keyboard, something that I need to delete or clear, no idea. I am sure it is an odd problem to me, cause I got the keyboard manually before it came to market, but darned if I can figure this out. It really stinks, cause now I have only one choice, Swype. I really like and miss the Google Keyboard.
Only other thing that I can think of is if you are running a custom rom, do a dirty flash and then flash gapps. Otherwise you might have to do a complete wipe and start over.
RoboCuz said:
Is anyone else able to install the latest update to Google Keyboard from the Market? I am unable to. I think I broke my Razr at some point, sadly. I manually updated to the new keyboard before they put it in the market (way back when). I have been able to get it to update in the past, but now, something is wrong, and it won't update...it keeps either telling me my certificate isn't correct, or it is already installed.
Things I have tried:
Making sure the following were the stock versions, and then removing all of them:
in /system/app:
Latin.apk, LatinIME.apk, LatinImeDictionaryPack.apk
in /system/lib:
libjni_latin.so, libjni_latinime.so
in /data/data:
com.google.android.inputmethod.latin
com.google.android.inputmethod.latin.dictionarypack
com.motorola.android.inputmethod.latin
I have tried wiping davlik-cache and cache, tried rebooting. Tried installing from market, and downloaded apk, using adb and pm install. It seems to either, if all the files are present, tell me that it can't install, as it is a different version of the certificate OR if I delete them all, it tries to install and reports the app is already installed.
Any suggestions?
Just to help anyone else find this post, some of the error messages I encountered that would help them find this in searching:
From the pm install, errors: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES and INSTALL_FAILED_ALREADY_EXISTS
and from the dialogs in Android, when trying to do it from the market:
Application already exists, and Package file was not signed correctly.
Click to expand...
Click to collapse
If your problem is in somewhere in data then a factory data reset is an option. But before you try that my restore thread allows you to try 3 different systems (stock, stock deodexed-debloat & if your are unlocked: a Telstra deodexed-debloat) and keep your data. They all need to be done is a series to keep data.
aviwdoowks said:
If your problem is in somewhere in data then a factory data reset is an option. But before you try that my restore thread allows you to try 3 different systems (stock, stock deodexed-debloat & if your are unlocked: a Telstra deodexed-debloat) and keep your data. They all need to be done is a series to keep data.
Click to expand...
Click to collapse
I managed to get this installed...I'm not sure exactly what I did to get it to work, and I still think I am somewhat broken, unfortunately. I removed the data directory, left all the .so and .apk files from stock, EXCEPT I took the Google Keyboard apk and manually stuck it into /system/app. I THEN did a pm install -r googlekeyboard.apk and it managed to install on top. I think I also (although not sure it helped) removed a rename line in /data/system/packages.xml about the package.
I don't have it linked in the market (in spite of trying with TB) and I don't have the Google Keyboard Settings app showing in my app tray, but the keyboard is there, selectable and seems to be working.
Cheers
RoboCuz
I am unable to install any version of google keyboard in my rooted Micromax A177.

Recovering Stock Samsung Applications [ROOT]

Hi,
I recently rooted my Note 5, and was trying to update the following stock apps: Phone, Messages, Contacts. First, I uninstalled them all using SD Maid Pro, then downloaded the latest version of the apps (for Android 7 and +) from apkmirror. However, except for Phone, I encountered the conflicting package error. Furthermore, even after I rebooted (and tried replacing it from data/app to system/priv-app), Phone app could not be found. Currently, I have neither of the apps and cannot use my phone to call or send an SMS.
I have no intention to flash a stock ROM and lose everything I've built and set up so far.
Any help that regards to installing the latest version of the aforementioned apps is appreciated,
Thank you.
EDIT: Manually installed the apps by creating a folder with the same name as the .apk file in system/priv-app and giving the right permissions to the file (rw-r--r--) for each of the apps.

Unable to Install APKs (Package Invalid)

I recently upgraded to the latest build of Oxygen OS (IN2025_11_F.13) after procrastinating.
I am trying to install quick glance so that I can disable the discover page on my homescreen.
No matter what APK version I try, it gives me an error stating the package appears to be invalid.
The same thing happens when trying to install the older version of oneplus weather with the (in my opinion) better widget and animations.
This also applies to any APK I have tried installing.
Is there any way to install these apps?
Or are there other ways to restore the old version of weather and disable discover?
My device is rooted with Magisk FYI.
Thanks.

Categories

Resources