From e0023304568611af2bf2ac371449fed7254ec8bb Mon Sep 17 00:00:00 2001 From: Andrew Sellers Date: Thu, 2 Nov 2017 11:43:27 -0700 Subject: [PATCH 1/3] updated readme to replace cp command with symlink command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68d2918..c54d9ab 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ On Arch it should be enough to follow the [instructions for connecting a device # Clone this repository git clone https://github.com/M0Rf30/android-udev-rules.git # Create a sym-link to the rules file - sudo cp android-udev-rules/51-android.rules /etc/udev/rules.d/ + sudo sudo ln -s android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules # Change file permissions sudo chmod a+r /etc/udev/rules.d/51-android.rules # add the adbusers group if it's doesn't already exist From 45863a166cf832cc8845d3a74ea8558e143fa0c7 Mon Sep 17 00:00:00 2001 From: Andrew Sellers Date: Thu, 2 Nov 2017 14:07:15 -0700 Subject: [PATCH 2/3] Deleted extra 'sudo' in earlier correction. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c54d9ab..b943d14 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ On Arch it should be enough to follow the [instructions for connecting a device # Clone this repository git clone https://github.com/M0Rf30/android-udev-rules.git # Create a sym-link to the rules file - sudo sudo ln -s android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules + sudo ln -s android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules # Change file permissions sudo chmod a+r /etc/udev/rules.d/51-android.rules # add the adbusers group if it's doesn't already exist From 480e8b1ad58eba1d9e76120836b0b5aad60b97c2 Mon Sep 17 00:00:00 2001 From: Andrew Sellers Date: Thu, 2 Nov 2017 17:20:57 -0700 Subject: [PATCH 3/3] Added Meizu hardware code to adb_usb.ini and Meizu MX6 IDs to udev rules --- 51-android.rules | 8 ++++++++ adb_usb.ini | 1 + 2 files changed, 9 insertions(+) diff --git a/51-android.rules b/51-android.rules index 5de9612..6656b1e 100644 --- a/51-android.rules +++ b/51-android.rules @@ -295,6 +295,14 @@ ATTR{idProduct}=="61f9", SYMLINK+="android_adb" GOTO="android_usb_rule_match" LABEL="not_LG" +# Meizu +ATTR{idVendor}!="2a45”, GOTO="not_Meizu” +ENV{adb_user}="yes" +# MX6 +ATTR{idProduct}==“0c02”, SYMLINK+="android_adb" +GOTO="android_usb_rule_match" +LABEL="not_Meizu” + # Micromax ATTR{idVendor}!="2a96", GOTO="not_Micromax" ENV{adb_user}="yes" diff --git a/adb_usb.ini b/adb_usb.ini index 6f94479..b5b4daf 100644 --- a/adb_usb.ini +++ b/adb_usb.ini @@ -4,3 +4,4 @@ 0x2717 0x0e8d 0x2b0e +0x2a45 \ No newline at end of file