diff --git a/README.md b/README.md index 7f9a461..f001eaa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +Modded version of enso to add support for 03.600.31 DevKit and TestKit firmwares. + +# Building: + You need [vitasdk](https://vitasdk.org/). 1. `make` the payload diff --git a/first b/first new file mode 100644 index 0000000..6f1f91c Binary files /dev/null and b/first differ diff --git a/installer/CMakeLists.txt b/installer/CMakeLists.txt index 4ed0058..f640db2 100644 --- a/installer/CMakeLists.txt +++ b/installer/CMakeLists.txt @@ -78,8 +78,9 @@ target_link_libraries(${SHORT_NAME} taihen_stub emmc_helper_user_stub_weak ) - +set(VITA_MAKE_FSELF_FLAGS "${VITA_MAKE_FSELF_FLAGS} -a 0x2808000000000000") vita_create_self(${SHORT_NAME}.self ${SHORT_NAME} UNSAFE) +set(VITA_MAKE_FSELF_FLAGS "${VITA_MAKE_FSELF_FLAGS} -a 0x2f00000000000001") # emmc_helper: kernel version add_executable(emmc_helper diff --git a/installer/src/kernel.c b/installer/src/kernel.c index 58e3e54..774fd10 100644 --- a/installer/src/kernel.c +++ b/installer/src/kernel.c @@ -29,6 +29,8 @@ enum { OS0_SIZE = 0x3820 * BLOCK_SIZE, OS0_CRC32 = 0xb776951d, + OS0_CRC32_TOOL = 0x1461191e, + OS0_CRC32_DEX = 0xd9c8046b, }; typedef struct { @@ -196,7 +198,7 @@ int check_os0(void) { } printf("got os0 crc32: 0x%08x\n", crc); - if (crc != OS0_CRC32) { + if ((crc != OS0_CRC32) && (crc != OS0_CRC32_TOOL) && (crc != OS0_CRC32_DEX)) { printf("error: crc does not match!\n"); ret = -1; } else { diff --git a/second b/second new file mode 100644 index 0000000..f0e192d Binary files /dev/null and b/second differ