Hacking Hardware Picofly - a HWFLY switch modchip

lemongrab

New Member
Newbie
Joined
Jan 31, 2023
Messages
3
Trophies
0
Age
36
XP
59
Country
Germany
I'm a bit lost. If I understood correctly the firmware is encrypted and tied to the id to the flash. How many people are there with a working picofly and where did they even get it when the original dev cancelled the release. Because if the encrypted/flash id part is outdated, I would look into the firmware and see if I can patch the SD loader, which is said to be broken.
 

TheSynthax

Well-Known Member
Member
Joined
Apr 29, 2018
Messages
221
Trophies
0
XP
511
Country
United States
I'm a bit lost. If I understood correctly the firmware is encrypted and tied to the id to the flash. How many people are there with a working picofly and where did they even get it when the original dev cancelled the release. Because if the encrypted/flash id part is outdated, I would look into the firmware and see if I can patch the SD loader, which is said to be broken.
If you can manage to swap out the SD loader for a known-good loader (Spacecraft or HWFLY) then this will be a fully functional chip.
 

Attachments

  • fw_unlocked_v1.1_ubuntu.zip
    93.1 KB · Views: 66
  • Like
Reactions: Adran_Marit

FruithatMods

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
128
Trophies
0
Age
34
XP
450
Country
Germany
You also have to hope there isn't a CRC check of the payload which I doubt there is.
I would use a hex editor in combination with a decompiler to find the payload region.
You can cut the region using a hex editor and replace it with a working payload.

1. Find the payload start and end
2. Replace the payload

But everybody also understands it is better and cleaner to write the firmware from scratch.
There are already efforts underway by at least one community member from what I know.
 

Doodka

Active Member
Newcomer
Joined
Jan 26, 2023
Messages
25
Trophies
0
Age
21
XP
104
Country
Belarus
Maybe my idea is nonsense, sorry. But what if to attract AI ? For example ChatGPT. To write the firmware or find errors.
I don’t think this is a good idea, chatgpt itself often makes mistakes, but here you need to write code based on specific documentation and for specific hardware
 
  • Like
Reactions: SUPERBANEN

Doodka

Active Member
Newcomer
Joined
Jan 26, 2023
Messages
25
Trophies
0
Age
21
XP
104
Country
Belarus
Probably it would say that it is illegal and would do absolutely nothing but anyway you could try
ai does not know the concept of "legality" in this context, you can simply say "we need a program for rp2040 that will generate such and such data based on such and such timings for certain pins"
but firstly, ai can make mistakes, and secondly, we ourselves need to understand what the algorithm of actions is
we can feed him information from the github about the exploit and other things, but it is not clear how he will analyze it
if someone has a desire, he can try to take ready-made packages for training and test everything on Stable Diffusion
 
  • Like
Reactions: SUPERBANEN

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
ai does not know the concept of "legality" in this context, you can simply say "we need a program for rp2040 that will generate such and such data based on such and such timings for certain pins"
but firstly, ai can make mistakes, and secondly, we ourselves need to understand what the algorithm of actions is
we can feed him information from the github about the exploit and other things, but it is not clear how he will analyze it
if someone has a desire, he can try to take ready-made packages for training and test everything on Stable Diffusion

My money is still on @FruithatMods. Better AI with 2022 and 2023 information already uploaded. UI is a little rough around the edges but still far from worthless. ;-)
 

Tafty

Well-Known Member
Member
Joined
Sep 23, 2016
Messages
116
Trophies
0
Age
36
XP
923
Country
I've allready tried this, doesn't work
I'm replying to myself lol, but for everyone else here it's also worth noting I took the boot0 from the pico and moved it to a hwfly system and did get the same error I was seeing on pico about BEK keys etc... But moving a hwfly boot0 over to pico didn't get me into HOS.

And before anyone asks, I tried fusee I tried from hekate... I tried injecting boot0 and trying to boot straight in, and also injecting then rebooting and trying again.

One thing I did notice and may be of important, when you first install the pico you will see the white led... This is either training Or some sort of initial diagnostic to check everything is working correctly or even the initial modification to boot0, the white led is either followed with a color to indicate a problem Or a blue led while it starting glitch timing.

Now when I flashed the hwfly boot0 and rebooted before attempting to launch in HOS I was greated with the white led again as if this was it's first boot, this makes me believe its coded to rewrite boot0 If the data/checksum whatever doesn't match its own code.

Im pretty confident that there is nothing we can do from a hekate/payload point to get this to "work", which I'm using very loosely because while I understand everyone is hyped and wants this to work NOW this isn't the correct way to go about this. As I have allready said and some others here have aswell, we need a completely open source firmware, this benefits everyone in the long run rather then some bodged up work around.

So can I ask, please stop sending me payloads etc to ask me to test, because I'm not going to bother at this point.. But I will still continue to test any UF2 firmwares for the pico itself.
 

Doodka

Active Member
Newcomer
Joined
Jan 26, 2023
Messages
25
Trophies
0
Age
21
XP
104
Country
Belarus
ok, I want to clarify something
So far, are we making progress with code disassembly for the encrypted/unlocked version?
Or is anyone writing code from scratch? If yes, please give us a sign
Perhaps we should involve third-party developers who have already been involved in hacking or modchips? because I have a feeling that there are no people in the thread with knowledge of the rp2040 architecture or knowledge of where to dig at all
 
  • Like
Reactions: SUPERBANEN

Tafty

Well-Known Member
Member
Joined
Sep 23, 2016
Messages
116
Trophies
0
Age
36
XP
923
Country
ok, I want to clarify something
So far, are we making progress with code disassembly for the encrypted/unlocked version?
Or is anyone writing code from scratch? If yes, please give us a sign
Perhaps we should involve third-party developers who have already been involved in hacking or modchips? because I have a feeling that there are no people in the thread with knowledge of the rp2040 architecture or knowledge of where to dig at all
people are looking at it...at least a few are in this thread....again this is likely going to take time to understand.

but the bigger problem is everyone here wants a solution now and doesn't want to wait....or doesn't even want to read through the entire thread to find out what's going on(people everyday asking for updates)

if you want a solution now, your better off paying whoever created the original firmware to give it up.

but yes any devs that can help would obviously speed up things
 
Last edited by Tafty,

scd

Member
Newcomer
Joined
Jun 13, 2021
Messages
9
Trophies
0
Age
19
XP
99
Country
Canada
people are looking at it...at least a few are in this thread....again this is likely going to take time to understand.

but the bigger problem is everyone here wants a solution now and doesn't want to wait....or doesn't even want to read through the entire thread to find out what's going on(people everyday asking for updates)

if you want a solution now, your better off paying whoever created the original firmware to give it up.

but yes any devs that can help would obviously speed up things
I kinda wish that we can pin posts here, or get the OP to edit their post so it links to the newest update. when I found this thread I found it kinda annoying I had to go through 20 pages just to find an actual update on it y'know?
 
  • Like
Reactions: Tafty

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,944
Trophies
2
XP
30,283
Country
United Kingdom
I kinda wish that we can pin posts here, or get the OP to edit their post so it links to the newest update. when I found this thread I found it kinda annoying I had to go through 20 pages just to find an actual update on it y'know?
You or OP or anyone can ask a mod to mark a particular comment as important, and these important posts can be listed and jumped to from the top of the thread. Press report on a post and ask for it to be marked important.
 

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,781
Trophies
1
Location
42*South
XP
4,569
Country
Australia
I'm replying to myself lol, but for everyone else here it's also worth noting I took the boot0 from the pico and moved it to a hwfly system and did get the same error I was seeing on pico about BEK keys etc... But moving a hwfly boot0 over to pico didn't get me into HOS.

And before anyone asks, I tried fusee I tried from hekate... I tried injecting boot0 and trying to boot straight in, and also injecting then rebooting and trying again.

One thing I did notice and may be of important, when you first install the pico you will see the white led... This is either training Or some sort of initial diagnostic to check everything is working correctly or even the initial modification to boot0, the white led is either followed with a color to indicate a problem Or a blue led while it starting glitch timing.

Now when I flashed the hwfly boot0 and rebooted before attempting to launch in HOS I was greated with the white led again as if this was it's first boot, this makes me believe its coded to rewrite boot0 If the data/checksum whatever doesn't match its own code.

Im pretty confident that there is nothing we can do from a hekate/payload point to get this to "work", which I'm using very loosely because while I understand everyone is hyped and wants this to work NOW this isn't the correct way to go about this. As I have allready said and some others here have aswell, we need a completely open source firmware, this benefits everyone in the long run rather then some bodged up work around.

So can I ask, please stop sending me payloads etc to ask me to test, because I'm not going to bother at this point.. But I will still continue to test any UF2 firmwares for the pico itself.

I'm curious for the sake of sanity, could you use the pico to boot into rcm and try from there as it seems this is the only thing we haven't tried
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    +1
  • Veho @ Veho:
    Economy was better under Trump, according to Fox News.
    +1
  • Veho @ Veho:
    I don't give a fuck about what happens to America but I would like it if your shit didn't spill out on the rest of the world, thank you.
    +3
  • AncientBoi @ AncientBoi:
    A Far Right news service company
  • AncientBoi @ AncientBoi:
    I give a fuck about what happens to America but I would like it if our shit didn't spill out on the rest of the world, thank you.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    @Veho, didn't need any news. Just going to the store and buying groceries is a constant reminder.
  • Veho @ Veho:
    A reminder that all corporations reported record profits these last few years?
  • Veho @ Veho:
    Reminded that every single price gouging law was blocked by republicans because "muh gubmint overreach"?
  • Veho @ Veho:
    Won't somebody please think of the corporations?!?!
  • Psionic Roshambo @ Psionic Roshambo:
    The problem with X party blocked X bill that would have prevented X is that yes the bill probably would have worked great, buuuttt they put XYZDCBG in said bill as an attempt to sneak things in that tend to be completely unrelated to the original bills intent. It sucks because if they would just do a single thing they could probably get something done...
  • Psionic Roshambo @ Psionic Roshambo:
    But congressman X needs to have government funding for his cousins unicycle business
  • Psionic Roshambo @ Psionic Roshambo:
    It's a sad state of affairs
  • Psionic Roshambo @ Psionic Roshambo:
    Rotflmao
  • Psionic Roshambo @ Psionic Roshambo:
    Mom I don't want to do homework!!!
    Psionic Roshambo @ Psionic Roshambo: Mom I don't want to do homework!!!