5,594,221 Members 43,396 Now Online
XDA Developers Android and Mobile Development Forum

[MOD]Remove facebook images in gallery

Tip us?
 
Riyal
Old
(Last edited by Riyal; 22nd May 2013 at 01:20 AM.)
#1  
Senior Member - OP
Thanks Meter 1281
Posts: 2,699
Join Date: Dec 2011
Location: Iloilo City

 
DONATE TO ME
Default [MOD]Remove facebook images in gallery

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, 3523 views)
File Type: zip RestoreGalleryPatch.zip - [Click for QR Code] (3.68 MB, 836 views)
The Following 37 Users Say Thank You to Riyal For This Useful Post: [ Click to Expand ]
 
unremarked
Old
#2  
unremarked's Avatar
Senior Member
Thanks Meter 183
Posts: 871
Join Date: Jun 2009
Location: Out There
Love the idea!

However, attempted to flash in CWM onto TrickDroid 5.4 ROM and it failed. Error Status 6.
 
anilv26
Old
#3  
anilv26's Avatar
Member
Thanks Meter 2
Posts: 34
Join Date: Aug 2011
Location: Bree
Same here

Sent from my HTC One using xda app-developers app



HTC ONE
MaximusHD 12.x.x

Rooted and Unlocked


HTC Sensation
Rom ARHD 7.2
Kernel SebastianFM
 
CheesyNutz
Old
#4  
CheesyNutz's Avatar
Senior Member
Thanks Meter 2757
Posts: 10,605
Join Date: Oct 2010
Location: Springfield
Oh nice thanks

Sent from my HTC One using Tapatalk 2
Copy Cloud storage https://copy.com?r=cgXMEB
DropBox Cloud storage http://db.tt/UnygTbN
 
Guich
Old
(Last edited by Guich; 14th May 2013 at 08:43 PM.)
#5  
Guich's Avatar
Recognized Contributor
Thanks Meter 2933
Posts: 4,184
Join Date: May 2012

 
DONATE TO ME
Quote:
Originally Posted by unremarked View Post
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 View Post
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!
The Following 5 Users Say Thank You to Guich For This Useful Post: [ Click to Expand ]
 
thefoss
Old
#6  
Senior Member
Thanks Meter 27
Posts: 342
Join Date: Mar 2006
Location: orlando
[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?
 
Guich
Old
#7  
Guich's Avatar
Recognized Contributor
Thanks Meter 2933
Posts: 4,184
Join Date: May 2012

 
DONATE TO ME
Quote:
Originally Posted by thefoss View Post
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: [ Click to Expand ]
 
tiato
Old
#8  
tiato's Avatar
Senior Member
Thanks Meter 67
Posts: 143
Join Date: Jul 2010
[QUOTE=thefoss;41419327]
Quote:
Originally Posted by Guich View Post
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.
Sprint HTC ONE Glacial Silver
ROM: Stock, rooted & Xposed!
Kernel: Stock | Recovery: TWRP 2.6.3.0 | PRI: 4.38_003
HW: 0004 | HBOOT: 1.56.0000 | Radio: 1.00.20.1108
Useful Tools: adb files | adb commands | Notepad++
The Following User Says Thank You to tiato For This Useful Post: [ Click to Expand ]
 
Riyal
Old
#9  
Senior Member - OP
Thanks Meter 1281
Posts: 2,699
Join Date: Dec 2011
Location: Iloilo City

 
DONATE TO ME
@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: [ Click to Expand ]
 
3thman
Old
#10  
3thman's Avatar
Senior Member
Thanks Meter 42
Posts: 691
Join Date: Dec 2010
Location: Boston
U r the man

Sent from my HTC One using xda app-developers app
will never be satisfied with a phone's battery

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

Advanced Search
Display Modes