Commit Graph

694 Commits

Author SHA1 Message Date
CTCaer
dcf8e76441 loader/hekate/nyx: utilize the new rsvd cfg 2025-11-27 12:28:19 +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
69ac0292f0 hos: add 21.0.0 support 2025-11-11 14:17:04 +02:00
CTCaer
119fcdf9e8 nyx: extend bpmpclock
Add 2 more slower modes.
2025-11-11 13:54:33 +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
de91ab507e hos: simple refactor of defines 2025-08-08 15:36:59 +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
CTCaer
aa65e368ba 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.
2025-06-22 14:44:43 +03:00
CTCaer
97707e3401 nyx: simplify HOS bis key validation and export it 2025-06-22 14:30:27 +03:00
CTCaer
dc744b2ff8 nyx: fix resized emummc backup GPT
Additionally, fix resized emuMMC GPT partition size
2025-06-22 14:28:07 +03:00
CTCaer
f990190765 nyx: part mgr: fix 64GB emuMMC size
Fix size so the emuMMC data can be aligned properly.
2025-06-22 14:25:39 +03:00
CTCaer
f3e248c0a7 nyx: part mgr: fix android super partition size
The size was incorrectly set before and it would cause unalignment of later partitions.
2025-06-22 14:22:12 +03:00
CTCaer
2fd7163e0d nyx: part mgr: only copy metadata in mbr if they exist 2025-06-22 14:19:34 +03:00
CTCaer
6e93cc42c1 nyx: part mgr: improve layout 2025-06-22 14:18:16 +03:00
CTCaer
d01362539a nyx: use correct warning for emummc backup/restore 2025-06-22 14:11:59 +03:00
CTCaer
525746e968 nyx: part mgr: use globals for storage and minsize
Allow setting these dynamically depending on application.
2025-06-22 14:10:07 +03:00
CTCaer
905c83b568 nyx: part mgr: disable next step if already done 2025-06-22 14:03:36 +03:00
CTCaer
a3f1ae4a06 nyx: part manager: use u16 for names
Simplify logic and have readable partition names.
2025-06-22 13:51:10 +03:00
CTCaer
466beedb28 hos: add 20.0.0 support 2025-04-30 09:22:04 +03:00
CTCaer
57e31c09f9 nyx: info: move sd FAT info after showing errors 2025-04-30 09:15:52 +03:00
CTCaer
ef9a48033d nyx: switch to IRAM for stack 2025-04-30 08:44:27 +03:00
CTCaer
06f0d2b83f nyx: update some messaging 2025-04-30 08:43:26 +03:00
CTCaer
9e5860e00b nyx: update clock min year and about to 2025 2025-04-30 08:42:00 +03:00
CTCaer
a1b13214bd nyx: partition: correct android reserved size 2025-04-30 08:40:55 +03:00
CTCaer
51512a30bd nyx: improve Nyx reload and auto reload
Check that Nyx exists and also improve detection when SD is removed.
2025-04-30 08:40:25 +03:00
CTCaer
4fff346150 nyx: use the now exported window custom action 2025-04-30 08:38:58 +03:00
CTCaer
9f29f93078 nyx: emummc: guard for pointer arithmetics
And also explain what type of backup fails on errors.
2025-04-30 08:33:08 +03:00
CTCaer
21ecb526af hos: update some comments
And remove unneeded checks.
2025-01-24 16:49:32 +02:00
CTCaer
571496d293 nyx: info: consider FST2 touch panel unknown 2025-01-24 16:46:31 +02:00
CTCaer
ea01782c80 nyx: info: validate A2 support
Show info about A2 support.
Color coded A2 list:
White: No support
Green: Fully supported
Yellow: CMDQ/Cache needs a quirk
Red: Broken
2025-01-24 16:45:36 +02:00
CTCaer
9fbdb39390 nyx: info: fully update sdmmc benchmark
- Changed to relevant A2 spec testing sizes
- Added 95th and 5th percentile IOPS for random test
 Standard numbers in the industry and also helps with pinpointing latency issues
- Size of info and benchmark adjusted so important info underneath is still showing
- Refactored
2025-01-24 16:32:42 +02:00
CTCaer
855bf0ba01 nyx: info: use a more advanced ram detection 2025-01-24 16:26:27 +02:00
CTCaer
d27ba04077 nyx: info: use custom action for hw info window 2025-01-24 16:22:19 +02:00