Commit Graph
522 Commits
Author SHA1 Message Date
tmakin 91d1e94240 [wip] nx: use mainline audio hal 2026-10-13 17:12:40 -05:00
tmakin 1449832eb1 nx: update usb configs for mainline hals 2026-09-19 17:57:11 -05:00
tmakin 03a97d2bc1 ack again
Change-Id: If55f4617e18459f7ee03418dd8ddba0dcd032462
2026-09-19 16:59:17 -05:00
tmakin 6d1ad8d1d6 [DNM] vendor vs
Change-Id: Ida996efa99cd775c8d7a09d8c84c635692aa9818
2026-07-28 10:32:55 -05:00
tmakin be7c7b18f3 more baylibre
Change-Id: Ib780ad0d65dda0010fdf2483fb7085bbe4695f82
2026-07-28 09:46:30 -05:00
tmakin e340d8fe81 dependencies: update for ACK
Change-Id: Ieed0188c28b20ac075a165626b0ec3fd7e364245
2026-07-28 09:44:48 -05:00
tmakin 5594c8ed4f [DNM] ACK stuff
Change-Id: I72adcaa0b01ccbf224a9b3e34d5143c24c9d4621
2026-07-27 23:53:48 -05:00
Aaron Kling 3eee2f1dac Support android common kernel
The lowest supported version is 6.12.

Change-Id: I4dbb7434853330abdfe8ebc21b52e5d67737ffca
2026-07-27 23:51:13 -05:00
tmakin 3697d9abe6 nx: support mainline nodes for thermal
Change-Id: I631f23d4f478dab4d9740fc824ed12628d29fe10
2026-07-27 23:51:13 -05:00
Nolen Johnson 043c11786c nx: sepolicy: Allow health_hal_default to access more JoyCon nodes
Change-Id: I34ac37b94f9f24506a1b0fad9aafa7930767a486
(cherry picked from commit 2e79d4e122d02d52d06aa2cda517c1357d021c74)
2026-01-17 04:47:27 +00:00
Nolen Johnson a09def5201 nx: sepolicy: Allow jc_setup to chown files
Change-Id: If6225006ff850d1f9141b81448aa61d54e478a4d
(cherry picked from commit 121876b992f3edbd7a79926ef6b9d19b86b9bfff)
2026-01-11 21:36:55 +00:00
Nolen Johnson 9b73b296a8 nx: devicesettings: Only show RSMouse onboarding notification if enabled
Change-Id: I11f175e22a107104a58200268edc0efff7c484b0
2026-01-11 02:50:28 -05:00
Nolen Johnson eddaedec51 nx: devicesettings: Reword RSmouse strings
Change-Id: If3d94791d193f098c77279255224f31234455ca6
2026-01-11 02:50:28 -05:00
Nolen Johnson b7dd4e16a4 nx: Allow neverallows
* Wanted to avoid this, but permissive domain for impossible allowance,
  PLUS now vendor HAL needing a system_ext app to set properties... meh.

* Allow jc_setup everything it needs to keep functionallity.

Change-Id: I6d4c949d8c955d9deff687dcf2bf4004e6c55c6b
2026-01-11 02:50:28 -05:00
Nolen Johnson 83b6827c61 nx: sepolicy: Allow dockservice_app to set several properties
* And allow dockservice_app to set them.

Change-Id: I48a88690a56bcc4e8c6084b94674e22942bd74cd
2026-01-11 02:50:28 -05:00
Nolen Johnson 2aaadf25a0 nx: Squashed restoration of RSMouse notifications
This is a squashed revert restoring the following:
```
commit 691e69edf4a060b9228954b4c9674a9b013bef4e
Author: Thomas Makin <halorocker89@gmail.com>
Date:   Sun Jan 11 01:46:28 2026 +0000

    Revert "devicesettings: add rsmouse feature notif"

    Revert submission 419502

    Reason for revert: need sepolicy
    Reverted changes: /q/submissionid:419502

    Change-Id: Iaa64bce011731cf685480078d82e8933dbe4c28a

commit cfb7bf60b35eda85c22148b66daa739488a06feb
Author: Thomas Makin <halorocker89@gmail.com>
Date:   Sun Jan 11 01:46:28 2026 +0000

    Revert "devicesettings: update androidx components"

    Revert submission 419502

    Reason for revert: need sepolicy
    Reverted changes: /q/submissionid:419502

    Change-Id: I8d9c7fb496bc3e9c30e65cd3cb586f6c3327d6ae

commit e59af96db10855d0414cbb60c799caa192cf0887
Author: Thomas Makin <halorocker89@gmail.com>
Date:   Sun Jan 11 01:46:28 2026 +0000

    Revert "devicesettings: add rsmouse settings"

    Revert submission 419502

    Reason for revert: need sepolicy
    Reverted changes: /q/submissionid:419502

    Change-Id: I3325fa5b6124dcd3c0bb0b9bf2cc8ecc3a00e3f4
```

Change-Id: I7d1e56a41b999fb09db5b0c48d46ad150eaa3cfd
2026-01-11 02:50:28 -05:00
Nolen Johnson 5401fecdd4 nx: sepolicy: Extend UART-A/B support
* Need to explicitely allow shell to write to it, and init to
  see/interact with it.

Change-Id: I39440ed383c1fd235c38b179d3ac77883e11cf7d
2026-01-11 02:50:22 -05:00
LuK1337 5246b190e4 nx: devicesettings: Migrate to privapp_allowlist
Change-Id: I52aa7e1d8a158be2a252d2949f5207551a1a4070
2025-12-20 13:31:40 +00:00
Aaron Kling 0ed4070c53 Move tv input build rules to tegra-common
Change-Id: Ibc08f66d3dcbe5db5ccb8ac8e37a7341a16a8e45
2025-10-22 14:21:01 -04:00
Nolen Johnson 1cb083fdd8 nx: Swap sensors properties to vendor namespace
Reference: I0822548e4dba3c9639ad26274d306f6978fe0588
Change-Id: If619905ae2b5bca2320ebe0684a51bb617a7c44a
2025-10-20 00:46:59 +00:00
Nolen Johnson 240bb5860e nx: Include nvcamera
Change-Id: Iabe2e61aba03f267ad207ab6f4d3325086329796
2025-09-20 22:31:00 -04:00
Nolen Johnson 9339bc54f2 nx: Use TARGET_TEGRA_SENSORS
* iio is now supported in tegra-common.

Change-Id: Ib3fa9d7e01fd0fc5816c97289a4977b42bfb4008
2025-09-20 22:15:47 -04:00
Aaron Kling 0d479c9eba Revert "nx: Include intel sensors-iio namespace"
This reverts commit 43b4abc90c.

Reason for revert: Moving to tegra-common

Change-Id: I3f388f1b9547a2693cf47d19cf67e1f05e970e68
2025-09-20 00:22:38 +00:00
Nolen Johnson 3fdbbc115b Revert "Load fan driver in recovery"
This reverts commit 850b42ab60.

Reason for revert: Need to use the nx specific driver.

Change-Id: Ic5a71aa9f9e0fe2833b1aeeca534641984b6efa3
2025-09-17 06:35:37 +00:00
Aaron Kling 850b42ab60 Load fan driver in recovery
We really should let the fan fire up in recovery.

Change-Id: I913d44f2f222d10fc0ef120972f87482562b7582
2025-09-17 06:32:40 +00:00
Nolen Johnson e626f797ea nx: Adapt to libbt migration to blueprint
Change-Id: I1acc5a1ed5eb18608980c02af719fcc08d0cfeeb
2025-09-17 06:21:59 +00:00
Aaron Kling b92e042d1b Convert TARGET_TEGRA_KERNEL to TARGET_KERNEL_VERSION
There was no common kernel version flag when this was first added, now
there is. So change all references to use the common name.

Change-Id: I661d558df18e7055b2f83424c8987dfa8a83bb19
2025-08-26 00:06:00 -04:00
Nolen Johnson c23c4e2f4d nx: Fix default fingerprint setting
Change-Id: I26d1b373ca3c352554b9aa3623486a92abd30375
2025-07-28 20:43:36 -04:00
Bruno Martins 4f580a1cf9 nx: Set vendor init lib via soong config
Change-Id: I8f7e6b987bee58dbf09ca9ad7cfd5a7e99e19c3b
2025-07-23 02:06:37 -04:00
Nolen Johnson 357517637f fixup! Partially revert "nx: Update fingerprint to 9.2.0"
Change-Id: I4bfc2d886882bcee70a7a0629f69bc81b46a9dea
2025-06-23 03:40:58 +00:00
tmakin a131ab0feb Partially revert "nx: Update fingerprint to 9.2.0"
Reason for revert: Breaks GFN to set to foster_e.

Change-Id: Ie457f80c10bc52dd6fb4ced38bf133cc308a3fcb
2025-06-22 23:33:56 -04:00
Michael Bestas 99594f7725 nx: overlay: Remove deprecated networkAttributes
Change-Id: Ieda947e283cde11cf74a01dc1b438e1deeb902c9
2025-06-16 22:57:55 -04:00
Nolen Johnson 847415a15b nx: Update fingerprint from 9.2.1
Change-Id: I0130fe6d470d4516f30c36a53cf59cc9b5764018
2025-05-07 20:51:41 -04:00
tmakinandNolen Johnson eb832942c1 jc_setup: update for 15
- Add back service
- Add HID attributes
- Add key attributes
- Add sepolicy
- Associate the script w/ the bluetooth group to
  avoid DAC overrides

* Sadly there is no clean way to have a vendor HAL
  accessing mnt_vendor_file to write to bluetooth
  configs @ /data/misc w/o triggering neverallows.
* Not gonna enable neverallows for for this, so just
  making the domain permissive until/if someone cares.

* Note: MAYBE a vendor HAL could read it from mnt_vendor_file
  and expose it to a system_ext app, which then could use the
  undocumented auto-pairing API to do this, but man, IDC.

Co-Authored-By: Nolen Johnson <johnsonnolen@mgmail.com>
Change-Id: Ibc092c1b60e886e1089bdea1014d0c606e0365d0
2025-04-25 23:59:33 -04:00
tmakin f1ddf3d100 jc_setup: update bash path
Change-Id: I05b3b4e57969f3343f56493227f73f8dd4ff96f9
2025-04-21 22:55:10 +00:00
Nolen Johnson 7163db3f03 nx: Don't build resize2fs_static
* We don't use this after dynamic partitions.

Change-Id: I3febe149a4ae5ee32b77f93870f310b3f27b48eb
2025-04-16 17:58:01 -04:00
azkali 54ae156e4b uscript: improve ddr200 detection and enabling
Change-Id: Id7560735b1140fe3d6e99cfff352d62f04481b7e
2025-04-14 00:33:12 +00:00
tmakin e382abde29 fixup! nx: allow bootloader-passed oc
Tell DockService to allow perfmode scaling in handheld when prop
passed by bootloader.

Change-Id: I1174e89717cca8b596418a9662bf194f5d220a32
2025-04-08 04:33:56 +00:00
tmakin 43d30991c7 nx: allow bootloader-passed oc
- Update uscript to check oc, max cpu and gpu freqs
- Update init to poke node to allow max scaling

Perf mode on perfmgr already allows full kernel scaling, so this
will just allow that to rise to max.

A better impl later may involve editing the json to have higher
game profiles etc, but for now this is more than fine.

Change-Id: I669fa523944dc0a99c2c9d6a6360593ee0a4bd8c
2025-04-01 20:52:22 +00:00
Nolen Johnson 43b4abc90c nx: Include intel sensors-iio namespace
Change-Id: Icd5edb80afb7eea1b4d246aba1fc399f03e561f3
2025-03-31 14:03:22 -04:00
tmakin dfd251ad63 nx: only build nx power rc if cpl enabled
Change-Id: Ia484dba2638c06aac8c1bdb18d261b2e99a80c28
2025-03-12 15:50:21 +00:00
tmakin e103676281 nx: up switch lite dpi to 192
Max with landscape supported. Lite is way smaller.

Change-Id: I90f9702701ad9cfac5492787baf5799268d07064
2025-03-09 02:23:33 +00:00
Nolen Johnson 4a4f46d7a5 nx: Set surface flinger properties
* Pulled relevant ones from modern QCOM.

Change-Id: Icdca52d9a0dba44170b81286fc5bb398d25d95b3
2025-03-09 02:17:10 +00:00
Nolen Johnson b953d8c717 nx: chown DC node for devicesettings
* Broke turn screen off while docked toggle.

Change-Id: Ide62a1d0ca00d8f10bdfaeec181008f5fd755837
2025-02-19 23:29:27 -05:00
tmakin 4f6079836b nx: devicesettings: refactor and add joycon settings
- Refactor common fragment bits into new file
- Toggle analog trigger emu
- Full Nintendo controller button remapping
- Don't show OLED prefs on non-OLED
- Optimize gets and data loads

Change-Id: I331977aea35f7097cad0a8c2a644207a9dac6c03
2025-02-14 12:52:37 -05:00
tmakin 6fe016e60e nx: migrate to perfmgr OSS power HAL
- Exercise greater control over hinting, power profiles, specific
  behavior, etc.
- Better support in the future vs maintaining phs
- Totally nuke nvcpl to remove variables in display handling and
  power profiles

Change-Id: If9076248fcacfdc8165bd814ad78786134997b97
2025-02-14 12:52:37 -05:00
tmakin d33f7e37f9 overlay: add power profile and map
Change-Id: I3da47fddd00ac173771132473aa254db161a7274
2025-02-12 20:26:21 +00:00
tmakin 399806b7cb nx: vintf: add compat matrix and reorg
- move manifest to folder
- add compat matrix entry for joycond stable aidl

Change-Id: Id02ee8d8424b609f42b9500d1c506db70c4a807e
2025-02-12 20:26:08 +00:00
Nolen Johnson bf154979e9 nx: sepolicy: Let dockservice find services it uses
Change-Id: I58b3b052896414201b4c5ef5e8f7834ca5a38acd
2025-02-12 20:25:51 +00:00
Nolen Johnson 2b1fadbc0d nx: sepolicy: Move joycond property labels to its repo
Change-Id: Ie534e944c004cdebd33b72491684f012728f3252
2025-02-12 17:17:30 +00:00