Commit Graph

528 Commits

Author SHA1 Message Date
CTCaer
2939f69928 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-03-27 20:08:45 +01:00
CTCaer
2c071eb878 nyx: use renamed bm92t function 2026-03-27 20:08:45 +01:00
CTCaer
29c64c5458 nyx: adjust sdmmc dma buffer name 2026-03-27 20:08:45 +01:00
CTCaer
27bc159831 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-03-27 20:05:57 +01:00
NaGa
d24debc642 nyx: deduplicate window creation functions
Also rename mbox_action and fix a double lv obj deletion in partition manager.
2026-03-27 20:02:53 +01:00
CTCaer
ef84b9804c 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-03-27 10:02:21 +01:00
CTCaer
16b14b74c2 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-03-27 10:02:21 +01:00
CTCaer
ef2247a3f0 Bump hekate to v6.5.0 and Nyx to v1.9.0 2026-03-27 10:01:21 +01:00
CTCaer
22dd1a42c7 hekate/nyx: remove coreboot support
Everything external is finally updated and beyond parity with old things that needed it.
2026-03-27 10:01:20 +01:00
CTCaer
2d3b6e1a39 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-03-27 10:00:26 +01:00
CTCaer
1651316f72 nyx: options: make sure var has a value in all -O# 2026-03-27 10:00:26 +01:00
CTCaer
d5a1bdf9bf nyx: update rng calls based on new bdk 2026-03-27 10:00:26 +01:00
CTCaer
0cd9a5c80e hekate/nyx: update sha calls based on new bdk 2026-03-27 09:59:42 +01:00
CTCaer
ab794bc61d hekate/nyx: update aes calls based on new bdk 2026-03-27 09:59:42 +01:00
CTCaer
18a3dd6374 nyx: add joycon charging debug info 2026-03-27 09:58:48 +01:00
CTCaer
64a4f9db16 hekate/nyx: remove last calloc references 2026-03-27 09:57:59 +01:00
CTCaer
a8db6470ea nyx: info: update 20nm wafer bounds 2026-03-27 09:57:59 +01:00
CTCaer
e50a7c8bfd nyx: info: unlocked T210B01 fuses dumping support 2026-03-27 09:57:59 +01:00
CTCaer
bb20eabea2 nyx: parted: remove invisible btns in eMMC mode 2026-03-27 09:57:23 +01:00
CTCaer
330b463110 nyx: add a small stall in lvgl loop
EMC CC should not run in less than 20us.
2026-03-27 09:56:31 +01:00
CTCaer
4af99c9f78 hos/l4t: deduplicate sc7exit-b01 load
And remove obsolete MWS (L4T one deprecated it 3 years ago).
2026-03-27 09:56:31 +01:00
CTCaer
5c04530bfc 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.
2026-03-27 09:53:33 +01:00
CTCaer
ef5033fb0e nyx: info: add wafer graph with die x/y placement 2026-03-27 09:53:33 +01:00
CTCaer
952a7e8aa2 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
2026-03-27 09:53:33 +01:00
CTCaer
5bc98c4b19 nyx: fix bt pairing dumping 2026-03-27 09:52:34 +01:00
CTCaer
2b353c1336 nyx: info: add forced 8GB ram info 2026-03-27 09:52:34 +01:00
CTCaer
cfcbb62768 hekate/nyx: use minerva storage and panel id 2026-03-27 09:51:47 +01:00
CTCaer
911b170b4d nyx: info: add hos version for 22 fuses burnt 2026-03-27 09:49:29 +01:00
CTCaer
36aa1b21ad nyx: parted: do not allow FULL on upgraded eMMC
It's not allowed on creation anyway because of unknown HOS USER size factors
2026-03-27 09:49:29 +01:00
CTCaer
daf832971e 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
2026-03-27 09:48:53 +01:00
CTCaer
3c260b1918 nyx: info: update SD errors after a bench session 2026-03-27 09:48:07 +01:00
CTCaer
6b4b20e0ac nyx: info: say when sbk fuses can't be read
Additionally, swap the IDDQ real with raw values.
2026-03-27 09:48:07 +01:00
CTCaer
0468877136 nyx: fix a mem leak on closing emummc change win 2026-03-27 09:48:07 +01:00
CTCaer
fba05d4e7a nyx: part: add support for max 24GB resized emuMMC
If a partition is added manually, 28GB is the max allowed to be created.
2026-03-27 09:46:51 +01:00
CTCaer
5437f9ce2c 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)
2026-03-27 09:44:58 +01:00
CTCaer
87e3ddadf7 nyx: part mgr: remove gpt 126 entries check
It's done before to validate GPT anyway
2026-03-27 09:44:58 +01:00
CTCaer
23ac454b1d hekate: use the new dirlist 2026-03-27 09:44:07 +01:00
CTCaer
b91ee67521 nyx: tools: correct the backup tool description 2026-03-27 09:43:28 +01:00
CTCaer
86a70c3431 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.
2026-03-27 09:43:28 +01:00
CTCaer
8bb483f20a 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.
2026-03-27 09:42:41 +01:00
CTCaer
e484986c8f nyx: do communication checks in battery info
If communication with an IC fails, an error will show up.
2026-03-27 09:42:41 +01:00
CTCaer
ba9863cca7 nyx: show warning colors if sd vendor is fake 2026-03-27 09:42:41 +01:00
CTCaer
760c93e92f config: utilize devmode variable
This holds the NX hw state.
2026-03-27 09:42:40 +01:00
CTCaer
48b2f20c88 config: move externs into header 2026-03-27 09:41:57 +01:00
CTCaer
d13088f177 nyx: deduplicate jc bt pairing dumping 2026-03-27 09:41:57 +01:00
CTCaer
f6a32b538f 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.
2026-03-27 09:41:57 +01:00
CTCaer
dd3b7d3ceb nyx: part mgr: add eMMC partition manager
The eMMC partition manager allows user the following:
- Resize HOS USER partition
- Add and flash Linux partitions
- Add and flash Android partitions

It is hidden and is accessible by holding the `Partition SD Card` button for
5 seconds.
2026-03-27 09:41:57 +01:00
CTCaer
a2d35fb90e nyx: simplify HOS bis key validation and export it 2026-03-27 09:30:05 +01:00
CTCaer
cca4f4c1fa nyx: fix resized emummc backup GPT
Additionally, fix resized emuMMC GPT partition size
2026-03-27 09:25:40 +01:00
CTCaer
0d3df99f76 nyx: part mgr: fix 64GB emuMMC size
Fix size so the emuMMC data can be aligned properly.
2026-03-27 09:23:37 +01:00