24 Commits

Author SHA1 Message Date
celenity
969c0b4e3c fix: Use mach directly to create GeckoView AAR archives, instead of creating the archives ourselves manually...
(This also now sets `MOZ_ANDROID_FAT_AAR_ARM64_V8A`, `MOZ_ANDROID_FAT_AAR_ARMEABI_V7A`, and `MOZ_ANDROID_FAT_AAR_X86_64` from `bundle.mozconfig` directly, instead of at `ci-build.sh`)

Signed-off-by: celenity <celenity@celenity.dev>
2026-01-04 22:27:00 -05:00
celenity
8ff814c630 fix: set Glean to use our own pip environment (instead of trying to create its own...) + clean-up and minor tweaks
Signed-off-by: celenity <celenity@celenity.dev>
2026-01-04 22:13:29 -05:00
celenity
5f47d810e0 feat: Add support for Gecko localizations
This change adds missing Gecko localizations (from Mozilla's `firefox-l10n` repo) - these are used for ex. `about:` pages, such as `about:about`, `about:config`, etc.

This also adds support for localizing our own IronFox-specific `about:` pages

Signed-off-by: celenity <celenity@celenity.dev>
2026-01-03 04:52:31 -05:00
celenity
75758aebb9 fix: set env variable for llvm-profdata, ensure Android SDK is part of PATH, and fix order for installation of android SDK at get_sources.sh
Signed-off-by: celenity <celenity@celenity.dev>
2026-01-01 20:54:08 -05:00
celenity
e367136cd1 feat: Set additional Rust flags (+ set our compiler flags for ASFLAGS and TARGET_CXXFLAGS)
Signed-off-by: celenity <celenity@celenity.dev>
2025-12-31 02:53:25 -05:00
celenity
ede27173b9 feat: Configure Rust (+ tweak Gradle)
Notably, this sets our own rustup directory, switches us to using the "minimal" rustup profile, and enables some extra performance optimizations

This also removes an unnecessary `gradle.properties` file, so that users can instead configure Gradle in its entirety via the `IRONFOX_GRADLE_FLAGS` env variable

Signed-off-by: celenity <celenity@celenity.dev>
2025-12-30 05:41:45 -05:00
celenity
86a8e3cebd fix: Improve environment variable handling
These changes make it significantly easier (and more organized) to manage environment variables, will help avoid conflicts with variables set/used elsewhere, and it also prevents `prebuild.sh` from hardcoding some of them - so that users can change certain environment variables without needing to re-run the entire `prebuild.sh` script

This also sets our mozconfig files to use these new environment variables directly

Signed-off-by: celenity <celenity@celenity.dev>
2025-12-30 01:59:51 -05:00
celenity
562f91d1e6 fix: syntax for IRONFOX_TARGET_ABI at env_common.sh
Signed-off-by: celenity <celenity@celenity.dev>
2025-12-29 21:43:56 -05:00
celenity
0e5d962ddb fix: Use a different obj directory for each architecture, as well as use different ones for nightly vs. release
Signed-off-by: celenity <celenity@celenity.dev>
2025-12-28 22:02:11 -05:00
celenity
0df5068c38 fix: For consistency, surround variables with {}
This should provide a superior experience and will help prevent ex. future issues if we change the values to be more complex

Signed-off-by: celenity <celenity@celenity.dev>
2025-12-27 22:40:48 -05:00
celenity
870c6342f3 IronFox v146.0.1
ironfox-oss/IronFox!112
____

## Changes

- [Enabled memory tagging](e24a24e63c) *(via [Android's Arm Memory Tagging Extension](https://developer.android.com/ndk/guides/arm-mte))* to improve security for supported devices *(such as the Pixel 8 and newer)*.
- [Fixed an issue with Obtainium app installation](6026d6524f).
- Updated Bundletool to [`1.18.3`](https://github.com/google/bundletool/releases/tag/1.18.3).
- Updated to Firefox [`146.0.1`](https://firefox.com/firefox/android/146.0.1/releasenotes/).
- Updated microG to [`v0.3.11.250932`](https://github.com/microg/GmsCore/releases/tag/v0.3.11.250932).
- Updated Rust to [`1.92.0`](https://releases.rs/docs/1.92.0/).
- [Various tweaks, fixes, and refinements - especially to the build process](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/112/diffs).

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Co-authored-by: techaddict <20232669-techaddict@users.noreply.gitlab.com>
Co-authored-by: user <user@localhost.localdomain>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2025-12-19 16:16:28 +00:00
celenity
9ee53aa6c0 IronFox v144.0.1
ironfox-oss/IronFox!94
____

## Important

We are currently unable to provide updates to IronFox on **Accrescent**, [due to ongoing client and server issues that Accrescent is facing](https://infosec.exchange/@accrescent/115408303090609483). This impacts **all** apps on Accrescent, and is not just limited to IronFox.

**For the time being, we would highly recommend Accrescent users use our `Nightly` CI builds**. As we now use a separate package ID for these builds, it is possible to install Nightly builds *alongside* your existing, standard install of IronFox. This ensures that you can continue to receive the latest security updates and fixes from us, without losing any existing data. **Once updates resume on Accrescent, you can *(and **should**)* simply switch back to your existing standard install.**

Please see [here](https://gitlab.com/ironfox-oss/IronFox/-/blob/dev/docs/FAQ.md#how-can-i-download-nightly-builds) for details on how to install our `Nightly` builds.

## Changes

- [Enabled the display of certain advanced options](bb47aee7e6) at [`about:support`](about:support).
- [Implemented support to block/filter unwanted Remote Settings collections on the Application Services level](33373ec291), similar to [the current Remote Settings Blocker patch](e6c69ef28d/patches/gecko-rs-blocker.patch) *(derived from LibreWolf)* for Gecko. This is necessary due to this Remote Settings instance being separate from Gecko's instance.
- Replaced the `Enable WebGL` settings toggle with a **`Disable WebGL`** toggle that disables WebGL instead, to improve clarity and help avoid confusion.
- Updated to Firefox [`144.0.1`](https://firefox.com/firefox/android/144.0.1/releasenotes/).
- [Other minor tweaks and adjustments](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/94/diffs).

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2025-10-22 19:20:53 +00:00
celenity
8f8170af48 IronFox v143.0.2
ironfox-oss/IronFox!82
____

## Changes

- Rebased onto Firefox [`143.0.2`](https://firefox.com/firefox/android/143.0.2/releasenotes/).
- [Added a toggle to enable or disable collections](235eb6e018), **enabled** by default, located at `Settings` -> `IronFox` -> `IronFox settings` -> `Miscellaneous` -> `Enable collections`.
- [Added a toggle to enable or disable `Firefox Translations`](0b96f35fb0), **enabled** by default, located at `Settings` -> `IronFox` -> `IronFox settings` -> `Miscellaneous` -> `Enable Firefox Translations` *(Related Gecko preferences: `browser.translations.enable`, `browser.translations.simulateUnsupportedEngine`)*.
- [Disabled speculative connections](3456e56222).
- [Enabled alternate app icon selection](ee2c38ab26).
- [Other minor tweaks and adjustments](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/82/diffs).

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Co-authored-by: Weblate <hosted@weblate.org>
Co-authored-by: LucasMZ <git@lucasmz.dev>
Approved-by: celenity <celenity@celenity.dev>
Merged-by: celenity <celenity@celenity.dev>
2025-09-25 06:33:58 +00:00
celenity
d6c4c71cb1 IronFox v143.0
ironfox-oss/IronFox!80
____

## Changes

- [Fixed an issue that caused the browser to always attempt to install uBlock Origin, even if deselected on the onboarding](https://gitlab.com/ironfox-oss/IronFox/-/issues/180).
- [Fixed and added back the `Debug Drawer` secret setting](c6e1c4cd68).
- [Glean](https://github.com/mozilla/glean) is now built with [Tor Browser's no-op UniFFI binding generator](766e179979).
- Prevented the browser from initializing the [Nimbus *(Experimentation)* library](https://experimenter.info/getting-started/engineers/getting-started-for-android-engineers/).
- Rebased onto Application Services [`v143.0`](https://github.com/mozilla/application-services/releases/tag/v143.0).
- Rebased onto Firefox [`143.0`](https://firefox.com/firefox/android/143.0/releasenotes/).
- Rebased onto Glean [`v64.5.5`](https://github.com/mozilla/glean/releases/tag/v64.5.5).
- Removed additional unwanted/unnecessary components used for data collection and marketing.
- Removed [Glean](https://github.com/mozilla/glean) from Mozilla's [Android Components](https://searchfox.org/firefox-main/source/mobile/android/android-components/README.md).
- Removed [Glean](https://github.com/mozilla/glean) from [Application Services](https://github.com/mozilla/application-services).
- Removed the `Enable disk cache for secure webpages` UI setting toggle. Note that the `Enable disk cache` toggle is a master-switch, it disables disk cache for *both* insecure *and* secure websites, and it remains off by default.
- Removed the `Hard-fail OCSP revocation checks` UI setting toggle, as we no longer enable or use OCSP by default, in favor of CRLite *([See details](e599bd459e))*.
- Removed [Nimbus](https://experimenter.info/getting-started/engineers/getting-started-for-android-engineers/) from the [`engine-gecko` Android component](https://searchfox.org/firefox-main/source/mobile/android/android-components/components/browser/engine-gecko/README.md).
- [Stubbed `PlayStoreReviewPromptController`, and removed the now-unnecessary microG `Tasks` library](52791d3500).
- Updated the default Rust version [for **Gecko** and **Glean**](ec6ee31f83) to [`1.89.0`](https://doc.rust-lang.org/stable/releases.html#version-1890-2025-08-07).
- Updated Phoenix to [`2025.09.07.1`](https://codeberg.org/celenity/Phoenix/releases/tag/2025.09.07.1).
- [Other tweaks, refinements, and minor enhancements](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/80/diffs).

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Co-authored-by: LucasMZ <git@lucasmz.dev>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2025-09-17 13:46:08 +00:00
celenity
f9df931a00 feat: Create separate repo for management of external/out of band resources, like uBlock Origin assets, to allow for easier management and maintenance
Signed-off-by: celenity <celenity@celenity.dev>
2025-08-19 15:30:50 -04:00
celenity
f23fd76f7c Disable Mach telemetry with an environment variable + machrc config file instead of using a patch
Signed-off-by: celenity <celenity@celenity.dev>
2025-07-26 01:00:31 -04:00
Akash Yadav
d07a20e68b fix: avoid using printf in for uBO URL
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-02 12:14:05 +05:30
Akash Yadav
cc17b8558d fix: dynamically set uBO assets URL to either 'dev' or 'main' variant
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-02 12:00:35 +05:30
Akash Yadav
c9a429abb0 fix: multilocale build error
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-01 19:00:32 +05:30
celenity
7941f0f03a feat: Set build options to disable data reporting/telemetry, unnecessary debugging, and branding (+ move MOZ_REQUIRE_SIGNING from env_common.sh to prebuild.sh
Signed-off-by: celenity <celenity@celenity.dev>
2025-03-26 02:37:08 -04:00
Akash Yadav
3edf06fbfb fix: set CARGO_HOME and GRADLE_USER_HOME if unset 2025-03-26 11:47:33 +05:30
celenity
8883d7573c Support installing unsigned extensions if desired by the user (not recommended) - https://gitlab.com/ironfox-oss/IronFox/-/issues/41
Signed-off-by: celenity <celenity@celenity.dev>
2025-03-01 20:24:30 -05:00
Akash Yadav
bfdf2f1789 fix(ci): allow building AAB with build.sh 2025-01-17 15:56:28 +05:30
Akash Yadav
911ff0d79c fix: rename 'paths_*.sh' to 'env_*.sh'
env_*.sh names are better suited since the scripts are used to set up environment variables
2025-01-09 00:14:37 +05:30