YiuOS is a custom Android distribution based on LineageOS 23.2 (Android 16).
This repository is the YiuOS vendor tree — a fully rebranded fork of
LineageOS/android_vendor_lineage
(branch lineage-23.2). It sits at vendor/yiuos in a LineageOS source
checkout and turns the build into YiuOS.
- Name: every user-visible
LineageOS/Lineagestring is nowYiuOS(build display, Settings, recovery, setup wizard overlays, translations). - Logo: new YiuOS mark — orange rounded square with the white
Yiuwordmark (seebranding/). Used in the boot animation. - Boot animation: regenerated from scratch with the YiuOS logo
(
bootanimation/bootanimation.tar, 1620x540 @ 60fps, fade-in / pulse loop / fade-out). - Default wallpapers: new dark-orange gradient wallpapers at every density
(
overlay/common/.../default_wallpaper.png). - Charger UI: offline-charging battery graphics recolored from Lineage
teal to YiuOS orange (
charger/). - Build system identity: products are
yiuos_*(e.g.yiuos_gsi_arm64), version vars areYIUOS_*, and props arero.yiuos.*(ro.yiuos.version,ro.yiuos.build.version,ro.yiuos.releasetype).
Deliberately not renamed (these identifiers belong to other LineageOS
repos that are synced at build time; renaming them here would break the build):
org.lineageos.* package/feature IDs, the lineage-sdk overlay paths, app
module names such as LineageParts / LineageSettingsProvider, and the
github.com/LineageOS device-tree URLs used by roomservice. Fully renaming
those means forking lineage-sdk, build/make, and the Lineage apps — see
roadmap.
branding/ YiuOS logo (SVG + PNG) and wordmark
bootanimation/ YiuOS boot animation source frames (tar) + generator
charger/ Offline-charging UI assets (YiuOS orange)
config/ Common product configs (common.mk, version.mk, BoardConfigYiuOS.mk, ...)
build/ envsetup extensions (breakfast/brunch), roomservice, yiuos_* targets
overlay/ Resource overlays: branding strings, wallpapers, lineage-sdk config
prebuilt/ Ringtones/alarms/notifications, init rc files, etc.
manifests/ Local manifest to drop into .repo/local_manifests/
tools/ apply-yiuos-buildsystem.sh (points build/make at vendor/yiuos)
Requirements: Linux, 32 GB+ RAM, ~400 GB disk, AOSP build deps and the
repo tool (https://wiki.lineageos.org/build_guides).
# 1. Init LineageOS 23.2 and add the YiuOS manifest
mkdir yiuos && cd yiuos
repo init -u https://github.com/LineageOS/android.git -b lineage-23.2 --git-lfs
mkdir -p .repo/local_manifests
curl -o .repo/local_manifests/yiuos.xml \
https://raw.githubusercontent.com/Ellosan/YiuOS/main/manifests/yiuos.xml
repo sync -c -j8
# 2. Point the build system at vendor/yiuos (one-time, re-run after build/make syncs)
bash vendor/yiuos/tools/apply-yiuos-buildsystem.sh
# 3. Build — GSI for any Treble device:
source build/envsetup.sh
lunch yiuos_gsi_arm64-bp4a-userdebug
m
# ...or a specific device with a LineageOS device tree (roomservice fetches it):
breakfast <device>
brunch <device>With a foss.crave.io account, the whole build runs
on Crave's farm instead of your machine. Put your crave.conf (downloaded
from the Crave web console) next to the crave binary or at ~/crave.conf,
create a project from the LineageOS template, then:
./crave-0.2-7220-linux-amd64.bin run --no-patch -- \
"curl -s https://raw.githubusercontent.com/Ellosan/YiuOS/main/tools/crave-build.sh | bash"
# when it finishes:
./crave-0.2-7220-linux-amd64.bin pull out/target/product/gsi_arm64/system.imgtools/crave-build.sh does the repo init/sync, drops in the YiuOS manifest,
applies the build-system patch, and builds yiuos_gsi_arm64-bp4a-userdebug.
Override with env vars: YIUOS_LUNCH_TARGET, YIUOS_RELEASE, YIUOS_VARIANT.
Flash the GSI to a Treble device with an unlocked bootloader:
fastboot reboot fastboot
fastboot flash system out/target/product/gsi_arm64/system.img
fastboot -w rebootAfter boot: Settings → About phone shows a YiuOS build, and:
adb shell getprop ro.yiuos.version
adb shell getprop ro.yiuos.releasetype # UNOFFICIALThe boot animation and default wallpaper carry the new logo.
branding/yiuos-logo.svg is the master mark: #FF6900 rounded square,
white DejaVu Sans Bold wordmark. PNG exports at 512/192 px plus a horizontal
wordmark. The boot animation and wallpapers are generated from the same
geometry. (The mark is an original design in the MiOS visual style — it does
not reuse any third-party logo.)
- Fork
lineage-sdkand the Lineage apps to finish the deep rename (org.lineageos.*→org.yiuos.*) - Signing keys under
vendor/yiuos-priv/keys - OTA/updater endpoint (
ro.yiuos.updater.uri) - Official device roster
Apache License 2.0, same as upstream. This tree contains code Copyright The CyanogenMod Project and The LineageOS Project; their copyright notices are retained. YiuOS is not affiliated with LineageOS, Xiaomi, or MiOS.
