Repository: ResurrectionRemix/platform_manifest Branch: Q Commit: a5df4c516aea Files: 4 Total size: 101.7 KB Directory structure: gitextract_6fallmx5/ ├── README.mkdn ├── default.xml └── snippets/ ├── lineage.xml └── rr.xml ================================================ FILE CONTENTS ================================================ ================================================ FILE: README.mkdn ================================================ # Resurrection Remix OS Q 2020 # Getting started --------------- To get started with Android/RR, you'll need to get familiar with [git and repo](https://source.android.com/setup/develop). Sync --------------- ```bash # Initialize local repository repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b Q # Sync repo sync --force-sync --no-clone-bundle ``` Build --------------- ```bash # Set up environment $ . build/envsetup.sh # Choose a target $ lunch rr_$device-userdebug # Build the code $ mka bacon ``` Important for FOD devices --------------- ```bash For devices with in-display fingerprint, you need to adapt your devices to FOD 1.1 for things to work properly. FOD1.1 + fod-ext value to call the HAL layer Also set this flag in device tree device.mk TARGET_HAS_FOD := true For Devices who don't wish to adapt to 1.1, and wish to stick to los 1.0 ext impl, please merge the following two commits in frameworks/base and packages/apps/Settings thanks to Pavan Parmeshwar Base: https://github.com/ResurrectionRemix/android_frameworks_base/commit/b27490b437a1bc2a767af6d0dd8a30aae96036f0 Settings https://github.com/ResurrectionRemix/Resurrection_packages_apps_Settings/commit/24551c50223cbccd8fd74f053463f99e38ee93d8 Please don't forget extension lib ``` For devices with hardware keys, you need to add the following --------------- ```bash Add these lines to 72 72 true 128 Numbers vary on how many hardware keys you have on your device. See the config description for how to add those. ``` Devices with alertsliders / custom key handlers --------------- ```bash You need to update your keyhandler class and paths to # Like this /system/priv-app/LineageParts/LineageParts.apk org.lineageos.lineageparts.gestures.KeyHandler ``` For face unlock --------------- ```bash Set TARGET_FACE_UNLOCK_SUPPORTED := true to build face unlock packages. Do this if your device supports face unlock (which it mostly does). ``` Other configs and locations in device tree --------------- ```bash Use these lines in ``` true true true true true false true 2 /sys/class/ /sys/class/power_supply/battery/temp /sys/kernel/gpu/gpu_clock /sys/kernel/gpu/gpu_busy Replace and with own device specific paths true Use these lines in ``` true true path path path Replace path with device specific path ``` Please maintain proper authorship for all commits for above overlays --------------- ```bash ``` For OTA --------------- ```bash Once you are done with your build you can upload your ota.json file from out/product directory if you are a maintainer. ``` How can I be maintainer? --------------- ```bash Make a pull request at https://github.com/ResurrectionRemix/Resurrection_packages_apps_Settings/blob/Q/res/values/resurrection_device_maintainers_strings.xml Make the commit like this by including device in fragment https://github.com/ResurrectionRemix/Resurrection_packages_apps_Settings/commit/9686023738c3b09feaa547cb3658d6c2bda737e1 With your name. Choose any device you want to maintain for but in the pull request please post with an xda thread (optional), device source and kernel source as the commit message It will be reviewed and changes will be approved if everything is fine Approved maintainers will gain access to RR device repo and RR OTA server Credentials will be given in a separate group created for maintainers ``` Translations --------------- ```bash We don't have crowdin at the moment so you can merge a pull request in our repos which require translations. Please validate your XMLs first. We will review them and merge them as soon as possible. ``` Lastly --------------- ```bash Remember to give credits where necessary ``` ### That's all for now. ### Happy building --------------- ```bash ### - RR Team ### ================================================ FILE: default.xml ================================================ ================================================ FILE: snippets/lineage.xml ================================================ ================================================ FILE: snippets/rr.xml ================================================