Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD]Remove facebook images in gallery

OP Riyal

14th May 2013, 07:13 PM   |  #1  
OP Senior Member
Flag Iloilo City
Thanks Meter: 1,693
 
2,877 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Hello again! I would like to share another mod that will remove the annoying facebook pictures when you open your gallery.

By default whenever you are logged in to facebook the HTC Gallery app would download all the profile pictures of your friends and show it in the main window of your gallery thus cluttering the main window of your gallery with pictures that you don't even own. What this mod will do is disable the gallery app from pulling the pictures and instead you will be shown only the default rectangular social thumbnail.


Now why didn't I remove it totally?

The thumbnail still has a purpose. Instead of the gallery directly showing up the facebook images right when you open the gallery app with this mod it is only shown when you click open the rectangular social thumbnail.



Sorry can't post screenshots as this would be breaking the privacy of my friends that will be shown if ever I post screenshots. Just test and give feedback


And for those who want to include this in their custom ROMs. Feel free to do so No need to ask for permission nor I require you guys to give credits to me. Just pull the APK and thats it! No strings attached


Edit: Sorry guys got a typo in the updater script so it failed to install. Already fixed it now.


Edit: Updated installer script.

Download this for the modded gallery.
Click Here


Download this for restoring to stock odexed gallery(If mod won't work on your ROM)
Click Here
Attached Files
File Type: zip GalleryPatch(Fix).zip - [Click for QR Code] (3.16 MB, 3601 views)
File Type: zip RestoreGalleryPatch.zip - [Click for QR Code] (3.68 MB, 854 views)
Last edited by Riyal; 22nd May 2013 at 02:20 AM.
The Following 37 Users Say Thank You to Riyal For This Useful Post: [ View ]
14th May 2013, 07:35 PM   |  #2  
unremarked's Avatar
Senior Member
Out There
Thanks Meter: 190
 
882 posts
Join Date:Joined: Jun 2009
More
Love the idea!

However, attempted to flash in CWM onto TrickDroid 5.4 ROM and it failed. Error Status 6.
14th May 2013, 08:12 PM   |  #3  
anilv26's Avatar
Member
Flag Bree
Thanks Meter: 2
 
35 posts
Join Date:Joined: Aug 2011
More
Same here

Sent from my HTC One using xda app-developers app
14th May 2013, 08:55 PM   |  #4  
CheesyNutz's Avatar
Senior Member
Flag Springfield
Thanks Meter: 3,207
 
11,788 posts
Join Date:Joined: Oct 2010
More
Oh nice thanks

Sent from my HTC One using Tapatalk 2
14th May 2013, 09:36 PM   |  #5  
Guich's Avatar
Recognized Contributor / Themer
Flag Into Her Eyes...
Thanks Meter: 3,332
 
4,393 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by unremarked

Love the idea!

However, attempted to flash in CWM onto TrickDroid 5.4 ROM and it failed. Error Status 6.

Quote:
Originally Posted by anilv26

Same here

Sent from my HTC One using xda app-developers app

Umh, i opened zip, there is an issue at the first string so:
- Open the zip wit 7zip or other
- Go to: "META-INF/com/google/android
- Open the "updater-script" with notepad++ or another editor
- Replace this line with the first
Code:
ui_print("HTC Gallery patch");
- Close the editor
- Save all
- Flash it
You can also do this:
- Download the apk from here or here, or extract it from zip
- Put into you fastboot/adb folder (you can download it from here)
- Connect the phone at pc with debug usb enabled
- Open a cmd or terminal and move to the folder (cd dir_of_folder)
- Type:
Code:
adb push HTCAlbum.apk system/app
- Open the gallery
- Done!
Last edited by Guich; 14th May 2013 at 09:43 PM.
The Following 5 Users Say Thank You to Guich For This Useful Post: [ View ]
14th May 2013, 10:44 PM   |  #6  
Senior Member
Flag orlando
Thanks Meter: 39
 
396 posts
Join Date:Joined: Mar 2006
More
[QUOTE=Guich;41416954]Umh, i opened zip, there is an issue at the first string so:
- Open the zip wit 7zip or other
- Go to: "META-INF/com/google/android
- Open the "updater-script" with notepad++ or another editor
- Replace this line with the first
Code:
ui_print("HTC Gallery patch");
- Close the editor
- Save all
- Flash it

Replace which line with what? A little confusing.

Also, couldn't you extract the .apk and use Root Explorer to move it to System?
14th May 2013, 10:50 PM   |  #7  
Guich's Avatar
Recognized Contributor / Themer
Flag Into Her Eyes...
Thanks Meter: 3,332
 
4,393 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by thefoss

Replace which line with what? A little confusing.

Also, couldn't you extract the .apk and use Root Explorer to move it to System?

In the updater-script, replace my line with the first of the txt.

However, you can extract and copy/paste it, but with adb is more faster
The Following User Says Thank You to Guich For This Useful Post: [ View ]
14th May 2013, 10:52 PM   |  #8  
tiato's Avatar
Senior Member
Thanks Meter: 67
 
144 posts
Join Date:Joined: Jul 2010
More
[QUOTE=thefoss;41419327]
Quote:
Originally Posted by Guich

Umh, i opened zip, there is an issue at the first string so:

- Open the zip wit 7zip or other
- Go to: "META-INF/com/google/android
- Open the "updater-script" with notepad++ or another editor
- Replace this line with the first
Code:
ui_print("HTC Gallery patch");
- Close the editor
- Save all
- Flash it

Replace which line with what? A little confusing.

Also, couldn't you extract the .apk and use Root Explorer to move it to System?

The first line missing one double quote ("). Just add that quote to make the line looks like ui_print("HTC Gallery patch"); then you're set.
The Following User Says Thank You to tiato For This Useful Post: [ View ]
15th May 2013, 02:10 AM   |  #9  
OP Senior Member
Flag Iloilo City
Thanks Meter: 1,693
 
2,877 posts
Join Date:Joined: Dec 2011
Donate to Me
More
@unremarked @anilv26 @thefoss @CheesyNutz

Installer is fixed now guys sorry about that. And thanks for pointing out the error @Guich
The Following 3 Users Say Thank You to Riyal For This Useful Post: [ View ]
15th May 2013, 08:39 AM   |  #10  
3thman's Avatar
Senior Member
Flag Boston
Thanks Meter: 51
 
785 posts
Join Date:Joined: Dec 2010
U r the man

Sent from my HTC One using xda app-developers app

Post Reply Subscribe to Thread

Tags
facebook, gallery, htc one, photo, remove
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes