5,815,214 Members 38,959 Now Online
XDA Developers Android and Mobile Development Forum

[ MOD ] noAnalytics Remix - compile ROMs without Statistics Reporting!

Tip us?
 
sylentprofet
Old
(Last edited by sylentprofet; 20th December 2013 at 10:26 AM.)
#1  
Senior Member - OP
Thanks Meter 1,329
Posts: 203
Join Date: Jun 2010
Location: Sacramento

 
DONATE TO ME
Angry [ MOD ] noAnalytics Remix - compile ROMs without Statistics Reporting!

--- copied with permission from nathanpfry.com ---

Developers Only

Inspired by MaR-V-iN's work on freecygn and noAnalytics, I bring you noAnalytics Remix!

Using Mar-V-iN's source, I recompiled the jar with JDK 1.6 and jumped through a few flaming hoops.

Now it will natively compile with any Android source. No more statistics reporting!

Usage:

1.. Locate "libGoogleAnalyticsV2.jar" usually in [androidSource]/vendor/[romFlavor]/prebuilt/common/lib
2.. Rename it something like "libGoogleAnalyticsV2.jar.backup"
3.. Copy-paste "noAnalyticsRemix.jar" into the folder, and rename it "libGoogleAnalyticsV2.jar" to match the original structure.
4.. Build the ROM like you normally would!

This has been tested working with AOKP 4.4.2 (kitkat) source. Let me know how it works for you!

Credit goes to MaR-V-iN for the code. Thanks dude!

My contribution was spending a couple of days learning Android Studio and how to compile jar files from source.

Download noAnalytics Remix:

noAnalyticsRemix.jar via MediaFire

Feel free to buy me a coconut water (donate) if you like my work. It would be greatly appreciated!

Please hit the "Thanks" button if you like my work!

XDA:DevDB Information
noAnalytics Remix, Tool/Utility for the Android General

Contributors
sylentprofet, Mar-V-iN

Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2013-12-20

Created 2014-02-28
Last Updated 2014-09-11
e: sylentprofet (at) gmail
gh: github.com/sylentprofet/
b: nathanpfry.com
The Following 54 Users Say Thank You to sylentprofet For This Useful Post: [ Click to Expand ]
 
hp420
Old
#2  
hp420's Avatar
Senior Member
Thanks Meter 863
Posts: 1,703
Join Date: Jul 2011
Location: NY
Does anyone have a flashable nexus 4 rom/fastboot image for this? I'd love to give it a try, but my system isn't up to building from source right now.
 
sylentprofet
Old
#3  
Senior Member - OP
Thanks Meter 1,329
Posts: 203
Join Date: Jun 2010
Location: Sacramento

 
DONATE TO ME
Quote:
Originally Posted by hp420 View Post
Does anyone have a flashable nexus 4 rom/fastboot image for this? I'd love to give it a try, but my system isn't up to building from source right now.
This right here should do the trick
e: sylentprofet (at) gmail
gh: github.com/sylentprofet/
b: nathanpfry.com
The Following 3 Users Say Thank You to sylentprofet For This Useful Post: [ Click to Expand ]
 
kami2k
Old
#4  
kami2k's Avatar
Senior Member
Thanks Meter 106
Posts: 1,402
Join Date: Feb 2011
Location: Kashmir
any apk for this to use with any rom? plz

 
aguaz
Old
#5  
Member
Thanks Meter 11
Posts: 78
Join Date: Jan 2014
Building NoAnalytics.jar with ant

Code:
$ git clone -b master git://github.com/mar-v-in/NoAnalytics
$ cd NoAnalytics/NoAnalytics/
$ touch build.xml
Save the following content into build.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<project>
        <property name="src.dir" value="src"/>
        <property name="build.dir" value="build"/>

        <target name="jar">
                <mkdir dir="${build.dir}"/>
                <copy todir="${build.dir}"> <fileset dir="${src.dir}"/> </copy>
                <jar destfile="NoAnalytics.jar" basedir="${build.dir}"> </jar>
        </target>
</project>
Code:
$ ant jar
$ ls -l NoAnalytics.jar
All Credits to @MaR-V-iN, @sylentprofet

---------- Post added at 04:46 PM ---------- Previous post was at 04:46 PM ----------

Quote:
Originally Posted by sylentprofet View Post
Locate "libGoogleAnalyticsV2.jar" usually in [androidSource]/vendor/[romFlavor]/prebuilt/common/lib
cyngn ships it as part of the android_external_google repository.
In the source tree you'll find it at external/google/analytics_sdk_v2/libGoogleAnalyticsV2.jar
 
lewonsky
Old
#6  
Senior Member
Thanks Meter 61
Posts: 515
Join Date: Jul 2014
hpw to use this on already installed rom? folow the procedure or what?
 
biopsin
Old
#7  
biopsin's Avatar
Senior Member
Thanks Meter 89
Posts: 403
Join Date: Nov 2010
Location: oslo
Quote:
Originally Posted by lewonsky View Post
hpw to use this on already installed rom? folow the procedure or what?
follow M-A-R-V-I-N's original post
2010 - P1000 : CM10
2012 - P6800 : CM10
 
desalesouche
Old
#8  
Senior Member
Thanks Meter 1,973
Posts: 1,952
Join Date: Feb 2012
hi . is there any update of this?...
does that still work with 4.4.4?
thanks
HUAWEI:U8230/HONOR(U8860)---SAMSUNG:G YOUNG/G S---SONY: XPERIA Z
 
sylentprofet
Old
#9  
Senior Member - OP
Thanks Meter 1,329
Posts: 203
Join Date: Jun 2010
Location: Sacramento

 
DONATE TO ME
Quote:
Originally Posted by desalesouche View Post
hi . is there any update of this?...
does that still work with 4.4.4?
thanks
works fine.

as of android L though this may become obsolete because they natively compile it with JDK 1.7, which is what was used in the original release of NoAnalytics
e: sylentprofet (at) gmail
gh: github.com/sylentprofet/
b: nathanpfry.com

The Following User Says Thank You to sylentprofet For This Useful Post: [ Click to Expand ]
Tags
android, compile, library, mod, noanalytics
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes