FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,059 views 10 comments
by
Hello everybody,

I would appreciate a helpful tip for the following problem:

I just tried to build a custom image for the TRB142 with the TRB1420_R_00.01.06.1_SDK on Ubuntu 20.04.

I compiled the hello-world example put it into the rootfs and executed the build-image script.

I have used python3 instead of python2 for this

I got an image that was ~18MB as opposed to ~64MB of the official TRB1420_R_00.01.06.1.bin

Nevertheless I tried a firmware update over WebUI, but the reboot after showing 100% seems to fail. The signal strength LEDs are blinking and the device is not reachable any more.

Is there any way to bring the device back to normal operating state by doing some kind of manual flashing with the original firmware?

Thank you very

1 Answer

0 votes
by anonymous

Hi, 


You can try fastboot mode: 

  1. Turn off/unplug TRB14x;
  2. Press and hold reset button, at the same time plug the power cable and keep holding reset button for about 5 seconds (mobile signal LED's should start blinking);
  3. Download and install adb from this link: https://we.tl/t-Xjd0rMotAZ;
  4. Open CMD with admin rights;
  5. Download rootfs.ubi from this link: https://we.tl/t-Xjd0rMotAZ;
  6. Use cd command to navigate to the place where you saved the rootfs.ubi file (Example: cd C:\Users\ma.ju\AppData\Local\Temp);
  7. Then use this command: fastboot flash rootfs_a rootfs.ubi ;
  8. When it completes the process use this command; fastboot flash rootfs_b build/rootfs.ubi ;
  9. When it is done unplug and plug your device again, it should boot up as normal;

 

Best answer
by

Hi,

Thank you very much for your help. 

[Edit]

Unfortunately the WeTransfer links have already been expired. Could you provide me an updated link for the rootfs.ubi for the TRB142 (abd I can install by myself)?

I have extracted tlt-rootfs-trb1420.ubi from official TRB1420_R_00.01.06.1.bin and flashed it with fastboot according your description.
Problem solved.

by anonymous
Happy to hear that :)
by anonymous
We need your help

We need the file, we have same issue
by anonymous
@Joseacevedo,

I sent the files to you in a private message.
by anonymous
Tengo el mismo problema me pueden hacer el favor de compartir los archivos
by anonymous

I have the same problem, can you please share the files?
by anonymous

Hi,

The latest TRB recovery process:

1.    Turn off/unplug TRB14x;

2.    Press and hold reset button, at the same time plug the power cable and keep holding reset button for about 5 seconds (mobile signal LED's should start blinking);

3.     Download and install adb from this link: https://forum.xda-developers.com/showthread.php?t=2588979

4.     Open CMD with admin rights;

5.     Download attached files (see attachment)

6.     Use cd command to navigate to the place where you saved the rootfs.ubi file (Example: cd C:\Users\ma.ju\AppData\Local\Temp);

7.     Then use this command: fastboot flash rootfs_a openwrt-mdm9x07-trb1401-squashfs-legacy.bin ;

8.     When it completes the process use this command; fastboot flash rootfs_b openwrt-mdm9x07-trb1401-squashfs-legacy.bin ;

9.    Then when it completes the process use this command: fastboot flash boot_a trb1401-kernel.bin ;

10.  Then when it finish, use his: fastboot flash boot_b trb1401-kernel.bin ;

11.  And finally, use command: fastboot flash modem modem.ubi ;

12.  When it is done unplug and plug your device again, it should boot up as normal;

13.  Install the latest software through WebUI. Download link: https://wiki.teltonika-networks.com/view/TRB140_Firmware_Downloads

Files can be downloaded from here: https://kaunas.teltonika.lt:444/d/b7c06ee2f6c84014bdbe/

by anonymous
Hi, I have had a similar problem and have tried running the commands mentioned above with both the file provided here and equivalent files that are specifically relevant to my board (TRB142 serial number starts with 1). However, the fastboot software gets to "writing 'rootfs_a'..." after the first command and then stops and nothing seems to happen for hours.

I was wondering, is this to be expected and is there a way around it?
by anonymous
I also have the same problem as CharlieR: the fastboot software gets stuck at "writing 'rootfs_a'..." after the first command.

The same happens when using the fastboot from the above link (fastboot version eac51f2bb6a8-android) as well as an ubuntu fastboot (fastboot version 1:8.1.0+r23-5ubuntu2).
The target trb142 has a custom firmware that was unable to boot properly. This firmware was built from TRB1_R_00.07.01.2 SDK and with manually enabled python3-cryptography library + two custom packages (that worked on the earlier 02.05.1 firmware version).

Writing the modem, boot_a and boot_b images works correctly.
by anonymous

Followup to above: I was able to flash my trb142 using correct set of kernel, root and modem files for my device.

I was able to get these files with "binwalk -e" against the bin I downloaded from https://wiki.teltonika-networks.com/view/TRB142_Legacy_FW_Upgrade_Instructions .

Then using SarunasKa's most recent answer (which had files for trb1401, apparently), I was able to flash all files correctly:
fastboot flash rootfs_a openwrt-mdm9x07-trb1420-squashfs-legacy.bin
fastboot flash rootfs_b openwrt-mdm9x07-trb1420-squashfs-legacy.bin

fastboot flash boot_a trb1420-kernel.bin
fastboot flash boot_b trb1420-kernel.bin
fastboot flash modem trb1420-modem.ubi