[Q] Android APP to access Router Files and Display them? - Networking

Hello All, (my first post)
I am wondering if anyone here knows of any Android apps which are opensource and can read text files from a router and display them on an android phone.
I used Android Studio to build a generic app which allows me to press a button and it display some simple text but what i want is for the android which is connected to my router (MR3420v1 tplink running on openwrt/Rooter version which a group of us have been working on for a long time), to be able to access the file on the router and display the contents of the file within the app gui.
At the moment i just played with ConnectBot and used SSH 192.168.1.2 port 22 to gain access to the router and then sent it the following command:
cat /tmp/status.file
So the status file on my openwrt router is within the "tmp" folder and the file contains signal information from the Sierra 320u wireless modem dongle plugged into it. We have managed to extract this signal information from the modem by sending Sierra AT commands to it and capturing the output into the status.file.
So basically i want a button in my android app which allows me to click it and then it displays the contents of that file, just to clarify if am connecting my android over wifi to the router when i do this.
Any help would be great. Even a direction\link to a good forums would be appreciated. Thanks in advance.

Related

[Android] Run Android without a data plan [CHECKLIST]

Hey Gang,
I currently do not have a data plan and won't get one until I switch from Sprint to Verizon. (accounts expire soon)
This is what I want to do with my Vogue:
Setup SD card with EXT2 partitions [CHECK]
Correctly install/run a SenseUI/Hero build [CHECK]
Convert my WM contacts to Android contacts offline [CHECK]
Install APK's offline [CHECK]
Use the internet connection through my PC via USB cable (while running android) [PENDING]
Install a "camera software" APK so i can use the camera [PENDING]
Enjoy the hell out of Android and all the possibilities for the Vogue! [CHECK]
Any and all help checking off my list is much appreciated!
~Syn
The camera already works out of the box. and Talk to enatefox about internet via USB connection.
Install a "camera software" APK so i can use the camera [PENDING]
I am currently using "Pro Paint Camera that came with this Hero/SenseUI build.
I can take pictures but not video. Also, none of the lighting effects work so every picture is very yellowish.
True.... the camera does work, but it is not really usable without adjustment.
I'm in the same situation right now. I want to use android but I'm afraid I wont be able to use internet to access the market (unlike WM/ActiveSync).
The camera issue is something that I can deal with, but I think that it would be nice if someone could make an activesync-like program that can share internet.
Only difference is that I'm on verizon right now, and might consider switching to sprint!
synaptyc said:
Install a "camera software" APK so i can use the camera [PENDING]
I am currently using "Pro Paint Camera that came with this Hero/SenseUI build.
I can take pictures but not video. Also, none of the lighting effects work so every picture is very yellowish.
True.... the camera does work, but it is not really usable without adjustment.
Click to expand...
Click to collapse
I forget exactly when that build came out, but I can assure you that the build I'm using now has a camcorder and camera app outside of Paint Pro Camera.
FWIW, I'm using the Droid donut ion build by Zenulator.
Also, from what I know, internet through USB only allows you to browse the web, and the marketplace doesn't work. There might be some changes in the future, however.
Yes. with Cupcake / Donut the camera/camcorder seem to work with the default applications. They still don't have filters or effects to correct lighting.
... still looking for that app.
Link9228 said:
I forget exactly when that build came out, but I can assure you that the build I'm using now has a camcorder and camera app outside of Paint Pro Camera.
FWIW, I'm using the Droid donut ion build by Zenulator.
Also, from what I know, internet through USB only allows you to browse the web, and the marketplace doesn't work. There might be some changes in the future, however.
Click to expand...
Click to collapse
How would one go about getting Internet via USB? I have searched endlessly (or so I thought). Thanks.
gascan555 said:
How would one go about getting Internet via USB? I have searched endlessly (or so I thought). Thanks.
Click to expand...
Click to collapse
I've been trying to do this too!
gascan555 said:
How would one go about getting Internet via USB? I have searched endlessly (or so I thought). Thanks.
Click to expand...
Click to collapse
I have also been trying to figure this out... but getting Internet via bluetooth rather than USB. So kind of like the bluetooth tethering that is possible right now with Android, but in REVERSE! So Internet-> PC-> Bluetooth-> Android.
USB Internet (at this point) can be very problematic. It can cause your phone to hard freeze out of the blue. I haven't spent a lot of time troubleshooting it since it's hard to figure out what went wrong when I'm forced to reset.
Credit to DimaFern for getting me anywhere near having this working. I just messed with it a little. This is reverse tethering because you are not getting the connection from the phone. So the USB Tethering option is not related in this situation.
Here's my howto
I have not tried this without a Linux host. I believe you can forward traffic with ICS but I don't know what is involved there.
My gateway is .37, my laptop is .107 and the phone gets it's IP from the laptop:
On laptop:
echo "1" | sudo tee /proc/sys/net/ipv4/ip_forward
On Android:
ip addr add 192.168.37.100/24 dev usb0
ifconfig usb0 up
## This is the IP for my laptop:
route add default gw 192.168.37.107
setprop net.dns1 192.168.37.107
cat /proc/net/route
Click to expand...
Click to collapse
The last line is not needed-- it's to show you that it's routing traffic. You won't be able to ping IPs from the command line and somehow Market doesn't think you're online but SAM Market, Browser, etc. do work. It's nice because you are not taxing the RAM of the phone for connectivity so it runs much quicker... unless it hard freezes on you.
i use tetherbot to tether my phone now that it's running android full time. basically install tetherbot and start the socks proxy server on port 1080 then.
Code:
adb forward tcp:1080 tcp:1080
from your computer and set up firefox to connect manually to the proxy.
http://www.google.com/url?sa=t&sour...tLoX-20q2czcpvdhw&sig2=YLuIUO1a9NqdzdKn2NhO5Q
http://www.google.com/url?sa=t&sour...D0n7yQtvLGRfy1GXg&sig2=OMS2j6DiIEHenOugM9VbSg
zenulator said:
http://www.google.com/url?sa=t&sour...D0n7yQtvLGRfy1GXg&sig2=OMS2j6DiIEHenOugM9VbSg
Click to expand...
Click to collapse
WOW..... this second link leads to a beautiful website.
10 levels of gay for poor "kevin" of 'kevin♥Amanda' but still a nice looking site
Geez.... he didn't even get his name capitalized in the header picture
/on_topic: I'll try Tetherbot.
(is there a way to use Tetherbot with Google Chrome? I haven't used Firefox in ages)
zenulator said:
i use tetherbot to tether my phone now that it's running android full time. basically install tetherbot and start the socks proxy server on port 1080 then.
Code:
adb forward tcp:1080 tcp:1080
from your computer and set up firefox to connect manually to the proxy.
http://www.google.com/url?sa=t&sour...tLoX-20q2czcpvdhw&sig2=YLuIUO1a9NqdzdKn2NhO5Q
http://www.google.com/url?sa=t&sour...D0n7yQtvLGRfy1GXg&sig2=OMS2j6DiIEHenOugM9VbSg
Click to expand...
Click to collapse
I'm sorry, but isn't Tetherbot used to share your phone's internet connection with your computer?
I think we are trying to be able to "reverse tether" and not tether.
enatefox (and others)...
I would love to see how this reverse-tethering can work. I know its very complicated and buggy right now, but if you do any more work on it you should create a thread showing how in layman's terms. I have dual-boots on both my computers into Ubuntu 9.10, I know what the terminal is and sudo and some basic commands, but when you type your commands with little explanation I get lost. They could use some clarification [ such as 1) open terminal 2) type these commands. ] And please explain terminal in Android. What apk do I need? I probably have it already but just need to install it. Thanks for any help. I don't have data since my line costs $10 a month (family plan) and data would be $26 a month. I just started reverse-tethering with WM6.5.1 and its really cool.
There aren't any other steps you just run what I posted and change "192.168.37.107" to what your desktop's IP is and "192.168.37.100" to "192.168.xxx.100" where "xxx" is the subnet of your LAN-- matching the 3rd set of numbers of your desktop's IP.
You can run these commands over ADB, which is required to do this. Here's a guide on how to set it up.
Here is what I came up with trying to do the same thing with bluetooth instead :
http://forum.xda-developers.com/showpost.php?p=4404512&postcount=9
I was missing your "ip addr..." command to add the forwarding network, this should help, I will give it a try.
I also came to the conclusion that I needed a way to fake that either the wifi or the data connection was up. Maybe this can be done by issuing a "setprop" command forcing the status to being "up"?
enatefox said:
There aren't any other steps you just run what I posted and change "192.168.37.107" to what your desktop's IP is and "192.168.37.100" to "192.168.xxx.100" where "xxx" is the subnet of your LAN-- matching the 3rd set of numbers of your desktop's IP.
You can run these commands over ADB, which is required to do this. Here's a guide on how to set it up.
Click to expand...
Click to collapse
UGH I'm stuck right now. I'm using Ubuntu 9.10, and when I type in terminal "sudo /etc/init.d/udev restart" I get some error message telling me to do it a different way. So even after restarting the computer, it does not recognize any command for adb. I already did the export PATH to the androidsdk/tools folder and adb is in there, but I cannot get it to open. Any ideas?
Got it to see adb. I forgot to put /home/drkow19 in front of the path...
edit: Has anyone successfully used ADB with zen's 2.0.1? I'm trying right now but it shows no devices connected. In the 50-android.rules file I have 0bb4 instead of 18d1 like enatefox said to. Also, on the Dream forums the file they use is 51-android.rules, whats the diff?
0bb4 and 18d1 are determined in the source code. Different versions can change so whichever is shown, use. The 50 and 51 are indicators for timing. Maybe I have this backwards but 51 should start later than 50 and can address issues with it not being recognized or more precisely, overrode with another operation. I set mine to 51.
Okay I deleted 50 and used 51-android.rules. What is the line about "define vendor id" does that need to be in the 51 file?
I can say adb start-server but no devices... They say you need to sudo adb start-server but when I try that I get "sudo: adb: command not found" How do you add the adb PATH so it works under sudo as well?

▌█▐ Free USB Tether method for Android - AziLink 2.0.2 ▌█▐

▌█▐ Free USB Tether method for Android - AziLink 2.0.2 ▌█▐
DOES NOT REQUIRE ROOT!
I came across this while searching for free USB tethering methods and apps. I am currently posting this message from this method and it is 100% free to setup and use. I know rooted devices can utilize the free Wifi tether, which I also have and I am also rooted but it kills my battery to use that so I wanted to find a USB solution.
I have compiled all needed files and zipped them for ease of download.
Download link: (---CLICK HERE!---)
Website: http://code.google.com/p/azilink/
Instructions from that site (which is also included in the .zip file):
[FONT=&quot]Description:
AziLink is an application that allows USB tethering for Android-based phones, without requiring root access. It works by using a Java-based NAT that communicates with OpenVPN on the host computer. It's been tested on MacOS, Windows, and Linux. The connection will be forwarded over the phone's active network service, which can be either WiFi or 3G/EDGE.
Required files:
* ADB from the 1.1 or 1.5 Android SDK or from http://lfx.org/azilink/adb.zip
* OpenVPN 2.1 (not 2.0) from http://openvpn.net/index.php/downloads.html
* AziLink.apk from the download section or from http://lfx.org/azilink/azilink.apk
* AziLink.ovpn from the download section or from http://lfx.org/azilink/azilink.ovpn
Installation:
1) Install OpenVPN on the host. I use version 2.1_rc15, but any version should work. Apparently if you use version 2.0 you'll need to remove the NO_DELAY option from the AziLink.ovpn configuration file. You can find OpenVPN at:
http://openvpn.net/index.php/downloads.html
2) Enable USB debugging on the phone. From the home screen, this is under
Settings>Applications>Development>USB debugging.
3) Install the Android USB driver (if you don't already have one installed).
See http://developer.android.com/guide/developing/device.html for more information. The driver is included in the ADB download if you don't want to get the full SDK.
4) Install the program. You can either use ADB to install by typing
"adb install azilink.apk" with the file in the current directory, or you can browse (on the phone!) to: http://lfx.org/azilink/azilink.apk
Either way you might need to allow installation from unknown sources
under Settings>Applications>Unknown Sources.
Configuration steps:
1) On the host, run "adb forward tcp:41927 tcp:41927" to set up port forwarding. Be sure to use adb from the Android 1.1 or 1.5 SDK! The version from 1.0 will lock up under heavy load. If you don't want to download the entire SDK, you can get a copy of ADB+drivers from http://lfx.org/azilink/adb.zip
2) On the phone, run AziLink and make sure "Service active" is checked.
3) Right click AziLink.ovpn on the host (not in the web browser!) and select "Start OpenVPN on this configuration file." You can find this file at: http://lfx.org/azilink/azilink.ovpn. If you're using Linux or, god forbid, MacOS, you'll also need to manually set the nameserver to 192.168.56.1 (the phone's NAT IP address). This address is automatically forwarded to the phone's current DNS server.[/FONT]
Just wanted to point out there is also a wired tether app by same dev as wireless tether app and also comes built in with latest cyanogenmod.
I personally don't like anything that requires drivers as I often tether to my iPod and anything that requires a driver won't work with my iPod or many other common items I tether to.
However, everyone likes their own procedures, and I'm sure someone will find this useful.
r3s-rt said:
Just wanted to point out there is also a wired tether app by same dev as wireless tether app and also comes built in with latest cyanogenmod.
I personally don't like anything that requires drivers as I often tether to my iPod and anything that requires a driver won't work with my iPod or many other common items I tether to.
However, everyone likes their own procedures, and I'm sure someone will find this useful.
Click to expand...
Click to collapse
Yeah, depends on the device. In my case, I have a HTC Hero with Sprint (CDMA) and there is no cyanogenmod for it that I am ware of.
Pyr0TeK said:
Yeah, depends on the device. In my case, I have a HTC Hero with Sprint (CDMA) and there is no cyanogenmod for it that I am ware of.
Click to expand...
Click to collapse
u sir, have failed, jk but here is a cyanogen rom from one of ur guys great developers Darchdroid v 2.7
Darchdroid 2.7 w/ Wired Tether
I'm trying to get the Wired Tether app (made by the same ppl as Wireless Tether than everyone knows and loves) to work with Darchdroid 2.7 but am having no luck!
If anyone has gotten it to work, please let me know how!
I've got the app installed, but Windows 7 does not recognize it as a network adapter...thinking its a windows driver issue, but need some help...
thanks!
thank you 4 ur nice help!!!!!!!!!!!!!!
why not justdownload pdanet or easytether i have both and the wireless tether those two are very simple to use and works good
Two reasons that i use Azilink:
1: no PDANet usb support for linux
2: wired tether built into cyanogen, as well as the standalone app cause the 3g connection in my Eris to intermittently cut in and out while azilink does not. (PDANET solves this problem in windows)
u can giv a try to easy tether but its not free tho work fine and easy to use
EasyTether shares your Android smartphone connection with your PC. This app allows you to tether your Android to a desktop or a notebook computer. EasyTether uses exactly the same data plan that is used for the on-phone Internet access like in the built-in browser or e-mail app or youtube application. No additional tethering fees.
Features
* does not require root access
* supports Windows 7/Vista/XP (32-bit and 64-bit), Mac OS X 10.6/10.5/10.4, and Ubuntu 10.4+
* UDP support for games, for L2TP VPN (not PPTP!) and for some IM apps
* tether PS3, XBox 360 or Wii via Windows Internet Connection Sharing feature
* free lifetime upgrades for the full version
* USB support
* compatible with HTC Sync
* Bluetooth DUN will be added later.
* much cheaper than PDANet
* implemented as a normal NAT application with full TCP and UDP support
Is it possible to use Azilink with Voip?
I have nat error, so is it possible to forward ports?
Yup, thats dumb question, why to tether for voip if you can use wirless card
I have sagem dongle and it ... losses connection often while my phone is online all the time, and i don't want to spend money for some good wifi adapter, if i could use phone that i already have
Awesome
Anybody know where to find an apk in 2020? There are github sites but only source there. I don't consider EasyTether to be so wonderful, and I paid the $10 for it. It's not open source so I can't tell why it breaks but I've had to reinstall it maybe 20 times, it's a black box.
ab1jx said:
Anybody know where to find an apk in 2020? There are github sites but only source there. I don't consider EasyTether to be so wonderful, and I paid the $10 for it. It's not open source so I can't tell why it breaks but I've had to reinstall it maybe 20 times, it's a black box.
Click to expand...
Click to collapse
Have u tried FoxFi
I probably should have checked back here, I'm learning to live with easytether. I wrote a little bash script to pkill the easytether-usb process, wait 1 second, then restart it. That for some reason seems to renew the phone connection. I can connect via ssh over wifi to the Pi that's serving as an AP/router, run that script and it's fixed. It's maybe not worked twice in 6 months, I need to do it half a dozen times a day or so. I can ssh from a computer or phone.

[Q] HyperDroid WiFi issue on HTC HD2

Hi,
since a few days im using HyperDroidGBXv5 on my HTC HD2, the ROM is beautiful but unfortunately there is a problem with any Wifi remote app i tried.
I can access my Wifi network, surf through the internet, remote control my PC etc.
But there is no way to access my phone from the PC for remote file transfer oder remote controlling the phone. It acts like there is a damn firewall on the phone, not even a ping to the phone is possible!
Tested apps:
DroidPhoneControl Lite
Droid VNC Server
Wireless File Transfer Pro
Remote Web Desktop
Here is my logcat log: pastebin [dot] com [slash] iaQaKuLM
During the logging i start Wireless File Transfer Pro an try to access the phone vom browser. But there is no visible error on the phone so i think the logs are useless!?
1. Is the bug reproducible?
Yes
2. How do you reproduce it?
Just start the app
3. What is the expected behavior?
Access the phone wireless by browser, vnc or ping
4. What actually happens?
Nothing... On the PC just a 404 error
5. Do you have a Task Killer running?
ES Taskmanager, AppMonster but no automatic task killer
6. Are you on the default Kernel?
No i dont think so -> 2.6.32.12rafpigna_1.7_OC-g39281e5 root [at] rafpigna-pc #15
7. Did you restore using Titanium Backup?
No
1. Are you using the default kernel?
See above
2. If using a custom kernel are you loading the correct bcm4329.ko and tun.ko?
Sorry i dont know, let me know where i find this informations
3. Are you using a fresh data.img created by the system on 1st boot?
I exactly followed the tutrial in the HyperDroidGBXv5 thread
4. Are you using the default Build Folder Name that came with your version?
Yes
If any additional information is needed please let me know.
I know there are some problems with wifi tethering on this release but i found nothing regarding the problems that I have...
I really like to use the wifi remote features again and i would really appreciate for any help
greetings
MakkuZ
There are few threads regarding this issue.
I am using Ultimate Droid 3, also Gingerbread based. Few people I think was from MDJ's CM7. So it could be GB problem, dont know, no one really provided any usefull info.
There is a workaround for this. When you connect to wifi on your phone, open terminal emulator and do a ping to your PC's IP address, or use any ping app (I am using Net Ping from market). As soon as you start to ping your PC, connection is immidiatelly opened. I have no idea why it is like that, but for now I am using this method when I want to use FTP server on HD2....
OH MAN! Thanks a lot
Thats really nice! Have you tried to write a little script with ping and your ip adress in it?
Haven't tried with scripts. I use NetPing, just enter my PC IP and click ping...
I have tried some ping apps here are the results for my phone/ROM:
Working:
Ping by Firedale
Ping!Up
Terminal Emulator
Not working:
PingCmd
Ping & DNS
NetPing
I recommend Ping by Firedale because you can save different hosts in a compfortable list an ping them with one click.
Thats a really nice workaround especialy when you are at different locations!
MakkuZ said:
I recommend Ping by Firedale because you can save different hosts in a compfortable list an ping them with one click.
Thats a really nice workaround especialy when you are at different locations!
Click to expand...
Click to collapse
That's a nice feature....Just uninstalled NetPing
MakkuZ said:
I have tried some ping apps here are the results for my phone/ROM:
Working:
Ping by Firedale
Ping!Up
Terminal Emulator
Not working:
PingCmd
Ping & DNS
NetPing
I recommend Ping by Firedale because you can save different hosts in a compfortable list an ping them with one click.
Thats a really nice workaround especialy when you are at different locations!
Click to expand...
Click to collapse
Cant find that in the Android market. Can someone post it here. Thanks.

[Q] usb reverse tether to feature phone

I have a basic samsung feature phone. Id like to use this as a modem for my Acer if possible. This phone works fine on all my ubuntu systems - just plug it in for the first time, click next-next in the wizard and I'm online. On the tablet, I see that it shows up as a /dev/ttyACM0. I belive this means that its a matter of getting the correct chat commands and associating pppd with the android layer. I imagine the process must be similar as to getting a USB 3G dongle working. Does anyone have any thoughts on how to do this?
There are already some threads about tethering the tablet to your phone, as well as 3G dongles.
http://forum.xda-developers.com/showthread.php?t=1152869
But yeah, no solution yet.
got it working
I thought I'd post the info on how I got this working for my specific situation. I have not read many other threads about this so maybe this type of info is already out there.
My phone is a basic samsung feature phone on AT&T that I called up and got unlimited data for $10/mo extra. This phone is practically unusable for browsing on itself. I plugged it into my ubuntu laptop and basically the tethering worked right away. I thought then that it should be able to work on the tablet. I wanted to make sure that "unlimited data" also applied to tethering to a computer. They said yes, if you can get tethering working - still no limit. I get 1-2Mbit rate over it.
This is on a rooted tablet, of course.
When I plug it into my tablet I get a single /dev/ttyACM0. If your phone is similar, you maybe able to use this info.
I went to At+t website and found this:
Then I read the man pages for pppd "man pppd". From this information, I understood how to modify the sample scripts "gprs", "gprs-connect-chat" and "gprs-disconnect-chat".
I then came up with a suitable "ip-up" script, based on ones found in the Huawei 3G modem example code. This is called when a ppp0 connection is made. Some of the lines in there I am not sure of, but it works, regardless.
I was surprised to find the standard "chat" program was not present in any of the roms I'd tried. Currently I am using virtuous Xoom. Somewhere, I found "chat-ril" which did the trick.
I've attached "modem.zip" which contains all the mentioned files.
From a root shell, you type:
pppd call gprs &
(This is kind of a pain but I'd like to find a way to automatically do that when the phone is plugged in)
If you do ifconfig ppp0, you should have an address, then try to browse.
Now I'm watching Netflix on my A500 as I drive! Also google navigation is absolutely great on a tablet, once you have the data connection.
willyampz said:
I've attached "modem.zip" which contains all the mentioned files.
From a root shell, you type:
pppd call gprs &
(This is kind of a pain but I'd like to find a way to automatically do that when the phone is plugged in)
If you do ifconfig ppp0, you should have an address, then try to browse.
Now I'm watching Netflix on my A500 as I drive!
Click to expand...
Click to collapse
Thanks for the work, but what are we to do with the modem.zip file you provided?
Modem zip contains the scripts and the chat-ril utility that need to be copied to your tablet. There's two ways to copy the files to your tablet:
1)
first unzip the files on your PC
use adb and push the files over to your tablet in the corresponding locations under /system.
2)
unzip the files to a micro SD or USB stick
remount the /system partition as read/write
copy them to the corresponding locations in the tablet filesystem from the SD or USB stick.
Copying files to your /system partition is described elsewhere in the forum but I can give more detail if needed.
I'm admittedly a noob on many levels. I think I followed your instructions but I get:
# pppd call gprs &
# /system/bin/chat-ril: permission denied
Any suggestions?
make sure you do it as root by typing 'su' first. Also check the permissions of chat-ril binary to be executable.
Thanks, it was the chat-ril with incorrect permissions.
So going with what you provided and much help from Google, I was able to make my own set of scripts for my phone and carrier (a Nokia 5230 and T-mobile). It looks like it's connecting both in my shell on the tablet (all "got it"s and OKs) and on the phone side which shows it with the 3G connection in use. Executing that ifconfig ppp0 gives me an ip address with a [up point-to-point running multicast].
My problem is I can't seem to access anything on the tablet. I can ping google from within the shell but the default browser, Dolphin, and the rest of my internet accessing apps don't work. I did change a line in the ip-up file from /system/bin/setprop "net.interfaces.defaultroute" "gprs" to "3g", which is what I named my connection script. Is there something else I'm missing?
Thank you for all the help.
Well, the good news is you can ping which probably means it can work and you are just about there.
The stuff in ip-up I don't completely understand myself, but that's probably where the issue is. By that point I was so close and anxious, that I just manually did some 'setprop's and experiment until it worked. I had exactly the same issue where I could ping but not browse at one point. Also, make sure the dns setprop's are set. Are you sure the "3g" should not be "gprs". I'm not sure that has to do with the script name. But maybe just the fact that you can ping means that's ok. I'm just not sure. Good luck.

Remotely accessing the root file system?

Hi all,
first of all I am pretty much beginner level for Android rooting.
Actually what I want to do is play around a bit with the system files and see if I can find some way to turn off HDMI CEC. There is some post here where someone did this by modifying a file on the Amazon FireTV.
But for starters I am even failing to access the file system via my PC
I have rooted following the tutorials, I have installed ES File Explorer , I have granted root to ES Explorer when the SuperSU popup appeared (and it also shows as being granted in the SuperSU app).
Also I enabled Root Explorer in ES File Explorer.
Then when activating Remote Manager when /sdcard is set as FTP root directory I can access the file system (below /sdcard) via FTP from my PC and do see the files - so FTP access basically works and I am pretty sure there is no issue on the PC side.
However when I set / as FTP root directory and then connect from my PC via FTP (using Total Commander, FileZilla.... the client makes no difference) then I can't see anything at all, it lists an empty directory (or not even that as on an empty directory I'd have the ".." entry and I don't even have that.
Also when I try setting anything else except /sdcard as FTP root directory in Remote Manager in ES File Explorer it's the same thing.
It seems when accessing the file system via FTP I just don't have the necessary privileges to browse the root file system.
Within ES File Explorer itself on the other hand it's no problem to browse everything, there I do seem to have the necessary privileges.
Can anyone help me please, either this is an issue with rooting on the Shield or with ES File Explorer on the Shield or I am making some dummy mistake.
I have searched on Google for hours looking for a solution to this but I hardly even find people having this problem.
So now I am a bit puzzled.
How is one supposed to gain access to the root file system via the PC?
Also how do I get SSH access with root privileges?
tbh this all seems a bit strange to me, I am rooted, but it seems almost impossible to gain access to the root file system from the PC!?
I am also amazed because something like this can be achieved on any jailbroken iOS device by any beginner within 5 minutes without any issues, and I always thought for the much more open Android environment there would be 100s of entry paths and 1000s of tutorials but I seem to find hardly anything at all and after hours and hours of trying and research I still fail even accessing the damn root file system from my PC
FireAustria said:
Hi all,
first of all I am pretty much beginner level for Android rooting.
Actually what I want to do is play around a bit with the system files and see if I can find some way to turn off HDMI CEC. There is some post here where someone did this by modifying a file on the Amazon FireTV.
But for starters I am even failing to access the file system via my PC
I have rooted following the tutorials, I have installed ES File Explorer , I have granted root to ES Explorer when the SuperSU popup appeared (and it also shows as being granted in the SuperSU app).
Also I enabled Root Explorer in ES File Explorer.
Then when activating Remote Manager when /sdcard is set as FTP root directory I can access the file system (below /sdcard) via FTP from my PC and do see the files - so FTP access basically works and I am pretty sure there is no issue on the PC side.
However when I set / as FTP root directory and then connect from my PC via FTP (using Total Commander, FileZilla.... the client makes no difference) then I can't see anything at all, it lists an empty directory (or not even that as on an empty directory I'd have the ".." entry and I don't even have that.
Also when I try setting anything else except /sdcard as FTP root directory in Remote Manager in ES File Explorer it's the same thing.
It seems when accessing the file system via FTP I just don't have the necessary privileges to browse the root file system.
Within ES File Explorer itself on the other hand it's no problem to browse everything, there I do seem to have the necessary privileges.
Can anyone help me please, either this is an issue with rooting on the Shield or with ES File Explorer on the Shield or I am making some dummy mistake.
I have searched on Google for hours looking for a solution to this but I hardly even find people having this problem.
So now I am a bit puzzled.
How is one supposed to gain access to the root file system via the PC?
Also how do I get SSH access with root privileges?
tbh this all seems a bit strange to me, I am rooted, but it seems almost impossible to gain access to the root file system from the PC!?
I am also amazed because something like this can be achieved on any jailbroken iOS device by any beginner within 5 minutes without any issues, and I always thought for the much more open Android environment there would be 100s of entry paths and 1000s of tutorials but I seem to find hardly anything at all and after hours and hours of trying and research I still fail even accessing the damn root file system from my PC
Click to expand...
Click to collapse
Are you doing this to just turn off HDMI CEC? You can do that without root on stock in the settings>HDMI
I haven't rooted my Shield TV pro. I prefer it stock with the lean back launcher so I can't help accessing the root file system.
Sent from my Nexus 6P using Tapatalk
Acid0057 said:
Are you doing this to just turn off HDMI CEC? You can do that without root on stock in the settings>HDMI
I haven't rooted my Shield TV pro. I prefer it stock with the lean back launcher so I can't help accessing the root file system.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Well basically yes I am doing this only for the HDMI CEC. It is kind of a big deal in actual usage of my Shield actually.
Apparently there is a bug in the Shield firmware related to HDMI CEC, that for me (and many others) results in this behavior when the Shield TV is connected to an AV receiver.
In my case the Shield is connected to an Onkyo TX-RZ3100 and then from there to a Samsung TV.
HDMI CEC is enabled on both because if it wasn't then the ARC audio return channel wouldn't work (but this is needed, otherwise I won't have audio when watching terrestrial TV which is being received by the Samsung TV).
Now what happens is that whenever I turn on the TV, then the AV receiver also switches on via HDMI CEC (in this case this is wanted and normal behavior).
However when the Shield is connected to the AV receiver (which it normally is), then the Shield will *also* turn itself on and switch the AV receiver to the input of the Shield.
So e.g. if I want to turn on the TV to play with the PS4, then I end up with the Onkyo turning on, showing me the PS4 screen as the AV receiver is switched to the input of the PS4. But then 20s later suddenly the Shield turns itself on and switches the Onkyo to its input.
So the end result is this: whenever I turn on the TV to do anything else (PS4, satellite receiver, HTPC, cable box....) then 20s later the Shield will switch to its input and force me to manually switch back to what what I actually intended to watch.
It looks like the issue was introduced with the 5.x firmware as it didn't happen before.
Now you say I should switch off HDMI CEC via settings - however there are no settings to switch it off unfortunately.
There is no Settings/HDMI (in 5.x) .
What's there is Settings / Display & Sound / Power Control, and there you can switch "CEC TV on" and "CEC TV off", however this only controls whether the Shield will turn on (or off) the TV when switching it on/off - and I have these settings set to disabled. But this doesn't help.
Unless I am missing some other settings there seems to be no way to completely switch off HDMI CEC via the UI.
Ah so turning off CEC TV in the normal settings doesn't solve it. Yes that's the options I did mean. In Display and Sound. Sorry I can't be more help. Maybe try the app Settings Editor in the play store on the shield. It might have the settings to completely disable CEC
Sent from my Nexus 6P using Tapatalk

Categories

Resources