Mounting Android devices on OSX can be a pain. There are commercial options that make it easy, but it’s also not horribly difficult with the help of some good software packages out there:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install pkg-config
brew install Caskroom/cask/osxfuse
sudo installer -package /opt/homebrew-cask/Caskroom/osxfuse/2.8.2/Install\ OSXFUSE\ 2.8.pkg -target /
git clone git://github.com/spion/adbfs-rootless.git
cp adbfs /usr/local/bin/
That’s that for the install. Test it quick to make sure it works:
cp adbfs /usr/local/bin/
You should see your phone pop up. If it doesn’t, you have a bad USB cable, your phone isn’t configured to allow connections, you have a power only cable, etc. Also, make sure that your phone is set to MTP, and that the computer is trusted. Once that’s done, you should be set!
There’s a lot of articles describing how to get tethering on Android 4 and 5. Those steps no longer work on Android 6 (M) and it’s somewhat hard to find the current ones. Note that settings.db specifically have been depreciated and those steps no longer work. It’s actually simple though. While there’s multiple ways to get at this, the below are the easiest, and quickest (and don’t cost you money.)
- Functional ADB install on your PC.
- Rooted Android M device.
- TWRP or the like installed. (And/or a program like SuperSU.)
If you don’t have a rooted device, this won’t work. If you want to use an alternative to TWRP, that is certainly fine. What matters – you need to remount /system as rw.
- On your computer open up a terminal and type:
adb shell reboot bootloader
- Enter into Recovery mode.
- (In TWRP) Under mount, ensure that system is checked.
- In the terminal window, type
- Append at the very end (Type upper-case G, then paste in the below)
- Hit the escape key, then type :wq to save and quit the file. Exit twice to drop out of the shell. Then type:
adb shell content insert --uri content://settings/global --bind name:s:tether_dun_required --bind value:i:0
That should be it. You should have your device tethering. To check, open up the menu and simply toggle the system wifi tether on. If you don’t get an error, you should be set. Note that this may be against your carrier policies – check your plan before doing this.
As a final comment, you can certainly issue something like mount -o remount,rw /system with superuser permissions. Since it’s mounted RO, you can’t touch build.prop until it’s remounted. And it’s a little tricker to get /system remounted in Android M. That being the case, rebooting into TWRP is the easiest method for getting it mounted, and edited.