[TouchPad General] vampirexhunter:
Blackberry DUN Bluetooth Tethering Guide

WARNING!! FOR EXPERTS ONLY! YOU'VE BEEN WARNED! THIS IS NOT A SIMPLE CLICK AND DONE. IT MAY FRUSTRATE YOU!

This may or may not work for you, don't be surprised if it doesn't. Also Tethering may or may not be supported by your carrier. Data Plan recommended! @@

Your Mobile carrier may charge tethering fees, Continue at your own risk!

I suggest you read the whole thing before you action, and also please bare with my english, as it is my 3rd language. :)

Tether via Terminal: (Thanks lophyte for this great guide)

http://forum.cyanogenmod.com/topic/...-gtab-to-your-blackberry-phone-via-bluetooth/

What you need:

-ALOT OF PATIENCE!:o

- Rooted Android Tablet ( I'm using a HP TouchPad )

- Android 2.3.7 (Reported by nihjar that it works on ICS!!)

- Blackberry Mobile Device with DUN Profile. ( I'm using BB Bold 9700 with OS 6 installed ) *Other Mobile's may work, need further testing*

- Terminal app

- Root Explorer app

- Super User app

- Q5 Bluetooth Dial Up Network app by wsoft2002

- Berry4All Scripts

- Chat Binary compiled by lophyte (Originally compiled for GTab, but works on my HP Touchpad) or you can compile one, link in lophyte's guide. **NOTE**(Reported by nihjar that it works on ICS!!)

- Make sure DUN is enabled on your BB ( Search google for guides on this )

Step 1: Download and Install on Android

-Install Root Explorer (if you don't have it already)

-Install Terminal (if you don't have it already)

-Install Q5 DUN http://android.gval.biz/

Step 2: Download the following on your PC

Berry4All Scripts Here

Chat Binary compiled by lophyte to Tether with Gtab Link to his Guide Here

File

-Create a new folder which you will be placing the following files to better manage them.

-Copy the Chat binary file into the new folder.

-Extract bbtether and find the 2 files in /conf/ that corresponds to your mobile network, and copy those 2 files into the new folder. In this guide I will be using Rogers as an example. In this case, rogers & rogers-chat

Step 3:Modify the configurations

-Open rogers in a text editor ( I recommend Notepad ++)

-Find the line

& change this line to:

*NOTE* Edit the rogers-chat to which ever mobile provider you are using

-Find the line with 'novj' and place a # in front of it. Or Delete it, which ever is fine.

Your File should look like this:

**NOTE** Change UserName & Password that matches your APN settings.**

-Save and Exit.

Step 4:Now its time to copy these files to our

Routed

Android Devices.

-You will need to use Root Explorer to copy these files to your device, or Adb Push. ( Lookup the forums for on how to )

-Copy chat binary into /system/bin/ overwrite if prompt.

-Copy your mobile config files into these folders respectively.

a) rogers-chat -> /etc/ppp/peers (create this folders if it doesn't exist)

b) rogers -> /etc/ppp/chatscripts (create this folder if it doesn't exist}

-Reboot Device

-Once rebooted, you will need to pair your mobile device to your android device. Delete the profiles if it already exist, & pair again. (BT is buggy)

-Keep Bluetooth On.

Now here comes the most frustrating part... connecting!

Step 5:Configuring Q5 DUN

The best and easiest way to find you DUN MAC and Channel is using Q5 IMO,

but you can also use Linux commands. ( Terminal Tether guide above )

-Make sure you turn on BT, as this app does not toggle the BT on.

-Use this guide by wsoft2002 to configure Q5http://android.gval.biz/Q5_Bluetooth_DUN_installations.php

-In the Dial-Up Script, this is where the rogers-chat come into play.

-Open rogers-chat (your provider) file in Text Editor via Root Explorer.

-Select all Text and Copy in the the Dial-Up Script.

Your Dial-Up should look like this:

*Note the "internet.com", this is where you put your mobile APN. ( Google search if your mobile is not in the bbtether folder ) or settings on your phone.

**Note that the 'ATD*99#' will differ depending on the carrier. You can try 'ATD*99***1#' if that doesn't work, (try to google 'your carrier' ATD)

***Thanks to Nijhar he found out that on Telus Network, ~p causes connection issues in Q5, so this may vary for you. (Trial and Error!)

****NEW**** Found * Another way to find you isp APN settings, using Blackberry Desktop Software, and plugging in the mobile device, you can browse all authorized BB carriers.

-Save Configuration & Hit connect to Test it out.

Allow the connection and checkmark 'Do not show again'

If you get 'PPP Connection is UP!' GREAT! Skip to Step 7.

-If you get 'PPP Failed to connect' then obviously it didn't work.:(

Now there are a few factors that causes PPP failed to connect.

a) Q5 not setup properly, I suggest you double check your settings.

b) Pairing problems, or Trust permissions. Re-Pairing might fix it.

c) Remove or Add ~p from the chat script.

d) Reboot both devices and try again.

e) Tether is not supported by your carrier.

f) Make sure Dial-Up Networking Service is enabled on your phone. in Bluetooth connections>paired devices>Touchpad (May vary depending on BB OS)

Step 6:Testing BT connection in Terminal

Q5 might not work for you, so Terminal will be your next Option.

-Open Terminal and type 'su' for super user rights.

-type the following '# rfcomm bind /dev/rfcomm0 <bluetooth MAC> <channel>'

-then type 'pppd /dev/rfcomm0 call rogers' <- change 'rogers' to your carrier.

-Look at your Blackberry 'Modem Mode Enabled' should appear if it connects.

-If it does not connect, please revise the guide and make sure you have done everything exactly up till now.

-'# killall pppd ' to end the connection

Step 7:Configuring DNS to Google's DNS or of your choise

-In Terminal

-Type 'su'

-Then 'setprop net.dns1 8.8.8.8'

-Next 'setprop net.dns2 8.8.4.4'

*You can put as much as dns4 if you like, but Google's DNS should work fine**

Step 8:Testing Internet Connection

-Browsing

-Youtube

-Facebook

-Apps & Games (Trial & Error)

Step 9:Modifying the build.prop to eliminate setprop net.dns on reboot.

-Add net.dns1=8.8.8.8 & net.dns2=8.8.4.4

Working:

-Browsing the Web

-Streaming Video/Music

-Downloading Files using Opera Browser(Perfect), or xwind downloader app(Not perfect, but will work with any browser). Or use share link to Opera browser to DL using 'Choose Browser app found on the Market' -NEW-

-GO Launcher EX works great! Weather widget, facebook, e-mail etc all works! <~ If you want a fully functional homescreens,widgets etc

-Rogers,Telus & Bell Networks

Not Working:

-Android Market (Browse-able, but can't download anything)

-Google Currents

-Kindle App ( can log-in, but can't browse new books )

-Weather Apps ( News & Weather Works tho )

-Games

-Essentially any apps that cannot detect BT as Internet Source. Unlike most apps keeps trying to connect regardless of the 'available network'.

Support:

And if all fails, you may post below, and tell me your problems.

-Please provide the following info:

a) Mobile model & OS version

b) Tablet model & OS version

c) Carrier

d) Brief Description of the problem.

Please do not complain if it does not work for your device. We're simply trying to help the Android community by giving them support on unsupported devices.

UPDATED 22/12/2011:

:( I guess there's no workaround? Can someone with some DUN or PAN knowledge, shed some light on us? :p

WIP:

-Add Other Carriers ( Fido, etc?) (Feedback needed from the community)

I hope our community keeps growing and more new devices are supported as days passes by.

Merry X-Mas everybody!

Vampirexhunter