Coder Social home page Coder Social logo

inferno0230 / android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from risingtechoss/android

0.0 0.0 0.0 866 KB

Absolutely FREE Android Operating System for everyone - continuation of https://github.com/riceDroid

Home Page: http://ricedroidoss.github.io/

android's Introduction

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://docs.google.com/forms/d/e/1FAIpQLSdQjt9NvuzEEqxwvEVtGbCaoxaFFLoz7SRr8J1c_-kcn5EQBQ/viewform

Getting Started

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

# For webview related errors due to git lfs (credits to haggertk):
sudo apt install git-lfs
git lfs install
rm -rf external/chromium-webview/prebuilt/*
rm -rf .repo/projects/external/chromium-webview/prebuilt/*.git
rm -rf .repo/project-objects/LineageOS/android_external_chromium-webview_prebuilt_*.git

repo init --depth=1 --no-repo-verify -u https://github.com/RisingTechOSS/android -b thirteen --git-lfs -g default,-mips,-darwin,-notdefault

in case of repo syncing failures try this instead

repo init -u https://github.com/RisingTechOSS/android -b thirteen --git-lfs

Sync up with this command:

repo sync -c --no-clone-bundle --optimized-fetch --prune --force-sync -j$(nproc --all)

Workaround for failing repositories

Failing repos:
system/core
Try re-running with "-j1 --fail-fast" to exit at the first error.

# Delete .repo project objects <remote> depends on the objects remote name e.g RisingTechOSS/LineageOS etc.
rm -rf .repo/project-objects/<remote>/android_system_core.git

# system/core.git is taken from the android_system_core repository path entry from the manifest
rm -rf .repo/projects/system/core.git

# Delete the synced folder of the failing repository
rm -rf system/core

Preparing device for this ROM

Inherit Lineage vendor common stuffs

$(call inherit-product, vendor/lineage/config/common_full_phone.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 := "a maintainer"

# chipset flag enclose var with "" if more than one
# this will reflect on build/display version, a firmware package/zip name 
# e.g. risingDroid-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"

# Aperture Camera (default: not defined - skipped by the compiler)
TARGET_BUILD_APERTURE_CAMERA := true/false

# disable/enable blur support, default is false
TARGET_ENABLE_BLUR := true/false

# UDFPS ICONS/ANIMATIONS
TARGET_HAS_UDFPS := true/false

# Spoof build description/fingerprint as pixel device
TARGET_USE_PIXEL_FINGERPRINT := true/false

GMS Flags

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

# Customized GMS Flags 
# WITH_GMS flag is required

# Default GMS flags sets (Override the values on lineage_xxx.mk)
WITH_GMS := true
TARGET_CORE_GMS := true

# Wether to use google (true) or AOSP (false) telephony package bundle. (defaults: false for gms core, true for pixel builds)
TARGET_USE_GOOGLE_TELEPHONY := true/false

# Compiler will only build GMS playstore services, its dependencies, and Gboard app.
# package type will change from PIXEL/GMS -> CORE
TARGET_CORE_GMS := true/false

# extra flag under TARGET_CORE_GMS
TARGET_CORE_GMS_EXTRAS := true/false - extra packages for core build type (velvet and photos)

Build

Set up environment

. build/envsetup.sh

Build the code

brunch "device_codename" userdebug/user

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

lunch lineage_device-userdebug/user
mka bacon -jX

Building fastboot update package

lunch lineage_device-userdebug/user
make updatepackage

Credits

android's People

Contributors

aleasto avatar arco avatar aviraxp avatar bgcngm avatar bvlj avatar chirayudesai avatar ciwrl avatar ctso avatar haggertk avatar hyperb1iss avatar intervigilium avatar invisiblek avatar javelinanddart avatar jrior001 avatar koush avatar luca020400 avatar luk1337 avatar mikeng avatar minaripenguin avatar moetayuko avatar npjohnson avatar pipipig233666 avatar rashed97 avatar rmcc avatar ryzenforce990 avatar sam3000 avatar tdm avatar webgeek1234 avatar zvnexus avatar zwliew avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.