Commit Graph
35 Commits
Author SHA1 Message Date
tmakin 294e59ea55 nx: Use dpi 186
Extensively tested--provides a fantastic experience for ~6-7" 16:9
tablets. Triggers the tab UI but is big enough that apps look good.

Change-Id: I0981b5d37d5ce68797f8e2343841a2534d22b632
2024-02-06 14:28:21 -05:00
Nolen Johnson 1d66134d3a nx: Adapt to common init changes
* As of https://github.com/LineageOS/android_device_nvidia_foster/commit/2594eafd1cb09c8d8f36310ce053268d11cbb4cb.

Change-Id: Icf52bdc42940147cc65425fe5b78f9e0f461ddc1
2024-02-06 02:32:54 -05:00
tmakin c63f0d1d35 nx: Specify proper board ids for skus
Change-Id: I88fe9f961e53cfb8e669cf89d9864e347d46763c
2024-01-25 15:54:02 -05:00
Nolen Johnson 6c9de6e896 nx: Statically set USB ConfigFS properties
* These won't vary per model.
* Also alphabetize.

Change-Id: Ie4f57c469ff49fcde35fc63b3f91180320ec2340
2024-01-25 15:54:02 -05:00
Nolen Johnson 21438892c0 nx: Remove vbmeta handling
* NX has no use for a vbmeta partition, nor does it have one.

Change-Id: Ibba0d582b67ccc89ec12a6611db983cc99c6a58a
2024-01-25 14:56:46 -05:00
Nolen Johnson 39b16e7fa7 nx: Remove netflix configurations/permissions
This is a squashed revert of:

Revert "Import Netflix permissions and properties"

This reverts commit 6982b5917a.

Revert "Allow netflix to operate in doze"

This reverts commit c7241664f9.

Revert "Set nrdp modelgroup prop based on device"

mdarcy and sif have a different value than foster and darcy

Also restrict setting netflix props and installing configs to atv
targets

This reverts commit 22912ef909

Revert "Add netflix config overlay"

This replicates the stock configs

Based on example by luca020400

This reverts commit 3e0a9c33f6

Reason: NX devices do not support Netflix on Android
Change-Id: Ifafb5a6b81567bf177ba186518bf4b2c1d7ca14a
2024-01-25 14:56:46 -05:00
c03875880c nx: Intial rebrand from foster
* This is a tree for all Nintendo Switch variants:
  `odin`, `modin`, `vali`, and `frig`.
* `ro.hardware` will be NX on all variants with
   `ro.hardware.sku` being set per variant by u-boot.

Changes are as follows:
* At the moment the packaged DTB is only for `odin`, more to follow.
 * Note: We may make `modin`, `vail`, and `frig` device-tree-overlays
   on the `odin` base DTB to simplify things.
* Use darcy's thermal config as it's the most lenient, and is a same SoC STB.
* Unlike `icosa_sr` previously did, we will use the BCM HAL for BT over
  BTLinux, as A2DP is tested and verified, no need to deviate.

Changes that will require follow-up commits to build out:
* Update init to reflect nx's needs - will need more work to support devices
  other than `odin`.

Removals are as follows:
* Remove all non-nx device support files.

Co-authored-by: Thomas Makin <halorocker89@gmail.com>
Co-authored-by: Billy Laws <blaws05@gmail.com>
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: CTCaer <ctcaer@gmail.com>
Co-authored-by: John Smith <nemui3353@gmail.com>
Co-authored-by: langerhans <langerhans@users.noreply.github.com>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I9bab4d94c6e94a9c6e2a7cf04d16c4b76c0b6ac5
2024-01-25 14:56:45 -05:00
Aaron Kling 1dc0ef8653 Set sku variants for audio policy
Change-Id: Id21ac11e2e3994c188ddb600cdf09d982e865c22
2024-01-07 20:31:13 -06:00
Aaron Kling 2de1ada59e Rebrand icosa to nx
Change-Id: Ic97a429c449dd6f7c7d0d5999ebc9b9640d2e8f0
2023-03-09 21:38:47 -06:00
Aaron Kling 21b3c6c48d Update fingerprint to match stock 9.1.1
Change-Id: I9ab00c2b10abc93bdcfdca5d53e3c628ea8097cb
2022-11-02 16:30:33 -05:00
Aaron Kling 1f274b381b vendor init: Fix incorrect dragon properties
The flow was causing wrong usb vendor id and product name to be set

Change-Id: I6bb5364f4036b3407ee95d15add0871fb892ec34
2022-10-20 01:21:02 -05:00
Aaron Kling 70c4973514 Move dragon recovery partition symlinks to init scripts
Change-Id: I98e3a5bc51a6015784e20196569063b3befe9dd7
2022-10-20 01:20:58 -05:00
Aaron Kling 56702979a8 Update fingerprint and security patch date to match stock 9.1.0
Change-Id: I5d5eb6d8aa1a57cf8b5ad3920878824667496103
2022-07-28 14:26:25 -05:00
Aaron Kling 70504002c7 Remove recovery symlinks from custom init
These are no long necessary as twrp is using by-name paths

Change-Id: I73cbeeaec1020826ba5730582f458e967f43320f
2022-04-07 02:47:47 -05:00
Aaron Kling 024cf63e22 twrp: Refactor fstab
New twrp will not work with legacy fstab format. Also switch to
by-name paths and remove the fstab symlinks.

Change-Id: I403497698f1b6b7cd232081cdb083c82079551a2
2022-04-07 02:47:47 -05:00
Aaron Kling 8329d9a360 Set oem key1 property
Change-Id: Ib670f50b1d3dc119453ae8bc3f578cc7e482eece
2022-03-21 12:17:36 -05:00
Aaron Kling 95267d8f50 Update fingerprint to match stock 9.0.0
Change-Id: I3f1c95af04128722ce4261324a985a7ff2f74cb3
2022-03-02 14:36:29 -06:00
Aaron Kling 22912ef909 Set nrdp modelgroup prop based on device
mdarcy and sif have a different value than foster and darcy

Also restrict setting netflix props and installing configs to atv
targets

Change-Id: Idcb95b329e54ca11b3d94310ebfd281ae0ac6b19
2022-03-02 14:27:41 -06:00
Aaron Kling ebeaed7ba2 Fix external sdcard support on 3.10 kernel
Change-Id: I5963c6f3766b5aa1871016eadd31ddcdc0cb3241
2021-12-17 21:03:38 -06:00
Aaron Kling 4f82a3989f vendor init: Set vendor properties via init rc shims
Change-Id: I52265731cef88170adc2f103d5884b1ef10bd015
2021-08-08 14:31:16 -05:00
Aaron Kling 735b0db30d Raise default dpi of 720p devices to 214
This the calculated scaled dpi given 1080p at 320.

Change-Id: I4294bca5ce409bc1d343616cdc208975faccaf93
2021-07-15 19:47:21 -05:00
Aaron Kling e60d61bea5 Update fingerprint and security patch date to match stock 8.2.3
Change-Id: I587bf489c9c11f26321d1bf8c968d4431b9c864e
2021-07-15 19:47:21 -05:00
Aaron Kling 8f9e83c029 Convert libinit_foster to blueprint
Change-Id: I5a3438df2559fc2487df4d23bb7c8915d9578465
2021-03-25 22:35:35 -05:00
Aaron Kling 885be42b20 Add batuu support
This is the Jetson Nano 2GB

Change-Id: I71a04f0e2dfaebdfa5265e1a02a4ef5d39d41b28
2021-03-25 12:31:38 -05:00
Aaron Kling 184890b175 twrp: Split icosa fstab from porg and foster
Handling of the mountable vfat partition on icosa conflicts with
other devices.

Change-Id: I4a46b87d551693b0e8b12fee8cdd59670c071ce8
2021-03-04 12:14:45 -06:00
Aaron Kling a0c2c48373 Add dtb partition to recovery symlinks
To allow flashing dtb via releasetools

Change-Id: Ic78a0fec66361fc6d2d7cedbfdd0b83001c8391e
2021-03-04 12:10:16 -06:00
Aaron Kling f9301e4151 Add dragon dependencies
This is the Google Pixel C. Initfiles are custom made.

Note: The dragon bootloader requires the kernel to packaged in a
fit image. This can't easily be handled in a true unified build,
so dragon is not added to the assert list. It will be built from
a derivative repo that overrides the assert list.

Change-Id: Ifaa39cead735f4a677151145474bf47953bdcd0a
2020-10-06 14:57:57 -05:00
Nolen Johnson 724bfe6bb5 Add icosa support
This is the Nintendo Switch.

Change-Id: I560a272366549be2eed24ee3db812b6cf4b2304e
2020-10-05 19:41:28 -05:00
Aaron Kling 6d1a7fff39 Add loki_e support
This covers loki_e_base, loki_e_lte, and loki_e_wifi

Change-Id: I2427d1c7176ce0d64ada9459c91d6d3115379d39
2020-10-05 19:33:47 -05:00
Aaron Kling 96ac21e834 Add porg support
This is mostly copied from sif.

Change-Id: I2bf70a07c32bef8a2a6dd28261923b4d01f44357
2020-10-05 19:33:43 -05:00
Aaron Kling c92f73ed8f Add jetson tx1 support
This covers jetson_e and jetson_cv

Change-Id: I596dc4b151bd3387bb92ca65770f0ab49f312370
2020-10-01 14:03:38 -04:00
Aaron Kling c3b87b9e3c Add sif support
Change-Id: Ic4ace2be0b807014cda56f71ba38e57706ce6b45
2020-10-01 14:03:38 -04:00
Aaron Kling f041d8b09e Add mdarcy support
This device uses darcy as its identifier, so mostly uses the same
configuration as its predecessor.

Change-Id: I6415925252bbde899bdfc702f8177f3651524c9e
2020-10-01 14:03:38 -04:00
Aaron Kling b0b302b621 Add darcy support
Assert on a known working bootloader version.

Also import all init files from NVidia's stock 8.2.0.

Change-Id: If8e76b9733ffa9d47e1da7452989accf813f7e32
2020-10-01 14:03:38 -04:00
Aaron Kling 39ea4dba1a Import foster init scripts
From NVidia's stock 8.2.0 release for mdarcy.

Also introduce a custom init extension to set relevant
properties.

Lastly, assert on a known supported bootloader.

Change-Id: I9f68361ac7127d8724d29053feb6109547a7deea
2020-10-01 13:51:46 -04:00