Commit Graph
432 Commits
Author SHA1 Message Date
tmakin 79346a0d48 releasetools: comprehensive overhaul
- do not flash logos (users often replace)
- do not suppoort upgrades from older versions (didn't work
  anyway)
- properly set new uboot rev
- use MUCH more readable structure

Change-Id: I18390cb5e7d50419d933baa78363bcec8324cbef
2024-10-03 22:39:52 +00:00
tmakin c0c182b0df nx: Upgrade to new AIDL joycond
Change-Id: I91941db20e0589365d9e4e25bf064ec7d23f6306
2024-10-03 22:32:46 +00:00
tmakin 410b6a82d7 nx: Use prebuilt U-Boot for now
* CTC's 2018 u-boot is more feature-complete for nx for now.

* We may revisit this later.

* This remediates issues with RAM carveout, clocks
  (on erista models), mod chip issues (on mariko models),
  and brings us almost in-line with L4t releases for nx.

Change-Id: I622cc67acb543b6ac54c8ee7a585d88e8066606c
2024-10-03 22:32:46 +00:00
tmakin f8b465af1c nx: Differentiate USB PIDs
Change-Id: Ib63912eac82ad920c7086ac9d9c997e6348183fe
2024-09-30 18:51:52 +00:00
tmakin 699006121d nx: Adjust density and aapt configs
* Reduce crashing and other issues resulting from density
  disagreements. Also, AAPT should not be set as per cuttlefish
  and newer Pixel devices.

Change-Id: Ibca27b4a77c84f2e57a534da10c278c7d0f0cf91
2024-09-30 18:51:52 +00:00
tmakin 1fa3d07c50 nx: input: Redo exclusion handling
* We will use existing disable infra instead of idc disable. In the
  future we will do this based on vid/pid, but AOSP ignored the
  change and no one cares enough to port it.

Change-Id: Ic09688a180502274aa5c56065b8e943227753cc3
2024-09-30 18:50:24 +00:00
tmakin f613deb196 nx: Set proper settings for new fmac
* As per cuttlefish etc. and cypress/nxp reference, set overlays for
  MAC randomization support. Also enable
  WIFI_HIDL_FEATURE_DUAL_INTERFACE and
  WIFI_AVOID_IFACE_RESET_MAC_CHANGE as per cypress/nxp reference.

Change-Id: I5ad1539e400d9f79fce641faf284246743b08915
2024-09-30 15:26:36 +00:00
Nolen Johnson 3d46ce73fe nx: extract: Redo
Change-Id: Ib4b4147c5963de625555036c6fd9998279f889bf
2024-08-04 19:25:11 -04:00
Nolen Johnson 334cdb7c30 nx: Utilize proper extract-files path
Change-Id: I6db92f840a98bdf997e1400f41d84f76f8987e13
2024-08-02 18:05:17 -04:00
Nolen Johnson 96a0f2348c nx: thermal: Use SKIN instead of DIODE/BOARD
* Use tskin estimation for skin.

Change-Id: Ic75bd4b3d39bcc20d7550341bf9fccd94ed71c0c
2024-07-15 23:17:19 -04:00
Nolen Johnson 535f79a227 nx: Properly set permissions on OLED backlight
Change-Id: I7819cf88d828bc178999954630a710d3cbe33925
2024-07-13 12:36:26 -04:00
Nolen Johnson d535e8dde5 nx: initfiles: lmk_loader_target: Change cfg module name
* For newer base.

Change-Id: I68c70b5125c54320e3db579c5353f8fd2154f49a
2024-07-12 20:24:55 -04:00
Nolen Johnson cd5ba7073f nx: Migrate to new system_ext property flag
Change-Id: I279164cf75f44fdff93d68094f22ec62f8b35357
2024-07-12 20:20:43 -04:00
Nolen Johnson 08bf61290d nx: Disable screen mirroring dialog
* Our dock is closed-face, so users can't interact with this dialog.

Change-Id: I21567a85c439597a506475a4f884a75e5312356a
2024-07-12 16:32:29 +00:00
Nolen Johnson bac88dd586 nx: Nuke wifi_reset from orbit
* New cypress-fmac works with sleep!

Change-Id: I62655f9b4f6ac2b1f5240f28305eb0578f934bfd
2024-07-12 16:10:32 +00:00
Nolen Johnson 4d434fb8c7 nx: sepolicy: Label correct OLED backlight path
Change-Id: I06cd017a002a16c64ed2b31b457adc53470f022d
2024-07-02 23:38:20 -04:00
Nolen Johnson f3adc1169d Revert "nx: Flash dummy super on clean install"
This reverts commit c5b488c9de.

Change-Id: I8ce38f3546ed094707637d5f4d2f6dfed11d8f7b
2024-07-01 20:42:01 -04:00
Aaron Kling f86793bea9 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-06-30 15:44:44 +00:00
Nolen Johnson 59a785ccae nx: sepolicy: Label another possible brightness node for backlight
Change-Id: I532c4efe469327cea5ae178217a97f7bd53b174f
2024-06-28 00:12:44 -04:00
Nolen Johnson 1b3b2ad599 Revert "nx: Disable nvgpu framebuffer compression"
This reverts commit eda8112206.

Reason: In tegra-common now.
Change-Id: I3b66231d18d9c8ecc929a4fb8e4c4b8a9fc91133
2024-06-27 15:29:25 -04:00
Tim Zimmermann e56514179a nx: Set manifest target-level to 5
Change-Id: Ic72d17ebdb388dee9e63e27a36190c93c095fb0c
2024-06-20 01:08:20 -04:00
Michael Bestas a9976d42ae nx: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-06-19 16:00:40 -04:00
Nolen Johnson 6763f64dcc nx: Rebuild u-boot on changes
* PHONY targets are not recommended by AOSP. Ensure we rebuild
  on any change to source dir. This will hit all sources as well
  as defconfig and dtb.

Change-Id: Ieddbee7c14a79581efde35a46f0081d7a2ebfe11
2024-06-14 21:19:53 -04:00
Nolen Johnson fabb8b50b7 nx: Update recovery by default
* This is a strange case, it never shipped Android to begin with,
  so we need a tighter control over the ecosystem here to make
  things seamless.
* Candidly, we're either going to set this up here or from Hekate,
  and this is far cleaner.

Change-Id: Ic60d3a78a74655f51b5acc84e6166a018733fece
2024-06-14 10:40:33 -04:00
Nolen Johnson a9e00e0a2b nx: Fix Wi-Fi NVRAM copy rules
Change-Id: I5cff8c18cfd7aa93d54cf5dd7f4b38103b76099b
2024-06-14 01:21:28 -04:00
Nolen Johnson 5e1973c6c9 nx: Add nx-plat.dtimg to RADIO_IMAGES
* For infra.

Change-Id: Idd8297f6ff24cea9ad94b9e1237fdf8234e554e2
2024-06-14 01:15:37 -04:00
Nolen Johnson ef46efd39f nx: sepolicy: vendor: Don't rely on lineage specific macros
Change-Id: Ie67707b3449dd1321ee83088be189b07f5e06a81
2024-06-03 23:07:53 -04:00
Nolen Johnson 8beb726037 nx: sepolicy: vendor: Allow sensors HAL to write to length node
Change-Id: Ia0cfeadc01d5d3ba7d867a166c69ae7514ce0a5c
2024-06-03 23:03:38 -04:00
Nolen Johnson 52733388fa nx: sepolicy: private: Redo wifi_reset policy
* Down to two neverallows.

Change-Id: I9d11d8724c3ff288579442fd91a5243d163c6516
2024-06-03 22:25:15 -04:00
Nolen Johnson 134edf0e8d nx: Build DocumentsUI
* Normally, this would normally be a platform decision, to build,
  or not to build an non-controller navigable app on ATV builds.

* But we are the weird-ass edge case (as always), in that we are
  an ATV device with touch-input, meaning this application will work
  on this device.

Change-Id: I2f32ba14d522f0dc81db13ef76e8f52a0b151770
2024-06-03 00:44:24 +00:00
Nolen Johnson 363a56fd99 nx: Hardcode FCM level to 4
* We have our own device-specific HAL (sensor),
  so we can't use the common one.

Change-Id: I0a6fcba7f99256d592ebaef2a3f162f9e316a489
2024-06-02 18:30:27 +00:00
Nolen Johnson b06291c0f0 nx: Use rel-shield-r memtrack
* Due to some race condition, nvmap header isn't avaible
  sometimes, use this until it's fixed.

Change-Id: I0dff36059aecb3575307373f20d51531ccf0ae1e
2024-06-02 18:30:27 +00:00
Michael Bestas cdde544ea1 nx: Enforce vintf kernel requirements
The build system enables this for shipping API level >=29
but we also want it to pass the vintf runtime checks.

Change-Id: Ie2147893a1551b736880913334a3c134a17ca91c
2024-06-02 18:30:27 +00:00
Aaron Kling 53f089a206 Switch to light module
Currently results in no change to the target image, but this allows
updates to the target in one place instead of each device tree.

Change-Id: I13d095307ed1dcb2375ae7193b9abc3be30b3bdf
2024-06-02 18:30:27 +00:00
Aaron Kling 2c5e112178 Switch to thermal module
Currently results in no change to the target image, but this allows
updates to the target in one place instead of each device tree.

Change-Id: I9dbc06b6a64604c46851f3c4aef3f189c83f042d
2024-06-02 18:30:27 +00:00
Nolen Johnson f26b25bbd6 Revert "nx: initfiles: wifi_reset: Sleep 2s"
This reverts commit 5fc8371426.

Reason for revert: SELinux was the true issue,

Change-Id: I46c46f24d42baefee500df2885b052b95a8cff17
2024-06-02 16:41:01 +00:00
Nolen Johnson 5fc8371426 nx: initfiles: wifi_reset: Sleep 2s
* To avoid a race.

Change-Id: I1bc3ed46e404ba93a639f1d0cf18869cbd69ee37
2024-06-02 06:32:30 +00:00
Nolen Johnson 9038eca8de nx: sepolicy: Fix some OLED sensors + UART
* Also clean up a bit.

Change-Id: I305ea99952cc3f8d37cdea8ccb24dcc9a283e584
2024-06-02 03:22:12 +00:00
Nolen Johnson fe03d87f44 nx: Exclude camera app
* Rework product inheritance orders to make that work.

Change-Id: Ibde5423d90e374a0afe84ffb6068f15039f98dab
2024-06-01 20:33:53 +00:00
tmakin cb90242a59 nx: power: Rework again
Looks like cpl doesn't parse more than 3 properly.

Change-Id: Ic67132c4df86f986e2777a2d9580f6b9f96b89a2
2024-05-28 19:55:24 +00:00
Nolen Johnson f67524ec06 nx: tos: atf: Add bl31 to radio image files
Change-Id: Ib396b7fdf2faf21b2cec346043acafa2cc3212d8
2024-05-28 19:43:02 +00:00
Nolen Johnson a577b431eb nx: sepolicy: private: More wifi_reset policy
* Of course, it is all neverallows!
* The sooner we can do away with this cursed script, the better.

Change-Id: Ieb43ba59c4c6a76b22a8061a2b1295fc3a3789e5
2024-05-28 02:49:27 -04:00
Nolen Johnson 8327ee75ce nx: sepolicy: vendor: init: Allow init to execute wifi_reset_exec
Change-Id: Id810ecdce4d34535b79448f292082e3b846085e5
2024-05-28 04:51:41 +00:00
Nolen Johnson 4114a4720b nx: jc_setup: Rework factory partition mounting/unmounting
* Makes sepolicy far easier.
* Use `exec_start` instead of `start` to ensure jc_setup exits before
  `umount` is run.

Change-Id: I64d4f4eac991310db5ba9444044566b04bfbbedb
2024-05-28 04:51:41 +00:00
3l H4ck3r C0mf0r7 eda8112206 nx: Disable nvgpu framebuffer compression
Causes dmabuf graphical corruption reminiscent of Intel gvt-g
when the system is unresponsive otherwise.

Change-Id: I35da21a4396e296ca9cb5dffe8bcfaac181ba03c
2024-05-28 04:42:17 +00:00
Nolen Johnson 0a3a351ce2 nx: sepolicy: Allow neverallows for wifi_reset
* I don't like this, but adding the required allowances for wifi_reset
 results in few insurmountable neverallows.

Change-Id: I6fa3f0cfc62b253c0f30399a3d54b26a5426b855
2024-05-14 02:24:31 +00:00
Nolen Johnson c606c4523a nx: sepolicy: Remove unecessary unused platform_app rule
* Wasn't ever wifi_reset related anyway.

Change-Id: I49fe3f38fc30b3fd4a747d3d8aedeef336740464
2024-05-14 02:23:38 +00:00
Nolen Johnson c3d0a1620a nx: sepolicy: vendor: Allow vendor_init to get wifi_hal_prop
* For wifi_reset.

Change-Id: I49c824ee9221eb14dbf4e2cfe6e69b146b621eb0
2024-05-14 02:23:23 +00:00
Nolen Johnson de40f6c2e7 Revert "nx: Ship full recovery image"
This reverts commit 1d3626e1f3.

Reason for revert: Global now in vendor/lineage.

Change-Id: Ib5d19fe8e69e52c87454418f9e4a0c4bdf90e7b8
2024-04-28 21:00:14 -04:00
Nolen Johnson 8000acf8fe nx: sepolicy: Further tuning
Change-Id: I0b4dda90d05177bd8fcb928faf6993b970c05465
2024-04-19 16:52:30 -04:00