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

bmlzootown commented 7 years ago

I'm having the same issue now. I was running into Issue #3 originally, but then I updated to the released version and am now experiencing said black screen issue.

New3DS XL 11.1.0-34 U, tested with Ninjahax/Soundhax via Waithax.

kade-robertson commented 7 years ago

This is a known issue and you can see from TiniVi's profile here that he has forked waithax to try and get a working release.

xevilzerox commented 7 years ago

Having the exact same issue, except I'm using svchax.

Xtansia commented 7 years ago

Same issue, attempting to use safehax, after using the forked waithax, on 11.0 EUR on an N3DSXL.

TiniVi commented 7 years ago

I know where it's hanging, but not why. I have some theories, so I'll be trying to get it working.

Zeffuro commented 7 years ago

Gathering from reports this happens on all N3DSXL's I can confirm the same issue here too. I know waithax is working cause legit cia's work with no issue.

TiniVi commented 7 years ago

For anyone experiencing this issue, could you try with the commit from an hour ago? Preferrably, someone running with svchax, since there's no ~20min-1hr long wait.

xevilzerox commented 7 years ago

I'm trying on a 2ds running 9.9.0-26u. I'm using SVCHAX and whenever I try the current version of Safehax, I just get a black screen. I'd try an older version if I knew how to get to it.

FrozenChen commented 7 years ago

Just compiled it , on the same n3ds usa 10.7 it blackscreens as well.

matth-ew commented 7 years ago

Same problem here, on 2ds version 11.0.0-33E

spicynoodlez commented 7 years ago

can anyone tell me how to use the files in safehax-master.zip??

ChimpAndSea commented 7 years ago

I'm now trying an older version someone send me on discord. It seems really slow, but now I get more than a black screen... It's still loading however! Tried & build the last one and that gave me a black screen.

Xtansia commented 7 years ago

Tried it with the most recent commits of both safehax and waithax fork, still hung with a black screen when running safehax.

KonsoleHL commented 7 years ago

same here.

New 3DS on 11.2.0

DarkPro1337 commented 7 years ago

same. New 3DS XL 11.1E Image

Shadowii commented 7 years ago

same. OLD 3DS 11.0.0-33E

deafgeek commented 7 years ago

waithax successful on 2DS (old model with the black faceplate and red sides) 11.1.0.34U. pressed start to go back to Homebrew menu, scrolled down to safehax, pressed A then immediately pressed B, i saw one line of text maybe 4 words long appear at the top left for the tiniest bit of time then it went black and stayed black.

I am using safehax v7, and the new waithax+svc7b fork.

matth-ew commented 7 years ago

I have this problem, and my entrypoint is soundhax. Is it the same for you? Maybe the problem is the entrypoint? a lot of people is saying "Done first try with steelhax/ninjhax /etc"

kade-robertson commented 7 years ago

I can't imagine it has anything to do with the arm11 userland exploit you chose. Loads of people have had success with soundhax as well.

ChimpAndSea commented 7 years ago

Well... I used soundhax al day.. Wasnt working. Now I just tried a different entrypoint and I got in! No more black screen!

TheProgrammerEX commented 7 years ago

I tried with steelhax after updating the *hax to the latest and im still black screening so i don't think it has to do with that.

TheProgrammerEX commented 7 years ago

Also, it appears that everyone that have the new 3ds gets this error. has someone successfully had this run on a new 3ds yet?

ChimpAndSea commented 7 years ago

Well I'm on the N3DSXL :)

I did use fasthax with safehax, but that didn't work from soundhax for me, using different entrypoint worked for many ppl the first time

TheProgrammerEX commented 7 years ago

well it's nice to know it's not a console problem. I'm assuming your on 11.2?

ChimpAndSea commented 7 years ago

I'm was on 11.0

Was sick of trying waithax all day

TheProgrammerEX commented 7 years ago

Ok good to know! Thanks for answering my questions! maybe it is a entrypoint problem. what entry did you use instead of soundhax?

ChimpAndSea commented 7 years ago

I used ninjhax2, cause that was cheap in store some time ago...

I did see reports of others using OOT3Dhax.

deafgeek commented 7 years ago

I do have OOThax with a 11.1.0.34U payload, ill try that next, thanks :), ill report back if its successful

i did see hax 2.7 loading using OOThax, and i did remember seeing soundhax show hax 2.8beta loading.

Waithax + safehax on 2ds using OOThax (with hax 2.7 and 11.1.0-34u payload), decrypt9 shows up.

TheProgrammerEX commented 7 years ago

I wounder if there are other entrypoints that aren't working properly. has anyone had success doing this with steelhax?

wjuniorst commented 7 years ago

O3DSXL 9.2 + soundhax = safehax black screen O3DSXL 9.2 + OOTHAX = safehax opens decrypt. Trying on a O3DS on 11.0 right now. EDIT: managed to run Decrypt9 on old 3ds 11.0 with OOThax.

alex1s1 commented 7 years ago

I made it work with a New 3DS on 9-9-0-26E but no luck with a second one - always blackscreens with savehax.

bmlzootown commented 7 years ago

Tried with the latest commits and I have successfully booted Decrypt9. I didn't change anything: using the latest commit, n3DS XL 11.1.0-34 U, SoundHax/WaitHax. I ran WaitHax last night, then closed my 3DS. Opened it this morning (around six hours later), ran SafeHax, and it has now loaded (when previously this would result in a black screen, running it immediately after WaitHax).

cermakondrej commented 7 years ago

I have n3ds - 11.0.0-33E, tried several combinations : For entrypoints - Soundhax, steelhax, browserhax, for k11 exploits - waithax and fasthax (there were some precompiled fasthax with your safehax).

Im still getting black screen after Safehax launch

adores3ds commented 7 years ago

Tried with latest on my New 3ds XL 11.0.0-33U: Soundhax> waithax+svc7b >safehax r7. Waithax took 1h8m44s (screen said new 3ds, but processed at old 3ds speeds) and had success; black screens appear within seconds after choosing safehax from homebrew launcher. It's a "no go" so far. (Samsung NAND size, if that helps)

adores3ds commented 7 years ago

From my old programming days, just wondering if some data is still in cache (from waithax) at the time we are trying to launch safehax. (Thought came to me from the person that posted above mentioning he left his ds on after running waithax, returned 6 hours later and successfully launched safehax.)

TiniVi commented 7 years ago

@adores3ds my code includes cache operations, but it could still very well be a cache issue. I guess I could look further into it.

yzal commented 7 years ago

Same issue with my N3DS XL. Tried literally 60 times or more. Didn't work on 11.1.x and doesn't work with 11.2 either. I have the european version.

cermakondrej commented 7 years ago

@TiniVi I dont know exactly where the crash happens, but what if we make some more "debug" version of the safehax, so we could actualy provide you with some more info on the crashes?

adores3ds commented 7 years ago

@TiniVi also wondering what happens when 3ds is placed into sleep mode (above poster that had success after closing the lid and then returning 6 hours later...closing lid is putting 3ds into sleep mode), perhaps another place to look for why his worked, if not a cache thing, or possibly related to a cache thing. Just pointing out his actions would have placed his 3ds into sleep mode.

TiniVi commented 7 years ago

I'm pretty sure I know where the crashes are happening, but it would probably be smart to show some debug after app exit. Can someone (preferably running svchax) try running this? It should flash colors while the safemode payload is running. Tell me what color it ends up on.

lucashpandolfo commented 7 years ago

Yellow, both from soundhax and menuhax. O3DS 10.1.0

EDIT: Same result with N3DS 9.9.0

yzal commented 7 years ago

Red for me, but I didn't run it with svchax

alex1s1 commented 7 years ago

@TiniVi It stops with yellow I suppose (it could also be a light green...) ran with svhax

alex1s1 commented 7 years ago

I just tried for a second time - same color

TiniVi commented 7 years ago

@lucashpandolfo & @alex1s1 Yellow is what I expected, it's hanging here. I haven't figured out why, but for some reason arm9 does not reply to arm11 properly here for some people.

@yzal That's interesting! Red would mean it's hanging while waiting for arm9 to begin writing the arm11 binary. This either means there's a cache issue, or arm9 isn't writing to that address. I might have an idea to fix this one.

cermakondrej commented 7 years ago

I dont have standalone compiled fasthax yet, since fasthax for11.0.0-33E doesnt have right offsets and i dont have a nand dump to make those. I can try with waithax but that would take an hour

kaicherry commented 7 years ago

I don't know if this helps, but I got the hook with an older fasthax build I did (pre o3ds merges), and using you "try this" build I'm getting red on N3dsxl-11.2.0-35U...

TiniVi commented 7 years ago

@cermakondrej I would advise against that.

kaicherry commented 7 years ago

I have no idea why I typed 11.1 there...

cermakondrej commented 7 years ago

@kaicherry would you mind sending the older fasthax build working on 11.0 so I could also debug the safehax :)?