Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from nemomobile/diag
[diag] update diag mode to newer android standard. Fixes JB#31988
- Loading branch information
Showing
9 changed files
with
74 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[mode] | ||
name = diag_mode | ||
module = none | ||
appsync = 1 | ||
network = 1 | ||
network_interface = rndis0 | ||
|
||
[options] | ||
sysfs_path = /sys/class/android_usb/android0/functions | ||
sysfs_value = rndis,adb,diag,serial | ||
sysfs_reset_value = none | ||
softconnect_path = /sys/class/android_usb/android0/enable | ||
softconnect = 1 | ||
softconnect_disconnect = 0 | ||
android_extra_sysfs_path = /sys/class/android_usb/android0/f_diag/clients | ||
android_extra_sysfs_value = diag | ||
android_extra_sysfs_path2 = /sys/class/android_usb/android0/f_serial/transports | ||
android_extra_sysfs_value2 = smd | ||
idProduct = 0A04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
name = adbd.service | ||
mode = diag_mode | ||
systemd = 1 | ||
post = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[info] | ||
name = adbd-prepare.service | ||
mode = diag_mode | ||
systemd = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters