Skip to content

Instantly share code, notes, and snippets.

@schoeller
Last active May 15, 2023 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schoeller/904611a4baa1bae4107a4e3748e4746e to your computer and use it in GitHub Desktop.
Save schoeller/904611a4baa1bae4107a4e3748e4746e to your computer and use it in GitHub Desktop.
Lineage 17.1 on GX290
1.Follow instruction as per https://wiki.lineageos.org/devices/river/build to setup the environment including repo, caching
2.When initializing the repo use branch 17.1
repo init -u https://github.com/LineageOS/android.git -b lineage-17.1
repo sync
3.Clone specific repos for enabling device support
git clone https://github.com/GS290-dev/android_device_gigaset_GX290-unified -b lineage-17.1 device/gigaset/GX290-unified
git clone https://github.com/GS290-dev/proprietary_vendor_gigaset/ -b lineage-17.1 vendor/gigaset
git clone https://github.com/GS290-dev/android_device_gigaset_mt6763-common -b lineage-17.1 device/gigaset/mt6763-common
git clone https://github.com/GS290-dev/android_kernel_gigaset_gx290 -b lineage-17.1 kernel/gigaset/gx290
git clone https://github.com/GS290-dev/proprietary_vendor_firmware -b lineage-17.1 vendor/firmware
git clone https://github.com/erfanoabdi/android_device_mediatek_sepolicy device/mediatek/sepolicy
4.Build distribution
source build/envsetup.sh
lunch lineage_GX290-user
mka bacon
Output from lunch
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20210822-UNOFFICIAL-GX290
TARGET_PRODUCT=lineage_GX290
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-Ubuntu-20.04.2-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/gigaset/mt6763-common vendor/gigaset/mt6763-common device/gigaset/mt6763-common device/gigaset/GX290-unified
============================================
5.Prepare phone for flashing
Enable developer mode
Backup
Make sure adb / fastboot are working
Unlock bootloader similar to https://doc.e.foundation/devices/GS290/install
6.Prepare boot.img with Magisk to disable AVB / dm-verity
7.Flash recovery.img to boot and boot, then sideload zip-file
@s-kriba
Copy link

s-kriba commented May 11, 2023

@schoeller Ich würde die Methode von Gajus gerne ausprobieren, um /e/ OS auf meinem GX290 zu installieren. Allerdings wird dabei wohl auf deine Build e-0.23-r-20220512-UNOFFICIAL-GX290.zip zurückgegriffen. Und die scheint nicht mehr verfügbar, da der von dir gewählte Host freecloud.eu (siehe https://community.e.foundation/t/gigaset-gx290-plus/34260/24) wohl schon dicht gemacht hat.

Falls du die Datei noch hast, könntest du sie bitte nochmal auf mega.nz hochladen? Die eigene Build ist für alle, die das probieren wollen, wohl das größte Hindernis. Wäre super, wenn man zumindest diesen Schritt überspringen könnte. Danke im Voraus!

Edit: Gajus war freundlich genug, die Datei nochmal hochzuladen: https://community.e.foundation/t/gigaset-gx290-plus/34260/38
Trotzdem natürlich auch nochmal ein Dankeschön an dich, schoeller, als denjenigen, der die Build überhaupt erst erstellt hatte!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment