risingOS is a OpenSource Aftermarket Android Operating System that aims to bring unique and fresh user experience.
We're short in manpower right now (core members are busy with maintaining source and can't review applicants). Maintainership is closed until source workload is low.
Initialize local repository
repo init -u https://github.com/RisingTechOSS/android -b fourteen --git-lfs
Sync up with this command:
repo sync -c --no-clone-bundle --optimized-fetch --prune --force-sync -j$(nproc --all)
# For gms or chromium blobs related errors due to git lfs (gitlab now limits files up to 100mb max) (credits to haggertk):
sudo apt install git-lfs
git lfs install
rm -rf vendor/gms
rm -rf .repo/projects/vendor/gms.git
rm -rf .repo/project-objects/*/android_vendor_gms.git
repo init -u https://github.com/RisingTechOSS/android -b fourteen --git-lfs
# for SSH
repo init -u git@github.com:RisingTechOSS/android.git -b fourteen --git-lfs
Inherit LineageOS Vendor stuffs
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# friendly tip: builders can use vendor init_xxx.cpp as workaround for spacing
# e.g. property_override("ro.rising.chipset", "Snapdragon 870 5G");
RISING_CHIPSET="Google Tensor 2"
# friendly tip: builders can use vendor init_xxx.cpp as workaround for spacing
# e.g. property_override("ro.rising.maintainer", "maintainer");
RISING_MAINTAINER="Niv"
#In rising_<device>.mk Add the following properties to `PRODUCT_BUILD_PROP_OVERRIDES`
example:
PRODUCT_BUILD_PROP_OVERRIDES += \
RISING_CHIPSET="Google Tensor 2" \
RISING_MAINTAINER="Niv"
# chipset flag enclose var with "" if more than one
# this will reflect on build/display version, a firmware package/zip name
# e.g. risingOS-2.1-COMMUNITY-device-AOSP.zip - AOSP is the default package type, WITH_GMS will override the package type to PIXEL
RISING_PACKAGE_TYPE := "VANILLA_AOSP"
# disable/enable blur support, default is false
TARGET_ENABLE_BLUR := true/false
# whether to ship aperture camera, default is false
PRODUCT_NO_CAMERA := true/false
# GMS build flags
# ship with GMS packages, replaces default AOSP packages with Google manufactured packages.
WITH_GMS := true/false
# These flags needs WITH_GMS set to true
# for more information about core GMS flags, please see vendor/gms/common/common-vendor.mk
# ships core GMS components that are needed to run GMS environment
TARGET_CORE_GMS := true/false
# extra add-ons for core GMS builds
# List of add-ons
# PRODUCT_PACKAGES += \
# Photos \
# MarkupGoogle \
# LatinIMEGooglePrebuilt \
# AiWallpapers \
# WallpaperEmojiPrebuilt \
# PrebuiltDeskClockGoogle \
# CalculatorGooglePrebuilt \
# CalendarGooglePrebuilt \
# Velvet
TARGET_CORE_GMS_EXTRAS := true/false
# on the other hand builders can build customize packages by simply defining product packages
# instead of defining TARGET_CORE_GMS_EXTRAS
# PRODUCT_PACKAGES += \
# add package name here e.g: Velvet \
# LatinIMEGooglePrebuilt (if builder prefers gboard)
# Wether to ship pixel launcher and set it as default launcher
TARGET_DEFAULT_PIXEL_LAUNCHER := true/false
Setting up environment
. build/envsetup.sh
riseup uses all available cores to assign jobs hence making -jX no-op, to utilize -jX use:
riseup <device> <build-type>
rise b
Building fastboot update package
riseup <device> <build-type>
rise fb
For more information about the rise build command:
rise help
Contributions/Translations are always welcome! Please feel free to do pull requests!
Pull requests will be reviewed by source maintainers and will be merged/added to work-in-progress repositories once changes are verified.