Trac issueshttps://gitlab.torproject.org/legacy/trac/-/issues2022-09-01T23:00:14Zhttps://gitlab.torproject.org/legacy/trac/-/issues/28704Compile Tor and dependencies on our own for Android2022-09-01T23:00:14ZGeorg KoppenCompile Tor and dependencies on our own for AndroidCurrently we are building just Orbot in `tor-browser-build` and fetching the dependencies as we need them. We should at least build Tor and its dependencies on our own, integrating Android specific build logic into our projects we alread...Currently we are building just Orbot in `tor-browser-build` and fetching the dependencies as we need them. We should at least build Tor and its dependencies on our own, integrating Android specific build logic into our projects we already have (like OpenSSL, Libevent etc.).
This is the parent ticket for that task.Shane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/28766Tor Build for Android2022-09-01T23:00:13ZShane IsbellTor Build for AndroidShane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/28764OpenSSL Build for Android2020-06-16T01:25:49ZShane IsbellOpenSSL Build for AndroidShane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/31992Remove apktool workaround in #315642020-06-16T01:25:47ZGeorg KoppenRemove apktool workaround in #31564We found a reproducibility issue on Android with the switch to Firefox 68 ESR and the respective toolchain and fixed it by using an `apktool` downloaded from the Internet. We should remove that workaronud and replace it with a better one...We found a reproducibility issue on Android with the switch to Firefox 68 ESR and the respective toolchain and fixed it by using an `apktool` downloaded from the Internet. We should remove that workaronud and replace it with a better one (e.g. by switching our compile environment to Debian Buster and using the means the distro provides us with).Shane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/30767Custom obfs4 bridge does not work on Tor Browser for Android2020-06-16T01:11:17ZGeorg KoppenCustom obfs4 bridge does not work on Tor Browser for AndroidWe got a report on our blog post (https://blog.torproject.org/comment/282217#comment-282217) mentioning that custom obfs4 bridges don't work on Android while they do on desktop. I tested with a bridge provided and can reproduce the issue.We got a report on our blog post (https://blog.torproject.org/comment/282217#comment-282217) mentioning that custom obfs4 bridges don't work on Android while they do on desktop. I tested with a bridge provided and can reproduce the issue.Shane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/31130Use Debian 10 for our Android container images2020-06-16T01:10:21ZGeorg KoppenUse Debian 10 for our Android container imagesWe should switch to Debian 10 for our Android builds.We should switch to Debian 10 for our Android builds.Shane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/32405Crash immediately after bootstrap on Android2020-06-16T01:09:24ZMatthew FinkelCrash immediately after bootstrap on AndroidOn Android, when bootstrapping completes we call an `onFinish` method. Unfortunately, in this method we assume a tab was already created. Apparently this is a bad assumption and the app crashes.
```
java.lang.NullPointerException:
at ...On Android, when bootstrapping completes we call an `onFinish` method. Unfortunately, in this method we assume a tab was already created. Apparently this is a bad assumption and the app crashes.
```
java.lang.NullPointerException:
at org.mozilla.gecko.BrowserApp$34.onFinish (BrowserApp.java:3021)
at org.mozilla.gecko.torbootstrap.TorBootstrapAnimationContainer.hide (TorBootstrapAnimationContainer.java:61)
at org.mozilla.gecko.torbootstrap.TorBootstrapAnimationContainer$1.onFinish (TorBootstrapAnimationContainer.java:53)
at org.mozilla.gecko.torbootstrap.TorBootstrapPager$1.finish (TorBootstrapPager.java:64)
at org.mozilla.gecko.firstrun.FirstrunPanel.close (FirstrunPanel.java:83)
at org.mozilla.gecko.torbootstrap.TorBootstrapPanel.updateStatus (TorBootstrapPanel.java:365)
at org.mozilla.gecko.torbootstrap.TorLogEventListener$2.handleMessage (TorLogEventListener.java:123)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:216)
at android.app.ActivityThread.main (ActivityThread.java:7188)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:975)
```Shane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/32331Tor Browser 9 on Lineage OS 14.1 stalls during start-up2020-06-16T01:09:11ZGeorg KoppenTor Browser 9 on Lineage OS 14.1 stalls during start-upA user on the blog [reported](https://blog.torproject.org/comment/284971#comment-284971) that Tor Browser is just stalling during start-up on their Lineage OS.
It seems the same issue is happening with Orbot (see: https://github.com/gua...A user on the blog [reported](https://blog.torproject.org/comment/284971#comment-284971) that Tor Browser is just stalling during start-up on their Lineage OS.
It seems the same issue is happening with Orbot (see: https://github.com/guardianproject/orbot/issues/276)Shane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/31499Update libevent to 2.1.11-stable2020-06-16T01:06:43ZcypherpunksUpdate libevent to 2.1.11-stablehttps://github.com/libevent/libevent/releaseshttps://github.com/libevent/libevent/releasesShane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/28765LibEvent Build for Android2020-06-16T00:59:18ZShane IsbellLibEvent Build for AndroidShane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/28763Create Tor-Android Project2020-06-16T00:59:16ZShane IsbellCreate Tor-Android ProjectThe tor-android repo contains a TorResourceInstaller. This is an !Android/Java library that Orbot uses. We need this.
The tor-android repo also contains the native Tor libraries. We don't want to use these. So the Tor-Android project wi...The tor-android repo contains a TorResourceInstaller. This is an !Android/Java library that Orbot uses. We need this.
The tor-android repo also contains the native Tor libraries. We don't want to use these. So the Tor-Android project will need to depend on our own versions of these native libraries.
!https://github.com/n8fr8/tor-androidShane IsbellShane Isbellhttps://gitlab.torproject.org/legacy/trac/-/issues/30199tor-android-service: Review 2019/04/162020-06-15T23:01:51ZMatthew Finkeltor-android-service: Review 2019/04/16Overall, nicely done. This review is on master (`6a9314aff4418a4edac33ff39fae266b097cf000`):
the initial import (`36f9873ff075253f4c1c9e394c91031fd4ba9d4a`), do you know the git hash of the orbot commit you used?
`1d635a925ca1728542067...Overall, nicely done. This review is on master (`6a9314aff4418a4edac33ff39fae266b097cf000`):
the initial import (`36f9873ff075253f4c1c9e394c91031fd4ba9d4a`), do you know the git hash of the orbot commit you used?
`1d635a925ca1728542067ee7bf34ff532d623a3f` - The renaming is Tor Browser specific, so we should probably carry this as a patch in tor-browser-build, instead of hard coding "Tor Browser" within a general purpose "Tor service" library, right?
`45244c49fbe382e97655b8f8d8f482e54f95ed07` - I wonder if we should carry a patch for this too. If tor-android-services+TOPL is intended as a general Android Tor library, then we probably shouldn't make it Tor Browser specific.
`f3b3df4e66630a68c9987d52d93580549a0acaf4` - this package doesn't exist yet, but it will exist in a few weeks, so leaving it is probably okay.
`1a2121e2a7ee8a6c0f3b5edd150b38eaae8bef304` - hasCookieAuthentication() and runAsDaemon() seem out of place in this commit
`784919d8eb19083cf761b3e7314c49d8befc00cd` - custom tor, the binaries should be compiled as dependencies by tor-browser-build and injected into the build, TorService.TOR_VERSION should be patched at build time
`6a9314aff4418a4edac33ff39fae266b097cf000` - In the future, we should take the bridges used on desktop (currently specified in Firefox's pref format and injected at build time by tor-browser-build), and pre-process them for inclusion on Android, too.Shane IsbellShane Isbell