[Q] How do I replace AOSP camera with Google camera? (CM12)

I flashed the current Nexus 5 CM12 daily with Paranoid Android Google Apps today. Everything's working, except that I seem to be stuck with the AOSP camera. Titanium Backup and other similar utilities don't seem to be able to uninstall it completely; they can remove the icon and the apk but some traces remain. After removing camera2/AOSP Camera with TB and verifying the absence of /system/app/Camera2, I've tried:

  • Installing from Play Store, which results in error -504 (not the common and easily solved error 504, mind you, but the same underlying problem as...)
  • adb install without -r:
    W/PackageManager( 772): Attempt to re-install com.google.android.GoogleCamera without first uninstalling package running as com.android.camera2
  • adb install -r (same as above)

I realize I could wipe system/data and go from there, but I'd prefer to avoid that if at all possible. I'm hoping there's just some stray piece of metadata somewhere that I can delete so Android knows that com.android.camera2 is gone. Any suggestions? Thanks.

Booted into recovery and copied the files into /system/app/GoogleCamera, set permissions, and (shockingly) that did it.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by leilani.kutch
1 hour ago
Last post by arely46
47 minutes ago
Last post by johnson.dalton
3 hours ago
help lyf ls5014
Started by bmills
Last post by rocky02
4 hours ago
Last post by uschuster
2 hours ago
Last post by dooley.ahmad
2 hours ago
Last post by emely.champlin
3 hours ago
Last post by polly25
2 hours ago
Last post by victor.huels
3 hours ago