Skip to content

risingOS - An OpenSource Aftermarket Android Operating System for everyone.

Notifications You must be signed in to change notification settings

GokuPlay609/android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

What is RisingOS?

risingOS is A FREE OpenSource Aftermarket Android Operating System that aims to bring unique and fresh user experience.

Maintainership

Requirements:

  1. Device trees must be properly maintained, patches applied to the tree must be either rom source changes adaptation,bug fixes or improvements.
  2. Must have no known issues in his/her current device community.
  3. Approved by the maintainership application form reviewers. Maintainership application form link: https://github.com/RisingOSS-devices/official/issues

Getting Started

Initialize local repository (thanks to apon77 for repo init script)

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 --depth=1 --no-repo-verify -u https://github.com/RisingTechOSS/android -b fourteen --git-lfs -g default,-mips,-darwin,-notdefault

Preparing device for this ROM

Inherit RisingOS vendor common stuffs

$(call inherit-product, vendor/rising/config/rising.mk)

Build Flags

# chipset flag enclose var with "" if more than one
# friendly tip: builders can use init_xxx.cpp as workaround for spacing
# e.g. property_override("ro.rising.chipset", "Snapdragon 870 5G");
RISING_CHIPSET := "snapdragon_x"

# chipset flag enclose var with "" if more than one
# friendly tip: builders can use init_xxx.cpp as workaround for spacing
# e.g. property_override("ro.rising.maintainer", "maintainer");
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-7.0-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

GMS Flags

# GMS build flags
WITH_GMS := true/false - ship with GMS packages, replaces misc AOSP packages with Google packages.

Build

Set up environment

. build/envsetup.sh

❗❗IMPORTANT: Always run this command after repo sync and setting up environment❗❗

# fetches and applies remote patches   
# this was added to update repositories seamlessly for any ASB updates
opt_patch

Build the code

riseup "device_codename" userdebug/user

Purge out directories

purge

riseup uses all available cores to assign jobs hence making -jX no-op, to utilize -jX use:

lunch rising_device-userdebug/user or riseup device userdebug/user
m -jX or ascend

Building fastboot update package

riseup device userdebug/user
make updatepackage or ascend fastboot

Credits

About

risingOS - An OpenSource Aftermarket Android Operating System for everyone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published