Wifi-Debugging and time-shift to USB-drive - Philips, Sony, TCL Android TV

Hello everyone,
I am owning a 65OLED903/12 TV on android 8 and do want to be able to access the ADB interface over Wifi to determine in my ioBroker Smarthome system what kind of service is currently in use (live TV, Netflix, Amazon prime etc.) and to control the device (e.g. switch off when a time-limit is reached, volume control etc.). I am able to perform all the tasks if I am able to access the ADB interface over Wifi.
The downside to this is, that when I enable USB-debugging, the build-in time-shift functionality to pause and resume live-TV stream by utilizing a USB-thumbdrive for bufferung is not available anymore.
Now the question is: how can I use ADB over Wifi with leaving the USB functionality available, explicitly the time-shift functionality? Or: Is there a tool that I can sideload, which offers a similar API or a local ADB availability be able to perform the above tasks via a local HTTP-API or something similar?
Cheers
SEB

Related

Remote Control (OF ANDROID!!!)

DROWNING in Google and forum search results here. Good search terms, links, 'app' names, welcome.
(Drowning because I catch hits where the android remote controls another device, such as a TV, or a PC - instead of the other way around.)
It's becoming increasingly difficult to remotely help friends that use Android - mostly because I can neither see nor control their screens.
What's the best way / apps to go about setting this up?
NOTES:
this is NOT android acting as a remote control.
this is NOT android remote controling a PC
this IS remote controlling the ANDROID.
I have remote access to their network, be it via ssh or vnc. (From a 'privacy' perspective, it's only sense to get to their network, then get to their Android - i.e. Access to their stuff is under their control.)
wi-fi is up and happy. As is USB, for that matter.
the remote phone is NOT rooted.
I've come across, but have no opinion on (your opinions welcome):
Remote Control Add-On - https://play.google.com/store/apps/details?id=net.xdevelop.rc&hl=en
Remote Web Desktop - https://play.google.com/store/apps/details?id=net.xdevelop.rm&feature=more_from_developer
AirDroid - https://play.google.com/store/apps/details?id=com.sand.airdroid
TeamViewer QuickSupport - https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market.samsung / Needs pc side from www.teamviewer.com. (Note: Android might not be a Samsung. I thought I saw a non-Samsung remote control on their site, but now don't see it.)
Droid VNC server - https://play.google.com/store/apps/details?id=org.onaips.vnc
VMLite VNC Server - https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en (Has a process for non-root access. Better than nothing, I suppose.)
Webkey - https://play.google.com/store/apps/..._result#?t=W251bGwsMSwxLDEsImNvbS53ZWJrZXkiXQ..
Thoughs / suggestions / terms / recommendations / experiences / etc.???
Thanks.
AirDroid suppose to be a good one, but didn't use it my self yet.
taiber2000 said:
AirDroid suppose to be a good one, but didn't use it my self yet.
Click to expand...
Click to collapse
Remote Web Desktop looks like it has some interesting functionality, is pretty enough without being over the top (speaking as a guy who finds ssh, in colour, of course, adequately pretty), but is sufficiently broken to be not worth pursuing. Terminal isn't really there (e.g. su results in prompts of $ on one line, then # on next), web cam capture captures a still only, screen capture bears no resemblance / colour fix doesn't, ... uninstalled.
Companion or standalone Remote Control Add-On is through browser only, and at port 3389 of all things. [No RDP doesn't work, either.] Chrome / Opera / Firefox none works - says to install java, takes you to Oracle but not to what it wants. Not quite latest / greatest 6 installed beforehand and it still wants java installed. Not going back to 7, uninstalled that some while ago - will wait until it becomes real. App promises standard vnc connectivity at 5901 (why not 5900 I've no idea), but doesn't work. Netstat shows it isn't even listening.
Uninstalled ... next!
taiber2000 said:
AirDroid suppose to be a good one, but didn't use it my self yet.
Click to expand...
Click to collapse
Webkey wouldn't stay up long enough for more than a few clicks in browser.
Service kept dying. Restart succeeded most of the time, but not always. Task manager exit and it came back up in those instances.
Uninstalled.
*Note to Selves: AdAway (can) run an internal web server (to catch / redirect web calls), and (by necessity) runs on standard ports, both www and https. So ... if you run another web catching app, it can't use those ports. [Not a problem for them to do so to date, but just so's you don't blame the app under test for not working when it's trying to listen on a port already taken by AdAway.]
- and you want to run the AdAway web server - better it give an immediate unreachable response than having to wait for the call(s) to time out.
Airdroid seems nice / capable enough, if a little 'fluffly.'
Separate ssh / samba / vnc apps seem a little simpler and cleaner - if more to configure.
Samba - 'Samba Filesharing' (edit smb.conf if you want root (as in /), although smb.conf now says modifications not supported.)
[If you modify / something breaks, go back to stock and see if it still breaks. Duh!]
VMLite VNC Server - not tried.
Pixel VNC Server Beta - sure is. Won't stay up. Connect attempt results in service failure [Error(3)] before first screen draw. (I see drawing initial screen message, then it drops.) Uninstalled. Looks to have the nicest / cleanest interface though. Just the facts / text, nothing goofy / fancy.
VNC server (wencent) and droid VNC server must use same code base - options/screens seem identical.
- both are slow (but better than nothing), both seem to take a number of restarts before picking up password / port changes, although the port it says it's at matches the port entered. e.g. it defaults to 5901, I changed to 5900, started, and it displayed 5900 but was actually listening on 5901. Note: Don't use special characters in password, such as '&' - plain text password storage in .xml file gets written wrong. Probably the cause of the startup / port / password misfires. YEP, I SAID *PLAIN* TEXT PASSWORD STORAGE. <sigh>
VNC server (wencent) blog page annoying, droid VNC 'nicer'. I noted to both to please put restart button on same page as on/off. No auto-rotate, so if you have to rotate (in settings), and since a restart is necessary to effect, a restart button would be useful.
droid VNC settings hint at (but broken / no worky / not what it is) at a reverse VNC connection. Which would be FANTASTIC! Your idiot friend out and about you can't get to, but he could call you at your known IP / forwarded listening port.
HTH.
Android control PC?
I have read the article http://flash-video-player.blogspot.com/2013/02/how-to-use-android-phone-to-remote.html and I just wonder if the apps here can support PC controlling Android phone.
I was looking for the same thing.. I have the Samsung Captivate and S3.
I tried the RemoteCall from Rsupport which I heard of them from Mobizen (same company). No rooting and standard ports (can't see it happening on a 8888..). It can control and gives you all the info.
One thing is that they charge 1600 for a year.. waaay too expensive for me.. they said discount is available for more than 1 license, but I guess that will apply to businesses.. not for individuals.. I will say Mobizen is so far the solution for me.
Installed VMLite VNC Server. Works great on my not-rooted phone. I had to install libncurses5:i386 on my amd64 ubuntu to work with adb. It would be better if I could change the resolution of the phone's image. Should be cheaper.
Thanks, i am using webkey. it's a very nice app. :good:
team viewer versus airdroid
Hello everyone. Sorry mi english is not very good
I am doing proyect that I have to install a device ( samsung s4 ) 5km away from home and run an app on it to trigger a foto camera.
Team viewer do that but you have to be in the device to accept the conexion remote, so is no suitable for me at this point. Airdroid dont ask for permision to conect to the device , which is excelent , but I can not run an app inside the device in remote, so is no ok for me at this point.
The question is : how can I open an app to control the camera from the device in remote whith out me beside to the device?? Is there an app to do that??
How can I avoid in team viewer to ask permision to acces to the device??
Is posible to do something about it ??
I am not talking about the camera in the device , I am talking about a camera which is conected to my device by a cable at the same time and trigger and control the camera setings from km´s away via Lan conection 3g.
Thank you all
Marcos
connect to teamviewer quicksupport without someone to accept you
maxbcn said:
Hello everyone. Sorry mi english is not very good
I am doing proyect that I have to install a device ( samsung s4 ) 5km away from home and run an app on it to trigger a foto camera.
Team viewer do that but you have to be in the device to accept the conexion remote, so is no suitable for me at this point. Airdroid dont ask for permision to conect to the device , which is excelent , but I can not run an app inside the device in remote, so is no ok for me at this point.
The question is : how can I open an app to control the camera from the device in remote whith out me beside to the device?? Is there an app to do that??
How can I avoid in team viewer to ask permision to acces to the device??
Is posible to do something about it ??
I am not talking about the camera in the device , I am talking about a camera which is conected to my device by a cable at the same time and trigger and control the camera setings from km´s away via Lan conection 3g.
Thank you all
Marcos
Click to expand...
Click to collapse
if you have the same problem like me with the droid vnc server (connect but can't control it) the droid vnc server will help to conect to teamviewer quicksupport without someone to accept you. the video i make will show you how.
i cant add link so you have to find it by searching in youtube: connect to teamviewer quicksupport using droid vnc server to get access
Be careful with webkey, it send personal data...
I have tested 'Droid VNC server' and it requires root. I couldn't use it without that.
I have a FREE complicated solution without root.
Screen output:
while sleep .01 ; do convert -depth 8 -size 1280x1280 rgba:/dev/graphics/fb0'[0]' -rotate 90 -crop 1280x720+0+0 bmp:/scard/b.bmp ; mv /scard/b.bmp /sdcard/c.bmp ; echo -n . ; done
It works for my padfone 2, without padfone station. On any linux, you can sshfs your phone, and access /sdcard/c.bmp that way.
It should be run as the user adb, use adb shell from a PC connected by USB to access it, then adb forward to access to the sshd running on the phone.
If you want this to continue after disconnection, you should run tmux first.
I uploaded working binaries for bash, convert, scp and sshd on gentooandroid.sf.net ; tested on Android 4.1 and Android 4.4.
The difficult part on secured Android 4.4 is to find a place not mounted noexec where to put the binaries.
Mouse click on pixel position 300 300:
/system/bin/input tap 300 300
Text input:
/system/bin/input text yourtext
Home button:
/system/bin/input keyevent 62
See /system/bin/input and http://grepcode.com/file/repository...android/4.0.4_r1.2/android/view/KeyEvent.java
Anyone trying to automate this (with "Automate" from google play) or connect that to a VNC server, please report progress !
thx so much for that thread, i spend hours googling this.
i am actually trying webkey.
what i want to do primarily is control volume on android, as my device acts as a webradio (connected to the stereo via headphone jack).
I use droid vnc to start up "tunein radio" . that works fine. BUT it is way to slow to adjust volume, PLUS there are no keys to adjust volume, so i have to go to a quicksetting - volume - and adjust via mous. btw it only takes keyboard inputs if they are followed by a left-mouse-click... alt-d and alt-u dont work.
i also tried a ssh server on android and control volume via
"input keyevent 24"
and
"input keyevent 25"
which workes for a while, but then has no effect any more
vnc connection is crap, as my phone is an old samsung s2 - to slow.
acutally i am looking for the uri to send to the webkey server to adjust volume, so i wouldnt have to go over the website any more. - seems its websocket calls, so i will have to make some python implementation, as i dont know jscript.
-- btw, you can send volume event over ssh like this, but i dont know why it takes seconds for the device to react:
on the console:
input keyevent 24
input keyevent 25
Use automate to change volume
Automate from Google play can change the volume according to a change of file in a clould (or any other method you like).
Minimal asking of permission, this is a good thing.
Beware, Automate is free only for up to 30 "lines" of program, but just changing the volume is like 10 "lines" of program only.

[Q] Display and control GN2 on Win7 PC through USB?

I used to be able to view and control some of my older phones on my PC through the USB connection, but I haven't been able to find out if this is possible yet with android phones, specifically my new GN2. I know I can get the dock and hook up one of my PC monitors to a switch, and I also know there is a way to connect a bluetooth keyboard/mouse, and then use a HLA adapter to run a monitor. I have also looked at a couple programs that use VPN connections to "host" android devices on websites that you can access with your PC via web browser, but as far as I can tell you are limited to what you can do (web browser, messaging, email).
I'm really looking for a stand alone program that I can open on my PC that, when connected to my GN2 via USB, will duplicate the devices display in a window and allow control of the device with the PCs keyboard and mouse. Does such a program exist? Thanks all.
i have never seen anything like this. What would be the purpose of this?
To control my phone with my workstation peripherals while at work if I want to view a website that is blocked by my works firewall, or simply to respond to a text message without having to turn on my phones screen

[Q] Is Control Android from PC without root and USB debug possible?

I just tried using VMLite VNC via WiFi, it works good, but a little bit lag.
I want to control my s2 with PC because I want to play a specific game with a mouse pointer (my finger seems to be too thick that it functions in both blocking my sight and inaccurate touch very well). However, it is too laggy using VMLite VNC via WiFi. It cannot use via USB Debug due to unknown reason and even if it works, the game would be automatically closed when root access is on or USB debug is on (when I play on the S2 directly I have to turn both off).
I just greedily wonder, up to now, is it possible to control an android device with a PC via USB or other effective means without root access and USB debug so that a smooth control of the android device could be achieved.
For my case, if the root access and USB debug is just for initiation and then the remote control can work without them would be perfect already, like VMLite VNC I have to initiate it via USB Debug then I can turn USB debug off without disconnect the remote control.
EDIT: I resolved my problems on playing games by enabling some pointer related option in developer option, but still, I wonder is it possible to control an android device with a PC via USB or other effective means without root access and USB debug
You could try TeamViewer - they make an app for Samsung Galaxy phones.
You need TeamViewer on your PC and TeamViewer QuickSupport app on your phone.

What do I need for a lean and mean Firestick + Kodi experience?

Basically I want to set up a debloated Amazon Firestick + VPN + Kodi system for people who need simplicity of a remote control TV experience. YouTube access is definitely needed and I would be OK with connecting such a setup to my Google Account.
Questions:
- If I am going with VPN + Kodi rooted setup, do I even need to connect Firestick 4K to an Amazon account? Can I bypass connection to Amazon entirely?
- If Amazon Account connection cannot be bypassed, can Alexa and/or microphone be blocked entirely via software?
- What is the leanest OS for Firestick 4K? On my phone, LineageOS works incredibly fast and does everything I want, but I don't know if its any good for Firestick
- Is there a way to connect Firestick 4K to a PC for side-loading APK's? What about connecting it to a file-hosting service like Google Drive, from which APK files could be sideloaded? Allowing remote ADB over port 5555 seems quite risky...
DirtyAngelicaSecured said:
Basically I want to set up a debloated Amazon Firestick + VPN + Kodi system for people who need simplicity of a remote control TV experience. YouTube access is definitely needed and I would be OK with connecting such a setup to my Google Account.
Questions:
- If I am going with VPN + Kodi rooted setup, do I even need to connect Firestick 4K to an Amazon account? Can I bypass connection to Amazon entirely?
- If Amazon Account connection cannot be bypassed, can Alexa and/or microphone be blocked entirely via software?
- What is the leanest OS for Firestick 4K? On my phone, LineageOS works incredibly fast and does everything I want, but I don't know if its any good for Firestick
- Is there a way to connect Firestick 4K to a PC for side-loading APK's? What about connecting it to a file-hosting service like Google Drive, from which APK files could be sideloaded? Allowing remote ADB over port 5555 seems quite risky...
Click to expand...
Click to collapse
-If you can still unlock the Mantis (some of the newer devices are blocked), yes i believe i have seem people find ways around the amazon account login- but it would be easier just to register it if you can.
-If you are able to unlock and root, you can run the debloated Mantis OS, and you can disable more.
-Lineage is not available for it, there are only forks of the fireOS.
-Yes you can sideload anything you want (you dont need root for this), if you feel a risk over the port and wifi at your home, then just turn it back off when you are done. There are plenty of ways to download from a remote server.

Blocking future updates on Fire Stick 4K

I have a Fire Stick 4k that I use only for Kodi and accessing media on my local network. I do not need internet access at all. I have tried blocking updates with the usual methods but have not had any success. I have modified my wifi connection to Network Prefix Length 0 and both DNS to 0.0.0.0. It seems to be blocking access to the internet. Will this be effective at blocking updates and does anyone see any issues with this method?
Thanks
Srimok said:
I have a Fire Stick 4k that I use only for Kodi and accessing media on my local network. I do not need internet access at all. I have tried blocking updates with the usual methods but have not had any success. I have modified my wifi connection to Network Prefix Length 0 and both DNS to 0.0.0.0. It seems to be blocking access to the internet. Will this be effective at blocking updates and does anyone see any issues with this method?
Thanks
Click to expand...
Click to collapse
You can use NoRoot Firewall by Grey Shirts from APKPure or Aptoide TV to block the OTA updates from internet.
You want to completely block the OTA updates. You can delete otacerts.zip in /system/etc/security folder.
NOTE: You cannot modify the entire /system folder unless your Fire TV stick 4K is rooted.
Srimok said:
I have a Fire Stick 4k that I use only for Kodi and accessing media on my local network. I do not need internet access at all. I have tried blocking updates with the usual methods but have not had any success. I have modified my wifi connection to Network Prefix Length 0 and both DNS to 0.0.0.0. It seems to be blocking access to the internet. Will this be effective at blocking updates and does anyone see any issues with this method?
Thanks
Click to expand...
Click to collapse
This guy has blocked the updates with NO ROOT:
https://youtu.be/D0wFs3aGlPM
Intenti0n said:
This guy has blocked the updates with NO ROOT:
Click to expand...
Click to collapse
I know this is an old thread, but wanted to mention I couldn't get his method to work until I connected to the Firestick from my PC. Running the commands from adb on the Firestick didn't work. And otacerts.zip is read-only :
Enable ADB debugging / Apps from unknown sources on the Firestick
Install Remote ADB Shell on the Firestick
Run adb connect <firestick ip>:5555 from your PC (via start > run > cmd)
adb shell from your PC
cd /system/etc/security
pm disable-user --user 0 com.amazon.device.software.ota.override
pm disable-user --user 0 com.amazon.device.software.ota
I'm also now running a custom launcher. Steps at
Srimok said:
I have a Fire Stick 4k that I use only for Kodi and accessing media on my local network. I do not need internet access at all. I have tried blocking updates with the usual methods but have not had any success. I have modified my wifi connection to Network Prefix Length 0 and both DNS to 0.0.0.0. It seems to be blocking access to the internet. Will this be effective at blocking updates and does anyone see any issues with this method?
Thanks
Click to expand...
Click to collapse
I'm intrigued, never seen anyone use a firestick in this manner (not connected to internet)
Regards
The recent FireOS update to the Fire Stick 4K has not been received with positive reviews from the majority of users. The main reason, it seems, involves the substantial changes to the home screen UI. While I don't have info regarding a user's ability to block these types of updates, the Fire Stick development community has brainstormed and the gods have spoken: there are some custom home screen launchers that give the Fire Stick 4K (or any other Fire Stick model) a greatly improved UI versus the newly-updated stock launcher. The best two, in my meager opinion, are Wolf Launcher and Leanback Launcher. Both of these launchers ate available on the official Troypoint app. Also included are several modified Kodi builds, including Xanax and Troypoint Kodi v19.0, which can be installed although other Kodi apps may already be installed. Several IPTV resources are available, as well as a few of the better quality movie and series apps like CinemaHDv2. (Other than verifying the safety and quality of the two launchers I referenced, I cannot confirm the legality of some of the other apps included on Troypoint. I encourage members to do some research in this regard in order to make an informed decision as to whether or not to install these IPTV and media scraper apps. The official Troypoint app is, and will always remain, fully free of charge. To install it on your Amazon FireTV Stick,, Amazon Fire Cube, or Amazon FireTV Stick 4K, use the Downloader app (available from Amazon App Store) and enter this URL for a direct download link to the latest Troypoint APK file: troypoint.com/tpapp Once installed, open the app, grant the permission request prompts, and tap the "Rapid App Installer" menu at the top of the Troypoint main screen. There you will see a full list, with direct download links, of all the included apps. A version of YouTube Vanced for FireTV devices is also included, called Smart YouTube TV. Like Vanced, the FireTV build also blocks all ads and supports background play. On a closing note, any members considering an IPTV service (whether free or paid) or media link aggregator (scraper) apps like TeaTV, CinemaHDv2 or Popcorn Time, a good VPN is essential. As it now stands in the US, some of these apps and services are considered illegal under federal law, as well as laws proscribed in various states (prohibitions are generally categorized under the criminal penalties set forth for copyright violations) Until recently, these types of apps and services were given a blind eye by the majority of law enforcement and prosecuting attorneys throughout the country. Law enforcement in Polk County, Florida, recently arrested four individuals involved in the making and selling of "Jailbroken Firesticks" at a flea market type establishment. To make a showing of strict enforcement, the Polk County Sheriff's Office used a group of undercover deputies to make a number of "Jailbroken Firestick" purchases from the suspects. An undercover sting organized to arrest these hell-bent and dangerous outlaws. As we all know here at XDA, there is no such thing as a jailbroken Firestick. In order to jailbreak a device, it must first be locked by code-based security implementations, typically on the kernel or bootloader level. Because FireOS is not secured in a manner as to prevent the installation of third-party apps (sideloading), there is nothing to jailbreak. The user simply enables the native option to allow apps from unknown sources. Now it's "jailbroken." This is simply a term which sounds very technical and innovative to the inherently naive John Q Consumer (and Suzie Q Consumer). Little do most of those individuals realize, they can buy a FireTV device for normal price and sideload every app package they'll need in under 20 minutes, and that includes initial setup time.
Srimok said:
I have a Fire Stick 4k that I use only for Kodi and accessing media on my local network. I do not need internet access at all. I have tried blocking updates with the usual methods but have not had any success. I have modified my wifi connection to Network Prefix Length 0 and both DNS to 0.0.0.0. It seems to be blocking access to the internet. Will this be effective at blocking updates and does anyone see any issues with this method?
Thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/attachments/fireos-update-blocker_1-2-apk.5184325/
Download this and block the updates, after that uninstall the app, no need to look at the app ever again. It will block the system level updates for you.

Categories

Resources