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
CTCaer
2218ae228f
nyx: changes to partition manager
2022-12-20 16:50:04 +02:00
CTCaer
efe6e2f206
nyx: also backup payload.bin if full not possible
...
Partition manager does a backup on the following if it can't do a full backup:
- bootloader (existed)
- Mariko Warmboot Storage (MWS) (existed)
- payload.bin (newly added)
2022-10-11 06:36:06 +03:00
CTCaer
5cdee01c05
nyx: part manager: rename twrp to recovery
...
And add support for both twrp.img and recovery.img.
2022-10-11 06:31:24 +03:00
CTCaer
f41d6be8d4
nyx: do not allow padding buttons to be pressed
...
So closing the window from a miss-touch can be avoided.
2022-10-11 04:32:53 +03:00
CTCaer
3369dcd110
nyx: if no full backup, backup MWS folder also
...
When full backup is not possible, together with bootloader folder, also backup mariko warmboot storage if it exists.
2022-06-25 06:47:12 +03:00
CTCaer
677770bfee
nyx: offer wipe if partitioning can backup files
2022-06-25 06:41:34 +03:00
CTCaer
0e526bf9e8
nyx: tools: fix hybrid mbr changes
...
- MBR is now checked if it has GPT partition, in order to avoid revival of a dead but valid GPT
- MBR secret attributes can now be cleared even if there's no GPT
2022-05-27 04:44:42 +03:00
CTCaer
fb45804adf
nyx: refactor various functions and add comments
...
Emphasis on partition manager deduplication and remove of some magic numbers.
2022-05-16 13:28:38 +03:00
CTCaer
62d68b33c3
nyx: tools: use actual gpt entries num in part manager
2022-05-08 05:59:57 +03:00
CTCaer
c51877d588
nyx: tools: add mbr hidden attr fixer in hybrid mbr fixer
2022-05-08 05:59:32 +03:00
CTCaer
471f3c50ea
nyx: tools: do not allow part manager backup/restore to hang on corruption
2022-05-08 05:57:59 +03:00
CTCaer
af1ece903b
nyx: Do not reserve alignment space if no extra partitions
2022-03-23 00:24:51 +02:00
CTCaer
4a13a1d190
nyx: fix aula full emummc creation (for real this time)
2022-01-29 01:39:01 +02:00
CTCaer
aee5861f65
hekate/nyx: improve cyclomatic complexity
2022-01-29 01:23:40 +02:00
CTCaer
d52283f0c2
nyx: add support for FULL emuMMC for OLED model
...
That supports creating a 64GB emuMMC partition.
That's added for consistency.
Because it's a waste of space, better use resized emuMMC.
2022-01-20 14:11:36 +02:00
CTCaer
28167b7304
hekate/nyx: move emmc ops to bdk and adhere to changes
2022-01-20 13:15:04 +02:00
CTCaer
6092994240
nyx: sd part: set attributes to folders also on restore
2022-01-16 01:38:47 +02:00
CTCaer
5894062b93
hekate/nyx: utilize bdk global header
2022-01-16 00:04:34 +02:00
CTCaer
91b08f10fd
hekate/nyx: use size defines where applicable
2021-10-01 15:45:25 +03:00
CTCaer
609a76045a
nyx: remove always true check
2021-09-26 12:16:04 +03:00
CTCaer
66b7130641
nyx: align total sectors to guarantee alignment
...
Helps on some sd cards with weird total sectors number.
2021-05-11 09:57:29 +03:00
CTCaer
f66ddca100
nyx: make hybrid mbr fixer smarter
...
Allow usage of FatFS simple gpt parsing for setting the fat partition in case its label is not hos_data.
Additionally allow hos_data partition to not be the first one.
2021-03-17 09:20:01 +02:00
CTCaer
6981c59de3
gpt: properly check that GPT is valid
2021-03-17 09:14:50 +02:00
CTCaer
0e12d8545b
Decrease stack usage on various functions
2021-03-17 09:08:34 +02:00
CTCaer
38ce46a158
nyx: Add more info while formatting emuMMC USER
2021-02-08 03:52:23 +02:00
CTCaer
c5152f6a9d
nyx: Correct double emuMMC values in part manager
2021-02-06 17:12:09 +02:00
CTCaer
a31bedda97
ramdisk: Sypport variable size
2021-02-06 04:15:19 +02:00
CTCaer
a25c82a8ce
nyx: Allow fix hybrid mbr tool to always run
2021-02-06 04:10:50 +02:00
CTCaer
8ccc47dfa5
nyx: Add resized raw emuMMC support in partition manager
2021-02-06 04:10:02 +02:00
CTCaer
d1f0ea3de7
Formalize language in various messages
2021-01-11 21:39:44 +02:00
CTCaer
dbc8f4a4c2
nyx: Fix an underflow on Android UDA partition
2021-01-11 21:32:35 +02:00
CTCaer
74b91b0085
nyx: Cover edge case on backup/restore checks for partition manager
...
An edge was fixed where the checks for if it's possible to backup files for partition manager would overflow and end up with a value < 1GB and thus proceeding to the backup/restore process.
2021-01-10 02:09:03 +02:00
CTCaer
53c9ca8072
nyx: Fix nyx hanging when updating the partition buttons
2021-01-06 21:29:18 +02:00
CTCaer
1a9372b4ce
nyx: Add MSC partition for L4T Android
2021-01-03 14:52:13 +02:00
CTCaer
87b91174ec
nyx: Disable Flash Linux/Android buttons if partitions not found
2021-01-03 14:51:48 +02:00
CTCaer
faaf801534
nyx: Add metadata copy in partitioning and extra warns
2020-12-28 05:34:01 +02:00
CTCaer
27b1f0e843
Various small fixes
2020-10-20 10:32:32 +03:00
CTCaer
e7900b11b4
nyx: Allow L4T last part to be unaligned
2020-09-02 13:11:03 +03:00
CTCaer
32e58d2bb3
hw init: Cosmetic refactoring
2020-07-17 18:08:27 +03:00
CTCaer
1f67251331
nyx: Use strcat whenever possible
2020-07-14 22:26:40 +03:00
CTCaer
6159284be6
nyx: Check for huge files in part manager backup
2020-06-15 15:05:47 +03:00
CTCaer
6e256d29c7
Utilize hekate's BDK for hekate main and Nyx
2020-06-14 16:45:45 +03:00
CTCaer
b0bcdeafac
nyx: Find best cluster size automatically
2020-06-14 13:07:42 +03:00
CTCaer
7b76015fd1
nyx: Fix an issue with hos partition initial size
2020-06-14 13:07:21 +03:00
CTCaer
465955c8f5
nyx: Use sd actual size for partition making
2020-06-14 13:06:43 +03:00
CTCaer
21548545fc
Equalize hekate main and Nyx sd based functions
2020-06-13 18:32:40 +03:00
CTCaer
d8b6aa3831
nyx: Correct the error message for format
2020-05-05 19:28:34 +03:00