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

View Poll Results: Did this hack work for you?

Voters
247. You may not vote on this poll
  • Yes, easy

    126 51.01%
  • Yes, with some work

    63 25.51%
  • No, can't get it working

    58 23.48%
Page 1 of 46 12311 ... LastLast
Results 1 to 10 of 459

Thread: Tether capability with android-wifi-tether (Wireless Tether for Root Users)

  1. webacoustics's Avatar
    Member #
    17652
    Join Date
    Dec 2009
    Location
    Brooklyn, NY
    Posts
    31
    Phone
    DROID, Nexus One
    #1

    Verizon DROID WiFi Tether with android-wifi-tether (Wireless Tether for Root Users)

    Update 1/26 (3): I've sent a note to tasmanian_droid@alldroid and hopefully we'll have WiFi tether support in the overclocked kernels soon.
    Update 1/26: Harald@android-wifi-tether has released a DROID enabled version of android-wifi-tether (thanks Harald!). Uninstall old versions first! You might get a "No Netfilter"-message at start even if netfilter is enabled in kernel (depends if /proc/config.gz exists or not). You can ignore that.

    Also, the brightness issue is fixed!! Please use the updated url for the new kernel and tiwlan.ko (here). This kernel and driver is courtesy of Sholes.info and is taken from the Sholes ROM 1.1 release. Also, busybox is no longer required (thank you Harald for that fix).
    Based on work done in issue #205 of the android-wifi-tether project (THANKS EVERYONE), we have a way to enable GUI based Tethering support for the DROID.

    This post is not endorsed by the android-wifi-tether project, Android, or Verizon. Its for educational purposes and almost certainly will violate your agreement with Verizon, etc, etc.

    Please note that this involves rooting your phone, installing a custom recovery image, and a custom kernel. This is not for the faint of heart, and I take no responsibility for what might happen to your phone if you try this. That being said:

    Please comment on this thread if you have any corrections or updates to the instructions.

    These instructions should leave you with a working tether program, and you won't have to touch the shell for normal use (just use the program normally).
    1: Rooting your phone:

    Follow any of the many tutorials available (this one for instance)

    2: Installing the updated kernel:
    Install SirPsychoS' recovery image (droid devs tutorial)
    Use the latest version of the image from Sholes
    For some details that aren't covered in the droid-devs wiki, see this thread

    2.a: Use SirPsychoS' recovery image to back up your phone
    • Boot in to recovery mode.. hold down Power and X while your phone boots
    • Select the Nandroid submenu, and choose the "Default Nandroid Backup" option
    • Reboot the phone to regular mode


    2.b: Copy the new kernel, and driver to your phone
    New kernel and driver: here. If you're unfamiliar with the adb tool in the Android SDK, check this post
    • This URL contains two files, the updated boot image (boot-wifi.img), and the updated tiwlan_drv.ko (the WiFi kernel module). These are necessary to enable support for iptables (which allows your phone to act as a router)
    • Copy the new files to your sdcard using your favorite method. USB mount or:
      Code:
      adb push <sourcefilepath> <destfilepath>
    • Disable USB Storage Mode; unmount the drive on your computer, and turn off USB Storage from the phone (very important, since your files will not be accessible from the phone until you do)


    2.c: Install the updated tiwlan_drv.ko file to /system (this assumes that the new driver is at /sdcard/tiwlan_drv.ko)
    • Make sure you're in root mode:
      Code:
      su
    • Put your /system partition into read/write mode:
      Code:
      mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    • Back up the old driver:
      Code:
      cat /system/lib/modules/tiwlan_drv.ko > /sdcard/tiwlan_drv.ko.old
    • Copy the new driver to the system:
      Code:
      cat /sdcard/tiwlan_drv.ko > /system/lib/modules/tiwlan_drv.ko
    • Sync the /system mount, and remount as read only:
      Code:
      sync && mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system


    2.d: Install the updated kernel
    • Boot in to recovery mode by holding X while powering up
    • From the mount menu, mount the /sdcard partition
    • From your computer, run adb shell (part of the Android SDK, you'll need to download that and look for adb in the tools directory):
      Code:
      adb shell
    • Flash the kernel partition by running:
      Code:
      flash_image boot /sdcard/boot-wifi.img
    • Hold the power button, select power off
    • Hit the power button to turn your phone back on

    2.e: How to tell if it worked (and fix your phone if it didn't)
    • If your phone stays at the white Motorola logo for longer than a minute or two, you probably bricked your phone.
    • Simply turn the phone off (you may need to remove the battery)
    • Boot in to recovery mode (hold x while you power the phone up)
    • And restore the backup you made by selecting the restore option from the nandroid menu


    Assuming you got this far, on to the the fun part.

    3: Installing the latest android-wifi-tether
    Install the latest DROID release from the Google code project
    • Wireless Tether for Root Users 2.0-pre3-eclair
    • This is an unsigned program, so you'll need to enable the installation of unsigned applications in the Application settings menu (Settings>Applications)
    • Install the app using the Android SDK tool, adb (specify the actual path to the adb tool and the application):
      Code:
      adb install wireless_tether_2_0-pre3_eclair.apk


    Enjoy!

    --

    Update 1/9: ChevyNo1 has created a "one click" windows installer for the faint of heart. You can find it here. Don't forget to run a backup first!
    Update 1/6: Network connection timeout issue (network disappears within 30 seconds) has been fixed!! Thank you crdnilfan at google code for the research and fix. New users, simply follow the instructions below. Existing users, simply apply tether-2.txt to /data/data/android.tether/bin/tether to upgrade your installation (don't forget to chroot 700!).
    Update 12/26: THE EASY WAY: Just download this backup of 2.0.1 (torrent, or http please use Torrent if you can), and restore it to your phone after rooting and installing the Sholes recovery image 0.15.0 or later. Perform the backup in 2a, then restore using this file by unzipping the file and copying the resulting folder to /sdcard/nandroid. You can skip the rest of the tutorial, WiFi tether will work after you reboot into normal mode. I'll update the instructions with more detail tomorrow, and add a backup image. NOTE: this update will effectively reset your phone to factory defaults, so you'll want to make sure your apps and settings are being backed up to Google).
    Update 12/26: updated tether-2.txt to improve settings detection (should eliminate the need to go in to the settings screen before the tethering will work)
    Update 12/25: added link to adb (Android Debug Bridge) information thread.
    Update 12/24: clarify kernel install instructions (using recovery mode)
    Update 12/24: in case you're having problems with the latest tether-2.txt script, you can find he latest tether-1.txt file here (in comment 120): Issue 205 - android-wifi-tether - Motorola Droid - Developing & Testing - Project Hosting on Google Code, or download tether-1-old.txt from this thread.
    Update 12/23: Uploaded a new tether-2.txt that will set yhttp://thepiratebay.org/torrent/5243438our SSID and Channel from the GUI's settings. The only additional requirement is busybox be installed at the same time as the new wifi driver. I've updated the HOWTO below. If you want to upgrade your setup, simply follow steps 2.b, 2.c, and 4--the changes are in bold
    Update 12/23: Updated tether-1.txt to get rid of the pesky error message when you start tethering
    Update 12/23: Credit and thanks to Michael Purcell at sholes.info for compiling the updated kernel and wifi driver!
    Last edited by webacoustics; 01-27-2010 at 02:36 AM. Reason: added note about installer thread
  2.  
     
     
     
  3. webacoustics's Avatar
    Member #
    17652
    Join Date
    Dec 2009
    Location
    Brooklyn, NY
    Posts
    31
    Phone
    DROID, Nexus One
    #2

    Cool Screenshots

    Woohoo! 2.6Mbps/.5Mbps
    Attached Thumbnails Attached Thumbnails Tether capability with android-wifi-tether (Wireless Tether for Root Users)-screen-shot-2009-12-21-1.06.05-am.png   Tether capability with android-wifi-tether (Wireless Tether for Root Users)-photo-2009-12-21-01.06.jpg  
  4. Junior Droid
    sonofskywalker3's Avatar
    Member #
    17772
    Join Date
    Dec 2009
    Posts
    6
    Phone
    Enter Current Phone Here
    #3
    followed the instructions and it works perfectly! thanks for this easy walkthrough.
  5. Junior Droid
    wardo5757's Avatar
    Member #
    10747
    Join Date
    Dec 2009
    Posts
    29
    Phone
    Moto Droid
    #4
    i will pay 20 bucs for some phone walk-thru support!! lol, no BS..... I've never messed with linux before and this hack appears to have many places for me to brick my phone... anybody?
  6. Master Droid
    SwordOfWar's Avatar
    Member #
    3291
    Join Date
    Nov 2009
    Posts
    392
    Phone
    Droid
    #5
    Isn't the correct path mtdblock4 and if in recovery mode its mtdblock6? You should correct that!
  7. webacoustics's Avatar
    Member #
    17652
    Join Date
    Dec 2009
    Location
    Brooklyn, NY
    Posts
    31
    Phone
    DROID, Nexus One
    #6
    Quote Originally Posted by SwordOfWar View Post
    Isn't the correct path mtdblock4 and if in recovery mode its mtdblock6? You should correct that!
    The command will work no matter what path you specify because `mount` will not change the device or mount point (mount(8): mount file system - Linux man page).

    However, I believe you're correct about the path--I'll confirm and make the appropriate changes.
  8. Master Droid
    SwordOfWar's Avatar
    Member #
    3291
    Join Date
    Nov 2009
    Posts
    392
    Phone
    Droid
    #7
    Quote Originally Posted by webacoustics View Post
    Quote Originally Posted by SwordOfWar View Post
    Isn't the correct path mtdblock4 and if in recovery mode its mtdblock6? You should correct that!
    The command will work no matter what path you specify because `mount` will not change the device or mount point (mount(8): mount file system - Linux man page).

    However, I believe you're correct about the path--I'll confirm and make the appropriate changes.
    There were some possible ways to brick the phone by using block3 since its commonly misquoted from the g1. Just think everyone should start correctly saying block4 to correct this common mistake for newbies who don't know this (I didn't).
  9. webacoustics's Avatar
    Member #
    17652
    Join Date
    Dec 2009
    Location
    Brooklyn, NY
    Posts
    31
    Phone
    DROID, Nexus One
    #8
    Completely agree-- as a person fairly new to Android development, I found more than a few references to the incorrect block online. Hopefully this will help set the record straight (see corrected text above). Thanks
  10. Junior Droid
    bitbuster's Avatar
    Member #
    3667
    Join Date
    Nov 2009
    Posts
    9
    Phone
    Enter Current Phone Here
    #9
    Followed your steps! Thanks for the great tutorial! I also had the issue that flash_image was not able to write the boot image. I booted into the recovery image and then it let me do it.
    I installed the tether software, ran it once, updated the shell script and when I now run it, it all starts up without an error. however, tether did not work until I rebooted!

    Now it works

    THANKS!!!!
  11. webacoustics's Avatar
    Member #
    17652
    Join Date
    Dec 2009
    Location
    Brooklyn, NY
    Posts
    31
    Phone
    DROID, Nexus One
    #10
    Thanks for the comment. I've updated the instructions to add a note about the reboot, and several other improvements.
Page 1 of 46 12311 ... LastLast

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. WiFi Tether App
    By SwordOfWar in forum Android Applications
    Replies: 17
    Last Post: 07-17-2011, 10:12 PM
  2. How to tether your android phone for free
    By kennyg23 in forum Android Hacks and Help
    Replies: 67
    Last Post: 11-12-2010, 08:05 AM
  3. tether to PS3 and mac
    By LRapp in forum Android Tech Support
    Replies: 1
    Last Post: 01-03-2010, 08:34 AM
  4. Whats everyone using to tether??
    By jf2oo6 in forum Android Applications
    Replies: 2
    Last Post: 11-24-2009, 07:45 PM

Search tags for this page

droid wifi tether

,

error for wireless request set frequency (8b04) :too few arg

,
htc droid incredible flashed to verizon prepaid unlimited ro
,

url/www.android.com/tether

,

wifi tether

,

wifi tether for root users not working

,

wifi tether unable to open log file

,

wifi tethering droid

,

wifi tethering kubuntu

,

wireless tether unable to open log file

Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+