Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Latest commit

 

History

History
176 lines (140 loc) · 5.76 KB

maintainers_guide.md

File metadata and controls

176 lines (140 loc) · 5.76 KB

Introducing Project Elixir now based on Android 14 シ

Warning

Project Elixir | Maintainers Guide Begins here

  • You don't need source access so don't ask as we provide JENKINS.
  • Read this guide step by step to avoid issues in anything
  • You can add Miui/Oos/Leica Camera & Dolby/Viper but make sure its stable
  • You can ship Lawnchair/Pixel Launcher according to your choice. (By default its Pixel Launcher)
  • After joining us make sure to adapt your trees for Jenkins and elixir
  • Also make sure its properly tested on unofficial source before sending for Jenkins build

Important

Reference commits:


Note

Mandatory things to test properly before release

  • Hotspot is working or not
  • Camera is working or not
  • Torch is working or not
  • Updater working on your device or needs some changes for flashing
  • Audio/video/media etc is working or not
  • Customizations added in Source changelog is working or not

How to add things in source or report bug

  • If you want anything then test it on unofficial source and ping us to add it after testing
  • Report if anything is broken in source ( Don't report while source is in WIP )
  • For Proper Reporting use this repo : TAP HERE

Adapt your tree according to elixir

~ check below strings/flags and add or adapt if needed for your device


Whether device has dash charging support

<bool name="config_hasDashCharger">false</bool>

Whether device has warp charging support

<bool name="config_hasWarpCharger">false</bool>

Whether device has VOOC charging support

<bool name="config_hasVoocCharger">false</bool>

Whether device has turbo power charging support

<bool name="config_hasTurboPowerCharger">false</bool>

Path to fast charging status file to detect whether an oem fast charger is active

<string name="config_oemFastChargerStatusPath" translatable="false">/sys/class/power_supply/battery/fastchg_status</string>

Path to fast charging status file to detect whether an oem fast charger is active

<string name="config_oemFastChargerStatusPath2" translatable="false"></string>

Expected value from fast charging status file

<string name="config_oemFastChargerStatusValue" translatable="false">1</string>

Allow devices override audio panel location to the left side

<bool name="config_audioPanelOnLeftSide">true</bool>

Whether devices suports in-display fingerprint when screen is off

<bool name="config_supportsScreenOffUdfps">false</bool>

Whether device has physical tri state switch

<bool name="config_hasAlertSlider">false</bool>

The location of the devices physical tri state switch 0: Left side 1: Right side

<integer name="config_alertSliderLocation">0</integer>

Whether key handler sends intent when changing slider position

<string name="config_alertSliderIntent"></string>

AOSP Recovery

TARGET_USES_AOSP_RECOVERY := true

Lawnchair Launcher

FORCE_LAWNCHAIR := true

GMS product config

TARGET_USES_FULL_GAPPS := true

or

TARGET_USES_PICO_GAPPS := true

Faceunlock gets build by default if u want to disable it, then

TARGET_FACE_UNLOCK_SUPPORTED := false

For APERTURE CAMERA

TARGET_BUILD_APERTURE_CAMERA := true

In aosp_device.mk

ELIXIR_BUILD_TYPE := OFFICIAL
BUILD_USERNAME := Elixir
BUILD_HOSTNAME := Elixir

For Extra UDFPS Animation

EXTRA_UDFPS_ANIMATIONS := true

We have switched to strings! add it in OFFICIAL tree

<string name="elixir_maintainer">Saurav</string>

Warning

All the maintainers must follow templates for wiki,changelog,xda and OTA strictly


Important

Steps for releasing builds

  • Make XDA thread for Release (Only if you haven't made yet for that Android version yet) else skip
  • Make Proper Wiki/Flashing Gudide for your Device with Warning,Important,Reqired Files and Notes
  • Make Pull Request to official_devices repo with json from CLI(jenkins) channel build post and changelog with proper path in Device Org
  • Don't post any other download link in device channel post apart from this link below
  • Tag/Pm Saurav with the build link that you want to release and to merge Pull req for OTA!