DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 5 of 5

Thread: [SOLUTION] GPA Bluetooth tethering issue, XOOM Wi-Fi now tethers!

  1. Junior Droid
    Stachre's Avatar
    Member #
    184203
    Join Date
    Mar 2011
    Posts
    8
    Phone
    Motorola Droid (ROM: GPA17)
    #1

    [SOLUTION] GPA Bluetooth tethering issue, XOOM Wi-Fi now tethers!

    Hey, all!

    It seems like a few of us picked up the Xoom Wi-fi in the last week, eagerly looking forward to tethering them to our OG Droids running GPA, but found that we simply couldn't tether. Yes, we knew the OG Droid is hardware limited to Wi-fi sharing in Ad Hoc mode, and we knew that Android devices don't natively support joining Ad Hoc networks. That's what Bluetooth is for!

    How to: Bluetooth Tether to Motorola XOOM Using Original DROID

    But, even as the rest of the web hopped on the tethering lovetrain, we GPA users couldn't seem to get our Xooms to connect to our Droids. Some of us switched back to BB on Froyo, and others moved on to other unaffected Gingerbread ROM's. *gasp*

    For me, GPA12 is the business, so I spent a ton of time trying to figure out what was going on. Yesterday, I finally found it: there's an extraneous file in the ROM (/system/lib/bluez-plugin/network.so) that is causing Bluetooth tethering to go haywire, and it doesn't seem to be needed for anything functional at all. I deleted it, and tethering was immediately functional, without any other negative effects!

    So we have two ways of going about fixing this for now: deleting the file manually via adb (requires a couple of remounts of /system), or a quick patcher I wrote for less-technical users. I also updated Pete with all the technical info, and he indicated that he'll soon be working on it on the GPA build side.

    Please find all the info you need below, and have a blast tethering your Xooms with GPA awesomeness!!!

    MANUAL PROCESS

    1. Droid: Backup your phone (although my device was fine, yours might not be happy with this)
    2. Droid: Have a ROM image ready for recovery on your SDCard (same reason)
    3. Droid: Turn off Bluetooth
    4. Droid: Connect to your PC via USB
    5. PC (terminal/command prompt): Run adb as root and shell in to your Droid
      Code:
      adb root
      adb shell
    6. PC (adb): Re-mount /system as read-write
      Code:
      mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    7. PC (adb): Copy the culprit file to your SDCard (or wherever) then delete it (mv gets a "Cross-device link" error)
      Code:
      cp /system/lib/bluez-plugin/network.so /sdcard/network.so
      rm /system/lib/bluez-plugin/network.so
    8. PC (adb): Re-mount /system as read only again
      Code:
      mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
    9. PC (adb): exit adb and disconnect your Droid from your PC
      Code:
      exit
    10. Follow aforementioned instructions to test your tether


    If tethering isn't working after the patch, try rebooting. If you're still having issues, please chime in on the thread.


    AUTOMATED PROCESS (PATCHER)

    Keep in mind that this isn't a piece of production-level software. I tried to accommodate the exceptions I could foresee, but there will always be issues. So, as you all know well, it might patch your system with zero problems, or it could ruin your phone forever, so you're using it at your own risk.

    With that out of the way, here we go...

    FIRST, the attached APK file simply has ".zip" appended to the filename so that I could upload it. DO NOT UNZIP THE FILE. Just rename the file, deleting the .zip extension. If your operating system is set to Hide known file extensions from you, a quick web search should hook you up.

    As you'll see in the attached screenshot, the screen is laid out with a disclaimer on the top (hey, I'm new here :P ), followed by a device info block containing what the patcher needs to know about your device (ROM Build, Root Status, Bluetooth Stack Status). If your build is not GPA10-15, or if the patcher can't find su, an exit dialog will pop up and let you know.

    Below the device info block, there is a single action button that either patches (deletes network.so) or restores (replaces network.so and updates permissions, in case you have issues after patching), based on your Bluetooth Stack Status (UNPATCHED, PATCHED). The description below the button also changes respectively.

    NOTE: when patching, the software executes three separate commands (re-mount read-write, file handling, re-mount read-only) via su, so you will be prompted three separate times for su authorization. This is normal, and allows for better recovery from exceptions.

    ALSO NOTE: the patcher keeps its copy of your network.so file in INTERNAL APPLICATION STORAGE. This means that if you uninstall the patcher, the saved copy of network.so will also be removed. If you reinstall the patcher, it will find the network.so file completely missing, so it will regard your Bluetooth Stack Status as UNKNOWN, and will not be able to do anything further on your device. At that point, you're relegated to manually copying the file back from a GPA zip file, or re-flashing over your current install.

    At the bottom, there's a self-explanatory Exit button.

    Here's the procedure:

    1. Droid: Backup your phone (although my device was fine, yours might not be happy with this)
    2. Droid: Have a ROM image ready for recovery on your SDCard (same reason)
    3. PC or Droid: Download the GpaBluetoothTetherPatcher.apk.zip file
    4. PC or Droid: RENAME the GpaBluetoothTetherPatcher.apk.zip file and remove the ".zip" extension (DO NOT UNZIP THE FILE)
    5. Droid: Copy the GpaBluetoothTetherPatcher.apk file to your SDCard if it's not there already
    6. Droid: Sideload the GpaBluetoothTetherPatcher.apk via Astro, Linda, or whatever (NOTE: Bluetooth permissions are for disabling Bluetooth before patching, in case you forget the next step)
    7. Droid: Turn off Bluetooth
    8. Droid: Launch GpaBluetoothTetherPatcher
    9. Droid: If your device is running GPA10-15, is rooted, and network.so is in place, you can click Patch Bluetooth Stack to proceed
    10. Droid: Navigate through the confirmation dialogs (3 su requests is normal; see NOTE above)
    11. Droid: Note your changed Bluetooth Stack Status. If you're PATCHED, you're ready to tether
    12. Droid: Click Exit
    13. Follow aforementioned instructions to test your tether


    If tethering isn't working after the patch, try rebooting. If you're still having issues, please chime in on the thread.

    Hope this helps everyone!
    Attached Thumbnails Attached Thumbnails [SOLUTION] GPA Bluetooth tethering issue, XOOM Wi-Fi now tethers!-gpabluetoothtetherpatcher-screenshot.png  
    Attached Files
    Last edited by Stachre; 04-04-2011 at 02:57 AM. Reason: added note regarding Bluetooth permissions
  2. Senior Droid
    webeougher's Avatar
    Member #
    35224
    Join Date
    Feb 2010
    Location
    Stoneboro, PA/New Haven, CT
    Posts
    231
    Twitter
    @webeougher
    Phone
    Motorola A855 Droid
    #2
    For those users with Root Explorer (the best app you'll ever buy), it's even simpler:

    1. Open Root Explorer
    2. Navigate to the /system/lib/bluez-plugin directory
    3. Click "Mount R/W" at the top of Root Explorer
    4. Long-press on network.so
    5. Choose "Move"*
    6. Navigate to a folder of your choice on your SD Card and click "Paste"
    7. Exit Root Explorer
    8. Reboot!

    *Alternately, choose "Delete" and skip Step 6.

    Kudos to Stachre for his dedication and hard work in finding the fix.
    Last edited by webeougher; 04-04-2011 at 07:23 AM. Reason: Proper terminology in Step 5
    Motorola A855 Droid
    GPA17 Beta + Red Motorola Boot Logo

    Motorola Xoom
    Stock
  3. Junior Droid
    Cardini's Avatar
    Member #
    154769
    Join Date
    Dec 2010
    Posts
    10
    Phone
    Enter Current Phone Model Here
    #3
    Flawless - worked perfectly - Very nice work Stachre
  4. DHO
    DHO is offline
    Senior Droid
    DHO's Avatar
    Member #
    124347
    Join Date
    Oct 2010
    Location
    NOLA
    Posts
    249
    Liked
    4 times
    Phone
    Galaxy Nexus
    #4
    Nice work.

    Now, I just need a Xoom,...
    GNex: AXI0M 2.4 with Nova Launcher and custom theme @ 1.2GHz
    RIP: Droid GPA18 2.3.7 with LauncherPro Plus and custom theme @ 1.0GHz
  5. Junior Droid
    Stachre's Avatar
    Member #
    184203
    Join Date
    Mar 2011
    Posts
    8
    Phone
    Motorola Droid (ROM: GPA17)
    #5
    Quote Originally Posted by webeougher View Post
    For those users with Root Explorer (the best app you'll ever buy), it's even simpler:
    Great point! Totally missed local file managers, terminals, etc. A nap before my posting would probably be wise...

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Solution: Windows XP SP2 (and lower) problem with USB tethering
    By MotoCache1 in forum Android Tech Support
    Replies: 42
    Last Post: 03-05-2014, 11:05 AM
  2. Droid 1 bluetooth solution for music
    By trowa in forum Android Accessories
    Replies: 4
    Last Post: 10-22-2010, 09:55 AM
  3. Headphone Jack/Bluetooth Solution?
    By RiotSauce in forum Android Tech Support
    Replies: 1
    Last Post: 07-03-2010, 11:14 PM
  4. Bluetooth solution?
    By WLJohnson05 in forum Android Hacks and Help
    Replies: 6
    Last Post: 02-26-2010, 11:19 AM

Search tags for this page

bluetooth dun apk
,
bluetooth tether apk
,
bluetooth tethering apk
,
droid bionic bluetooth tether local only
,

motorola xoom bluetooth dun

,
tether xoom to pc
,

xoom bluetooth dun

,

xoom bluetooth tether

,
xoom bluetooth tethering
,
xoom dun
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+