The goal of that modification is to be able to record the tv program without using a real usb.
Remove any usb from the TV
1) We need to create an image that f.e. rec.img that should be located inside of samba shared folders.
Open Terminal and execute this command
Code: Select all
dd if=/dev/zero of=/samba_shared_path/rec.img bs=1M count=102400
2) When complete we have to format our image file in ext4 (required for F series)
on terminal send this command
Code: Select all
mkfs.ext4 /samba_shared_path/rec.img
4) At this point we have to edit 02_04_vusb.init file:
locate in that file
Code: Select all
insmod $MOD_DIR/kernel/drivers/usb/gadget/dummy_hcd.ko >> $LOGFILE 2>&1
Code: Select all
mkdir /dtv/samba
insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
$SYSROOT/bin/busybox mount -o "rw,user=YOUR_USER,password=YOUR_PASS,iocharset=utf8" -t cifs "//SAMBA_SERVER_IP/samba_shared_path" "/dtv/samba"
Code: Select all
insmod $MOD_DIR/kernel/drivers/usb/gadget/g_file_storage.ko file=/dtv/vusb >> $LOGFILE 2>&1
Code: Select all
# insmod $MOD_DIR/kernel/drivers/usb/gadget/g_file_storage.ko file=/dtv/vusb >> $LOGFILE 2>&1
Code: Select all
insmod $MOD_DIR/kernel/drivers/usb/gadget/g_file_storage.ko file=/dtv/samba/rec.img,/dtv/vusb >> $LOGFILE 2>&1
6) Wait untile Virt. USB 1 and Virt. USB 2 will be present on your TV, be sure that you are able to enter on the shared directory
7) Hit the rec button on your remote.
The TV will ask you perform a performance test, do it.
The test will fail.
8) Wait 1 minute and then you have to copy from a real usb used for PVR with your TV the invisible file .PVRPfmChkLog.
Replace the .PVRPfmChkLog that you have on /dtv/usb/sda/CONTENTS in your TV
9) Hit rec button!
The magic is done
One more time tnx to sectroyer and zoelechat that have assisted me
Hope that this mod will be useful also for you