risingOS is a OpenSource Aftermarket Android Operating System that aims to bring unique and fresh user experience.
Initialize local repository
repo init -u https://github.com/RisingOS-Revived/android -b qpr2 --git-lfs
Sync up with this command:
repo sync -c --no-clone-bundle --optimized-fetch --prune --force-sync -j$(nproc --all)
Inherit LineageOS Vendor stuff
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
Add the following variables:
# Lunch banner maintainer variable
RISING_MAINTAINER="Niv"
# Chipset/Maintainer properties (ro.rising.chipset/ro.rising.maintainer)
# Set RISING_MAINTAINER for version control
# (Optional if builder is setting properties via init_<device>.cpp)
PRODUCT_BUILD_PROP_OVERRIDES += \
RisingChipset="Google Tensor 2" \
RisingMaintainer="Niv"
RISING_MAINTAINER := Niv
# Disable/enable blur support, false by default
TARGET_ENABLE_BLUR := true/false
# Whether to ship aperture camera, false by default
PRODUCT_NO_CAMERA := true/false
# Whether to ship lawnchair launcher, false by default
TARGET_PREBUILT_LAWNCHAIR_LAUNCHER := true/false
# GMS build flags, false by default
# ship with GMS packages, replaces default AOSP packages with Google manufactured packages.
WITH_GMS := true/false
# These flags needs WITH_GMS set to true
# Whether to ship pixel launcher and set it as default launcher, false by default
TARGET_DEFAULT_PIXEL_LAUNCHER := true/false
# Whether to ship prebuilt Google Dialer and Messages, false by default
TARGET_INCLUDE_GOOGLE_DIALER := 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
Signed build(Replacing testkey with releasekey for play integrity, certification etc.)
riseup <device> <build-type>
# Perform manual key generation
# 'gk' will include keys from vendor/lineage-priv/keys
# after generating keys
gk -s
# For more info about gk (generate keys)
gk -h/--help
# Build the firmware with the preferred method except for 'rise sb'
rise/rise b/mka bacon etc.
Building fully signed ota package
riseup <device> <build-type>
# 'rise sb' is an attempt to automate LineageOS builds signing.
# Reference: https://wiki.lineageos.org/signing_builds
# In case of errors or any other difficulties, avoid using 'rise sb'
# If the builder wants to simply replace the testkey certificate with the releasekey
# Please refer to 'Replacing testkey with releasekey'
# (Automatic generation of keys will be performed if keys do not exist).
# For manual key generation, please use "gk":
gk -f (to regenerate replace old keys, rise sb automatically generate keys for full build signing if no keys exists)
rise sb
Opting out of signed builds
riseup <device> <build-type>
remove_keys # This will remove generated keys so the system will revert back to test keys.
For more information about the rise build command:
rise help
- AOSPA
- AICP
- Bootleggers
- crDroid
- Corvus-AOSP
- Derpfest
- DivestOS
- DotOS
- Evolution-X
- Flamingo-OS
- LeafOS
- LineageOS
- Octavi-OS
- Omnirom
- PixelDust Caf
- Project-Fluid
- Project Kaleidoscope
- Project Radiant
- RiceDroid
- risingOS
- minaripenguin
- AxionAOSP
- SparkOS
- StagOS
- Xdroid-OSS
- Mohammad Kibria (for the original source)