[APP][MOD][addon.d] Stock Gallery w/ Picasa Sync

rmkilc

Senior Member
Nov 12, 2011
1,154
723
0
Vancouver, WA
www.rmkilc.com
A lot of people running Cyanogenmod, and other custom AOSP-based ROMs would like to have the gallery that ships with the Nexus devices. This zip will replace your gallery (Gallery2.apk) with the stock Google gallery (GalleryGoogle.apk). This will give you Picasa sync and the ability to view Photospheres on Nexus 7 devices, and take Photospheres on devices with a rear camera! This mod also includes an addon.d script.

What is addon.d?
On some ROMs, like Cyanogenmod, there are scripts in /system/addon.d that run during a ROM update or flash. They can backup and restore system apps (like Gapps), or perform many other functions. This mod includes an addon.d script, so the mod is not lost during a ROM update! If your ROM doesn't support addon.d, this mod should still flash properly, but you won't benefit from addon.d.

Tested and Confirmed to work on:
CyanogenMod 10.2

Install Instructions:
- Boot into recovery
- Flash Install zip
- Reboot

Downloads:
Install-GoogleGallery-1.6.zip

Changelog:
Code:
1.6 - 11/8/13
- Added some missing libs

1.5 - 11/8/13
- Updated, based on 4.4

1.4 - 9/15/13
- Removed device checks (so it will work on virtually any device), added missing libs, and renamed mod from Install-Nexus7Gallery to Install-GoogleGallery

1.3 - 7/25/13
- Updated, based on 4.3 (JWR66V)

1.2 - 3/3/13
- Updated liblightcycle.so from 20130301 gapps (since Nexus 7 can't take photospheres, this file probably doesn't matter but I updated it anyway)

1.1 - 2/20/13
- Added tilapia (Nexus 7 3G) support

1.0 - 2/20/13
- Initial release, based on 4.2.2 (JDQ39)
DISCLAIMER:
This mod involves editing system files. Use at your own risk! Also please don't forget, before you report ROM related bugs in the ROM developer thread, you should remove this mod to make sure the issue is not caused by this mod!
 
Last edited:

counterfeit187

Senior Member
Sep 15, 2010
1,010
298
0
Re: [MOD][addon.d] Stock Gallery w/ Picasa Sync

Sorry, no, it specifically checks to see if your device is a grouper. Hmm, you got me thinking, maybe I need to add tiliapia in the device check.

What device are you wondering about?
Samsung epic4g :-\

Sent from my SPH-D700 using Tapatalk 2
 

enboig

Member
Nov 12, 2012
13
0
0
Install on htc desire Z

How can I install it on my phone (in case it may works...)? Do I have to install the tilapia version or the grouper?

Thanks
 

Rafosky

Senior Member
Jan 13, 2011
181
36
0
Alabama, US
I PM you because goo isn't working.:D:D:D

Sent from my Nexus 7 using xda premium

---------- Post added at 08:48 AM ---------- Previous post was at 08:46 AM ----------

I PM you because goo isn't working.:D:D:D

Sent from my Nexus 7 using xda premium






My download links will be broken for awhile. Goo.im is having issues, and they are working on it. More information can be found here: https://plus.google.com/103016236037938342074/posts/iWu73keEHtW

In the meantime, if you need a file ASAP, PM me.
Yep.. I need the file:rolleyes::rolleyes::rolleyes:

Sent from my Nexus 7 using xda premium
 

btaylor545

Senior Member
Jul 8, 2010
522
55
0
Detroit
Just installed this zip and get a force close every time I try to save a pic from Picasa or share one anyone else have this problem?

Sent from my Nexus 7 using Tapatalk HD
 

nproszkow

New member
Sep 24, 2012
1
0
0
INC 4G

I'd like to replace the CM 10.1 gallery on my INC 4G so I can get Google+ image syncing to work. The zip on this thread throws a "grouper" specific device error. Is the talapia version available somewhere?

Thanks.
 

rmkilc

Senior Member
Nov 12, 2011
1,154
723
0
Vancouver, WA
www.rmkilc.com
I'd like to replace the CM 10.1 gallery on my INC 4G so I can get Google+ image syncing to work. The zip on this thread throws a "grouper" specific device error. Is the talapia version available somewhere?

Thanks.
This zip checks for both grouper and tilapia (as of version 1.1). If you are wanting to flash this on a device other than grouper or tilapia, you will have to modify the zip.
 
  • Like
Reactions: Prior_Ori

counterfeit187

Senior Member
Sep 15, 2010
1,010
298
0
Borrowing your scripts, please

I was considering trying to make something like this (an addon.d script) for the Camera and Gallery for Samsung Galaxy S3. I hate having to reflash the a patched camera zip after every CyanogenMod Nightly build.

I'm not terribly worried about device checks because I'd only be trying it for myself on one specific device initially, so I imagine it is the 77-gapps-tilapia.sh script that I'd need to look at to make edits for my purposes. It appears that there are two apks (GalleryGoogle.apk and GmsCore.apk) and three libs (libjni_filtershow_filters.so, libjni_mosaic.so, and liblightcycle.so) necessary to make the camera/galler work on the Galaxy S3.

Your script begins with:
list_files() {
cat <<EOF
app/GalleryGoogle.apk app/Gallery2.apk
lib/liblightcycle.so
EOF
}

Would it be as simple as changing this to:
list_files() {
cat <<EOF
app/GalleryGoogle.apk app/GmsCore.apk
lib/libjni_filtershow_filters.so lib/libjni_mosaic.so lib/liblightcycle.so
EOF
}

This is my first time trying to do something like this but I could see it being useful for a lot of people--the galaxy S3 is a popular phone on many carriers. Anyone willing to give me a hand?
 

rmkilc

Senior Member
Nov 12, 2011
1,154
723
0
Vancouver, WA
www.rmkilc.com
I was considering trying to make something like this (an addon.d script) for the Camera and Gallery for Samsung Galaxy S3. I hate having to reflash the a patched camera zip after every CyanogenMod Nightly build.

I'm not terribly worried about device checks because I'd only be trying it for myself on one specific device initially, so I imagine it is the 77-gapps-tilapia.sh script that I'd need to look at to make edits for my purposes. It appears that there are two apks (GalleryGoogle.apk and GmsCore.apk) and three libs (libjni_filtershow_filters.so, libjni_mosaic.so, and liblightcycle.so) necessary to make the camera/galler work on the Galaxy S3.

Your script begins with:
list_files() {
cat <<EOF
app/GalleryGoogle.apk app/Gallery2.apk
lib/liblightcycle.so
EOF
}

Would it be as simple as changing this to:
list_files() {
cat <<EOF
app/GalleryGoogle.apk app/GmsCore.apk
lib/libjni_filtershow_filters.so lib/libjni_mosaic.so lib/liblightcycle.so
EOF
}

This is my first time trying to do something like this but I could see it being useful for a lot of people--the galaxy S3 is a popular phone on many carriers. Anyone willing to give me a hand?
I'm not 100% familiar with the extra files required on the GS3, but I think you want this:

Code:
list_files() {
cat <<EOF
app/GalleryGoogle.apk app/Gallery2.apk
app/GmsCore.apk
lib/liblightcycle.so
lib/libjni_filtershow_filters.so
lib/libjni_mosaic.so
EOF
}
Each line handles one file. If only one file is listed on a line, it will carry it through. If two files are listed with a space between them, it will replace the second file with the first file. For example, in my script, we want GalleryGoogle.apk to replace Gallery2.apk. The files must be the entire path within /system with no leading forward slash. Make sense?
 
  • Like
Reactions: counterfeit187