Hacking Hardware Picofly - a HWFLY switch modchip

JaRocker

Well-Known Member
Member
Joined
May 3, 2018
Messages
341
Trophies
0
XP
1,496
Country
Jamaica
Where can this be found on the RP2040 Micro
 

Attachments

  • IMG_8906.jpeg
    IMG_8906.jpeg
    1.1 MB · Views: 42

unchil

Member
Newcomer
Joined
Jun 17, 2023
Messages
10
Trophies
0
Age
33
XP
75
Country
Poland
What does *=* blink mean? I cant find info about it. My switch doesnt start with or without chip right now. Black screen.
 

lightninjay

Well-Known Member
Member
Joined
Mar 28, 2023
Messages
561
Trophies
0
Age
31
XP
1,398
Country
United States
What does *=* blink mean? I cant find info about it. My switch doesnt start with or without chip right now. Black screen.
Check Rehius' post for LED indication.
Latest firmware here

ChangeLog:

v2.0 + Active MMC communication
v2.1 + Toshiba support
v2.2 + Fix Toshiba boot fail
v2.3 + SanDisk support
v2.4 + Faster Toshiba boot
v2.5 + fix OFW boot
v2.6 + software update, xiao & itsy support
v2.61 + Instinct-NX sdloader, bug fixes
v2.62 + Make 16.0.1 happy (fix OFW boot)
v2.63 + roll back some 2.62 boot speed tricks
v2.64 + enable back the board detection
v2.65 + RP Pico support, double reset removed
v2.66 + Bypass to OFW after update for proper fuse burning
v2.67 + Don't bypass to OFW on first install
v2.70 + new LED indication, i2c undervoltage hack
v2.71 + support for SQc open-source board
v2.72 + disable CLK check, it's unstable
v2.73 + add LED signal on success
v2.74 + 300 mhz precision rp2040 may be not stable at 300mhz

= is long pulse, * is short pulse:

= USB flashing done

** RST is not connected
*= CMD is not connected
=* D0 is not connected
== CLK is not connected

*** No eMMC CMD1 responce (bad eMMC?)
**= No eMMC block 1 read (should not happen)
*=* No eMMC block 0 read (eMMC init failure?)
*== No eMMC CMD1 request (poor wiring, or dead CPU)

=** eMMC init failure during glitch process
=*= CPU never reach BCT check, should not happen
==* CPU always reach BCT check (no glitch reaction, check mosfet)
=== Glitch attempt limit reached, cannot glitch

=*** eMMC init failure
=**= eMMC write failure - comparison failed
=*=* eMMC write failure - write failed
=*== eMMC test failure - read failed
==** eMMC read failed during firmware update
==*= BCT copy failed - write failure
===* BCT copy failed - comparison failure
==== BCT copy failed - read failure

If your glitch is unstable (==* error), and the proper boot happens only when you press Reset after joycon logo, you can add two more wires to make glitch much better.

board pins:
Waveshare rp2040: SDA=12, SCL=13
Pi Pico: SDA = 19, SCL = 20
XIAO 2040: SDA=3, SCL=4
ItsyBitsy 2040: SDA = 18, SCL = 19

NS points (v2, Lite, OLED):
View attachment 372191
View attachment 372192
View attachment 372193



Q: What is supported?
A: Erista (v1), Mariko (v2, Lite, OLED)

Q: eMMC types support?
A: Tested on Hynix, Samsung, Toshiba, SanDisk

Q: rp2040 boards support
A: WaveShare 2040-zero/one, xiao-rp2040, adafruit itsybitsy (Pi Pico is not supported for now)

Q: GREEN, but instant reset
A: Clean flux near the RST point

Q: Do I really need 47 Ohm resistors?
A: You can skip them, however in this case you will have to use emuMMC due to the line interference, sysNAND would not boot (sysNAND data can be damaged).

Q: Does the firmware has learning? How to reset statistics
A: Short pin 0 to either 1 or GND during start for chip reset. The statistics is collected each boot. The more you start it - the better it boots.

Q: open source?
A: https://github.com/rehius

Q: why you made it?
A: to prove it possible!

Q: run Atmosphere?
A: no piracy

v2.5 firmware had a bug with BOOT0 corruption. To recover it:
- boot "Full Stock" using hekate
- update to the latest official firmware over Wi-Fi

- boot "Full Stock" using hekate
- perform a full system reset

- show firmware information
- update firmware from SD card (place update.bin into the root folder)
- rollback to the backup firmware slot
- reset learning statistics
- dump / write sdloader

if you have an rp2040-zero from waveshare/ali then it has a neopixel. It is used for diagnosing proper firmware flashes as well as console glitching. If you plug it in, and flash the uf2 firmware to it and immediately see a red light after flashing (this is not the same as flashing, then unplugging and replugging), then no rgb jumper needs to be made. If on the other hand, you get one quick green flashing light, then you need to bridge the jumper pads indicated to swap the LED colors for proper diagnoses capability.
 

unchil

Member
Newcomer
Joined
Jun 17, 2023
Messages
10
Trophies
0
Age
33
XP
75
Country
Poland
Seems your switch is oled right?
no, its v1

*=* No eMMC block 0 read (eMMC init failure?)

So it looks like my eMMC is fckd? Can I buy it from aliexpress (whole module with connector) and try to restore it?

EDIT:
I menaged to fix a broken trace and console boots to hekate. I tried to restore it usig the lvl 1 sthetix guide but I`m still getiing black screen trying to boot the system.
EDIT 2:
I created emuemmc. When I`m trying to boot emu I`m getting en error:
"error while loading fss0:
atmosphere/packeage3
wrong ini cfg ir missing/corrupt files"

EDIT 3:
And now black screen trying to boot both

black screen after "booting"

2023-06-27 12.43.10.jpg
 
Last edited by unchil,

Dee87

Well-Known Member
Member
Joined
Mar 19, 2023
Messages
1,139
Trophies
1
XP
1,589
Country
Germany
Need some help guys. Just got this message from someone who picked up from me yesterday.
The fan speed issue I would say the fan is not plugged in correct and the signal pin has no connection.
For joycon and wires I would say the cables are not set properly , get the switch back and check ur work.

If that's not the case there are some resistors next to the apu that could've been damaged while u took of the apu shield , happend to me a while ago also

It sucks but sometimes things like that happen
 

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,920
Country
Congo, Republic of the
As the comment is. Check the mosfet.

The emmc stage is good, the glitch executed via 'cpu pin', but theres no response.

Check the mosfet, maybe the 'cpu pin' connection with the G of mosfet is disconnected. Or maybe the D of mosfet is not connected. Check the resistance between the D and GND, the good value is around 10-60ohms.
Post automatically merged:


I suspect theres some short in somewhere.

I faced this error very often. This issue is also related to your install also or weak mosfet or mosfet not working. it is mostly fixed by the SDA And SCL wires because I'm too lazy to check. But it is also related to mosfet. Just first place the SDA and SCL to see if it post or not, or you can press the reset button on RP2040 when joycon logo shows to see. If SDA and SCL wires and reset button method don't work then check mosfet.

1 or 2 MOSFETs ? If one install a second
What wires from MOSFET to apu if 0.1 use 0.2
Otherwise check ur soldering
So sorry everyone, the error is " *=* No eMMC block 0 read (eMMC init failure?)"
i make a mistake with the first puls, it's a sort not a long puls so, it's a *=*

It worked after install but when i took back the apu shield, i have this error but i don't see any resistors damaged :(, it's a Lite model
 
Last edited by chronoss,
  • Like
Reactions: bilalhassan341

Dee87

Well-Known Member
Member
Joined
Mar 19, 2023
Messages
1,139
Trophies
1
XP
1,589
Country
Germany
So sorry everyone, the error is " *=* No eMMC block 0 read (eMMC init failure?)"
i make a mistake with the first puls, it's a sort not a long puls so, it's a *=*

It worked after install but when i took back the apu shield, i have this error but i don't see any resistors damaged :(, it's a Lite model
Then check and make sure all cables connected and nothing is grounded
Specially dat0 cmd and clk
 
Last edited by Dee87,
  • Love
Reactions: chronoss

karatefeet

Well-Known Member
Newcomer
Joined
May 18, 2023
Messages
90
Trophies
0
XP
489
Country
Canada
Resistance to cpu pin is 800 ohms.

I think it is just a bad picofly chip. It's the only conclusion I was able to come to after testing.

When I desolder the rst wire from the picofly, the rst voltage goes to the correct 1.9v so I think something on the picofly is causing it to be 0.9v.

I tried testing by desoldering 1 wire at a time. The switch will boot to OFW successfully unless either dat0 or cmd are connected to the picofly.

All of it makes no sense to me. I will just try a new picofly and see if it works. I am just glad the switch is okay.

edit: IT WORKS! It was a bad picofly indeed. Maybe I killed it when desoldering the type c connector. I did not see any shorts on the picofly itself though.
Does the picofly light up at all? I had a bad one and it turned out to be a bad crystal oscillator. Picofly didn't light up at all in my case.
 

BlueBeans

Well-Known Member
Member
Joined
May 2, 2023
Messages
270
Trophies
0
Age
33
XP
280
Country
United States
The fan speed issue I would say the fan is not plugged in correct and the signal pin has no connection.
For joycon and wires I would say the cables are not set properly , get the switch back and check ur work.

If that's not the case there are some resistors next to the apu that could've been damaged while u took of the apu shield , happend to me a while ago also

It sucks but sometimes things like that happen
Ok. He’s going to bring it back when I get back into town. He linked me to this page actually so I was thinking maybe I damaged this somehow because I have a picture of my work and those resistors still seem to be in tact.

https://gbatemp.net/threads/fan-con...-off-then-turns-off-when-switch-is-on.607945/
 

aleciobr

Member
Newcomer
Joined
Jun 27, 2023
Messages
22
Trophies
0
Age
32
XP
75
Country
Brazil
hello everyone, I would like to know if you have another cmd point?
 

Attachments

  • photo_2023-06-27_12-37-00.jpg
    photo_2023-06-27_12-37-00.jpg
    192.2 KB · Views: 45

BlueBeans

Well-Known Member
Member
Joined
May 2, 2023
Messages
270
Trophies
0
Age
33
XP
280
Country
United States
Struggling with this oled here. It booted up normally before putting it into the case and now it’s saying that DAT0 is not connected. Shows correct voltage on the adapter but not at the RP2040 zero. Swapped adapters and wires.
 

morganno

Active Member
Newcomer
Joined
Aug 7, 2018
Messages
27
Trophies
0
Age
48
XP
307
Country
France
Hi, I have the same error code ( " *=* No eMMC block 0 read (eMMC init failure?)" ) with several OLEDs! I thought it was my wiring, the picofly (2.74) and the mosft cable that was messed up. I soldered a HWFly v5 core the console starts without problem?

I have to tell you, I only boot on the original fw with the pico installed
 
Last edited by morganno,

Elpoep

Member
Newcomer
Joined
Jun 27, 2023
Messages
19
Trophies
0
Age
33
XP
24
Country
United States

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    My feelings
  • BigOnYa @ BigOnYa:
    I'm sorry, i feel bad now.
  • BigOnYa @ BigOnYa:
    Yo momma is just fine as she is.
  • K3Nv2 @ K3Nv2:
    I really don't
  • K3Nv2 @ K3Nv2:
    Can't we just go back to waking each other's dicks again
  • BigOnYa @ BigOnYa:
    No! We said we' d never mention that agai...no I mean what are you talking about, thats ridiculous
  • K3Nv2 @ K3Nv2:
    We can hug and make up which part of your body would you like kissed sir
  • BigOnYa @ BigOnYa:
    I just wanna spoon and...no I'm not falling for your tricks anymore, I've moved on.
  • K3Nv2 @ K3Nv2:
    Yes I know about your deep love you have for @SylverReZ but I was your first
  • K3Nv2 @ K3Nv2:
    That could've been polly thinking about it
  • BigOnYa @ BigOnYa:
    Its not your baby, no matter how much you what it to be, we were separated at that time.
  • BigOnYa @ BigOnYa:
    We sound like Mexican soap operas
  • BigOnYa @ BigOnYa:
    I miss polly, he took alot shit but was fun messing with him
  • K3Nv2 @ K3Nv2:
    That's why I don't get too involved in the forums I don't want my name all over the damn place but I do feel like I had a doing in the Leo and Luke love battle lol
    +1
  • BigOnYa @ BigOnYa:
    I think the cross gen console thing has killed playing cod, bf, pubg on consoles. Cheaters on pc has made them horrible to play on consoles.
  • K3Nv2 @ K3Nv2:
    That's why they dump millions into security now I remember getting all my cod shit unlocked in one match was fun
  • K3Nv2 @ K3Nv2:
    An option to just play with console players may reduce latency even
  • BigOnYa @ BigOnYa:
    Aaawww (points finger)
  • K3Nv2 @ K3Nv2:
    Wut
  • BigOnYa @ BigOnYa:
    Yea they should separate to each, (I know already you gonna say dats rasist)
  • K3Nv2 @ K3Nv2:
    No like if you're on Xbox like a toggle switch that says Xbox players only
  • BigOnYa @ BigOnYa:
    True, should be choice if you want cross play
  • K3Nv2 @ K3Nv2:
    I plan on going back to ultimate with all the new shit coming that'll just be free on ultimate
  • BigOnYa @ BigOnYa:
    Wut? PS ain't tickling your balls no more?
  • K3Nv2 @ K3Nv2:
    No I can just afford both ;O
    K3Nv2 @ K3Nv2: No I can just afford both ;O