[App] MyButtons - plugin for fast execute commands

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: [App] MyButtons - plugin for fast execute commands

Post by reaper7 » Mon Feb 14, 2011 2:48 pm

so ... you can comment line with popup inside mybuttons.c and compile without this lib...
tv with ci+ reboot when popup is visible?

Popup code will not be public because I did not have time to do it "nice" to show it.
it's not like "he is mine" or "I want money for it", this is not a black master ring - simply shame shown the code.
Further discussion of this does not make sense.

User avatar
erdem_ua
SamyGO Admin
Posts: 3102
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: [App] MyButtons - plugin for fast execute commands

Post by erdem_ua » Mon Feb 14, 2011 4:39 pm

Not needed to be nice. If it's working, that doesn't matter much. Anyone who don't like your coding, than he/she could make better...
for Example: Meteorite MKV Fixer code. :)

marcelru
Official SamyGO Developer
Posts: 171
Joined: Thu Oct 01, 2009 7:27 am

Re: [App] MyButtons - plugin for fast execute commands

Post by marcelru » Mon Feb 14, 2011 5:55 pm

marcelru-libpopup is my lib,
Sorry but code is not for public show
But anyone can use it in other project(*.a and header file is in tar.gz) Makefile show how to add this lib
Hi, I had a quick look into libpopup.a. It seems to come bundled with libSDL_ttf and libfreetype(2).
Both have been published under the LGPL, so technically speaking, you are bound by that license as well, at least if you made changes to the original library code, but probably anyway.

For me personally it's not that important, but some other guys (from SDL and/or freetype) might complain about that.

Do you have a working i*86 and x86_64 version of it? Want to do some testing on a desktop before I dump stuff on my TV.

grtz,

marcelr

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: [App] MyButtons - plugin for fast execute commands

Post by reaper7 » Sat Feb 19, 2011 12:11 pm

Ok...today lib looking good :)
here are src code of popuplib:
http://www.sendspace.com/file/esu7wi


BTW
I don't modify any external libraries...
I don't add any license to my src files,
so You can or not modify these files ? :D

alexandregz
Posts: 21
Joined: Mon Jan 03, 2011 11:06 am

Re: [App] MyButtons - plugin for fast execute commands

Post by alexandregz » Tue Mar 15, 2011 1:06 am

Hi all:

I try to start the plugin with injectso at home (tv model UE32B6000). No errors but nothing happens. Some other plugins start ok (Yellow subtitles and ChannelInfo).
Don't work with B6000?

Thanks in advance.


Injectso start script

Code: Select all

#!/bin/sh                                                                                                                                                  
#                                                                                                                                                          
# ? Copyright 1996-2010, ZsoltTech.Com                                                                                                                    
#       by Ser Lev Arris <arris@ZsoltTech.Com>                                                                                                             
#                                                                                                                                                          
#       donated for the SamyGo Project                                                                                                                     
#       http://samygo.sourceforge.net/                                                                                                                     
#                                                                                                                                                          
#       Version: SamyGO svn $Id: 90_90_injectso.init.dis 1027 2010-10-20 06:56:31Z arris69 $                                                               
                                                                                                                                                           
. /dtv/SGO.env                                                                                                                                             
                                                                                                                                                           
### begin configure me                                                                                                                                     
# see description at: http://forum.samygo.tv/viewtopic.php?f=6&t=862&start=0                                                             
# libraries: absolute path of libraries to be loaded                                                                                                       
#            like "/full/path/to/load_custom_module1.so /full/path/to/load_custom_module2.so"                                                              
#            there can be several, separated spaces!!                                                                                                      
#            this script requires paths-names WITHOUT spaces                                                                                               
libraries="/mtd_rwarea/apps/mybuttons/loader.so /mtd_rwarea/apps/channelinfo/loader.so /mtd_rwarea/apps/aspectratio/load.so" # add your libraries here

### end configure me

do_inject()
{

	exeDSP_PID=$(pidof exeDSP)

	for l in $libraries
	do
		if [ -e "$l" ] ;then
			sleep 3 
			injectso $exeDSP_PID $l Game_Main ${l%/*}/ 
		else
			echo "forgot to configure the script?"
		fi
	done
}

case $1 in 
	start)
	mkdir -p /mtd_rwarea/etc
	do_inject
	;;
	stop)
	echo "Nothing to do"
	;;
	status)
	echo "Ask root"
	;;
	*)
	echo "Usage: $0 {start|stop|status}" 1>&2
	exit 0
	;;
esac

The response

Code: Select all

# ./90_90_injectso.init start

Module injector V1.2 for ARM based CPUs.
(copyleft) SmartSmurf 2010 (smartsmurf@shared-files.de)

Info: Import dlopen set at 0x004ae424
Info: Import dlsym set at 0x004ada34
Info: Import dlclose set at 0x004ad50c
Info: current register set:
R0 =0xFFFFFFFC R1 =0x00000000 R2 =0x00000001 R3 =0x00000000
R4 =0x00000001 R5 =0x02534F60 R6 =0x0200C0D8 R7 =0x000000F0
R8 =0x00000000 R9 =0x00000000 R10=0xBE8DEA78 R11=0x00000000
R12=0x00000001 SP =0xBE8DEA68 LR =0x4005DA44 PC =0x4005B008
CPSR=0x80000010

Info: new SP for inject code 0xBE8DE668
Done.

Module injector V1.2 for ARM based CPUs.
(copyleft) SmartSmurf 2010 (smartsmurf@shared-files.de)

Info: Import dlopen set at 0x004ae424
Info: Import dlsym set at 0x004ada34
Info: Import dlclose set at 0x004ad50c
Info: current register set:
R0 =0xFFFFFFFC R1 =0x00000000 R2 =0x00000001 R3 =0x00000000
R4 =0x00000001 R5 =0x02534F60 R6 =0x0200C0D8 R7 =0x000000F0
R8 =0x00000000 R9 =0x00000000 R10=0xBE8DEA78 R11=0x00000000
R12=0x00000001 SP =0xBE8DEA68 LR =0x4005DA44 PC =0x4005B008
CPSR=0x80000010

Info: new SP for inject code 0xBE8DE668
Done.

Module injector V1.2 for ARM based CPUs.
(copyleft) SmartSmurf 2010 (smartsmurf@shared-files.de)

Info: Import dlopen set at 0x004ae424
Info: Import dlsym set at 0x004ada34
Info: Import dlclose set at 0x004ad50c
Info: current register set:
R0 =0xFFFFFFFC R1 =0x00000000 R2 =0x00000001 R3 =0x00000000
R4 =0x00000001 R5 =0x02534F60 R6 =0x0200C0D8 R7 =0x000000F0
R8 =0x00000000 R9 =0x00000000 R10=0xBE8DEA78 R11=0x00000000
R12=0x00000001 SP =0xBE8DEA68 LR =0x4005DA44 PC =0x4005B008
CPSR=0x80000010

Info: new SP for inject code 0xBE8DE668
Done.

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: [App] MyButtons - plugin for fast execute commands

Post by reaper7 » Tue Mar 15, 2011 1:02 pm

So...
command like this:

Code: Select all

/mtd_rwarea/injectso `pidof exeDSP` /dtv/usb/sda/mybuttons/loader.so Game_Main /dtv/usb/sda/mybuttons/
starts mybuttons on my b650
but I don't know about running on other TV models :(

alexandregz
Posts: 21
Joined: Mon Jan 03, 2011 11:06 am

Re: [App] MyButtons - plugin for fast execute commands

Post by alexandregz » Tue Mar 15, 2011 9:15 pm

Thx for response, reaper7.

I try start the plugin again with command from shell, but nothing happens :(
Output seems perfect, but when I try green button (I have default mybuttons.conf) anything does.

Code: Select all

# /mtd_contents/SamyGO/opt/privateer/usr/bin/injectso `pidof exeDSP` /mtd_rwarea/apps/mybuttons/loader.so Game_Main /mtd_rwarea/apps/mybuttons/

Module injector V1.2 for ARM based CPUs.
(copyleft) SmartSmurf 2010 (smartsmurf@shared-files.de)

Info: Import dlopen set at 0x004ae424
Info: Import dlsym set at 0x004ada34
Info: Import dlclose set at 0x004ad50c
Info: current register set:
R0 =0xFFFFFFFC R1 =0x00000000 R2 =0x00000001 R3 =0x00000000
R4 =0x00000001 R5 =0x02521CF0 R6 =0x0200C0D8 R7 =0x000000F0
R8 =0x00000000 R9 =0x00000000 R10=0xBEFC5A78 R11=0x00000000
R12=0x00000001 SP =0xBEFC5A68 LR =0x4005DA44 PC =0x4005B008
CPSR=0x80000010

Info: new SP for inject code 0xBEFC5668
Done.

I haven't Game menu. Can I try with another param (number four)?

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: [App] MyButtons - plugin for fast execute commands

Post by reaper7 » Tue Mar 15, 2011 10:08 pm

sorry but i'm not a specialist,
maybe someone else help you.
About parameters-you must read
Iniector thread or write to SmartSmurf.
Mybuttons need some files from self path and from tv directory-look inside source and check if your tv have these files(I don't remember but some font and images from specific directory)

alexandregz
Posts: 21
Joined: Mon Jan 03, 2011 11:06 am

Re: [App] MyButtons - plugin for fast execute commands

Post by alexandregz » Wed Mar 16, 2011 12:02 am

thx, reaper.

I try to look to the code :)

Post Reply

Return to “[B] Software”