Hacking Build your own dongle (Research and development thread)

Spy Pirate Shado

Member
Newcomer
Joined
Jun 15, 2007
Messages
19
Trophies
0
XP
10
Country
United States
Trying to keep this short, does anyone have any tips on what exactly to make OpenWRT on a portable powerbank+router run that will automatically send a payload during boot to a connected APX usb host?

I have gotten raspbian to send a payload "automatically" using watch but I stopped with that after thinking there's no way people are setting these super small routers to do something like that to run forever during boot and calling it a day.

I'm hoping in the end that I can set something up with my router+powerbank that runs something during boot to function as fusee delivery but despite that functions fine as a portable hotspot with openWRT.
 

sweetlilmre

Active Member
Newcomer
Joined
Aug 15, 2010
Messages
43
Trophies
0
XP
440
Country
@Retr0id I found a TP-Link TL-WR703N lying in a cupboard and used your instructions to build a LEDE image for it.
After flashing and connecting the switch I get messages like this (similar to other users):

Code:
usb 1-1: new high-speed USB device number 14 using ehci-platform
usb 1-1: device descriptor read/64, error -145
usb 1-1: device descriptor read/64, error -71
usb 1-1: new high-speed USB device number 15 using ehci-platform
usb 1-1: device descriptor read/64, error -145
usb 1-1: device descriptor read/64, error -71
usb usb1-port1: attempt power cycle
usb 1-1: new high-speed USB device number 16 using ehci-platform
usb 1-1: device not accepting address 16, error -71
usb 1-1: new high-speed USB device number 17 using ehci-platform
usb 1-1: device not accepting address 17, error -71
usb usb1-port1: unable to enumerate USB device

Plugging in USB stick does not generate these errors, just this:
Code:
usb 1-1: new high-speed USB device number 18 using ehci-platform

Any suggestions?

Thanks
-(e)
 

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
@Retr0id I found a TP-Link TL-WR703N lying in a cupboard and used your instructions to build a LEDE image for it.
After flashing and connecting the switch I get messages like this (similar to other users):

Code:
usb 1-1: new high-speed USB device number 14 using ehci-platform
usb 1-1: device descriptor read/64, error -145
usb 1-1: device descriptor read/64, error -71
usb 1-1: new high-speed USB device number 15 using ehci-platform
usb 1-1: device descriptor read/64, error -145
usb 1-1: device descriptor read/64, error -71
usb usb1-port1: attempt power cycle
usb 1-1: new high-speed USB device number 16 using ehci-platform
usb 1-1: device not accepting address 16, error -71
usb 1-1: new high-speed USB device number 17 using ehci-platform
usb 1-1: device not accepting address 17, error -71
usb usb1-port1: unable to enumerate USB device

Plugging in USB stick does not generate these errors, just this:
Code:
usb 1-1: new high-speed USB device number 18 using ehci-platform

Any suggestions?

Thanks
-(e)


Did you enable the ehci patch? Without the patch, the driver throws an error if a large control frame is passed.
 

BL4Z3D247

GBAtemp Stoner
Member
Joined
Oct 22, 2008
Messages
1,942
Trophies
0
Age
39
Location
I'm so high, I don't even know!
XP
1,229
Country
United States
I've used my Zsun so much it's nuts. As an SD reader. As a wifi extender (in hotels with poor wifi). As a portable media NAS (great for travel with an iPhone/iPad with limited storage). As a photo backup device... The thing is endlessly versatile, and that's all on the stock firmware.

I really want another incase mine breaks, but Gearbest, Banggood, etc. are sold out.
eBay has them for a few dollars more.

https://m.ebay.com/sch/i.html?_from...084.l1313.TR1.TRC0.A0.H0.Xzsun.TRS0&_nkw=zsun
 

RazorX2014

Well-Known Member
Member
Joined
Mar 18, 2014
Messages
621
Trophies
0
Age
39
XP
421
Country
for anyone who wants to know, the 2 super capacitors used in the sx pro dongle are:
KAMCAP 2.7V 0.35F Farad Super Capacitor Ultra Capacitor
 

RazorX2014

Well-Known Member
Member
Joined
Mar 18, 2014
Messages
621
Trophies
0
Age
39
XP
421
Country
is anyone planning on writing up an easy to follow guide for flashing the zsun or is there already one out there?
or was it decided this wasn't the way to go.
 
Last edited by RazorX2014,

Akira

I'm not a SHRIMP!!!!
Member
Joined
Apr 28, 2013
Messages
1,246
Trophies
0
XP
1,666
Country
United States
It seems the one with built in battery’s price went up. It was $10 previously in aliexpress(4days ago), now it’s $19.
 

xyqkent

Member
Newcomer
Joined
Jul 12, 2018
Messages
5
Trophies
0
Age
34
XP
116
Country
China
I have a problem with my Hame A1, cpu model is RT53050F.
Compile the openwrt of DavidBuchanan314/fusee-lede and write it to my router.
github->DavidBuchanan314/fusee-lede

Then run /usr/bin/fusee-nano /usr/share/fusee-nano/payload.bin to crack my switch.But failed.
Information:
[Debug]payload_idx:0,low_buffer:1
[Debug]payload_idx:4096,low_buffer:0
[Debug]payload_idx:8192,low_buffer:1
[Debug]payload_idx:12288,low_buffer:0
[Debug]payload_idx:16384,low_buffer:1
[Debug]payload_idx:20480,low_buffer:0
[Debug]payload_idx:24576,low_buffer:1
[Debug]payload_idx:28672,low_buffer:0
[Debug]payload_idx:32768,low_buffer:1
[Debug]payload_idx:36864,low_buffer:0
[Debug]payload_idx:40960,low_buffer:1
[Debug]payload_idx:45056,low_buffer:0
[Debug]payload_idx:49152,low_buffer:1
[Debug]payload_idx:53248,low_buffer:0
[Debug]payload_idx:57344,low_buffer:1
[Debug]payload_idx:61440,low_buffer:0
[-] Sending payload failed: Operation timed out

Check the source code and find that the error comes from usb.c->ep_write->return IOCTL (FD, USBDEVFS_BULK, &bulkt).
It return -1

And check the source code(ehci_hcd.c), The 862nd line has been deleted.
------------------------------------------------------------
- case PIPE_CONTROL:
- /* qh_completions() code doesn't handle all the fault cases
- * in multi-TD control transfers. Even 1KB is rare anyway.
- */
- if (urb->transfer_buffer_length > (16 * 1024))
- return -EMSGSIZE;
- /* FALLTHROUGH */
- /* case PIPE_BULK: */
-------------------------------------------------------------

Who knows what's the problem? Is there a way to solve it? Thanks alot.
 
Last edited by xyqkent,

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
I have finally gotten around to updating the first post of this thread to better reflect the current status of this area of work. I will update it again with direct links to projects and posts later.
 

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-