Page 100 of 255

Re: [App] Rooting E/F on latest firmwares

Posted: Wed Jan 21, 2015 7:34 pm
by sectroyer
LaserMan wrote:I was very careful to use the E method. Unpacked SamyGO_data_E_.zip and SamyGO-F-SM-AutoStart-USB.zip to a FAT USB. Even so, on the TV screen is says F Series. Several lines of code are red in the log (as in previous screenshot) and installation loops.
Also you probably didn't disable OTN Support :)

Re: [App] Rooting E/F on latest firmwares

Posted: Thu Jan 22, 2015 8:43 am
by sandstorm
hy,
Model : UE46F6500SS (MST GERMAN) - Version 2102 .. diabled OTN, disabeld Auto-Update and CO!

i did a factory reset -> disabled OTN Support =) ..
Now my TV is clean .. i have only 1-2 questions ..
Cause it's factory reset (skype would work)
Question : I haven't anythink do to without to follow the instructions from #1 Post? No skype, no Root, no Nothing?

-- i will forma a usb-drive with FAT (are there different betweens' usb-drives?) less 2gb?
-- i will make what #1 Post shows.
--
Put USB-Stick into my TV, go into Smarthub, start "FIX"-> the screens comes up.. at the end stand "Reboot the TV and SamyGo works" .. have i to reboot the TV and SamyGo should start after 1-2 Mins?

Last Question.. FTP-> can i just user any-Programm to connect (ip:21) user,pass? or need i something to do with my laptop?

Thanks for help.. i just won't make mistakes :) regards

Re: [App] Rooting E/F on latest firmwares

Posted: Thu Jan 22, 2015 11:54 am
by LaserMan
I now have root access on my UE40ES6540 with MST 2004.1 FW. Thank you for your help. In the end I succeeded by using the E-Series Method (even though it says "F" on TV) but added the file run1.sh to the SamyGO-data folder. I know this tip was give earlier in this thread. I tried it then by copying the code from the thread and creating my own run1.sh, but that did not work. Only when I took the run1.sh from the F Method files and added it to the E Method USB did I get it to work. Anyway, I am a happy bunny now and I thank you for your patience and support. When I have time I next want to do the noDRM patch but I am a little worried about bricking the TV. It would be great if this could be added to the rooting USB so that we can get root access and noDRM all in one process from one USB drive.
LaserMan

Re: [App] Rooting E/F on latest firmwares

Posted: Thu Jan 22, 2015 12:10 pm
by zoelechat
Glad it finally works, even if you've obviously complicated things. Don't expect NoDRM to be added by default, it will probably never be. Just follow NoDRM installation procedure, it's quite simple and there's absolutely NO risk of brick. :)

Re: [App] Rooting E/F on latest firmwares

Posted: Fri Jan 23, 2015 5:22 pm
by cmuc05
I have problems with timeshift.

Re: [App] Rooting E/F on latest firmwares

Posted: Fri Jan 23, 2015 5:24 pm
by cmuc05
When 90 minutes are reached it breaks. Es 6300. Has anyone this problem too?

Re: [App] Rooting E/F on latest firmwares

Posted: Fri Jan 23, 2015 6:41 pm
by sectroyer
cmuc05 wrote:When 90 minutes are reached it breaks. Es 6300. Has anyone this problem too?
That's not the problem!!! It's a feature :) Just ask samsung :)

Re: [App] Rooting E/F on latest firmwares

Posted: Fri Jan 23, 2015 7:33 pm
by cmuc05
No, I know that the original timeshift is only made for 90 minutes. But when I use a USB-HDD like the normal way is, recording after 90 minutes is going on - just 90 minutes to past.
But when I record to my nfs share, the tv crashes or recording crashes.
I use the script from this post viewtopic.php?f=52&t=5929.
It works really fine (except timshift after 90 minutes). I names the script 06_03_nfspvrmount.init. It is the only script for the nfs stuff.
I don't use 02_04_vusb.init, 06_03_nfsmount.init, 80_80_record_to_nwshare.init. I also don't need a xfs-file on my nas share. It just workes.

Another thing: I have a file in /mnt named "0" with size 0 Byte. Anyone know from where this file comes.

06_03_nfspvrmount.init:

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/
    #       depending on some other coders of the samygo-forum and also on
    #  Version: SamyGO svn $Id: 03_03_nfsmount.init 1069 2011-01-03 16:47:24Z arris69 $

    #############-Some Variables-####################
    V_USB="sdr"           # Aka name usb-device with 1 partition
    R_USB="sdw"           # Aka name record-device
    USB_NAME="Rec-TS"     # symbolic name of usb-device
    REC_NAME="Rec-Nativ"  # symbolic name of record-device
    ###############################################



    #sed -i -e "s,MountPlaceholder,/dtv/usb/${V_USB}," /dtv/SGO.env
    sed -i -e "s,MountPlaceholder,/dtv/usb/${R_USB}," /dtv/SGO.env

    . /dtv/SGO.env

   # Share_X = '<ServerIP>:<SHAREPATH>:<NAME_OF_MOUNT>'
   # RECORDSHARE='<ServerIP>:<SHAREPATH>'
   
    RECORDSHARE='192.168.0.50:/data/SamyGo'

    SHARE_1='192.168.0.50:/data/SamyGo:TS'
   
    #SHARE_1=''

    FR_NAME="NFS Server"
   
    M_OPTS="soft,tcp,nolock"

    SERVERS="Don't set me!!"

    DEST_DIR=$MOUNT_PATH
    RECDIR=/dtv/usb/${R_USB}
    echo "DEST_DIR="$DEST_DIR
    echo "RECDIR="$RECDIR
    do_mount()
    {
      echo "do_mount: 1=$1 2=$2 3=$3"
      if [ -n "$3" ]; then
        # M_POINT="$DEST_DIR/$3"   # with name of directory
        M_POINT="$DEST_DIR"        # mount direct so that there only will be the hierarchy tree you have in your share
      else
        M_POINT="$DEST_DIR/$1/$(echo -n "$2" | sed -e "s/\//_/g")"
        #M_POINT="$DEST_DIR/$(echo -n "$2" | sed -e "s/\//_/g")"
      fi
      echo "M_POINT="$M_POINT
   
      mkdir -p "$M_POINT"
      if [ `cat /proc/mounts | grep -c "$M_POINT"` -lt "1" ] ; then
        /bin/busybox mount -o "$M_OPTS" "$1:$2" "$M_POINT"
        if [ $? = 0 ]; then
          echo "Share $1:$2 successfully mounted on $M_POINT"
        else
          echo "Error during mount of $1:$2 on $M_POINT"
        fi
      else
        echo "Share $1:$2 is already mounted!"
      fi
    }
   
    mount_record()
    {
      if [ -n "$RECORDSHARE" ]; then
        M_POINTREC="$RECDIR"
        mkdir -p "$M_POINTREC"
        if [ `cat /proc/mounts | grep -c "$M_POINTREC"` -lt "1" ] ; then
          /bin/busybox mount -o "$M_OPTS" "$1:$2" "$M_POINTREC"
          if [ $? = 0 ]; then
             echo "NFS_PATH=$M_POINTREC" >> /dtv/SGO.env
          #  mount -t xfs -o loop "$RECDIR"/PVR/pvrimage" "$RECDIR"/PVR/Wohnzimmer"
             echo "Share $1:$2 successfully mounted on $M_POINTREC"
          else
            echo "Error during mount of $1:$2 on $M_POINTREC"
          fi
        else
          echo "Share $1:$2 is already mounted!"
        fi
      fi   
    }

    get_shares()
    {
      ENDARRAY=false
      N=1
      while [ $ENDARRAY = false ]
      do
        eval SHARE=\${SHARE_${N}}
        if [ -z "$SHARE" ]; then
          ENDARRAY=true
        else
          SERVER=`echo "$SHARE"|cut -d ':' -f1`
          SHPATH=`echo "$SHARE"|cut -d ':' -f2`
          SHNAME=`echo "$SHARE"|cut -d ':' -f3`
         
          echo -n "Check if server $SERVER is reachable..."
          showmount --no-header -e $SERVER 1>/dev/null 2>&1
          if [ $? = 0 ]; then
            echo 'ok'
            do_mount "$SERVER" "$SHPATH" "$SHNAME"
          else
            echo 'NOT reachable skip!'
          fi
        let N=N+1
        fi
      done
      
      if [ -n "$RECORDSHARE" ]; then
      
        RECSERVER=`echo "$RECORDSHARE"|cut -d ':' -f1`
        RECSHPATH=`echo "$RECORDSHARE"|cut -d ':' -f2`
         
        echo -n "Check if server $RECSERVER is reachable..."
        showmount --no-header -e $RECSERVER 1>/dev/null 2>&1
         
        if [ $? = 0 ]; then
          RECAVAIL=true
          echo 'ok'
          mount_record "$RECSERVER" "$RECSHPATH"
          sleep 5     # it is even working without the sleep in my case
        else
          echo "$RECSERVER NOT reachable skip!"
          RECAVAIL=false
        fi
        else
          echo "No Record-Share available!"
      fi   
    }

    get_servers()
    {
       if [ -z "$SERVER" ] ; then
         # SERVERS=$(cat /proc/net/arp | grep -v "IP address" | cut -d " " -f1)
         SERVERS=$(cat /proc/net/arp | grep -v "IP address" | sed 's/^\(\w*.\w*.\w*.\w*\) *.*/\1/')
       else
         SERVERS=$SERVER
       fi
    }

    anounce_usb()
    {
      if [ -e /dtv/usb/usblog ] ; then
        echo ""
      else
        touch /dtv/usb/usblog
      fi
      if [ `cat /dtv/usb/usblog | grep -c "$R_USB"` -lt "1" ] ; then
        cp -f /dtv/usb/usblog /dtv/usb/usblog.bak
       
        ####  VIRTUALUSB "NFS-SERVER"  ####
      
        if [ `cat /proc/mounts | grep -c "$M_POINT"` > "0" ] ; then
          echo -e "[$V_USB]\nVendor : Home\nProduct : $USB_NAME\nSerial : 30122011\nDevpath : 7\n\
                   Lun : 0\nScsiDevicePath : /dev/${V_USB}1\nMountDir : $DEST_DIR\nFileSystem : vfat\n" >> /dtv/usb/usblog
        else
          echo "No Nfs-Share mounted!"
        fi
   
        ####  VIRTUALUSB "RECORDER"  ####
      
        if [ -n "$RECORDSHARE" ]; then
      
          if [ `cat /proc/mounts | grep -c "$M_POINTREC"` > "0" ] && [ $RECAVAIL = true ] ; then
            echo -e "[$R_USB]\nVendor : Home\nProduct : $REC_NAME\nSerial : 21052013\nDevpath : 8\n\
                     Lun : 1\nScsiDevicePath : /dev/${R_USB}1\nMountDir : $RECDIR\nFileSystem : xfs\n" >> /dtv/usb/usblog

          else
            echo "No Record-Share mounted!"
          fi
        fi
      fi
    }


    case $1 in
       start)
       # for systems with modular nfs kernel support
       insmod $MOD_DIR/kernel/net/sunrpc/sunrpc.ko
       insmod $MOD_DIR/kernel/fs/lockd/lockd.ko
       insmod $MOD_DIR/kernel/fs/nfs/nfs.ko
       get_servers
       get_shares
       anounce_usb
       ;;
       stop)
       # may can fail if device access the mount from content library
       # for i in $(cat /proc/mounts | grep nfs | cut -d " " -f2) ; do
       cp -f /dtv/usb/usblog.bak /dtv/usb/usblog
       for i in $(cat /proc/mounts | grep "$DEST_DIR" | sed 's/^\(.*\) \(.*\) nfs .*/\2/') ; do
          /bin/busybox umount $i
       done
      
      for i in $(cat /proc/mounts | grep "$RECDIR" | sed 's/^\(.*\) \(.*\) nfs .*/\2/') ; do
          /bin/busybox umount $i
       done
       ;;
       status)
       /bin/mount | grep "$DEST_DIR"
      
       /bin/mount | grep "$RECDIR"
       ;;
       *)
       echo "Usage: $0 {start|stop|status}" 1>&2
       exit 0
       ;;
    esac

Re: [App] Rooting E/F on latest firmwares

Posted: Fri Jan 23, 2015 11:59 pm
by sectroyer
cmuc05 wrote:No, I know that the original timeshift is only made for 90 minutes.
Don't use this script (@zoelchat I told you "other" solutions are buggy :P). Use "my solution" it works EXACTLY as USB-HDD :)

Re: [App] Rooting E/F on latest firmwares

Posted: Sat Jan 24, 2015 1:00 am
by zoelechat
sectroyer wrote:Don't use this script (@zoelchat I told you "other" solutions are buggy :P). Use "my solution" it works EXACTLY as USB-HDD :)
These scripts are moving from series to series without any changes since B. Nothing surprising that they're not suitable anymore :)