No description
  • C 98.8%
  • Makefile 0.6%
  • Perl 0.6%
Find a file
Brax Technologies fdc39e0c3a MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset
This repository's history is a single commit by design. It carries the
corresponding source, under GPL-2.0, for the loadable kernel modules
shipped in the BraX3 vendor_dlkm partition. The matching kernel source is
published separately at BaseOS/android_kernel_mt6835; the device's own
banner, 5.15.209-android13-8-gdd511ad2a748, names the commit there.

What this tree is, and is not, is set out in README.publish.md and NOTICE.
In short: it is a curated subset of a MediaTek ALPS drop, reduced to what
this device actually builds, and it is not the whole drop.

Why the history was replaced, 2026-08-18. The previous history had six
commits, four of which removed material that should not have been
published. Removing a file in a later commit stops it shipping and stops
a reader finding it; it does not stop a git server handing it out, because
git serves history. Two things were still reachable and anonymously
fetchable from this repository as a result:

  connectivity/wlan/core/gen4-mt79xx/include/chips/
    mt_dmac.h, dma_sch.h, wf_ple.h, pse.h, host_csr.h

      Five headers carrying a 2002-2004 Ralink Technology notice
      describing an "unpublished work" containing "confidential trade
      secret material", with redistribution "stricitly prohibited" absent
      written consent. They carry no grant of any kind. They were removed
      at the tip on 2026-08-14 and remained reachable afterwards through
      branch ancestry and through the release tag baseos-1.0-20260812-brax3,
      which pointed behind the tip.

  the gen4-mt79xx subtree in full, and seven others for chips this device
  does not contain -- 518 objects. Not a licence problem in itself, but
  source for other people's hardware that this repository has no reason to
  publish.

Nothing in this tree builds gen4-mt79xx: the BraX3 builds gen4m, from an
explicit module list with no wildcards. The five names all exist under
gen4m as well, there under SPDX-License-Identifier: GPL-2.0, and the same
family under gen4-mt7663 is BSD-2-Clause -- which is what suggested the
MT79xx copies were simply un-relicensed originals rather than an intended
restriction. MediaTek has been asked to confirm that reading; see
MEDIATEK_LETTER.md in the BSP documentation.

The release tag baseos-1.0-20260812-brax3 was deleted rather than
re-pointed. Re-cutting it here would make it claim to be the tree that was
released on 12 August, which it is not -- that tree contained the headers
above. A new tag marks this state instead.

A complete mirror of the prior history is retained internally, so what was
distributed and when remains answerable.

Task F27 and A13 in BASEOS_TASKS.md. See also REPUBLISH_PREFLIGHT.md.
2026-08-19 14:46:20 +03:00
connectivity MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
gpu MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
hbt_driver_cus MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
met_drv_v3 MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
.gitignore MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
LICENSE MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
MODULE_LICENSE_GPL MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
NOTICE MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00
README.publish.md MediaTek out-of-tree kernel modules for BraX3 (MT6835) — published subset 2026-08-19 14:46:20 +03:00

MediaTek out-of-tree kernel modules — published subset

This is the out-of-tree kernel module source corresponding to the kernel and modules shipped in this device's boot.img, vendor_boot.img and vendor_dlkm.img, published to satisfy GPL-2.0.

What was removed, and why

  • fpsgo_cus/ — the module it builds (fpsgo.ko) declares MODULE_LICENSE("Proprietary"); MediaTek asserts it is not GPL, so we have no right to redistribute its source. It is not supplied as a prebuilt either: a prebuilt .ko is tied to one kernel build's vermagic and would be rejected the moment you rebuild the kernel. To build this tree, drop fpsgo_cus from TARGET_KERNEL_EXT_MODULES in device/brax/brax3/BoardConfig.mk and remove the fpsgo.ko line from vendor_dlkm/modules.load. The GPL half of that subsystem, mtk_fpsgo.ko (in-kernel), builds normally; you lose only game frame-rate optimisation.

  • A small number of individual files that carry MediaTek's notice stating that reproduction or disclosure is prohibited, and that carry no licence grant of any kind (no SPDX, GPL or BSD). These are register-map headers for other, unrelated chips and one userspace helper daemon. None of them is used to build anything in the shipped binaries — verified against the kernel build's own dependency records. Files in the same directories that do carry a grant (e.g. SPDX-License-Identifier: GPL-2.0) are included in full.

    Consequence: source referencing those headers for other chips will not compile. Nothing needed for this device is affected.

  • Whole subtrees for other chips, removed 2026-08-17 — 2182 files, about 69 MB of 148 MB:

    removed files what it is
    connectivity/wlan/core/gen2/ 170 Wi-Fi, older generation
    connectivity/wlan/core/gen3/ 213 Wi-Fi, older generation
    connectivity/wlan/core/gen4-mt7663/ 242 Wi-Fi, MT7663
    connectivity/wlan/core/gen4-mt7668/ 201 Wi-Fi, MT7668
    connectivity/wlan/core/gen4-mt79xx/ 477 Wi-Fi, MT79xx
    gpu/gpu_rgx/ 762 PowerVR RGX — a different GPU family entirely
    met_drv_v2/ 102 superseded by met_drv_v3, which is built
    udc/ 15 not built

    Also gpu/mt6886 and gpu/mt6985, two symlinks to gpu/gpu_mali. Because gpu/Makefile selects platforms by directory presence, their existence made the build compile the same Mali DDK twice more, for SoCs this device is not, and ship six modules that can never load. gpu/gpu_mali and the gpu/mt6835 symlink to it are untouched.

    This was for navigability, not licensing. All of it was licensed and distributable; none of it was corresponding source for any shipped binary, since nothing in this tree references it and TARGET_KERNEL_EXT_MODULES is an explicit 21-entry list with no wildcards. The reason to remove it is that a recipient should not have to determine which of six Wi-Fi cores and two GPU families matches their hardware. Git history is permanent — every removed file is still reachable by commit SHA to anyone who has cloned this repository.

If you believe any file was removed in error, or should have been removed and was not, please open an issue — we will correct it.

Files included despite carrying MediaTek's notice

The following carry MediaTek's "strictly prohibited" notice and no licence grant, but are compiled into modules shipped in this device's images. They are therefore "corresponding source" under GPL-2.0 §3 and are included: withholding them while distributing the resulting GPL/dual-licensed binary would not be permissible. The notice appears to be an artefact of MediaTek's file templates, but that is a reading rather than a fact: of the 23 .h files in connectivity/wlan/core/gen4m/include/, 22 carry the GNU GPL in prose and this is the only one with a prohibitive notice and no grant. An earlier version of this paragraph said the siblings carry SPDX-License-Identifier: GPL-2.0. They do not — the SPDX lines are in the chips/ subdirectory one level down, and conflating the two overstated the case. Only MediaTek can settle it; the question has been put to them.

  • connectivity/wlan/core/gen4m/include/wsys_cmd_handler_fw.h