Even better do
find /data | grep tvheadend
you could try
find /storage/ | grep tvheadend
Even better do
find /data | grep tvheadend
you could try
find /storage/ | grep tvheadend
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.
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"
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
[dvbapi]
enabled = 1
au = 1
pmt_mode = 4
listen_port = 2000
delayer = 60
ecminfo_type = 1
user = pvu
read_sdt = 1
write_sdt_prov = 1
extended_cw_api = 1
boxtype = pc
Display More
See you can see
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.
user@debian-armel:~$ ./oscamfegol.sh
Starting Oscam...
./oscamfegol.sh: 8: ./oscamfegol.sh: /home/user/oscam/oscamfegol: not found
user@debian-armel:~$
user@debian-armel:~$ file /home/user/oscam/oscamfegol
/home/user/oscam/oscamfegol: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped
user@debian-armel:~$ objdump -x /home/user/oscam/oscamfegol | grep NEEDED
NEEDED libhi_msp.so
NEEDED libhi_common.so
NEEDED libm.so
NEEDED libdl.so
NEEDED libc.so
Display More
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.
And here is another one:
if path to data for oscam is located at /data/oscam the you can try to locate tvheadend at
Hope you can find the configs
if path to oscam is located at /system the you can try to locate tvheadend at
Hope you can find the configs.
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:
Hit the last blue word where it say "Toggle Detais"
C&P what it show and send it by PM mine for example reads
Configure arguments:
Compiler:
Using C compiler: cc
Build for arch: x86_64
Binaries:
Using PYTHON: python
Using GZIP: gzip
Using BZIP2: bzip2
Options:
pie yes
ccdebug no
cwc yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client yes
hdhomerun_static yes
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
imagecache yes
avahi yes
zlib yes
libav yes
ffmpeg_static yes
libx264 yes
libx264_static yes
libx265 yes
libx265_static yes
libvpx yes
libvpx_static yes
libtheora yes
libtheora_static yes
libvorbis yes
libvorbis_static yes
libfdkaac yes
libfdkaac_static yes
nvenc no
qsv no
libmfx_static no
inotify yes
epoll yes
uriparser yes
ccache no
tvhcsa yes
bundle no
pngquant no
dvbcsa no
dvben50221 no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
slow_memoryinfo no
libsystemd_daemon no
bintray_cache yes
execinfo yes
mmx yes
sse2 yes
W_unused_result yes
getloadavg yes
atomic64 yes
atomic_time_t yes
bitops64 yes
lockowner yes
qsort_r yes
stime yes
gmtoff yes
recvmmsg yes
sendmmsg yes
ifnames yes
py_gzip yes
bin_pkg_config yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
bin_cmake yes
stdcpp yes
libogg_static yes
inotify_h yes
inotify_init1 yes
epoll_create1 yes
mpegts yes
mpegts_dvb yes
Packages:
openssl 1.1.0g
zlib 1.2.11
liburiparser 0.8.4
avahi-client 0.7
dbus-1 1.12.2
Installation paths:
Prefix: /usr/local
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man
Display More
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
To find out your Home directory
Now lest check a few possible locations
note adjust sdcard to you real sdcard location
su
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.
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.
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:
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"
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
Now execute oscam help to check if it executes
Now you should see that the help shows. So lets test webif
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
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
Then you copy this files to mnt.
restart qemu and play
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.
NONO I want busybox binary. do:
Irst chech that you have it
#busybox --help
then
#whereis busybox
The location should display. Please copy it zip it and post here.