From cedb95dc514d4b2d33cd9ebc3ecca4315bde2201 Mon Sep 17 00:00:00 2001 From: Kronos2308 <36446521+Kronos2308@users.noreply.github.com> Date: Mon, 13 Jan 2020 18:12:53 +0000 Subject: [PATCH] update --- Hakupayload/src/main.c | 2 +- romfs/Haku33_payload.bin | Bin 51398 -> 51398 bytes source/main.cpp | 26 ++++++++++++++------------ 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Hakupayload/src/main.c b/Hakupayload/src/main.c index cc34997..ad31b65 100644 --- a/Hakupayload/src/main.c +++ b/Hakupayload/src/main.c @@ -187,7 +187,7 @@ void ipl_main() gfx_printf(&g_gfx_con, "%k SE REALIZARA UN HARD RESET LUEGO SE APAGARA LA CONSOLA\n\n",0xFF828282); gfx_printf(&g_gfx_con, "%k SI NO SABES LO QUE HACES, PRESIONA B PARA ABORTAR \n\n",0xFF828282); gfx_printf(&g_gfx_con, "%k\n-------- LO DEVORARE TODO --------\n\n",0xFF828282); - gfx_printf(&g_gfx_con, "%k PULSA %k- + ZR ZL %k PARA LIMPIAR\n\n",0xFF828282,0xFF00FF22,0xFF828282); + gfx_printf(&g_gfx_con, "%k PULSA %kZR - + ZL %k PARA LIMPIAR\n\n",0xFF828282,0xFF00FF22,0xFF828282); gfx_printf(&g_gfx_con, "%k*%k Kill Homebrew Services\n",0xFF00FF22,0xFFCCCCCC); gfx_printf(&g_gfx_con, "%k*%k DeInitialize\n",0xFF00FF22,0xFFCCCCCC); diff --git a/romfs/Haku33_payload.bin b/romfs/Haku33_payload.bin index 324093e8df642fb3ba9a6fb3f0c51531d80bdb18..662e724c8c75046bacb0389d6f52a7a012d915f2 100644 GIT binary patch delta 21 dcmX>$k@?s}<_+o#*`k6JbQQEW>n@zB4ggzk2e<$L delta 21 dcmX>$k@?s}<_+o#*>n}O6{3PR>n@zB4ggvQ2e<$L diff --git a/source/main.cpp b/source/main.cpp index 0d270b9..45a9d42 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -130,15 +130,19 @@ using namespace std; printf("\n\x1b[33;1m*\x1b[0m Si se congela mucho tiempo, Es que ha fallado. Pulsa POWER 15s \n\n"); else printf("\n\x1b[33;1m*\x1b[0m If it freezes for a long time, It has failed. Press POWER 15s\n\n"); - - //force disable sxos - txinit(); - txforcedisableftp(); + consoleUpdate(NULL); +/* + //force disable sxos + Result rc = txinit(); + if (!R_FAILED(rc)){printf("TXint-%x-", rc);} + consoleUpdate(NULL); + rc = txforcedisableftp(); + if (!R_FAILED(rc)){printf("TXoff-%x-", rc);} txexit(); - +*/ //terminate Homebrew Serv printf("\x1b[32;1m*\x1b[0m Kill Homebrew Services\n"); - consoleUpdate(NULL); + consoleUpdate(NULL); if (R_FAILED(pmshellTerminateProgram(0x420000000000000E))){printf("FTP-");} if (R_FAILED(pmshellTerminateProgram(0x0100000000000352))){printf("Emuiio-");} if (R_FAILED(pmshellTerminateProgram(0x4200000000000010))){printf("Lan Play-");} @@ -152,7 +156,7 @@ using namespace std; if (R_FAILED(pmshellTerminateProgram(0x0100000000000069))){printf("ReiSpoof-");} //DeInitialize - printf("\x1b[32;1m*\x1b[0m DeInitialize\n"); + printf("\n\x1b[32;1m*\x1b[0m DeInitialize\n"); consoleUpdate(NULL); hidsysExit(); socketExit(); @@ -168,7 +172,7 @@ using namespace std; setExit(); //Initialize proc - printf("\x1b[32;1m*\x1b[0m Initialize Proc\n"); + printf("\n\x1b[32;1m*\x1b[0m Initialize Proc\n"); consoleUpdate(NULL); fsInitialize(); pmdmntInitialize(); @@ -212,7 +216,7 @@ using namespace std; if (R_FAILED(pmshellTerminateProgram(0x0100000000000809))){printf("used by sdb-");} //critical serv - printf("\x1b[32;1m*\x1b[0m terminate Critical Services\n"); + printf("\n\x1b[32;1m*\x1b[0m terminate Critical Services\n"); consoleUpdate(NULL); if (R_FAILED(pmshellTerminateProgram(0x0100000000000012))){printf("bsdsockets-");} if (R_FAILED(pmshellTerminateProgram(0x0100000000000009))){printf("settings-");} @@ -220,10 +224,8 @@ using namespace std; if (R_FAILED(pmshellTerminateProgram(0x0100000000000016))){printf("Wlan-");} if (R_FAILED(pmshellTerminateProgram(0x0100000000001000))){printf("qlaunch-");} - espera(10); - //delete user - printf("\x1b[32;1m*\x1b[0m Delete User\n"); + printf("\n\x1b[32;1m*\x1b[0m Delete User\n"); consoleUpdate(NULL); fs::DeleteDir("myUser:/Contents/registered"); fs::DeleteDir("myUser:/Contents");