Commit Graph

498 Commits

Author SHA1 Message Date
CTCaer
2b87c39a7a nyx: wait for the first frame to render
Needed for lcd oem clones on oled sku because of no fade in support.
2026-02-22 02:28:28 +02:00
CTCaer
d493f0d040 nyx: update for new touch driver changes 2026-02-20 02:52:12 +02:00
CTCaer
09322216c4 nyx: parted: remove android 10 references
Additionally, swap Legacy and Dynamic button sides and state dynamic is preferred.
2026-02-15 02:42:22 +02:00
CTCaer
c8eef39bd3 nyx: tools: swap result check for touch ito test 2026-02-15 02:40:34 +02:00
CTCaer
634d96ea66 nyx: fix launch rolling boot entry names
Somehow this broke half a decade ago and it went unnoticed... which is good.
Fix it and make measurements fully proper.
2026-02-12 22:02:04 +02:00
CTCaer
cc94573dcb nyx: use renamed bm92t function 2026-02-12 21:59:03 +02:00
CTCaer
5cb44753fc nyx: adjust sdmmc dma buffer name 2026-02-12 21:41:21 +02:00
CTCaer
6c820067a7 nyx: lvgl: complete black theme and add options
Since, this has the side-effect to make any theme color component from 0x0B to 0xC7
work, add theme background controls in Nyx Options.
Additionally, set shadow color to black and fix inactive buttons on transparent styles.
2026-02-12 05:59:16 +02:00
CTCaer
5cca9025b0 nyx: deduplicate window creation functions
Also rename mbox_action and fix a double lv obj deletion in partition manager.
2026-02-07 00:36:19 +02:00
CTCaer
28ebdc213e nyx: handle exFAT truncation in stat/backup
It's possible for the overflow check to fail if exFAT and file size is big enough.
(4GB + total_size)

So check it properly.
This avoids unnecessary copying before RAM disk gets filled and copy errors out.

No other check is needed since max capacity is RAM disk size.
2026-01-18 21:01:54 +02:00
CTCaer
af0f957ddd nyx: constrain reboot to OFW a bit
Disable if T210 and real dram id is 7 since this will fatal nx bootloader.
If T210B01 and fake id is dual rank and higher density than real id, show a warning.
Booting HOS like that can cause performance degradation and sometimes crashes.
How worse it is, depends on ram chips and selected unmatched config.
2026-01-15 20:14:30 +02:00
CTCaer
3af777f839 Bump hekate to v6.5.0 and Nyx to v1.9.0 2026-01-14 05:10:05 +02:00
CTCaer
f0dde780f4 hekate/nyx: remove coreboot support
Everything external is finally updated and beyond parity with old things that needed it.
2026-01-12 04:04:08 +02:00
CTCaer
02484ae3b7 nyx: always show console stats
When main Joy-Con or all are disconnected, always show Joy-Con debug info.
Additionally, always allow opening/closing console window with the secondary one,
in the same conditions.
2026-01-07 00:20:10 +02:00
CTCaer
e558d0c2c4 nyx: options: make sure var has a value in all -O# 2026-01-06 23:20:45 +02:00
CTCaer
1d2a7631d9 nyx: update rng calls based on new bdk 2026-01-06 23:04:26 +02:00
CTCaer
bb1087006a hekate/nyx: update sha calls based on new bdk 2026-01-06 22:59:53 +02:00
CTCaer
ee1b0db130 hekate/nyx: update aes calls based on new bdk 2026-01-06 22:49:09 +02:00
CTCaer
520bce08cf nyx: add joycon charging debug info 2025-12-27 06:30:36 +02:00
CTCaer
69ab954119 hekate/nyx: remove last calloc references 2025-12-25 12:50:24 +02:00
CTCaer
b90935ac16 nyx: info: update 20nm wafer bounds 2025-12-17 06:54:57 +02:00
CTCaer
c78b94b0ac nyx: info: unlocked T210B01 fuses dumping support 2025-12-17 06:51:04 +02:00
CTCaer
ac60695b24 nyx: parted: remove invisible btns in eMMC mode 2025-12-17 06:34:42 +02:00
CTCaer
468544ce1e nyx: add a small stall in lvgl loop
EMC CC should not run in less than 20us.
2025-12-17 06:33:05 +02:00
CTCaer
73d96b7ca8 hos/l4t: deduplicate sc7exit-b01 load
And remove obsolete MWS (L4T one deprecated it 3 years ago).
2025-12-17 06:28:36 +02:00
CTCaer
768824df33 nyx: options: add month/date checks for roller
Now the roller will return back automatically if day can't be set for selected month.
Additionally, fix the check when saving.
2025-12-01 14:19:03 +02:00
CTCaer
03a9c2d75c nyx: info: add wafer graph with die x/y placement 2025-12-01 14:16:26 +02:00
CTCaer
84bf634e33 nyx: info: streamline hw info from fuses
- Compact and group relevant values together
- Use actual value name instead of register name where possible
- Fix LOT code masking
- Fully parse and show LOT code (it's the same marking on die)
- Correct X coordinate parsing (9bit 2s complement)
- Add product code
2025-12-01 14:15:18 +02:00
CTCaer
6cf7c645df nyx: fix bt pairing dumping 2025-11-27 12:37:36 +02:00
CTCaer
5775b3c47e nyx: info: add forced 8GB ram info 2025-11-27 12:36:20 +02:00
CTCaer
364465399e hekate/nyx: use minerva storage and panel id 2025-11-27 11:28:26 +02:00
CTCaer
43dec3021f nyx: info: add hos version for 22 fuses burnt 2025-11-16 21:54:03 +02:00
CTCaer
3eab7889bf nyx: parted: do not allow FULL on upgraded eMMC
It's not allowed on creation anyway because of unknown HOS USER size factors
2025-11-14 18:49:41 +02:00
CTCaer
453ec18048 nyx: part: extend Fix Hybrid MBR/GPT functionality
- Allow invalid/out-of-bounds and empty partitions to be removed from GPT
- Add fix for wrong emuMMC offset because of older bugged Android Dynamic scheme
2025-11-10 15:28:41 +02:00
CTCaer
b461bfc846 nyx: info: update SD errors after a bench session 2025-11-10 13:53:43 +02:00
CTCaer
e38cff815b nyx: info: say when sbk fuses can't be read
Additionally, swap the IDDQ real with raw values.
2025-11-10 13:52:43 +02:00
CTCaer
5d75b01491 nyx: fix a mem leak on closing emummc change win 2025-11-10 13:50:07 +02:00
CTCaer
50d56c7b4b nyx: part: add support for max 24GB resized emuMMC
If a partition is added manually, 28GB is the max allowed to be created.
2025-11-07 13:33:34 +02:00
CTCaer
91e2f6d9db nyx: backup/restore UX improvements
- Fix the verification % and bar if restored backup is smaller than partition
- Use orange bar for restoring when writing to eMMC/emuMMC.
- Fix bar color on restoring after verification
- Allow verification to be aborted for all parts in partial mode (FAT32 or small card)
2025-08-27 15:56:04 +03:00
CTCaer
3896b7cb8f nyx: part mgr: remove gpt 126 entries check
It's done before to validate GPT anyway
2025-08-27 15:48:24 +03:00
CTCaer
21c9e3f81f hekate: use the new dirlist 2025-08-27 15:21:46 +03:00
CTCaer
216f579527 nyx: tools: correct the backup tool description 2025-08-08 15:37:58 +03:00
CTCaer
b33ab240f2 nyx: boost dump pkg1/2 functionality
The tool can now dump main and safe pkg1/2.
Additionally, it can identify if FS is exfat or not and set the proper filename.
(FAT32 only FS will still use FS.kip1)
Lastly, this will also dump and decrypt the main/safe BCT structures.
2025-08-08 15:34:17 +03:00
CTCaer
885cc195c0 hos: refactor keyblob to eks and kb to mkey
Use the official name for keyblob which is EKS.
For that reason the keyblob version enum is renamed to master key version.
2025-08-08 15:29:02 +03:00
CTCaer
db5cc323f2 nyx: do communication checks in battery info
If communication with an IC fails, an error will show up.
2025-08-08 15:11:32 +03:00
CTCaer
f013c54a23 nyx: show warning colors if sd vendor is fake 2025-08-08 15:10:01 +03:00
CTCaer
af71f46b12 config: utilize devmode variable
This holds the NX hw state.
2025-08-08 15:07:48 +03:00
CTCaer
2ea496d9d1 config: move externs into header 2025-08-08 15:03:56 +03:00
CTCaer
081f8b9664 nyx: deduplicate jc bt pairing dumping 2025-08-08 14:56:02 +03:00
CTCaer
75993938d0 nyx: invalidate time and add dst support
The invalidation is needed for dst to work as we don't know when user
set the clock.
2025-08-08 14:54:58 +03:00