[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 letitia.paucek
50 minutes ago
Last post by wmuller
1 hour ago
Last post by marge.schultz
2 hours ago
Last post by maxwell.brekke
4 hours ago
Last post by bradly90
29 minutes ago
[Q] htc hd2
Started by yhansen
Last post by windler.blanca
3 hours ago
Last post by harvey.anita
1 hour ago
Last post by brando63
25 minutes ago
Last post by fbode
55 minutes ago
Last post by ramiro.lueilwitz
4 hours ago
Last post by jermaine85
1 hour ago
Last post by kassandra.stiedemann
3 hours ago
Last post by arlie01
3 hours ago