Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

tempinbox wrote:
sectroyer wrote:ehhh if you keep on forgetting that you should ALWYAS RUN:

Code: Select all

source /dtv/SGO.env
FIRST than how we can continue ? With the rest:

Code: Select all

echo $SYSROOT
$SYSROOT/rcEXT "$SYSROOT"
even if i alwyas run source /dtv/SGO.env the result is the same

Code: Select all

/ # source /dtv/SGO.env
/ # echo $SYSROOT
/dtv/usb/sda1/SamyGO
/ # $SYSROOT/rcEXT "$SYSROOT"
ln: /dtv/bin/bin: Operation not permitted
killall: telnetd: no process killed
/dtv/usb/sda1/SamyGO/etc/rc.fix_telnetd: line 5: telnetd: not found
ln: /dtv/usb/sda1/SamyGO/bin/dnsdomainname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/id: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/md5sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/awk: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/cal: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/clear: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/cmp: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/diff: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/hostname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/lsusb: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/less: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/mountpoint: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/nc: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/man: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/nslookup: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/ntpd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/modprobe: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/modinfo: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/realpath: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/reset: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/rmdir: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/rtcwake: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/stat: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/seq: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha1sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha256sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha512sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sort: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/split: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/strings: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/su: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tee: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/telnet: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tftp: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tftpd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/udpsvd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/time: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tr: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/traceroute: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uniq: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uptime: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uudecode: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uuencode: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/volname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/who: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/whoami: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/wc: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/xargs: Operation not permitted
/ # killall: telnetd: no process killed
/dtv/usb/sda1/SamyGO/etc/rc.fix_telnetd: line 5: telnetd: not found
So whats next step?
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

Ehh. You don't have /dtv/network_opt by default? How did you root it? Do you have ANY bin directory in /dtv/?
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 !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:Ehh. You don't have /dtv/network_opt by default? How did you root it? Do you have ANY bin directory in /dtv/?
Yes no /dtv/network_opt because the universal hack disk isn't available.
I root with the method described here viewtopic.php?f=13&t=1076
this is my dtv/bin

Code: Select all

/ # cd dtv/bin
/dtv/usb/sda1/SamyGO/opt/privateer/usr/bin # ls
cksfv          fbset          hidd           pand           ssh
crypt-xor      fbtest         httpfs2        php-cgi        ssmtp
dbclient       fusesmb        l2ping         rfcomm         strace
dd             fusesmb.cache  mc             rtorrent       tar
dialog         fw_printenv    mount          samyGOso       unrar
djmount        gdb            netcat         scp            unzip
dund           gunzip         netstat        sdptool        wakelan
eject          gzip           nmblookup      showmount      wget
fbgrab         hcitool        opd            smbclient      which
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

ehhh your /dtv/bin is piece of shit :) It's just symlink, now I get why NONE of my stuff works :P
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 !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:ehhh your /dtv/bin is piece of shit :) It's just symlink, now I get why NONE of my stuff works :P
that is samygoextensionpack for c series v0.36 made by @arris69 so i think that even if i change the rooting method your fix will not work.
for example if i format mtd_rwarea downgrade to 3005.1 apply the internet@tv hack upgrade back to 3018.1 nothing change in dtv/bin because it depends on samygoextension pack structure.
if i hack with hotelmode hack nothing change in dtv/bin.
the problem isn't the rooting method.
so i supposed that this fix is designed to work only if the hack is done with universal usb hack disk that isn't available for download for a long time.
any chance to get this working with samygoextension?
i think that i'm only losing my time and you won't help to get this working.
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

Bullshit :P
run:

Code: Select all

ps aux | grep 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 !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:Bullshit :P
run:

Code: Select all

ps aux | grep telnet 
output

Code: Select all

 # ps aux | grep telnet
  678 root       1200 SW  /mtd_rwarea/busybox telnetd -l /mtd_rwarea/sh
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

tempinbox wrote:
sectroyer wrote:Bullshit :P
run:

Code: Select all

ps aux | grep telnet 
output

Code: Select all

 # ps aux | grep telnet
  678 root       1200 SW  /mtd_rwarea/busybox telnetd -l /mtd_rwarea/sh
Now:

Code: Select all

source /dtv/SGO.env
echo $PATH
and:

Code: Select all

/mtd_rwarea/busybox
:)
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 !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:
tempinbox wrote:
sectroyer wrote:Bullshit :P
run:

Code: Select all

ps aux | grep telnet 
output

Code: Select all

 # ps aux | grep telnet
  678 root       1200 SW  /mtd_rwarea/busybox telnetd -l /mtd_rwarea/sh
Now:

Code: Select all

source /dtv/SGO.env
echo $PATH
and:

Code: Select all

/mtd_rwarea/busybox
:)
here you are

Code: Select all

/ # source /dtv/SGO.env
/ # echo $PATH
/dtv/usb/sda1/SamyGO/opt/privateer/sbin:/dtv/usb/sda1/SamyGO/opt/privateer/bin:/dtv/usb/sda1/SamyGO/opt/privateer/usr/bin:/dtv/usb/sda1/SamyGO/opt/privateer/usr/sbin:/dtv/usb/sda1/SamyGO/sbin:/dtv/usb/sda1/SamyGO/bin:/dtv/usb/sda1/SamyGO/usr/bin:/dtv/usb/sda1/SamyGO/usr/sbin:/sbin:/bin:/usr/sbin:/usr/bin
/ # /mtd_rwarea/busybox
BusyBox v1.21.1 (2013-07-08 10:26:30 CDT) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list[-full]
   or: busybox --install [-s] [DIR]
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, [[, acpid, add-shell, addgroup, adduser, adjtimex, arp, arping, ash,
        awk, base64, basename, beep, blkid, blockdev, bootchartd, brctl,
        bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod,
        chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm,
        conspy, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd,
        deallocvt, delgroup, deluser, depmod, devmem, df, dhcprelay, diff,
        dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, dumpkmap,
        dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake,
        expand, expr, fakeidentd, false, fbset, fbsplash, fdflush, fdformat,
        fdisk, fgconsole, fgrep, find, findfs, flock, fold, free, freeramdisk,
        fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, getopt, getty,
        grep, groups, gunzip, gzip, halt, hd, hdparm, head, hexdump, hostid,
        hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifenslave,
        ifplugd, ifup, inetd, init, insmod, install, ionice, iostat, ip,
        ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel,
        kbd_mode, kill, killall, killall5, klogd, last, less, linux32, linux64,
        linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread,
        losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat,
        lzma, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev, mesg,
        microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix,
        mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more,
        mount, mountpoint, mpstat, mt, mv, nameif, nanddump, nandwrite,
        nbd-client, nc, netstat, nice, nmeter, nohup, nslookup, ntpd, od,
        openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
        pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv,
        printf, ps, pscan, pstree, pwd, pwdx, raidautorun, rdate, rdev,
        readahead, readlink, readprofile, realpath, reboot, reformime,
        remove-shell, renice, reset, resize, rev, rm, rmdir, rmmod, route, rpm,
        rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,
        scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,
        setkeycodes, setlogcons, setserial, setsid, setuidgid, sh, sha1sum,
        sha256sum, sha3sum, sha512sum, showkey, slattach, sleep, smemcap,
        softlimit, sort, split, start-stop-daemon, stat, strings, stty, su,
        sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
        syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp,
        tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true,
        tty, ttysize, tunctl, udhcpc, udhcpd, udpsvd, umount, uname, unexpand,
        uniq, unix2dos, unlzma, unlzop, unxz, unzip, uptime, users, usleep,
        uudecode, uuencode, vconfig, vi, vlock, volname, wall, watch, watchdog,
        wc, wget, which, who, whoami, whois, xargs, xz, xzcat, yes, zcat, zcip

/ #
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

Your rcEXT:

Code: Select all

#!/bin/sh

source /dtv/SGO.env

#echo "alias sgopwd='cd $1'" >> /dtv/SGO.env

echo "#!/mtd_rwarea/sh" > /dtv/sgoshfix
echo ". /dtv/SGO.env" >> /dtv/sgoshfix
echo "export HOME=\"$1\"" >> /dtv/sgoshfix
echo "export TERMINFO='$1/etc/terminfo'" >> /dtv/sgoshfix
echo "export TERM='xterm-color'" >> /dtv/sgoshfix
echo "export FRAMEBUFFER='/dev/sam/fb0'" >> /dtv/sgoshfix
echo "export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /dtv/sgoshfix
echo "export PATH=\"$PATH\"" >> /dtv/sgoshfix
echo "export SYSROOT=\"$SYSROOT\"" >> /dtv/sgoshfix
echo "export PS1='\u@tv:\w \\$ '" >> /dtv/sgoshfix

chmod +x /dtv/sgoshfix

ln -s "$SYSROOT/opt/privateer/usr/bin" /dtv/bin

for i in `cat $1/rcCMDs`
do
    cp /mtd_rwarea/busybox /dtv/bin/$i
done

$1/etc/rc.fix_telnetd&
Now run:

Code: Select all

source /dtv/SGO.env
$SYSROOT/rcEXT $SYSROOT
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 !!!!

Post Reply

Return to “[F] Software”