Page 2 of 3

Re: the new recovery/root

Posted: Wed Aug 07, 2013 6:59 am
by seansykes
Hi All,

Thanks for the update phlunkie, I am now attempting the custom recovery process detailed however I am having a problem :-

cp /mnt/media/usb.45D7E8D50E416277/CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin /mnt/bin/media/usb.45D7E8D50E416277/gtvhacker-recovery
cp /mnt/media/usb.45D7E8D50E416277/CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin /mnt/bin/media/usb.45D7E8D50E416277/gtvhacker-recovery
cp: /mnt/media/usb.45D7E8D50E416277/gtvhacker-recovery: No such file or directory

The gtvhacker-recovery file is present on the USB stick but I seem to be at a dead end at the moment. I have tried multiple USB's all with the same results.

Any help would be much appreciated.

Thanks in advance.


Can you reply with the output of this command?

ls -l /mnt/bin/media/usb.45D7E8D50E416277/

Thanks!
Hi cj_000,
Thanks for the reply. Your help is very much appreciated.

The command gives this result :-

$ls -l /mnt/media/usb.45D7E8D50E416277/
ls -l /mnt/media/usb.45D7E8D50E416277
----rwxr-x root sdcard_rw 25915660 2013-07-22 22:25 CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin
d---rwxr-x root sdcard_rw 2010-10-15 08:20 LOST.DIR
c---rwxr-x root sdcard_rw 179, 10 2013-08-07 13:25 gtvhacker-recovery


Im really not sure where I am going wrong.

Thanks again.

Re: the new recovery/root

Posted: Wed Aug 07, 2013 7:39 am
by nigelmoore67
Hi cj_000,

My error differs slightly :-

$ cp /mnt/media/usb.2B041D1828B4AD41/CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin /mnt/media/usb.2B041D1828B4AD41/gtvhacker-recovery
cp /mnt/media/usb.2B041D1828B4AD41/CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin /mnt/media/usb.2B041D1828B4AD41/gtvhacker-recovery
cp: /mnt/media/usb.2B041D1828B4AD41/gtvhacker-recovery: No such device or address


I have also ran the command and this is the output :-

$ ls -l /mnt/media/usb.2B041D1828B4AD41
ls -l /mnt/media/usb.2B041D1828B4AD41
----rwxr-x root sdcard_rw 25915660 2013-07-22 22:25 CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin
d---rwxr-x root sdcard_rw 2010-10-15 08:00 LOST.DIR
----rwxr-x root sdcard_rw 517 2013-07-29 20:58 README
----rwxr-x root sdcard_rw 521381 2013-07-04 13:23 flash_erase
c---rwxr-x root sdcard_rw 179, 10 2013-08-07 12:41 gtvhacker-recovery
----rwxr-x root sdcard_rw 527279 2013-07-04 13:19 nandwrite
----rwxr-x root sdcard_rw 19922944 2009-02-13 23:32 uboot-Sony-GS7-GS8-GTVHACKER.bin

Cheers, I hope this helps!

Re: the new recovery/root

Posted: Wed Aug 07, 2013 10:57 am
by phlunkie
reading this, I am confused. I read
"cp /mnt/media/usb.LABEL/CustomRecovery-VENDOR-MODEL-GTVHACKER.bin /mnt/media/usb.LABEL/gtvhacker-recovery"
as copy Custom recovery on the usb drive to the directory called gtvhacker-recovery on the same usb drive. i am not at my nsz to try.

edit...reading up on mknod...been along time since i played in linux.

Re: the new recovery/root

Posted: Wed Aug 07, 2013 2:44 pm
by bovoro
I think the tutorial is wrong, in the zip there for NSZ-GS7 has some files
nandwrite
flash_erase

perhaps the author of the tutorial, forgot to write that part of nandwrite.

Re: the new recovery/root

Posted: Wed Aug 07, 2013 2:47 pm
by seansykes
Hi,
After spending most of the day trying to resolve this i am still at a loss. I hope somebody with more experience than I have can figure out where I am going wrong. Below is the transcript of my results. Thanks for any help/advice which you may have.


$ cd /mnt/media
$
$ ls -l
d---rwxr-x root sdcard_rw 2010-10-15 08:01 usb.06A25EC3224FC7D1
$
$ cd usb.06A25EC3224FC7D1
$
$ ls -l
----rwxr-x root sdcard_rw 25915660 2013-08-07 23:20 CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin
d---rwxr-x root sdcard_rw 2010-10-15 08:01 LOST.DIR
c---rwxr-x root sdcard_rw 179, 10 2013-08-07 23:18 gtvhacker-recovery
$
$ cd /data/local/tmp
$
$ ls
busybox
$
$ cp /mnt/media/usb.06A25EC3224FC7D1/CustomRecovery-Sony-GS7-GS8-GTVHACKER.bin /mnt/media/usb.06A25EC3224FC7D1/gtvhacker-recovery
cp: /mnt/media/usb.06A25EC3224FC7D1/gtvhacker-recovery: No such device or address
$

Re: the new recovery/root

Posted: Wed Aug 07, 2013 3:07 pm
by bovoro
is there any way to mount the file created with mknod (gtvhacker-recovery) and then would be able to copy the custom_recovery.bin

Re: the new recovery/root

Posted: Wed Aug 07, 2013 4:00 pm
by cj_000
Ok guys - sorry. Wiki was updated, there was a typo

Note the mknod commands, for the sony it should be a block device ,vs a character device, so a "b" vs a "c"

Re: the new recovery/root

Posted: Wed Aug 07, 2013 4:24 pm
by bovoro
works greats now, thanks man :D

Re: the new recovery/root

Posted: Thu Aug 08, 2013 12:07 am
by seansykes
Hi Guys,

Thanks for all the help and advise. The command now completes without any errors however once restarted I still do not have a custom recovery. My box does not appear to have been altered in any way. I have tried booting into recovery mode with and without the USB inserted an still arrive and the same recovery screen which shows 'Android system recovery <2enc-sony-20130529185822-rel>. any ideas?

Thanks.

Re: the new recovery/root

Posted: Thu Aug 08, 2013 1:37 am
by nigelmoore67
Hi Guys,

Thanks for all the help and advise. The command now completes without any errors however once restarted I still do not have a custom recovery. My box does not appear to have been altered in any way. I have tried booting into recovery mode with and without the USB inserted an still arrive and the same recovery screen which shows 'Android system recovery <2enc-sony-20130529185822-rel>. any ideas?

Thanks.
Hi Bud,

Once again I have the exact same issue as yourself. Not sure if this matters or not but my box is European. Hopefully somebody will be able to assist with this.