Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Rydah805
Old
(Last edited by Rydah805; 8th June 2012 at 07:40 PM.)
#1  
Rydah805's Avatar
Recognized Contributor - OP
Thanks Meter 932
Posts: 3,376
Join Date: Oct 2008
Location: Ventura County

 
DONATE TO ME
Default [HOW TO] [TEAM XPOSED] Disable Geo Tagging In Camera By Default


Gonna quote most of SteelH's [How To] post opener:


This reference guide is to tell you what to edit to disable Geo-Tagging by default for the EVO 4G LTE in Camera.apk. It is not an all-inclusive how-to on adb, decompiling/recompiling apks, etc. There are already several very good sources right here on XDA for that information. This can manually be turned off/on by the user, but this is intended for rom developers who want it off by default.


Decompile Camera.apk and look for \com\android\camera\DisplayDevice.smali:
Code:
.method public static isDisplayGPSindicator()Z
    .registers 1

    .prologue
    .line 1110
    const/4 v0, 0x1

    return v0
.end method
Change const/4 v0, 0x1 To const/4 v0, 0x0

Final Should Look Like:
Code:
.method public static isDisplayGPSindicator()Z
    .registers 1

    .prologue
    .line 1110
    const/4 v0, 0x0

    return v0
.end method

For the convenience of the community, I have attached 2 zips (Odex & Deodex - v. 1.13.651.1) with the modifications already in place. Also includes 'Shutter Sound Toggle.'

Attached Files
File Type: zip Camera_Odex_Rydah805.zip - [Click for QR Code] (2.36 MB, 17 views)
File Type: zip Camera_DeOdex_Rydah805.zip - [Click for QR Code] (2.35 MB, 22 views)
The Following 5 Users Say Thank You to Rydah805 For This Useful Post: [ Click to Expand ]
 
husker91
Old
#2  
Senior Member
Thanks Meter 367
Posts: 910
Join Date: Oct 2008
Location: Crowley, TX

 
DONATE TO ME
What exactly is the point of this? Wouldn't it just be easier to toggle it off? Unless this was cooked into a rom.
 
fachadick
Old
#3  
Senior Member
Thanks Meter 626
Posts: 2,175
Join Date: Jul 2010
Location: Northern NJ

 
DONATE TO ME
Quote:
Originally Posted by husker91 View Post
What exactly is the point of this? Wouldn't it just be easier to toggle it off? Unless this was cooked into a rom.
Quote:
Originally Posted by Rydah805 View Post
This can manually be turned off/on by the user, but this is intended for rom developers who want it off by default.
lol
Need some handpicked HD wallpapers sized for your EVO 4G LTE? Here are some that I found. (1270 as of 9/25)
Want to change your font on an ICS (or later) ROM? Better read this first.
Want 10GB of cloud storage for free? Sign up here.
"Surrealism is the best kind of ism" - Potato Cumberbund.
The Following 2 Users Say Thank You to fachadick For This Useful Post: [ Click to Expand ]
 
husker91
Old
(Last edited by husker91; 4th June 2012 at 09:10 PM.)
#4  
Senior Member
Thanks Meter 367
Posts: 910
Join Date: Oct 2008
Location: Crowley, TX

 
DONATE TO ME
Quote:
Originally Posted by fachadick View Post
lol
Ahh I do seem to have missed that part of the post haha
 
Rydah805
Old
#5  
Rydah805's Avatar
Recognized Contributor - OP
Thanks Meter 932
Posts: 3,376
Join Date: Oct 2008
Location: Ventura County

 
DONATE TO ME
Quote:
Originally Posted by husker91 View Post
Ahh I do seem to have missed that part of the post haha
It's all good though!
 
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...