Skip to content

Commit

Permalink
fixed rare bricks
Browse files Browse the repository at this point in the history
  • Loading branch information
SKGleba committed Nov 5, 2019
1 parent 1d1bb29 commit 9aaea5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions pctool/main.c
@@ -1,8 +1,7 @@
/*
mincg by SKGleba
mincg_public by SKGleba
All Rights Reserved
*/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Expand Down Expand Up @@ -57,7 +56,7 @@ int main(int argc, char **argv){
fp = fopen(gbuff, "rb");
if (fp == NULL) {
cur = cur - 1;
printf("\nEND: no min fw lower than 03.6500.01\n");
printf("\nEND: no min fw lower than 03.6500.01 and higher than 00.9960.00\n");
break;
}
}
Expand All @@ -74,7 +73,7 @@ int main(int argc, char **argv){
fclose(fp);
unlink("tmp.dec2");
printf("0x%08X\n", *(uint32_t *)fw);
if (*(uint32_t *)fw < 0x03650001) {
if (*(uint32_t *)fw < 0x03650001 && *(uint32_t *)fw > 0x00996000) {
printf("\nEND: min fw resulting from data/%s_SMI_NOUTER.SMI_e1 (%s) is lower than 03.6500.01 ( %02X.%02X%02X.%02X )\n", cname, gbuff, fw[3], fw[2], fw[1], fw[0]);
found = 1;
break;
Expand Down
Binary file modified pctool/windows/mincg.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions vita/payload/dec_SMI/main.c
@@ -1,6 +1,6 @@
/*
mincg by SKGleba
All Rights Reserved
mincg by SKGleba
All Rights Reserved
*/

#include "types.h"
Expand Down Expand Up @@ -128,7 +128,7 @@ void __attribute__((optimize("O0"))) _start(void) {
while (BIGMAC[9] & 1) {}
}

if (*(u32_t *)0x1C000500 < fw) {
if (*(u32_t *)0x1C000500 > 0x00996000 && *(u32_t *)0x1C000500 < fw) {
RESULTS[11] = 0x69;
} else
RESULTS[11] = 0x34;
Expand Down

0 comments on commit 9aaea5b

Please sign in to comment.