luislasonbra / TrimUITools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrimUI Smart Pro Tools

Simple tools for TrimUI Smart Pro console
Not responsible for anything that happens to your device.

Support me by buying a coffee: Buy Me a Coffee β˜•

πŸš€ Tools

ftp2

  • FTP: App that starts FTP on the device. Run it again to turn it off. It will also time out after 5 minuntes of inactivity.
  • modify the code to set the root password. Remove the "#" at line 7
# echo -e "root\nroot" | passwd root

iconftp

  • FTP Enable: App that enables FTP on your device. Mounts the /mnt/SDCARD. Run then restart your device and your device will have ftp on all the time. Run the app again to disable this option from boot.
  • Username: root
  • Password: root

telnetd

  • Telnetd: App that enables you to have the ability to telnet to your device and also adds it to boot. Only needs to be ran once. It does reset your root credentials to be Username:root Password:root

I didn't make the telnetd app. I just created the script that adds it to the rc.local file so it runs at boot.

This script moves the telnetd-static file to /mnt/SDCARD and renames it to "telnetd" and then adds the line "/mnt/SDCARD/telnetd" to the top of the rc.local file.

Courtesy of HYJiNX187 and the guy that built the busybox binary:
https://github.com/therealsaumil/static-arm-bins/blob/master/telnetd-static

Note: This is designed for Tomato version 1.3 created by Jutleys of RGH 
https://github.com/jutleys/Trimui-Smart-Tomato

Copy the contents of this zip file into /Apps/
Run Telnetd
Connect to your Trimui Smart over port 23 using your favorite telnet client.

WARNING: I am arbitrarily setting your root password to 'root'.  

randomicon

  • Random Game: This app chooses a random Emulator and Rom that matches that emulator.
Modify directory if you want it to be a dedicated emulator folder.
rom_base_dir="/mnt/SDCARD/Roms"
emu_base_dir="/mnt/SDCARD/Emus"

maxcpu

  • Max CPU: This app forces the device to use Performance mode at all times. This can be useful incase you haven't setup performance mode, hit the FN Button, reset the device, or did an update it and it removed user data. This runs a script in the background that tells the device to use its Performance mode even if its been changed. If successful the LEDs will change to the color green.
Updates: echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

reboot

  • Reboot App: Restart your device with ease and efficiency.

4/14/2024 Update If you've updated to Trimui Smart Pro 1.0.4 hotfix 20240414 you don't need to use this app. It now comes with a mac update.

macaddress

  • Mac Update: updates the mac address to be static.

Rainbowleds

  • RainbowLEDS: This app changes the colors of the LED to each color slowly in loop. Run the app again to end it. trimuigif

ledtemp

  • LED Temp: This app changes the colors of the LEDs to reflect the color of the CPU. Run the app again to end it.
Temps under 40 degrees show Green
Temps between 40-45 degrees show Chartreuse Green
Temps between 45-50 degrees show Yellow
Temps between 50-55 degrees show Orange
Temps between 55-60 degrees show Dark Oragen
Temps between 60-65 degrees show Red Orange
Temps between 65-70 degrees show Vermilion
Temps over 70 degrees show red

batlogo

  • LED Batt: This app changes the colors of the LEDs to reflect the percent left on the battery. Run the app again to end it.
       100|9[0-9]) set_led_color 0 255 0 ;; # Green
       8[0-9]|7[0-9]) set_led_color 127 255 0 ;; # Chartreuse Green
       6[0-9]) set_led_color 255 255 0 ;; # Yellow
       5[0-9]) set_led_color 255 165 0 ;; # Orange
       4[0-9]) set_led_color 255 140 0 ;; # Dark Orange
       3[0-9]) set_led_color 255 69 0 ;; # Red Orange
       2[0-9]) set_led_color 255 20 0 ;; # Vermilion
       *) set_led_color 255 0 0 ;; # Red

logo4

  • UDISK: Unlocks the local storage on the device for you to use and access.

**USE AT YOUR OWN RISK, THIS FORMATS UDISK PARTITION**

image

This app formats and unlocks the UDISK partition allowing you to access 6 GB of local storage on your device to store Apps, Emulators, and more. The app backs up your data, formats UDISK in fat32, and restores the user data to it. This will also remove the internal usb_storage app and replace it with a updated usb_storage app which allows you to mount both SDCARD and UDISK to your computer at the same time or just UDISK if you don't have a SDCARD in. You can download the core SD files to use them on /mnt/UDISK. https://github.com/trimui/assets_smartpro

image

Extract files to your SDCARD and run the UDISK app. It runs in the background and you may see screen dim for a moment. After its complete you can launch usb_storage app. Only needs to be ran once.

πŸ“₯ Installation

Copy the folders inside the Tools folder to /SDCARD/Apps/ and usb_storage to the root of the SDCARD /SDCARD
πŸ“ /mnt/SDCARD/Apps/
└── πŸ“UDISK
πŸ“ /mnt/SDCARD/usb_storage

bootlogo

  • Bootlogo Updater: Customize your startup experience by updating the boot image to a photo of your choice.

Bootlogo

Add your image to the root of your SDCARD and rename it to logo. It has to be in .bmp format. Should look like logo.bmp Might take a few trys You can have the logo on either /mnt/SDCARD or /mnt/UDISK.

πŸ“ /mnt/SDCARD/

└── πŸ–ΌοΈ logo.bmp

  • Requirements:
    • Format: .bmp
    • Size: Under 6 MB
    • Resolution: Up to 1280x720px

logo

Example logo

## πŸ›  More Tools Coming Soon!

Stay tuned for more exciting tools designed to enhance your TrimUI Smart Pro experience.

πŸ“₯ Installation

Copy the folders inside the Tools folder to /SDCARD/Apps/
πŸ“ /mnt/SDCARD/Apps/

└── πŸ“Reboot
└── πŸ“Bootlogo

Log files are stored on SDCARD

✨ Tips

If you're looking to create your own LED apps below are some functions to help you out. Built into the device.

[TRIMUI LED Animation driver] 
    max_scale : maxium LED brightness in dec [0 ~ tg5040 limit brightness 60] 
    frame     : raw frames for total 23 XRGB 32bpp data 
    frame_hex : frames for total 23 XRGB 32bpp data in hex format "RRGGBB RRGGBB RRGGBB ... RRGGBB " end with space. 
    
[usage of anim to function] 
    effect_lr: Left and right joystick LEDS effect type. 
    effect_l: Left joystick LEDS effect type. 
    effect_r: Right joystick LEDS effect type. 
    effect_m : middle LED effect type. 
   (effect_x for a trigger of effect start) 
    effect_names : show the effect types description. 
    effect_duration_lr: Left and right joystick LEDS animation durations. 
    effect_duration_l: Left joystick LEDS animation durations. 
    effect_duration_r: Right joystick LEDS animation durations. 
    effect_duration_m : middle LED effect duration. 
    effect_rgb_hex_lr: Left and right LED all target color in format "RRGGBB " end with space. 
    effect_rgb_hex_l: Left LED all target color in format "RRGGBB " end with space. 
    effect_rgb_hex_r: Left LED all target color in format "RRGGBB " end with space. 
    effect_rgb_hex_m: Middle LED target color in format "RRGGBB " end with space. 
    effect_cycles_lr: Left and right joystick LEDS animation loops. 
    effect_cycles_l: Left joystick LEDS animation loops. 
    effect_cycles_r: Right joystick LEDS animation loops. 
    effect_cycles_m : middle LED effect loops. 
   (cycles value: 0 for stop, -1 for endless loop, > 0 for loop times) 
    effect_enable   : toggle of anim to function 
	 
[usage of framebuffer animation function !!Did not finish yet!!] 
    anim_frames:       raw frames for total XRGB 32bpp data, buffer length 10 sec@60fps, 23 data per frame. 
    anim_frames_hex:   same as anim_frames and use hex format "RRGGBB RRGGBB RRGGBB ... RRGGBB " end with space. 
    anim_frames_cycle: animation loops count 
    anim_frames_enable : toggle of frames anim function 
    anim_frames_override_m_enable: toggle of middle LED in frames anim function. 

Made with ❀️ by djware

About


Languages

Language:Shell 100.0%