Commit Graph

752 Commits

Author SHA1 Message Date
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
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
cbac787cff Change several makefile prints
Silence some, fix newline to others.
2025-05-13 16:27:44 +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
fa561b70a4 Enable type limits warning 2025-05-13 16:26:32 +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