[App] libAlert B/C/D/E/F/H
Posted: Sun May 10, 2015 8:17 pm
Lib displays user-defined text popups or message box on TV. Also has a feature to make screen blink on injection.
TEXT: MSGBOX: SYSTEM: (experimental, might crash some TVs, especially H, ugly anyway) CENTER: Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
*For C series (arm), replace every instance of /mnt below by /SamyGO on your rooting USB device
*For B series, latest samyGOso is there.
Fully support international chars. However, TV Telnet doesn't support their input, that's why an intermediate script is mandatory if you want ??x?t?c? chars to be displayed correctly. Such script is provided as sample in archive (test.sh).
A startup script is there too (99_99_zzzAlert.init), also sample since it's not possible to define a default setup. Don't forget to set execute permissions if you use them (chmod +x).
*Changelog:
TEXT: MSGBOX: SYSTEM: (experimental, might crash some TVs, especially H, ugly anyway) CENTER: Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
*For C series (arm), replace every instance of /mnt below by /SamyGO on your rooting USB device
*For B series, latest samyGOso is there.
- Get latest samyGOso from there and copy/overwrite samyGOso file (not folder) to /mnt/opt/privateer/usr/bin
- Set permissions if needed (usually not if overwritten)
Code: Select all
chmod +x /mnt/opt/privateer/usr/bin/samyGOso
- Extract attached archive and copy libAlert.so to /mnt/opt/privateer/usr/libso (create folder if needed).
- ExecuteInjecting without args makes...nothing! Usable args are:
Code: Select all
samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAlert.so [arg1...arg3]
- TEXT:"Your text" - Display popup with your text.
- MSGBOX:"Your text" - Display message box with your text.
- SYSTEM:"Your text" - Display 'system-like' popup with your text.
- CENTER:"Your text" - Display small center popup with your text.
Only one of the 4 options above can be used at once. - BLINKS:n - Make screen blink n times.
- DELAY:ms - Specify duration of/between blinks in milliseconds. If unspecified, default is 50ms.
Code: Select all
samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAlert.so TEXT:"Welcome to SamyGO!"
Code: Select all
samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAlert.so BLINKS:3 DELAY:200 MSGBOX:"Blah!"
A startup script is there too (99_99_zzzAlert.init), also sample since it's not possible to define a default setup. Don't forget to set execute permissions if you use them (chmod +x).
*Changelog:
Code: Select all
17/5/2015
v0.2.1 - Added SYSTEM/CENTER options
10/5/2015
v0.1.6 - First public release