Commit Graph

775 Commits

Author SHA1 Message Date
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
57e6875b42 hekate/nyx: update ctx keys calls based on new bdk 2026-03-27 09:59:42 +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
07229f1002 Restructure and refactor makefiles
- Allow rebuilds without rebuilding everything
 By detecting changes everywhere that matters (flags, objects and headers).
- Add progress bar
- Fully clean everything when clean goal is used
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
0edd5295d6 fatfs: set default date to 1/1/2026 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
3af536f954 nyx: do init always with lowest clock boost 2026-03-27 09:52:34 +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
1af22f6c45 hekate: add force 8GB ram config mode 2026-03-27 09:52:34 +01:00
CTCaer
4b796ab63f loader/hekate/nyx: utilize the new rsvd cfg 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
10521a32d3 hos: add 21.0.0 support 2026-03-27 09:48:54 +01:00
CTCaer
82a97aae53 nyx: extend bpmpclock
Add 2 more slower modes.
2026-03-27 09:48:54 +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
961acef306 hos: simple refactor of defines 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
CTCaer
93e3aa7830 nyx: part mgr: fix android super partition size
The size was incorrectly set before and it would cause unalignment of later partitions.
2026-03-27 09:22:49 +01:00