TiniVi / safehax

My implementation of safefirmhax: https://3dbrew.org/wiki/3DS_System_Flaws#Process9
138 stars 15 forks source link

Safehax hangs when there's no Game Cartridge inserted. #5

Closed cermakondrej closed 7 years ago

cermakondrej commented 7 years ago

After successful waithax -> return to HBL and starting safehax, i get blackscreen , confirmed with other 4 people, who have same issues

lucashpandolfo commented 7 years ago

@TiniVi Do you mean PXI_RECV11 has an unexpected value or just PXI is always empty? Does that make any difference anyway? :P

kaicherry commented 7 years ago

You misunderstand @cermakondrej - the older builds were not written for anything but 11.2/n3dsu. It won't help you. Do what they are telling you :)

yzal commented 7 years ago

I recorded the output message using the slow-cam on my phone. It states:

fasthax success!! pm 000000000 Allocating memory reading ARM9 payload reading ARM 11 payload...

And then the screen turns black.

FrozenChen commented 7 years ago

Worked for me on USA n3ds 10.7 svchax. Managed to boot safea9lhinstaller v2.6.7 and install a9lh successfully (had otp.bin not otpless).

TiniVi commented 7 years ago

@lucashpandolfo unexpected value, and the exploit fails. @yzal I can tell that you aren't running my build, but I feel that this still applies. The text is only useful for the duration that it's on the screen. If it gets cleared, that means everything worked properly and the app exited.

PiclesHavaiano commented 7 years ago

I'm all the day long searching for a solution on the web or trying to learn about coding, but i cant succeed at any ( I don't know anything about this ) and it's my first time trying to hack my o3ds 11.1.0-34U following this guide: https://3ds.guide/decrypt9-(homebrew-launcher) hope this gets fixed.

ghost commented 7 years ago

n3dsXL 11.0.0-33U Waithax latest fork (https://github.com/TiniVi/waithax) Safehax latest release (https://github.com/TiniVi/safehax/releases) Homebrew launcher 1.1.1

Tested with Soundhax latest Manenuhax 3.1

And when launch safehax Img_20170103_174952

By the way that of pressing the b to see the text of "debug", almost nor can be appreciated because it happens very fast, stays in "Reading ARM11 payload ..." and it sees a black screen.

The weird thing about this is that I do not have any payload arm11 (arm11.bin). I think the error of this, you already found it "MINOR: Large payloads seem to crash when being copied to 0x23F00000" but do not solve it.

Have you tested Decrypt9WIP? Because I think it's a big payload.

MuratGHG commented 7 years ago

I was running waithax(succesfully) After starting to run safehax,it's just giving me the error message:,PM INIT FAILED". (Old3ds XL 11.0.0-33E,Soundhax Homebrew 1.1.1 )

What should I do now?

ghost commented 7 years ago

@MuratGHG The problem is waithax

https://github.com/TiniVi/waithax

TiniVi commented 7 years ago

@MagicInventor The arm11 payload is stored in the romfs, and if the payload is too large it crashes on "Patching ARM11...". As I've already explained, the text is only useful while the app is running, if it gets cleared that means everything succeeded. The blackscreen is one of 2 issues involving wait loops.

@MuratGHG Make sure the version of waithax you're running is my fork, as safehax depends on svcBackdoor being available. Furthermore, the "PM INIT FAILED!" text seems to imply that your version of waithax did not grant srv access.

MuratGHG commented 7 years ago

@TiniVi So,i used another Version of waithax,now it's giving me a completely black Screen(I was unsing the waithax from 3ds.guide),so if I run waithax again,is it okay?

ghost commented 7 years ago

@TiniVi How long do I have to wait for the payload to run?

MuratGHG commented 7 years ago

@TiniVi And which message would gonna Show up if safehax is finished?

TiniVi commented 7 years ago

@MagicInventor if you mean the one on the sd card, it takes roughly 10 seconds give or take.

@MuratGHG if safehax finishes, it will black screen for a few seconds before running the payload on sd. Or, you'll receive the same issue as the people above and just end up with a blackscreen. I don't really think anyone running waithax should be trying it more than once, though.

MuratGHG commented 7 years ago

@MuratGHG So what should I do now......

cermakondrej commented 7 years ago

wait until its fixed

PiclesHavaiano commented 7 years ago

@TiniVi I tried like 5 times today, is that a problem?

spicynoodlez commented 7 years ago

Tried it 8times with 11.0K n3ds on soundhax and menuhax and failed...

DaliaAsTrue commented 7 years ago

@TiniVi I have Old3DS on 11.2 already a9lh installed, but I want to try this. My process for launch Safehax :

Hard reboot a console, retry, again, again, again lol It's same issue with other entry point, Steelhax, HBLoader, etc.

TiniVi commented 7 years ago

@PiclesHavaiano Not an issue, I just feel like it's fairly disappointing for the user to wait that long and get a bad result.

Anyone using svchax (and apparently fasthax?), if you could, please try this build, it'd be appreciated.

DaliaAsTrue commented 7 years ago

I tried your build, but same issue, Red color on bottom screen after Fasthax success

spicynoodlez commented 7 years ago

@DaliaAsTrue Did you have a game cartridge inserted?

ggpq commented 7 years ago

n3ds xl 10.3.0-24k menuhax -> svchax -> safehax

result : stop on yellow screen, failed

spicynoodlez commented 7 years ago

@TiniVi There are people who got it worked after inserting a game cartridge in gbatemp

spicynoodlez commented 7 years ago

https://gbatemp.net/threads/safehax-11-1-2-downgrade-without-dsiware.455456/page-47

ggpq commented 7 years ago

Thank you, It works with inserting cartridge.

drippy3 commented 7 years ago

Tried with game cart inserted and latest build and it worked, thanks so much.

spicynoodlez commented 7 years ago

What a solution!

TiniVi commented 7 years ago

@spicynoodlez OH. This is something I was able to replicate! It seems when there is no gamecard, arm9 doesn't comply. I'm sure there's a workaround, but for now that's the solution I guess.

kaicherry commented 7 years ago

I can also confirm this for you as well. Definitely need a debug build to see what the system state thinks is different.

TiniVi commented 7 years ago

@spicynoodlez Also, who's the idiot who made the version of this that states "Patching SAFE_MODE ARM9", which is literally impossible without arm9 code execution first.

MuratGHG commented 7 years ago

Were you trying fasthax or waithax?....going to try waithax again....or fasthax...i dón't know...

DaliaAsTrue commented 7 years ago

@spicynoodlez Eh no, I try with cartridge and... same. :( Fasthax success Back to HBL Launch Safehax, red screen immediately (Old 3DS 11.2 Soundhax)

yzal commented 7 years ago

Rofl, i doný own a cartridge, so still not working for me ;)

TiniVi commented 7 years ago

@DaliaAsTrue This issue only seems to occur with fasthax

alex1s1 commented 7 years ago

wtf it works thanks!

DaliaAsTrue commented 7 years ago

@TiniVi Yes I think too, just wait(hax? joke) for Fasthax Beta version

MuratGHG commented 7 years ago

Should I run waithax again?

PiclesHavaiano commented 7 years ago

in 26 mins i'll try with slowhax again and with a gamecard inserted

MuratGHG commented 7 years ago

I'm running waithax again right now(With gamecard inserted,gonna update you guys in 1 hour,good luck to everyone else.

alex1s1 commented 7 years ago

I'm so stupid it even worked for my with a different 3DS and the only difference was the gamecard.

lucashpandolfo commented 7 years ago

@TiniVi the last build you posted had the same result: yellow screen

TiniVi commented 7 years ago

@lucashpandolfo insert a cartridge

lucashpandolfo commented 7 years ago

Oops, i had a DS catrtidge, with a 3DS one it works

marra1505 commented 7 years ago

You guys thing it will work wit a NDS game cartridge?

spicynoodlez commented 7 years ago

@TiniVi I don't know about anything else since I'm not a programmer...

PiclesHavaiano commented 7 years ago

does it matter if i put the gamecard before or after the waithax has finished ? or i just need to put the card before starting the safehax?

marra1505 commented 7 years ago

@lucashpandolfo haha tanks

alex1s1 commented 7 years ago

@PiclesHavaiano I put it in just before I started safehax and it worked

Zeffuro commented 7 years ago

Confirmed working, used Zoogie's build from forum with fasthax on 11.0.0-33E N3DSXL, worked for me with game in.