Addons apps to current firmware

Here for general support for B series TVs, request and problem solve area.

aquadran
Posts: 264
Joined: Fri Oct 16, 2009 9:35 pm
Location: Poland

Re: Addons apps to current firmware

Post by aquadran »

root privaleges, I'm just trying execute script, tv hang, propably i'm doing something wrong with execl.
On CI+ you can't run no signed software, CI doesn't have sign check code I think authd do that on CI+.
Each executable(*.so) file has *.mac with 16 bit sign.
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Addons apps to current firmware

Post by erdem_ua »

16 bit? Fighting with 16bit sign (65536 probabilities) algorithm is more easier that trying to solve 256 bit AES puzzle :lol:
Might be exhausted for who want to try all keys, but I think we can guess right keys from example CI+ tools, Can't we?
Do you know where is example CI+ applications available for download? Needed to look at them.
aquadran
Posts: 264
Joined: Fri Oct 16, 2009 9:35 pm
Location: Poland

Re: Addons apps to current firmware

Post by aquadran »

ups, sorry I was mean 16 bytes.

Btw execl, it seems it doesn't hang tv, telnetd still works. it seems, it doesn't return from execl, or something diffrent happen, and watchdog restart after few seconds.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Addons apps to current firmware

Post by arris69 »

aquadran wrote:root privaleges, I'm just trying execute script, tv hang, propably i'm doing something wrong with execl.
On CI+ you can't run no signed software, CI doesn't have sign check code I think authd do that on CI+.
Each executable(*.so) file has *.mac with 16 bit sign.
this reboots was my problem too, also in actionscript variants, btw. tomorrow i will check your sample app.
have you tried to write to /mtd_rwarea/ ? may we are sandboxed into the game directory?

thnx a lot for the code.

arris
aquadran
Posts: 264
Joined: Fri Oct 16, 2009 9:35 pm
Location: Poland

Re: Addons apps to current firmware

Post by aquadran »

WiseStar is for CI and CI+ in /mtd_tlib/GGame/WiseStar
there are also some games in this site: http://www.nurisam.com:8081/main

App write fine to usb dir, so no need check other places.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Addons apps to current firmware

Post by arris69 »

aquadran wrote:...

App write fine to usb dir, so no need check other places.
strange thing, app won't write to usb (test file should appears in setup directory?)
but write to /dev/kmsg is ok (test output with dmesg).

arris
aquadran
Posts: 264
Joined: Fri Oct 16, 2009 9:35 pm
Location: Poland

Re: Addons apps to current firmware

Post by aquadran »

arris69 wrote:
aquadran wrote:...

App write fine to usb dir, so no need check other places.
strange thing, app won't write to usb (test file should appears in setup directory?)
but write to /dev/kmsg is ok (test output with dmesg).

arris
Yes, it should write to Setup dir, make sure write access is ok.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Addons apps to current firmware

Post by arris69 »

aquadran wrote:root privaleges, I'm just trying execute script, tv hang, propably i'm doing something wrong with execl.
...
i guess exec calls wont work due not existent /dev/tty

a simple

Code: Select all

system("killall -9 telnetd");
will be executed without reboot and sample lib exits clean.

happy hacking
arris
aquadran
Posts: 264
Joined: Fri Oct 16, 2009 9:35 pm
Location: Poland

Re: Addons apps to current firmware

Post by aquadran »

I wonder if start telnetd will work.
If it's indeed lack of tty, it seems mount load modules need implemented into library instead execute scripts.
However I didn't tried yet load module or mount nfs/smb.
aquadran
Posts: 264
Joined: Fri Oct 16, 2009 9:35 pm
Location: Poland

Re: Addons apps to current firmware

Post by aquadran »

I just tried this and works :)
system("/etc/telnetd_start.sh");
system("insmod /dtv/usb/sda1/modules/cifs.ko");

no need patched firmware :)

Post Reply

Return to “[B] Support”