Skip to content

Instantly share code, notes, and snippets.

@amoghbl1
Created May 18, 2015 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amoghbl1/05e4ca73cb44b6798140 to your computer and use it in GitHub Desktop.
Save amoghbl1/05e4ca73cb44b6798140 to your computer and use it in GitHub Desktop.
# Build Fennec
ac_add_options --enable-application=mobile/android
# Android
ac_add_options --target=arm-linux-androideabi
ac_add_options --with-android-ndk="$NDK_BASE" #Enter the android ndk location(ndk r8e)
ac_add_options --with-android-sdk="$SDK_BASE/platforms/android-17" #Enter the android sdk location
ac_add_options --with-ccache #enable ccache to set amount of cache assigned for build.
ac_add_options --disable-unified-compilation
mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
mk_add_options MOZ_MAKE_FLAGS="-j4"
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
ac_add_options --enable-optimize
#ac_add_options --disable-optimize
ac_add_options --enable-official-branding
#ac_add_options --enable-tor-browser-update
ac_add_options --enable-update-packaging
ac_add_options --enable-signmar
ac_add_options --enable-verify-mar
ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-maintenance-service
ac_add_options --disable-crashreporter
ac_add_options --disable-webrtc
#ac_add_options --disable-ctypes
#OBJDIR
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/tbb-obj-@CONFIG_GUESS@
#It is a good idea to have your objdir name start with obj so that Git ignores it.
@amoghbl1
Copy link
Author

E/GeckoLibLoad( 9000): Load sqlite start
E/GeckoLinker( 9000): /data/app/org.mozilla.firefox-1/base.apk!/assets/libnss3.so: Warning: unhandled flags #8 not handled
E/GeckoLinker( 9000): /data/app/org.mozilla.firefox-1/base.apk!/assets/libnss3.so: Warning: relocation to NULL @0x0018bc20
E/GeckoLinker( 9000): /data/app/org.mozilla.firefox-1/base.apk!/assets/libnss3.so: Warning: relocation to NULL @0x0018bfe0 for symbol "__cxa_begin_cleanup"
E/GeckoLinker( 9000): /data/app/org.mozilla.firefox-1/base.apk!/assets/libnss3.so: Warning: relocation to NULL @0x0018bfe4 for symbol "__cxa_type_match"
I/GeckoDistribution( 9000): Getting file from distribution.
E/GeckoLibLoad( 9000): Load sqlite done
E/GeckoLibLoad( 9000): Load nss start
E/GeckoLibLoad( 9000): Load nss done
E/GeckoLibLoad( 9000): Couldn't get a handle to libxul!
E/GeckoLibLoad( 9000): Throw
E/GeckoAppShell( 9000): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 755 ("Gecko")
E/GeckoAppShell( 9000): java.lang.Exception: Error loading gecko libraries
E/GeckoAppShell( 9000): at org.mozilla.gecko.mozglue.GeckoLoader.loadGeckoLibsNative(Native Method)
E/GeckoAppShell( 9000): at org.mozilla.gecko.mozglue.GeckoLoader.loadGeckoLibs(GeckoLoader.java:289)
E/GeckoAppShell( 9000): at org.mozilla.gecko.GeckoThread.initGeckoEnvironment(GeckoThread.java:114)
E/GeckoAppShell( 9000): at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:165)
E/GeckoAppShell( 9000): Main thread stack:
E/GeckoAppShell( 9000): android.os.BinderProxy.transactNative(Native Method)
E/GeckoAppShell( 9000): android.os.BinderProxy.transact(Binder.java:496)
E/GeckoAppShell( 9000): android.view.IWindowSession$Stub$Proxy.relayout(IWindowSession.java:902)
E/GeckoAppShell( 9000): android.view.SurfaceView.updateWindow(SurfaceView.java:517)
E/GeckoAppShell( 9000): android.view.SurfaceView.setFrame(SurfaceView.java:300)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15667)
E/GeckoAppShell( 9000): android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/GeckoAppShell( 9000): android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15671)
E/GeckoAppShell( 9000): android.view.ViewGroup.layout(ViewGroup.java:5038)
E/GeckoAppShell( 9000): android.widget.RelativeLayout.onLayout(RelativeLayout.java:1076)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15671)
E/GeckoAppShell( 9000): android.view.ViewGroup.layout(ViewGroup.java:5038)
E/GeckoAppShell( 9000): android.widget.RelativeLayout.onLayout(RelativeLayout.java:1076)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15671)
E/GeckoAppShell( 9000): android.view.ViewGroup.layout(ViewGroup.java:5038)
E/GeckoAppShell( 9000): android.widget.RelativeLayout.onLayout(RelativeLayout.java:1076)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15671)
E/GeckoAppShell( 9000): android.view.ViewGroup.layout(ViewGroup.java:5038)
E/GeckoAppShell( 9000): android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/GeckoAppShell( 9000): android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15671)
E/GeckoAppShell( 9000): android.view.ViewGroup.layout(ViewGroup.java:5038)
E/GeckoAppShell( 9000): android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
E/GeckoAppShell( 9000): android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
E/GeckoAppShell( 9000): android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15671)
E/GeckoAppShell( 9000): android.view.ViewGroup.layout(ViewGroup.java:5038)
E/GeckoAppShell( 9000): android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/GeckoAppShell( 9000): android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/GeckoAppShell( 9000): android.view.View.layout(View.java:15671)
E/GeckoAppShell( 9000): android.view.ViewGroup.layout(ViewGroup.java:5038)
E/GeckoAppShell( 9000): android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2086)
E/GeckoAppShell( 9000): android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1843)
E/GeckoAppShell( 9000): android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
E/GeckoAppShell( 9000): android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5885)
E/GeckoAppShell( 9000): android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
E/GeckoAppShell( 9000): android.view.Choreographer.doCallbacks(Choreographer.java:580)
E/GeckoAppShell( 9000): android.view.Choreographer.doFrame(Choreographer.java:550)
E/GeckoAppShell( 9000): android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
E/GeckoAppShell( 9000): android.os.Handler.handleCallback(Handler.java:739)
E/GeckoAppShell( 9000): android.os.Handler.dispatchMessage(Handler.java:95)
E/GeckoAppShell( 9000): android.os.Looper.loop(Looper.java:135)
E/GeckoAppShell( 9000): android.app.ActivityThread.main(ActivityThread.java:5254)
E/GeckoAppShell( 9000): java.lang.reflect.Method.invoke(Native Method)
E/GeckoAppShell( 9000): java.lang.reflect.Method.invoke(Method.java:372)
E/GeckoAppShell( 9000): com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/GeckoAppShell( 9000): com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
D/GeckoToolbar( 9000): onTabChanged: SELECTED
D/GeckoToolbarDisplayLayout( 9000): updateFavicon(android.graphics.Bitmap@2d87e2a8)
I/GeckoToolbarDisplayLayout( 9000): zerdatime 3065458 - Throbber stop
D/GeckoBrowserApp( 9000): BrowserApp.onTabChanged: 0: SELECTED
D/Telemetry( 9000): StartUISession: home.1
D/GeckoToolbar( 9000): onTabChanged: RESTORED
D/GeckoToolbar( 9000): onTabChanged: MENU_UPDATED
D/GeckoBrowserApp( 9000): BrowserApp.onTabChanged: 0: MENU_UPDATED
D/Telemetry( 9000): StartUISession: homepanel.1:4becc86b-41eb-429a-a042-88fe8b5a094e
I/GeckoAnnounce( 9000): firefox :: AnnounceBrSvc :: Registering AnnouncementsService.
I/GeckoAnnounce( 9000): firefox :: BackgroundService :: Setting inexact repeating alarm for interval 43200000
I/GeckoHealth( 9000): firefox :: HealthReportBroadcastService :: Registering HealthReportUploadService.
I/GeckoHealth( 9000): firefox :: BackgroundService :: Setting inexact repeating alarm for interval 3600000
D/FaviconCache( 9000): Favicon cache fullness: 50176/524288
D/FaviconCache( 9000): Favicon cache fullness: 100352/524288
D/FaviconCache( 9000): Favicon cache fullness: 150528/524288
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass active (null)': java.lang.NumberFormatException: Invalid int: "(null)"
I/GeckoAnnounce( 9000): firefox :: AnnounceFetch :: Fetching announcements from https://campaigns.services.mozilla.com/announce/1/android/release/31.3.0esr/armeabi-v7a?idle=0
W/TRThreadPoolExecutor( 2505): Task "p[Get token]" is a k. Failures of FutureTask can not be detected and exceptions will not be propagated by the executor
W/ConnectionResources( 2505): Upload content type not set.
I/GeckoHealth( 9000): firefox :: SubmissionPolicy :: Need to wait 86400000 before first upload.
D/class ch.boye.httpclientandroidlib.impl.conn.DefaultClientConnection( 9000): Connection shut down
W/GeckoAnnounce( 9000): firefox :: AnnounceFetchRD :: Server issue: Gone forever. See: https://bugzilla.mozilla.org/show_bug.cgi?id=1064422
I/GeckoAnnounce( 9000): firefox :: AnnounceService :: Got retry after: 2592000
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass idle (null)': java.lang.NumberFormatException: Invalid int: "(null)"
V/ImsSenderRxr( 2366): Read packet: 13 bytes
V/ImsSenderRxr( 2366): processResponse
D/ImsSenderRxr( 2366): Response data: [12, 13, -1, -1, -1, -1, 16, 3, 24, -52, 1, 32, 0]
D/ImsSenderRxr( 2366): Tag -1 3 204 0
D/ImsSenderRxr( 2366): [UNSL]< UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED
I/str_params( 1503): key: 'all_call_states' value: ''
I/str_params( 1503): key: 'all_call_states' value: ''
V/ImsSenderRxr( 2366): Read packet: 93 bytes
V/ImsSenderRxr( 2366): processResponse
D/ImsSenderRxr( 2366): Response data: [12, 13, -1, -1, -1, -1, 16, 3, 24, -46, 1, 32, 0, 18, 14, 8, 1, 24, 10, 58, 8, 8, 14, 16, 2, 34, 2, 8, 1, 18, 14, 8, 1, 24, 0, 58, 8, 8, 14, 16, 2, 34, 2, 8, 1, 18, 14, 8, 1, 24, 3, 58, 8, 8, 14, 16, 2, 34, 2, 8, 1, 18, 14, 8, 1, 24, 1, 58, 8, 8, 14, 16, 2, 34, 2, 8, 1, 18, 14, 8, 1, 24, 2, 58, 8, 8, 14, 16, 2, 34, 2, 8, 1]
D/ImsSenderRxr( 2366): Tag -1 3 210 0
D/ImsSenderRxr( 2366): isValid = true type = 10 status = 0 userdata = null
D/ImsSenderRxr( 2366): networkMode = 14 status = 2 restrictCause = 0 registered = 1
D/ImsSenderRxr( 2366): isValid = true type = 0 status = 0 userdata = null
D/ImsSenderRxr( 2366): networkMode = 14 status = 2 restrictCause = 0 registered = 1
D/ImsSenderRxr( 2366): isValid = true type = 3 status = 0 userdata = null
D/ImsSenderRxr( 2366): networkMode = 14 status = 2 restrictCause = 0 registered = 1
D/ImsSenderRxr( 2366): isValid = true type = 1 status = 0 userdata = null
D/ImsSenderRxr( 2366): networkMode = 14 status = 2 restrictCause = 0 registered = 1
D/ImsSenderRxr( 2366): isValid = true type = 2 status = 0 userdata = null
D/ImsSenderRxr( 2366): networkMode = 14 status = 2 restrictCause = 0 registered = 1
D/ImsSenderRxr( 2366): [UNSL]< UNSOL_SRV_STATUS_UPDATE [org.codeaurora.ims.ServiceStatus@20e5a514, org.codeaurora.ims.ServiceStatus@3b8b91bd, org.codeaurora.ims.ServiceStatus@1602d3b2, org.codeaurora.ims.ServiceStatus@29608f03, org.codeaurora.ims.ServiceStatus@2901fe80]
D/ImsServiceSub( 2366): Message received: what = 2
D/ImsSenderRxr( 2366): [0006]> REQUEST_IMS_REGISTRATION_STATE
D/ImsSenderRxr( 2366): Message data: [0, 0, 0, 12, 11, 13, 6, 0, 0, 0, 16, 1, 24, 1, 32, 0]
D/ImsServiceSub( 2366): Message received: what = 4
D/ImsServiceSub( 2366): Received event: EVENT_SRV_STATUS_UPDATE
D/ImsServiceSub( 2366): type = 10 status = 0 isValid = true
D/ImsServiceSub( 2366): type = 0 status = 0 isValid = true
D/ImsServiceSub( 2366): Call Type 0has num updates = 1
D/ImsServiceSub( 2366): StatusForAccessTech networkMode = 14 registered = 1 status = 2 restrictCause = 0
D/ImsServiceSub( 2366): enabledFeature = 0
D/ImsServiceSub( 2366): type = 3 status = 0 isValid = true
D/ImsServiceSub( 2366): Call Type 3has num updates = 1
D/ImsServiceSub( 2366): StatusForAccessTech networkMode = 14 registered = 1 status = 2 restrictCause = 0
D/ImsServiceSub( 2366): enabledFeature = 1
D/ImsServiceSub( 2366): type = 1 status = 0 isValid = true
D/ImsServiceSub( 2366): Call Type 1has num updates = 1
D/ImsServiceSub( 2366): StatusForAccessTech networkMode = 14 registered = 1 status = 2 restrictCause = 0
D/ImsServiceSub( 2366): enabledFeature = 1
D/ImsServiceSub( 2366): type = 2 status = 0 isValid = true
D/ImsServiceSub( 2366): Call Type 2has num updates = 1
D/ImsServiceSub( 2366): StatusForAccessTech networkMode = 14 registered = 1 status = 2 restrictCause = 0
D/ImsServiceSub( 2366): enabledFeature = 1
D/ImsServiceClassTracker( 2366): updateVtCapability true
V/ImsSenderRxr( 2366): Read packet: 14 bytes
V/ImsSenderRxr( 2366): processResponse
D/ImsSenderRxr( 2366): Response data: [11, 13, 6, 0, 0, 0, 16, 2, 24, 1, 32, 0, 8, 1]
D/ImsSenderRxr( 2366): Tag 6 2 1 0
D/ImsSenderRxr( 2366): [0006]< REQUEST_IMS_REGISTRATION_STATE {1}
D/ImsServiceSub( 2366): Message received: what = 3
D/ImsServiceSub( 2366): IMS registration state is: 1
I/com.newrelic.agent.android( 3765): Harvester: connected
I/com.newrelic.agent.android( 3765): Harvester: Sending 0 HTTP transactions.
I/com.newrelic.agent.android( 3765): Harvester: Sending 0 HTTP errors.
I/com.newrelic.agent.android( 3765): Harvester: Sending 0 activity traces.
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass active (null)': java.lang.NumberFormatException: Invalid int: "(null)"
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass idle (null)': java.lang.NumberFormatException: Invalid int: "(null)"
I/com.newrelic.agent.android( 3765): Harvester: connected
I/com.newrelic.agent.android( 3765): Harvester: Sending 0 HTTP transactions.
I/com.newrelic.agent.android( 3765): Harvester: Sending 0 HTTP errors.
I/com.newrelic.agent.android( 3765): Harvester: Sending 0 activity traces.
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass active (null)': java.lang.NumberFormatException: Invalid int: "(null)"
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass idle (null)': java.lang.NumberFormatException: Invalid int: "(null)"
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass active (null)': java.lang.NumberFormatException: Invalid int: "(null)"
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
E/NetlinkEvent( 1499): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
E/NetdConnector( 1871): Error handling '613 IfaceClass idle (null)': java.lang.NumberFormatException: Invalid int: "(null)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment