Hacking Compile A9LH on demand

felipejfc

Well-Known Member
OP
Member
Joined
Mar 21, 2015
Messages
152
Trophies
0
Age
31
XP
319
Country
Brazil
So, I'm providing a online service to compile A9LH, it is very simple, just post your OTP.bin (must be raw bytes) to https://felipejfc.com/a9lh and wait for your arm9loaderhax.3dsx.

Method 1 (Web) (credits for the web interface go to @PeachIceTea):

LINK
Just drop your OTP.bin and wait your installer do be downloaded.

Method 2 (Python script):

Requirements:
Python installed.

LINK
Put it in same folder as otp.bin and double click it. done. Just check shasums and you are good.

Method 3 (curl):

curl --data-binary "@otp.bin" -D headers https://felipejfc.com/a9lh > arm9loaderhax.3dsx

the command takes some time to run,
two files will be created, headers and arm9loaderhax.3dsx, in headers, check
Installer-Sha256
OTP-Sha256

These are the sha256 of the OTP the server used to compile arm9loaderhax.3dsx, and arm9loaderhax.3dsx sha256 the moment it leave the server, both should match with your newly created arm9loaderhax.3dsx and the OTP.bin you've sent.

Do not install if the hashes don't match

It is using delebiles fork of a9lh with screen init support.


source
 

Attachments

  • post_otp.zip
    462 bytes · Views: 1,743
Last edited by felipejfc,

Sono

cripple piss
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,320
Country
Hungary
Damn, I was working on the same 2DAY! :cry:
You (cubic) ninja! :ninja:

Anyways, great job! :yay:
Little simple NodeJS server :P Safe, and minimalistic :D

One suggestion: You should check/limit the uploaded filesize, so it doesn't waste time/space/bandwidth, and doesn't output a corrupted 3dsx
 

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States

gameking66

Well-Known Member
Member
Joined
Mar 9, 2010
Messages
576
Trophies
1
XP
330
Country
United States
Was working on this as well.

Remember that you're trusting your 3DS to someone else's compiles.

Also C&D in three... Two...
 

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
Was working on this as well.

Remember that you're trusting your 3DS to someone else's compiles.

Also C&D in three... Two...
Many people already trust others to compile A9LH, working code is probably more reliable than a human for it.

A9LH installers aren't copyrighted Ninty code. Nothing to C&D on, this isn't a romhack.
If you could C&D things like this, all publicly hosted WiiU exploits wouldn't exist.


I stand corrected, though I still doubt a C&D will occur.
 
Last edited by dkabot,

gameking66

Well-Known Member
Member
Joined
Mar 9, 2010
Messages
576
Trophies
1
XP
330
Country
United States
Many people already trust others to compile A9LH, working code is probably more reliable than a human for it.

A9LH installers aren't copyrighted Ninty code. Nothing to C&D on, this isn't a romhack.
If you could C&D things like this, all publicly hosted WiiU exploits wouldn't exist.
This is most certainly copyrighted and is created using proprietary code, private decryption keys, etc. There's a reason you have top compile it yourself. It's not because the devs hate you, it's because they prefer to not be sued to oblivion.
 

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
This is most certainly copyrighted and is created using proprietary code. There's a reason you have top compile it yourself. It's not because the devs hate you, it's because they prefer to not be sued to oblivion.
No, you have to compile it yourself because you need the OTP dump which is console-specific.
By your logic, the updater wouldn't exist, which is pre-compiled as it just replaces one non-console-specific portion.
 
Last edited by dkabot,

gameking66

Well-Known Member
Member
Joined
Mar 9, 2010
Messages
576
Trophies
1
XP
330
Country
United States
No, you have to compile it yourself because you need the OTP dump which is console-specific.
By your logic, the updater wouldn't exist, which is pre-compiled as it just replaces one non-console-specific portion.
The OTP is a separate issue. Why do you think the other files aren't bundled and devs like dark_samus created modified installers SPECIFICALLY excluding them from being compiled into the binary?
 

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
The OTP is a separate issue. Why do you think the other files aren't bundled and devs like dark_samus created modified installers SPECIFICALLY excluding them from being compiled into the binary?
And your source on this is where?
Capito has a fork that has files used for compilation in it, but the original one has a "data_input" folder where you provide the files.
That's irrelevant, if that were all it was it'd be released on the ISO site pre-compiled anyway.
 
Last edited by dkabot,

gameking66

Well-Known Member
Member
Joined
Mar 9, 2010
Messages
576
Trophies
1
XP
330
Country
United States
And your source on this is where?
Capito has a fork that has files used for compilation in it, but the original one has a "data_input" folder where you provide the files.
That's irrelevant, if that were all it was it'd be released on the ISO site pre-compiled anyway.
Ask any of the devs yourself in #Cakey, they've been chatting about this for a week now... It was per their suggestion that I held off making something like this earlier.
 

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
Ask any of the devs yourself in #Cakey, they've been chatting about this for a week now...
If you can't state it here, then we're done.
You need OTP.bin to compile it, and if you can arbitrarily claim that it is "irrelevant", then I can claim the reverse about the fact you need to insert firmware files to "data_input".

Good day, sir.
 
Last edited by dkabot,

felipejfc

Well-Known Member
OP
Member
Joined
Mar 21, 2015
Messages
152
Trophies
0
Age
31
XP
319
Country
Brazil
nintendo surely got bigger concerns than a webserver compiling a exploit for 0.000000001% of their 3ds users
me and my webserver are surely irrelevant to them
 
Last edited by felipejfc,
  • Like
Reactions: Ryccardo

LennartL

Well-Known Member
Newcomer
Joined
Feb 15, 2009
Messages
57
Trophies
1
Age
49
XP
495
Country
hi there im using your litte tool i know what a hashsum is but have doent it two times now check on photo here if it looks right to you please fo you think the hashes looks ok i have tried 3 times and i dont think its look like they are matching
photo.php
Namnlös.gif


--------------------- MERGED ---------------------------

forget im tierd and dumb right now i guess i thought at first i should match the hashes from otp.bin vs arm9loader.3dsx but that doesnt work im totally up in the blue tonight or iam thinking wrong now ?
 

pbanj

The "friendly" neighborhood sandwich
Member
Joined
Dec 29, 2014
Messages
2,743
Trophies
1
Location
in a ziploc
XP
1,650
Country
United States
hi there im using your litte tool i know what a hashsum is but have doent it two times now check on photo here if it looks right to you please fo you think the hashes looks ok i have tried 3 times and i dont think its look like they are matching
photo.php
View attachment 40387

--------------------- MERGED ---------------------------

forget im tierd and dumb right now i guess i thought at first i should match the hashes from otp.bin vs arm9loader.3dsx but that doesnt work im totally up in the blue tonight or iam thinking wrong now ?

the hashes should match the files, so the hash for otp should match your otp and the hash for the .3dsx should match that
 

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
I have tried this as well as compiling it myself and the hashes dont match each other. So not sure which to use :/
Hashes will just about never match from compilations on different machines.
As for which, which setup do you trust more: Your own, or this cloud one?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Yeah agreed