Hacking how to disassemble firmware

  • Thread starter Deleted User
  • Start date
  • Views 3,306
  • Replies 12
D

Deleted User

Guest
OP
how to disassemble or decompile firmware, i'm planning on trying to make custom firmware as a project [Edit i accidentally posted in the wrong topic now i can't change it]
 
Last edited by ,

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
how to disassemble or decompile firmware, i'm planning on trying to make custom firmware as a project [Edit i accidentally posted in the wrong topic now i can't change it]
First, report your post and have the reason be moving it to the CFW section... Anyways you need a disassembler (like IDA or something) and you need to split the FIRM into arm11 kernel, arm9 kernel, process9 and there's one other thing I think... Then disassemble each of them with the disassembler
 
Last edited by dark_samus3,
D

Deleted User

Guest
OP
First, report your post and have the reason be moving it to the CFW section... Anyways you need a disassembler (like IDA or something) and you need to split the FIRM into arm11 kernel, arm9 kernel, process9 and there's one other thing I think... Then disassemble each of them with the disassembler
is that how you disassemble it, i tried using devkitarm and it said it did not know the format, or was i using the wrong thing its called objdump and its the devkitarm version
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
is that how you disassemble it, i tried using devkitarm and it said it did not know the format, or was i using the wrong thing its called objdump and its the devkitarm version
You probably aren't going to get much from devkitarm, you might get some good info from objdump but first you need to decrypt your FIRM (assuming you're using N3DS FIRM) then you need to separate it and then you'll be able to run it through
 
D

Deleted User

Guest
OP
You probably aren't going to get much from devkitarm, you might get some good info from objdump but first you need to decrypt your FIRM (assuming you're using N3DS FIRM) then you need to separate it and then you'll be able to run it through
i have to decrypt it?? anyway i guess i do have to decrypt it, now i guess i have to decrypt it, what decryption software can i use?
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
i have to decrypt it?? anyway i guess i do have to decrypt it, now i guess i have to decrypt it, what decryption software can i use?
Decrypt9 can usually do it but not for N3DS FIRM yet... You might have to do a bit of messing around, the key is an AES-ECB key with slot0x11key96.bin being the file with the key stored in it
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
i have to decrypt it?? anyway i guess i do have to decrypt it, now i guess i have to decrypt it, what decryption software can i use?

Disassemble it to what end? What exactly do you want to DO with it?
And to decrypt it use Decrypt9. https://gbatemp.net/threads/download-decrypt9-open-source-decryption-tools-wip.388831/

Decrypt9 can usually do it but not for N3DS FIRM yet... You might have to do a bit of messing around, the key is an AES-ECB key with slot0x11key96.bin being the file with the key stored in it
Umm pretty sure it can do n3ds firm too, no reason it can't afaik.
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Disassemble it to what end? What exactly do you want to DO with it?
And to decrypt it use Decrypt9. https://gbatemp.net/threads/download-decrypt9-open-source-decryption-tools-wip.388831/


Umm pretty sure it can do n3ds firm too, no reason it can't afaik.
Not dumping the FIRM partition, that's easily possible, but the same reason emuNAND wasn't possible for so long is why he can't just get an XORpad, decrypt it and pop it into a disassembler... Which is possible with an O3DS mind you ;)
 
D

Deleted User

Guest
OP
i want to make it where it can run through the system updater and modify it and reassemble it and then reencrypt it again and then see if it works and then have custom firmware released all basically and install it by changing dns servers to custom and update and get it from the computer and have custom firmware if i can recompile it exactly the same
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Not dumping the FIRM partition, that's easily possible, but the same reason emuNAND wasn't possible for so long is why he can't just get an XORpad, decrypt it and pop it into a disassembler... Which is possible with an O3DS mind you ;)
I call BS as I'm pretty damn sure I've decrypted the n3ds firm before... :P
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
i want to make it where it can run through the system updater and modify it and reassemble it and then reencrypt it again and then see if it works and then have custom firmware released all basically and install it by changing dns servers to custom and update and get it from the computer and have custom firmware if i can recompile it exactly the same
Well that's something you'd do to the system titles, not the firmware... And it's really not that simple

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

I call BS as I'm pretty damn sure I've decrypted the n3ds firm before... :P
Maybe <9.6 FIRM, sure I'll buy that but not >9.5
 
D

Deleted User

Guest
OP
Well that's something you'd do to the system titles, not the firmware... And it's really not that simple
i know i should of asked first

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

i might still try

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

Well that's something you'd do to the system titles, not the firmware... And it's really not that simple

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


Maybe <9.6 FIRM, sure I'll buy that but not >9.5
you mean there's other things nintendo put in to make it harder to do right?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu