Tutorial  Updated

How to flash the HWFLY Clone chips

See below for updates.

IF YOU BREAK YOUR BOOT0 PIN. DO NOT DM ME ASKING FOR HELP. THAT'S IT. YOU BREAK THAT PIN AND YOU CANT FLASH. YOUR CHIP IS STUCK WITH WHATEVER HWFLY PUT ON IT


Pre-requisites:




  • Raspberry Pi Zero W
    • You may use another flasher if you desire.
  • Pinout Diagram
  • Modchip Diagram
  • FULL_CHIP_STOCK.bin
  • Modchip Diagram, find the PA9(TX) and the PA10(RX) pins on your modchip, and do the following:
    • Connect GPIO14(TX) on your Raspberry Pi Zero W to the PA10(RX) pin on your modchip.
    • Connect GPIO15(RX) on your Raspberry Pi Zero W to the PA9(TX) pin on your modchip.

  1. Solder a wire to each of the following pinouts on the Raspberry Pi Zero W:
    • 3.3V
    • Ground
    • GPIO 14 (UART TX)
    • GPIO 15 (UART RX)
  2. Do the following to prepare the modchip:
    1. Lift pin 44 (also known as BOOT0).
    2. You will need a way to power the chip, so you need to find two 3.3v points. It can be on a MOSFET, but it will differ based on the revision of the modchip.
    3. Connect Ground on your Raspberry Pi Zero W to the Ground pin on your modchip.
    4. Check the Modchip Diagram, find the PA9(TX) and the PA10(RX) pins on your modchip, and do the following:
      • Connect GPIO14(TX) on your Raspberry Pi Zero W to the PA10(RX) pin on your modchip.
      • Connect GPIO15(RX) on your Raspberry Pi Zero W to the PA9(TX) pin on your modchip.
  3. Boot your Raspberry Pi Zero W and do the following:
    1. In the terminal, type the following command, and press enter:
      Bash:
      sudo nano /boot/config.txt
    2. Add the following line to the end of the file:
      INI:
      dtoverlay=pi3-miniuart-bt
    3. Press CTRL + X to save and exit the editor.
    4. In the terminal, type the following command, and press enter:
      Bash:
      sudo nano /boot/cmdline.txt
    5. Remove the following line from the file:
      INI:
      console=serial0,115200
    6. Press CTRL + X to save and exit the editor.
    7. Restart your Raspberry Pi with this command
      Bash:
      sudo /sbin/reboot
    8. In the terminal, type the following commands, and press enter after each command:

      Bash:
      git clone https://github.com/Pheeeeenom/stm32flash.git
      cd stm32flash
      sudo make install
  4. Now you will flash the modchip.
    Note: This will remove read protection, and the modchip will wipe itself (that is what we want).
    1. In the terminal, type the following command, and press enter:
      Bash:
      stm32flash -k /dev/serial0
    2. Now to flash Spacecraft-NX Version 0.2.0, type the following, and press enter:
      Bash:
      stm32flash -v -w ./FULL_CHIP_STOCK.bin /dev/serial0
  5. Once you're done flashing your modchip, remove the wiring from the modchip, and restore the 3.3v pin on the modchip to its original position.

Please post pictures of your work here to further the identification of the different board revisions!


UPDATE: So it seems like stitching the spacecraft bootloader and firmware together from the repo causes unstable glitching behaviors. For now, consistent glitching behavior works with this bootload/firmware combo.
This is the original file on the OLED variant chip which has 0.2.0 spacecraft. As for glitching, I'll figure it out, give me some time...unless someone else wants to hop in and reverse the differences.

For now, this at least solves the 0.1.0 HWFLY gen 3 issue. More to come.

UPDATE 2: This is only going to work on some HWFLY chips. Older ones use higher protection than the new revisions that seem to use the QFN FPGA.

UPDATE 3: This should fully work on OLED modchips with the QFN FPGA. https://github.com/Pheeeeenom/firmware
 
Last edited by Mena,

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,393
Trophies
1
Age
37
XP
3,917
Country
United States
Will Mena keep on developing his version?
Or is 0.5.0 now the one that keeps updating, making 0.4.0 "obsolete" ?
 

algolsaturn

Member
Newcomer
Joined
Feb 15, 2022
Messages
8
Trophies
0
Location
Earth
XP
116
Country
Australia
Hi there, I ended up ordering this particular HWFLY OLED modchip, in retrospect it was probably a mistake as it doesn't seem to have as much documentation as the other OLED modchip revision that I am sure a lot of you would have seen. I've got a few questions:

1. does this chip have the 0.2 spacecraft-nx firmware that resolves the issue with it sending incorrect voltages?

2. Would I be able to verify the firmware version via dumping boot0? I have purchased an st-link programmer, what would be the best way to hook it up to this chip.

3. is it possible to flash this with Mena custom firmware.

I've heard that this chip is particularly "bad", in terms of quality, although I ordered a separate dat0 emmc adaptor as there have been stories where people have used that particular OLED dat0 adaptor and its caused issues with the emmc, possibly its broken off and shorted something. I would very much appreciate an answer to this as I am new to this. Thanks.

Hwfly-core-lite-oled-3rd-generation-ic-both-support-v1-and-v2.jpg_640x640.jpg
 

doom95

Well-Known Member
Member
Joined
Aug 12, 2019
Messages
303
Trophies
0
Age
24
XP
785
Country
Netherlands
1) yes, although the issue might not even be an issue at all
2) yes. dump boot0 through hekate. no stlink involved.
3) probably not, at least not right now. more research needed.
 
  • Like
Reactions: algolsaturn

suchy101

Member
Newcomer
Joined
Feb 15, 2022
Messages
9
Trophies
0
Age
41
Location
Stafford
XP
219
Country
United Kingdom
is the V3 OLED HWFLY with a corner EMMC adapter used in Sthetix video (INSTALLING - UPDATING - RESETTING THE CHIP : UPDATED VERSION)

the best one to get these days ?
 

suchy101

Member
Newcomer
Joined
Feb 15, 2022
Messages
9
Trophies
0
Age
41
Location
Stafford
XP
219
Country
United Kingdom
Sorry, I meant the whole HWFLY, not the adapter.

Still reading through everything so apologies if this was already discussed. But since I am bumping into reports of issues with older chips, requiring to update the firmware (5V issue) I was just wondering if there is "the kit" to get ?

The one used in that video has usb port for flashing. It also goes through flashing to V2. If I will get this kit, should I start with flashing before install pre-emptively ?
 

lufeig

Well-Known Member
Member
Joined
Oct 22, 2009
Messages
306
Trophies
1
Age
45
Location
São Paulo, Brazil
XP
1,057
Country
Brazil
Hi there, I ended up ordering this particular HWFLY OLED modchip, in retrospect it was probably a mistake as it doesn't seem to have as much documentation as the other OLED modchip revision that I am sure a lot of you would have seen. I've got a few questions:

1. does this chip have the 0.2 spacecraft-nx firmware that resolves the issue with it sending incorrect voltages?

2. Would I be able to verify the firmware version via dumping boot0? I have purchased an st-link programmer, what would be the best way to hook it up to this chip.

3. is it possible to flash this with Mena custom firmware.

I've heard that this chip is particularly "bad", in terms of quality, although I ordered a separate dat0 emmc adaptor as there have been stories where people have used that particular OLED dat0 adaptor and its caused issues with the emmc, possibly its broken off and shorted something. I would very much appreciate an answer to this as I am new to this. Thanks.

View attachment 298243
Apparently this modchip model has better glitching times than the other model with usb debug port. The ones I’ve seen glitch almost instantly.

So I wouldn’t be worried about updating its firmware, at least by now. It works great doing its primary purpose: hacking the Switch.
 

lufeig

Well-Known Member
Member
Joined
Oct 22, 2009
Messages
306
Trophies
1
Age
45
Location
São Paulo, Brazil
XP
1,057
Country
Brazil
Sorry, I meant the whole HWFLY, not the adapter.

Still reading through everything so apologies if this was already discussed. But since I am bumping into reports of issues with older chips, requiring to update the firmware (5V issue) I was just wondering if there is "the kit" to get ?

The one used in that video has usb port for flashing. It also goes through flashing to V2. If I will get this kit, should I start with flashing before install pre-emptively ?
IMHO people not experienced with all this stuff - me included - should have the modchip installed first, then updated if needed.

Because if things go wrong, it will be harder to know if it happened during the flashing, the installing, or the chip was DOA.

Just my 0.02
 

Vladjaye

Well-Known Member
Newcomer
Joined
Jan 11, 2021
Messages
48
Trophies
0
Age
28
XP
379
Country
United States
IMHO people not experienced with all this stuff - me included - should have the modchip installed first, then updated if needed.

Because if things go wrong, it will be harder to know if it happened during the flashing, the installing, or the chip was DOA.

Just my 0.02
I think that chip should be updated first, if possible, to get the best SD card compatibility and working NO SD on Micron memory consoles. If the chip comes with the USB interface - it comes with updating functionality in mind. If it fails on first flash - well, chip is most likely defective.
 

suchy101

Member
Newcomer
Joined
Feb 15, 2022
Messages
9
Trophies
0
Age
41
Location
Stafford
XP
219
Country
United Kingdom
well, I went ahead and ordered the set called V3, with usb header for easy updates. Hope this was not a wrong choice to make.

About a year or so ago I bought second hand Lite and the TX SX Lite and did that myself, without microscope. It was hell, especially with my poor eyesight.

Learned the lesson, and this time shelled out for a microscope.

In the meantime I will read through all the tutorials available to get myself up to speed how to install and use Atmosphere, Hekate and such, as the SX did not need any of that.

I would like to use this opportunity to humbly express my sincere thanks to the unbelievably smart, talented and skilled individuals keeping this scene alive by putting in the work for the benefit of us regular folk.

I bow in awe and respect.

Thank You.
 
  • Like
Reactions: Vladjaye

xdMatthewbx

Well-Known Member
Newcomer
Joined
Nov 9, 2017
Messages
52
Trophies
0
Age
54
XP
417
Country
Canada
Last edited by xdMatthewbx,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Issue is we want new and best then it piles up
  • ZeroT21 @ ZeroT21:
    i'm all gud if my browser don't lag
  • K3Nv2 @ K3Nv2:
    I fixed a 2010 netbook for someone and they were happy
  • ZeroT21 @ ZeroT21:
    i did something similar to for a friend, was a old acer netbook, he was over the moon, guess guys are just that simple
  • K3Nv2 @ K3Nv2:
    Still had xp all the works at least got 7 on it
  • ZeroT21 @ ZeroT21:
    even if MS says newer windows works fine on 1 Gb of ram, I'd still go for the default or similar OS
  • K3Nv2 @ K3Nv2:
    It loaded youtube with like a 5 minute lag lol
  • ZeroT21 @ ZeroT21:
    it's a old potato, can't expect much
  • K3Nv2 @ K3Nv2:
    I told her it's not a good porn book
  • ZeroT21 @ ZeroT21:
    it's fine if it work and can watch their fav porn
  • K3Nv2 @ K3Nv2:
    For images maybe
  • ZeroT21 @ ZeroT21:
    it's not a vibrator la, ...that lags
  • K3Nv2 @ K3Nv2:
    No haptic feedback in laptops
  • ZeroT21 @ ZeroT21:
    you ain't paying for that kinda realism with this hardware
  • K3Nv2 @ K3Nv2:
    Need to give apple $600
  • ZeroT21 @ ZeroT21:
    the more you give apple the more features they will take away
  • K3Nv2 @ K3Nv2:
    Apple finally invented folders
  • ZeroT21 @ ZeroT21:
    i still want headphone jacks for my shit
  • ZeroT21 @ ZeroT21:
    i dont want do deal with low on battery earbuds and shit
  • K3Nv2 @ K3Nv2:
    I hate cords but my life is a cord will probably make a noose from cords
  • ZeroT21 @ ZeroT21:
    we'll all croak one day, no need to fuss so much
  • Psionic Roshambo @ Psionic Roshambo:
    @K3Nv2, Use a Pi it can hack PS4 now too lol
  • K3Nv2 @ K3Nv2:
    Until that day there is a need
    +1
  • Xdqwerty @ Xdqwerty:
    gonna do my homework in half an hour
  • K3Nv2 @ K3Nv2:
    Stop using chatgpt
    K3Nv2 @ K3Nv2: Stop using chatgpt