Commit Graph

262 Commits

Author SHA1 Message Date
Volodymyr Zhdanov
9aec82a371 sm6375-common: org.ifaa.android.manager: switch to blueprint
* otherwise rip boot jars

Change-Id: Iea769fb4d3e07202b5477d2a86e40dd04170a053
2022-09-04 12:59:46 +00:00
notsyncing
c7d980c87b sm6375-common: Add IIFAAService for Alipay fingerprint payment
* The org.ifaa.android.manager.IIFAAService has been moved
    from the SoterService.apk to MIUI framework, at least
    since MIUI 9.4.26. Adding this interface will fix the
    SoterService crashing when launching Alipay.

Change-Id: Ic97467eb0a8fe92b49e0edbedd56f1866c5fa01e
2022-09-04 12:59:46 +00:00
dianlujitao
98d44d5d8b sm6375-common: Support Alipay and WeChat fingerprint payment
* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay
   interface.

Change-Id: Ied17d6456561bb399e4dd4a868d57a48d2d51db2
2022-09-04 12:59:45 +00:00
Erfan Abdi
ac20091f7d sm6375-common: sepolicy: Add mlipay rules
Change-Id: I1023e481d49ed5ec0ae15a513c65133987d6f556
2022-09-04 12:59:44 +00:00
luk1337
0311ca16ef sm6375-common: Don't override fingerprint in recovery
- Incremental ota checks for build fingerprint

Signed-off-by: althafvly <althafvly@gmail.com>
Change-Id: Ice245ffcedac03dceb2e77b69a35e3f2ab659d06
2022-09-04 12:59:43 +00:00
Ramii Ahmed
744fe6e329 sm6375-common: Override HAL service and enable with nfc SKU
Change-Id: I3c33c50b65410a09a0e5529f3c9a94fbf36d8a31
2022-09-04 12:59:43 +00:00
Sebastiano Barezzi
6a821ad6b4 sm6375-common: Override HAL service and enable with nfc SKU
Change-Id: I3c33c50b65410a09a0e5529f3c9a94fbf36d8a31
2022-09-04 12:59:42 +00:00
Sebastiano Barezzi
ebb0a73926 sm6375-common: Move NFC manifest entries to nfc SKU
Change-Id: I2d83a4551551f370c1ecffb73502c5bcec0bd5a9
2022-09-04 12:59:41 +00:00
Ramii Ahmed
4abebb1669 sm6375-common: initial SEPolicy
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: ItsVixano <giovanniricca@protonmail.com>
Change-Id: I2ab2e0b5981ec8044c22caa3ff41ba094ccadf38
2022-09-04 12:59:40 +00:00
Sebastiano Barezzi
7d6a66cd8a sm6375-common: Add a script to reorder blobs list
Change-Id: I76e85e07f5a562b7e2a3683da264ccebff5c3613
2022-09-04 12:59:40 +00:00
Sebastiano Barezzi
58c1b2b484 sm6375-common: Build android.hidl.base@1.0
Change-Id: I5457ebbadd95e4c43af4f4dd2e1a1413a241d865
2022-09-04 12:59:39 +00:00
Chirayu Desai
e8ffa63dda sm6375-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2022-09-04 12:59:38 +00:00
Ramii Ahmed
c8c02f0964 sm6375-common: build WFD packages
Change-Id: Id4e359e75ed70d0688bb234ce1b2bd39466d6a21
2022-09-04 12:59:37 +00:00
Arian
178997bfe1 sm6375-common: Add telephony system-ext privapp permissions
Change-Id: Iaaab0ff52cd22b3095b56501189d55a68cfdc32b
2022-09-04 12:59:37 +00:00
Pranav Vashi
274f86a7f4 sm6375-common: Enable vibration multiple intensities
* Activates some options on Settings>accessibility>vibration

Change-Id: I461f926060807c0d0cabaccf5fe0ea54b92b3347
2022-09-04 12:59:36 +00:00
Dan Pasanen
fa8dafb9e2 sm6375-common: vibration: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2022-09-04 12:59:35 +00:00
Ramii Ahmed
e0f56c8def sm6375-common: Import CarrierConfig from CAF
Change-Id: I8f7b71efa6efcc6a5829010a4dda00d43b190ca5
2022-09-04 12:59:34 +00:00
Ramii Ahmed
35b079eaec sm6375-common: Initial AOSP overlays
Change-Id: I89dfab269ca6284f51fa170470228b699eb5e759
2022-09-04 12:59:34 +00:00
Michael Bestas
0289426825 sm6375-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2022-09-04 12:59:33 +00:00
TheStrix
155ede9c85 sm6375-common: gps: Disable xtwifi location services
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Fri Jan 15 22:14:25 2021 +0200

    sm6375-common: Remove unused gps certificates

    * They are used by xtwifi-inet-agent which we disabled.

    Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8

Author: Arian <arian.kulmer@web.de>
Date:   Thu Apr 1 01:09:38 2021 +0200

    sm6375-common: Remove xtwfi-client and xtwifi-inet-agent

    Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2022-09-04 12:59:32 +00:00
dianlujitao
3920f753ed sm6375-common: Fix non-ASCII character in gps.conf
:caf:

Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
2022-09-04 12:59:31 +00:00
Arian
287a8379ba sm6375-common: Build GPS HAL from source and import proprietary configs
Configs from veux V13.0.10.0.RKCMIXM
slim_daemon is disabled in izat.conf, hence drop it.

Change-Id: Ia1ed33f6250b898d149970389befe8033cc8eaf3
2022-09-04 12:59:30 +00:00
Arian
21baf7e3a4 sm6375-common: Import gps hal from LA.UM.9.14.r1-16700-LAHAINA.0
Change-Id: I134d6418f1357a4d7ce37358481d6b765d93e1a5
2022-09-04 12:59:30 +00:00
Ramii Ahmed
c48579f6ad sm6375-common: add missing fingerprint extension entry to framework compatibility matrix
Change-Id: I70b054751f292305bcabc438d2c7d131c4964e63
2022-09-04 12:59:29 +00:00
Ramii Ahmed
956f4d6883 sm6375-common: Adjust Biometrics HIDL for Xiaomi SM6375
* rename all manifest, init & relative files
* adjust chown's & chmod's to fit holi's fingerprint devices

Change-Id: I409847c845620555b8a9b7035682c2f88f8a60a7
2022-09-04 12:59:28 +00:00
Ramii Ahmed
c819742d8c sm6375-common: Import Biometrics HIDL from Xiaomi SM8250
Change-Id: I6a49ac55c29f3ad688f2c6af494a89bda9e809b3
2022-09-04 12:59:27 +00:00
Akhil Narang
c619bb5fa4 sm6375-common: releasetools: flash vbmeta_system as well
Change-Id: I2ecbf573fc7fa14ed7abff615c5353934f56aaee
2022-09-04 12:59:27 +00:00
XiNGRZ
ee8a1e8ef2 sm6375-common: releasetools: Ship and update vbmeta image
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2022-09-04 12:59:26 +00:00
XiNGRZ
dd37cb27e2 sm6375-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2022-09-04 12:59:25 +00:00
Ramii Ahmed
778e90bf46 sm6375-common: define vendor security patch level
Change-Id: I3658b532826c3440c23c9b0797dbc634c493f201
2022-09-04 12:59:24 +00:00
Ramii Ahmed
9194250c07 sm6375-common: build servicetracker HIDL
Change-Id: I95ff25985705dfcd643379bb9f59e9f3dc41a574
2022-09-04 12:59:24 +00:00
Ramii Ahmed
9e85006452 sm6375-common: build Renderscript HIDL
Change-Id: I8347cb672d5040444b3a8e7e60dcdc10d72d30aa
2022-09-04 12:59:23 +00:00
Ethan Chen
18342ccb70 sm6375-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2022-09-04 12:59:22 +00:00
Danny Baumann
4614559be0 sm6375-common: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2022-09-04 12:59:21 +00:00
Ryan Mitchell
83c828a030 sm6375-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2022-09-04 12:59:21 +00:00
Sebastiano Barezzi
50ba62fab5 sm6375-common: Initial lineage-sdk overlays
* Define hardware keys and add fastbootd to advanced reboot

Change-Id: I9d2728eeeef5c72488824670d2a4c2bde5db7d51
2022-09-04 12:59:20 +00:00
Ramii Ahmed
cef224fbc4 sm6375-common: libinit: Adjust detection prop to better suite xiaomi sm6375 devices
* Xiaomi devices on SM6375 platform use ro.boot.board_id to identify different SKU's, let's mirror miui in that

Change-Id: I00dd84979db6066ad18bc36b619795de751925f8
2022-09-04 12:59:19 +00:00
Ramii Ahmed
b19e0e95ee sm6375-common: libinit: rebrand to holi
Change-Id: I70be4a95eaef57f74b98327b421fc5101bf5d831
2022-09-04 12:59:18 +00:00
Ramii Ahmed
cc76af20cd sm6375-common: import libinit from sm8250-common
Change-Id: I81041b8feef9d33cb09c1416965d648193f33159
2022-09-04 12:59:18 +00:00
Cosmin Tanislav
7000f58e34 sm6375-common: import bootctrl hal and gpt-utils
Change-Id: If4914a4bd12e709f660b2331ce5ca1252201063b
2022-09-04 12:59:16 +00:00
Ramii Ahmed
9de1ac7398 sm6375-common: build QTI thermal HIDL
Change-Id: I03fc9b0af5fafbb67eb4fb8ca779586e39773c04
2022-09-04 12:59:16 +00:00
Dan Pasanen
a9df1f9e4b sm6375-common: Reserve additional space on odm/product/system/system_ext/vendor
This is a squash of the following:

Author: Dan Pasanen <dan.pasanen@gmail.com>
Date:   Sat Oct 19 00:06:11 2019 -0500

    floral: Reserve additional space on system/product/vendor

    Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb

Author: Nolen Johnson <johnsonnolen@gmail.com>
Date:   Sun Aug 16 03:27:34 2020 +0530

    floral: Don't reserve space for gapps WITH_GMS

    Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sun Sep 6 14:51:31 2020 +0200

    floral: Don't limit system inode count when !WITH_GMS

    Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef

Author: Eamon Powell <eamonpowell@outlook.com>
Date:   Fri Jan 1 11:59:38 2021 +1100

    floral: Adjust reserved partition space

    * Increase reserved partition space for vendor and add reserved
      partition space for system_ext so both partitions can be
      written to, regardless of GMS presence.

    * Increase product reserved partition space so smaller addon
      packages that write to the product partition like MindTheGapps
      can be installed.

    * Increase the amount of available space on the system partition
      so the user can optionally choose to install other addon packages
      that write to the system partition such as OpenGapps.

    Change-Id: I8d3ecca3980d50621f960fd7dff22ba40f495fee

[SebaUbuntu] Always reserve at least 30MB on each partition

Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
2022-09-04 12:59:15 +00:00
Ramii Ahmed
0a64aae4b8 sm6375-common: import Wi-Fi overlays from stock
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: I6167eaa0d65a895a1f791a029c3e8b970e2983a0
2022-09-04 12:59:14 +00:00
Ramii Ahmed
a8c28bcf25 sm6375-common: import initial build properties
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: I7194afe20084f070040bc0a4eff8c7beea4fd259
2022-09-04 12:59:13 +00:00
Sebastiano Barezzi
a0194f0819 sm6375-common: Reboot to recovery if init fails
Change-Id: I1d8f38620caa7b003911ff30f69ed7973c100e6d
2022-09-04 12:59:13 +00:00
Sebastiano Barezzi
deb1479ea5 sm6375-common: Define recovery fstab
Change-Id: If6eeb10239ebe07decfed311d4f70661415c4a8e
2022-09-04 12:59:12 +00:00
Sebastiano Barezzi
cc5a5bc2ad sm6375-common: Remove wigig interface from wigig service
Change-Id: I58f725f1c9aff8dd09591f80e48e270298a93f13
2022-09-04 12:59:11 +00:00
David Ng
26004cfeff sm6375-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2022-09-04 12:59:10 +00:00
Albert I
4bf4a70353 sm6375-common: Create Adreno symlinks
Match stock behavior.

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Ia9271f360dcca3ffda9387fe969e27fa7507bd2b
2022-09-04 12:59:10 +00:00
Sebastiano Barezzi
ef1cd039bf sm6375-common: Setup wifi symlinks
Change-Id: I906965d90080dc61ae56df4b3ee3a3bb6182cabd
2022-09-04 12:59:09 +00:00