├── .clang-format ├── Android.bp ├── Android.mk ├── AndroidProducts.mk ├── BoardConfig.mk ├── README.md ├── XiaomiParts ├── Android.mk ├── AndroidManifest.xml ├── res │ ├── drawable │ │ ├── action_presets.xml │ │ ├── action_reset.xml │ │ ├── ic_color.xml │ │ ├── ic_dirac.xml │ │ ├── ic_doze.xml │ │ ├── ic_flip.xml │ │ ├── ic_headphones.xml │ │ ├── ic_mi.xml │ │ ├── ic_preset.xml │ │ ├── ic_speaker_cleaner_icon.xml │ │ ├── ic_usb_fastcharge.xml │ │ └── preview.jpg │ ├── layout │ │ ├── activity_kcal.xml │ │ ├── custom_seekbar_preference_dialog.xml │ │ └── preference_custom_seekbar.xml │ ├── menu │ │ └── menu_reset.xml │ ├── raw │ │ └── clear_speaker_sound.mp3 │ ├── values-ru-rRU │ │ └── strings.xml │ ├── values-uk-rUA │ │ └── strings.xml │ ├── values │ │ ├── arrays.xml │ │ ├── attrs.xml │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── xml │ │ ├── clear_speaker_settings.xml │ │ ├── preferences_kcal.xml │ │ └── preferences_xiaomi_parts.xml └── src │ └── com │ └── xiaomi │ └── parts │ ├── BootReceiver.java │ ├── DeviceSettings.java │ ├── DeviceSettingsActivity.java │ ├── DiracService.java │ ├── DiracSound.java │ ├── DiracUtils.java │ ├── Fastcharge.java │ ├── FileUtils.java │ ├── kcal │ ├── KCalSettings.java │ ├── KCalSettingsActivity.java │ ├── PresetDialog.java │ └── Utils.java │ ├── preferences │ ├── CustomSeekBarPreference.java │ ├── SecureSettingCustomSeekBarPreference.java │ ├── SecureSettingListPreference.java │ ├── SecureSettingSwitchPreference.java │ ├── SecureSettingsStore.java │ └── VibrationSeekBarPreference.java │ └── speaker │ ├── ClearSpeakerActivity.java │ └── ClearSpeakerFragment.java ├── audio ├── audio_effects.xml ├── audio_io_policy.conf ├── audio_platform_info.xml ├── audio_platform_info_intcodec.xml ├── audio_policy_configuration.xml ├── audio_policy_configuration_a2dp_offload_disabled.xml ├── audio_tuning_mixer_tavil.txt ├── bluetooth_qti_audio_policy_configuration.xml ├── graphite_ipc_platform_info.xml ├── listen_platform_info.xml ├── mixer_paths_idp.xml ├── sound_trigger_mixer_paths.xml └── sound_trigger_platform_info.xml ├── bluetooth └── include │ └── bdroid_buildcfg.h ├── compatibility_matrix.xml ├── config.fs ├── configs ├── component-overrides.xml ├── component-overrides_qti.xml ├── excluded-input-devices.xml ├── idc │ ├── uinput-fpc.idc │ └── uinput-goodix.idc ├── nfc │ ├── libnfc-nci.conf │ ├── libnfc-nxp.conf │ └── libnfc-nxp_RF.conf ├── perf │ ├── msm_irqbalance.conf │ ├── perf-profile0.conf │ └── powerhint.xml ├── privapp-permissions-qti.xml └── qti_whitelist.xml ├── device.mk ├── extract-files.sh ├── fingerprint ├── Android.bp ├── BiometricsFingerprint.cpp ├── BiometricsFingerprint.h ├── android.hardware.biometrics.fingerprint@2.1-service.ginkgo.rc ├── android.hardware.biometrics.fingerprint@2.1-service.ginkgo.xml └── service.cpp ├── framework_manifest.xml ├── gps ├── Android.bp ├── Android.mk ├── CleanSpec.mk ├── Makefile.am ├── android │ ├── 1.0 │ │ ├── AGnss.cpp │ │ ├── AGnss.h │ │ ├── AGnssRil.cpp │ │ ├── AGnssRil.h │ │ ├── Android.mk │ │ ├── Gnss.cpp │ │ ├── Gnss.h │ │ ├── GnssBatching.cpp │ │ ├── GnssBatching.h │ │ ├── GnssConfiguration.cpp │ │ ├── GnssConfiguration.h │ │ ├── GnssDebug.cpp │ │ ├── GnssDebug.h │ │ ├── GnssGeofencing.cpp │ │ ├── GnssGeofencing.h │ │ ├── GnssMeasurement.cpp │ │ ├── GnssMeasurement.h │ │ ├── GnssNi.cpp │ │ ├── GnssNi.h │ │ ├── android.hardware.gnss@1.0-service-qti.rc │ │ ├── android.hardware.gnss@1.0-service-qti.xml │ │ ├── location_api │ │ │ ├── BatchingAPIClient.cpp │ │ │ ├── BatchingAPIClient.h │ │ │ ├── GeofenceAPIClient.cpp │ │ │ ├── GeofenceAPIClient.h │ │ │ ├── GnssAPIClient.cpp │ │ │ ├── GnssAPIClient.h │ │ │ ├── LocationUtil.cpp │ │ │ ├── LocationUtil.h │ │ │ ├── MeasurementAPIClient.cpp │ │ │ └── MeasurementAPIClient.h │ │ └── service.cpp │ ├── 1.1 │ │ ├── AGnss.cpp │ │ ├── AGnss.h │ │ ├── AGnssRil.cpp │ │ ├── AGnssRil.h │ │ ├── Android.mk │ │ ├── Gnss.cpp │ │ ├── Gnss.h │ │ ├── GnssBatching.cpp │ │ ├── GnssBatching.h │ │ ├── GnssConfiguration.cpp │ │ ├── GnssConfiguration.h │ │ ├── GnssDebug.cpp │ │ ├── GnssDebug.h │ │ ├── GnssGeofencing.cpp │ │ ├── GnssGeofencing.h │ │ ├── GnssMeasurement.cpp │ │ ├── GnssMeasurement.h │ │ ├── GnssNi.cpp │ │ ├── GnssNi.h │ │ ├── android.hardware.gnss@1.1-service-qti.rc │ │ ├── android.hardware.gnss@1.1-service-qti.xml │ │ ├── location_api │ │ │ ├── BatchingAPIClient.cpp │ │ │ ├── BatchingAPIClient.h │ │ │ ├── GeofenceAPIClient.cpp │ │ │ ├── GeofenceAPIClient.h │ │ │ ├── GnssAPIClient.cpp │ │ │ ├── GnssAPIClient.h │ │ │ ├── LocationUtil.cpp │ │ │ ├── LocationUtil.h │ │ │ ├── MeasurementAPIClient.cpp │ │ │ └── MeasurementAPIClient.h │ │ └── service.cpp │ ├── 2.0 │ │ ├── AGnss.cpp │ │ ├── AGnss.h │ │ ├── AGnssRil.cpp │ │ ├── AGnssRil.h │ │ ├── Android.mk │ │ ├── Gnss.cpp │ │ ├── Gnss.h │ │ ├── GnssBatching.cpp │ │ ├── GnssBatching.h │ │ ├── GnssConfiguration.cpp │ │ ├── GnssConfiguration.h │ │ ├── GnssDebug.cpp │ │ ├── GnssDebug.h │ │ ├── GnssGeofencing.cpp │ │ ├── GnssGeofencing.h │ │ ├── GnssMeasurement.cpp │ │ ├── GnssMeasurement.h │ │ ├── GnssNi.cpp │ │ ├── GnssNi.h │ │ ├── GnssVisibilityControl.cpp │ │ ├── GnssVisibilityControl.h │ │ ├── MeasurementCorrections.cpp │ │ ├── MeasurementCorrections.h │ │ ├── android.hardware.gnss@2.0-service-qti.rc │ │ ├── android.hardware.gnss@2.0-service-qti.xml │ │ ├── location_api │ │ │ ├── BatchingAPIClient.cpp │ │ │ ├── BatchingAPIClient.h │ │ │ ├── GeofenceAPIClient.cpp │ │ │ ├── GeofenceAPIClient.h │ │ │ ├── GnssAPIClient.cpp │ │ │ ├── GnssAPIClient.h │ │ │ ├── LocationUtil.cpp │ │ │ ├── LocationUtil.h │ │ │ ├── MeasurementAPIClient.cpp │ │ │ └── MeasurementAPIClient.h │ │ └── service.cpp │ ├── 2.1 │ │ ├── AGnss.cpp │ │ ├── AGnss.h │ │ ├── AGnssRil.cpp │ │ ├── AGnssRil.h │ │ ├── Android.mk │ │ ├── Gnss.cpp │ │ ├── Gnss.h │ │ ├── GnssAntennaInfo.cpp │ │ ├── GnssAntennaInfo.h │ │ ├── GnssBatching.cpp │ │ ├── GnssBatching.h │ │ ├── GnssConfiguration.cpp │ │ ├── GnssConfiguration.h │ │ ├── GnssDebug.cpp │ │ ├── GnssDebug.h │ │ ├── GnssGeofencing.cpp │ │ ├── GnssGeofencing.h │ │ ├── GnssMeasurement.cpp │ │ ├── GnssMeasurement.h │ │ ├── GnssNi.cpp │ │ ├── GnssNi.h │ │ ├── GnssVisibilityControl.cpp │ │ ├── GnssVisibilityControl.h │ │ ├── MeasurementCorrections.cpp │ │ ├── MeasurementCorrections.h │ │ ├── android.hardware.gnss@2.1-service-qti.rc │ │ ├── android.hardware.gnss@2.1-service-qti.xml │ │ ├── location_api │ │ │ ├── BatchingAPIClient.cpp │ │ │ ├── BatchingAPIClient.h │ │ │ ├── GeofenceAPIClient.cpp │ │ │ ├── GeofenceAPIClient.h │ │ │ ├── GnssAPIClient.cpp │ │ │ ├── GnssAPIClient.h │ │ │ ├── LocationUtil.cpp │ │ │ ├── LocationUtil.h │ │ │ ├── MeasurementAPIClient.cpp │ │ │ └── MeasurementAPIClient.h │ │ └── service.cpp │ ├── Android.mk │ └── utils │ │ ├── Android.bp │ │ ├── battery_listener.cpp │ │ └── battery_listener.h ├── batching │ ├── Android.bp │ ├── BatchingAdapter.cpp │ ├── BatchingAdapter.h │ ├── Makefile.am │ ├── configure.ac │ ├── location-batching.pc.in │ └── location_batching.cpp ├── configure.ac ├── core │ ├── Android.bp │ ├── ContextBase.cpp │ ├── ContextBase.h │ ├── EngineHubProxyBase.h │ ├── LBSProxyBase.h │ ├── LocAdapterBase.cpp │ ├── LocAdapterBase.h │ ├── LocAdapterProxyBase.h │ ├── LocApiBase.cpp │ ├── LocApiBase.h │ ├── LocContext.cpp │ ├── LocContext.h │ ├── Makefile.am │ ├── SystemStatus.cpp │ ├── SystemStatus.h │ ├── SystemStatusOsObserver.cpp │ ├── SystemStatusOsObserver.h │ ├── configure.ac │ ├── data-items │ │ ├── DataItemConcreteTypesBase.h │ │ ├── DataItemId.h │ │ ├── DataItemsFactoryProxy.cpp │ │ ├── DataItemsFactoryProxy.h │ │ └── IDataItemCore.h │ ├── loc-core.pc.in │ ├── loc_core_log.cpp │ ├── loc_core_log.h │ └── observer │ │ ├── IDataItemObserver.h │ │ ├── IDataItemSubscription.h │ │ ├── IFrameworkActionReq.h │ │ └── IOsObserver.h ├── etc │ ├── apdr.conf │ ├── flp.conf │ ├── gnss_antenna_info.conf │ ├── gps.conf │ ├── izat.conf │ ├── lowi.conf │ ├── sap.conf │ ├── seccomp_policy │ │ ├── gnss@2.0-base.policy │ │ ├── gnss@2.0-xtra-daemon.policy │ │ ├── gnss@2.0-xtwifi-client.policy │ │ └── gnss@2.0-xtwifi-inet-agent.policy │ └── xtwifi.conf ├── geofence │ ├── Android.bp │ ├── GeofenceAdapter.cpp │ ├── GeofenceAdapter.h │ ├── Makefile.am │ ├── configure.ac │ ├── location-geofence.pc.in │ └── location_geofence.cpp ├── gnss │ ├── Agps.cpp │ ├── Agps.h │ ├── Android.bp │ ├── GnssAdapter.cpp │ ├── GnssAdapter.h │ ├── Makefile.am │ ├── XtraSystemStatusObserver.cpp │ ├── XtraSystemStatusObserver.h │ └── location_gnss.cpp ├── gps_vendor_board.mk ├── gps_vendor_product.mk ├── loc-hal.pc.in ├── location │ ├── Android.bp │ ├── ILocationAPI.h │ ├── LocationAPI.cpp │ ├── LocationAPI.h │ ├── LocationAPIClientBase.cpp │ ├── LocationAPIClientBase.h │ ├── LocationDataTypes.h │ ├── Makefile.am │ ├── configure.ac │ ├── location-api.pc.in │ └── location_interface.h ├── pla │ ├── Android.bp │ ├── android │ │ └── loc_pla.h │ └── oe │ │ └── loc_pla.h └── utils │ ├── Android.bp │ ├── LocHeap.cpp │ ├── LocHeap.h │ ├── LocIpc.cpp │ ├── LocIpc.h │ ├── LocLoggerBase.h │ ├── LocSharedLock.h │ ├── LocThread.cpp │ ├── LocThread.h │ ├── LocTimer.cpp │ ├── LocTimer.h │ ├── LocUnorderedSetMap.h │ ├── LogBuffer.cpp │ ├── LogBuffer.h │ ├── Makefile.am │ ├── MsgTask.cpp │ ├── MsgTask.h │ ├── SkipList.h │ ├── configure.ac │ ├── gps-utils.pc.in │ ├── gps_extended.h │ ├── gps_extended_c.h │ ├── linked_list.c │ ├── linked_list.h │ ├── loc_cfg.cpp │ ├── loc_cfg.h │ ├── loc_gps.h │ ├── loc_log.cpp │ ├── loc_log.h │ ├── loc_misc_utils.cpp │ ├── loc_misc_utils.h │ ├── loc_nmea.cpp │ ├── loc_nmea.h │ ├── loc_target.cpp │ ├── loc_target.h │ ├── loc_timer.h │ ├── log_util.h │ ├── msg_q.c │ └── msg_q.h ├── init ├── Android.bp └── init_ginkgo.cpp ├── keyhandler ├── Android.bp ├── AndroidManifest.xml ├── proguard.flags └── src │ └── org │ └── lineageos │ └── keyhandler │ └── KeyHandler.java ├── keylayout ├── uinput-fpc.kl └── uinput-goodix.kl ├── libhidl └── Android.mk ├── light ├── Android.bp ├── Light.cpp ├── Light.h ├── android.hardware.light@2.0-service.ginkgo.rc ├── android.hardware.light@2.0-service.ginkgo.xml └── service.cpp ├── lineage.dependencies ├── lineage_ginkgo.mk ├── manifest.xml ├── manifest_willow.xml ├── media ├── media_codecs.xml ├── media_codecs_performance.xml ├── media_codecs_vendor.xml ├── media_codecs_vendor_audio.xml ├── media_profiles_V1_0.xml └── system_properties.xml ├── odm.prop ├── org.ifaa.android.manager ├── Android.bp ├── AndroidManifest.xml ├── lib │ └── org │ │ └── ifaa │ │ └── android │ │ └── manager │ │ ├── IFAAManager.java │ │ ├── IFAAManagerFactory.java │ │ ├── IFAAManagerImpl.java │ │ ├── IFAAManagerV2.java │ │ ├── IFAAManagerV3.java │ │ └── IIFAAService.aidl └── src │ └── org │ └── ifaa │ └── android │ └── manager │ ├── IFAAService.java │ └── IIFAAService.aidl ├── overlay-lineage └── lineage-sdk │ └── lineage │ └── res │ └── res │ └── values │ └── config.xml ├── overlay ├── frameworks │ └── base │ │ ├── core │ │ └── res │ │ │ └── res │ │ │ ├── values-mcc234-mnc15-en-rGB │ │ │ └── config.xml │ │ │ ├── values-mcc234-mnc15-en-rIN │ │ │ └── config.xml │ │ │ ├── values-mcc234-mnc15 │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc02-en-rGB │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc02-en-rIN │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc04-en-rGB │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc04-en-rIN │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc04 │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc09-en-rGB │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc09-en-rIN │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc09 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc004 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc120 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc260 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc410 │ │ │ └── config.xml │ │ │ ├── values-mcc311-mnc480 │ │ │ └── config.xml │ │ │ ├── values-mcc312-mnc530 │ │ │ └── config.xml │ │ │ ├── values-mcc313-mnc100 │ │ │ └── config.xml │ │ │ ├── values-mcc454-mnc03 │ │ │ └── config.xml │ │ │ ├── values-mcc454-mnc04 │ │ │ └── config.xml │ │ │ ├── values-mcc455-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc455-mnc07 │ │ │ └── config.xml │ │ │ ├── values-mcc460-mnc03 │ │ │ └── config.xml │ │ │ ├── values-mcc460-mnc11 │ │ │ └── config.xml │ │ │ ├── values │ │ │ ├── config.xml │ │ │ └── dimens.xml │ │ │ └── xml │ │ │ └── power_profile.xml │ │ └── packages │ │ ├── SettingsLib │ │ └── res │ │ │ └── values │ │ │ └── config.xml │ │ ├── SettingsProvider │ │ └── res │ │ │ └── values │ │ │ └── defaults.xml │ │ └── SystemUI │ │ └── res │ │ ├── drawable │ │ └── rounded.xml │ │ └── values │ │ ├── config.xml │ │ └── dimens.xml └── packages │ ├── apps │ ├── CarrierConfig │ │ └── res │ │ │ └── xml │ │ │ └── vendor.xml │ ├── Dialer │ │ └── java │ │ │ └── com │ │ │ └── android │ │ │ └── dialer │ │ │ └── callrecord │ │ │ └── res │ │ │ └── values │ │ │ └── config.xml │ └── Settings │ │ └── res │ │ └── values │ │ └── config.xml │ └── services │ └── Telephony │ └── res │ └── values │ └── config.xml ├── power └── power-mode.cpp ├── product.prop ├── proprietary-files.txt ├── releasetools.py ├── rootdir ├── Android.mk ├── bin │ ├── init.class_main.sh │ ├── init.qcom.early_boot.sh │ ├── init.qcom.post_boot.sh │ ├── init.qcom.sh │ ├── init.qcom.usb.sh │ └── init.qti.dcvs.sh └── etc │ ├── fstab.qcom │ ├── init.ginkgo.rc │ ├── init.qcom.rc │ ├── init.qcom.usb.rc │ ├── init.recovery.qcom.rc │ ├── init.target.rc │ └── ueventd.qcom.rc ├── rro_overlays ├── MiuiCamera │ ├── Android.bp │ ├── AndroidManifest.xml │ └── res │ │ └── values │ │ └── config.xml ├── NoCutoutOverlay │ ├── Android.bp │ ├── AndroidManifest.xml │ └── res │ │ ├── values-af │ │ └── strings.xml │ │ ├── values-am │ │ └── strings.xml │ │ ├── values-ar │ │ └── strings.xml │ │ ├── values-as │ │ └── strings.xml │ │ ├── values-az │ │ └── strings.xml │ │ ├── values-b+sr+Latn │ │ └── strings.xml │ │ ├── values-be │ │ └── strings.xml │ │ ├── values-bg │ │ └── strings.xml │ │ ├── values-bn │ │ └── strings.xml │ │ ├── values-bs │ │ └── strings.xml │ │ ├── values-ca │ │ └── strings.xml │ │ ├── values-cs │ │ └── strings.xml │ │ ├── values-da │ │ └── strings.xml │ │ ├── values-de │ │ └── strings.xml │ │ ├── values-el │ │ └── strings.xml │ │ ├── values-en-rAU │ │ └── strings.xml │ │ ├── values-en-rCA │ │ └── strings.xml │ │ ├── values-en-rGB │ │ └── strings.xml │ │ ├── values-en-rIN │ │ └── strings.xml │ │ ├── values-en-rXC │ │ └── strings.xml │ │ ├── values-es-rUS │ │ └── strings.xml │ │ ├── values-es │ │ └── strings.xml │ │ ├── values-et │ │ └── strings.xml │ │ ├── values-eu │ │ └── strings.xml │ │ ├── values-fa │ │ └── strings.xml │ │ ├── values-fi │ │ └── strings.xml │ │ ├── values-fr-rCA │ │ └── strings.xml │ │ ├── values-fr │ │ └── strings.xml │ │ ├── values-gl │ │ └── strings.xml │ │ ├── values-gu │ │ └── strings.xml │ │ ├── values-hi │ │ └── strings.xml │ │ ├── values-hr │ │ └── strings.xml │ │ ├── values-hu │ │ └── strings.xml │ │ ├── values-hy │ │ └── strings.xml │ │ ├── values-in │ │ └── strings.xml │ │ ├── values-is │ │ └── strings.xml │ │ ├── values-it │ │ └── strings.xml │ │ ├── values-iw │ │ └── strings.xml │ │ ├── values-ja │ │ └── strings.xml │ │ ├── values-ka │ │ └── strings.xml │ │ ├── values-kk │ │ └── strings.xml │ │ ├── values-km │ │ └── strings.xml │ │ ├── values-kn │ │ └── strings.xml │ │ ├── values-ko │ │ └── strings.xml │ │ ├── values-ky │ │ └── strings.xml │ │ ├── values-land │ │ └── config.xml │ │ ├── values-lo │ │ └── strings.xml │ │ ├── values-lt │ │ └── strings.xml │ │ ├── values-lv │ │ └── strings.xml │ │ ├── values-mk │ │ └── strings.xml │ │ ├── values-ml │ │ └── strings.xml │ │ ├── values-mn │ │ └── strings.xml │ │ ├── values-mr │ │ └── strings.xml │ │ ├── values-ms │ │ └── strings.xml │ │ ├── values-my │ │ └── strings.xml │ │ ├── values-nb │ │ └── strings.xml │ │ ├── values-ne │ │ └── strings.xml │ │ ├── values-nl │ │ └── strings.xml │ │ ├── values-or │ │ └── strings.xml │ │ ├── values-pa │ │ └── strings.xml │ │ ├── values-pl │ │ └── strings.xml │ │ ├── values-pt-rBR │ │ └── strings.xml │ │ ├── values-pt-rPT │ │ └── strings.xml │ │ ├── values-pt │ │ └── strings.xml │ │ ├── values-ro │ │ └── strings.xml │ │ ├── values-ru │ │ └── strings.xml │ │ ├── values-si │ │ └── strings.xml │ │ ├── values-sk │ │ └── strings.xml │ │ ├── values-sl │ │ └── strings.xml │ │ ├── values-sq │ │ └── strings.xml │ │ ├── values-sr │ │ └── strings.xml │ │ ├── values-sv │ │ └── strings.xml │ │ ├── values-sw │ │ └── strings.xml │ │ ├── values-ta │ │ └── strings.xml │ │ ├── values-te │ │ └── strings.xml │ │ ├── values-th │ │ └── strings.xml │ │ ├── values-tl │ │ └── strings.xml │ │ ├── values-tr │ │ └── strings.xml │ │ ├── values-uk │ │ └── strings.xml │ │ ├── values-ur │ │ └── strings.xml │ │ ├── values-uz │ │ └── strings.xml │ │ ├── values-vi │ │ └── strings.xml │ │ ├── values-zh-rCN │ │ └── strings.xml │ │ ├── values-zh-rHK │ │ └── strings.xml │ │ ├── values-zh-rTW │ │ └── strings.xml │ │ ├── values-zu │ │ └── strings.xml │ │ └── values │ │ ├── config.xml │ │ └── strings.xml ├── NotchBarKiller │ ├── Android.bp │ ├── AndroidManifest.xml │ └── res │ │ └── values │ │ ├── config.xml │ │ └── strings.xml ├── TetheringOverlay │ ├── Android.bp │ ├── AndroidManifest.xml │ └── res │ │ └── values │ │ └── config.xml └── WifiOverlay │ ├── Android.bp │ ├── AndroidManifest.xml │ └── res │ └── values │ └── config.xml ├── seccomp ├── codec2.vendor.ext.policy └── mediacodec-seccomp.policy ├── sepolicy ├── private │ ├── cameraserver.te │ ├── file_contexts │ ├── platform_app.te │ ├── priv_app.te │ ├── property_contexts │ ├── system_app.te │ ├── system_suspend.te │ └── uncrypt.te ├── public │ └── attributes └── vendor │ ├── app.te │ ├── device.te │ ├── file.te │ ├── file_contexts │ ├── genfs_contexts │ ├── hal_audio_default.te │ ├── hal_bluetooth_default.te │ ├── hal_camera_default.te │ ├── hal_fingerprint_default.te │ ├── hal_ir_default.te │ ├── hal_misys.te │ ├── hal_misys_default.te │ ├── hal_mlipay.te │ ├── hal_mlipay_default.te │ ├── hal_power_default.te │ ├── hwservice.te │ ├── hwservice_contexts │ ├── init.te │ ├── property.te │ ├── property_contexts │ ├── radio.te │ ├── system_app.te │ ├── system_server.te │ ├── tee.te │ ├── ueventd.te │ ├── vendor_adsprpcd.te │ ├── vendor_cdsprpcd.te │ ├── vendor_hal_neuralnetworks_default.te │ ├── vendor_ims.te │ ├── vendor_init.te │ ├── vendor_qti_init_shell.te │ └── vendor_thermal-engine.te ├── setup-makefiles.sh ├── system_ext.prop ├── update-sha1sums.py ├── vendor.prop └── wifi ├── WCNSS_qcom_cfg.ini ├── p2p_supplicant_overlay.conf └── wpa_supplicant_overlay.conf /.clang-format: -------------------------------------------------------------------------------- 1 | ../../../build/soong/scripts/system-clang-format -------------------------------------------------------------------------------- /Android.bp: -------------------------------------------------------------------------------- 1 | soong_namespace { 2 | } 3 | -------------------------------------------------------------------------------- /AndroidProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | PRODUCT_MAKEFILES := \ 8 | $(LOCAL_DIR)/lineage_ginkgo.mk 9 | 10 | COMMON_LUNCH_CHOICES := \ 11 | lineage_ginkgo-user \ 12 | lineage_ginkgo-userdebug \ 13 | lineage_ginkgo-eng 14 | -------------------------------------------------------------------------------- /XiaomiParts/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE_TAGS := optional 5 | LOCAL_STATIC_ANDROID_LIBRARIES := \ 6 | androidx.preference_preference 7 | 8 | LOCAL_SRC_FILES := $(call all-java-files-under, src) 9 | LOCAL_PACKAGE_NAME := XiaomiParts 10 | LOCAL_CERTIFICATE := platform 11 | LOCAL_PRIVILEGED_MODULE := true 12 | LOCAL_PRIVATE_PLATFORM_APIS := true 13 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 14 | LOCAL_USE_AAPT2 := true 15 | 16 | package_resource_overlays := $(strip \ 17 | $(wildcard $(foreach dir, $(PRODUCT_PACKAGE_OVERLAYS), \ 18 | $(addprefix $(dir)/, packages/apps/XiaomiParts/res))) \ 19 | $(wildcard $(foreach dir, $(DEVICE_PACKAGE_OVERLAYS), \ 20 | $(addprefix $(dir)/, packages/apps/XiaomiParts/res)))) 21 | 22 | LOCAL_RESOURCE_DIR := $(package_resource_overlays) $(LOCAL_RESOURCE_DIR) 23 | 24 | LOCAL_PROGUARD_ENABLED := disabled 25 | LOCAL_DEX_PREOPT := false 26 | 27 | include frameworks/base/packages/SettingsLib/common.mk 28 | 29 | include $(BUILD_PACKAGE) 30 | 31 | include $(call all-makefiles-under,$(LOCAL_PATH)) 32 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/action_presets.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/action_reset.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_color.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_dirac.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_doze.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_flip.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_headphones.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_mi.xml: -------------------------------------------------------------------------------- 1 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_preset.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_speaker_cleaner_icon.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 11 | 14 | 15 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/ic_usb_fastcharge.xml: -------------------------------------------------------------------------------- 1 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /XiaomiParts/res/drawable/preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinket-devs/device_xiaomi_ginkgo/cd6d62c4c897c302a5a980d37ba0f6c5fc0a71d5/XiaomiParts/res/drawable/preview.jpg -------------------------------------------------------------------------------- /XiaomiParts/res/layout/activity_kcal.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 18 | 19 | -------------------------------------------------------------------------------- /XiaomiParts/res/menu/menu_reset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /XiaomiParts/res/raw/clear_speaker_sound.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinket-devs/device_xiaomi_ginkgo/cd6d62c4c897c302a5a980d37ba0f6c5fc0a71d5/XiaomiParts/res/raw/clear_speaker_sound.mp3 -------------------------------------------------------------------------------- /XiaomiParts/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /XiaomiParts/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | #FF6700 18 | 19 | -------------------------------------------------------------------------------- /XiaomiParts/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 20 | 21 |