How to Update the Underdash OS

How to Update the Underdash OS


Flashing the Underdash OS


The Micronet Underdash OS can be updated in one of three ways:
  1. Fastboot
  2. Delta (MLD) Files
  3. OTA with RedBend


NOTE: All three of these methods will perform a factory reset on the device. All applications and data will be erased.


Fastboot

Fastboot is the simplest way to flash an OS image on the SmartHub OBC Device. Fastboot is a tool that is part of the Android Debug Bridge (ADB). If you do not have the ADB Tool installed you can download it here: https://www.dropbox.com/s/2b6lwo1bhhoj1cs/ADB.zip?dl=0
  1. Download the latest OS files from Micronet.
  2. Connect the Micronet Underdash to the computer using the development cable USB type A male connector (GCAB601B)
  3. Navigate to the folder where your ADB Tool was installed and open a Command prompt / Terminal window.
  4. Type 'adb devices' to verify the Micronet Underdash is connected.
  5. Type 'adb reboot bootloader' to enter bootloader mode.                                                                                                                                            
  6. Type 'fastboot devices' to verify the Micronet Underdash is in bootloader mode.
  7. Navigate to the downloaded OS file folder and type ‘recovery_obc5.bat’ to flash the OS.


If fastboot was successful. You will get output that looks like this:


8.   Type ‘fastboot reboot’ to exit bootloader mode.


NOTE: If you have trouble getting the device to connect over ADB please see this article: https://stackoverflow.com/questions/22450478/android-device-not-recognized-by-adb



Delta (MLD) Files

To use a delta file you need to know your device’s current OS. Also, delta files usually update both the OS, MCU, and FPGA.
  1. Power up the Underdash device.
  2. Connect the Micronet Underdash to the computer using the development cable USB type A male connector (GCAB601B).
  3. Navigate to the folder where your ADB Tool was installed and open a Command prompt / Terminal window.
  4. Type 'adb devices' to verify the Micronet Underdash is connected.
  5. Launch Vysor or another screen emulator application. You can download Vysor for free here:
    https://www.vysor.io/download/?return=https%3A%2F%2Fwww.vysor.io%2F.
  6. Navigate to “Settings”  “About Phone”  “Build Number” to find the OS version. For example: Build Number: TREQ_5_0.1.11.0_20180225.1249. This means the OS installed is version 1.11 which was built on 02/25/2018.
  7. Obtain the delta files from Micronet. Delta files are named as follows: OSVersionToBeUpdated_OSVersionAfterUpdate.mld). For example, if your OS version is 1.11 you cannot use an OS1.12_OS1.19.mld file to update your device. MLD delta files are built specific to each version update.
  8. From the terminal, navigate to the folder where you downloaded the delta file using the “cd” command. 
  9. Type 'adb root'
  10.   Type 'adb shell rm –f /cache/*'
  11.   Type 'adb push <NameofDeltaFile.mld> /cache/dp'
  12.   Type 'adb reboot recovery' 
    1. After using ‘adb reboot recovery’ the device will reboot and you will notice the right LED turn blue. Then, the device will reboot two more times and the MLD file will update the device for about 8 – 10 minutes. Once the update is finished, the left LED will turn back green.
  13. Verify that the OS was updated by checking “Settings”  “About Phone”  “Build Number”



NOTE: If this process doesn’t work you may also try the manual SD card delta update below:

  1. Insert the SD card into the Underdash's SD card slot.
  2. Repeat steps 1 – 9 above.
  3. Type 'adb push <NameofDeltaFile.mld> /storage/sdcard1/delta'
  4. Type 'adb reboot recovery'
    1. Again, after using ‘adb reboot recovery’ the device will reboot and you will notice the right LED turn blue. Then, the device will reboot two more times and the MLD file will update the device for about 8 – 10 minutes. Once the update is finished, the left LED will turn back green. Verify that the OS was updated by checking “Settings”  “About Phone”  “Build Number”).
  5. Verify that the OS was updated by checking “Settings”  “About Phone”  “Build Number”




OTA with RedBend

  1. Power up the Underdash device and make sure it is connected only to cellular data. 
  2. Launch Cisco AnyConnect and type in the IP Address: 94.236.41.232 and click “connect” to enter Micronet’s virtual private network (VPN). If you do not have Cisco AnyConnect you can download it free here: https://software.cisco.com/download/home/286281283/type/282364313/release/4.6.03049
  3. In a web browser type http://192.168.137.20:8080/sma and hit enter.
  4. Enter your specific login credentials for the RedBend server.
  5. In the RedBend Dashboard navigate to “Software Management” “New Campaign”
  6. Enter a Campaign Name, select which device you want to update by the Device’s ID (IMEI number), then select “Update All Software to the Latest Version” under “Select Action”
  7. Click “Run Campaign” at the bottom to initiate the updates.
  8. Launch the RedBend “Software Management” app on the Underdash device and the updates will be installed automatically.




    • Related Articles

    • How to Update the Underdash MCU and FPGA

      Flashing the Underdash MCU & FPGA The Micronet Underdash MCU & FPGA can be updated in two ways: Delta (MLD) Files OTA with RedBend NOTE: These methods will perform a factory reset on the device. All applications and data will be erased. Delta (MLD) ...
    • How to Update the A317 OS

      Flashing the A317 OS      The Micronet A317 OS can be updated in two ways:    SD Card  OTA with RedBend    NOTE: These methods will perform a factory reset on the device. All applications and data will be erased.      SD Card    1.   Insert the SD ...
    • How to Update the A317 MCU

      Flashing the A317 MCU The Micronet A317 MCU can be updated in two ways: SD Card OTA with RedBend NOTE: These methods will perform a factory reset on the device. All applications and data will be erased. SD Card Insert the SD card into the SmarTab’s ...
    • 3G Sunset Handling on TREQ317 LTE Models

      As per the AT&T 3G Sunset: Product Change Notification from Telit, certain changes need to be made on the existing modems to ensure they are able to connect to the network smoothly. This can be done either by updating the modem firmware on the device ...
    • How to Fix ADB USB Issues

      When using a SmartHub or SmarTab there are a few things you can check to verify that ADB USB is working. First, you must install the ADB drivers and follow the instructions in this article: ...