Page 129 of 256

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

Posted: Wed Apr 15, 2015 9:02 am
by Rodman
After a few trys to get root again, now it works. With the debug2 file, USB Stick from Rainbow (16GB)in the middle USB Port, Factory Reset (2 times).
Another question: Ist this file now public? I got a message via Mail from another board.

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

Posted: Wed Apr 15, 2015 9:06 am
by Joejoe
First time I get the commands

Code: Select all

chmod +x /mtd_rwcommon/SamyGO/rcSGO
/bin/sh -c /mtd_rwcommon/SamyGO/rcSGO &
into telnet the root start working and i get access @ftp

I try a reboot to check autostart of SamyGO but nothing happens.

New attemp of

Code: Select all

/bin/sh -c /mtd_rwcommon/SamyGO/rcSGO &
Nothing happens.

Then I try rooting again over SmartHub +

Code: Select all

chmod +x /mtd_rwcommon/SamyGO/rcSGO
/bin/sh -c /mtd_rwcommon/SamyGO/rcSGO &
No success for access @ftp.

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

Posted: Wed Apr 15, 2015 9:31 am
by sectroyer
Don't try rooting :P For now only reboot, telnet and quickly run:

Code: Select all

ls -l /mtd_rwcommon/SamyGO/rcSGO
Paste output
Then telnet once again quickly run:

Code: Select all

chmod +x /mtd_rwcommon/SamyGO/rcSGO
then telnet once again and quickly run:

Code: Select all

ls -l /mtd_rwcommon/SamyGO/rcSGO
paste output
and telnet once again and quickly run:

Code: Select all

/bin/sh -c "/mtd_rwcommon/SamyGO/rcSGO &" &
wait 2 minutes check if root is started if not telnet once again and again quickly paste:

Code: Select all

/bin/sh -c "/mtd_rwcommon/SamyGO/rcSGO &" &
If you are not fast/lucky enough root will NOT start :)

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

Posted: Wed Apr 15, 2015 4:02 pm
by Joejoe
First output:
/bin/sh: can't access tty; job control turned off
VDLinux#> ls -l /mtd_rwcommon/SamyGO/rcSGO
-rwxr-xr-x 1 root 0 276 Apr 14 2015 /mtd_rwcommon/SamyGO/rcSGO
After new telnet connection for entering
chmod +x /mtd_rwcommon/SamyGO/rcSGO
telnet keeps connection alive and I'm able to type the next commands without disconnect :shock: :mrgreen:

Second output:
VDLinux#> ls -l /mtd_rwcommon/SamyGO/rcSGO
-rwxr-xr-x 1 root 0 276 Apr 14 2015 /mtd_rwcommon/SamyGO/rcSGO
Third output:
VDLinux#> /bin/sh -c "/mtd_rwcommon/SamyGO/rcSGO &" &
/bin/sh: : not found
VDLinux#> Looking for SamyGO-F on:
/dtv/usb/sda1
SamyGO found on /dtv/usb/sda1
checking /dtv/usb/sda1
root / SamyGo starts and I get access @ftp

I don't want to reboot :oops:

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

Posted: Wed Apr 15, 2015 4:58 pm
by sectroyer
Reboot, wait few minutes and if SamyGO doesn't start run this:
/bin/sh -c "/mtd_rwcommon/SamyGO/rcSGO &" &
:) Now it should simply start SamyGO :)

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

Posted: Wed Apr 15, 2015 4:59 pm
by sectroyer
Also about this:
VDLinux#> /bin/sh -c "/mtd_rwcommon/SamyGO/rcSGO &" &
/bin/sh: : not found
VDLinux#> Looking for SamyGO-F on:
It looks you have put strange things in your rcSGO and/or didn't use notepad++ ;)

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

Posted: Wed Apr 15, 2015 5:19 pm
by Joejoe

Code: Select all

#!/bin/sh
sleep 120
echo "OK" > /dtv/SamyGO_OK

echo "Looking for SamyGO-F on:"
for i in /dtv/usb/sd*;
do
	echo "$i";
	if [ -e "$i/SamyGO_data/run.sh" ]
	then
		echo "SamyGO found on $i"
		echo "OK" > "$i/SamyGO1.txt"
		/bin/sh "$i/SamyGO_data/run.sh" "$i" &
		break
	fi
done
That's the content of rcSGO and I only edit in Notepad++ :?

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

Posted: Wed Apr 15, 2015 7:12 pm
by sectroyer
You didn't reply to my first post :)

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

Posted: Wed Apr 15, 2015 7:30 pm
by Joejoe
After reboot nothing happens and the reentered command shows:
/bin/sh: can't access tty; job control turned off
VDLinux#> /bin/sh -c "/mtd_rwcommon/SamyGO/rcSGO &" &
VDLinux#> /bin/sh: /mtd_rwcommon/SamyGO/rcSGO: not found
:shock:

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

Posted: Wed Apr 15, 2015 8:46 pm
by sectroyer
Reboot and check once again:

Code: Select all

ls -l /mtd_rwcommon/SamyGO/rcSGO
and then:

Code: Select all

/bin/sh -c "/bin/sh /mtd_rwcommon/SamyGO/rcSGO &" &
and if does not work this:

Code: Select all

/bin/sh -c "/bin/sh /mtd_rwcommon/SamyGO/rcSGO" &