Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Add support for Testkit and Devkit #21

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Binary file added first
Binary file not shown.
3 changes: 2 additions & 1 deletion installer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion installer/src/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ enum {

OS0_SIZE = 0x3820 * BLOCK_SIZE,
OS0_CRC32 = 0xb776951d,
OS0_CRC32_TOOL = 0x1461191e,
OS0_CRC32_DEX = 0xd9c8046b,
};

typedef struct {
Expand Down Expand Up @@ -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 {
Expand Down
Binary file added second
Binary file not shown.