diff --git a/target-p118.c b/target-p118.c index 2ac06e9..de33cff 100644 --- a/target-p118.c +++ b/target-p118.c @@ -6,7 +6,7 @@ */ static const int p118_offset = 0x2a7000; //0x3f7030; //0x400000; -static const int p118_size = 0x400f90; //0x3fc030; //0x408000; +static const int p118_size = 0x40af90; //0x3fc030; //0x408000; static const int64_t p118_test3_hitadj = -0x97ffecddLL + 0x322D8LL - 4LL; static const int p118_stage1_cont = 0x32278; diff --git a/windeps.sh b/windeps.sh new file mode 100755 index 0000000..3c208ee --- /dev/null +++ b/windeps.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +curl -L -o deps.7z https://github.com/niXman/mingw-builds-binaries/releases/download/15.2.0-rt_v13-rev1/x86_64-15.2.0-release-win32-seh-ucrt-rt_v13-rev1.7z +7z e deps.7z libgcc_s_seh-1.dll libstdc++-6.dll -r +rm -rf deps.7z diff --git a/xperable.c b/xperable.c index 7738cc7..94cfca1 100644 --- a/xperable.c +++ b/xperable.c @@ -196,7 +196,9 @@ static int test1(struct fbusb *dev, int size, int offset, const char *cmd) strcpy(txbuff, cmd); else snprintf(txbuff, 64, "download:%08x", size); - + PNFO("[Device already unlocked] message means the bootloader status is now changed\n"); + PNFO("If you use [oem unlock Y] flag, the bootloader will be unlocked\n"); + PNFO("If you use [oem unlock X] flag, the bootloader will be relocked\n"); PNFO("Starting test1 size = 0x%08x, offset = 0x%08x, cmd = '%s'\n", size, offset, txbuff);