Commit Graph
100 Commits
Author SHA1 Message Date
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 28594c8777 bdk: rtc: add auto dst support and fix an off-by-one 2025-08-08 14:47:47 +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 a1a6111819 bdk: lvgl: set long press to 5s 2025-06-22 13:39:37 +03:00
CTCaer 01c414a180 bdk: fatfs: optimize format and fix PrFILE2 SAFE
The FAT tables are now always aligned 1MB which can increase the FAT traversing
speed. Additionally, always aligning the FAT tables to minimum 16KB fixes a case
where PrFILE2 SAFE could be disabled because of unaligned FAT.
2025-06-22 13:38:56 +03:00
CTCaer 9fe953bee1 bdk: use f_unmount instead of null f_mount 2025-06-22 13:34:42 +03:00
CTCaer 05cc9b6985 bdk: refactor several comments and defines 2025-06-22 13:32:32 +03:00
CTCaer d9fda9411b bdk: update memory map to increase ramdisk size
From 1040 to 1280MB.
2025-06-22 13:27:25 +03:00
CTCaer 40b05ea5ea bdk: usb: revamp hid logic
- Add support for GET REPORT. Allows OS to get a single input report.
- Add support for SET_IDLE. Allows OS to control when to send input reports

The SET IDLE and the underlying logic change fixes several things:
- The old issue of congestion in some systems.
- The new bug that would not allow setup packets to be received because mode
 was set to only send when there are changes.
- Now this starts properly as the old code but allows to be changed by OS on
 demand, while continuing servicing setup packets.
2025-06-22 13:24:47 +03:00
CTCaer e1ea05d53a bdk: usb: small refactor 2025-06-22 13:16:10 +03:00
CTCaer 88c0d13f0b bdk: usb: remove unused endpoint from hid 2025-06-22 13:10:47 +03:00
CTCaer a1e8ddb2a7 bdk: max17050: add version check 2025-06-22 13:00:50 +03:00
CTCaer 39de4464ee bdk: bq24193: add version check 2025-06-22 13:00:27 +03:00
CTCaer 835dba384b bdk: bm92t: add version check 2025-06-22 13:00:01 +03:00
CTCaer f365dd40f4 bdk: smmu: add smmu disable 2025-06-22 12:52:55 +03:00
CTCaer 1fbecfc76a bdk: display: update comments
And also set WinD reg updating to HSYNC
2025-06-22 12:50:27 +03:00
CTCaer d851c16ce7 bdk: clock: refactor common PLL defines 2025-06-22 12:47:26 +03:00
CTCaer 5e8b01f727 Bump hekate to v6.3.1 2025-05-28 04:54:14 +03:00
CTCaer 95fede4418 hos: bail if requested emummc patch is not applied 2025-05-28 04:53:58 +03:00
CTCaer f27934388e hos: 20.1.0 FS support 2025-05-28 04:51:34 +03:00
CTCaer 47f8f3d6da Bump hekate to v6.3.0 and Nyx to v1.7.0 2025-04-30 09:28:34 +03:00
CTCaer ff2b275794 Update readme
Add sys/l4t folder description, simplify some wording and also add `sld_type` key.
2025-04-30 09:28:24 +03:00
CTCaer 85fa62cafc l4t: use strtol for sld_type 2025-04-30 09:27:34 +03:00
CTCaer 75bac23d01 Change several makefile prints
Silence some, fix newline to others.
2025-04-30 09:24:42 +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 b3194f6379 bdk: mc: fix warning for arbiter check 2025-04-30 09:14:32 +03:00
CTCaer 129a70c32d bdk: se: heap is not used anymore 2025-04-30 09:13:55 +03:00
CTCaer 811971dfa0 bdk: als: no need to check above 255 with u8 2025-04-30 09:13:19 +03:00
CTCaer f3b2d077e3 pkg3: actually skip if instructed 2025-04-30 09:12:39 +03:00
CTCaer 01b5876010 Add readme info about pkg3kip1skip 2025-04-30 08:58:49 +03:00
CTCaer 0981894416 Enable type limits warning 2025-04-30 08:58:26 +03:00
CTCaer 16428c259c hos: secmon exo: always set private debug mode
It should always be enabled for CFW mode.
2025-04-30 08:55:38 +03:00
CTCaer ed816a44c9 hos: secmon exo: fix system_settings.ini parsing
A previous change guarded the setting with exosphere.ini parsing succeeding.
Correct this, so it always gets parsed.
2024-06-19 21:54:14 +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 0c8cd08b55 hos: add package3 kip skip option
By using `pkg3kip1skip`, any kip internal name that fully matches will be skipped from being loaded and the stock one will be used.

Multiple can be set by setting more lines with it or by using a comma separator.

Only for advanced users.
2025-04-30 08:30:57 +03:00
CTCaer f110f97099 hos: refactor fss to pkg3
To `fss0` config is now renamed to `pkg3`.
`fss0` still works but is deprecated.
Additionally `fss0experimental` key is now renamed to `pkg3ex`
2025-04-30 08:27:36 +03:00
CTCaer 08872325c8 bdk: se: add 0 byte sha256 support 2025-04-30 08:15:15 +03:00
CTCaer c07a155cc1 bdk: small refactoring 2025-04-30 08:14:32 +03:00
CTCaer 1d75c30c61 bdk: display: update color mode definitions 2025-04-30 08:11:51 +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 b9496f81b1 bdk: sdmmc: add extention regs read/parse 2025-01-24 16:42:14 +02:00
CTCaer 94b36f658c bdk: utils: added qsort compare functions
int qsort_compare_int(const void *a, const void *b);
int qsort_compare_char(const void *a, const void *b);
int qsort_compare_char_case(const void *a, const void *b);
2025-01-24 16:33:51 +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
CTCaer 36d415461e fatfs: set default year to 2025 2025-01-24 16:17:05 +02:00
CTCaer 96a2483aca l4t: allow SLD type to be changed or disabled 2025-01-24 16:15:53 +02:00
CTCaer 968528ebfd l4t: remove unchanged carveout config clear
Also allow wrong dram types to be mapped for T210B01.
The default table used is 0.
2025-01-24 16:15:13 +02:00
CTCaer 3630c2a099 pkg2: fix ini size when not using mesosphere
Important in case the same ini1 space is used and stock kernel is new.

Additionally, also set the hash for the 3rd section, even if empty.
2025-01-24 16:11:36 +02:00
CTCaer 854df2c4e6 hos: config: exit the loop after matching cfg key 2025-01-24 16:02:31 +02:00
CTCaer 3f25cfba76 hos: rename atmosphere key to kernelprocid
So it reflects what it does.
2025-01-24 16:00:14 +02:00
CTCaer 29be544167 hos: small refactor
Also exiting hos_launch is considered always an error.
2025-01-24 15:53:52 +02:00
CTCaer 7ac47b9ffe bdk: dirlist: switch to alphabetical ordering 2025-01-24 15:46:27 +02:00
CTCaer 595ac2c11e bdk: sdmmc: refactor error checking on rw
And also check if card status is ok after a read/write.
2025-01-24 15:44:33 +02:00
CTCaer dcd4e4c4ec bdk: sdmmc: check that cmd timed out if SDSC
Instead of assuming that, check it.
This fix will make SDUC not to be assumed as SDSC.
2025-01-24 15:40:38 +02:00
CTCaer 018ed3f38a bdk: sdmmc: update unstuff_bits to use mod
Since unstuff_bits only supports 128bits, instead of subtracting the correct amount of bits with the offset array, use % 128.
2025-01-24 15:39:17 +02:00
CTCaer 0e01a5caa9 nyx: info: use renamed sd storage member 2025-01-24 15:31:15 +02:00
CTCaer e030a4ad6d bdk: sdmmc: small refactor 2025-01-24 15:30:10 +02:00
CTCaer 5ce22a67dc bdk: sdmmc: check for out bounds access 2025-01-24 15:21:20 +02:00
CTCaer 6c958f16b8 bdk: ff: check for cltbl malloc success 2025-01-24 15:18:35 +02:00
CTCaer 9ba94bae2d bdk: se: remove malloc usage 2025-01-24 15:15:03 +02:00
CTCaer a47a6d32c6 bdk: display: remove malloc usage 2025-01-24 15:13:28 +02:00
CTCaer 3250b2e32a Bump hekate to v6.2.2 and Nyx to v1.6.4 2024-10-12 17:51:00 +03:00
CTCaer e3eee73318 nyx: do not spam log on partition restore 2024-10-12 17:50:54 +03:00
CTCaer 81fb318f6b hos: add 19.0.0 support 2024-10-11 13:04:16 +03:00
CTCaer 84f3f7d92a nyx: add 400us sleep in lv task loop
Tiny power save.
2024-10-10 18:28:29 +03:00
CTCaer 788ecb60a3 l4t: bump api to 7 2024-10-10 18:26:19 +03:00
CTCaer 14413ae6bd bdk: timer: restore rtc timer spinlock 2024-10-10 18:22:03 +03:00
CTCaer 1849ac6667 nyx: optimize battery info
- Remove input voltage limit
- Add an extra PD profile
2024-10-10 15:21:32 +03:00
CTCaer 1bec721baf hos: add missing deinit 2024-10-10 15:21:32 +03:00
CTCaer 6fa844b031 hekate/nyx: use updated dirlist 2024-10-09 15:22:16 +03:00
CTCaer d2fc6379c6 bdk: utils: improve dirlist
Stop doing unnecessary copies during reordering and use pointers for that.
2024-10-09 15:14:44 +03:00
CTCaer f15af01727 readme: explain what stock basically is even more 2024-10-09 15:10:23 +03: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 63c4bdd7d9 nyx: no need to double check for errors 2024-10-04 22:16:36 +03:00
CTCaer 0e23d0e0fd nyx: name button list object appropriately 2024-10-04 22:14:51 +03:00
CTCaer 9463f8aa7d nyx: fix memleak when 10 launcher items are shown 2024-10-04 22:14:23 +03:00