ver.8 - installation on any image is possible

1. Unpack the downloaded archive with the Oscam Icam emulator. Inside the archive:
a) instructions in the readme file (you are reading it now)
b) two folders bin and config for manual installation of the emulator (if you already have any oscam emulator installed);
c) ipk and deb packages for automatic installation of the oscam-icam emulator (if you don't have the oscam emulator installed or you don't want to bother with manual installation of the emulator), suitable for almost any receiver architecture;
d) bouquets folder with channels file.

2. Installing the emulator
Oscam emulator with Icam support can be installed on almost any Enigma2 receiver, regardless of firmware. In our example, we will be installing the emulator on a Vu+ ZERO 4k receiver running OpenBh 5.1.008 firmware.

2.1 Installing the emulator:
a) To install the emulator manually, you must have access to the receiver via ftp (and it is desirable to have access via telnet or ssh). You must also have a version of the Oscam emulator installed. For example, I have oscam-stable installed. If you don't have Oscam installed, install it.
Unpack the ZIP archive you downloaded above on your PC.
Inside the archive you will find three folders - bin, config and bouquets.
Next, you need to replace the executable file on the receiver with a new file from the archive. The executable file is located in your receiver, it is usually located in the /usr/bin/ or /usr/softcams/ folder. In my case, this is the /usr/softcams/ folder, and the oscam-stable.
Rename the local file OSCam-icam_ARM_VU.bin (or OSCam-icam_MIPS.bin for a MIPS receiver) in the bin folder from the archive, just like you have in the receiver. In my case, I renamed the file to oscam-stable.
Stop the OSCAM emulator in your receiver (if it is running) and download the renamed file from the PC to the receiver, overwriting the one there. It is necessary to stop the emulator,
otherwise the file will not be overwritten. Instead of stopping, you can start another emulator if you have one installed.
Set file permissions to 755. You can do this by telnet or ssh: chmod 755 /usr/softcams/oscam-stable (use the path to your executable instead of /usr/softcams/oscam-
stable) or via ftp (this can be omitted, because if you replace a file in the receiver, then the new file will have access rights from the old one, that is, 755).
ATTENTION in the bin folder there are 2 executable files for receivers mips and arm architectures. If one doesn't work for you, then try the second.

b) Installing the emulator from an ipk-package or deb-package (packages are in the archive, suitable for almost all receiver architectures), unpack and install using the receiver or via telnet. In this case, if you already have an oscam emulator, another oscam emulator will be installed with the executable file OSCam_11.715-
r798 and the configuration files for this oscam must be placed in the receiver in the /etc/tuxbox/config/ folder (the /config/ folder will be created when installing the ipk package, if it was not there).

2.2 We try to start the emulator:
Login to the receiver using telnet or ssh. Try running the emulator. In my case, I need to run the command:
# /usr/softcams/oscam-stable (use the path to your executable instead of /usr/softcams/oscam-stable, for example /usr/bin/OSCam_11.715-r798)
If you see an error like:
/usr/softcams/oscam-
stable: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
so you need to install the correct libcrypto.so library.
To do this, depending on your firmware in the receiver's telnet, you need to execute the command (in my case):
# ln -s /usr/lib/libcrypto.so.1.0.2 /usr/lib/libcrypto.so.0.9.
eight
or
# ln -s /lib/libcrypto.so.1.0.2 /usr/lib/libcrypto.so.0.9.8

The OpenPLI firmware had another issue. The emulator did not start, gave an error:
/usr/bin/oscam-stable: not found
To fix this error, run the command:
# ln -s /lib/ld-linux.so.3 /lib/ld-linux-armhf.so.3

If the emulator starts normally, you should see something like this in the console:
-------------
22:28:06 00000000 s >> OSCam << cardserver log switched, version 1.20_svn, build r11711-798 (arm-linux-gnueabihf)
22:28:06 00000000s (main) System name = Linux
22:28:06 00000000 s (main) Host name = vuzero4k
22:28:06 00000000s (main) Release = 4.1.20
-1.9
22:28:06 00000000 s (main) Version = #1 SMP Sun May 1 03:26:08 UTC 2022
22:28:06 00000000 s (main) Machine = armv7l
22:28:06 00000000 s (main) Stb model = dm8000
22:28:06 00000000 s (main) Stb vumodel = vuzero4k
22:28:06 00000000 s (main) Stb boxtype = vuzero4k
22:28:06 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 4201
22:28:06 00000000 s (emu) OSCam-Emu version 798
22:28:06 00000000 s (main) signal handling initialized
22:28:06 00000000 s (config) ERROR: Cannot create file “/var/tuxbox/config/oscam.srvid2.tmp” (errno=2 No such file or directory)
22:28:06 00000000 s (reader) emulator [emu] creating thread for device emulator
22:28:06 00000000 s (main) waiting for local card init
22:28:06 020FA536 r (emu) Stream key delayer initialized
22:28:06 020FA536 r (emu) Stream relay server initialized
...
-------------

Press Ctrl+C to stop the emulator. Let's move on to setting up the configuration files.

3. Setting up configuration files
Find the location of the oscam configuration files. They are usually located in the /etc/tuxbox/config/ folder (/etc/tuxbox/config/Oscamicam/).
In my case, the files are located in the /etc/tuxbox/config/oscam-stable/ folder.
In the previously downloaded archive in the config folder you will find sample configuration files,
and you need to take your configuration files in your account in the config section.
If you want to manually fix your files, then in order for oscam-icam to work, you need to make changes to two files on your receiver:
a) oscam.conf - open this file and add the following section between the [global] and [dvbapi] sections:

[stream relay]
stream_ecm_delay = 0
stream_relay_ctab = 098D

b) oscam.user - open this file on your receiver and add the following section to the end of the file:

[account]
user=icam
keepalive=1
group=1

Do not touch other configuration files

4. Creating a channel list:
Go to the /etc/enigma2/ directory on your receiver and open the bouquets.tv file. At the end of the file, add the line:
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.skydeicam.tv" ORDER BY bouquet
Save the file.

Then upload the userbouquet.skydeicam.tv file to the receiver's /etc/enigma2/ folder from the bouquets archive folder.
You can also create a channel list with DreamboxEdit.

6. Reboot the receiver.