#14157
Michel Castaño
Keymaster

Here are the instructions for MacOS Users:
Previous Steps:
1. Open console
2. Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3. Add brew path to the environment variable:
export PATH="/opt/homebrew/bin:$PATH"
4. Install Python:
brew install python

Instructions: Update locally APX for Syrus 4G Linux

Updating Syrus 4G APX takes around 100 MB of data. This is a lot if you are using SIM card data so there is a way to update locally the APX without consuming Sim card data.

Notes:

Ask support members to provide you the APEX version you need.
If you don’t have python install it using sudo apt-get install python3.x version
Step 1.- Create a folder in your PC in which you store APEX files and store it.

mkdir ApexOS
mv Downloads/apex-23.34.1 /ApexOS/

$ls ApexOS/
apex-23.34.1

Step 2.- Go to the folder previously created with the Apex OS and start a http server with python using:


cd /ApexOS
Python 2 -- python -m SimpleHTTPServer 8005
Python 3 -- python -m http.server 8005
/ApexOS
$python3 -m http.server 8005
Serving HTTP on 0.0.0.0 port 8005 (http://0.0.0.0:8005/) ...

Step 2.- Check your PC ip using “ifconfig”, and save the ip of the interface to which the S4 is connected, for this example both PC and S4 are connected to a WiFi network.


ether a8:8f:d9:32:d5:cd
inet6 fe80::10d9:3c12:e3b2:1c0c%en0 prefixlen 64 secured scopeid 0xc
inet 192.168.39.118 netmask 0xffffff00 broadcast 192.168.39.255
nd6 options=201<PERFORMNUD,DAD> media: autoselect
status: active

Step 3.- Update Syrus 4G
Use the next command to update. It is important to modify it with your information:


sudo apx-os-update start -f -p http://192.168.39.118:8005/Downloads/ApexOS/apex-23.34.1

Access to the Syrus 4G manager tool and go to the terminal option and run


sudo apx-os-update start -f -p http://192.168.39.118:8005/Downloads/ApexOS/apex-23.34.1
{"mess":"Starting update from apex-22-3-1 to apex-23-34.1"}
$ sudo apx-os-update status
{"mess":"update in progress... 36%"}