r/CoreELEC • • 22d ago

Wow this comunity is awesome

im using my Kodi box since 4 years and i love it! but it was making me a headache to copy files to it via network, being sooo slow, and disconnection issues... so i got claude code (fable 5.2) to look into it via ssh...
now i yust copy my video files via smb with 50MBs :D so i thought i share it with you.
And i will add more fixes in the future for CoreELEC 21.3 (Amlogic S922X ng, AP6275S), i hope the 22 Stable is coming soon! https://github.com/Mantux775/coreelec-smb-wifi-fix

14 Upvotes

5 comments sorted by

1

u/No-Tap6022 5d ago edited 5d ago

So its over 2 weeks since the fix on my s922 box and not even one wlan drop and smb is allways there. and im using it alot with moonlight.

Btw, i made a custom moonlight with ps5 (ps4 actually) Controller support and automatic Dpad flip to Analog stick. Say if interested. With hold 3 sek Action button to flip Dpad, or hold Options for 3 sek. to turn Touchpad into Maus.

1

u/dane8524 22d ago

Would this work on a shield, same issue with file transfer over samba? Thanks

3

u/No-Tap6022 22d ago

Soo Fable:

Not as it is, sorry. CoreELEC only runs on Amlogic boxes, so I assume your Shield is on the stock Android TV. The scripts need root over SSH, Samba's config file and systemd, and none of that exists there. The Shield uses NVIDIA's own closed SMB server, so there is nothing you can configure on the box side.

Whether the cause is the same I can't say, I don't have a Shield. But you can find out where the time goes with the checks I used:

  1. On the PC, while connected to the Shield: `Get-SmbConnection | fl ServerName,Dialect,Signed`. If Signed is True, SMB signing is in play (Windows 11 24H2 Pro requires it by default).
  2. As a test only, in an admin PowerShell: `Set-SmbClientConfiguration -RequireSecuritySignature $false`, reboot the PC, copy the same file again and compare. Then set it back to `$true`. If the copy is much faster without signing, it is the same kind of CPU limit I had. Leaving it off is a security trade-off, so that one is your call.
  3. Copy the same file once to the Shield's internal storage and once to the USB disk. If only the USB disk is slow, the filesystem is the brake, not the network.

If you post the numbers, I'm happy to take a look.

2

u/dane8524 22d ago

I will try that .thank you for you're help . I'm just waiting for the ugoos am9 pro to be delivered

1

u/No-Tap6022 22d ago

my token limit reset is in 8 minutes :D so il yust ask fable 5.2, depends how costly its gets, i give it a shot and try to make you a package. without wifi fix (your chip differs). lets see 🔥