Commit Graph

1022 Commits

Author SHA1 Message Date
Sarthak Roy
db17f42555 sm6150-common: audio: Use DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE for earpiece speaker
Signed-off-by: Sarthak Roy <sarthakroy2002@gmail.com>
Change-Id: Ifbd54257d339b8e9b5fbcebf4b1fc1ef9104ae5e
[basamaryan: Import from android-14.0.0_r67 and guard it]
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
46bd645cd4 sm6150-common: audio/media: Conditionally bring in changes from sweet V14.0.9.0.TKFMIXM
Guarded with TARGET_USES_DOLBY

Change-Id: Ie8d215fa37a9258cfec5522360a4c0215c7d37b0
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Adithya R
cfc13a3311 sm6150-common: sepolicy: Allow system_server to read fastcharge node
* required for oem fast charger detection

Change-Id: Ide02d4a2161b4e0d023eba18626aebe8cd3e11f9
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
madmax7896
aef13ef6af sm6150-common: sepolicy: Import changes for Dolby Atmos
Change-Id: I6999d3a5c6edcf6f85ada7d0077149be639f814d
Signed-off-by: Mesquita <mesquita@aospa.co>
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Adithya R
90580e81c9 sm6150-common: Update XiaomiParts from sm8450-common
History:

commit ab1ba8cc8256c97c288d0aa31931643a8598b761
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Apr 14 19:57:23 2024 +0530

    sm6150-common: parts: Move dolby to hw/xiaomi

    Change-Id: Ie7ac39dfc4e69982cd43da019d434ba01f65c787

commit 9bc63a79e1d90af61fb758781040cd08c0de1b8f
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Apr 14 18:17:54 2024 +0530

    sm6150-common: parts: Get rid of proguard flags

    This is obsolete.

    Change-Id: I1b692d3e1a96c49ac6efd54907ea23c4b4494f7e

commit 0c64092cb978babffb776c0775e8c5090b3f17d7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Apr 14 18:06:04 2024 +0530

    sm6150-common: parts: Move to device encrypted storage

    Kill unnecessary explicit app version while we're at it.

    Change-Id: I678e3598b28b57e1920da584102d8c526ab452ef

commit 3bb69c1c22dee2d2d0f830c0da08d27b620030d2
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Thu Mar 21 21:35:36 2024 +0530

    sm6150-common: parts: Restore dolby profile on audio changes

    Something keeps resetting back at random times, from what I observed,
    after resuming media or on a device change, lets workaround that.

    Change-Id: Id065f2482636194655c2399f0c35ad56b8e7a29d

commit bf02a606ceff8b950fa3f9b28031b5078c098a6c
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Dec 31 20:36:52 2023 +0530

    sm6150-common: parts: Re-enable speaker virtualization after bootup

    For whatever reason, speaker virtualization isn't automatically
    restored at bootup unlike the other parameters. It was reported to be
    fixed by connecting and disconnecting headphones or disabling and
    enabling the toggle, so let's just automate that at bootup.

    Change-Id: I091ef403ec6fcdcc382c824b7a2e71e28301d684

commit 9bacc59d19250e4407dbd0509f55f0e902b13ba2
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Dec 10 14:49:23 2023 +0530

    sm6150-common: parts: Fix thermal profile screen state handling

    Change-Id: I7c85757e7ee5d1d44c86b5c32834281efa362f93

commit 1ef2c05cc91a6c5dcc8077b1021fe9d69d2c6028
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Tue Nov 7 08:12:46 2023 +0530

    sm6150-common: parts: Start services as early as possible on bootup

    BOOT_COMPLETED intent is broadcast only after the device is unlocked and
    user data (encrypted storage) is available. Use LOCKED_BOOT_COMPLETED
    intent for services that don't require accessing data.

    While we're at it, target latest SDK and uprev the package.

    Change-Id: I460c1612fd060655fde1f984ed5b025c575acb0e

commit f00f985207e60b911400bb4703d1b0f72d9f7a42
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Mon Nov 6 23:53:46 2023 +0530

    sm6150-common: parts: Yeet misound and clear speaker

    Change-Id: Ief9cb1e31ace1cd9505cea1607c917336c5ddf80

commit c1bc213b222a6c785598ed578481dc3fd8fd95e7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Mon Oct 16 06:44:06 2023 +0530

    sm6150-common: parts: Add toggle for Dolby volume leveler

    Change-Id: I63804773535f290d09724cfc8b1ee58f32ca89ab
    Signed-off-by: basamaryan <basam.aryan@gmail.com>

commit 75544a654056f8605c0777059dc921f463fd3195
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Thu Oct 12 19:30:05 2023 +0530

    sm6150-common: parts: Implement Dolby profile-specific settings

    Change-Id: I779c49bbb1d625628d8af55733e1f8c614cacbfa
    Signed-off-by: basamaryan <basam.aryan@gmail.com>

commit 1af07ceffa521bdc050599c66c4bf7eb3d7bd62e
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Mon Oct 9 21:58:58 2023 +0530

    sm6150-common: parts: Remove play/pause hack while toggling Dolby

    Not required with/fixed by:
    35217: audioflinger: Do not allow DAP effect to be suspended | https://gerrit.aospa.co/c/AOSPA/android_frameworks_av/+/35217

    Change-Id: I6264cb773b2577c627cfe5a4f52cea5c437ee796

commit c755f396f0bbba06f912ce6cc84a5841b17af7f8
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Tue Oct 10 08:04:31 2023 +0530

    sm6150-common: parts: Introduce more Dolby Atmos effects

    - Bass Enhancer
    - Dialogue Enhancer
    - Stereo Widening

    Change-Id: I9fccea5fd2c391a06af894ca0dad4e73d981bf6f
    Signed-off-by: basamaryan <basam.aryan@gmail.com>

commit a1161a70237183a300aa5eac087177bd640ee6ba
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Sep 13 21:44:46 2023 +0530

    sm6150-common: parts: Rename app to Xiaomi Parts

    This sounds less confusing than "Advanced settings".

    Change-Id: Ibb34a5a18534ec27563715a00ae452fc50edbaec

commit 041b170bf7f1e5baba717ebfe03c4bb05c087cb9
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Sep 13 21:41:20 2023 +0530

    sm6150-common: parts: Set proper summary for dolby settings

    Show the current status in Settings > Sound as well as the QS tile.

    Change-Id: I85226144494b82c2bf3359ca3831acfa6640a341

commit b41ebe250c7eb930bce616ef11205d3700c17449
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Sep 13 20:22:03 2023 +0530

    sm6150-common: parts: Override MusicFX and handle EQ intent

    Get rid of AOSP equalizer, no one uses it. Instead advertise our
    Dolby Atmos settings as the system-wide equalizer, allowing apps
    such as Spotify to open it directly.

    Change-Id: I4dc4a8d16b68181f5cd0e3d09430f3c4f7ce29e5

commit f027b9c6e09f82b47a5f65e23a138e03ff2bfe07
Author: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Date:   Fri Aug 25 10:26:53 2023 +0200

    sm6150-common: parts: Always refresh playback if status changed

     * otherwise dolby would stay active even if you disable its setting

    Change-Id: If59d8081fa12da2aa67e5149db97965c0805d76e

commit 8a346a31ed0f39aa87beff9ba41bf1fd09c6e6f4
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Mon Aug 21 13:21:18 2023 +0530

    sm6150-common: parts: Introduce Dolby Atmos

    Based on existing dirac implementation and observing stock
    sound effects app and daxservice.

    Thanks to jhenrique09 for the hack from old dirac parts
    "Pause/play music stream to get effects applied".

    TODO: bring back misound (same as stock)

    Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
    Change-Id: I528a8c90defe336dcb79fa1c31d3d52b9d39fe14
    Signed-off-by: basamaryan <basam.aryan@gmail.com>

commit 13e03eaa6a9de6b5b55eb6081e166db403a5b09a
Author: Jyotiraditya Panda <jyotiraditya@aospa.co>
Date:   Sat Jun 3 23:38:59 2023 +0530

    sm6150-common: parts: Refactor ClearSpeakerFragment code

     - Removed unused imports
     - Proper resource release by using try-finally block
     - Added null checks for MediaPlayer methods
     - Remove audio parameter as its unused

    Change-Id: I7dc2ba7baf6e0193e13583a7454da296254d7333
    Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

commit 7023c6cec6b5717c9449f09a8f2435eba1b42048
Author: someone5678 <nemui3353@gmail.com>
Date:   Tue Jan 11 03:23:15 2022 +0900

    sm6150-common: parts: Add {navigation,video} thermal profiles

    * icon taken from https://fonts.google.com

    Change-Id: Ica3ced4d6fd79ff048f20469d4c4d2082e17ee7b
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

    commit 7c60b8549487bf12a04628e85213b96d0c705c40
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Fri, 31 Dec 2021 12:29:01 +0530
        lisa: parts: Cleanup and adapt for lisa

         * move to system_ext
         * remove lcd features (we have amoled)
         * remove thermal profiles for now until we
           rework it to use touchfeature

    commit 7e2b229e82988faa9c703020dad6e78d5140860f
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sat, 14 May 2022 19:32:41 +0530

        lisa: parts: Enable back thermal settings and service

commit be0b6a7c6582de694b583eee4a52c8377af80c1a
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun May 15 14:02:06 2022 +0530

    sm6150-common: sepolicy: Allow system_app to write thermal sysfs

     * required for xiaomi parts thermal profiles

    Change-Id: I10c14088b591720801b51e412a8c666ebc53e31e

commit 36f226ecc3497437e00c4edbd5679e9dc76bad25
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Thu Oct 13 23:25:05 2022 +0530

    sm6150-common: parts: Use S theme in thermal settings

    The new spinner theme in T (v33) is too large.
    Ref: da5db6f9db

    Change-Id: I6ae59548e1fb417ea681158df844bcd17ef8bf56

commit b717f60b9abf701b1e30c3541ee2a169431448be
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Thu Oct 13 12:06:35 2022 +0530

    sm6150-common: parts: Restore MiSound scene on boot complete

    This seems to be necessary only for scene (and not
    other parameters).

    Change-Id: I8bc3f2bd280174a3628dc2458ff969d66c1e79b3

commit 2c378805e55571fa85742e9ba3ae8a06c23eef12
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sat Jul 23 01:29:10 2022 +0530

    sm6150-common: parts: Open settings on QS tile long press

    Since we have only one QS tile, being MiSound, open
    its settings activity on long presing the tile, instead
    of the default behavior of opening app info.

    Change-Id: Ie3b3444a975a471c2d3ee83eac9347d028521c18

commit 98116844a386fa8828ea8d38eb587734c8b35eb1
Author: Lostark13 <tushar9915@gmail.com>
Date:   Sat Mar 19 21:00:00 2022 +0300

    sm6150-common: parts: Update MiSound headset types

    From lisa V13.0.4.0.SKOMIXM

    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Change-Id: I59e24d429b948dcf5a57449e4f58fc8db58d7627

commit 9899e5be5aaee7053d8aec545e4788e79711b2cd
Author: Lostark13 <tushar9915@gmail.com>
Date:   Sat Mar 19 19:20:57 2022 +0300

    sm6150-common: parts: Add support for MiSound scenes

    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Change-Id: I7a21568dd7fa1bbfe0974e27bb75e570c80e5bd4

commit d34360fa915270019999c9c0942aefce631937d7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Jun 29 16:16:58 2022 +0530

    sm6150-common: parts: Avoid unsafe boot completed receiver

    Ref: https://stackoverflow.com/questions/52628780/how-to-fix-unsafeprotectedbroadcastreceiver
    Reported-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Change-Id: Ib3d72640eca4eda9277ad5fd1181881f2171bcfc

commit 93e16fef831662e60eb020ed6852bd69c433baf5
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun May 15 13:59:56 2022 +0530

    sm6150-common: parts: Sync thermal states with sdm845-common

    https: //github.com/LineageOS/android_device_xiaomi_sdm845-common/blob/lineage-19.1/parts/src/org/lineageos/settings/thermal/ThermalUtils.java#L35
    Change-Id: I21f861dd8d689ce36fcabc6af2cd425b381246a2

commit cbfd42c83606e96905d22ae7337225be9099dcc7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sat May 14 19:58:54 2022 +0530

    sm6150-common: parts: Remove per-app touchscreen settings

    Our touchscreen driver uses only xiaomi_touch ioctl
    for configuring touch (gaming) parameters. Until we
    add xiaomi touchfeature or convert it to sysfs, lets
    not use touch profiles for now.

    Change-Id: I6a71b14c95e555b43d71e58a8f6580288e3f2540

commit 4ef9c7bdd8340ad9058db549714351d1d5d2425c
Author: Nauval Rizky <enuma.alrizky@gmail.com>
Date:   Thu Nov 18 00:39:28 2021 +0700

    sm6150-common: parts: Improve thermal profiles and touch settings

    * Migrate from ListView to RecyclerView for better integration with the
      collapsing toolbar and smoother scrolling
    * Move touch settings to its own activity
    * Several UX improvement over the items layout

    Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
    Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
    Change-Id: I7d843c917b49fe9159dfe89bb38f7bbfed9db48c
    Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

commit 700e79ec79308c3f73283dc7497b271321dbcbb7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sat Nov 6 19:46:04 2021 +0530

    sm6150-common: parts: Update and polish vector drawables

    Thanks to WSTxda for these icons

    Co-authored-by: WSTxda <wstxda@gmail.com>
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Change-Id: I89b6935ee8e8afd3da0cbbd971b9941aebd935a5

commit 9a64cf52118a2a8bbb6270a8d175dc8640f02480
Author: Volodymyr Zhdanov <wight554@gmail.com>
Date:   Wed Oct 20 18:04:39 2021 +0300

    surya: parts: Fix Clear Speaker IllegalStateException

    * trace:
      E AndroidRuntime: java.lang.IllegalStateException
      E AndroidRuntime:     at android.media.MediaPlayer._stop(Native Method)
      E AndroidRuntime:     at android.media.MediaPlayer.stop(MediaPlayer.java:1397)

    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

commit 76a573a110e4022b0f7a24b499ac782a9f160244
Author: TheScarastic <warabhishek@gmail.com>
Date:   Wed Oct 6 07:25:13 2021 +0000

    surya: parts: Adapt UI to Android 12 style

     * Use Theme.SubSettingsBase for theme
     * Replace PreferenceActivity with CollapsingToolbarBaseActivity
     * Add Titles to prefernce screen
     * Remove onOptionsItemSelected and where neccessary move to activity

    [ghostrider-reborn]
     * Adapt to our XiaomiParts (surya)

    Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

commit 9920fd5ff04c393d138b5a04c92d20153050e651
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Oct 31 14:43:19 2021 +0530

    surya: Initial Android 12 bringup

commit ee07247b649074048be64a69928c06c3a7cb0e0b
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sat Sep 4 00:34:25 2021 +0530

    surya: parts: Update CABC icon from WSTxda

    Credits: https://t.me/WSTxda

commit bcf02911748ca8ae09b1e0386b51fa74bce3cbac
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Sep 1 00:28:46 2021 +0530

    surya: parts: Improve thermal profiles strings

commit cad45a279775d988fc3ac9aba6a95d932a52694c
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Aug 18 15:02:38 2021 +0530

    surya: parts: Improve game mode and ditch touchfeature

     * nvt driver exports procfs nodes for all these touch
       controls, so there's no need of xiaomi's touchfeature bs

commit 18291cc124d449881b399f8ad1b506905682f3f8
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Aug 18 12:43:50 2021 +0530

    Revert "surya: parts: Remove touchscreen/gaming profiles"

    This reverts commit 6db0f6f6b7cb061a5888816865e3307251028d08.

commit 8ea6cb25efad3c399dd81e5e1660cfe19a3e5996
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Aug 15 21:56:27 2021 +0530

    surya: parts: Add support for LCD HBM and CABC

     * write preferences and qs tiles
     * kang icons from realmeparts
     * enable cabc by default
     * address sepolicy denials

    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

commit be56fe58fd2e70ec509adc71eac0514d5e0188c3
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sat Jun 12 15:03:03 2021 +0530

    surya: parts: Add headphones warning for clear speaker

commit b1fe10a4a155b8ac7d875ed50be8ded8da3cdec0
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sat Jun 12 15:02:54 2021 +0530

    surya: parts: Update clear speaker audio from MIUI 12

commit 6db0f6f6b7cb061a5888816865e3307251028d08
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Tue Mar 9 18:43:07 2021 +0530

    surya: parts: Remove touchscreen/gaming profiles

     * we don't use touchfeature hal atm

commit 82f9fca1c04da1e90e374912bcb899ba7da4e6f1
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Tue Mar 9 18:39:39 2021 +0530

    surya: parts: Remove refresh rate settings

     * we use dynamic refresh rate + aosp's way of setting min refresh rate

commit 2aaeb47b454a7e8d783a919f3d564f92e3e2789c
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Tue Mar 9 18:33:34 2021 +0530

    surya: parts: Remove ambient display settings

     * we use Paranoid Doze

commit cfc4d0b82266381cc6c5e7441ff4330bac8061a7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Tue Mar 9 18:31:36 2021 +0530

    surya: Import XiaomiParts from previous device tree

    History:

    commit e869b7dd467f1f6c90dfda6b446c15fb8b78b29b
    Author: Akhil Narang <me@akhilnarang.dev>
    Date:   Thu Apr 2 01:01:09 2020 +0530

        devicesettings: refactor to XiaomiParts, update package name

          * org.lineageos.settings.device -> org.lineageos.settings

        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit be555a7d78a54ebae26fb245b3f4a3a6dec4831a
    Author: Joey <joey@lineageos.org>
    Date:   Fri Dec 28 11:33:30 2018 +0100

        phoenix: parts: Introduce Dirac preferences

        Add a frontend for Dirac sound optimization settings.
        Inject into sound preferences through settings IA.

        Change-Id: I37f6e64fa440c43dbe238cc65af5f9b0bbd60d83
        Signed-off-by: Joey <joey@lineageos.org>
        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 75e3df970f85ff64c70413e2c07f540cef6c2e2b
    Author: TheScarastic <warabhishek@gmail.com>
    Date:   Fri Dec 28 15:13:24 2018 -0500

        phoenix: parts: Add DiracSound backend

        Special thanks to vasishath for his base work on mi3

        Change-Id: Id81e60a18dc34c991b82a5a2685c9041222a6ea7
        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 544422c55f632ed6c400f09a60cc0ba3dc83b9c9
    Author: TheScarastic <warabhishek@gmail.com>
    Date:   Fri Aug 30 19:00:39 2019 +0530

        phoenix: Add support for hifi

        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 39b99cf62950324666b3739ac3c77c78b95fad2d
    Author: Bruno Martins <bgcngm@gmail.com>
    Date:   Tue Jul 9 22:31:00 2019 +0100

        phoenix: parts: dirac: Migrate to androidx

        Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 6c8964e163b32b8c2c4e42bbf95f6ee7cbd067bf
    Author: Bruno Martins <bgcngm@gmail.com>
    Date:   Mon Sep 2 10:15:57 2019 +0100

        phoenix: parts: Clean up proguard flags

        Change-Id: If0250fb629417d36c2af7286bc0620e682c4576e
        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 7232a6a9d3fd9c1c248812e3f3a8409d7c82bcf7
    Author: TheScarastic <warabhishek@gmail.com>
    Date:   Fri Oct 4 12:20:49 2019 +0530

        phoenix: Dont restore values on boot

        * Dirac libs are smart enough to store these values on power-off
          and restore them on boot.

        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 081aee912efd5c6cde459cfdafbd625087948f34
    Author: TheScarastic <warabhishek@gmail.com>
    Date:   Sat Oct 12 17:52:34 2019 +0530

        phoenix: Inject doze preference through ia

        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 737c9f7e6543e1f8556f14643158995b100a9c7d
    Author: Akhil Narang <me@akhilnarang.dev>
    Date:   Thu Apr 2 01:18:53 2020 +0530

        phoenix: parts: move cutout and refresh rate settings to display settings

        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 5e7b544adcafc470a18dd0666162ec0758ab2f54
    Author: TheScarastic <warabhishek@gmail.com>
    Date:   Sat May 9 08:23:43 2020 +0000

        phoenix: Add dynamic thermal profile implementation

        Also add in FileUtils

        Change-Id: I4667b24a8a29a418796dc51b245ede0aca51eea6
        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 682065a64cee408252f42e3cda516e40adb40876
    Author: Akhil Narang <me@akhilnarang.dev>
    Date:   Wed May 13 13:04:59 2020 +0530

        phoenix: parts: drop support for browser and youtube thermal modes

          * phoenix doesn't seem to support these

        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 2ff56c485635a998de89bede3b1460be8ea8cf7a
    Author: Akhil Narang <me@akhilnarang.dev>
    Date:   Fri Jul 31 11:53:31 2020 +0530

        phoenix: parts: fix refresh rate switching

          * Added in a 90hz option - used SurfaceFlinger for this
            (All credits to DD3Boh for the `RefreshRateUtils.setFPS()` method)

          * Thanks to Abhishek for helping with fixing the BootCompletedReceiver

          * Also formatted code in android studio

        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 3e798e7a83037f933dde98591e7a64aec7ee582e
    Author: Pranav Vashi <neobuddy89@gmail.com>
    Date:   Thu May 21 21:57:18 2020 +0530

        phoenix: Set dynamic thermal interval to 5 sec

        Change-Id: I96a67297645ad9074045e94fce84e664723aa64c
        Signed-off-by: Akhil Narang <me@akhilnarang.dev>

    commit 2f037d2bfeebde57f4edde70d84e8b41e944fc0e
    Author: xyyx <xyyx@mail.ru>
    Date:   Fri Oct 9 09:43:53 2020 +0300

        surya: parts: Fix refresh rate values

        Thanks to akhilnarang for testing commands

        Signed-off-by: Tushar Mahajan <mahajant99@gmail.com>

    commit 5487ea615ea362a81d228156ef947c38d9f12890
    Author: Thomas Shum <jabashque@gmail.com>
    Date:   Tue Feb 25 11:06:43 2020 +0000

        surya: Set config_deviceLightCapabilities
        Signed-off-by: officialyash007 <officialyash007@gmail.com>

    commit 50a0b3a2ea4c54b65bbcc59d35c53548774688f8
    Author: Pranav Vashi <neobuddy89@gmail.com>
    Date:   Thu May 21 23:43:29 2020 +0530

        surya: parts: Add switchbar to disable dynamic thermal

        * Disabled by default since all profile are set to 0 by default.

        included  Switch back to default thermal profile when screen off

        Signed-off-by: Tushar Mahajan <mahajant99@gmail.com>

    commit ac6c96ab4b0cbc3d18e7ae7b7703bbbf11a48c8b
    Author: TheScarastic <warabhishek@gmail.com>
    Date:   Tue Oct 20 09:26:33 2020 +0000

        surya: parts: Switch to TaskStackListener

        Signed-off-by: Tushar Mahajan <mahajant99@gmail.com>

    commit cbb83782d5d927b770bb20d4240b6ee3762e6937
    Author: xyyx <xyyx@mail.ru>
    Date:   Tue Oct 20 14:06:01 2020 +0300

        surya: parts: Add a toggle to hide stock cutout

         * replacing existing toggle of pill-style notch

        [filtered from 6107871097]
        Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

    commit e190f574409155b4d2d966f7d75eb8ba570768e2
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sat Jan 2 13:49:54 2021 +0530

        surya: parts: Remove device restart toast from cutout toggle

         * overlays apply immediately, there's no need for a reboot

    commit 7ad716a67e7f7f874ad5e96e4e6a62687e300992
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sat Jan 2 14:41:20 2021 +0530

        surya: parts: Remove hifi toggle from dirac

         * we don't support it

        This reverts commit 544422c55f632ed6c400f09a60cc0ba3dc83b9c9.

    commit 3620a90cb29f8b3403d6c27b20ebc48865653c42
    Author: arian <arian.kulmer@web.de>
    Date:   Sat Dec 15 15:55:55 2018 +0100

        surya: parts: Add icons to doze menu

        Change-Id: Ibbb18065f97ed6f8f5376752495255aeafe1db82

    commit 2becd16056a5ed0731ddd5f6bb5ac5006930b685
    Author: Arian <arian.kulmer@web.de>
    Date:   Wed Oct 14 23:06:47 2020 +0200

        surya: parts: Allow to wake the screen instead of pulsing

        Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
        Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
        Change-Id: I1e74f8eafa51843e77d2d8c514c646a4494327cd

    commit b6fb8d5ce66fb227dc6c7d22fc97c21b45159a56
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sat Jan 2 16:11:54 2021 +0530

        surya: parts: Bring back proximity sensor doze setttings

    commit 37f8097538d092879377216bd96ffc2e5bee2ed2
    Author: Jyotiraditya <jyotiraditya@aospa.co>
    Date:   Wed Jun 24 13:07:55 2020 +0200

        surya: parts: Implement Clear Speaker

        Co-authored-by: Adithya R <radithya2002@gmail.com>
        Signed-off-by: Jyotiraditya <jyotiraditya@aospa.co>
        Change-Id: I23b8ebd106502e083b6feec9b58efd76e49d3367

    commit 2ab1729921024b31e82e171d6cff5aa0432d97f4
    Author: AshutoshSundresh <ashutoshsundresh@gmail.com>
    Date:   Tue Aug 11 19:39:00 2020 +0200

        surya: parts: Add icon for Clear Speaker

        * Source: d9d25ff406

        Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

    commit c8225710b76671ec18088197e4adb9cbd821b079
    Author: Henrique Silva <jhenrique09.mcz@hotmail.com>
    Date:   Wed Jan 16 18:35:48 2019 -0200

        surya: parts: Add summary for dirac

        Change-Id: Icf1f2a5e5aadc7515b5a948b0918d9958aab0f2f

    commit 5b7c2faa82dde494b331b14b50aeed50497c500b
    Author: Henrique Silva <jhenrique09.mcz@hotmail.com>
    Date:   Wed Jan 16 18:51:22 2019 -0200

        surya: parts: Refactor dirac strings

        * From MIUI

        Change-Id: I1caab62ffe441bd9bdb18b429849466d868033dc

    commit e289ccc01f0e7d43522c33eedd39772807184dd4
    Author: Henrique Silva <jhenrique09.mcz@hotmail.com>
    Date:   Wed Jan 16 20:06:11 2019 -0200

        surya: parts: Import dirac translations from MIUI

        Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
        Change-Id: I00e015f67d9a01391768a0d07605aea0f6a36765

    commit c9360ecca62f61306be6f41f6bece4de7ab1b44f
    Author: arian <arian.kulmer@web.de>
    Date:   Sat Dec 15 15:55:55 2018 +0530

        surya: parts: Add vector icons to dirac

        * from https://materialdesignicons.com/ with small changes

        Change-Id: I8eacd97a569ec1a9bcf861ef3bd72c809b611089

    commit 43667c3ca8acf72a5a4bcbe071ba9707f8753f9c
    Author: HarukeyUA <inazarrusnak@gmail.com>
    Date:   Fri Mar 15 18:28:02 2019 +0200

        surya: parts: Add dirac QS tile

        Change-Id: I31759219fc25c8473d52d755eb98f21f5894f691
        Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

    commit d597caa99ea756acecb55245cc85a788ea205da4
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sun Jan 3 02:48:48 2021 +0530

        surya: parts: Increase BootCompletedReceiver priority

         * set the priority to SYSTEM_HIGH_PRIORITY to match other system services
           so our settings are restored faster on bootup

         * also cleanup BootCompletedReceiver while at it

    commit 5a99e271ffe8a1f5d617ea429e03894237d7fe4d
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sat Jan 2 16:57:24 2021 +0530

        surya: Switch to 90Hz refresh rate by default

         * a sweet spot between 60Hz (battery life) and 120Hz (smoothness)

    commit 443a85200ea670ed9b65ea0fb3928d5f99d30b5a
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Mon Jan 4 20:24:38 2021 +0530

        surya: parts: Add a summary to ambient display

         * "Advanced settings"

    commit 52b70d82fae55aa0db8f66fd05c250107dab2065
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Tue Jan 5 17:12:03 2021 +0530

        surya: Implement proper notch masking to hide camera cutout

         * this shrinks the display till the area below the notch when
           the toggle is activated, like in MIUI

         * refactor the toggle to show "Hide camera cutout" instead of
           "Use camera cutout"

         * also bring back the toast prompting to reboot, since systemui
           is in a somewhat unstable state after disabling cutout

    commit d3e2d40c5158bfe36c291d2e76e30c29c63e341a
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Tue Jan 12 21:15:30 2021 +0530

        surya: parts: Move thermal profiles to system settings

         * let's not pollute our beautiful battery settings menu

    commit dda07409f7bcca41c8582ce806ecf551226b0b9c
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sat Jan 16 20:13:15 2021 +0530

        surya: parts: Display icon beside thermal profiles

    commit c52d991e4db4313a97a09694d6414cb49d6cd934
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Tue Jan 19 16:34:55 2021 +0530

        surya: parts: Implement auto-lowering refresh rate on battery saver

    commit f8ace799189a5642fd5b9e5a5d2c19848768c18f
    Author: Bruno Martins <bgcngm@gmail.com>
    Date:   Sat Jan 18 19:04:13 2020 +0000

        surya: parts: Fix dark theme issues

        This brings SwitchBar widget inline with 10 and fixes the
        theme issues when the dark mode is enabled.

        Change-Id: I6909b77bc649eb9eb760bf01b46f66570363e9d9
        Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

    commit aecbdebae5059890eb7d2d92c78eb1d1a3398bce
    Author: Bruno Martins <bgcngm@gmail.com>
    Date:   Sat May 16 12:10:14 2020 +0100

        surya: parts: Prevent NPE before DiracSound is initialized

        There can be an edge case where the BOOT_COMPLETED intent is not
        yet received and user tries to open Dirac sound settings. Avoid
        letting it crash by making sure init is executed before showing the
        preference screen.

        Change-Id: I77e6bdd0c61994338f0dbbce4bfa532d84b8afb7

    commit c2b435ddedd4e7999ca2c07257b4e60cb34ac1f2
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sun Jan 24 14:13:23 2021 +0530

        surya: parts: Remove switchbar from dynamic thermal

        This partially reverts commit 50a0b3a2ea4c54b65bbcc59d35c53548774688f8.

    commit 8decedb02bff5af1132c67b515c7caf06ff68f27
    Author: TheScarastic <warabhishek@gmail.com>
    Date:   Tue Oct 20 18:21:03 2020 +0000

        surya: parts: Add touch profiles for gaming and benchmarking

        Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

    commit b7f71a25e0d9c12dd184dd1a56302df9f8bcf5cc
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sun Jan 24 15:33:56 2021 +0530

        surya: parts: Adapt gaming profiles for our device

    commit e38a388c2e710dde58603bbe94d6e1dbfa1a21b6
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sun Jan 31 16:46:03 2021 +0530

        surya: parts: Add ACTION_SCREEN_ON intent filter

         * this should fix thermal/touchscreen profiles not
           getting restored after turning screen back on

    commit 9b8cab5982e291d0e116cc4139bcc9b52a9a77e7
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sun Jan 31 17:12:06 2021 +0530

        surya: parts: Improve strings for game mode

    commit 06f75cad29dc704a8ce9fc2d7fd02d9275f449f6
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Fri Feb 12 19:47:12 2021 +0530

        surya: parts: Reduce thermal profiles summary length

    commit 11f468131d4c907142c8462c26a07ba325e602a5
    Author: Kuba Wojciechowski <nullbytepl@gmail.com>
    Date:   Fri Feb 12 21:10:28 2021 +0300

        surya: parts: Introduce LOCKED_BOOT_COMPLETED handler

        * sets the fps a little earlier, providing better ux in some cases
        * note: fps doesn't actually get set until screen is power cycled, I
          believe this is a bug with our prebuilt display stack (hwc?)

        Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>

    commit 85b0ed765f43dab75eaa38c3e808047c96126d72
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Fri Feb 12 22:44:29 2021 +0530

        surya: parts: Introduce Refresh Rate QS tile

         * icon kanged from 9dd04b5791 (diff-004f2aace6a940c83c59f0a9311ad0e929b6f0c24cd4ec8049c8c71b42dca70f)

    commit 0768837459db74dcf4b09b16f5c3d6070ec27105
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Sun Feb 14 00:13:57 2021 +0530

        surya: parts: Update dirac QS tile title

    commit 40bce77b65b5b088e7f3bbc984d1beee81dd0453
    Author: Anushek <anushekprasal@gmail.com>
    Date:   Fri May 24 09:31:12 2019 +0000

        surya: parts: Update dirac QS tile icon

        Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

    commit aa03d0af1fc9c9810231f414c5f4a727678e5e9c
    Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date:   Thu Feb 18 22:44:26 2021 +0530

        surya: parts: Use headphones icon for dirac QS tile

         * looks far better than the current "D" icon introduced in
           40bce77b65b5b088e7f3bbc984d1beee81dd0453

    commit 47ce0a7237bebed46bf0165250eba7814657c8e0
    Author: Kuba Wojciechowski <nullbytepl@gmail.com>
    Date:   Thu Feb 4 11:07:21 2021 +0300

        surya: parts: Get rid of cutout settings

        * it doesn't work that great and it should be provided by the system, if desired

        Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
        Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

Change-Id: I7dc832e725442c4be50ebd84fbdfc11fb4d6589d
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
18f0fdc582 sm6150-common: Enable anti_flicker by default
Change-Id: Ifc93157308f57ca0062f61347d158ebc96db912b
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
vantoman
8470910084 sm6150-common: livedisplay: Rename AntiFlicker node
Change-Id: I563b4de02ae41755d707da84bc1bbf937228b68c
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
timocapa
4adb3b01a4 sm6150-common: fstab: Fix fsmgr flag for F2FS Compression
- Without this, F2FS Compression would not work as this flag will be passed to recovery at format-time.

Change-Id: I29082d680320cebda6d3c1457318555bb33ba1b7
Signed-off-by: timocapa <timo.capa@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Panchajanya1999
1a9e79d0ad sm6150-common: fstab: Support F2FS compressions and garbage collector
Partially based on Pixel 6 fstab[1] and personal
recommendations.
F2FS Compression requires kernel support too.

[1]: https://android.googlesource.com/device/google/gs101/+/refs/heads/android12-d1-s4-release/conf/fstab.gs101#20

Change-Id: I319fa4033911e89160308535b626c978d7269805
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
John Galt
4e93188399 sm6150-common: Switch to LZ4 for EROFS
lz4hc has a higher compression ratio, but extends build time significantly
for no decompress gains. Additionally, testing on sm8150 + lz4 1.9.4
showed larger decompress gains on lz4 than lz4hc despite the hair-splitting
results on v1.9.0.

Change-Id: Icb38aea5f8116dbf316e8cff440994c4c76aeb59
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Cyber Knight
0a9c1409ef sm6150-common: Bump EROFS PCluster Size
- This sets the maximum "pcluster", or variable length block size, to 262144 bytes.
- The number must be a multiple of 4096.

- The description above was cited from [1].

[1]: https://source.android.com/docs/core/architecture/kernel/erofs#compression_tuning

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Change-Id: I9f07773fe0e3df88190a0ec2a3b4e82cd997914e
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
John Galt
dd9abe08a1 sm6150-common: Set EROFS pcluster size
- Used on cuttlefish as part of erofs switch. Benefits performance considerably..

Change-Id: I5b7aab7c479704aa7e23a2186ee43957c5cef6f0
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Cyber Knight
0a1cc039d8 sm6150-common: Mount EROFS at init for /system
- We don't use EXT4 for /system anymore hence let's mount it appropriately.

Change-Id: Ida90e4be8e36ca5778a4ca7d483ca3586b1f95e3
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Cyber Knight
5f8ce774dd sm6150-common: Switch to EROFS for relevant partitions
- EROFS offers much more compressed partition sizes compared to the likes of ext4 albeit being read-only.
- We have switched to EROFS for /system, /system_ext, /product, /odm and /vendor.
- This patch was inspired by [1].

[1]: 2b52a00408

Change-Id: I438f6b88ede93fe7e5d581439ba630b5c5440a48
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Ujjwal Kirorimal
03bc03875e sm6150-common: overlay: Disable Adaptive Connectivity preference
Change-Id: I7274588c29cfd0078c168b7b7d9d36ef935e6bd0
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
quic_swarbu
ce13d43f20 sm6150-common: display: Disable the property debug.sf.enable_gl_backpressure
Change-Id: Ib328ee094d7c164b50007703ab7610661c2ec017
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Adithya R
4d23c0af8a sm6150-common: Drop soundtrigger HIDL impl
* breaks google voice match with pixelpropsutils as
   we don't have hotword enrollment support

Change-Id: I213626f9729e5ff47ce7e6c990d605ed669b97e3
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
215025ef4d sm6150-common: sepolicy: Allow vendor_fp_prop to be modified
Change-Id: I48e0d1a885ac62886b1e622ce68598270044ef84
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Arian
d61cf161d9 sm6150-common: Enable camera override format from reserved
This enables qcom additions for high framerate videos.

Change-Id: I572d35c6454711e838b2d0dba31551627d10f6e6
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
eb4cef57ab sm6150-common: Update public libraries from sweet V14.0.9.0.TKFMIXM
* Retain changes made in 3476ddfcaf and fe82d2824b

Change-Id: Ic94896b9d16918bd318a9807701267cc617bfc06
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
9146d14b32
sm6150-common: overlay-lineage: Disable turbulence noise
Change-Id: I390163d0197e0cb7091b8e5df77337a42cba2efb
2024-10-19 13:35:28 -04:00
basamaryan
3df5cd506c
sm6150-common: Commonize sepolicy
Taken from davinci, courbet, surya, sweet, and sweet2

Change-Id: Ie9bd3354d42a36e88004ee77343e0da5397a0eba
2024-10-15 13:25:09 -04:00
Sebastiano Barezzi
46002331ca
sm6150-common: udfps: s/hander/handler
Change-Id: I49726102bf33d54a29f2aae1bea707c9a55694b2
2024-10-15 13:24:47 -04:00
danielml
295458ae00
sm6150-common: Skip building unneeded libraries
Change-Id: I0a34776c3354e37c6ae3d2b9eca9150d902b99fc
Signed-off-by: danielml <daniel@danielml.dev>
2024-10-15 13:23:42 -04:00
Cosmin Tanislav
aaae514afd
sm6150-common: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-10-15 13:23:42 -04:00
Michael Bestas
fc064f59fb
sm6150-common: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-10-15 13:23:42 -04:00
Michael Bestas
d0f51f4e2b
sm6150-common: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-10-15 13:20:16 -04:00
Cosmin Tanislav
26e5c87d2b
sm6150-common: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-09-25 16:58:34 -04:00
Michael Bestas
74074360ac
sm6150-common: fix vendor.qti.hardware.fm@1.0 ELF checks
Change-Id: I43f0824f88c24dd9d039f9075090c17f4266ab2d
2024-09-25 16:58:34 -04:00
Cosmin Tanislav
8fe6a097e5
sm6150-common: Fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-09-25 16:58:34 -04:00
Cosmin Tanislav
206042cc95
sm6150-common: Fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-09-25 16:58:34 -04:00
basamaryan
a87fd82b03
Revert "sm6150-common: Provide partition dependent module names if necessary"
This reverts commit fd47aee8f1.

Change-Id: I673769a67764080e412cabad3442b23bd202a2fa
2024-09-25 16:58:34 -04:00
Aaron Kling
b755799ead
sm6150-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-09-25 16:58:34 -04:00
Aaron Kling
0373b442e2
sm6150-common: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-09-25 16:58:34 -04:00
Sebastiano Barezzi
d38034e17b
sm6150-common: Add libcdsprpc_system.so
Needed by some camera libs

Change-Id: I6234d945f89bb3226512402feade3d98e35b9102
2024-09-25 16:58:34 -04:00
basamaryan
fe0852853c
sm6150-common: Add missing 32-bit libraries
Change-Id: I810c3c89e7936cda1910d85c7a49519de23040a2
2024-09-25 16:58:21 -04:00
Bruno Martins
41ebde2e72
sm6150-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-09-16 14:16:53 -04:00
Michael Bestas
489a1fcdad
sm6150-common: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2024-09-16 14:16:53 -04:00
Aaron Kling
940cae663a
sm6150-common: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-16 14:16:53 -04:00
Yumi Yukimura
5f487d9349
sm6150-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-09-16 14:16:53 -04:00
Michael Bestas
190cfed1aa
sm6150-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-16 14:16:30 -04:00
danielml
e091c0a9a5
sm6150-common: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-08-06 16:26:04 +05:30
Sebastiano Barezzi
31c2bcd4ca
sm6150-common: rootdir: Move from Android.mk
Change-Id: I84413356ca330dd266534f933fe86d2897e9be7e
2024-08-06 14:24:18 +05:30
basamaryan
664dde7f2c
sm6150-common: rootdir: Add missing 'vendor.' prefix to cnss-daemon
Missed in 1a7135d93a

Change-Id: I0a47df69637674379ef5e3bd4a95b228e200e269
2024-08-06 12:46:08 +05:30
basamaryan
64a21b1609
sm6150-common: Update blobs from sweet_k6a OS1.0.6.0.THGMIXM
Change-Id: I2c91be38c045d2897f788463f85edfa29586793d
2024-08-01 22:11:26 +05:30
Michael Bestas
15305da793
sm6150-common: sepolicy: Move common wakeup nodes to qcom sepolicy
These are not device specific and don't belong here.

Change-Id: I47de84155fa4bd81fb67b3d6ba5465b0b5db4437
2024-07-16 12:21:02 +05:30
Andrzej Perczak
2c91f586b8
sm6150-common: Disable redir_party_num
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Xiaomi enabled this ancient prop.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
Change-Id: I4d3d19b80bedd7410e638c78909a8a910bc10be8
2024-07-10 13:33:18 +05:30
basamaryan
10bc03f013
sm6150-common: Revert "Preopt SystemUI for AOSP builds."
This reverts commit c027a3e451.

Reason for revert: This is already done in vendor/lineage.

Change-Id: I7961e8e75a7f865da02f4409a40cb86c4d90592f
2024-07-03 01:57:02 +05:30
Sebastiano Barezzi
9a0eaa69db
sm6150-common: Partially revert "Move to QTI health AIDL service"
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099

This partially reverts commit 53d51eceb1.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
2024-07-03 01:49:09 +05:30
basamaryan
ee4501a185
sm6150-common: Add new QCRIL database
Change-Id: Ideea68864d8fdd083c1e226810812480750f8dc7
2024-06-24 20:29:21 +05:30