Trac issueshttps://gitlab.torproject.org/legacy/trac/-/issues2022-09-01T22:43:11Zhttps://gitlab.torproject.org/legacy/trac/-/issues/28800Implement New Identity functionality for Tor Browser on Android2022-09-01T22:43:11ZGeorg KoppenImplement New Identity functionality for Tor Browser on AndroidWe want to have an easy to use New Identity functionality for Tor Browser for Android. Currently there is some New Identity-like functionality provided by Orbot but a) that's only responsible for circuit-switching and b) it is not clear ...We want to have an easy to use New Identity functionality for Tor Browser for Android. Currently there is some New Identity-like functionality provided by Orbot but a) that's only responsible for circuit-switching and b) it is not clear whether we stick to Orbot in our grand scheme of things.https://gitlab.torproject.org/legacy/trac/-/issues/25764Improve how circuits are displayed to the user on Android2020-06-16T01:28:13ZAntonelaantonela@torproject.orgImprove how circuits are displayed to the user on AndroidTBA work on parent ticketTBA work on parent tickethttps://gitlab.torproject.org/legacy/trac/-/issues/28803Integrate building pluggable transports for Android into tor-browser-build2020-06-16T01:25:56ZGeorg KoppenIntegrate building pluggable transports for Android into tor-browser-buildWe want to support Pluggable Transports in Tor Browser for Android. We should integrate those we support into our tor-browser-build process.We want to support Pluggable Transports in Tor Browser for Android. We should integrate those we support into our tor-browser-build process.https://gitlab.torproject.org/legacy/trac/-/issues/28622Update Tor Browser Icon for Android2020-06-16T01:02:30ZPili GuerraUpdate Tor Browser Icon for AndroidNow that we have updated icon assets, let's update the TBA icon for Android alsoNow that we have updated icon assets, let's update the TBA icon for Android alsohttps://gitlab.torproject.org/legacy/trac/-/issues/29982Clicking on cog/gear icon crashes Tor Browser for Android2020-06-16T01:02:05ZGeorg KoppenClicking on cog/gear icon crashes Tor Browser for Android```
it is on the first screen, the one shaped like a cog at upper right. when I click it I get a white page and an android message saying tor browser stopped working and when I click ok on that message tor browser crashes.
```
For the wh...```
it is on the first screen, the one shaped like a cog at upper right. when I click it I get a white page and an android message saying tor browser stopped working and when I click ok on that message tor browser crashes.
```
For the whole thread about narrowing this bug down, see: https://blog.torproject.org/comment/280338#comment-280338https://gitlab.torproject.org/legacy/trac/-/issues/27210TBA - Support i386 target2020-06-16T01:02:03ZMatthew FinkelTBA - Support i386 targetWe should add support for the x86 target. As far as I can see, this requires a separate build.
We may want a separate .mozconfig for this. Maybe we can keep the shared config lines into .mozconfig-android, and put the different targets ...We should add support for the x86 target. As far as I can see, this requires a separate build.
We may want a separate .mozconfig for this. Maybe we can keep the shared config lines into .mozconfig-android, and put the different targets and objdirs into `.mozconfig-android-x86` and `.mozconfig-android-arm`.
```
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-arm-linux-androideabi
ac_add_options --target=arm-linux-androideabi
```
```
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-x86-linux-androideabi
ac_add_options --target=i386-linux-android
```
When running `mach configure` for i386, we'll need:
`rustup target add i686-linux-android` and we'll need to install yasm (`apt install yasm`).https://gitlab.torproject.org/legacy/trac/-/issues/28329Design TBA+Orbot configuration UI/UX2020-06-16T01:01:46ZMatthew FinkelDesign TBA+Orbot configuration UI/UXI now have TBA and Orbot glued together. They co-exist, but I'm not sure how they should look or interact together. Where in the TBA app/screen should we have a button that switches to the Orbot screen? Do we want Orbot's onboarding UX o...I now have TBA and Orbot glued together. They co-exist, but I'm not sure how they should look or interact together. Where in the TBA app/screen should we have a button that switches to the Orbot screen? Do we want Orbot's onboarding UX or do we want our own?
Please help :)https://gitlab.torproject.org/legacy/trac/-/issues/28802Integrate PTs and bridge support into Tor Browser for Android2020-06-16T01:01:37ZGeorg KoppenIntegrate PTs and bridge support into Tor Browser for AndroidRight now there is bridge support into Orbot but a) it's not clear yet whether we keep Orbot and b) we probably want more PTs integrated and c) we need to clean up the interface (although #28329 will do work in that area).
This ticket i...Right now there is bridge support into Orbot but a) it's not clear yet whether we keep Orbot and b) we probably want more PTs integrated and c) we need to clean up the interface (although #28329 will do work in that area).
This ticket is the parent ticket for more detailed work in case it is needed.https://gitlab.torproject.org/legacy/trac/-/issues/29626TBA: Application name is now "Always-On Notifications"2020-06-16T01:01:20ZMatthew FinkelTBA: Application name is now "Always-On Notifications"Why? eighthave noticed this, too. It seems like this is coming from Orbot's `pref_use_persistent_notifications_title` string? Something changed between 8.5a7 and 8.5a8.Why? eighthave noticed this, too. It seems like this is coming from Orbot's `pref_use_persistent_notifications_title` string? Something changed between 8.5a7 and 8.5a8.https://gitlab.torproject.org/legacy/trac/-/issues/29575Configure Firefox Project to Use New TOPL Dependencies2020-06-16T01:01:13ZShane IsbellConfigure Firefox Project to Use New TOPL Dependencieshttps://gitlab.torproject.org/legacy/trac/-/issues/29574Configure Orbot to Use TOPL and tor-android-service Libraries2020-06-16T01:01:12ZShane IsbellConfigure Orbot to Use TOPL and tor-android-service LibrariesTOPL and tor-android-service libraries will replace orbotservice module within orbot project.TOPL and tor-android-service libraries will replace orbotservice module within orbot project.https://gitlab.torproject.org/legacy/trac/-/issues/29467Revert fix for #29182 and backport upstream arc4random_buf fix2020-06-16T01:01:03ZGeorg KoppenRevert fix for #29182 and backport upstream arc4random_buf fixWe should use https://hg.mozilla.org/mozilla-central/rev/57664c81a1de instead of disabling `arc4rdandom_buf` for our Android builds.We should use https://hg.mozilla.org/mozilla-central/rev/57664c81a1de instead of disabling `arc4rdandom_buf` for our Android builds.https://gitlab.torproject.org/legacy/trac/-/issues/29313Create TBB Project for tor-android-service2020-06-16T01:00:46ZShane IsbellCreate TBB Project for tor-android-serviceThis is a modified version of OrbitService that uses TOPL. The current code is located at: https://github.com/sisbell/tor-android-serviceThis is a modified version of OrbitService that uses TOPL. The current code is located at: https://github.com/sisbell/tor-android-servicehttps://gitlab.torproject.org/legacy/trac/-/issues/29312Create TBB Project for TOPL2020-06-16T01:00:46ZShane IsbellCreate TBB Project for TOPLhttps://gitlab.torproject.org/legacy/trac/-/issues/29239TBA: Don't ship torbutton xpi2020-06-16T01:00:37ZMatthew FinkelTBA: Don't ship torbutton xpiDuring the packaging stage, we bundle `torbutton@torproject.org.xpi`, but it's already being included in chrome. We can probably save some bytes in the resulting apk.
```
1:43.95 16559236 assets/features/torbutton@torproject.org.xpi (O...During the packaging stage, we bundle `torbutton@torproject.org.xpi`, but it's already being included in chrome. We can probably save some bytes in the resulting apk.
```
1:43.95 16559236 assets/features/torbutton@torproject.org.xpi (OK)
```
```
$ ls obj-x86-linux-android/dist/fennec/features/
torbutton@torproject.org.xpi
```
I think this is caused by the following in torbutton's moz.build:
```
FINAL_TARGET_FILES.features['torbutton@torproject.org'] += [
'src/install.rdf'
]
```Georg KoppenGeorg Koppenhttps://gitlab.torproject.org/legacy/trac/-/issues/29238TBA: Prevent crash following upgrade2020-06-16T01:00:37ZMatthew FinkelTBA: Prevent crash following upgradeFor the last few releases (maybe all of them), TBA crashes after installing the update. I believe this only happens if the app was open and then the new apk is installed (therefore the app goes into the background). After the crash, open...For the last few releases (maybe all of them), TBA crashes after installing the update. I believe this only happens if the app was open and then the new apk is installed (therefore the app goes into the background). After the crash, opening the app again is successful and it doesn't crash (for the same reason) again.
```
01-30 11:32:58.544 22804 22804 D AndroidRuntime: Shutting down VM
01-30 11:32:58.545 22804 22804 E AndroidRuntime: FATAL EXCEPTION: main
01-30 11:32:58.545 22804 22804 E AndroidRuntime: Process: org.torproject.torbrowser_alpha, PID: 22804
01-30 11:32:58.545 22804 22804 E AndroidRuntime: java.lang.RuntimeException: Unable to start receiver org.mozilla.gecko.PackageReplacedReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=load-libs cmp=org.torproject.torbrowser_alpha/org.mozilla.gecko.GeckoService }: app is in background uid UidRecord{982a65d u0a163 RCVR idle change:uncached procs:1 seq(0,0,0)}
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3194)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.app.ActivityThread.-wrap17(Unknown Source:0)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { act=load-libs cmp=org.torproject.torbrowser_alpha/org.mozilla.gecko.GeckoService }: app is in background uid UidRecord{982a65d u0a163 RCVR idle change:uncached procs:1 seq(0,0,0)}
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1521)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.app.ContextImpl.startService(ContextImpl.java:1477)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.content.ContextWrapper.startService(ContextWrapper.java:650)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.content.ContextWrapper.startService(ContextWrapper.java:650)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at org.mozilla.gecko.PackageReplacedReceiver.onReceive(PackageReplacedReceiver.java:29)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3187)
01-30 11:32:58.545 22804 22804 E AndroidRuntime: ... 8 more
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 2 ("main")
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: java.lang.IllegalStateException: Not allowed to start service Intent { act=load-libs cmp=org.torproject.torbrowser_alpha/org.mozilla.gecko.GeckoService }: app is in background uid UidRecord{982a65d u0a163 RCVR idle change:uncached procs:1 seq(0,0,0)}
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1521)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.app.ContextImpl.startService(ContextImpl.java:1477)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.content.ContextWrapper.startService(ContextWrapper.java:650)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.content.ContextWrapper.startService(ContextWrapper.java:650)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at org.mozilla.gecko.PackageReplacedReceiver.onReceive(PackageReplacedReceiver.java:29)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3187)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.app.ActivityThread.-wrap17(Unknown Source:0)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.os.Handler.dispatchMessage(Handler.java:106)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.os.Looper.loop(Looper.java:164)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at android.app.ActivityThread.main(ActivityThread.java:6494)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at java.lang.reflect.Method.invoke(Native Method)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
01-30 11:32:58.546 22804 22804 E GeckoCrashHandler: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
```
The cause of the crash being: `java.lang.RuntimeException: Unable to start receiver org.mozilla.gecko.PackageReplacedReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=load-libs cmp=org.torproject.torbrowser_alpha/org.mozilla.gecko.GeckoService }: app is in background uid UidRecord{982a65d u0a163 RCVR idle change:uncached procs:1 seq(0,0,0)}`https://gitlab.torproject.org/legacy/trac/-/issues/29080Merge OrbotService and TOPL2020-06-16T01:00:08ZShane IsbellMerge OrbotService and TOPLhttps://gitlab.torproject.org/legacy/trac/-/issues/29003Create Go PT Bundle Project2020-06-16T00:59:55ZShane IsbellCreate Go PT Bundle ProjectCreate Go PT Bundle project. This project has other dependencies that it bundles. We will need to evaluate each of these dependencies, possibly some for their own project builds.
* go.crypto (https://golang.org/x/crypto)
* go.net (htt...Create Go PT Bundle project. This project has other dependencies that it bundles. We will need to evaluate each of these dependencies, possibly some for their own project builds.
* go.crypto (https://golang.org/x/crypto)
* go.net (https://golang.org/x/net)
* ed25519/extra25519 (https://github.com/agl/ed25519/extra25519)
* SipHash-2-4 (https://github.com/dchest/siphash)
* goptlib (!https://git.torproject.org/pluggable-transports/goptlib.git)
!https://gitlab.com/eighthave/goptbundlehttps://gitlab.torproject.org/legacy/trac/-/issues/29002Upgrade Gradle to 4.62020-06-16T00:59:54ZShane IsbellUpgrade Gradle to 4.6AndroidPluggableTransports requires gradle 4.6. Investigate and test upgrade within android-toolchain.AndroidPluggableTransports requires gradle 4.6. Investigate and test upgrade within android-toolchain.https://gitlab.torproject.org/legacy/trac/-/issues/28814Backport 1480079 - Allow installing apps downloaded by Tor Browser2020-06-16T00:59:27ZMatthew FinkelBackport 1480079 - Allow installing apps downloaded by Tor BrowserI expect some users may want to download an APK over Tor and then install it. Android will block this on recent versions because we don't declare the `REQUEST_INSTALL_PACKAGES` permission.
The patch is very small, we may want to write i...I expect some users may want to download an APK over Tor and then install it. Android will block this on recent versions because we don't declare the `REQUEST_INSTALL_PACKAGES` permission.
The patch is very small, we may want to write it ourselves instead of actually backporting because I think there will be a merge conflict.
https://bugzilla.mozilla.org/show_bug.cgi?id=1480079