Commit Graph

715 Commits

Author SHA1 Message Date
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
CTCaer
86bb96e01a nyx: part mgr: only copy metadata in mbr if they exist 2026-03-27 09:18:28 +01:00
CTCaer
9158036902 nyx: part mgr: improve layout 2026-03-27 09:11:32 +01:00
CTCaer
64a754509e nyx: use correct warning for emummc backup/restore 2026-03-27 09:10:44 +01:00
CTCaer
c3e971eb5b nyx: part mgr: use globals for storage and minsize
Allow setting these dynamically depending on application.
2026-03-27 09:10:44 +01:00
CTCaer
91caf7822f nyx: part mgr: disable next step if already done 2026-03-27 09:09:52 +01:00
CTCaer
b22b90e55e nyx: part manager: use u16 for names
Simplify logic and have readable partition names.
2026-03-27 09:08:48 +01:00
Christoph Baumann
e2968c69dc fix button map styling 2025-10-10 22:28:41 +02:00
Christoph Baumann
c7e1f5c09f fix emmc end 2025-05-25 15:30:33 +02:00
Christoph Baumann
50170f7cf2 set legacy bootable flag on fat partition if android or l4t is enabled 2025-05-23 18:06:06 +02:00
Christoph Baumann
52dba9a5a5 use correct storage when checking if can flash android 2025-05-23 18:05:27 +02:00
Christoph Baumann
d6fda80057 remove prints, fix backup/restore 2025-05-21 12:31:17 +02:00
Christoph Baumann
37a016122c fix message 2025-05-21 00:04:44 +02:00
Christoph Baumann
9b95d026f3 support for file based and sd partition based emusd 2025-05-20 00:40:48 +02:00
Christoph Baumann
865b9dc1a4 Change some messages and other stuff 2025-05-19 01:27:30 +02:00
Christoph Baumann
af39c76b3a Fix size partition indicators 2025-05-13 18:06:32 +02:00
Christoph Baumann
657b895aaf Fix Android partition size slider range 2025-05-13 17:02:36 +02:00
Christoph Baumann
52a1e0ba67 Correct android reserved size 2025-05-13 16:28:12 +02:00
CTCaer
082490deda hos: add 20.0.0 support 2025-05-13 16:27:36 +02:00
CTCaer
72b0f42514 nyx: info: move sd FAT info after showing errors 2025-05-13 16:27:25 +02:00
CTCaer
c91cf80f8b nyx: switch to IRAM for stack 2025-05-13 16:25:43 +02:00
CTCaer
dca5df653b nyx: update some messaging 2025-05-13 16:25:33 +02:00
CTCaer
db08fab876 nyx: update clock min year and about to 2025 2025-05-13 16:25:14 +02:00
CTCaer
9adca44fe4 nyx: use the now exported window custom action 2025-05-13 16:20:52 +02:00
CTCaer
c202b4afb1 nyx: emummc: guard for pointer arithmetics
And also explain what type of backup fails on errors.
2025-05-13 16:19:14 +02:00
CTCaer
7dad628dfc hos: update some comments
And remove unneeded checks.
2025-05-13 16:17:10 +02:00
CTCaer
8ba90ae55f nyx: info: consider FST2 touch panel unknown 2025-05-13 16:16:58 +02:00
CTCaer
fe61c1a374 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-05-13 16:16:53 +02:00
CTCaer
03b30a23c4 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-05-13 16:16:24 +02:00
CTCaer
4f0bba605f nyx: info: use a more advanced ram detection 2025-05-13 16:15:51 +02:00
CTCaer
4cfbef5062 nyx: info: use custom action for hw info window 2025-05-13 16:15:35 +02:00
CTCaer
a8a67ee775 nyx: info: use renamed sd storage member 2025-05-13 16:10:27 +02:00
Christoph Baumann
76508c74e8 file based emmc emummc, some other stuff 2025-05-12 01:24:01 +02:00
Christoph Baumann
79b6df64d6 fix emummc status 2025-05-08 01:52:05 +02:00
Christoph Baumann
0a7a004839 file based emummc on emmc 2025-05-08 01:48:04 +02:00
Christoph Baumann
39d99a77fe remove debug prtint 2025-05-07 17:28:56 +02:00