Skip to content

Lunaris-AOSP/android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,305 Commits
 
 
 
 
 
 

Repository files navigation

Initialize local repository

repo init -u https://github.com/Lunaris-AOSP/android -b 16.2 --git-lfs

Sync up

repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

Build

  • Set up the build environment
. b*/env*
  • Lunch a target
lunch lineage_codename-bp4a-user
  • To start compiling
m bacon
  • Paintainer prop (define in system/product prop)
ro.lunaris.maintainer=GHOST | ゴースト
  • refresh rate list (optional) - defining this flags makes the controller skip the parsing of Display.Mode refresh rates
  • for supported refresh rates. The refresh rate controller will also assume that all the defined refresh rates are "supported"
TARGET_SUPPORTED_REFRESH_RATES := 60,90,120,144
  • If device support UDFPS
TARGET_CUSTOM_UDFPS := true
  • For GMS
WITH_GMS := true
  • For bcr
WITH_BCR := true
  • Set surfaceflinger refreshrate
$(call soong_config_set,surfaceflinger,frame_rate_category_high,120)
$(call soong_config_set,surfaceflinger,frame_rate_category_min,60)
  • Whether the device supports Smart Pixels(frameworks overlay)
<!-- Whether the device supports Smart Pixels -->
<bool name="config_supportSmartPixels">true</bool>
  • Limit AOD refreshrate (SystemUI overlay)
<!-- Preferred max refresh rate at AOD & Ambient Display, if supported by the display. -->
<integer name="config_aodMaxRefreshRate">60</integer>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors