1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-13 22:06:46 +00:00
Commit graph

1456 commits

Author SHA1 Message Date
Kostas Missos
e2a8b36750 [PKG1] Add kernel patching
Add Disable Svc Verification and Debug mode.
Can be enabled via the hekate .ini

https://gist.github.com/roblabla/440f3ceaa0b2d3ca530c2a43fe258420
2018-06-03 22:27:15 +12:00
Kostas Missos
dac8cd83ec [LP0] Inform user that console halted :P
Actually this corrects sdram cfg parsing in LP0.
The cfg is missing 3 variables, which ultimately are unused in T210.

Remove them and fix LP0 configuration saving.
The console sleep, still does not work. But now it tries to enter/leave sleep and halts with backlight on.

At least, this reminds the user to power off the console to not deplete the battery completely.
2018-06-03 22:27:15 +12:00
Kostas Missos
54a0a353bc Bug fixes, wording, etc 2018-06-03 22:27:15 +12:00
Kostas Missos
d8251ab28b [Backup] Add dump verification 2018-06-03 22:27:15 +12:00
Kostas Missos
381b3fa7f0 [GFX] Fix hedump print last 1-16 bytes 2018-06-03 22:27:15 +12:00
Kostas Missos
7a22dddb01 [DC/DSI] Replace hardcoded values with named values
To better understand the procedure.
2018-05-30 14:03:10 -07:00
Kostas Missos
7a771f4855 [sdmmc] Change internal read/write retries
This can fix busy errors when writing to sd cards.
Additionally it now returns properly on success
2018-05-28 18:27:02 -07:00
Kostas Missos
746a557deb Add 3.X support through SE patches
This includes @jsaowji commits and also adds support for 3.0.1 and 3.0.2
2018-05-28 18:27:02 -07:00
Kostas Missos
b2762d737d Small cosmetic fixes 2018-05-28 18:27:02 -07:00
Kostas Missos
e268222dae [Main] Small fixes 2018-05-25 01:28:03 -07:00
Kostas Missos
81eb1d0972 [Main] Filter POWER button down
And remove uneeded double press protection through sleep().
2018-05-25 01:28:03 -07:00
Kostas Missos
997e250c43 [Menu] Add captions and seperators
Additionally, skip selection of them to retain flow and maintain auto scroll.
2018-05-25 01:28:03 -07:00
Kostas Missos
03729bddd5 [Main] Back/text color to subtle dark/light grey 2018-05-25 01:28:03 -07:00
Rei
4fd6d90c7f Added AutoRCM (#22)
* Added AutoRCM

* cosmetic changes
2018-05-23 16:37:16 -07:00
Kostas Missos
875d65033a [Tools] Fix stray message 2018-05-22 04:13:10 -07:00
Chris Atkin
4e90f92b09 Ignore built ipl.bin file
This adds  to the .gitignore definition, to prevent it being included in the source after a build.
2018-05-21 21:26:41 -07:00
Kostas Missos
6e82dabb22 [Tools] Dump in 1GB parts if sd <=8GB + tui tweak
Tui tweak:
Support auto scroll.
2018-05-21 12:34:03 -07:00
Kostas Missos
f0d88f61ca [Main] Remove redundant
And change some divisions into bitshifting
2018-05-21 12:34:03 -07:00
Kostas Missos
8fdfb55f74 [Tools+Info] Utilize sd_save_to_file 2018-05-21 12:34:03 -07:00
Kostas Missos
08a7511760 [Main] Use printf macros to reduce clutter 2018-05-21 12:34:03 -07:00
Kostas Missos
526ffd4414 [FatFS] Add error printing for important functions
So much needed
2018-05-21 12:34:03 -07:00
Kostas Missos
dcb77115c9 Whitespace/typo cleanup + others
Others:
*Add cluster size in SD card info
*Add error message for emmc read failure. Also fix return value.
*Added more comments and more constant naming
2018-05-17 15:42:01 -07:00
Kostas Missos
34981763a5 [Tools] Better dumping
*Remove option to ignore errors and abort right away.
 In the end what's the point if you end up with corrupted backup.
*Always create partial.idx before running on errors.
*Allow forced partial dumping on exFAT with large space, by creating the correct patial.idx file
*Some cleanup
2018-05-17 15:42:01 -07:00
Kostas Missos
645df34367 [Main] Unmount SD before reboot/power off 2018-05-17 15:42:01 -07:00
Kostas Missos
e06d833cf8 [sd] Correct ssr parsing + add write protect info 2018-05-15 12:40:04 -07:00
Kostas Missos
54187226c8 Better error messaging structure 2018-05-15 12:40:04 -07:00
Kostas Missos
8da015d993 Add missing include 2018-05-14 12:25:29 +12:00
Kostas Missos
0f5ffb4c43 Bugfixes
* Make button check delay 1s to avoid button repressing from "button ip" state
* Dumping: Fix part logic and honor user actions on ignoring errors
* Add time taken to dump emmc
2018-05-14 12:25:29 +12:00
Kostas Missos
8ddb6c16c5 [Tools] Add fuse/kfuse dumping to SD 2018-05-14 12:25:29 +12:00
Kostas Missos
82163a920e [Info] Add eMMC and SD info printing 2018-05-14 12:25:29 +12:00
Kostas Missos
55262fe9fa [sdmmc] Fixes Part 2
Now that the cid/csd/ssr/etc bytes/bitfields are correct:
* MMC/SD: Add cid/csd parsing and use new cid/csd variables
* SD: Add ssr (sd status) reading/parsing
2018-05-14 12:25:29 +12:00
Kostas Missos
acdc8b580c [sdmmc] Fixes Part 1
* MMC/SD: Change many hardcoded values to named ones
* MMC/SD: Fix scr and csd byte/bitfield ordering
* MMC: Add ext csd parsing and using these variables isntead of arrays
* MMC: Fix BKOPS support but disabled
* SD: Add partial sd v1 support
* SD: Fix we support low voltage OCR bit
* SD: Add scr parsing and using these variables instead of hardcoded ones
2018-05-14 12:25:29 +12:00
Ced2911
4d7f016e3a Feature/4x (#10)
* Dump sm, added JanV work
* add Ac_K patches, fix boot, keygen is wrong, need more work
* cleanup keygen, correct key for 4xx
* remove unused code, cleanup code
2018-05-13 13:13:17 +12:00
CrimsonMaple
764231b418 [Makefile]: Quality of life changes. 2018-05-13 13:12:46 +12:00
Kostas Missos
5ca3bbcaf1 Make write error fatal but let user choose to continue
Write error to sd is now fatal as per FatFs guidelines.
Let the user choose to continue or to abort and try again.
Add a message to let the user know that we calculate free space
2018-05-09 02:25:59 +12:00
Kostas Missos
b6b000fd28 Fix small typo 2018-05-09 02:25:59 +12:00
Kostas Missos
6878e87764 Add SD write retry and some other changes
Increase retry count to 6 tries
Add colors and change a little bit some messages
Change some namings
2018-05-09 02:25:59 +12:00
Kostas Missos
0a426db985 Add partial dumping when free space is not enough 2018-05-09 02:25:59 +12:00
Kostas Missos
724970f795 Add lv support back and fix its change logic 2018-05-09 02:25:00 +12:00
Kostas Missos
5363029e60 Add support for SD cards that report wrong info
Some vendors, *I'm looking at you Samsung*, report support for 1.8 voltage, even though the card does not support it.

So, disable low voltage support for now until the behavior is changed to act more like what Linux does. (re-initializing the SD card and disables the low voltage switch).

Fix the switch to high speed mode for high voltages also.

Additionally, correct the IF COND reply. 0xAA is the important part.
2018-05-09 02:25:00 +12:00
Selver-gba
fc0a94bd84 BUG: gfx_putc() was attempting to print from
two characters (126, 127) not in font table
FIX: Do not print non-printable char 127
FIX: Add tilde character to font table
2018-05-09 02:24:03 +12:00
st4rk
8d6b6c4f0e Fix mistake where I was reading pkg1 twice 2018-05-04 00:32:28 -07:00
st4rk
6ebfaa1200 keygen for 3.0.x, 4.0.x, 5.0.x added, 3.0.X FW booting, fixed TSEC wrong offset for 4.0.X 2018-05-04 00:31:08 -07:00
st4rk
8b9e65e76f keygen for 3.0.x, 4.0.x, 5.0.x added, 3.0.X FW booting, fixed TSEC wrong offset for 4.0.X 2018-05-04 00:15:29 -07:00
Rajko Stojadinovic
e7373548fa Make it smaller 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
138a7658ad Add missing const on constants 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
8a327030bd Enable exFAT support, don't split files if using it (fsync them instead at 2GiB boundaries), add RawNand dump option 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
ee30961b3a Fix percentage overflow when dumping USER, also add retry in case of read failure (experienced by some users) 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
04de3d184a Support dumping all possible eMMC partitions (with file splitting when necessary) 2018-05-02 15:37:15 +12:00
nwert
8365426fc3 So it has come to this. 2018-05-01 17:22:03 +12:00