LoginSignup
3
3

More than 5 years have passed since last update.

Loading EasyTether on demand

Last updated at Posted at 2014-06-16

151110: For 10.10+ users

  • Finally they have released new driver.
  • However, the driver will be loaded automatically again via usual install.
  • To install manually,
    1. unpkg http://www.mobile-stream.com/beta/darwin/easytether-yosemite-b8.pkg
    2. sudo mkdir /private/var/lib/easytether this is where adbkey is created (related to Android 4.2+ ADB authorization)
    3. copy usr/local/bin/easytether-usb to /usr/local/bin
  • just sudo easytether-usb when you want to activate EasyTether (you should adb kill-server prior)

Article

Abstract:
EasyTether provides USB tethering even if the Android doesn't provide official tethering. However, installing EasyTether on OSX machine prohibits adb, which is awful for Android developers. Using kextload is a workaround. klink already has such kind of application, but EasyTether doesn't yet. So I have written the EasyTetherLoader application.
URL: https://github.com/cielavenir/EasyTetherLoader

EasyTetherはAndroid端末が公式テザリングを提供していなくてもadb経由でUSBテザリングができる素晴らしいツールです。
ですが、OSXにEasyTetherをインストールすると、adbが使えなくなる問題があります。
Android開発者にとってこれは致命傷です。
回避策は、使いたいときに、コマンドラインからkextloadを使ってロードすることです。

ですがこれは少々面倒です。klinkはアプリがありますがEasyTetherにはまだありません。なので、EasyTetherをロードするアプリを作りました。
https://github.com/cielavenir/EasyTetherLoader

  • リポジトリをクローンする
  • EasyTetherLoader.applescriptを書き換えて、adbコマンドと管理者パスワードを設定する
  • install.shを実行してEasyTetherUSBEthernet.kextとmain.scptを用意する
    • なおinstall.shは(dmg/hfsの展開に)7zを使用しますので、p7zip-fullの導入が必要です。

あとはEasyTetherLoader.appを実行するだけで、(実行中のみ)EasyTetherUSBEthernet.kextがロードされます。

謝辞:ClamshellWakeを大いに参考にさせて頂きました。感謝します。

追伸1:開発元に連絡をとってみたのですが、「アプリは開発中である」との返信が1年前にあっただけでした。それ以来返信は一向にないので諦めました。

追伸2:EasyTetherLoaderは以前から作っていたのですが、導入が多少面倒でした(ライセンスの都合上EasyTetherUSBEthernet.kextをバンドルできませんでした)。が、先日オンラインインストーラーを作ったので、ようやく記事にすることが出来ました。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3