Posts by cayoenrique

    Well we are better but the data of tvheadend still missing.


    You got me


    /system/tvheadend/tvheadend

    and same folder with needed libraies

    /system/tvheadend



    In the PC

    /system/tvheadend ===> /usr/local/bin/tvheadend

    labraries

    /system/tvheadend ===> /usr/local/share/tvheadend & /usr/local/man/man1



    Bur I Need the Configuration Folder. In Ubuntu is at /$HOME/.hts

    I did ask you to look at

    #ls -la /data

    #ls -la /data/data


    for a folder name ".hts" or hts or tvheadend.



    ls $HOME/.hts -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'

    |---.hts

    |-----tvheadend

    |-------accesscontrol

    |-------bouquet

    |-------caclient

    |-------dvr

    |---------config

    |-------epggrab

    |---------otamux

    |-------input

    |---------dvb

    |-----------networks

    |-------------bf3ac80319b09ba30981d65d73855994

    |---------------muxes

    |-------------d2c8bfd8ba40d1b1bae0aa895ff601b0

    |---------------muxes

    |---------linuxdvb

    |-----------adapters

    |-------passwd

    |-------profile



















    1rst I am happy with what you had done. I have my needed files and most important, You posted for once like a pro. No I am not making fun with you. Let me explain. I know many of people post from their phone so they post very little. In your case you may say " does not work". To my it none informative. Useless. What does not work? Maybe was the something unrelated. But as there is no more info....


    Now just know you are the 1rst to mention that what I had posted do in fact motivated you as a user here. You will code and try for your self. I am happy for you and willing to help.


    In the other hand I wonder if you had misunderstanding as now you may want to try becouse you think I will stop. NO it is not. I start mentioning "upset" ONLY because I was been careful not to pressure you. As this was I think like the 3rd time I ask for files.


    Yes I can post everything. That is what I have done so far. But I had made many test with failures too. Give me today are maybe a couple of day and I will post.


    But beware is not easy to find what make a compilation to fail. may be your work is good but is where you are doing it. Site susgest to use Ubuntu 14.04! At the moment I can do it in Ubuntu 18.04 64bit. But only becaose I did some trick to load some static compilation. I stole/move static libraries from arm-histbv310-linux to NDK sysroot.

    fegol

    HEHEHE Listen, I had build many many programs in my life including kernels. But the truth is that I am no expert and always learning but very slow.


    In this project I done all sort of weird experiments. In fact as I all ready told DANNYPS4 that my builds will not be doing TV as I had disabled most of the stuff. Why?, because I only intended to see if my builds at least do start running in his device, So I only wanted to see if webif got up and running. Why again? Because I do not have the Real TV Box so I only can emulate and hope for the best.


    What are for?

    CFLAGS="-fPIE"

    LDFLAGS="-fPIE -pie"


    @DANNYPS4

    I am not upset nor trying to upset you. I will help you as best as I can as long I have time at home. I guess I am some how free at the moment do not know in the future.


    I hope fegol new oscam do work for you.


    I still here learning a lot at home. See let me be honest. In my own project I want my PCSAT USB card to bee hook to an old Android phone, instead of my PC as the phone Power load is minimal compare to the PC!!!

    So All I am doing with you is just a pre-learning experience against my own project.


    Ok you told me you had found where we think the program binaries are at:

    root@u5pvr-debian:~# ls -la /system

    drwxr-xr-x 2 root root 4096 Jan 1 1970 oscam <----- oscam is here

    drwxr-xr-x 5 root root 4096 Jan 1 1970 tvheadend <------tvheaded is here


    Thanks, that info is good to know also. But the important is where the configs are located and if you can zipped them and send them to me by PM. You can delete all private info like keys I do not need them. But oscam hts configs in general.


    Normally android store app data in /data/data. You can do ls -ls /data/data and you will see what is in there. But I mention that tvheadend like to store its data in ".hts" folder

    we are looking for a folder called: tvheadend ot tvh ot hts or ".hts" with the dot. I did show you other possibilities where it can be located:

    #ls -la /data

    #ls -la /data/data


    But from the image you just posted about oscam I can also figure that you had oscan config in /storage/sdcard/OSEbuild/OSCam. So more possibilities like

    #ls -la /storage/sdcard/

    #ls -la /storage/sdcard/OSEbuild/

    #ls -la /storage/sdcard/OSEbuild/OSCam


    So do me a favor do

    #su

    #tar cvpfz /storage/sdcard/OSEbuild.tgz /storage/sdcard/OSEbuild

    #tar cvpfz /storage/sdcard/hts.tgz s/data/data/.hts


    where "/data/data/.hts" is our asume location the data files of tvheadend files. Adjust as necesarry.


    Then send me the file via PM. You can always passwrd the file using zip and upload them to an place you like like tinnyupload.

    Once I see a zipped files of both your oscam and tvheadend i will be able to have a better Idea. But I was reading again the forum and I realize that in




    See you can see


    Code
    extended_cw_api               = 1


    That can give us an Idea if your old tvheadend do in fact have extended_cw_api

    Forum behavior reports.


    This is the weirdest. Script before where interfering with my used as I reported. Now is much better but!!! Now I do not see any Notifications. I have not done anything on my side. !!!!

    Fego oscam file. do not work for me as ot is not static compilation. It depends in libraries I do not have. Well maybe if I copy the libraries from sdk who knows.



    Here is my latest. Test it. But report in steps.

    Tell me if execute.

    Any errors.

    is the webif running

    finally if it connects to tvheadend.


    Please also tell me what program you use to watch tv?

    How is the Play list composed?

    Do you have VLC install?

    On my personal side I am just learning to compile and emulate on qemu. Clearly with he advantage that your problem is the objective on test. So we kill to birds at once. But you need to understand that I do not have any other means to test if what i do is correct. So resolving the emulation network and getting the files form you is the only way I can do a little of work.


    We will be waiting to your responce if TVHeadend have extended capabilities.

    Greate so armel compilation/toolchain works. WE need to deal with the settings.


    I will try fegol one in emulation.


    But I can guess the answer on DANNYPS4 router, it will not descrabable. As I am guessing we will need to update TVHeadend. But we will find out what version is install latter I guess.


    I spent the day working on this. Many related to resolving issues with the share network in emulation.

    Well I end up redirecting tcp ports. Then no ping witch confuse me as I thought there where no net. But I was wrong. Even when I have no ping I have network. So oscam run but no webif. Then just right now I found that due to not properly set up network I end up with 10.0.2.15. And guess what was oscam the one that block me out. I adjust oscam.conf and now I have webif.


    So now I have to compile a TVHEAdend or find a binary all ready build. And hope that I do not have trouble redirecting my USB.

    Even when I said I am gong step by step and not worrying if it do TV OK. Well lets make a change. I will like you send me your private config inside your box by PM. Well in this way if for any reazon you get TV then I guess you get luck and good for you.


    But most important then I place the oscam/tvheadend files in correct place as you have, use same user/pass and Network setup.

    This will result in less efort from your side as my emultion is 100% as your Real thing.


    What I need then:

    Your oscam config folder and its location.

    Your tvheadend location and a copy of your config. Go to webif by:

    Now at the top hit [About] tab

    olmost in the bottom you see the info mine a coy I build redas for example:

    Code
    Build: 0.0.0~unknown (2018-07-12T23:42:29-04:00) Toggle details


    Hit the last blue word where it say "Toggle Detais"

    C&P what it show and send it by PM mine for example reads



    In Ubuntu the folder config is at "$HOME/.hts" see it is hidden as it has a "." in front of the name.

    Now I have read around it may be at "/home/hts/.hts". In any case open a new normal terminal ( NO su).

    To find your user name

    • #echo $USER

    To find out your Home directory

    • #echo $HOME

    Now lest check a few possible locations

    • #ls -la $HOME/.hts
    • #ls -la $HOME/hts
    • #ls -la /home/hts/.hts
    • #ls -la /sdcard/.hts
    • #ls -la /sdcard/hts

    note adjust sdcard to you real sdcard location

    • cd /sdcard
    • su

    • service tvheadend stop
    • tar cvfp tvheadend.tar /home/hts/.hts

    You had created a tar file called tvheadend.tar in /sdcard

    Send me those by PM.

    Listen I am having trouble with this forum behavior. I guess I hate java script. So it keeps submitting my unfinished posts. I bet you did not read the whole edited post in post 21. I want to help you. But you need to stop trying to explained what YOU understand is the problem and what YOU understand is the Solution. No I am not upset. I need you to show me the fact not YOUR analysis.


    Here is what I am going to do I will kill wifi so that the forum scripts do not bather me. Lets see if that helps.

    I understood you just want to watch TV. So you just want your dbapi. hehehehe. But guess what! I am a week from that. Now tuneup or sync with me.

    So we need to do this step by step.

    • Need to know if my build ( any progam I make in simulation) do work inside your REAL box.
    • Need to know if your old oscam was removed and not creating any problem.
    • Need to know if you choose an appropriate area to work our linux kernel program running under Android. I sugested /sdcard/user
    • Need to know if my "NOT FINISHED static oscam build" execute and finds its configs. See we do not need dbapi. I do not care about that at the moment.

    So one more time tune with me, Need my help! Then ask what I need from you. I do not want to here about not been able to watch TV or DVBapi.


    Now if you want my help please do what is in post #21 part C.


    And one more time I am not upset nor I want you to be upset with me. So are we buddys or not.


    But I need answers to simple steps question so that I can understand where we are. I am sorry that I am ignoring your analysis. But Please keep with me an you will end up not only with a working oscam but with a valid toolchain to build your own oscam as you please, Now go an do your assignment.

    OK.
    Please get out of the easy people way of speak normally they ONLY say "...but it doe not work."


    I think I need more info to understand the problem. I need you to be more expressive in your answer. Treat me like a child. One thing is Logs reports. Another thing oscam build do not execute. Lets keep the issues apart.


    A)Lets start from explaining the original situation without any update.

    • My understanding is that you can watch tv. tvheadend webif works and oscam webif work. You can watch Tanberg and powerve encrypted.
    • But oscam build is old and I guess some of the new powervu channels do not work.

    b) What happen when you did use the oscams submited by other people.

    For exmaple you can say.

    oscam --help did not show anything ans top/ps program do not show it is working.

    or oscam do execute , i can see oscam webif, but logs reports some problems.


    C) Finally you try my solution.

    IMPORTANT:

    1. You have to remove original oscam. make sure webif does not workstion.
    2. "/sdcard" there are many posibilities, like /storage/sdcard/ etsc. But for my explanation I will use "/sdcard"


    Now you install my files. Clearly you do not install them in /home/user./ That is for the emulation in qemu. Instead for now you use your own sdcard. Lets say your Android Sdcard address is at: "/sdcard"

    1. create a folder call "user"
    2. Then you move files from home.tar.xz from /home/user to: /sdcard/user/ . See change home for sdcard.
    3. Now you need to edit oscam config and make sure adreses pointing to home now point to sdcard.
    4. edit /sdcard/user/oscam.sh do the same.

    make sure one more time oscam webif is not up and running as program may have a setup to reboot again if fail.

    Open a terminal

    • #su
    • #chmod +x /sdcard/user/oscam.sh
    • #chmod +x /sdcard/user/oscam/oscam
    • #cd /sdcard/user

    Now execute oscam help to check if it executes

    • #oscam/oscam --help

    Now you should see that the help shows. So lets test webif

    • #./oscam.sh or yuo can do #/sdcard/user/oscam.sh

    Now goto webif and check your config files one more time. You may need to ad one of a few keys for your sats.

    can you watch tv?

    How we doing?


    Now finally you go to logs and tell me the errors.


    See I spent f@$#% 15 minutes writing this,. You can spent more time writing the problem. By the way I am not upset I do like to help you. f@$#% is like a joke. Take your time. we have whole day or weeks ahead. Will wait for your response.

    Thanks for busybox. That was to have a REAL Statically build program that I can use to test my emulation. So we now my emulation works. But I do not need that any more, I am pretty sure I did a OSCAM that can run in your device.


    But that why have not you report the result!!! That is the main Objective of this thread. To have a recent oscam that can play in your device.


    Common download

    2 OSCAM 1 Set Top Box, how???

    from post 15 and tell me if it work!!!!!


    File: "home.tar.xz"


    I am waiting...... still waiting.... hehehehe I am joking.

    I will definitely will wait your response.

    If you are doing a test in wemu you need to mount your hdd like this


    • cd $HOME/bin/arm/versatile
    • sudo modprobe nbd max_part=8
    • sudo qemu-nbd -c /dev/nbd0 $HOME/bin/arm/versatile/debian_wheezy_armel_standard.qcow2
    • sudo mount /dev/nbd0p1 mnt

    Then you copy this files to mnt.


    • sudo umount mnt
    • sudo qemu-nbd -d /dev/nbd0p1

    restart qemu and play

    • $HOME/bin/start-versatile-instance.sh

    Ok this is the latest oscam patch from

    _https://github.com/oscam-emu/oscam-patched


    It is been compiled statically with minimun stuff. No card readers of ssl. But it is the debug on just in case you need to test.

    This one for sure will run. and you should have webif. If you have troble just go to config and change ports or iP addresses. So I guess even if you have multiple oscam running you should be able ti see this one running.


    But as I said before, I wonder if the TVHeadend and will required an upgrade due to extended-cw-functionality-powervu


    Tvheadend with extended_cw functionality (powervu)


    bone appetite

    I want this one. /bin/busybox


    So do

    #su


    copy the file to your internal sdcard. normally you can see it at /sdcard. Then do

    #cp /bin/busybox /sdcard/busybox


    if that does not work try doing

    #ls /storage


    to find out what is the sdcard. then do like

    #cp /bin/busybox /storage/sdcxard/busybox


    then copy that file and zip it an upload it.


    If it is to much difficult never mind. I already compiling a static oscam. I will post it for you to test.

    You said that the device was rooted. Normally when a device is rooted, the program used will install busybox. So If you are rooted it will be there.


    Now did you try


    whereis busybox


    In any case me find another static linked program.