Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
wakoko79
Old
#1  
Member - OP
Thanks Meter 1
Posts: 34
Join Date: Mar 2012
Default [Q] CM10.1 camera app

HI,

So I am in CM10.1 (latest nightlies). I love the customization options of it compared to GAPPS camera. Though CM10 camera (or OVERALL CM10 system) lags/framedrops occasionally, I still like it because it has customization unlike stock camera app.

But I also want to install GAPPS on my device. The problem is once I flash GAPPS, the camera app of CM10 is overwritten.
I tried using Titanium back up prior flashing GAPPS. Since I can't find the camera/gallery app, I just backed up all system apps. Then I flashed gapps. After flashing, I used titanium again to restore all system apps. I restarted the phone, but the cm10 camera app isnt restored.

Is there another way to this? Like selective gapps installation(i have the flashable zip)?

Thanks!
 
traybourne
Old
#2  
Member
Thanks Meter 29
Posts: 68
Join Date: Aug 2011
Quote:
Originally Posted by wakoko79 View Post
HI,

So I am in CM10.1 (latest nightlies). I love the customization options of it compared to GAPPS camera. Though CM10 camera (or OVERALL CM10 system) lags/framedrops occasionally, I still like it because it has customization unlike stock camera app.

But I also want to install GAPPS on my device. The problem is once I flash GAPPS, the camera app of CM10 is overwritten.
I tried using Titanium back up prior flashing GAPPS. Since I can't find the camera/gallery app, I just backed up all system apps. Then I flashed gapps. After flashing, I used titanium again to restore all system apps. I restarted the phone, but the cm10 camera app isnt restored.

Is there another way to this? Like selective gapps installation(i have the flashable zip)?

Thanks!
You could use 7-zip to delete the gallery.apk in system/media in your zip.
 
wakoko79
Old
#3  
Member - OP
Thanks Meter 1
Posts: 34
Join Date: Mar 2012
Quote:
Originally Posted by traybourne View Post
You could use 7-zip to delete the gallery.apk in system/media in your zip.
It didn't work.
I checked the gapps package, the apk (gallerygoogle.apk) is NOT in the system/app folder.
It is in optional/photosphere/mako/app.
I believe the package is signed. When I removed gallerygoogle.apk from the mako/app folder, then flashed it, no GAPPS were installed. Not just to camera app, but literally no gapps at all.
 
jakejm79
Old
#4  
Senior Member
Thanks Meter 79
Posts: 573
Join Date: Jan 2010
Quote:
Originally Posted by wakoko79 View Post
It didn't work.
I checked the gapps package, the apk (gallerygoogle.apk) is NOT in the system/app folder.
It is in optional/photosphere/mako/app.
I believe the package is signed. When I removed gallerygoogle.apk from the mako/app folder, then flashed it, no GAPPS were installed. Not just to camera app, but literally no gapps at all.
Edit the install-optional.sh script in the G-Apps package to remove reference to photosphere, use wordpad++ to edit it.
This is the part you want to delete
Code:
if (grep -qi "mako" /proc/cpuinfo ); then
  echo "Installing Mako-specific google bits"
  rm -f /system/app/Gallery2.apk
  cp -a /tmp/photosphere/mako/* /system/
  cp -a /tmp/photosphere/lib/* /system/lib/
  chmod 755 /system/addon.d/73-gapps-mako.sh
fi

if (grep -qi "tuna" /proc/cpuinfo ); then
  echo "Installing Tuna-specific google bits"
  rm -f /system/app/Gallery2.apk
  cp -a /tmp/photosphere/tuna/* /system/
  cp -a /tmp/photosphere/lib/* /system/lib/
  chmod 755 /system/addon.d/74-gapps-tuna.sh
fi

if (grep -qi "manta" /proc/cpuinfo ); then
  echo "Installing Manta-specific google bits"
  rm -f /system/app/Gallery2.apk
  cp -a /tmp/photosphere/manta/* /system/
  cp -a /tmp/photosphere/lib/* /system/lib/
  chmod 755 /system/addon.d/75-gapps-manta.sh
fi
The Following User Says Thank You to jakejm79 For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...