Skip to content
Permalink
Browse files

Added fs nogc and nosigchk patches for 7.0.0 (#105)

  • Loading branch information...
The-4n authored and Reisyukaku committed Feb 24, 2019
1 parent 4b2d231 commit 8263c42f635ffa5a03687fc4b654aa08e16507ed
Showing with 39 additions and 0 deletions.
  1. +37 −0 src/kippatches/fs.inc
  2. +2 −0 src/package.c
@@ -192,6 +192,30 @@ static kipdiff_t fs_diffs_600_nosigchk[3] = {
{ 0, 0, NULL, NULL },
};

static kipdiff_t fs_diffs_700_exfat_nogc[3] = {
{ 0x1674B4, 4, "\x14\x40\x80\x52", "\x14\x80\x80\x52" },
{ 0x13F710, 8, "\xF4\x4F\xBE\xA9\xFD\x7B\x01\xA9", "\xE0\x03\x1F\x2A\xC0\x03\x5F\xD6" },
{ 0, 0, NULL, NULL },
};

static kipdiff_t fs_diffs_700_nogc[3] = {
{ 0x15BF04, 4, "\x14\x40\x80\x52", "\x14\x80\x80\x52" },
{ 0x134160, 8, "\xF4\x4F\xBE\xA9\xFD\x7B\x01\xA9", "\xE0\x03\x1F\x2A\xC0\x03\x5F\xD6" },
{ 0, 0, NULL, NULL },
};

static kipdiff_t fs_diffs_700_exfat_nosigchk[3] = {
{ 0x7FFDC, 4, "\x31\x43\x00\x94", "\xE0\x03\x1F\x2A" },
{ 0xFDB94, 4, "\xC0\x03\x00\x36", "\x1F\x20\x03\xD5" },
{ 0, 0, NULL, NULL },
};

static kipdiff_t fs_diffs_700_nosigchk[3] = {
{ 0x74A2C, 4, "\x31\x43\x00\x94", "\xE0\x03\x1F\x2A" },
{ 0xF25E4, 4, "\xC0\x03\x00\x36", "\x1F\x20\x03\xD5" },
{ 0, 0, NULL, NULL },
};

/* patches */

static kippatch_t fs_kip_patches_100[] = {
@@ -278,4 +302,17 @@ static kippatch_t fs_kip_patches_600_50_exfat[] = {
{ "nocmac", fs_diffs_600_exfat_nocmac },
{ "nogc", fs_diffs_600_exfat_nogc },
{ NULL, NULL }
};

static kippatch_t fs_kip_patches_700[] = {
{ "nosigchk", fs_diffs_700_nosigchk },
{ "nogc", fs_diffs_700_nogc },
{ NULL, NULL }
};


static kippatch_t fs_kip_patches_700_exfat[] = {
{ "nosigchk", fs_diffs_700_exfat_nosigchk },
{ "nogc", fs_diffs_700_exfat_nogc },
{ NULL, NULL }
};
@@ -267,6 +267,8 @@ kippatchset_t kip_patches[] = {
{ "FS", "\x96\x6a\xdd\x3d\x20\xb6\x27\x13\x2c\x5a\x8d\xa4\x9a\xc9\xd8\xdd", fs_kip_patches_600_40_exfat },
{ "FS", "\x3a\x57\x4d\x43\x61\x86\x19\x1d\x17\x88\xeb\x2c\x0f\x07\x6b\x11", fs_kip_patches_600_50 },
{ "FS", "\x33\x05\x53\xf6\xb5\xfb\x55\xc4\xc2\xd7\xb7\x36\x24\x02\x76\xb3", fs_kip_patches_600_50_exfat },
{ "FS", "\x33\x05\x53\xf6\xb5\xfb\x55\xc4\xc2\xd7\xb7\x36\x24\x02\x76\xb3", fs_kip_patches_700 },
{ "FS", "\x2a\xdb\xe9\x7e\x9b\x5f\x41\x77\x9e\xc9\x5f\xfe\x26\x99\xc9\x33", fs_kip_patches_700_exfat },
{ NULL, NULL, NULL },
};

0 comments on commit 8263c42

Please sign in to comment.
You can’t perform that action at this time.