Hacking Build your own dongle (Research and development thread)

DeoNaught

I'm here to steal memes and break dreams
Member
Joined
Aug 22, 2016
Messages
2,260
Trophies
0
Location
Constant Fear
Website
Gbatemp.net
XP
2,258
Country
United States
well, adafruit trinker V5 NOT WORKS for this (the ram is very small and the usb libraries not work)

This is version 2:

1304f4715504d6de16c5c670dfbd3a34o.jpg


this is the files:

https://github.com/atlas44/sam-fusee-launcher

now, this is important, the file src/main.cpp renamed you to main/main.ino

Download Arduino IDE and the libraries and targets from adafruit, select adafruit trinker M0 when you installed the drivers.

open main.ino (payload.h in the same folder)

edit the #include(s) so:

4c4ba0bad1dd109db1d6118419723579o.png


now open any payload.bin that you wish burn with an hexedit and copy all code so:

741aac793f41ab9fef6d20a8371b959bo.png


memorice the block sice

057560070cdee464885aab9f98200045o.png


copy how:

7a1fc23409d211f1b8a783a7e405f93do.png


now edit payload.h in IDE so:

48c9ce47058c5c76cb5a4e00b83be1e9o.png


the check and compile, if all is ok then upload the file IN BOOTLOADER MODE.

Is easy.

I'll get my shit together and make a pcb that connects everything together, and then I'll(or someone else) make an enclosure.

We can call it the W.A.E Wonderful Awesome Electronic :33
 

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
I'll get my shit together and make a pcb that connects everything together, and then I'll(or someone else) make an enclosure.

We can call it the W.A.E Wonderful Awesome Electronic :33

If I have proper dimensional data for the PCB and component position/size, I can totally design an enclosure.

As I've said here many times, I want as many options for quick and easy payload delivery as possible. I am not strongly invested in any single way, I just dont want TX's proprietary dongle to be the only game in town. We have already reached that point. We have working prototypes for several microcontroller based solutions, and working examples of reprogrammed COTS SoM based solutions. The next thing is inexpensive open hardware sold in assembled states, ready for use. To me, that would cover every device class, and would make the TX dongle just another offering.

I have preferences for solutions that are easy for end users without skills, rather than hobbyist kit builds. The latter is still good to see though.
 
  • Like
Reactions: DeoNaught

DeoNaught

I'm here to steal memes and break dreams
Member
Joined
Aug 22, 2016
Messages
2,260
Trophies
0
Location
Constant Fear
Website
Gbatemp.net
XP
2,258
Country
United States
I only wait to arrived a pcbs for usb c, but in this adafruit is very dificul solder usb data...
Agreed, Adafruit sucks like that. wait, does the Adafruit have exsposed Data lines?(test pads and such)

Usb C might need to be done somewhere else, instead of done diy
 

tecfreak

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
186
Trophies
0
Location
Berlin
XP
439
Country
Germany
I'm for a true modchip based on the ATSAMD21.

The only problem that bothers me is how to manage the usb connection if an other device is connected to the switch (the dock or whatever).
 

guily6669

GbaTemp is my Drug
Member
Joined
Jun 3, 2013
Messages
2,337
Trophies
1
Age
34
Location
Doomed Island
XP
2,116
Country
United States
Some of these solutions don't appear to have any advantage over just using your phone (to me at least). Are there any that are more dongle like that don't require a cable?
Yep same here lol... That router is not even as portable as a phone and it's just a big hassle with flashing it and blablahblah...

If someone could do it with something very cheap and as portable as a usb pen drive to fit switch carrying bag, then I would actually consider wasting a few money on that like the TX dongle...

I think CronusMax and Titan one would probably be able to do it, but I would need a CFW 4 my CronusMax V1.0...

If I remember well it has a 8 bit CPU, but can't remember how much memory...
drex_cronusmax_plus_hardware_guide_custom_2.png
 
Last edited by guily6669,

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
Other than the fact that it has a USB connector, is there any particular reason you expect it to work?

My guess is that it doesn't have USB host mode capabilities.

I dont know if that chip supports hostmode or not. Getting it to run something other than qualcomms RTOS is going to be a bit of a pain. The chip inside it is a qualcomm MSM6246. It has a microsd card slot that apparently can substitute for the nand flash with some poking, so maybe a way in. I cant easily find any quality documentation on that chip; It does not appear to be intended for general purpose builds. The "fluff literature" from qualcomm says it can communicate with USB2, but does not elaborate if this is device mode or host mode. (Or software controlled).

I certainly dont want to invest my time on it, as there is no clear path to success.
 
  • Like
Reactions: STKV182

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
final version (now I only need a shell)

Judging by the size and form factor... I would still hazard that a tictac container would make a good shell. Some careful cutting so that the side-mounted usb-c male connector is able to go in (and still stick out), and a little modification to the dispenser hole so that it can be used for the USB power rail for recharging the battery, and off you go. A little paint on the inside, and its all good.

31CiABkB4GL.jpg
 

jj56185

Well-Known Member
Newcomer
Joined
May 2, 2018
Messages
66
Trophies
0
Age
35
XP
399
Country
China
Judging by the size and form factor... I would still hazard that a tictac container would make a good shell. Some careful cutting so that the side-mounted usb-c male connector is able to go in (and still stick out), and a little modification to the dispenser hole so that it can be used for the USB power rail for recharging the battery, and off you go. A little paint on the inside, and its all good.

31CiABkB4GL.jpg
3446-01.jpg
https://www.adafruit.com/product/3446
Maybe Pi Foundation Raspberry Pi Zero Case is more beautiful. but the price......
 

Squirelly

Active Member
Newcomer
Joined
May 28, 2018
Messages
33
Trophies
0
Age
52
XP
196
Country
United Kingdom
love the idea of using one of the trinket's to do the dongles job. Would this one not be a slightly better one to use though :

Adafruit Feather M0 Adalogger (tried to post a link, but can't as I'm too new)

with a built in lipo charge circuit, and an sd card (so switching payloads wouldn't require a reprogram) it seems perfect for the job.
 
  • Like
Reactions: Red1Reaper

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
love the idea of using one of the trinket's to do the dongles job. Would this one not be a slightly better one to use though :

Adafruit Feather M0 Adalogger (tried to post a link, but can't as I'm too new)

with a built in lipo charge circuit, and an sd card (so switching payloads wouldn't require a reprogram) it seems perfect for the job.

It costs 20$. Aside from size, it has no real advantage over the much cheaper (and already professionally enclosed) A5-V11 variants. If you want to explore that device as an injector all the same, go right ahead, I wont stop you, and will instead encourage you to tell us how it goes. :P
 

fishburn1080

Member
Newcomer
Joined
Aug 1, 2007
Messages
14
Trophies
0
XP
317
Country
United States
I keep getting this error


Arduino: 1.8.5 (Windows 10), Board: "Adafruit Trinket M0"

main:12: error: expected ',' or ';' before 'or' token

or const byte intermezzo[INTERMEZZO_SIZE] =

^

C:\Users\DaRkJoKeR\Downloads\sam-fusee-launcher-master (1)\sam-fusee-launcher-master\src\main\main.ino: In function 'void sendPayload(const byte*, uint32_t)':

main:137: error: 'intermezzo' was not declared in this scope

usbBufferedWrite(intermezzo, INTERMEZZO_SIZE);

^

exit status 1
expected ',' or ';' before 'or' token

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
 

Squirelly

Active Member
Newcomer
Joined
May 28, 2018
Messages
33
Trophies
0
Age
52
XP
196
Country
United Kingdom
It costs 20$. Aside from size, it has no real advantage over the much cheaper (and already professionally enclosed) A5-V11 variants. If you want to explore that device as an injector all the same, go right ahead, I wont stop you, and will instead encourage you to tell us how it goes. :P

It's on my list of possibilities. Looking for something that will go in the empty joycon shell/rail I've got coming my way. Hoping to create a combo jig/rcm injector just for the giggles.
 
  • Like
Reactions: Red1Reaper

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/2n3nUOadWxM?si=7QMANPmqPdFcdlfm