CONFIGURATION OPERATIONS on a LTE 4G WIFI USB MODEM 2025-01-16 yves.demur@m4am.net This modem will be economical for example to control equipment remotely (heating, lighting, etc.) in a vacation home: search https://www.google.com/search?q=cheap+mobile+packages See below the references of the model used to write this document IMPORTANT: use a good USB-A power source (QC3 ? 5V 3.2A), see https://superuser.com/questions/1823373/4g-wifi-dongle-only-works-with-certain-power-sources You can also plug the USB charger into a programmer (not connected) which cuts the power 1 one minute per week, in order to have a regular reboot TO DO ONCE - UNLOCK SIM AND ANSWERING MACHINE ACCESS: Insert the SIM card into a phone, check that it is unlocked (no code to enter when starting up), otherwise unlock it (WARNING: the SIM code will not be erased, you must keep it written down somewhere) Configure access to the answering machine from another line - RESET DEFAULT VALUES: Remove the modem cover, note the default values on the label: WiFi network name (SSID), WiFi Password (WIFI KEY), Admin Password (Password) - DISABLE PACKET MARKING IN TETHERING: This operation is necessary if the mobile operator blocks tethering (usually without saying so!) Connect the modem to a USB charger or PC Wait for the indicator light to stabilize in color (green or blue/red or blue or flashing blue) With a device (phone or other) connect to the modem's WiFi, from a browser access the page http://192.168.100.1/usbdebug.html (-> switch the modem to USB debug mode): empty page, do nothing Disconnect the modem to stop it Connect the modem to a PC via its USB port ON PC: Load Android platform-tools, unzip, see https://developer.android.com/tools/releases/platform-tools Log in as root for the following operations (accessing the device): set the global variable tether_dun_required from null to 0 # cd .../platform-tools # ./adb devices List of attached devices * daemon not running; starting now at tcp:5037 * daemon started successfully 0123456789ABCDEF device # ./adb shell root@msm8916_32_512:/ # settings get global tether_dun_required null root@msm8916_32_512:/ # settings put global tether_dun_required 0 root@msm8916_32_512:/ # settings get global tether_dun_required 0 root@msm8916_32_512:/ # exit # ./adb kill-server - OPTION : Before launching the "./adb kill-server", we can retrieve a settings file in which we find among other things the loginPassword of admin, WIFIssid and WIFIpassword: # ./adb pull /data/mificonfig.json /tmp/mificonfig.json Don't forget to destroy /tmp/mificonfig.json after viewing Also # ./adb pull /system/etc/apns-conf.xml /tmp/apns-conf.xml File that contains the default values of the profiles used by Advanced / APN Setting / APN Connection / Default APN / Execute AFTERWARDS - CONNECTIONS AND FACTORY RESET Insert the SIM into the modem Connect the modem to a GOOD USB charger (IMPORTANT, otherwise the modem will operate erratically) When the light is stabilized, without disconnecting the modem, press the FactoryReset button for 12 seconds (use a straight-cut wooden toothpick) until the light goes out, release the button Wait for the indicator light to stabilize in color (green or blue/red or blue or flashing blue) If the light is green -> OK, go to FINISH - APN MODIFICATION Find your mobile operator's APN settings on the internet, for mobile data connection With a device (phone or other) connect to the modem's WiFi, from a browser access the page http://192.168.100.1, connect (admin admin) Go to Advanced / APN Setting Define a profile with ad hoc APN settings, see below some examples - Check Profile1 Enter Name:Syma APN:symamobile.com Auth:PAP Click SaveConfiguration then Confirm - Check Profile2 Enter Name:Bouygues Telecom APN:mmsbouygtel.com Auth:PAP Click SaveConfiguration then Confirm - Check Profile... Enter Name:... APN:... Auth:... Click SaveConfiguration then Confirm - - Check Profile1 or Profile2 or Profile... Click Execute then Confirm Wait until the light turns green -> OK - FINISH With a device (phone or other) connect to the modem's WiFi, from a browser access the page http://192.168.100.1, connect (admin admin) Go to Wi-Fi, change the name of the WiFi network and its Password, Click Save then wait for the reboot Reconnect (WiFi and http...) Go to Advanced / Modify Password, change AdminPassword Note the connection values: WiFi network name / WiFiPassword, admin / AdminPassword (If you lose the AdminPassword, do a factory reset and the rest, or consult the settings file ... see above the command ./adb pull /data/mificonfig.json ...) ######################################################################## DEVICE REFERENCES Photos at https://github.com/u0d7i/uz801 (+ various manipulations) For purchase (AliExpress 8.05€ in 2024, 7.49€ in 2025), search LTE 4G WIFI USB MODEM Model: LTE 4G WIFI Dongle - LTE 4G USB MODEM with Wi-Fi Hotspot High speed wireless connection up to 150Mbps Plug & Play - only power source required Internet sharing up to 10 Wi-Fi devices FDD/TDD-LTE,HSPA+,HSPA 4G/3G + Wi-Fi wireless access - NETWORK TYPE: FDD-LTE. TDD-LTE. WCDMA / HSPA+ FREQUENCY SCOPE: FDD / TDD-LTE WCDMA / HSPA+ DATA RATE: FDD-LTE TDD-LTE: UL 50Mbps / DL 150Mbps HSPA+: UL 5.76Mbps /DL 21.6Mbps SYSTEM SUPPORT: 32 / 64BIT: WIN2000/ WIN2003/ XP/ VISTA/ WIN7/ WIN8/ WIN 10 MAC OS X 10.4 OR LATER /LINUX USIM/SIM: MICRO 6 PIN SIM CARD INTERFACE DRIVE: NO CD-ROM NEEDED. PLUG & PLAY TECHNOLOGY USB VERSION / CHARGING MODE: STANDARD USB 2.0 HIGH SPEED / USB CHARGE STANDARD WIFI: 802.11B / G / N. SPEED UPTO 150Mbps DIMENSION / WEIGHT: 93.7 x 36.5 x 9.4mm / 30g CERTIFICATE: CE / RoHS - H808 4G Lte WiFi Router Portable WiFi Modem 3200mAh Mobile Hotspot Broadband 150Mbps Wide Coverage with SIM card Slot 10 Users - Visible chip (power management): QUALCOMM PM8916 001 BU730228 U073002 Circuit board: FY_UZ801_v3.2 # lsusb -> Qualcomm,Inc. FP3 ID = 05C6 f00e - Information read on http://192.168.100.1 Advanced / Device Information (C0C) IMEI: 860018046143237 Manufacturer: Qualcomm Technology Model: V2.3.11 - Other information, search: uz801 v3.2 LTE 4g modem MSM8916 data sheet https://wiki.postmarketos.org/wiki/Zhihe_series_LTE_dongles_(generic-zhihe) https://wvthoog.nl/openstick/ https://hackaday.com/2022/08/03/hackable-20-modem-combines-lte-and-pi-zero-w2-power/comment-page-2/ Qualcomm MSM8916 chipset This device is an Android phone which only has 6 peripherals: USB port, factory reset button, SIM connector, led, WiFi module, radio module No battery wirelessCharge buttons touchscreen microphone HP jack TFcard cameras BlueTooth NFC GPS accelerometers magnetometer thermometers ... Mobile data connection sharing to USB and WiFi is enabled ########################################################################