summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add repository for the GT-I9100HEADreplicant-11-devDenis 'GNUtoo' Carikli2022-06-201-0/+3
| | | | | | | While the device is not really usable (it lacks audio support upstream), adding it can enable to test things with Replicant 11. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* external/mat2: use a mirror of the upstream repositoryDenis 'GNUtoo' Carikli2021-12-091-2/+2
| | | | | | | We managed to upstream the patch we need, so we don't need to fork mat2 anymore. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* vendor/replicant/artwork: adjust to move in replicant/Denis 'GNUtoo' Carikli2021-12-061-1/+1
| | | | | | | | I moved the artwork in replicant/ as it will be used by subsequent Replicant versions and that the code is mature enough to be able to keep a clean linear history. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add external/mat2Denis 'GNUtoo' Carikli2021-12-061-0/+2
| | | | | | | For now we need a patch in mat2 to generate reproducible bootanimation.zip that work. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Override packages/apps/SettingsDenis 'GNUtoo' Carikli2021-11-302-1/+3
| | | | | | | We need to do modifications to it to add information about Replicant and remove missleading mention of Google Play Services. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Switch to our AOSP mirror to make sure we host its source codeDenis 'GNUtoo' Carikli2021-11-301-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* scripts: generate-mirror-commands: fix tag fetchingDenis 'GNUtoo' Carikli2021-11-301-2/+2
| | | | | | | | | | | We need to fetch the tags from the remote URL into the current git repositories and the previous command only had the tag available in FETCH_HEAD. It's also a good idea not to fetch all tags in case two different remote have the same tags at different revisions. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* scripts: manifest.py: always touch .git/git-daemon-export-okDenis 'GNUtoo' Carikli2021-11-301-2/+2
| | | | | | | | | | When repositories are cloned, we also need to touch .git/git-daemon-export-ok to export them. And it's also a good idea to make sure that all the mirrored repositories are exported. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* replicant/repositories.xml: fix lines over 80 charactersDenis 'GNUtoo' Carikli2021-11-291-3/+6
| | | | | | | | | | | | | We have 2 remaining lines with the repositories that are checked out in these directories: - prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 - prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8 But it's not possible to fix them because their "names" values are too long and I don't know if it's possible to split the values across several lines. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add infrastructure/etc_apache2 to the manifestDenis 'GNUtoo' Carikli2021-11-291-2/+25
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add vendor/replicant/artworkDenis 'GNUtoo' Carikli2021-11-161-0/+2
| | | | | | This repository can create the boot animations zip files. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Move vendor/replicant-scripts into vendor/replicant/scriptsDenis 'GNUtoo' Carikli2021-11-161-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Move vendor/replicant-release-scripts into vendor/replicant/release-scriptsDenis 'GNUtoo' Carikli2021-11-161-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Move vendor/replicant/ into vendor/replicant/buildDenis 'GNUtoo' Carikli2021-11-161-2/+4
| | | | | | | | | | | The repository in vendor/replicant currently only has build related configuration and rules. In addition we have already too many vendor/replicant-* repositories, so it would make sense to move them in vendor/replicant/<repository> instead. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add script to check licensesDenis 'GNUtoo' Carikli2021-10-207-4/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As we currently have 757 repositories, we can't review all the code of all repositories. And unlike GNU/Linux distributions, we don't have package definitions with licenses. And switching to a package manager would not only require extensive work, but we would also need to be really sure that that work would also need to be maintained over time. Because of all theses constraints, and to have at least some weak assurances that we don't bring in nonfree code from the Android open source project, I wrote this script to try to semi-automatically list the repositories licenses. While it doesn't look yet into the repositories themselves, we at least found one repository (external/dng) with a potentially problematic license that we need to review in more detail. For instance it has a clause that prevents the modification of the documentation, but there is no documentation. There is also still 425 repositories with an unknown license fo far: $ ./manifest/scripts/check-licenses.py manifest/default.xml | external/dng_sdk/LICENSE | [...] Remaining: 331 done: 426 total: 757 Also note that this script doesn't expend the includes and so it won't automatically check the repositories in replicant/repositories.xml when used with default.xml. However the repositories added or forked by Replicant are less a concern as developers forking repositories will probably have more probability of finding licensing issues in a given repository than if it was handled by this script. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* scripts: Move Manifest in its own fileDenis 'GNUtoo' Carikli2021-10-183-172/+193
| | | | | | | This enables to reuse the manifest parsing code other python scripts. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* scripts: generate-mirror-commands: remove unused jinja2 importDenis 'GNUtoo' Carikli2021-10-181-2/+0
| | | | | | | | | This change was also tested and it works fine: $ ./generate-mirror-commands.py ../default.xml;echo $? [the generated shell script being printed] 0 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* scripts: add testsDenis 'GNUtoo' Carikli2021-10-183-0/+6058
| | | | | | | | | | | | | tests/reference-mirror.sh was generated with the folowing commands: $ make check $ mv tests/mirror.sh tests/reference-mirror.sh Here we use cmp over checksums as it enables us to update the tests along with the souce code and/or manifest and see what changed in the generated file along the way. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* generate-mirror-commands: get_clone_commands: fix skipped repositoriesDenis 'GNUtoo' Carikli2021-10-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drm-hwcomposer/drm-hwcomposer is supposed to be skipped as we have the following code: def is_revision_blacklisted(self, elm): [...] if revision == 'master': return True [...] elif remote == 'freedesktop': return True return False But instead, when running the following command: generate-mirror-commands.py ../default.xml' we have a crash (the file paths were shortened in the crash below): # drm-hwcomposer/drm-hwcomposer Traceback (most recent call last): File "generate-mirror-commands.py", line 201, in <module> manifest.parse() File "generate-mirror-commands.py", line 187, in parse for command in self.get_clone_commands(child): File "generate-mirror-commands.py", line 145, in get_clone_commands base_directory = self.get_base_directory(remote) File "generate-mirror-commands.py", line 109, in get_base_directory assert(given_remote.get('name') in whitelist) AssertionError This is because generate-mirror-commands tries to lookup the mirror directory (dirname) before checking if the repository needs to be skipped. And when we don't want to mirror a given repository (for instance because it uses the mater branch), we will want to skip it (at least for now) but we might not have any directory in which we want to store the mirror. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add scripts licenseDenis 'GNUtoo' Carikli2021-10-181-0/+661
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add vendor/replicant-release-scriptsDenis 'GNUtoo' Carikli2021-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we have the minimum needed to build official images: - We have a patch in kernel/replicant/linux for the eMMC firmware bug that can break devices[1]. - The recovery and boot images are small enough to fit inside their 8MiB partitions and not overwrite the next partition. Otherwise, in the case of the recovery it would have overwritten the modem firmware partition. - 'make dist' now works and we also have recoveries that boot fine, but the production of signed zips is not yet done. So it's a good idea to add in the release scripts repositories in order to make it easier to adapt the release scripts to Replicant 11. Note that if we release images we also need to check if the battery charging is reliable or at least warn users to also have an alternative way to charge the battery. For instance having a GT-I9300 running Replicant 6 on the side to charge the battery should work. References: ----------- [1]https://media.ccc.de/v/34c3-8784-emmc_hacking_or_how_i_fixed_long-dead_galaxy_s3_phones Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add vendor/replicant-scriptsDenis 'GNUtoo' Carikli2021-10-011-0/+2
| | | | | | | | | | | | | | | The vendor/replicant-scripts repository was present in Replicant 6.0. While not all the scripts inside are adapted to Replicant 11, patches have been sent for adding support for Replicant 11 for the the add_adb_root script. In addition this also makes it easier to ship the scripts that were already shipped in Replicant 6 for testing them (and fixing them too if needed). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Override build/make to fix building zip release filesDenis 'GNUtoo' Carikli2021-09-202-9/+10
| | | | | | | | | | | | Some python tools in build/make produce the following error when building zip files (with make updatepackage or make otapackage): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128) So we need to override build/make to fix that. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove external/u-bootDenis 'GNUtoo' Carikli2021-09-161-1/+0
| | | | | | | | | | | | At least the following files have licenses with restrictions that are incompatible with free software: arch/x86/dts/microcode/m0220661105_cv.dtsi arch/x86/dts/microcode/m12206a7_00000029.dtsi arch/x86/dts/microcode/m12306a9_0000001b.dtsi arch/x86/dts/microcode/m7240651_0000001c.dtsi arch/x86/dts/microcode/mc0306d4_00000018.dtsi Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove external/arm-neon-testsDenis 'GNUtoo' Carikli2021-09-161-1/+0
| | | | | | | | | | | | | | | | | | external/arm-neon-tests/license.html has restrictions that are incompatible with free software. And the external/arm-neon-tests/LICENSE file states: License: -------- All files are covered by the MIT license, except for: retarget.c Init.s InitCache.s scatter.scat which are covered by ARM's EULA regarding "EXAMPLE CODE", as described in license.html. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Rename to device_hardkernel_odroid-u3 to device_hardkernel_odroidu3Denis 'GNUtoo' Carikli2021-09-141-2/+2
| | | | | | | | | | | | | | | | The target has to be named odroidu3 anyway otherwise the Android build system takes the -u3 for the type of build: $ source build/envsetup.sh $ lunch 17:31:48 Build sandboxing disabled due to nsjail error. In file included from build/make/core/config.mk:291: In file included from build/make/core/envsetup.mk:266: device/hardkernel/odroid-u3/AndroidProducts.mk:20: error: device/hardkernel/odroid-u3: replicant_odroid-u3-userdebug: Invalid variant: u3. 17:31:48 dumpvars failed with: exit status 1 and it's easier to rename everything than just the target. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add device repository for the Hardkernel ODROID-U3Denis 'GNUtoo' Carikli2021-09-141-0/+3
| | | | | | | | | | | | | This board has an exynos4412 and it's also supported by the upstream Linux kernel, so it's pretty close to the Samsung Galaxy SIII (GT-I9300 and GT-I9305). The advantage is that it has Ethenret and 3 USB host ports, so it might be quite handy to try to add WiFi support for instance as we can simply plug USB WiFi dongles and with Ethernet we might be able to use usbip too. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* scripts: generate-mirror-commands.py: temporarily skip freedesktop.org ↵Denis 'GNUtoo' Carikli2021-09-141-4/+5
| | | | | | | | | | | | | | | | | | | | | | | repository It generated an entry like that: # drm-hwcomposer/drm-hwcomposer if [ ! -d mirrors/freesmartphone.org/drm-hwcomposer_drm-hwcomposer.git ] ; then git clone --mirror https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer mirrors/freesmartphone.org/drm-hwcomposer_drm-hwcomposer.git else git -C mirrors/freesmartphone.org/drm-hwcomposer_drm-hwcomposer.git fetch https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer 32819fe45972e0c706423d71075788a5885f7b86 touch mirrors/freesmartphone.org/drm-hwcomposer_drm-hwcomposer.git/git-daemon-export-ok fi Many things are wrong here, not just the typo of freesmartphone.org instead of freedesktop.org. The directory name is completely wrong, the repository name is wrong too, etc. Probably Only the URL of the git repository is right here. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/ti/beagle_x15*Denis 'GNUtoo' Carikli2021-09-141-2/+0
| | | | | | | | | | | | | | | | The device/ti/beagle_x15 repository has some binary-only shared libraries files: gpu/gralloc.am57x.so gpu/libEGL_POWERVR_SGX544_116.so gpu/libGLESv1_CM_POWERVR_SGX544_116.so gpu/libGLESv2_POWERVR_SGX544_116.so [...] They are all shipped without source code and at least some of the licenses that are present in the NOTICE file in the gpu directory have restrictions that are incompatible with free software. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/linaro/poplar*Denis 'GNUtoo' Carikli2021-09-141-2/+0
| | | | | | | | | | | | | | | | | | The device/linaro/poplar repository has some firmware files: device.mk: $(LOCAL_PATH)/proprietary/bt-wifi/rtl8822b_config:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8822b_config \ device.mk: $(LOCAL_PATH)/proprietary/bt-wifi/rtl8822b_fw:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8822b_fw [...] And even some nonfree libaries: [...] device.mk: $(LOCAL_PATH)/proprietary/hisilicon/libGLES_mali.so:$(TARGET_COPY_OUT_VENDOR)/lib/egl/libGLES_mali.so \ device.mk: $(LOCAL_PATH)/proprietary/hisilicon/hwcomposer.poplar.so:$(TARGET_COPY_OUT_VENDOR)/lib/hw/hwcomposer.poplar.so \ device.mk: $(LOCAL_PATH)/proprietary/hisilicon/libhi_gfx2d.so:$(TARGET_COPY_OUT_VENDOR)/lib/libhi_gfx2d.so \ They are all shipped without source code and the licenses that are present in the directories that have theses nonfree binaries have restrictions that are incompatible with free software. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/linaro/hikey*Denis 'GNUtoo' Carikli2021-09-141-2/+0
| | | | | | | | | | | | | The device/linaro/hikey repository has some firmware files: hikey/device-hikey.mk: device/linaro/hikey/bt-wifi-firmware-util/wl18xx-fw-4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/wl18xx-fw-4.bin \ hikey/device-hikey.mk: device/linaro/hikey/bt-wifi-firmware-util/wl18xx-conf.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/wl18xx-conf.bin [...] They are all shipped without source code and the licenses that are present in the directories that have theses nonfree binaries have restrictions that are incompatible with free software. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/linaro/dragonboard*Denis 'GNUtoo' Carikli2021-09-141-2/+0
| | | | | | | | | | | | | | | | | The device/linaro/dragonboard repository has some binary-only shared libraries files: db845c/firmware/a630_gmu.bin db845c/firmware/a630_sqe.fw db845c/firmware/a630_zap.b00 db845c/firmware/a630_zap.b01 [...] They are all shipped without source code and both the LICENSE.qcom.txt and the NOTICE file contain licenses that have restrictions that are incompatible with free software. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/google/sunfish*Denis 'GNUtoo' Carikli2021-09-141-3/+0
| | | | | | | | | | | | | | | The device/google/sunfish repository has some firmware files: device-sunfish.mk: $(LOCAL_PATH)/audio/rt5514/rt5514_dsp_fw1.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/rt5514_dsp_fw1.bin \ device-sunfish.mk: $(LOCAL_PATH)/audio/rt5514/rt5514_dsp_fw2.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/rt5514_dsp_fw2.bin \ device-sunfish.mk: $(LOCAL_PATH)/audio/rt5514/rt5514_dsp_fw3.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/rt5514_dsp_fw3.bin \ device-sunfish.mk: $(LOCAL_PATH)/audio/rt5514/rt5514_dsp_fw4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/rt5514_dsp_fw4.bin \ [...] they are shipped without source code and there is no license attached, and I didn't find a license that applied to the whole repository either. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/google/crosshatch*Denis 'GNUtoo' Carikli2021-09-141-3/+0
| | | | | | | | | | | | | | The device/google/crosshatch repository has some firmware files: device.mk: device/google/crosshatch/vibrator/drv2624/drv2624.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/drv2624.bin device.mk: device/google/crosshatch/vibrator/cs40l20/cs40l20.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs40l20.wmfw \ device.mk: device/google/crosshatch/vibrator/cs40l20/cs40l20.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs40l20.bin [...] they are shipped without source code and there is no license attached, and I didn't find a license that applied to the whole repository either. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/amlogic/coral*Denis 'GNUtoo' Carikli2021-09-141-3/+0
| | | | | | | | | | | | | | | The device/amlogic/coral repository has some firmware files: device.mk: device/google/coral/audio/data/crus_sp_config_coral_rx.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/crus_sp_config_coral_rx.bin \ device.mk: device/google/coral/audio/data/crus_sp_config_coral_tx.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/crus_sp_config_coral_tx.bin \ device.mk: device/google/coral/audio/data/crus_sp_config_flame_rx.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/crus_sp_config_flame_rx.bin \ device.mk: device/google/coral/audio/data/crus_sp_config_flame_tx.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/crus_sp_config_flame_tx.bin [...] they are shipped without source code and there is no license attached, and I didn't find a license that applied to the whole repository either. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/google/bonito*Denis 'GNUtoo' Carikli2021-09-141-3/+0
| | | | | | | | | | | | | The device/google/bonito repository has some firmware files: bonito/device-sargo.mk: device/google/bonito/vibrator/drv2624/drv2624_S4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/drv2624.bin bonito/device-bonito.mk: device/google/bonito/vibrator/drv2624/drv2624_B4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/drv2624.bin [...] they are shipped without source code and there is no license attached, and I didn't find a license that applied to the whole repository either. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove device/amlogic/yukawa*Denis 'GNUtoo' Carikli2021-09-141-2/+0
| | | | | | | | | | | | | | The device/amlogic/yukawa repository has some firmware files: device-common.mk: $(LOCAL_PATH)/bt-wifi-firmware/BCM.hcd:$(TARGET_COPY_OUT_VENDOR)/firmware/brcm/BCM.hcd \ device-common.mk: $(LOCAL_PATH)/bt-wifi-firmware/fw_bcm4359c0_ag.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/brcm/fw_bcm4359c0_ag.bin \ device-common.mk: $(LOCAL_PATH)/bt-wifi-firmware/nvram.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/brcm/nvram.txt \ [...] they are shipped without source code and there is no license attached, and I didn't find a license that applied to the whole repository either. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* scripts: generate-mirror-command: Guard against updating floating revisionsDenis 'GNUtoo' Carikli2021-09-141-0/+34
| | | | | | | | | We could accidentally update the branches used in Replicant 6 when trying to mirror the code meant for the next Replicant version. So we whitelist revisions to avoid accidentally doing that. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add script to help mirror repositoriesDenis 'GNUtoo' Carikli2021-09-141-0/+169
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add hardware/replicant/wlanDenis 'GNUtoo' Carikli2021-09-142-1/+6
| | | | | | | | | | | | | | | | | | | | | | | Android doesn't have a stock WiFi HAL implementation, and the broadcom HAL seem to be used as a base for making mostly Linux Kernel compliant WiFi HALs. We can for instance see that in device/linaro/poplar. We also don't want to use the broadcom HAL as-is as its repository has nonfree firmwares and we might want to make the HAL more standard and add in quirks that are generic enough, for instance to make the re-trigger the probe of WiFi kernel drivers in order to retry loading the firmware after the device has booted. Otherwise some WiFi drivers (like brcmfmac) try to load the firmware when the rootfs isn't mounted yet. To enable to select the Replicant wlan HAL, we also need to override the frameworks/opt/net/wifi repository as it contains an Android.mk that needs to be modified to have a HAL shared accross devices. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Replicant: Add nanoDenis 'GNUtoo' Carikli2021-09-141-0/+5
| | | | | | | | | | | | | | While nano is not strictly required, LineageOS already did and/or reused the work of porting nano to Android, and it seems to be maintained accross different LineageOS versions. Having nano would enable to edit configuration files directly on the device. Without that developers would either need to build and install new images all the time or deal with potential issues selinux when copying replacing files with adb push. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove hardware/broadcom/wlanDenis 'GNUtoo' Carikli2021-09-141-1/+0
| | | | | | | | | hardware/broadcom/wlan has nonfree firmwares: The firmwares are in bcmdhd/firmware and in that directory there is a LICENSE.TXT file with inside a nonfree license with many restrictions that are incompatible with free software. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* replicant: Add regdbDenis 'GNUtoo' Carikli2021-09-141-0/+3
| | | | | | | | | | | | | | | | Regdb is a database of regulatory constraints for WiFi. It's widely used in GNU/Linux. We need it to make sure that the local radio frequencies regulations are respected. For instance in the 5GHz band, some frequencies are shared with radar beams, such radars are often used for airports. So we need to make sure that the WiFi card moves to other channels when a radar beams is about to occurs. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* replicant: fix tabs and lines over 80 characters when possibleDenis 'GNUtoo' Carikli2021-09-071-21/+36
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* replicant: order repositories by pathDenis 'GNUtoo' Carikli2021-09-071-2/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* replicant: Add wget implementation from LineageOSDenis 'GNUtoo' Carikli2021-09-051-1/+11
| | | | | | | | | | | | While wget is not strictly required, LineageOS already implemented wget as a shell script, and it seems to be maintained accross different LineageOS versions. So it enables people familiar with wget to download files more easily and it also increase the compatibility of shell scripts and other software that use wget. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* replicant: Add bash from LineageOSDenis 'GNUtoo' Carikli2021-09-031-0/+7
| | | | | | | | | | | | | | | While bash is not strictly required, LineageOS already did and/or reused the work of porting bash to Android, and it seems to be maintained accross different LineageOS versions. So not only it enable users to have a more familiar shell, but some applications and scripts depend on bash, so it also increases compatibility with software made for GNU/Linux. LineageOS 18.1 is based on Android 11 and bash depends on libncurses. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Switch libsamsung-ipc to replicant-11 branchDenis 'GNUtoo' Carikli2021-03-151-2/+2
| | | | | | | Libsamsung-ipc still needs parts that are not yet upstream, like the modem driver that works with the Replicant 11 kernel. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add new vendor/f-droid repository to add prebuilt APKsDenis 'GNUtoo' Carikli2021-01-081-0/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add libsamsung-ipc and libsamsung-rilDenis 'GNUtoo' Carikli2020-12-271-0/+6
| | | | | | | | | While the modem kernel driver is not yet in the replicant-11 branch of the kernel repository, and that the master branch of libsamsung-ipc doesn't support suport yet that modem driver, we can still bring them in to validate that they build fine on Replicant 11. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>