PK5 bluetooth tethering possible? - MTCD Android Head Units Q&A

Wife's new unit is behaving poorly on wifi tethering to her Verizon (bootloader locked) non-rooted LGV10. Even with VPN, VZ is able to throttle the hotspot to 600kb/s. Short of rooting her phone or replacing it with an unlocked version, I'm hoping to sidestep the tethering limit with BT. I suspect the BT tethering doesn't have those limits since the original stock Toyota Entune head unit used it to pull data for the native apps (including the no-longer-supported Pandora app).
I'm guessing given the ass-backwards way the BT phone dialer and OBD pairing is performed, it's probably asking too much. But if anyone knows of a hack to add it, I'd be grateful...

Related

[Q] Bluetooth tethering & USB Keyboard support

I know that the CM 6.1 supports the USB Keyboard/mouse, but what are the odds of getting the Bluetooth DUN tethering support ported over from the Archos 101 and 70 devices? Would love to hear some insight from the devs about the feasibility of having such a feature. I would love to leave my EVO tethered to the GTab over Bluetooth instead of Wifi. It would be a huge battery saver when I'm away from home/office wifi connection.
Also, USB Keyboard/mouse as a part of TnT? Possible? Worth it? Not worth it?
I second the above. BT stays on 24/7 on my phone, it would be much easier, and ideally we could eventually come up with some sort of on-demand script or app that keeps the BT DUN profile active, without battery drain on the cell.
With this in place, the gTab could connect and disconnect to the cell phone as needed, just like DUN should be. Best case scenario is to not even have to do anything on the phone, just enable BT on the gTab (or leave enabled as desired) and do some activity that accesses the internet. This would trigger a BT DUN connection to the phone, which disconnects after a certain period of inactivity (or manually, as desired).
If I knew a damn thing about how to program, this is what I would be trying to create.
That said, I'm a willing guinea pig.
Really? No one else is interested in this?
I know one of you guys out there has a rooted phone with wireless tether. I'm just starting down the root road. I have a Dinc, but it's been factory since I got it... and will be until the weekend, the gTab has whetted my whistle for root freedom.
What happens when you try to pair your gTab with your phone while it's got BT Tether activated? Any BT DUN profile goodness?
P_6 said:
What happens when you try to pair your gTab with your phone while it's got BT Tether activated? Any BT DUN profile goodness?
Click to expand...
Click to collapse
I'll try it out and let you know.
Bluetooth Tethering a High Wish List Item
For me, getting the tablet to tether via bluetooth to my Blackberry Tour would be a high priority wish list item. I am completely in the dark with this stuff but I can tether my PC to my Blackberry so I should in theory be able to tether and use the network connection. I realize that most folks here probably have an Android-base smartphone, but my company makes me carry around their smartphone (and has the decency to pay for unlimited data plan). If I could get the tablet to work from the BB's network connection I would be almost complete on my wish list. I have gotten to the point of paring the two devices (but can't seem to get them to connect). I am using tnt lite 2.02 and my 9630 device has v 4.7.1.40 with 3G, CDMA connections.
Indeed, the hope would be that the BT stack within the gTab can take advantage of BT Dial up networking or Personal area networking profiles. Then we would be good to go. If not now, hopefully we can find a way to get that to work.
Really? No one care about Bluetooth Tether on this device?
You don't have to ask me twice Oops, you did.
I am extremely interested in a Bluetooth tethering solution for the gtab. It's the only way I will be able to get a 3G connection from my phone that won't be policed at work (non-corporate wifi hotspots are monitored).
I have a Nexus One Adnroid phone (running Froyo 2.2.1). I use the Wifi hotspot feature when I want hop online with my G-Tab (my work monitors wifi, as well but I only turn it on as I need it.) I can't speak for BlackBerry phones but any "rooted" Android phone should be able to act as a 3G/4G hotspot.
Wifi tethering should be faster, but USB tethering and keyboard & mouse support are needed and should work in the first place. (keyboard and mouse support at least should).
Need a program like http://android.gval.biz/ or ibluever for iphone/itouch then the g tablet would be my laptop replacement for traveling .
nicholas621 said:
Need a program like http://android.gval.biz/ or ibluever for iphone/itouch then the g tablet would be my laptop replacement for traveling .
Click to expand...
Click to collapse
I've tried to run this on VEGAn ROM, configured but at the moment when It suppose to scan for Channels, it exits of message "Failed To connect to SDP server on device Blackberry 9000".... ideas?
nicholas621 said:
Need a program like http://android.gval.biz/ or ibluever for iphone/itouch then the g tablet would be my laptop replacement for traveling .
Click to expand...
Click to collapse
Are you looking for DUN over BT? If so, have you tried this:
http://www.appbrain.com/app/pdanet/com.pdanet
Jim
I believe PDAnet requires client windows/mac software, and they haven't written client Android software.
I haven't seen anyone port the Archos home-grown BT tether to any other brand. BT tether isn't part of Android (I'm betting the cellcos in OHA demanded it not be built).
My wife has Joikuspot on her phone, so she wifi tethers on the G-tab.
I have unlimited bluetooth data, so I bought an Archos.
ml_boston said:
I believe PDAnet requires client windows/mac software, and they haven't written client Android software.
Click to expand...
Click to collapse
You are right PDANet wont work as no client for Android, but from my experience listed above blackberry refusing connections.... or may be GTab just doesn't opening connection properly.
When I check GTable BT device property from Blackberry side it can do only:
Handsfree Audio Gateway
Headset Audio Gateway
Object Push
AV Remote Control Target
.... there is no DUN in the list, so I suspect it just not supported by BT stack on device.... but also I have in same my laptop listed as well which doesnt have DUN in its services

Tether blackberries?

Anyone have any ideas on if tethering a blackberry would work? I have a Verizon BB Bold 9870 with full data and tethering and would love to tether in (would it require a custom rom?)
Ideas?
Thanks
AFAIK, Blackberry tethering is done via bluetooth DUN only, not wifi.
So far, no one other than Archos seems to have written bluetooth DUN client software for Android.
My phone has unlimited bluetooth DUN, so I'm buying an Archos.
My wife's phone has unlimited hotspot, so she's happy with the G tab.
Moved to general
Thank you for moving and call me crazy but the app PDANET enables bluetooth DUN.
You're crazy At least I couldn't get pdaNET to play nicely with my BB. I actually got them to connect but I couldn't get the GTab to use the BB as a modem. I think the issue is that the pdaNET software is used to enable the android based phone as a modem as well as enable the BB as a modem but what is missing is software for the tablet or settings to tell it to use the signal as a network connection (to do dial up networking as it were).
If you have a step by step tutorial that explains how the pdaNET works on the GTab and connects to the BB's network then please post it. I am sure there are many folks who would like to know exactly how to get this to work.
Otherwise you are crazy (said with affection 'cause I am driving myself crazy trying to figure out how to do this).

[Q] Is it possible to have a Local WiFi Hotspot

Is it possible to have a Local WiFi Hotspot? I have a Galaxy S5 with Verizon. Ever since I upgraded I have been struggling on a 6gb data plan. I own an iPad and an Apple TV and wanted to do wireless airplay for presentations. Of course Apple TV requires a WiFi connection to airplay so I was wondering if there was a way to make a local wifi hotspot on a device without using the internet? It would be like having a wireless router that isn't plugged into a modem. I have never seen this brought up before so I figured I might as well see if it is even possible. What do you guys think?Am I crazy for wanting a local hotspot or does this peak anyone interest to explore?
sake40 said:
Is it possible to have a Local WiFi Hotspot? I have a Galaxy S5 with Verizon. Ever since I upgraded I have been struggling on a 6gb data plan. I own an iPad and an Apple TV and wanted to do wireless airplay for presentations. Of course Apple TV requires a WiFi connection to airplay so I was wondering if there was a way to make a local wifi hotspot on a device without using the internet? It would be like having a wireless router that isn't plugged into a modem. I have never seen this brought up before so I figured I might as well see if it is even possible. What do you guys think?Am I crazy for wanting a local hotspot or does this peak anyone interest to explore?
Click to expand...
Click to collapse
is is possible to have the hotspot running on the phone and data turned off, but i dont know what effect that would have on other transfers through the wifi.
only reason i know this is because i just started using ds battery saver app the other day, and i use the hotspot on my phone a lot. i have it set to turn off mobile data when the phone is off, well this poses a problem as the hotspot is still broadcasting but i have no internet connection. fortunately the developer had already thought of this (for streaming music etc, same issue) and put an adjustable bandwidth sensor on the app, so it wont cut off data when the screen turns off is there is a certain amount of transfer present.
i kinda went a little off your topic, but i thought it relevant to explain how i know it is possible for the nay sayers.
bweN diorD said:
is is possible to have the hotspot running on the phone and data turned off, but i dont know what effect that would have on other transfers through the wifi.
only reason i know this is because i just started using ds battery saver app the other day, and i use the hotspot on my phone a lot. i have it set to turn off mobile data when the phone is off, well this poses a problem as the hotspot is still broadcasting but i have no internet connection. fortunately the developer had already thought of this (for streaming music etc, same issue) and put an adjustable bandwidth sensor on the app, so it wont cut off data when the screen turns off is there is a certain amount of transfer present.
i kinda went a little off your topic, but i thought it relevant to explain how i know it is possible for the nay sayers.
Click to expand...
Click to collapse
I just tried it out and I can get the hotspot to activate with data on and then go turn data off and it won't automatically turn off my hotspot. I will have to try it with the Apple TV in a few days and see how well it works.

Portable hotspot issues with car wifi

Hi,
I've joined this forum to try and get some help with this along with any future issues as it looks like there's a smart bunch of people on here...
Please do move this to the appropriate area if I've put it in the wrong place.
I have a Samsung Galaxy S7 on a UK 'Three' contract.
However I recently bought a new car which has a WLAN feature - basically what it does is connects to your phone's portable hotspot, then broadcasts that internet connection on it's own in-car hotspot for passengers to connect to.
The benefit (because at first glance you think "why bother - why not just connect those devices straight to the phone's hotspot?") is that once the car connects to your phone's hotspot it uses the car's antenna to receive data etc which means you get a stronger and more consistent data connection.
So, the issue:
My portable hotspot works fine when connecting a device such as laptop/iPad etc directly to the phone.
However when I connect the car to my personal hotspot, and then a device to the car, it all connects up okay but I get errors on the end-user device saying that there's no internet connection.
I have done quite a lot of testing with this - for example in the following situations it works perfectly for the end-user devices - just never with my S7!!
- Connecting the car to my girlfriend's iPhone SE hotspot (on the same network)
- Connecting the car to my friend's S7 (on the same network?!!)**
- Connecting the car to my home WiFi whilst on the drive
**Interestingly, my friend's S7 was bought separately so had a pure Samsung build on it - mine came from Three so had a load of Three crap on it.
So, to tackle that, yesterday I did a cache wipe and factory data reset, then entered download mode and using Odin, loaded on the latest version of Nougat including all the new BL/AP/CP/CSC files.
Then me and my friend swapped SIM cards to see if that could be the issue, we tried using both phones. None of it worked, and now even his phone with his SIM card in it (which previously worked) no longer works with the car's WLAN.
It still doesn't work and it's driving me mad
Today I'm going to try messing with APN settings because I've read that changing the APN type to just "default" has solved some similar issues to this but without the 'middle-man' car in the middle.
I've also called Three and asked them to send me a replacement SIM card.
I'm sure it is NOT the car that's the issue, as it has worked fine on some devices.
I'm sure it is NOT the Three network that's the issue, as it has worked on 2 other devices on that network.
I suspect it's either some sort of config that needs changing, or the hardware of the phone is faulty.
I have a "remote management session" with Samsung support later today, but I don't expect them to be able to help with this remotely
Any thoughts or ideas here would be greatly appreciated, I'm sorry I've written so much but wanted to include all the info.
Thanks, Andrew

Question USB/Bluetooth tethering?

No, not wifi. Apparently I can't do auto wifi tethering in Android 11 (my phone) without root on the phone.
I don't want to have to manually enable hotspot every time I get in the car.
Has anyone figured out a way to get the USB or Bluetooth tethering to work on these units?
My phone says USB tethering enabled. I get the notification in the window shade, but nothing on the unit.
What kind of phone? On my Samsung, I use the Bixby stuff which is like Tasker and Macrodroid. It's built-in so I tried it and works well enough. I have a routine that turns on my Wifi hotspot automatically when the phone connects to my car head unit through Bluetooth. The hotspot automatically shuts of when there have been no device connected for a certain amount of time. I think that's an Android setting.
In another thread, it was suggested that this app was working fine and stable:
Bluetooth Tethering Manager - Apps on Google Play
Sharing the internet connection's never been so easy.
play.google.com
That was for a different head unit. Give it a try and let us know how it works.
mastrv said:
What kind of phone? On my Samsung, I use the Bixby stuff which is like Tasker and Macrodroid. It's built-in so I tried it and works well enough. I have a routine that turns on my Wifi hotspot automatically when the phone connects to my car head unit through Bluetooth. The hotspot automatically shuts of when there have been no device connected for a certain amount of time. I think that's an Android setting.
In another thread, it was suggested that this app was working fine and stable:
Bluetooth Tethering Manager - Apps on Google Play
Sharing the internet connection's never been so easy.
play.google.com
That was for a different head unit. Give it a try and let us know how it works.
Click to expand...
Click to collapse
Maybe I'm overthinking it then. The hotspot option seems to work on my phone fairly well. I set it to never timeout . Only connect to my cars MAC address.
However when I connect to wifi it turns the hotspot off. So I have to manually re-enable it.
I tried using macrodroid once before to turn hotspot on when Bluetooth connects, but it doesn't seem compatible with Android 11's security setup.. Without root and tasker.
The Bluetooth tether sort of worked initially. Once I got to driving, it kept cutting off and then eventually stopped giving the HU access at all, even though both servers were running on the phone and unit.
The other Bluetooth tether I've tried didn't work at all
@watson540 When I'm modifying the Bixby routine for turning on my phone's hotspot, it doesn't let me do anything with the wifi connection. It thinks they're related somehow and that wifi should be off when the hotspot is on. In any case, I have wifi off on my phone when my head unit is connected to my phone's hotspot. All works fine.
mastrv said:
@watson540 When I'm modifying the Bixby routine for turning on my phone's hotspot, it doesn't let me do anything with the wifi connection. It thinks they're related somehow and that wifi should be off when the hotspot is on. In any case, I have wifi off on my phone when my head unit is connected to my phone's hotspot. All works fine.
Click to expand...
Click to collapse
That is default Android (look on Android developer). On a hotspot you create a WiFi hotspot and share via mobile data. That is why you can't use WiFi at the same time.
There are very few phones that really can share the WiFi itself. As such this is logical. If there is WiFi, why can't the other phone connect to that WiFi?
It is designed for places where there is no WiFi, but where at least one phone has mobile data which it can share.
That it works differently on Linux, MacOS, ChromeOS and Windows is something else. These devices mostly don't have mobile data at all as they are not phones.
Yes. A phone only has one wifi chip. It can use it to be a client or a server, but not both at once.
That's why enabling hotspot turns wifi off. Enabling wifi turns hotspot off.
The challenge is.. In Android 11 (without Bixby)... How to enable hotspot through some app. Macrodroid can't do it. The app where you create "flows" isn't capable either. I THINK tasker would do it, but only with root from what I previously read. I can't get root because my bootloader is locked.
That's why I was shooting for Bluetooth or USB tether.
It's frustrating because Bluetooth tether in a baked in option in Android 11,as is USB tether.. But the head unit doesn't recognize it or use it.
watson540 said:
The challenge is.. In Android 11 (without Bixby)... How to enable hotspot through some app. Macrodroid can't do it. The app where you create "flows" isn't capable either. I THINK tasker would do it, but only with root from what I previously read. I can't get root because my bootloader is locked.
Click to expand...
Click to collapse
Since 4-5 months I have Samsung A52 on Android 11. Macrodroid just works fine with enabling the hotspot when my phone connects to the head unit on bluetooth. No root necessary. Thanks to the mentioning about Bixby a few days ago, I am now doing it with Bixby Routines, using an old unit on the bench as I am still waiting for my new unit for my "new" car.
With regard to bluetooth tethering to this unit. Already in 2015 lbdroid (who goes under at least 5 synonyms) wrote his blutoothTethering apks. It works with installing the app on your phone AND on the unit. See his github and his blogpost. I have used it on my first and second unit, and purely out of laziness I simply used WiFi tethering on my 3rd and 4th unit.
(And yes, blutooth is spelled correct when I refer to his apk).
Okay, so I got USB tethering to work and it's beautiful- but bittersweet...
It ONLY works if you reboot the head unit with the USB cable already plugged in. Once you take the cable out, it won't come back if you plug back in. Only with a reboot does it work
@surfer63 - you're the guru around here. How can a trigger be made to enable this on a plug-in of USB?, Or maybe a constant poll every thirty seconds?
surfer63 said:
That is default Android (look on Android developer). On a hotspot you create a WiFi hotspot and share via mobile data. That is why you can't use WiFi at the same time.
There are very few phones that really can share the WiFi itself. As such this is logical. If there is WiFi, why can't the other phone connect to that WiFi?
It is designed for places where there is no WiFi, but where at least one phone has mobile data which it can share.
That it works differently on Linux, MacOS, ChromeOS and Windows is something else. These devices mostly don't have mobile data at all as they are not phones.
Click to expand...
Click to collapse
I agree. I believed that it was supposed to work this way where WiFi can't be used while the hotspot is active. However, on my Samsung A51, I can have WiFi and/or mobile data active at the same time as my hotspot. I turn off mobile data and while my phone is connected to my home router through WiFi, I can create a WiFi hotspot. When I've done this, I can still access the internet and my home network from my phone. I have to connect to my 2.4MHz band in order for it to work as a hotspot on my head unit. If I'm connected to the 5MHz band, my phone shows a warning that some clients, that don't support 5MHz, may not be able to connect to the hotspot.
Having the WiFi active while the hotspot is active only causes an issue for me when I'm connected to my home access point. I have a VPN server running on my home router/network. When I VPN from my phone to my home with the WiFi on, I can't access the internet or my home network. I think the routing gets all messed up. In any case, it's not an issue for me...any longer.
I was trying to set up my head unit to access the internet and my home network through the VPN on my phone. I found out that when you use a hot spot (in Android), you cannot access the VPN and the data does not go through the VPN on the hotspot. I don't know why...it may be an Android or a network thing. So, I set up a VPN client on the head unit instead and it connects to my home network fine through the phone hot spot. Now, I just have to figure out how to automatically set up the VPN client on the head unit to automatically connect when it is started and possibly exclude some apps so that the data for those don't go through the VPN.
watson540 said:
Okay, so I got USB tethering to work and it's beautiful- but bittersweet...
It ONLY works if you reboot the head unit with the USB cable already plugged in. Once you take the cable out, it won't come back if you plug back in. Only with a reboot does it work
How can a trigger be made to enable this on a plug-in of USB?, Or maybe a constant poll every thirty seconds?
Click to expand...
Click to collapse
I never looked into lbroid's code for this blutooth apk, but I suppose it should be possible to add some code to check on the "USB device connected" event, and use that to initialize again. (It would of course also require the request for authorization for that USB event).
Or as a workaround: try it from the other side. Install MacroDroid on your unit. Check if a USB device gets connected and at the same time you have BT connection with your phone, and then start the apk on your unit.
Edit: This might require to first stop the app (if running), pause for a few seconds, and then start the app.
watson540 said:
Okay, so I got USB tethering to work and it's beautiful- but bittersweet...
It ONLY works if you reboot the head unit with the USB cable already plugged in. Once you take the cable out, it won't come back if you plug back in. Only with a reboot does it work
How can a trigger be made to enable this on a plug-in of USB?, Or maybe a constant poll every thirty seconds?
Click to expand...
Click to collapse
Sorry. You put me totally on the wrong track.
I simply overlooked you were taliking about USB-tethering. The previous posts were about Bluetooth tetering.
So my answer might still be interesting for those who want Bluetooth tetering: See also my github where I rebuilt lbdroid's version (nov 2019) with an apk in the releases section.
Nothing creative. Just a copy with an extended readme.
surfer63 said:
Sorry. You put me totally on the wrong track.
I simply overlooked you were taliking about USB-tethering. The previous posts were about Bluetooth tetering.
So my answer might still be interesting for those who want Bluetooth tetering: See also my github where I rebuilt lbdroid's version (nov 2019) with an apk in the releases section.
Nothing creative. Just a copy with an extended readme.
Click to expand...
Click to collapse
I'll take either/or
It appears that my phone doesn't start USB tethering until I unlock it anyway. So it may HAVE to be Bluetooth... which is fine
I did try macrodroid on the HU to try and trigger the USB tether action.
I looked into the logcat and saw some tethering events going on when I plugged the cable in. They get shut down for whatever reason.
I was able to bring the usb0 interface up with a simple ifconfig command in terminal, but no way to assign it an ip and routing (dhcpcd or dhclient) -- Android is just so far removed from Linux anymore, it's all handled in JAVA now, so I can't just write a shell script
I'll look into the Bluetooth method again
surfer63 said:
So my answer might still be interesting for those who want Bluetooth tetering: See also my github where I rebuilt lbdroid's version (nov 2019) with an apk in the releases section.
Nothing creative. Just a copy with an extended readme.
Click to expand...
Click to collapse
I mentioned that I had not looked at lbdroid's blutooth apk, but obviously I have. I simply completely forgot about it. Time flies and so do my memories.
surfer63 said:
I mentioned that I had not looked at lbdroid's blutooth apk, but obviously I have. I simply completely forgot about it. Time flies and so do my memories.
Click to expand...
Click to collapse
It looks promising. Doesn't work on this unit though.
I assume it's because fyt 7862 actually has 2 Bluetooth chips, and the first one is disabled. I guess it's spotty? I reckon the app is trying to attach to the primary Bluetooth, which is disabled through the rom?
watson540 said:
It looks promising. Doesn't work on this unit though.
I assume it's because fyt 7862 actually has 2 Bluetooth chips, and the first one is disabled. I guess it's spotty? I reckon the app is trying to attach to the primary Bluetooth, which is disabled through the rom?
Click to expand...
Click to collapse
I don't know. At this moment I do not have a uis7862 and can't examine it.
surfer63 said:
I don't know. At this moment I do not have a uis7862 and can't examine it.
Click to expand...
Click to collapse
Looks like this app was built for a previous version of Android
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
getDefaultAdapter has been deprecated since jellybean. I'd plug in the appropriate call, but I'm assuming that would just be the beginning of a whole host of other things to rewrite as well.
I'm not that dedicated
watson540 said:
Looks like this app was built for a previous version of Android
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
getDefaultAdapter has been deprecated since jellybean. I'd plug in the appropriate call, but I'm assuming that would just be the beginning of a whole host of other things to rewrite as well.
I'm not that dedicated
Click to expand...
Click to collapse
It was built for Android 5/6.
Since Android 7 and 8, many things have changed. In the access rights area, in the "run as a service" area, etcetera. It might require a complete rewrite.
watson540 said:
I assume it's because fyt 7862 actually has 2 Bluetooth chips
Click to expand...
Click to collapse
Why do you think that?
In all the specs I can find it has only one BT chip being the Realtek 8761BTV (but again: only from theory).
surfer63 said:
Why do you think that?
In all the specs I can find it has only one BT chip being the Realtek 8761BTV (but again: only from theory).
Click to expand...
Click to collapse
I've seen it in my convoluted perusing. If you look on 4pda, people there talk about activating one or the other in build.prop or some other system related file.
I've seen what I believe is it in the Android settings (the real settings). It's named "carbt". I managed to connect my phone to it once. I never checked any hardwire IDs to verify it was indeed different, but I swear I've seen it mentioned over there. It's up to 384 pages now, so it's hard to keep up

Categories

Resources