Commit Graph
482 Commits
Author SHA1 Message Date
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
Nolen Johnson 0d678776fe nx: Update fingerprint to 9.2.0
* Also stop overriding foster FP with a weird hybrid, it
  breaks things that require GMS certified FP on ATV, and
  we have a standing exception for AML devkits (not shipped
  with Android officially) to use "latest platform reference
  device FP", so doing that using foster_e.

Change-Id: I3a5ab78a91f48b4fddced5395d7f7316e615cc63
2025-02-09 16:39:50 +00:00
Nolen Johnson d1f61417d8 Uprev vendor security patch to match 9.2.0
Change-Id: I3e0501fcceea90f663ec490aa06ded233261b6f6
2025-02-09 16:39:50 +00:00
Nolen Johnson 69a1d13d73 nx: sepolicy: Interact with hwservicemanager correctly
Change-Id: I6ecd6eb23b8257cc63934bd6226f7a038424e9a7
2025-01-21 17:47:00 -05:00
Nolen Johnson f541dc12ed nx: build: Fix bootloader rules for target-files target
Change-Id: I98e348e1724d0a2e8548759e8e6f3c896cbd6942
2025-01-20 17:12:56 -05:00
Nolen Johnson b72f1d8eb5 nx: Fetch nx HOS FW and bl33 blobs using external source type
Change-Id: Ifbfcfd9c60ea759d6366dcf5cd5d09341b42d65c
2025-01-11 00:48:01 -05:00
Nolen Johnson d06e04e1c3 nx: Copy NVRAM per SKU
Change-Id: Ic65d55d1d85d479da63ec933473b39fc85c1c7ee
2025-01-10 15:20:22 -05:00
Nolen Johnson 94baa3e14c nx: Move init.lkm.rc to copy-files
Change-Id: I742fce5a9a50de9dd5c35ecfac7404eec45f0733
2025-01-10 15:20:22 -05:00
Aaron KlingandNolen Johnson 6e973e6835 vendor: Use copy-files for firmware targets and bootfiles
* Don't even copy bootfiles, just stuff them in RADIO for
  infra to grab.
* Kill top level Android.mk while we're here.

Co-Authored-By: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I7ebe10120133df83d95f6b182f89ea3149bf60c8
2025-01-10 15:20:22 -05:00
Aaron KlingandNolen Johnson b42da2fd3f Move bootloader build rules to build tasks
Co-Authored-By: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: Iaa2d4cbfcb094b962a1af4528ade6e8e201fb49b
2025-01-10 15:20:22 -05:00
Aaron Kling 63153b162b vendor: Move public libraries to tegra-common
Change-Id: I03370a071b40e12c72c96b17510abea193351f07
2025-01-09 18:21:57 -05:00
Nolen Johnson ccb3179a68 nx: sepolicy: Move most joycon sepolicy to joycond repo
Change-Id: I31849a6fac9fe92a9df95d76e94b37f7ad9fefeb
2025-01-01 18:59:12 -05:00
tmakin 4fc70f7291 nx: include joycond sepolicy if present
Change-Id: I217f7d0eb4c4777c4419240dd6f08dcbe3a4c332
2025-01-01 17:45:14 +00:00
tmakin b18d1a7b5d Reapply "nx: Upgrade to new AIDL joycond"
This reverts commit 3c04625a26.

Change-Id: If64bc65eccbffee94e1b648f40fb7e4186e8adde
2025-01-01 17:44:44 +00:00
tmakin 67911b6d99 nx: powerhal: remove useless xml
Change-Id: Ie1450957bf1ddda688561648dbee6498a33c36fd
2025-01-01 17:44:44 +00:00
Nolen Johnson 00c6c20499 nx: sepolicy: Allow hal_health_default to access sysfs
* Ew but JoyCon re-attach isn't labeled in time.

Change-Id: I7239e8f6ab9d0aa63263b1f4b8941e1a684c290e
2025-01-01 17:44:17 +00:00
Nolen Johnson 161cdb09aa nx: sepolicy: Label new vendor joycond properties
Change-Id: I3abbab8205df9b4440598b209f951f63d9a68d01
2025-01-01 17:43:57 +00:00
Nolen Johnson e98c608435 nx: sepolicy: More sepolicy
Change-Id: I00608fe126b8c7ccb42933a53173fbbf0922db56
2025-01-01 17:43:22 +00:00
CTCaer 618307b822 uscript: match L4T in function and style
Enhancements:
- Allow invalid panel
- Add popular clone panels
- Add check for L4T-Loader version
- Add sanity check for super partition
- Add ddr200_mode option
- Apply USB3 recovery WAR unconditionally
- Misc. logic fixes
- Add comments

Co-authored-by: Thomas Makin <halorocker89@gmail.com>

Change-Id: I7bd9d7204d172bb13dedda160e8385a6411b2206
(cherry picked from commit f1705ff1520b1376677e32943150ce9060e7d271)
2024-12-26 17:57:24 +00:00
Kelvin Zhang 23411a7ac1 nx: Explicitly set as an non-AB target
We will be changing AB to be the default, existing non-AB targets
need to explicitly set AB_OTA_UPDATER to false

Test: th
Change-Id: I86a76296937a6abab1b4495cd66a35144348aafd
2024-12-12 05:34:50 +00:00
tmakin a73113a66f nx: Opt-out of forced 1080p scaling
* This has not been mandated by Google since S and since they fixed
  density scaling, UI looks better with properly scaling interface.

Change-Id: Id1eb10b3f0c2b03ac6401bdfb00ba68036de91ef
2024-11-17 20:53:11 +00:00
Nolen Johnson 461cc984f3 nx: Stop telling the user if USB3 is enabled
* We enable it by default per wiki, so don't
  confuse the user with something that could
  be taken as an error.

Change-Id: Ibbfe236481a057729f6f65cfb563a7ea73a611ff
2024-11-11 21:38:26 +00:00
Nolen Johnson 30df168f83 nx: Flash bootloader unconditionally
* We can't update boot.scr without updating the prebuilt BL33,
  which sucks. So, unconditionally flash.

Change-Id: I9c4267d03e8743ca73ef86c4ead6e838dc98af6b
2024-11-11 21:35:36 +00:00
Nolen Johnson 910d42854d nx: Correct if logic in uscript
Change-Id: I27d76534d7fe0a4502156993d246334c3d910699
2024-11-11 21:13:52 +00:00
Nolen Johnson 941897b035 nx: Fix joycon_ini parsing error
* Check isn't needed really, doesn't return 0.

Change-Id: I4947cb98e100d73a1fa8ffed570efb1b82c71db3
2024-11-11 19:23:13 +00:00
tmakin e4541322f5 nx: rework bcm makefile again
We really only need one.
TODO: see if Nintendo ships per-sku ones at some point? Doubt it.

Change-Id: Ia3a67729bd89cb08651c8c0804e1f24fc649d7d9
2024-10-31 15:34:54 -04:00
tmakin 43ac071958 nx: migrate most prebuilts to blueprint
Change-Id: Iaa62c84a09613f986e48b51a748f4b498ab905c8
2024-10-31 15:34:54 -04:00
tmakin c8516fac3f nx: init: reformat and update for accuracy
Change-Id: I4d1c65d7d30fd879e2be28e6020859985d7f7eee
2024-10-31 15:34:54 -04:00
tmakin f70094e0ce nx: rename frig to fric
`fric` is the actual NVIDIA board name. Use for semantics and compat with L4T.

Change-Id: I1995f24e7a289e3a39ecd3385d1f5546df781b6a
2024-10-31 15:34:42 -04:00
LuK1337 dead61609f nx: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-10-24 18:49:34 +00:00
tmakin 168005f457 bl: update uboot version
Change-Id: I97021af90624074ab83c51301c3e5d703250d612
2024-10-23 15:09:36 +00:00
Nolen Johnson 7c3896c7b6 nx: Drop u-boot form dependencies
* We use prebuilt now.

Change-Id: I3892dc6057918a36ef93b0a53b26be3283d6796a
2024-10-21 23:58:03 -04:00
tmakin b6676ebe6d uscript: don't print cec disable to screen
This is default on Lite--bad UX.

Change-Id: I0b81d626402edaf1996d82d62bb0d482941cbdf9
2024-10-21 23:02:35 +00:00
tmakin a871a44b78 nx: uscript: Correct mac addr behavior
Change-Id: I956bbdccddba20039531e98e07a54a9bd6f56287
2024-10-21 23:02:10 +00:00
tmakin 476d3e87f0 nx: uscript: Fix cec_disable appending
Change-Id: Iaa6b7f840ea2855700ad33de3cd146683285b035
2024-10-11 19:26:50 +00:00
Nolen Johnson 8cef304783 nx: Keep disabling CEC on vali
Change-Id: Ic292b061eebbb6678a00bec5451f2423f32cb9d2
2024-10-04 13:20:58 -04:00
Nolen Johnson f8a53d878e nx: bootfiles: Remove SELinux declaration
* Introduced by prior commits

Change-Id: I59f9168fdc54293935289e51e3da70b3f039daed
2024-10-04 03:31:26 +00:00
Nolen Johnson b27cf0af88 nx: Fetch BL33 from SWR
Change-Id: Ib97f2747252f34c4dd9b18cb8ee3c6cecb2e2b43
2024-10-04 02:57:47 +00:00
tmakin 3c04625a26 Revert "nx: Upgrade to new AIDL joycond"
This reverts commit c0c182b0df.

Change-Id: I654b447e093337319d3d241c9bbdd79b4ef62533
2024-10-03 23:57:13 +00:00
tmakin 1f20f3af82 uscript: fix bootargs
Change-Id: I77d346bca00c45ca595997e7f1a8fb3a75f28eaf
2024-10-03 23:53:16 +00:00
tmakin 1dd40b8a26 uscript: remove als option
No need to disable. Expected on android.

Change-Id: I6ecf7398171701ffc9dccb6f8a7910f10c541af8
2024-10-03 22:40:11 +00:00