Commit Graph

100 Commits

Author SHA1 Message Date
CTCaer
84234948cd nyx: parted: remove android 10 references
Additionally, swap Legacy and Dynamic button sides and state dynamic is preferred.
2026-03-27 20:08:45 +01:00
CTCaer
29c64c5458 nyx: adjust sdmmc dma buffer name 2026-03-27 20:08:45 +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
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
d5a1bdf9bf nyx: update rng calls based on new bdk 2026-03-27 10:00:26 +01:00
CTCaer
bb20eabea2 nyx: parted: remove invisible btns in eMMC mode 2026-03-27 09:57:23 +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
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
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
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
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
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
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
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
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
Christoph Baumann
76508c74e8 file based emmc emummc, some other stuff 2025-05-12 01:24:01 +02:00
Christoph Baumann
241b0f2274 . 2025-05-06 12:37:46 +02:00
Christoph Baumann
ba6073610c support for android emmc 2025-05-02 17:08:49 +02:00
Christoph Baumann
1ddf9690b1 l4t flashing for emmc 2025-05-02 11:38:44 +02:00
Christoph Baumann
f4d8ee4efc fix ums storage after partitioning 2025-05-02 11:15:52 +02:00
Christoph Baumann
4f72660603 fuck 2025-05-02 01:43:51 +02:00
Christoph Baumann
61e91f79c1 emmc partitioning mostly fixed 2025-04-30 01:36:55 +02:00
Christoph Baumann
bad8566c58 account for 1mb for backup gpt 2025-04-29 12:48:44 +02:00
Christoph Baumann
28796b417b fix indicators, add emmc_mount, various fixes 2025-04-29 12:36:32 +02:00
Christoph Baumann
0be3fd4f64 only show remaining bar when it has non negligible size 2025-04-26 23:42:37 +02:00
Christoph Baumann
3e9def3608 Add emuSD to partition manager, finer emuMMC partition size control, allow double android 2025-04-26 23:37:45 +02:00
Christoph Baumann
678ce79a54 emmc partition layout selection, adjusted emummc partition size steps 2025-04-26 02:34:43 +02:00
Christoph Baumann
b11e8095ed . 2025-04-25 15:29:22 +02:00
Christoph Baumann
337f219ac6 Support for NYX to load from BOOT1/GPP/SD in that order, UMS option to mount whatever volume is selected as boot storage 2025-04-24 12:06:15 +02:00
CTCaer
69acef4db3 nyx: part manager: change GPT partition colour
Since many confuse that on MBR
2024-10-04 22:19:01 +03:00
CTCaer
cdc1012f50 nyx: part manager: add version on android button
Check partition scheme for android and add the version on the flash button
2024-10-04 22:18:20 +03:00
CTCaer
7b60c3d162 hekate/nyx: constify more args 2024-10-04 22:09:06 +03:00
CTCaer
aacae78420 nyx: partition manager error message improvement
Inform user that there's an issue with bootloader folder when a partial backup is done during partitioning.
2024-07-02 18:04:09 +03:00
CTCaer
e46f54d4e6 hekate/nyx: use static/const where it should 2024-06-02 07:38:07 +03:00
CTCaer
5453c593a3 hekate/nyx: adhere to hw_deinit change 2024-05-19 10:49:46 +03:00
CTCaer
4effaab241 hekate/nyx: use zalloc where appropriate 2024-03-27 09:16:06 +02:00
CTCaer
82925845e3 hekate/nyx: utilize existing block size defines 2024-03-12 15:53:05 +02:00
Thomas Makin
f37ae083ae nyx: add android dynamic partition support
Will be used in Android >=13 for larger capacity and future-proofing.
New full system size: 6 GiB.

Partitions:
- boot
- recovery
- dtb
- misc
- cache
- super
- userdata
2024-02-16 17:17:12 +02:00