Android build for ungoogled-chromium. https://uc.droidware.info
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
wchen342 ce9e17e0b5
Build script adjust
1 month ago
.gitea Fix conditions for creating apks 8 months ago
.github Update to 88.0.4324.152; split webview builds 5 months ago
misc Update to 91.0.4472.77 2 months ago
patches Add Trichrome apk target; other minor fixes 2 months ago
.build_config Add Trichrome apk target; other minor fixes 2 months ago
.gclient Update to 81.0.4044.113-1 1 year ago
.gitignore Add .gitignore 1 year ago
CHANGELOG.md Add Trichrome apk target; other minor fixes 2 months ago
LICENSE.md update README; update license notice 6 months ago
README.md Init update to v89 4 months ago
SUPPORT.md Update md files 1 year ago
android_flags.debug.gn Update to 91.0.4472.77 2 months ago
android_flags.gn Update to 91.0.4472.77 2 months ago
android_flags.release.gn Disable DFM chrome module. Fix #83. 3 months ago
build.sh Build script adjust 1 month ago
bundle_generate_apk.sh Build script adjust 1 month ago
domain_sub_2.list Add Trichrome apk target; other minor fixes 2 months ago
keystore_dummy.gn Fix paths 8 months ago
pruning_2.list Update to 90.0.4430.72 3 months ago

README.md

ungoogled-chromium-android

Please see CHANGELOG for latest updates.

A lightweight approach to removing Google web service dependency

Note: this is an Android build.

Help is welcome!

For more information on ungoogled-chromium, please visit the original repo: Eloston/ungoogled-chromium.

Content Overview

Objectives

In descending order of significance (i.e. most important objective first):

  1. ungoogled-chromium is Google Chromium, sans dependency on Google web services.
  2. ungoogled-chromium retains the default Chromium experience as closely as possible. Unlike other Chromium forks that have their own visions of a web browser, ungoogled-chromium is essentially a drop-in replacement for Chromium.
  3. ungoogled-chromium features tweaks to enhance privacy, control, and transparency. However, almost all of these features must be manually activated or enabled. For more details, see Feature Overview.

Differences from ungoogled-chromium

These are the differences between a Linux build of ungoogled-chromium and ungoogled-chromium-android.

  • Disable Android specific functionalities:
    • lite mode
    • contextual search
    • prefetch
    • remove home page links
    • remove unnecessary account permissions
  • Android specific enhancements:
    • Add Startpage.com and Qwant.com as search engine options
    • Add new folder button in bookmark manager
    • Add back flags to enable deprecated TLS warnings
    • Add flag to enable update notifications (disabled by default and will only send a single GET request to my server periodically)
    • Add flags to always send save-data flag in header
    • Add flags to force tablet UI and desktop mode
  • Borrowed from Bromite:
    • Exit menu item
    • flag to disable device orientation API
    • option to clear open tabs between sessions
    • prevent WebRTC address leaking
    • enable DNS-over-Https by default
    • Add bookmark import/export options
    • Disable DRM media preprovisioning which leaks connections
  • All Google play and Google service related blobs are removed. This includes Firebase, GCM (Google Cloud Messaging), GMS (Google Mobile Services) and bridge to Google Play.
  • Releases are built for arm, arm64 and x86. There is no x86_64 build.

Limitations

The enhancements included in ungoogled-chromium are not to be considered useful for journalists, people living in countries with freedom limitations, and those who are facing government-level adversaries. Please look at tools specifically developed for these purposes, for example Tor Browser in such cases.

Platforms and Versions

Pre-built apks are named as {BUILD_TARGET}_{CPU_ARCH}.apk, where:

  • {BUILD_TARGET} is one of ChromeModernPublic, Trichrome, SystemWebview.
    • ChromeModernPublic is for API >= 21 (Android 5.0) and only contains the browser.
    • Trichrome is for API >= 29 (Android 10) and only contains the browser. Note: Trichrome has two apks, you need to install both for ungoogled-chromium to work.
    • SystemWebview is for >= API 21 (Android 5.0) and only contains the webview.
  • {CPU_ARCH} is one of x86, arm (armeabi-v7a), arm64 (arm64-v8a).
  • Please also read this important note about Webview on Android N-P.
  • The Bromite Wiki can also be helpful.

Building Instructions

This build is built from Sylvain Beucler's libre Android rebuilds instead of SDK/NDK binaries from Google.

  • Clone this repository
  • Make sure you have enough disk space and memory to build chromium
  • enter repo directory and run ./build.sh.

Build time dependencies (package names as in Fedora 33. Other distributions may have different package names):

required packages
    bison
    bzip2
    clang
    curl
    dbus-devel
    expat-devel
    fakeroot-libs.i686
    flex
    git
    glib2
    glib2-devel
    glibc.i686
    glibc-devel.i686
    gnupg2
    gperf
    java-1.8.0-openjdk-devel
    java-1.8.0-openjdk-headless
    java-11-openjdk
    java-11-openjdk-devel
    java-11-openjdk-headless
    krb5-devel
    libatomic-static
    libdrm-devel
    libgcc.i686
    libstdc++-static
    libtool-ltdl.i686
    libtool-ltdl-devel.i686
    libuuid-devel
    libxkbcommon-devel
    lld
    llvm
    make
    maven
    ninja-build
    nodejs
    npm
    nss-devel
    passwd
    patch
    perl
    protobuf
    python2.7
    python3
    rsync
    tar
    unzip
    yasm
    wget

In addition, scripts need to be run under python2. virtualenv or conda can be used to set up such an environment.

For a more customized building process, see building instructions from the original repo.

Reporting and Contributing

  • For reporting issues and contacting, see SUPPORT
  • Bug reports and code contributions are welcomed.

Extensions

The extension support version has been discontinued. The last version is 88.0.4324.182. It will still be available for downloading, but no new version will be released.

The extension patches can be found at chromium-android-extension. Anyone interested is welcomed to fork and keeps working on it.

F-Droid Repository

I have set up a F-Droid repository. You can use F-Droid client and add the following repository, depending on your device:

Credits

  • Bromite (Another build for Android. Has some own features.)

Sponsors

  • Thanks to Gandi.net for kindly providing us with building servers.

License

See LICENSE.

ungoogled-chromium-android is part of ungoogled-chromium. Everything published here, including (but not limited to) patches, scripts and other files are licensed under GPLv3+.