Hacking Hardware Picofly - a HWFLY switch modchip

thesjaakspoiler

Well-Known Member
Member
Joined
Nov 20, 2018
Messages
991
Trophies
0
Age
124
XP
1,519
Country
Afghanistan
I honestly think it really was CMD63
I saw you redacted your comment but interestingly the ASIC that sits in between the Tegra and the cartridge also uses that CMD63 command.
The ASIC cart reader uses an encrypted firmware that is provided by the Tegra cpu when the cart reader is initialized.
The ASIC, which contains a Cortex M3 cpu, only has a bootrom and then waits for a firmware to be uploaded.
The ASIC is also waiting for the Tegra to issue a CMD63 command in order to upload the firmware.
In the source code it says : wait for CMD60 or CMD63 command.
 

Piorjade

Well-Known Member
Member
Joined
Nov 8, 2015
Messages
142
Trophies
0
XP
407
Country
Gambia, The
nop, because Spacecraft is only the last part of the trick, the SX-ish clones have a FPGA code which does great part of the magic and "That" code is the one has getting our hair pulled.
Tbh the hair pulling is mostly the emmc communication

The glitching is kind-of too, at least we basically now know when it approximately triggers
 
  • Love
Reactions: impeeza

NoXe

Member
Newcomer
Joined
Apr 24, 2021
Messages
9
Trophies
0
Age
23
XP
85
Country
France
Glitch is not so complex, its easy to analyze, the most complicated is to communicate with all existing emmc on each switch models (especially samsung emmc is garbage)
 
  • Love
Reactions: impeeza

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,373
Trophies
1
XP
3,330
Country
speaking of which, this is in the HWFLY-NX source code in glitch.c at line 217:


C:
    const uint16_t erista_offsets[] = {825, 830, 835, 840, 845, 850, 855, 860, 865, 870, 875, 880, 885, 890, 895, 900, 905};
    const uint16_t mariko_offsets[] = {800, 805, 810, 815, 820, 825, 830, 835, 840, 845, 850, 855, 860, 865, 870, 875, 880};
these are the timing offsets for the glitching, that's cool and all but I've got one question:
What time scale is that? Like, is the first mariko offset 800ns or is it 800 * X ns or what?
Considering these are for the FPGA and FPGAs don't really count in time but clock pulses these may be clock pulse counts. Probably offsets from a certain glitch start point.
 
  • Like
Reactions: impeeza

rcpd

Well-Known Member
Member
Joined
Jan 31, 2023
Messages
617
Trophies
0
Age
55
XP
1,385
Country
United States
This thread consists of 99% children asking "is it done yet" in various ways, so no, barely
Don’t know about that. There’s a few here that have posted interesting tidbits that make me believe they’ll figure it out eventually, they’re just not updating us as quickly as some of us would like or with as much detail as some of us require. Work like this very rarely happens in the open.
 
  • Love
Reactions: impeeza

rcpd

Well-Known Member
Member
Joined
Jan 31, 2023
Messages
617
Trophies
0
Age
55
XP
1,385
Country
United States
I’m not sure it was meant that way… but this reads as if you (or someone else here) are owed something.

Which would be rather unfortunate frame of reference.
It wasn’t. Being honest, I have zero skin in this game. I’ve got two unpatched Switches and zero patched Switches. Just interested in these kinds of things and like to see progress.
 
  • Like
Reactions: eseldiem

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,781
Trophies
1
Location
42*South
XP
4,567
Country
Australia
This thread consists of 99% children asking "is it done yet" in various ways, so no, barely

I wish I was still a child.
I don't understand much of the programming speak and after 20 hours awake reading the few pages information wasn't sinking in.

I've also bricked my own personal hardware on purpose to help this scene out soo take that as you will.
 

Blavla

Well-Known Member
Member
Joined
Sep 20, 2020
Messages
248
Trophies
0
Age
33
XP
1,247
Country
Germany
I have a fresh Lite with soldered Hwfly. I could test some things if that is important. Bought 2 Pi´s too a while ago. I presume the solder points on the motherboard are the same
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
I have a fresh Lite with soldered Hwfly. I could test some things if that is important. Bought 2 Pi´s too a while ago. I presume the solder points on the motherboard are the same
Yes, they are the same. The reference is on page 34. The firmware there doesn’t work btw…yet.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
  • P @ PKNate:
    nope
  • BakerMan @ BakerMan:
    fun fact: 7 years by lukas graham, supermassive black hole by muse, and megalomania all have the same bpm
  • BakerMan @ BakerMan:
    girls just wanna have fun and renai circulation also share the same tempo as the few i said before
  • Xdqwerty @ Xdqwerty:
    @BakerMan, megalomania the live a live song?
  • BakerMan @ BakerMan:
    wait no, megalovania*
  • BakerMan @ BakerMan:
    my bad
  • K3Nv2 @ K3Nv2:
    I don't forgive you
  • BigOnYa @ BigOnYa:
    The nerve of that guy, gosh.
  • K3Nv2 @ K3Nv2:
    Yeah expecting me to forgive gtfo
  • Psionic Roshambo @ Psionic Roshambo:
    But how could the Dr have known you didn't want to be circumcized?
  • K3Nv2 @ K3Nv2:
    He didn't you just wanted your dick to be fondled
    +1
  • K3Nv2 @ K3Nv2:
    Watching dune 2 it's eh
  • Psionic Roshambo @ Psionic Roshambo:
    Dune one sucked
  • Psionic Roshambo @ Psionic Roshambo:
    The original with Patrick Stewart was Great
  • K3Nv2 @ K3Nv2:
    A sexual psycopath that love pain where have I heard that before
  • BigOnYa @ BigOnYa:
    In your high school diary?
  • K3Nv2 @ K3Nv2:
    No but your wife let's me read her diary the word psychopath comes up more than sexual
    +1
  • K3Nv2 @ K3Nv2:
    Lol stremio hogging all of my tvs on board ram
  • BigOnYa @ BigOnYa:
    Just download more Ram to it, or setup Raid666 on it.
    +1
  • SylverReZ @ SylverReZ:
    Morning
    SylverReZ @ SylverReZ: Morning