Xperia Tablet Zを解約し、OCNモバイルONEにSIMカードを変更した。
しかし、テザリングしようと思ったらドコモ端末は、テザリング時にAPNを自動的に変更するロジックが入っているようで、うまくテザリングできない。。
そのため、adbを使ってこのロジックを無効化したので、その手順を公開。
(参考にしたサイト: http://smhn.info/201503-how-to-tethering-unlock-xperia-ntt-docomo-edition)
>adb shell shell@android:/ $ content query --uri content://settings/secure --projection value --where "name='tether_dun_required'" settings/secure --projection value --where "name='tether_dun_required'" < Row: 0 value=1 shell@android:/ $ content query --uri content://settings/secure --projection value --where "name='tether_dun_apn'" settings/secure --projection value --where "name='tether_dun_apn'" < Row: 0 value=docomo tethering,dcmtrg.ne.jp,,,,,,,,,440,10,0,* shell@android:/ $ content insert --uri content://settings/secure --bind name:s:tether_dun_required --bind value:i:0 /settings/secure --bind name:s:tether_dun_required --bind value:i:0 < shell@android:/ $ content query --uri content://settings/secure --projection value --where "name='tether_dun_required'" settings/secure --projection value --where "name='tether_dun_required'" < Row: 0 value=0 shell@android:/ $ exit