[App] SamyGO PVRAnyDev 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.
Post Reply

User avatar
bugficks
Official SamyGO Developer
Posts: 1055
Joined: Tue Jun 25, 2013 3:56 pm

[App] SamyGO PVRAnyDev E/F Series

Post by bugficks » Sun Sep 22, 2013 7:47 pm

PVRAnyDev

Removes limitation to use only xfs (E series) or ext4 (F series) formatted USB dongles for your PVR recordings. Changes are only affected to newly attached USB dongles (or you have re-plug existing one). You can use any by TV supported filesystem (fat32, NTFS) for your PVR recordings.

1. Download:
libPVRAnyDev_E_F.tgz
2. Extract everything into one dir (let`s say to /mtd_down/so )
3. Set permissions

Code: Select all

chmod 755 /mtd_down/so/samyGOso
4. start from cmdline:

Code: Select all

cd /mtd_down/so
./samyGOso -p $(pidof exeAPP || pidof exeDSP) -l /mtd_down/so/libPVRAnyDev.so
5. Autostart: (this one for E series only, check below for E/F)
SpoilerShow
Copy files from archive:
  1. samyGOso -> $DISTROOT/usr/bin/
  2. libPVRAnyDev.so -> $DISTROOT/usr/so/
  3. set permissions:

    Code: Select all

    . /dtv/SGO.env
    chmod 755 $DISTROOT/usr/bin/samyGOso
  4. Script 99_99_PVRtoAnyDev.init extract to

    Code: Select all

    $SYSROOT/etc/init.d/99_99_PVRtoAnyDev.init
  5. set permissions

    Code: Select all

    chmod 755 $SYSROOT/etc/init.d/
    NB!
    • $SYSROOT E series: /mnt
    • $DISTROOT E series: /mnt/opt/privateer
No autostart for F series (yet).

Alternative autostart script/procedure (E/F, recommended)
  • Allows non-xfs(E)/ext4(F) device to be recognized as recording one for playback
  • Removes the need to replug device after TV startup to record on it
Changelog:

Code: Select all

23/9/2013
v0.1.8 - public release version
You do not have the required permissions to view the files attached to this post.

User avatar
beatfreak
SamyGO Project Donor
Posts: 568
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: [App] SamyGO PVRAnyDev E/F Series

Post by beatfreak » Fri Jan 03, 2014 5:13 pm

what about the lock that you cannot access other media via media.p on current recording device?
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

User avatar
bugficks
Official SamyGO Developer
Posts: 1055
Joined: Tue Jun 25, 2013 3:56 pm

Re: [App] SamyGO PVRAnyDev E/F Series

Post by bugficks » Fri Jan 03, 2014 5:46 pm

iirc for TV its either a "CRecordingDevice" or a "CPlaybackDevice". if possible at all its not worth the effort.

zoelechat
Official SamyGO Developer
Posts: 8313
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO PVRAnyDev E/F Series

Post by zoelechat » Thu Mar 06, 2014 5:36 pm

Let's feed a little donor subforum :)

In my opinion, main problem with PVRAnyDev is that it's needed to plug USB device after its launch for it to be functional.
So it is in state unusable on startup when devices are permanently plugged...

The idea is to let TV think device had been physically plugged after PVRAnyDev launch.
After some experiments I gave up some months ago but finally found a simple way to do it:
-inject PVRAnyDev.so
-backup of dtv/usb/usblog
-erase content of usblog so TV thinks USB devices are unplugged (delete doesn't work, need usblog=0bytes)
-wait a while, let's say ~2 seconds
-restore usblog backup so TV thinks devices are plugged back

Here's a startup script implementing the idea, if anybody is interested. Works on my TV, will surely work on every E/F:
<Attachment removed, new version below>

-Gave number 02_05 just after vusb.init for vusb to be included in 'virtually replugged devices', and early enough to mostly avoid annoying USB Popup
-Script includes USB STOP protection if something goes wrong ;)
Last edited by zoelechat on Fri Mar 07, 2014 11:26 pm, edited 1 time in total.
I do NOT receive any PM. Please use forum.

User avatar
fluffi444
SamyGO Project Donor
Posts: 562
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: [App] SamyGO PVRAnyDev E/F Series

Post by fluffi444 » Thu Mar 06, 2014 7:21 pm

VERY NICE, Zoel!!! Thx for sharing!

Works flawlessly...

Must go official :-)

If we now find a way that AllSharePlay would handle this as official Rec devices this solution would be perfect! :-)
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC

zoelechat
Official SamyGO Developer
Posts: 8313
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO PVRAnyDev E/F Series

Post by zoelechat » Fri Mar 07, 2014 2:05 pm

fluffi444 wrote:If we now find a way that AllSharePlay would handle this as official Rec devices this solution would be perfect! :-)
It seems that changing concerned device filesystem to recording one (E->xfs) in usblog is enough for a recording device to be recognized as such...
As proof-of-concept, I've added this 'replacement' functionality to script, if you want to give a try:
<Attachment removed, new version below>

-You have to set 'RecordingDevice' name on top of script (e.g.: "sda1")
-Unfortunately nothing is resident, so as soon as you plug/unplug any USB device, TV rewrites usblog and device is no longer seen as recording one for playback, until TV reboot (or at least script restart)
Last edited by zoelechat on Fri Mar 07, 2014 11:27 pm, edited 1 time in total.
I do NOT receive any PM. Please use forum.

sectroyer
Official SamyGO Developer
Posts: 5753
Joined: Wed May 04, 2011 5:10 pm

Re: [App] SamyGO PVRAnyDev E/F Series

Post by sectroyer » Fri Mar 07, 2014 5:43 pm

You could create a daemon that (when detects .PVRtoAnyDev file) automatically "fixes" usblog:D Take a look at exfat daemon:) The principle is the same:)
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 http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

zoelechat
Official SamyGO Developer
Posts: 8313
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO PVRAnyDev E/F Series

Post by zoelechat » Fri Mar 07, 2014 5:56 pm

sectroyer wrote:You could create a daemon that (when detects .PVRtoAnyDev file) automatically "fixes" usblog:D Take a look at exfat daemon:) The principle is the same:)
Interesting, I'm going to try that :)
I do NOT receive any PM. Please use forum.

User avatar
fluffi444
SamyGO Project Donor
Posts: 562
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: [App] SamyGO PVRAnyDev E/F Series

Post by fluffi444 » Fri Mar 07, 2014 6:32 pm

thx to you both for your effort on this..

Just to report @ Zoel:

Your way works as long as the dtv/usb list is not changed because of replug of the devices (as you already mentoined)
Works also with an physical xfs formatted HDD together with an USB virtual xfs drive. Both devices are recognized as recording devices.

Untill further improvements this is a real good solution!!!
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC

zoelechat
Official SamyGO Developer
Posts: 8313
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO PVRAnyDev E/F Series

Post by zoelechat » Fri Mar 07, 2014 6:49 pm

Cool :)
Implementing daemon, give me a few hours... ;)
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”