HelloWorld.c

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

User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: HelloWorld.c

Post by juusso »

Same here on D6750

Code: Select all

root@[TV] /> echo TEST4 > /dev/stderr
/bin/sh: can't create /dev/stderr: Read-only file system
root@[TV] />
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: HelloWorld.c

Post by sectroyer »

That is completely expected :) But for MrKalach it does nothing!!! It means either problem with connection (the obvious suspect ATM) and/or problem with TV. Until he fixes such issues there is no point in testing anything. He gets no output for "./seekpatch". Why? Maybe because it doesn't work or maybe he gets output but his "putty connection" doesn't display it :) Maybe it randomly doesn't display stuff. Maybe even his hello world worked :) He messed something up :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
MrKalach
SamyGO Project Donor
Posts: 33
Joined: Tue Aug 12, 2014 1:48 pm

Re: HelloWorld.c

Post by MrKalach »

sectroyer wrote:That is completely expected :) But for MrKalach it does nothing!!! It means either problem with connection (the obvious suspect ATM) and/or problem with TV. Until he fixes such issues there is no point in testing anything. He gets no output for "./seekpatch". Why? Maybe because it doesn't work or maybe he gets output but his "putty connection" doesn't display it :) Maybe it randomly doesn't display stuff. Maybe even his hello world worked :) He messed something up :)
Heyhey, I wrote that I tried BOTH!!! Telnet and putty, but i prefer last.


I can make tunnel to my TV, and you show me PRO coder style :twisted:

I was on vacation, and came back.
Samsung 55" LED-TV UE55F8005STXXE (SW: T-FXPDEUC-1118.0 == DATE: 2014-04-25 == MICOM: T-FOXDEUS2-1003 DTP-SDAL-FOXP-DEU023-1703)

SGS10+
developer
C/C++/Java
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: HelloWorld.c

Post by sectroyer »

MrKalach wrote:
sectroyer wrote:That is completely expected :) But for MrKalach it does nothing!!! It means either problem with connection (the obvious suspect ATM) and/or problem with TV. Until he fixes such issues there is no point in testing anything. He gets no output for "./seekpatch". Why? Maybe because it doesn't work or maybe he gets output but his "putty connection" doesn't display it :) Maybe it randomly doesn't display stuff. Maybe even his hello world worked :) He messed something up :)
Heyhey, I wrote that I tried BOTH!!! Telnet and putty, but i prefer last.


I can make tunnel to my TV, and you show me PRO coder style :twisted:

I was on vacation, and came back.
I don't care what you tried:) Your putty connection works incorrectly. This was shown by my TEST1/2 tests:) Do you have the same results with Telnet?
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
MrKalach
SamyGO Project Donor
Posts: 33
Joined: Tue Aug 12, 2014 1:48 pm

Re: HelloWorld.c

Post by MrKalach »

C'mon man :)

Absolutely same log!
You do not have the required permissions to view the files attached to this post.
Samsung 55" LED-TV UE55F8005STXXE (SW: T-FXPDEUC-1118.0 == DATE: 2014-04-25 == MICOM: T-FOXDEUS2-1003 DTP-SDAL-FOXP-DEU023-1703)

SGS10+
developer
C/C++/Java
MrKalach
SamyGO Project Donor
Posts: 33
Joined: Tue Aug 12, 2014 1:48 pm

Re: HelloWorld.c

Post by MrKalach »

update: I found solution. topic may be closed.
1) I removed all GNU compilers ARM/MIPS/x86 from my Ubuntu 12.04
2) Reboot and clean system via UbuntuTweak
3) Update system to 14.04
4) install GNU compilers x86/x64 from official Ubuntu repo
5) Then download arm-v7a15v3r1 toolchain, unpack it to /opt/toolchains, add to PATH all paths
6) done.
trouble was in I had on my system 3 arm toolkits, and linker used wrong libs.
Last edited by MrKalach on Tue Sep 02, 2014 3:46 pm, edited 1 time in total.
Samsung 55" LED-TV UE55F8005STXXE (SW: T-FXPDEUC-1118.0 == DATE: 2014-04-25 == MICOM: T-FOXDEUS2-1003 DTP-SDAL-FOXP-DEU023-1703)

SGS10+
developer
C/C++/Java
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: HelloWorld.c

Post by juusso »

Whats the problem? You cant disappear without letting us know
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
MrKalach
SamyGO Project Donor
Posts: 33
Joined: Tue Aug 12, 2014 1:48 pm

Re: HelloWorld.c

Post by MrKalach »

juuso wrote:Whats the problem? You cant disappear without letting us know
about STDOUT, I invented cheat way, but as temporary solution is fine 8-)

Add this to header or past it in beginning of your c/cpp file:

Code: Select all

# undef  printf
# define printf(str, ...) dprintf(1, str, ##__VA_ARGS__)
and now, PLEASE add me to GitHUB, i want to see sources :twisted:
Samsung 55" LED-TV UE55F8005STXXE (SW: T-FXPDEUC-1118.0 == DATE: 2014-04-25 == MICOM: T-FOXDEUS2-1003 DTP-SDAL-FOXP-DEU023-1703)

SGS10+
developer
C/C++/Java
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: HelloWorld.c

Post by sectroyer »

MrKalach wrote:
juuso wrote:Whats the problem? You cant disappear without letting us know
about STDOUT, I invented cheat way, but as temporary solution is fine 8-)

Add this to header or past it in beginning of your c/cpp file:

Code: Select all

# undef  printf
# define printf(str, ...) dprintf(1, str, ##__VA_ARGS__)
and now, PLEASE add me to GitHUB, i want to see sources :twisted:
You don't need github access :) First try checking code available on forum. For instance all of my patches have source code attached :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
MrKalach
SamyGO Project Donor
Posts: 33
Joined: Tue Aug 12, 2014 1:48 pm

Re: HelloWorld.c

Post by MrKalach »

sectroyer wrote:
MrKalach wrote:
juuso wrote:Whats the problem? You cant disappear without letting us know
about STDOUT, I invented cheat way, but as temporary solution is fine 8-)

Add this to header or past it in beginning of your c/cpp file:

Code: Select all

# undef  printf
# define printf(str, ...) dprintf(1, str, ##__VA_ARGS__)
and now, PLEASE add me to GitHUB, i want to see sources :twisted:
You don't need github access :) First try checking code available on forum. For instance all of my patches have source code attached :)
Oho, where is DEV subforum? It closed to me?
Samsung 55" LED-TV UE55F8005STXXE (SW: T-FXPDEUC-1118.0 == DATE: 2014-04-25 == MICOM: T-FOXDEUS2-1003 DTP-SDAL-FOXP-DEU023-1703)

SGS10+
developer
C/C++/Java

Post Reply

Return to “[F] Support”