The original thread
secondary thread
i made an app with tasker app factory that enables ethernet
it should work on most if not all phone/tablets that are android 4.x.x up
this app uses:
svc wifi disable
svc wifi enable
svc data disable
svc data enable
#!/system/bin/sh
busybox ifconfig eth0 up
dhcpcd eth0
and some bells and whistles:
start on boot
Two notifications that you tap to turn off/on ethernet
And a notification that will ping google.com to tell you it worked
for this app to work for you you need:
otg cable
usb ethernet adapter
busybox and
root.
root is for
svc wifi disable
svc wifi enable
svc data disable
svc data enable
busybox ifconfig eth0 up
dhcpcd eth0
and see what the app dose in superSU logs
i hope you all like it
the app is in the zip file
............................INJOY!.............................
Bugs you tell me.
feel free to share this to anyone
just spread the word
..........................CHEER.............................
i found an Xposed framework app that Hacks the Connectivity Service
this allow you to use apps that need wifi to run on eth0/ethernet.
i got the app from here
you can also get the app from the Attach Files.
All credit gos to who ever made the app and to Xposed framework that made it possible.
i just tested it and it works well at lest it lets me downlode apps from google play now.
cheer!!
This is the USB Ethernet adapter that I use
Working with:
Note 10.1 2014 edition
Samsung Galaxy Note 2
Samsung Galaxy Note 3
Samsung Galaxy S3
Samsung Galaxy S4
Google Nexus 10
Google Nexus 5
LG G Pad 8.3 works on android 4.4.2
You can get the app from Google play
reserved
I haven't any way to test it but eth0 up as a terminal command definitely allows use of usb Ethernet connection on the n5 if that's what you wanted to know?
Sent from my Nexus 5 using Tapatalk
rootSU said:
I haven't any way to test it but eth0 up as a terminal command definitely allows use of usb Ethernet connection on the n5 if that's what you wanted to know?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
busybox ifconfig eth0 up
dhcpcd eth0
Then this will work
Then I will add it to the working devices
USBhost said:
busybox ifconfig eth0 up
dhcpcd eth0
Then this will work
Then I will add it to the working devices
Click to expand...
Click to collapse
Works perfect. Got a Ping response with USB OTG -> Apple USB Ethernet Adapter.
=)
V1.3.3
Added the super user permissions. So the su won't say not declared in xml.
Added a new notification that uses ping. So far no bugs.
Restored start of the app root Will be called. That will fix some hiccups.
Fixed the bug if you turned off wifi then reboot the enable notification will appear.
V1.3.4
Did some changes to the ping
Added: a fail safe that you will not accidentally enable eth0 without the usb ethernet adapter connected
Also it will tell you if your device will work with the app. If it won't enable then it won't work.
But some devices may still work on a newer android version?
Nexus 7 (2012) and Nexus 5 both working.
Adapter: http://www.amazon.com/Plugable-Ethernet-Network-Chromebook-Specific/dp/B00484IEJS/ref=sr_1_6?s=electronics&ie=UTF8&qid=1398743706&sr=1-6&keywords=android+ethernet
Nexus 7 with cm-11-20140425-UNOFFICIAL-temasek-grouper-V72 rom, cifs.ko and kernel (boot-otg.img) from https://drive.google.com/folderview?id=0B934_1tz5sgXdDFTZUxNQ1RvUm8&usp=sharing&tid=0B934_1tz5sgXSlJKVkNOUFpabzA
Nexus 5 with latest Carbon and ElementalX-N5-0.38.
Nexus 7 was the hardest since OTG is utterly broken on almost every ROM. Must use CM based rom and above kernel and cifs module for the kernel or it wont work.
Tested on Ethernet network, can log into hard line router and managed switch.
The reason why I won't put the nexus 7 2012 in working devices because it has the ethernet driver.
Had to do that to get the N7 to see external and network HDDs. Biggest complaint is probably from people not reading that you have to install busybox first or it won't work. You should repost a neg comment if it includes they cant find where to put the ethernet cable in their phone just for laughs.
dvdivx said:
Had to do that to get the N7 to see external and network HDDs. Biggest complaint is probably from people not reading that you have to install busybox first or it won't work. You should repost a neg comment if it includes they cant find where to put the ethernet cable in their phone just for laughs.
Click to expand...
Click to collapse
Lol
V1.4
Added: a notification that will tell you your inet ip address.
Added: a flash text that will tell you if your phone Seese the usb ethernet adapter.
Changed: ping a little bit.
Changed: ping dose not run as root any more test. Cheer!
Changed: some flash text to go with some of the most recent changes.
Maybe some more that I don't remember.
V1.4.1
Added: you can stop the app by turning your device upside down.
Changed: the ip notification will now not disappear anymore.
Removed: some flash text that made the app messy.
V1.4.2
Fixed: the IP notification not displaying.
Did some rearranging of events.
V1.4.3
Changed: the ip notification now it's in the disable notification now.
Changed: the event order when you enable it so you won't get a flash text that did not happen.
I'm running out of ideas of what to change.
anything you want me to add or change?
V1.4.4
Fixed: the disabe notification not disabling or repeating the enable event. Cheer!
Changed: app icon to something nicer.
Changed: updated flash text.
Changed: event order again.
v1.5
Changed: the enable notification to be invisible in the status bar. So it will no longer full it up.
Changed: one flash text.
Removed: one flash text.
Removed: upside down stop app.
Added: a new notification that, when you start the app it allows you to stop the app.
Cleaned: up some things.
USBhost said:
v1.5
Changed: the enable notification to be invisible in the status bar. So it will no longer full it up.
Changed: one flash text.
Removed: one flash text.
Removed: upside down stop app.
Added: a new notification that, when you start the app it allows you to stop the app.
Cleaned: up some things.
Click to expand...
Click to collapse
Any way of using a static IP with this and if so, how?
dvdivx said:
Any way of using a static IP with this and if so, how?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=51592536&postcount=1
Related
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 ▌█▐
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="]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.
How can i enable Bluetooth-PAN Tethering for internet access?
Like Xoom and Transformer?
I dont see the connect to internet under the profile.
Am I the only one interested in Bluetooth reverse tethering?
It is way better then using WiFi, Battery last a lot longer on both your phone and tablet, I dont get why Acer does not just enable this! what do they have to lose on it.
Please anyone that knows how to Make roms, can you make a patch to enable this on all roms? it looks like all we really need i just the profile.
cyberma007 said:
Am I the only one interested in Bluetooth reverse tethering? ...
Click to expand...
Click to collapse
Nope, there are alot of people interested, that's why there are around four current threads going about it. No joy yet.
So I did some digging and it looks like google uses http://www.bluez.org/ for their Bluetooth tethering, I am not a program, but all source code and apps are in there, can someone please make a package if possible?
Thanks
Reverse tethering needs work to integrate it better with android..
From the linux side if you run as root (at the command line or in a shell script):
Code:
pand --connect XX:XX:XX:XX:XX:XX
sleep 3
dhcpcd bnep0
setprop net.dns1 8.8.8.8
will connect you to the paired device with ID: XX:XX:XX:XX:XX:XX
(You can probably find the ID for the paired device by name by running as root:
`cat /data/misc/bluetoothd/??:*/names`)
In a post of mine on google plus referring to tethering the Icona A500 through the new pan feature in the HTC Dream ezGingerbread rom I mention a problem I'm having with this however:
This will properly set up networking; and allow basic networking tasks such as browsing the web work.. however any sync tasks will still believe the device is offline thus sync updates and market downloads will not happen.
* FYI the sleep command is really only for automation; dhcpcd will fail if pand is still connecting;
i tried it i get permission denied when i try to execute pand commands
and yes i am su #
i think it has to do with the new ROM 3.2 from 501, because even in adb when i do shell i get access denied.
cyberma007 said:
i tried it i get permission denied when i try to execute pand commands
and yes i am su #
i think it has to do with the new ROM 3.2 from 501, because even in adb when i do shell i get access denied.
Click to expand...
Click to collapse
check /system/bin if the binary exists (I'm still on 3.1).. if not you may need a copy from somewhere
i gave up on the original rom and replace my rom with PRIMEE_AcerIconia-p9-5a.zip
i lose the rear camera, but i dont use it anyway
I have the same problem.
In the other ROMs, I can pair a bluetooth device like my iPhone 4, configure this device pressing settings button and in a section called profiles must be appear "internet".
How can I solve it?
Sorry for my bad english.
I Install nook bluetooth tether.
it works well, you need to pair first and then add widget and activate.
the app was writen for gingerbread so widget acts up, you can activate, but if you try to deactivate you need to go to setting\application and stop the app.
here is the app
https://market.android.com/details?id=earlmagnus.nctether
About BT PAN
In custom rom PRIMEE based on Asus Transformer 8.6.5.6 with my mobile SE W660i Bluetooth PAN works fine.
Yes it does but rear camera stops working
Is there any way to send the nook color display to a TV? With hdmi cable or wirelessly?
Is there an app that allows mirroring the display possibly?
Nook Color rooted CM7, Phiremod returns
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
HDMI is not possible. See http://forum.xda-developers.com/showthread.php?t=1287410.
gryphon101 said:
Is there any way to send the nook color display to a TV? With hdmi cable or wirelessly?
Is there an app that allows mirroring the display possibly?
Nook Color rooted CM7, Phiremod returns
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Click to expand...
Click to collapse
Chrome cast works, but only with apps that support it
Streaming.
I second Chromecast. The list of supported apps as well as the contents of anything in the Chrome browser are usable with more coming soon.
f1jim
If you have a ROKU the twonky beam app will send videos to your TV
Have you tried the 'Cast Screen' feature in cm11 aka Miracast in KitKat? You will need a Miracast enabled LCD/led TV. Amazon sells Miracast HDMI dongles. Go to settings, display, cast screen. There you will see Miracast TV to pair and send wireless content. I don't know if direct wi fi is enabled on the nook color yet.
Edit: WPA supplicant has p2p disabled. Missing p2p supplicant (config_p2p=y). Tried connecting to my sister's Sony 42" LED Bravia which is Miracast enabled, but no joy. See second pic.
http://wireless.kernel.org/en/developers/p2p/howto
Senior xda member s107ken has enabled Miracast for the Nexus line.
He has a great write up in his github here. He includes code for the WFD (wifi display) settings menu, modifications to framework (av and base) to modify the Nexus tablets. This might be helpful to enable Miracast for the Nook Color. As mentioned in my post above, the nook color doesn't have p2p configured in the wifi supplicant. It's one thing to be able to connect to a Miracast enabled receiver (TV, projector). It's another thing to be able to stream wireless content mirroring the nook color to the receiver. Most Miracast dongles connect to the HDMI port of the receiver. Don't know if there are USB3.0 versions. These dongles use H.264 video codec for 1080hd/5.1 Dolby Surround.
Here are the results of my attempt to add wifiP2P and WifiDisplay to the nook color
Wifi doesn't turn on in the settings menu. WPS and add buttons don't work. Everything is greyed out in the 3 dot menu except the advanced tab. There were a bunch of messages about "missing translation" in Koush/Superuser folder when compiling the wifi.display.settings.java for the settings UI. I suspect these errors are the cause. I also attached dmesg from wifi and p2p trying to connect to my AP. Address Conflict.
Remote submix is added to audio policy and hardware.
android.hardware.wifi.direct.xml is added to permisions
DirectWifi section is added to init.encore.rc
I have not made changes to video code.
See the pics attached for the file names and code additions I made. I also need to look at the wpa_supplicant to see if it is configured for AP and P2P.
Here is my second attempt to miracast the nook color.
I started this time with CM-11-Snapshot-M6. My previous attempt was made on an unofficial compiled ROM with modifications made to init.encore.rc, but there was a conflict with wifi and p2p due to the single-role firmware loaded (wl127x-fw-4-sr.bin ver. 6.3.10.0.139). Removing the single-role firmware does not work. There is an error message in dmesg stating wl12xx cannot find wl127x-fw-4-sr.bin. To get the multi-role firmware wl127x-fw-4-mr.bin ver 6.5.7.0.47 to load, I stashed the single-role firmware, copied and renamed wl127x-fw-4-mr.bin to wl127x-fw-4-sr.bin and pasted to /etc/firmware/ti-connectivity/ (see dmesg pic). Rebooted. Wifi is working at this point. I'm connected to Netgear86. My sister's Sony Bravia tv is direct wifi capable (see wifi settings pic). Without making modifications to init.encore.rc, I used terminal in root mode to find the MAC address of the Sony Bravia tv.. The wpa_cli p2p commands were able to find the MAC address (see terminal pic). Wifi is still working at this point. One step closer to miracast for nook color.
Testing with the 5/22 cm-11 nightly yielded the same error message for sr and mr wl12xx firmware.
P2P-GO-NEG-FAILURE status=-1 (see pic).
Peer cannot communicate with AP (softap or hostap). My next attempts will include softapd and/or hostapd in an unofficial compiled build.
Loaded the iw binary compiled for android to check the wifi capablilities of the wl1271 chip. Also used iw to add p2p0. The device capabilities are shown in the pics. I'm using TI reference to add p2p. Looks like nook color has p2p capabilities.
Great findings so far!
I added hostapd to the BoardConfig.mk file and compiled the ROM. CM-11 and hostapd do not play nice together. The quick settings rollup panel does not respond to pull down. I copied the hostapd binary and hostapd.conf files from the target out bin folder and pasted into my working copy of CM-11 5-22 nightly. I ran hostapd and p2p scripts using terminal as root. The results are below (see screen pics). The interface p2p0 comes up but does not connect (3rd pic). Stay tuned.
Edit: The sockets wlan0 and newly added p2p0 have permisissions set at wifi wifi. That's why the terminal returned an error (3rd pic last line). Will add to init.encore.rc and see what develops.
I did more testing today. The results are shown in the pics attached. The p2p0 socket is created. The p2p0 interface is still not connecting to wpa_cli. I suspect wifi.c is the culprit. It has a 2008 copyright. I will see if I can find an updated version. The p2p commands work with the wlan0 interface, but we need it to work on p2p0 interface.
While searching for a newer version of wifi.c, I stumbled upon something interesting. It seems there were some changes made to wifi.c to allow using p2p0 as a secondary interface for a p2p connection. These changes were made by Hashcode on December 15, 2012 and Irfan Sheriff on December 27, 2011. The wifi.c file in CyanogenMod github does not have these changes. Do they not work? I do not know. If they do work, why weren't they added to CyanogenMod's github? Is that the reason none of CyanogenMod builds have p2p? I have attached screen shots of my findings.
Shifting gears. Leaving miracast in my rear view mirror. Moving forward to chrome cast here
http://forum.xda-developers.com/har...experimental-enable-mirroring-device-t2812193
http://forum.xda-developers.com/showpost.php?p=54195946&postcount=761
I bought a Favi FE02BT-BL mini bluetooth remote and no matter what I did, I couldn't get it to connect through the settings.apk even thou people with the FireTV Stick are able to connect.
This took me to the command line to try a few things so this is as far as I could get.
Fist lets connect to the FTV and enter su
adb connect x.x.x.x
adb shell
$ su
Next we're going to remount the system as rw and download some files to the system
# mount -o remount,rw /system
# cd /system/xbin
# wget http://androidobex.googlecode.com/files/hciconfig
# wget http://androidobex.googlecode.com/files/hcitool
# wget http://androidobex.googlecode.com/files/hidd
# chmod 777 hciconfig
# chmod 777 hcitool
# chmod 777 hidd
# cd /
# mount -o remount,ro /system
Now we can run some commands
# hciconfig
hci0: Type: UART
BD Address: xx:xx:xx:xx:xx:xx ACL MTU: 1021:8 SCO
UP RUNNING PSCAN INQUIRY
RX bytes:41121 acl:373 sco:0 events:1628 errors:0
TX bytes:14569 acl:401 sco:0 commands:666 errors:0
# hcitool dev
Devices:
hci0 xx:xx:xx:xx:xx:xx
On the FireTV go to the settings.apk and go to the bluetooth menu and hit scan
Set your remote to discoverable
# hcitool scan
Scanning
11:11:11:11:11:11 Bluetooth FAVI
#hidd --connect 11:11:11:11:11:11
The light in your keyboard should stop blinking and the keyboard should be connected
THE BAD:
- Mouse pad doesn't work
- Connection is lost when keyboard enters sleep
- Does not reconnect automatically
Any one with better knowledge of Android can probably get this to work 100% so any help would be appreciated.
I was also searching for a way to use my iPazzport Bluetooth keyboard with my Fire TV box, and after several dead ends I finally figured out a working solution! Unfortunately this requires root, but both the keyboard and integrated touchpad seem to function perfectly, and so far it has had no problems reconnecting after waking from sleep. This may also be useful for other Bluetooth devices that will accept a PIN of "0000".
For reference, my Fire TV box is running rbox's pre-rooted 51.1.4.0 ROM and I'm using an iPazzport KP-810-10BTT keyboard.
The first step is to sideload the Settings APK mentioned in several other threads on this forum. Open the app and go to the Bluetooth section. Put your keyboard into pairing mode, press "Scan for Devices" and ensure that it shows up in the list of available devices. Select your keyboard from the list to begin pairing and then press cancel when you see the prompt to enter a PIN.
Connect to your Fire TV using adb, open a shell and run this command:
Code:
logcat -d | grep BTConnectionReceiver
You should see several lines that include "BluetoothDevice: address=<XX:XX:XX:XX:XX:XX>, alias=null, name=<keyboard name>". The XX:XX:XX:XX:XX:XX part is the Bluetooth address of your keyboard. Make note of the first half of this address, you will need it for the next step. For example, the first half of my keyboard's address is 54:46:6B.
Next, in your adb shell, type:
Code:
su
echo FixedPinZerosKeyboardBlacklist=XX:XX:XX > /data/misc/bluetooth/dynamic_auto_pairing.conf
Replace XX:XX:XX with the first half of your device's Bluetooth address. Make sure to use uppercase letters if the address contains any. You can use multiple addresses by separating them with a comma, like this: XX:XX:XX,XX:XX:XX
Now reboot your Fire TV, go back into the sideloaded Settings app and select Bluetooth. Make sure your keyboard is in pairing mode and press "Scan for Devices". Select your keyboard from the list and when you see "Pairing..." under its name, quickly type four zeros (0000) on your Bluetooth keyboard and press "enter". It should now successfully pair and begin working right away. Enjoy!
If the settings app gives you a PIN to type on your keyboard instead, then something went wrong and you should make sure that you followed all the directions carefully and used the right Bluetooth address, using all uppercase letters.
essdee said:
Code:
su
echo FixedPinZerosKeyboardBlacklist=XX:XX:XX > /data/misc/bluetooth/dynamic_auto_pairing.conf
Click to expand...
Click to collapse
Thank you, that worked perfectly with the exception that "logcat" wasn't returning any values so I had to use the "hcitool scan" command from my post.
Weird, I got a bunch of messages in logcat when I tried it on my box, but only after I tried pairing at least once. I also have busybox installed, so that might make a difference too. Glad someone else found the info useful though.
essdee said:
Weird, I got a bunch of messages in logcat when I tried it on my box, but only after I tried pairing at least once. I also have busybox installed, so that might make a difference too. Glad someone else found the info useful though.
Click to expand...
Click to collapse
I have busybox installed as well and I think the reason I don't get anything back is maybe the process name after grep is incorrect.
If I type
Code:
logcat -d | grep Bluetooth
I get a bunch of messages but not with BTConnectionReceiver
essdee said:
The first step is to sideload the Settings APK mentioned in several other threads on this forum.
Click to expand...
Click to collapse
Where can we get this Settings.APK?
Neo3D said:
Where can we get this Settings.APK?
Click to expand...
Click to collapse
Take a look at this thread:
http://forum.xda-developers.com/showthread.php?t=2714494
Hi All,
This seems to be exactly what I need, but I just purchased my AFT and have not been successful in root it. Is there another way of getting this to work (other than obviously purchasing another mini keyboard)?
Thanks,
Jose
josep01972 said:
Hi All,
This seems to be exactly what I need, but I just purchased my AFT and have not been successful in root it. Is there another way of getting this to work (other than obviously purchasing another mini keyboard)?
Thanks,
Jose
Click to expand...
Click to collapse
I don't know of anyway to do it without root.
Why are you unable to root? Did you update the box?
Try to return it and get a new one but this time go to http://www.aftvnews.com/start/ before you plug in the box.
lightning413 said:
I don't know of anyway to do it without root.
Why are you unable to root? Did you update the box?
Try to return it and get a new one but this time go to ... before you plug in the box.
Click to expand...
Click to collapse
It is my understanding that firmare versions past 1/1/15 can no longer be rooted. At least not yet. I looked at the version I have and it does not show up as one of the "rootable" versions.
josep01972 said:
It is my understanding that firmare versions past 1/1/15 can no longer be rooted. At least not yet. I looked at the version I have and it does not show up as one of the "rootable" versions.
Click to expand...
Click to collapse
I bought one a couple of weeks a from Staples and it was rootable.
lightning413 said:
I bought one a couple of weeks a from Staples and it was rootable.
Click to expand...
Click to collapse
I guess no such luck with me... Any other ideas?
lightning413 said:
I bought one a couple of weeks a from Staples and it was rootable.
Click to expand...
Click to collapse
No such luck for me. Any other ideas?
Thanks,
Jose
josep01972 said:
No such luck for me. Any other ideas?
Thanks,
Jose
Click to expand...
Click to collapse
The only one I can think of is to get a FireTV Stick instead of the FireTV.
Eventhou the Stick can't be rooted, they can connect the bluetooth keyboards through the settings.apk app without any issues.
lightning413 said:
The only one I can think of is to get a FireTV Stick instead of the FireTV.
Eventhou the Stick can't be rooted, they can connect the bluetooth keyboards through the settings.apk app without any issues.
Click to expand...
Click to collapse
Thanks for your answer. Has anyone figured out why that is? Is Settings.apk at fault, or does it call some faulty routine that takes over?
Regards,
Jose
I have a bluetooth accessorie kb for my old galaxy 7510 tab. Wonder if I can use for my fire tv?
josep01972 said:
Thanks for your answer. Has anyone figured out why that is? Is Settings.apk at fault, or does it call some faulty routine that takes over?
Regards,
Jose
Click to expand...
Click to collapse
I've spent some time digging around in the Bluetooth configuration files for both the box and the stick, and here's my theory. Although the box and stick run mostly the same software, due to major hardware differences they each use a different Bluetooth stack.
For whatever reason Amazon thought it would be easier/better to use BlueZ with the Fire TV box version even though by default Android 4.2+ comes with BlueDroid(which is what the stick appears to use). It looks like Amazon made BlueZ work well enough for their accessories, but since none of them use a PIN, that part of Bluetooth pairing never got fixed.
essdee said:
The first step is to sideload the Settings APK mentioned in several other threads on this forum. Open the app and go to the Bluetooth section. Put your keyboard into pairing mode, press "Scan for Devices" and ensure that it shows up in the list of available devices. Select your keyboard from the list to begin pairing and then press cancel when you see the prompt to enter a PIN.
Connect to your Fire TV using adb, open a shell and run this command:
Code:
su
echo FixedPinZerosKeyboardBlacklist=54:46:6B > /data/misc/bluetooth/dynamic_auto_pairing.conf
Now reboot your Fire TV, go back into the sideloaded Settings app and select Bluetooth. Make sure your keyboard is in pairing mode and press "Scan for Devices". Select your keyboard from the list and when you see "Pairing..." under its name, quickly type four zeros (0000) on your Bluetooth keyboard and press "enter". It should now successfully pair and begin working right away. Enjoy!
Click to expand...
Click to collapse
This just worked perfectly for me and the FAVI FE02BT-BL. I used the FireTV-Bluetooth-Settings.apk from here http://forum.xda-developers.com/showpost.php?p=58092814&postcount=54
Using this just saved me from returning this device to Amazon! Even the touchpad works. I was just about to return this for the RF version, but now this frees up the USB port for other uses.
post #2 worked perfect for me. I was able to get the bluetooth address off the back of my keyboard and didn't have to run the logcat commands etc. Took literally <1 minute to install the settings.apk and run command, a reboot and <1 minute to pair the keyboard.
Touchpad and keyboard work for me.
Using the Logitech PlayStation 3 Cordless MediaBoard Pro.