你可能會遇到手機軟體使用正常,但電腦就是找不到網卡的問題
原因在
/sys/devices/platform/msm_hsusb/usb_function_switch
這個檔案
使用ADB把檔案的內容改為
usb_mass_storage:disable adb:disable diag:disable serial:disable ether:enable modem:disable nmea:disable
儲存後即可
如果你的檔案內容沒有這麼多,原則上就是把其他項目disable,只將ether設為enable
或是可以在rooted手機上直接修改,我直接將usb_function_switch權限改為777,就可以使用手機上的文字編輯器存取修改
要回到USB模式到設定重點一次enable debug
請問我的 Magic 刷 Smoki ROM Ver.0.68 但是沒有發現有 usb_function_switch 這個檔案 ?
不是在sdcard目錄下喔,你要到系統目錄找