Posts by fegol

    Try it, similarly based on the descriptions above: service.softcam.ncam-19.0.0.zip

    the sysroot.zip file contains a script to build openssl and libusb


    Code
    make USE_LIBCRYPTO=1 \
        USE_LIBUSB=1 LIBUSB_LIB="../sysroot/lib/libusb-1.0.a" LIBUSB_CFLAGS="-I../sysroot/include/libusb-1.0" EXTRA_CFLAGS="-DWITH_LIBUSB" EXTRA_LIBS="-llog" \
        USE_UTF8=1 \
        CONF_DIR="/data/plugin/oscam" \
        USE_STAPI=1 STAPI_LIB="-L../stapi -lwi" \
        LIB_RT= \
        LIB_PTHREAD= \
        STRIP=arm-linux-androideabi-strip \
        CC="clang --target=armv7a-linux-androideabi19 -I../sysroot/include -L../sysroot/lib -fpic -fno-addrsig -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument"



    Code
    make USE_STAPI=1 STAPI_LIB="-L../stapi -lwi" \
        LIB_RT= \
        LIB_PTHREAD= \
        STRIP=arm-linux-androideabi-strip \
        USE_LIBCRYPTO=1 \
        CC="clang --target=armv7a-linux-androideabi19 -I../sysroot/include -L../sysroot/lib -fpic -fno-addrsig -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument"

    # Linux 64 bit #

    # Packages required: dialog subversion gcc make zip #

    Code
    sudo apt-get install dialog subversion gcc make zip

    # Download Android NDK. #

    Code
    wget https://dl.google.com/android/repository/android-ndk-r21b-linux-x86_64.zip

    # Unzip the NDK. #

    Code
    unzip android-ndk-r21b-linux-x86_64.zip

    # Export Android NDK. #

    Code
    export ANDROID_NDK=$(pwd)/android-ndk-r21b
    export PATH=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH

    # Download the latest SVN from Oscam/trunk repo. #

    Code
    svn co https://svn.streamboard.tv/oscam/trunk oscam-svn

    # Go to oscam-svn directory. #

    Code
    cd oscam-svn

    # Add the Android patch. # android.patch.zip

    Code
    patch -p0 <../android.patch

    # Start interactive configuration. #

    Code
    ./config.sh --gui

    # Disable CLOCKFIX. (no librt), READER_NAGRA_MERLIN (no libcrypto) #

    Code
    ./config.sh --disable CLOCKFIX READER_NAGRA_MERLIN

    # Cross Compile OSCam with Android NDK. #

    Code
    make LIB_RT= \
        LIB_PTHREAD= \
        STRIP=arm-linux-androideabi-strip \
        CC="clang --target=armv7a-linux-androideabi19 -fpic -fno-addrsig -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument"

    # Add the emu patch and libcrypto # sysroot.zip

    Code
    wget https://github.com/oscam-emu/oscam-emu/raw/master/oscam-emu.patch 
    patch -p0 < oscam-emu.patch 

    # Start interactive configuration. #

    Code
    ./config.sh --gui

    # Disable CLOCKFIX. (no librt) #

    Code
    ./config.sh --disable CLOCKFIX

    # Cross Compile OSCam-emu with Android NDK. #

    Code
    make LIB_RT= \
        LIB_PTHREAD= \
        STRIP=arm-linux-androideabi-strip \
        USE_LIBCRYPTO=1 \
        CC="clang --target=armv7a-linux-androideabi19 -I../sysroot/include -L../sysroot/lib -fpic -fno-addrsig -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument"

    I'using Icone Iron rec, clone od Formuler Smini and Openbox A4k.....

    can't read my smartcard Tivusat Nagra 3........oscam.server says no.... dev/sci0 directory..


    open the OSCam web interface at: http://"box_ip":8888/files.html?file=oscam.version

    and check it out...

    Code
    DVB API support:                         yes
    
    DVB API with STAPI support:              yes
    
    Nagra:                                   yes
    
    cardreader_stapi:                        yes



    Example:


    oscam.server

    Code
    [reader]
    label                         = tivusat
    protocol                      = stapi
    device                        = 000:001
    rsakey                        = A92...without break & without spaces..B5
    detect                        = cd
    group                         = 1
    emmcache                      = 1,3,2
    auprovid                      = 005411


    oscam.conf

    Code
    [dvbapi]
    enabled                       = 1
    au                            = 1
    pmt_mode                      = 5
    request_mode                  = 1
    delayer                       = 60
    user                          = dvbapi


    oscam.user

    Code
    [account]
    user                          = dvbapi
    au                            = 1
    group                         = 1,2,3,4,5,64
    Code
    sudo apt install dialog


    ######################################


    ncam.conf:

    ncam.user:

    Quote

    [account]

    user = dvbapi

    au = 1

    group = 1,2,3,4,5

    try it...


    Example: OpenWrt

    try it...