yellows8 / 3ds_browserhax_common

ROP-chain-generator for Nintendo 3DS titles with some form of web-browser.
73 stars 17 forks source link

Cannot use APT_SetAppCpuTimeLimit #36

Open d3m3vilurr opened 8 years ago

d3m3vilurr commented 8 years ago

Hello, I tcheck problem about using svchax on the korean 3ds. I think, APT_SetAppCpuTimeLimit is main reason about svchax stuck problem (https://github.com/aliaspider/svchax/blob/e1ddbff/svchax.c#L219).

So I googled and saw https://github.com/yellows8/3ds_homemenuhax/issues/6 issue, but this page's help step(launch official app, exit it, launch browserhax) make freezing ninjhax launch (o3ds, n3ds both stuck 2nd yellow screen, i think that point is https://github.com/smealum/ninjhax2.x/blob/86bb033/menu_payload/menu_ropbin.s#L159-162)

so few minute ago, I tested jap region o3ds, it also stuck after 2nd yellow screen. is this totally ninjhax problem? or can you share another help step?

yellows8 commented 8 years ago

APT_SetAppCpuTimeLimit() issues were fixed with *hax payload 2.5 ............

d3m3vilurr commented 8 years ago

Few minutes ago, I switched hax to ORAS basehax, problem has gone. I think, this problem only make on the browserhax with Kor O3DS (I don't know other regions..)

yellows8 commented 8 years ago

Only KOR-Old3DS not New3DS?

d3m3vilurr commented 8 years ago

Yep. BTW, i'm not to run same testing both devices. (so i really don't know about can call APT_SetAppCpuTImeLimit on the n3ds) But, n3ds already can use svchax and also can use more homebrews like FBI. Need you this test?

yellows8 commented 8 years ago

Please test on New3DS.

Check what error-code is returned on Old3DS/New3DS from APT_SetAppCpuTimeLimit() with normal homebrew applications using that.

d3m3vilurr commented 8 years ago

Here is results;

  1. O3DS with basehax
  2. O3DS with browserhax
  3. N3DS with basehax
  4. N3DS with browserhax

Test source code: https://gist.github.com/d3m3vilurr/571cfbab5cb7c097ede725d0ac51ce55

yellows8 commented 8 years ago

What's the system-version(including NATIVE_FIRM) for that Old3DS?

d3m3vilurr commented 8 years ago

10.3.0-24K. and 10.5K user also reported 0xd8e05bf4 error :(

yellows8 commented 8 years ago

This seems like a KOR-*hax-payload issue. :-/

d3m3vilurr commented 8 years ago

but they are only one difference, browserhax use ropbin payload, but basehax use otherapp payload. can this differ make a problem? hm....

yellows8 commented 8 years ago

Don't see why this would be an issue since the field for this is the same for the USA/KOR dlplay title. :-/

yellows8 commented 8 years ago

@d3m3vilurr Try running ORAS, then immediately exit for running browserhax.

d3m3vilurr commented 8 years ago

Hm... browserhax cannot launch hbl, return to ORAS process after orange screen

yellows8 commented 8 years ago

Did you terminate the game properly before running the browser?

d3m3vilurr commented 8 years ago

yes. i terminated that. and comment fix. yellow - orange - white - green - yellow - blackscreen - then return oras