Toolbox for new Huawei HiLink devices (E5186, B315s)

When I click "Connect" after connecting my modem to my PC through LAN and putting the IP and the password, I get the following error message.

error.jpg


What is the solution.
 
^_^

E5186_Toolbox
SFV

original archive was rar, repacked into zip.

hashes for toolbox zip file.
Code:
CRC32: BB0606BC
MD5: D52DF2EF6BEA0B04BD6BCE2F432D24E4
SHA-1: AB26E061FA5913C6BD2D3E3CDD8833591693001B
:)
 
Hi All - Does anyone know if it is possible to get the WAN IP address of a B315 with an API call to the router:

Something like:

http://192.168.1.2/api/monitoring/status/WanIPAddress
Yes. Your command works fine. Querying 192.168.8.1 (default router address) from the Web browser after login to the router, so I guess you must issue two commands: login first, then your query.
Code:
<?xml version="1.0" encoding="UTF-8" ?> 
- <response>
  <ConnectionStatus>901</ConnectionStatus> 
  <WifiConnectionStatus /> 
  <SignalStrength /> 
  <SignalIcon>1</SignalIcon> 
  <CurrentNetworkType>19</CurrentNetworkType> 
  <CurrentServiceDomain>3</CurrentServiceDomain> 
  <RoamingStatus>0</RoamingStatus> 
  <BatteryStatus /> 
  <BatteryLevel /> 
  <BatteryPercent /> 
  <simlockStatus>0</simlockStatus> 
  <WanIPAddress>10.7.91.232</WanIPAddress> 
  <WanIPv6Address /> 
  <PrimaryDns>41.48.23.29</PrimaryDns> 
  <SecondaryDns>41.48.23.61</SecondaryDns> 
  <PrimaryIPv6Dns /> 
  <SecondaryIPv6Dns /> 
  <CurrentWifiUser>1</CurrentWifiUser> 
  <TotalWifiUser>32</TotalWifiUser> 
  <currenttotalwifiuser>32</currenttotalwifiuser> 
  <ServiceStatus>2</ServiceStatus> 
  <SimStatus>1</SimStatus> 
  <WifiStatus>1</WifiStatus> 
  <CurrentNetworkTypeEx>101</CurrentNetworkTypeEx> 
  <maxsignal>5</maxsignal> 
  <wifiindooronly>0</wifiindooronly> 
  <wififrequence>0</wififrequence> 
  <classify>cpe</classify> 
  <flymode>0</flymode> 
  <cellroam>1</cellroam> 
  <voice_busy>0</voice_busy> 
  </response>
This output is from IE8 (which do not interpret XML). In modern browsers you must open source window or developer mode to see XML code.

On Unix you can use command curl (if not mistaken).

Added: Router's WAN address is not neccessary your Internet address. As seen in above example it is from Class C private address space. You can apply for unrestricted APN or connect/disconnect till you receive public Internet address.
 
Last edited:
Hi guys,

I hope somebody could help me with this. I have firmware 21.313.03.00.372 installed on my unlocked b315-936 and trying to get band 38 at 2600MHZ frequency to work but when I enter the below command
<request>
<NetworkMode>00</NetworkMode>
<NetworkBand>3FFFFFFF</NetworkBand>
<LTEBand>2000000000</LTEBand>
</request>

I get this: /api/net/net-mode
<request>
<NetworkMode>00</NetworkMode>
<NetworkBand>3FFFFFFF</NetworkBand>
<LTEBand>2000000000</LTEBand>
</request>
ERROR: UNKNOWN ERROR

I know this frequency can work in this router because when I switch to the Huawei global firmware version 21.313 or 21.300 it works but other bands are blocked by my ISP in those firmwares so I dont like to use them. My ISP is Mobily in Saudi Arabia. I appreciate any comment or feedback if it is possible to get around this error. Thank you.
 
Hi guys,

I hope somebody could help me with this. I have firmware 21.313.03.00.372 installed on my unlocked b315-936 and trying to get band 38 at 2600MHZ frequency to work but when I enter the below command
<request>
<NetworkMode>00</NetworkMode>
<NetworkBand>3FFFFFFF</NetworkBand>
<LTEBand>2000000000</LTEBand>
</request>

I get this: /api/net/net-mode
<request>
<NetworkMode>00</NetworkMode>
<NetworkBand>3FFFFFFF</NetworkBand>
<LTEBand>2000000000</LTEBand>
</request>
ERROR: UNKNOWN ERROR

I know this frequency can work in this router because when I switch to the Huawei global firmware version 21.313 or 21.300 it works but other bands are blocked by my ISP in those firmwares so I dont like to use them. My ISP is Mobily in Saudi Arabia. I appreciate any comment or feedback if it is possible to get around this error. Thank you.
Hi. Thank you for posting this. I just found an error in original Huawei B315s-936 product specification. They say:
LTE Band 1/3/40/41
FDD 2100 MHz/1800 MHz
TDD 2300MHz/2600 MHz
I think confusion start there. I repeated it in my posts, but now see it is incorrect, as Band 41 is TDD 2500MHz, not 2600MHz.

See my post #8 on the first page. Supported list of frequencies is represented by a bit mapped number:
hex 18000000005
binary 11000000000000000000000000000000000000101
Each bit represent a single LTE band, I believe the above is correct. It is why forcing LTE band 38 return error.

As your network use band 38, it is not supported by this router. I don't think it can change anything by flashing different firmware, as it is radio configuration (hardware feature), but you say it works in other firmware. Double check to be sure.

Please share how do you switch between different versions of firmware (not ending with 372 - which is Telkom SA). All debranding resources on the Internet are not in plain English, translation is not clear.
 
Last edited:
Hi. Thank you for posting this. I just found an error in original Huawei product specification. They say:
LTE Band 1/3/40/41
FDD 2100 MHz/1800 MHz
TDD 2300MHz/2600 MHz
I think confusion start there. I repeated it in my posts, but now see it is incorrect, as Band 41 is TDD 2500MHz, not 2600MHz.

See my post #8 on the first page. Supported list of frequencies is represented by a bit mapped number:
hex 18000000005
binary 11000000000000000000000000000000000000101
Each bit represent a single LTE band, I believe the above is correct. It is why forcing LTE band 38 return error.

As your network use band 38, it is not supported by this router. I don't think it can change anything by flashing different firmware, as it is radio configuration (hardware feature).

BTW, please share how do you switch between different versions of firmware (not ending with 372 - which is Telkom SA). All debranding resources on the Internet are not in plain English translation is not clear.

Hi Sajunky,

Thanks for your reply. You are correct that this router supports band 41 and not band 38 but we are lucky that band 41 covers both 2500 and 2600 frequencies as there is an overlap. I am sure of this as flashing huawei firmwares versions 21.313 and 21.300 ( I think those are the middle eastern versions) allow me to use frequency 2600 and 2500 and there is a difference in speed so the hardware is capable but I think we need to edit the firmware itself in order to enable it on other versions.

The method to flash a different firmware is easy. First use this 5186 toolbox to enable telnet mode. Look for /api/device/mode and write this command <request> <mode>2</mode> </request> after writing this api confirms in the debug that it has been written successfully by saying OK.

Next you use Putty tool with router ip 192.168.8.1 with telnet mode. In putty enter this command at^sfm=1 ( you may see each letter you write is being typed twice but it doesn't matter and if you dont get ok after first time, just write the command again and you will get OK) next command in putty is at^reset and when you get OK, then close Putty.

The router will now be in flash mode and ready to receive the firmware. The power led is solid white and all other leds are off.Next you need the multicast_upgrade_tool.exe.

Before running this tool make sure you use a static ip and with ethernet cable only plugged to the lan port of the router. When this is done then run this tool and look up the file that you want to flash. Upload the firmware and press start. You will notice the router will flash the blue led next to the power led. Wait until this led become green which may take up to 5 minutes. When it becomes green, then hit stop in the tool and close it, then power cycle the router and you are done.

If you need more clarification let me know. Thanks.
 
Last edited:
Hi Sajunky,

Thanks for your reply. You are correct that this router supports band 41 and not band 38 but we are lucky that band 41 covers both 2500 and 2600 frequencies as there is an overlap. I am sure of this as flashing huawei firmwares versions 21.313 and 21.300 ( I think those are the middle eastern versions) allow me to use frequency 2600 and 2500 and there is a difference in speed so the hardware is capable but I think we need to edit the firmware itself in order to enable it on other versions.
Yes, if it is an ovelap (I didn't investigate it further), middle eastern versions can be customised to allow chosing band 38.

Did you check how firmware 21.321 is working? This firmware is for retail product - not a region dependent (ending 00). Be careful, it might be difficult to return to the earlier version if Toolbox is blocked in 21.321 version. Can you take a risk? Please post router's features like SIP, DDNS, etc... It is available on Huawei South Africa product support page: http://consumer.huawei.com/za/support/products/index.htm?ptid=6662&pname=B315s-936&pcode=B315s-936

Thank you for debranding instruction, it will be possible to try it myself.
 
Thanks for the info about the firmware. Unfortunately, the page you linked me to say "Sorry the page you're looking for cant be found".

Can you please recheck it? Thanks.
 
Sorry, they changed it again, but found it:
http://consumer.huawei.com/za/support/products/index.htm?ptid=6662&pname=B315s-936&pcode=B315s-936
The file in question is posted on 10th January. Other files are for Telkom (372) and Huawei Suth Africa (1232) branded versions.

Sorry, link doesn't work again. From this error page you must go to the "Support" and enter B513s-936 in the search box.

Direct download link should work:
http://download-c1.huawei.com/download/downloadCenter?downloadId=93532&siteCode=za

Yes, it does. :)
 
Last edited:
hello all i cannot install this latest version B315s-22_UPDATE_21.321.03.00.00 My version is b315s-22. How install this firmware?Need to seed signal quality in dbm with lte watch or e5186 toolbox.
 
hello all i cannot install this latest version B315s-22_UPDATE_21.321.03.00.00 My version is b315s-22. How install this firmware?Need to seed signal quality in dbm with lte watch or e5186 toolbox.
Firmware ending '00' is a retail version of the product. You can only upgrade firmware ending with the same digits. If your firmware is ending with soemthing else, you have to follow debranding procedure. See very recent post from semsem8519:
The method to flash a different firmware is easy. First use this 5186 toolbox to enable telnet mode. Look for /api/device/mode and write this command <request> <mode>2</mode> </request> after writing this api confirms in the debug that it has been written successfully by saying OK.

Next you use Putty tool with router ip 192.168.8.1 with telnet mode. In putty enter this command at^sfm=1 ( you may see each letter you write is being typed twice but it doesn't matter and if you dont get ok after first time, just write the command again and you will get OK) next command in putty is at^reset and when you get OK, then close Putty.

The router will now be in flash mode and ready to receive the firmware. The power led is solid white and all other leds are off.Next you need the multicast_upgrade_tool.exe.

Before running this tool make sure you use a static ip and with ethernet cable only plugged to the lan port of the router. When this is done then run this tool and look up the file that you want to flash. Upload the firmware and press start. You will notice the router will flash the blue led next to the power led. Wait until this led become green which may take up to 5 minutes. When it becomes green, then hit stop in the tool and close it, then power cycle the router and you are done.

If you need more clarification let me know. Thanks.
I don't know whether this firmware will meet your expectations and I don't know whether Toolbox and Telnet port is still working on version 21.321, consider this when flashing this firmware, as we don't have any user feedback. To be safe consider debranding with Telkom 21.313 firmware which is also available on the Huawei support site.
 
Last edited:
Firmware ending '00' is a retail version of the product. You can only upgrade firmware ending with the same digits. If your firmware is ending with soemthing else, you have to follow debranding procedure. See very recent post from semsem8519:

I don't know whether this firmware will meet your expectations and I don't know whether Toolbox and Telnet port is still working on version 21.321, consider this when flashing this firmware, as we don't have any user feedback. To be safe consider debranding with Telkom 21.313 firmware which is also available on the Huawei support site.

Be aware that firmware 21.321 does not support telnet so you will not be able to downgrade once installed.
 
Be aware that firmware 21.321 does not support telnet so you will not be able to downgrade once installed.
Thanks for feedback. Are you happy with this firmware? Changelog shows long list of fixes in IPtables, OpenSSL UPnP and SAMBA. What signal parameters are shown in Web browser or Toolbox? Cell ID? Features like No-IP DDNS and SIP? The last one is important for me.
 
Thanks for feedback. Are you happy with this firmware? Changelog shows long list of fixes in IPtables, OpenSSL UPnP and SAMBA. What signal parameters are shown in Web browser or Toolbox? Cell ID? Features like No-IP DDNS and SIP? The last one is important for me.

Sorry for the late response as I did not get a new reply notification. Actually I did not upgrade it myself. I knew it has telent disabled by searching the web. Sorry I couldn't be of help about the features in this release. If I find a way to enable telnet I will upgrade and share my experience here. Thanks!
 
Download Toolbox v0.9. It has updated frequency table for E5186s-22. You can now switch frequency on the first tab (dropdown box). No need to manually prepare commands.

B315s-936 users who try to use this feature will notice that router do not switch back properly to all bands (automatic) and there is no option for a band 40 TDD 2300MHz used by Telkom. To use this feature with your router you have to modify CONFIG.XML file in a Toolbox folder.

1. Backup original file and use any text editor like Windows Notepad.
2. Delete the entire section <ltebands> .... </ltebands>. It is mostly the top, just after your password.
3. Insert the following code into the same place and save:

B315s-936 mods:
Code:
     <ltebands>
      <band>
        <name>Automatic</name>
        <lteband>7FFFFFFFFFFFFFFF</lteband>
      </band>
      <band>
        <name>2100Mhz / B1</name>
        <lteband>1</lteband>
      </band>
      <band>
        <name>1800Mhz / B3</name>
        <lteband>4</lteband>
      </band>
      <band>
        <name>2300Mhz / B40</name>
        <lteband>8000000000</lteband>
      </band>
      <band>
        <name>2500Mhz / B41</name>
        <lteband>10000000000</lteband>
      </band>
    </ltebands>
.
Here is also modification for E5186s-22a to include band 38:
Code:
    <ltebands>
      <band>
        <name>Automatic</name>
        <lteband>7FFFFFFFFFFFFFFF</lteband>
      </band>
      <band>
        <name>2100Mhz / B1</name>
        <lteband>1</lteband>
      </band>
      <band>
        <name>1800Mhz / B3</name>
        <lteband>4</lteband>
      </band>
      <band>
        <name>2600Mhz / B7</name>
        <lteband>40</lteband>
      </band>
      <band>
        <name>900Mhz / B8</name>
        <lteband>80</lteband>
      </band>
      <band>
        <name>800Mhz / B20</name>
        <lteband>80000</lteband>
      </band>
      <band>
        <name>2300Mhz / B38</name>
        <lteband>2000000000</lteband>
      </band>
      <band>
        <name>CA / B3+B7</name>
        <lteband>44</lteband>
      </band>
      <band>
        <name>CA / B3+B20</name>
        <lteband>80004</lteband>
      </band>
      <band>
        <name>CA / B7+B20</name>
        <lteband>80040</lteband>
      </band>
    </ltebands>
I intentionally removed any reference to the "LTE-A" and replaced with Channel Aggregation (CA). It is because LTE-A might also work when you select a single frequency band. By example E5186 can use a single 1800MHz or 2600MHz band for LTE-A.
 
Last edited:
Hi Sajunky,

Thanks for your reply. You are correct that this router supports band 41 and not band 38 but we are lucky that band 41 covers both 2500 and 2600 frequencies as there is an overlap. I am sure of this as flashing huawei firmwares versions 21.313 and 21.300 ( I think those are the middle eastern versions) allow me to use frequency 2600 and 2500 and there is a difference in speed so the hardware is capable but I think we need to edit the firmware itself in order to enable it on other versions.

The method to flash a different firmware is easy. First use this 5186 toolbox to enable telnet mode. Look for /api/device/mode and write this command <request> <mode>2</mode> </request> after writing this api confirms in the debug that it has been written successfully by saying OK.

Next you use Putty tool with router ip 192.168.8.1 with telnet mode. In putty enter this command at^sfm=1 ( you may see each letter you write is being typed twice but it doesn't matter and if you dont get ok after first time, just write the command again and you will get OK) next command in putty is at^reset and when you get OK, then close Putty.

The router will now be in flash mode and ready to receive the firmware. The power led is solid white and all other leds are off.Next you need the multicast_upgrade_tool.exe.

Before running this tool make sure you use a static ip and with ethernet cable only plugged to the lan port of the router. When this is done then run this tool and look up the file that you want to flash. Upload the firmware and press start. You will notice the router will flash the blue led next to the power led. Wait until this led become green which may take up to 5 minutes. When it becomes green, then hit stop in the tool and close it, then power cycle the router and you are done.

If you need more clarification let me know. Thanks.
I attempted this to try and flash stock Huawei firmware but when I try to enable it utilising the request I get error system no support in the debug console please assist
7fc2e2303182e7b91a76beed16c03731.jpg
 
Top
Sign up to the MyBroadband newsletter
X