Hacking Hardware Picofly - a HWFLY switch modchip

deeps

Well-Known Member
Member
Joined
Jul 3, 2007
Messages
447
Trophies
1
XP
1,235
Country
is there a video i can watch about the DAT0 permanent install? Im about to do my first OLED here really soon.


this is a hwfly but the dat0 reball part is the same as for picofly
Post automatically merged:

I have seen a max price of $40 in my country without the parts. for the install only.

This is definitely not in europe or north america :)
 

bilalhassan341

Well-Known Member
Member
Joined
Apr 1, 2023
Messages
138
Trophies
0
XP
271
Country
United States
yikes! at $40 it wouldn't even be worth my time. How long does it take you to do the install?
I don't do installs but I know some guy which do repairs and mod because it is legal here. Everyone can do that for you.
Post automatically merged:

This is definitely not in europe or north america :)
ik.
 

BlueBeans

Well-Known Member
Member
Joined
May 2, 2023
Messages
270
Trophies
0
Age
32
XP
268
Country
United States


this is a hwfly but the dat0 reball part is the same as for picofly
Post automatically merged:



This is definitely not in europe or north america :)

wow. yeah thats a lot of work. lol I think ill stick to the cable for now. How do you know if its connected properly?
Post automatically merged:

everything is relative. if the average salary in his country is $5/hour then $40 for the install suddenly doesn't seem as cheap.
You're right. I Didn't think about it that way.
 

cicci084

Well-Known Member
Member
Joined
Apr 1, 2023
Messages
146
Trophies
0
Age
43
XP
229
Country
Italy
That is more reason you need to get it back :rofl2:, in the end we all can learn something new if you able to fix it hands on.

Any diff on the result, like glitch time? or switch will light up:rofl2:?


Can we know the reason that you still need to trimdown zero pcb?


Pico W have wireless, i havent tried that yet, but i think you still can trim it like non-W pico.

Please dont do that :rofl2:, juts rip the metal shield then throw it away and install the back cover.. job done. no ripped hair casualties :rofl2:.
But seriously, try push anywhere on the board that can be pushed (ussualy where pico sit), push, wiggle it. if you can push with your hand but still works then most likely it short.
Booked courier to ship to me again, will update soon.
Now I'm going to work, tomorrow if I can, I have to install 1 lite, 3 normal, 1 oled (reball dat0).
We will update soon.
 
  • Like
Reactions: cgtchy0412

bilalhassan341

Well-Known Member
Member
Joined
Apr 1, 2023
Messages
138
Trophies
0
XP
271
Country
United States
everything is relative. if the average salary in his country is $5/hour then $40 for the install suddenly doesn't seem as cheap.
Actually it is not cheap here. It is expensive, like really expensive. There is no resale market you have to sell it for a 40% loss for consoles only. In here people buy lexus at a price of rolls royce. Even a Prado/Land Cruiser cost $600k here for 23 model.
 

deeps

Well-Known Member
Member
Joined
Jul 3, 2007
Messages
447
Trophies
1
XP
1,235
Country
wow. yeah thats a lot of work. lol I think ill stick to the cable for now. How do you know if its connected properly?
by measuring with a multimeter. you'll get different values if the cable is only attached to the motherboard vs connected to both motherboard and emmc. as for whether it shorted against one of the other dat balls - well, test and see if it boots....
 

BlueBeans

Well-Known Member
Member
Joined
May 2, 2023
Messages
270
Trophies
0
Age
32
XP
268
Country
United States
by measuring with a multimeter. you'll get different values if the cable is only attached to the motherboard vs connected to both motherboard and emmc. as for whether it shorted against one of the other dat balls - well, test and see if it boots....
are there values to reference?
 

cicci084

Well-Known Member
Member
Joined
Apr 1, 2023
Messages
146
Trophies
0
Age
43
XP
229
Country
Italy
Need confirmation, i confused.
1. you have use two different flex?
2. The first flex worked, but the others don't?
3. What cable you disconnected when closing the heat sink?
4. You still connect the SDA and SCL line until now?
Post automatically merged:


It might silly question. I see your customer could open the device and video it. Did he ever try to take the battery connector off, then connect it again?
yes, same result
 

Takezo-San

Well-Known Member
Member
Joined
May 3, 2023
Messages
261
Trophies
0
Age
39
XP
348
Country
Seychelles
Quick update on the switch lite black screen I had. Thanks to @QuiTim for the schotkey diode specification. Worked like a charm and now out of the black screen and into the blue screen. hurrah! Reflowed the Emmc, APU and RAM still nothing. Reflowed the APU again but this time some stray ball came out 3 of them. Maybe i used too much flux or maybe they were cracked or on their way out. Ordered some 0.35mm balls and stencil for it and going to attempt a reball on it. Want to leave no stone unturned here and hoping this is it.....again..... Annoyingly had to remove my mosfet install and wires but hey...all for the greater good I suppose

hot-fuzz-greater-good.gif


Also the thermo cam i bought was utter garbage. Getting rid of it and saving for a higher quality one but nonetheless, the switch Lite is 100% more sensitive than the other versions of the switch Or we're using the wrong points for the mod Or the RP2040 is having compatibility issues with Lite version. FYI, my emmc is SKhynix. AND I did use the bad 2.72fw but other people have had the same symptoms using later fw so nothing really makes sense...yet.
 
Last edited by Takezo-San,

HackMan37

Active Member
Newcomer
Joined
May 26, 2023
Messages
37
Trophies
0
XP
78
Country
Dominican Republic
Some news for those with dead lite

I noticed that hekate "works" changing the on the bdk/memory_map.h, #define IPL_STACK_TOP 0x4003ff00 // 0x83100000 with this doesn't "boot".

After turn on, when the backlight is reduced a bit, then you can select the Reboot to OFW or RCM Mode.

Steps to reproduce:

1-Turn on.
2-If the backlight is reduced, the hekate it's "working"
3-Press 4 times volume -
4-Press power button for "Reboot to OFW"

I have the bootloader folder on the sd, but i think that hekate doesn't recognize it.

Maybe it's possible to do the same with LockPick_RCM?

The time will say it.
 

Attachments

  • PXL_20230609_230729454.mp4
    34.1 MB

floxcap

Well-Known Member
Newcomer
Joined
May 21, 2023
Messages
69
Trophies
0
XP
281
Country
Australia
Some news for those with dead lite

I noticed that hekate "works" changing the on the bdk/memory_map.h, #define IPL_STACK_TOP 0x4003ff00 // 0x83100000 with this doesn't "boot".

After turn on, when the backlight is reduced a bit, then you can select the Reboot to OFW or RCM Mode.

Steps to reproduce:

1-Turn on.
2-If the backlight is reduced, the hekate it's "working"
3-Press 4 times volume -
4-Press power button for "Reboot to OFW"

I have the bootloader folder on the sd, but i think that hekate doesn't recognize it.

Maybe it's possible to do the same with LockPick_RCM?

The time will say it.
LockPick_RCM needs quite a bit of RAM to do it's work.. most of which is allocated from the heap.
It may be possible to create a version of it that runs only in IRAM but it would have to be split in to multiple executables - and that will take quite some time.
I think more success will be had from finding out why DRAM has problems with these lite installs - it surely can only be one of:
bus issue / power issue / init issue.
 

deeps

Well-Known Member
Member
Joined
Jul 3, 2007
Messages
447
Trophies
1
XP
1,235
Country
For those wanting to tinker around with the firmware, here's a script that builds the firmware through docker without any other dependencies:


Code:
#!/bin/bash
#
# This script compiles picofly through docker.
# No additional dependencies except docker.
# firmware.uf2 and update.bin will be created and copied to your current
# directory.
#
# If pico-sdk/usk/busk are not present in your current directory, they
# will be git cloned.
# If you want to make modifications to either of these components, clone or
# unpack either of them into your current directory. The script will then use
# those directories as source instead.
#
# Source urls:
# https://github.com/raspberrypi/pico-sdk
# https://github.com/rehius/usk
# https://github.com/rehius/busk
#

set -e
cat <<EOF > picofly.Dockerfile
FROM ubuntu:jammy
RUN apt-get update && apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
RUN apt-get install -y git python3 cmake
RUN mkdir /build
replace-me-with-picosdk-source-command
replace-me-with-usk-source-command
replace-me-with-busk-source-command
RUN ln -s /build/pico-sdk/external/pico_sdk_import.cmake /build/usk/ && ln -s /build/pico-sdk/external/pico_sdk_import.cmake /build/busk/
RUN sed -i 's/RAM(rwx) : ORIGIN =  0x20000000, LENGTH = 256k/RAM(rwx) : ORIGIN = 0x20038000, LENGTH = 32k/g' /build/pico-sdk/src/rp2_common/pico_standard_link/memmap_default.ld
ENV PICO_SDK_PATH=/build/pico-sdk
RUN cmake -S /build/busk -B /build/busk && make -C /build/busk && make -C /build/busk clean
RUN cmake -S /build/usk -B /build/usk && make -C /build/usk && make -C /build/usk clean
RUN cd /build/usk && python3 prepare.py
EOF
if [ -d pico-sdk ]; then sed -i 's/replace-me-with-picosdk-source-command/COPY picofly-sdk \/build\/picofly-sdk/g' picofly.Dockerfile; else sed -i 's/replace-me-with-picosdk-source-command/RUN git clone https:\/\/github.com\/raspberrypi\/pico-sdk.git \/build\/pico-sdk \&\& cd \/build\/pico-sdk \&\& git submodule update --init/g' picofly.Dockerfile; fi
if [ -d usk ]; then sed -i 's/replace-me-with-usk-source-command/COPY usk \/build\/usk/g' picofly.Dockerfile; else sed -i 's/replace-me-with-usk-source-command/RUN git clone https:\/\/github.com\/rehius\/usk.git \/build\/usk/g' picofly.Dockerfile; fi
if [ -d busk ]; then sed -i 's/replace-me-with-busk-source-command/COPY busk \/build\/busk/g' picofly.Dockerfile; else sed -i 's/replace-me-with-busk-source-command/RUN git clone https:\/\/github.com\/rehius\/busk.git \/build\/busk/g' picofly.Dockerfile; fi
docker build -t picofly-builder -f picofly.Dockerfile .
picofly_image_id=$(docker create picofly-builder)
docker cp ${picofly_image_id}:/build/usk/firmware.uf2 firmware.uf2
docker cp ${picofly_image_id}:/build/usk/update.bin update.bin
docker container rm ${picofly_image_id}
rm picofly.Dockerfile
echo "Done! firmware.uf2 and update.bin have been compiled and copied to your current directory."
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: That counts as a software update :tpi: