AndroidPCtv
  • NEWS
    • Android TV
    • Mini PC
    • Smart TV
    • Laptop & Ultrabook
    • Projectors
    • Consoles
    • Wearables & Domotics
    • Electric Vehicle
    • Tablet & 2-in-1
    • Smartphone
    • Processors & SoC
    • Robots & Vacuums
    • Development Boards
    • Others
  • REVIEWS
    • Android TV
    • Mini PC
    • Laptop & Ultrabook
    • Tablet & 2-in-1
    • Smartphone
    • PC Components
    • Apps & Software
    • Others
  • TUTORIALS
    • Android TV
    • Mini PC
    • Tablet
    • Smartphone
  • DEALS
  • FIRMWARES
  • DEVICE SHOPPING GUIDE
    • BEST ANDROID TV-BOX
    • BEST MINI PC
    • BEST SMART TV
  • CONTACT
No Result
View All Result
  • NEWS
    • Android TV
    • Mini PC
    • Smart TV
    • Laptop & Ultrabook
    • Projectors
    • Consoles
    • Wearables & Domotics
    • Electric Vehicle
    • Tablet & 2-in-1
    • Smartphone
    • Processors & SoC
    • Robots & Vacuums
    • Development Boards
    • Others
  • REVIEWS
    • Android TV
    • Mini PC
    • Laptop & Ultrabook
    • Tablet & 2-in-1
    • Smartphone
    • PC Components
    • Apps & Software
    • Others
  • TUTORIALS
    • Android TV
    • Mini PC
    • Tablet
    • Smartphone
  • DEALS
  • FIRMWARES
  • DEVICE SHOPPING GUIDE
    • BEST ANDROID TV-BOX
    • BEST MINI PC
    • BEST SMART TV
  • CONTACT
No Result
View All Result
AndroidPCtv
No Result
View All Result

TUTORIAL: SAMBA on Android, connection with Windows and alternatives

Kim by Kim
07/03/2018
3

Since always in our reviews we have added information about SAMBA networks (SMB) to share files between Android and Windows devices, the difference in performance between raw measurement with iPerf and the value that we obtain in SAMBA is always clearly lower and today with this article will give you an explanation to this problem. We hope you find it useful to get the most out of your network.

  • You can choose one of our Android TV models to have the best network performance.

Table of Contents

  • GENERAL CONCEPTS ABOUT SAMBA
    • Differences between SAMBA V1 and V2
  • SAMBA ON ANDROID
  • PERFORMANCE TEST IN ANDROID AND WINDOWS
    • Impact on streaming from a PC
  • ALTERNATIVES AND CONCLUSIONS
    • Alternatives to the SAMBA protocol
    • Conclusions
  • OTHER TUTORIALS
samba test d001

GENERAL CONCEPTS ABOUT SAMBA

The SAMBA protocol is one of the most widespread when it comes to sharing units or network folders between Windows computers that is compatible with many other systems such as Android. This is an old and insecure protocol and since the update of Windows 10 Fall Creators Update the SMB v1 protocol has been disabled by default and your shared files may not work. This is a move to avoid the wave of Ramsomware attacks like those of the devastating WannaCry.

Differences between SAMBA V1 and V2

  • Less complexity, going from more than 100 commands and subcommands to only 19
  • Greater speed in the use of networks, management of open resources and users
  • Greater security, HMAC SHA-256 replaces MD5 as a hash algorithm
  • Scalability, use of caches and possibility of symbolic links

SAMBA ON ANDROID

As a general rule Android apps such as file browsers and media players have compatibility with SAMBA v1, as we will see below the performance using SAMBA v2 is much higher, it is necessary to know if our apps are compatible with this protocol, in the following list you have a summary about the best known.

  • MX Player only supports SMB v1
  • KODI V17 is only compatible with SMB v1
  • KODI V18 is compatible with SMB v2
  • ES Explorer Pro are only compatible with SMB v1
  • ES Explorer is compatible with SMB v2 but have annoying ads
  • CX Explorer, X-Plore, MiXplorer + addon SMBv2 are compatible with SMB v2, with no annoying ads.
  • To set up our system check the tutorial Connect an Android device with your PC through SAMBA

PERFORMANCE TEST IN ANDROID AND WINDOWS

For our tests we performed a comparison of performance between SMB v1 and SMB v2 using a TV-Box with 10/100 Ethernet and another Gigabit connecting to a network PC with Windows 10. In the results you can see the difference in performance between what can be obtain the network adapter using SAMBA and what we get in our raw network.

x99 review eng test Network Samba 01
Network performance over SAMBA V1
x99 review eng test Network Streaming 01
Raw performance of the network adapter

As we can see the difference between the maximum raw performance of the adapter and what we get on SAMBA is quite large. The problem is in the SAMBA protocol used, by default almost all apps use SAMBA v1 which is highly inefficient and we improve results substantially if we use apps compatible with SAMBA v2 as we can see in the following graph, we have focused on the adapters Ethernet as reference but can be extrapolated to Wifi adapters.

samba test v02 eng

  • Over Ethernet 10/100 SMB V1 gets only 64% performance over SMB v2
  • Over Ethernet Gigabit SMB V1 gets only 40% performance over SMB v2
  • SMB v1 Gigabit obtains a performance of 15% of the maximum bandwidth
  • SMB v2 Gigabit obtains a performance of 36% of the maximum bandwidth

Impact on streaming from a PC

As we can see in the performance figures, we have to take into account what bandwidth needs we will have for our network video files, if we deal with light files we will not have limitations but with the large ones we can have problems.

samba test v01 eng

Conclusions regarding the previous table.

  • If we are going to perform streaming of files in our network of files higher than 40 Mbps, we must use KODI 18
  • a/b/g Wifi may be insufficient for heavy files and we will have to use a Ethernet adaptater
  • If we are going to use SAMBA to transfer files, we must make sure to use a compatible SMB V2 browser
  • If we use a USB Ethernet adapter we will be limited by the speed of that connector
    USB 2.0 = 60 Mbps theoretical that can be only 35 Mbps
    USB 3.0 = 600 Mbps theoretical that can be only 70 Mbps

ALTERNATIVES AND CONCLUSIONS

Alternatives to the SAMBA protocol

We can use other network systems to play files in our home network remotely, but keep in mind that almost none is as easy as simply using a SAMBA network.

  • Network File System (NFS)
  • Web server
  • WebDAV
  • FTP server
  • uPNP and DLNA: we can install a server such as PLEX, Universal Media server or Windows itself. This system requires transcoding of some types of files and is not as efficient as our TV-Box that does not need this step.

Conclusions

As we can see the file transfer or file streaming with SAMBA between Android and Windows has certain key features that we have to know to get the most out of it. As we see many apps are not ready for SMB v2 but possibly this will change quickly because Microsoft has blocked by default SMB v1, hopefully soon all the most popular apps improve the performance of our network.

OTHER TUTORIALS

  • Connect an Android device with your PC through SAMBA
  • How to configure KODI with a SAMBA network in a simple way
  • NFS server in Windows to share files with Android devices

Related Posts

coreelec logo
Article Android TV

CoreELEC, install and configure on Android TV-Box

03/17/2023
kodi backup manual
Article Android TV

KODI Backup, how to save and restore our addons and settings

01/23/2023
restore kodi 19 20
Article Android TV

How to downgrade to KODI 19.5 and uninstall KODI 20 on Android

01/22/2023
Subscribe
Notify of
guest
guest
3 Comments
Inline Feedbacks
View all comments
Joe
Joe

It would be nice to mount the share as a system folder to be visible to other apps as well.

Reply
Joseph Bleyor
Joseph Bleyor

are there any android samba server that supports smb v2?

Reply
Kim
Kim
Reply to  Joseph Bleyor

Maybe, but i don’t check it

Reply
wpdiscuz   wpDiscuz

TOP REVIEWS (last 6 months)

  • Beelink GTR6
    Beelink GTR6, review: mini PC with AMD Ryzen 9 6900HX and RDNA2
    8.5
  • Beelink SER6 Pro 7735HS
    Beelink SER6 Pro 7735HS, review: mini PC with AMD Ryzen 7 + RDNA2
    8.5
  • Nokia Streaming Box 8010
    Nokia Streaming Box 8010, review: new box with Android TV and SoC S905X4-K
    8.4
  • Beelink EQ12
    Beelink EQ12, review: new mini PC with Intel N100
    8

LASTEST FIRMWARES

  • mecool km2 plusMECOOL KM2 Plus Stock Firmware (11-07-2022)
  • VONTAR X2Firmware for VONTAR X2 with Amlogic S905W2 SoC (03-12-2023)
  • Tanix TX68 allwinner H618Firmware for Box Tanix TX68 with SoC Allwinner H618 (03-27-2023)
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
AndroidpcTV.com / Privacy Policy and Affiliation Agreement  / Cookie Policy (US) / User Data Policy (EU GDPR)
No Result
View All Result
  • NEWS
    • Android TV
    • Mini PC
    • Smart TV
    • Laptop & Ultrabook
    • Projectors
    • Consoles
    • Wearables & Domotics
    • Electric Vehicle
    • Tablet & 2-in-1
    • Smartphone
    • Processors & SoC
    • Robots & Vacuums
    • Development Boards
    • Others
  • REVIEWS
    • Android TV
    • Mini PC
    • Laptop & Ultrabook
    • Tablet & 2-in-1
    • Smartphone
    • PC Components
    • Apps & Software
    • Others
  • TUTORIALS
    • Android TV
    • Mini PC
    • Tablet
    • Smartphone
  • DEALS
  • FIRMWARES
  • DEVICE SHOPPING GUIDE
    • BEST ANDROID TV-BOX
    • BEST MINI PC
    • BEST SMART TV
  • CONTACT
wpDiscuz