Hacking Build your own dongle (Research and development thread)

Retr0id

Active Member
Newcomer
Joined
Apr 12, 2018
Messages
33
Trophies
0
Age
54
XP
441
Country
United Kingdom

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
Here we go, a FG implementation that only takes up ~10k with no dependencies: https://github.com/DavidBuchanan314/fusee-nano

FANTASTIC! I will order one of the "3g/4g router modem 150m" (since it lacks a proper name) test articles. Gonna have to wait a few days for delivery though.

Bear in mind that there are several versions of this hardware. The one linked is the one with the built-in battery pack. Since this is a full SoC embedded linux we are gonna be using, it can still do its original task with our new firmware. We should be able to cram some logic for the FG injector function so that it only fires when a switch in RCM mode is detected, and does its normal job otherwise.

---

ORDERED.
 
Last edited by Wierd_w,

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
what about the CHIP? its 9$, runs linux and has a female full size usb 2.0 port

CHIP is out of production, IIRC.

--------------------- MERGED ---------------------------

Would be cool to skip python, that thing's ungainly at the best of times.

And at other times...

Anyway this gadget looks good too if you can get it working. Looks like small USB C male to A male adapters do exist, but they're a lot harder to find than cables.

The "3g /4g router 150m" device is kinda bulky. I would not want it rigidly connected to my switch. A short 6in pigtail cable would be ideal. This could still fit nicely in a travel bag, and it doubles as a portable power pack for phones and other gadgets. Conceivably, it could be used to power the switch for longer road trips. :P
 
  • Like
Reactions: hippy dave

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
i guess we are going in a good direction.

gotta love switch scene.
and its just getting started

With this many hands converging on the same target, many solutions will become available. That means good things for the scene. By the time Atmosphere is ready, we should have at least one inexpensive DIY dongle ready for use with it. Nintendo should be shitting bricks.
 
  • Like
Reactions: Xandroz

Xandroz

Well-Known Member
Member
Joined
Mar 19, 2018
Messages
872
Trophies
0
Age
35
XP
1,625
Country
Egypt
With this many hands converging on the same target, many solutions will become available. That means good things for the scene. By the time Atmosphere is ready, we should have at least one inexpensive DIY dongle ready for use with it. Nintendo should be shitting bricks.

good luck in your work its great to see amazing people like you in the scene.
 

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
I'm not much of a tinkerer, but I used to use "GL.iNet GL-AR300M-Lite" as a VPN tunnel for certain devices to connect to.

Anyway, I see some of you talking about mini routers like this, do you think this router could do something?

Here's some specs https://store.gl-inet.com/collections/travel-routers/products/gl-ar300m-lite-mini-smart-router

It comes out of the gate with openwrt, so "yes." Depending on how they did the firmware (is ehci-hcd.ko built into the kernel, or is it a loadable module?), you might need to build a custom firmware image that incorporates the FoF patch so that large control messages can be sent, or just build the ehci-hcd kernel module with the change and push it to the device, then either building and using the C implementation loader posted prior, or installing and using python and the ReSwitched FG injection script.

However, it appears to be externally powered, which is a mark against it. The chinese "3g /4g router 150m" comes in two variants- one that lacks a battery, and one that has a battery built in. The one with the built in battery has an on-switch. Since we only need it for what-- 10 seconds TOPS?-- we should be able to get a shitload of injections per charge. Given that we now have the ultra-compact C implementation of the injector, I have ordered one with the battery pack, and will build the needed flash package for it once my hardware arrives.

If you want to tinker with the mini smart router, go right ahead. The more options we have, the better off we all are.
 
  • Like
Reactions: Nollog

nic_rf

Member
Newcomer
Joined
May 17, 2018
Messages
9
Trophies
0
Age
32
XP
960
Country
Canada
Yup, and a PIc are very easy to set-up. You can get a dev board ready to go. I can make the PCB layout if you want.
 

softwareengineer

Well-Known Member
Newcomer
Joined
Apr 17, 2018
Messages
75
Trophies
0
Age
39
XP
217
Country
United States
By the way RetrOid nice job on that minimal implementation of pushing the exploit, it cuts out any extra b.s. and just does what's necessary! Your version there is helping me understand how the payload works! :) Sometimes I just need a simplified straight to the point version of something to be able to clearly see how it's working.

My post:
Yea that's the thing to be aware of. Not just anything with a usb port will work, it has to have a USB host mode stack, just a client stack is not enough. The "VoCore2 + USB Header + MicroSD" shown to me by Wierd_w seems like it might do the job, but im still considering my options. If using that I think I would at least need to keep the microsd attached to hold the payload and should hopefully still fit with it (since the 16MB onboard isn't hardly anything). Then solder the usb connection directly (without the header). It even has wifi lol, so should be able to update the payload over wifi if necessary. (once installed would be slightly inconvenient to pop the sdcard for payload updating).

For the SAMD21, yup the data sheet says it:
One full-speed (12Mbps) Universal Serial Bus (USB) 2.0 interface
*Embedded host and device function*
Eight endpoints


The vocore is less explicit about whether it can act in usb host mode or not. But on a vocore wiki page I found this:
"VoCore is a tiny device created by Vonger based on the RaLink RT5350 SOC running at 360MHz. It features 32MB SDRAM, 8MB SPI Flash Interfaces include 802.11bgn, 10/100M Ethernet, USB, UART, I2C, I2S, PCM and JTAG With the optional Dock it can be powered by a MicroUsb Phone charger and has an USB Host port"

Which says USB Host so I think it does mean host mode support. Actually that looks like the vocore 1 not vocore 2 but if it was in v1 it should still be in the 2nd revision of it.

And anyway why linux? Because penguins... that's why! lol :D
 
  • Like
Reactions: charlieb

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    DinohScene @ DinohScene: ahh nothing beats a coffee disaronno at work