Commit Graph

341 Commits

Author SHA1 Message Date
Joe e58afe2216
# RedMi 8 Pro by miguelromero (#193) 2020-09-11 08:01:13 -07:00
M0Rf30 37e8d4c2eb Split Vendor and single products detection for PR #191 2020-09-06 00:33:09 +02:00
Danny Hvam 3d22f35744
Add support for Castles and Point Mobile (#191)
* Add support Castles devices

* Add support for Point Mobile devices

Co-authored-by: Danny Markussen Hvam <dmh@fiftytwo.com>
2020-09-06 00:13:15 +02:00
Térence Clastres da5ee1d25d
Fix some typos (#190)
Uncovered by #164
2020-08-12 17:29:57 +02:00
Joe 66a63f37ee
Skip hubs and printers. avoid assuming android developer mode (#189)
* Skip hubs and printers. avoid assuming android developer mode

Some devices aren't likely going to ever be android devices
such as hubs or printers, therefore skip tests and move on.

Removed default ENV{adb_user}="yes" for several vendors and
set yes only if matches vendor and product-mode. These need
to be tested-out, therefore just change some for now, later
change the rest. ...android.rules should check for android,
and leave mtp mode for another set of rules devoted to mtp.

* Avoid assuming debug mode enabled based on only idVendor.

If idProduct also matches - then enable adb or fast flags
Edited both OnePlus and Google phones since related here.

Feedback based on issue#164
Failed to rename '/dev/android.tmp-c189:17' to '/dev/android' failed: Is a directory

* Edit/adjust universal rule to fit inline after/before other checks
2020-08-11 09:16:53 +02:00
Joe da9b5c86b3
Exit earlier if not add, and reduce tests further (#188)
Several HTC are:
 =0c01 for mass storage, and
 =0c02 for development

Do fewer tests for Intel phones and don't assume other stuff is.
2020-08-03 23:20:15 +02:00
Artem 6876144fef
Tablet Idea XDS-1078 added (#187)
* idea tablet added

* adb user

Co-authored-by: Artem Dekhtyar <m@artemd.ru>
2020-08-02 23:22:00 +02:00
Joe b3702da7fa
Ensure all idProduct are guarded by a preceeding idVendor. (#186)
There were a few instances of idVendor being checked without
idProduct being verified first. Re-coded to ensure idVendors
had an idProduct check first.

SYMLINK+=android_adb can be also done too with ENV{adb_adb}.

Shorten adb_fast to exclude adb_user, adb_adbfast does both.
2020-06-15 11:14:39 +02:00
Joe 632c51ae56
Scanned other rules and updated vendor names, added Parrot (#185) 2020-06-15 11:14:19 +02:00
Joe 721c47b5d0
nvidia corrected to 0955, should close issue #163 (#184)
Doing a vendor check Nvidia is 0955 with productID 7000/7100
for a Folio or Folio100, also found other tablet to include.
2020-06-14 12:31:42 +02:00
Joe 311e6d42d6
Remove two duplicates and alphabetically re-order SK Telesys and Wileyfox (#183) 2020-06-14 12:31:27 +02:00
M0Rf30 e5bc06eea4 Indentation cleanup 2020-06-13 12:26:14 +02:00
Daniel Kutik 6f6d26d24f
Removed duplicate entry for Qualcomm (05c6) (#180)
Line 458-460 are already taking care of this:

 458 # Qualcomm
 459 ATTR{idVendor}!="05c6", GOTO="not_Qualcomm"
 460 ENV{adb_user}="yes"

Test: adb device with pid 05c6 still working
2020-06-13 12:20:03 +02:00
Samyak Jain 2152a5905b
Adds support for Huawei P10 Lite to udev rules (#181) 2020-06-13 12:19:09 +02:00
M0Rf30 3ac6e22f10 Disable ADVANCE rules: needs specific product rules (fix #182) 2020-06-13 12:17:50 +02:00
Frank Carpenter ecd3a32461
Add Spectralink (#177) 2020-04-26 12:58:57 +02:00
Gianluca Boiano 8a21289c3d
Cleanup of entries without an action 2020-04-10 20:21:18 +02:00
Gianluca Boiano ceeb08ee96
Revert "Uncommented Dell idVendor line" (#175) 2020-01-21 21:24:53 +01:00
ercollin 724095c38e Add Sonim as vendor (#174)
* Add Sonim as vendor

* Put Sonim in alphabetical order
2020-01-16 11:47:08 +01:00
Issam Maghni 883c76510b
Essential Phone PH-1 is also known as `2e17:c032`
Fix https://forum.xda-developers.com/essential-phone/help/fastboot-commands-t3950106
2019-12-11 00:20:29 +00:00
Gianluca Boiano 0d2c63fee9
Reverting android universal rule. We prefer a punctual device detection (commented as reminder) 2019-08-31 13:25:29 +02:00
KAMiKAZOW 3c83eada42
Add GPLv3 header to rule file 2019-05-30 16:58:20 +02:00
M0Rf30 fc939ecb53 Xiaomi RedMi 7 added 2019-05-14 23:09:27 +02:00
David Cesarino 6126cfb1d0
Fix nVidia label definition. 2019-05-09 11:51:39 -03:00
M0Rf30 eeb5e904d4 added Nvidia Shield TV product 2019-04-11 20:19:14 +02:00
Randall E. Barker b593ab64b7 Added Pico vendor ID 2019-04-10 15:22:29 -07:00
stay steadfast 374791ad97
oneplus: added Asia productid 2019-03-22 10:58:07 +01:00
parkerlreed 155b0c5fd5
Added Oculus vendor ID 2019-03-13 13:55:01 -04:00
Igor Starikov 288375c506
Added LG90 D410 rules
Hi,

Just as in the title.
2019-02-21 11:05:49 +07:00
M0Rf30 5b0c011dd5 Added Mediapad T3 description 2019-01-26 14:55:10 +01:00
Ramil Gallyamov 0147452604 Added Huawei KOB 2019-01-23 11:17:02 +03:00
Ryan Heise 0df245aa3f Added Xperia XZ 2018-12-21 11:46:01 +11:00
bbo2adwuff d4906815e9
Added HTC One X (endeavoru) 2018-11-01 15:16:33 +01:00
Gianluca Boiano be8d1974f2
Fix #154 2018-10-31 15:44:02 +01:00
Gianluca Boiano c8f2e1e495 removed plugdev group (fix #153) 2018-10-30 15:00:59 +01:00
Gianluca Boiano cc6c307945 typo clean 2018-10-26 14:58:53 +02:00
William Swiss d1b690653f William Swiss: added line under the Motorola section for the Moto x4 2018-10-09 20:43:37 -04:00
babariviere 41836a327e Add Huawei Mate 9 2018-08-02 14:58:49 +02:00
M0Rf30 704f83d852 adding adb universal rule (thanks to ktnr74 #147) 2018-07-19 12:32:57 +02:00
M0Rf30 4a01f79bad Removed Robin reference, Nextbit alphabetically ordered 2018-07-15 19:02:37 +02:00
richegg 8ee493abd6 add config for Nextbit Robin 2018-07-14 09:49:04 +08:00
M0Rf30 544410ec08 replaced spaces 2018-06-09 03:15:35 +02:00
M0Rf30 3a6170cb54 Motorola Droid Turbo 2 added 2018-01-12 12:29:53 +01:00
root d3e78baad5 add another idProduct for Essential PH-1 2017-12-21 15:22:12 +09:00
Max Rumpf aa7f9cf5c2
Support Essential PH-1 2017-12-14 13:23:15 +01:00
M0Rf30 2fa03ba644 cleanup 2017-12-06 14:48:54 +01:00
Gianluca Boiano 309be0e479
Merge pull request #130 from jemyzhang/master
add Oneplus3 device(Oreo)
2017-12-06 14:41:42 +01:00
jemyzhang 981523a622 add Oneplus3 device(Oreo)
+ add oneplus 3 device, seems can not be recognized by ubuntu(17.10)
  after updated to oreo.
* format ZTE according to rules
2017-12-06 11:32:23 +08:00
Davide Depau a4a5a70d3c
Add special rules for OnePlus 3T running Oreo
OnePlus 3T running Oxygen OS Oreo changes IDs for every USB mode
2017-12-05 16:50:43 +01:00
M0Rf30 d91c7c776a fixed https://github.com/M0Rf30/android-udev-rules/issues/127 2017-11-13 12:32:11 +01:00
Gianluca Boiano 18b026bf0a
Merge pull request #125 from ganadist/master
add product id for Xiaomi A1
2017-11-10 12:57:56 +01:00
ncaq 71df448445 fixed: quotation to ascii 2017-11-10 10:10:36 +09:00
YOUNG HO CHA 25a2d6f932 add product id for Xiaomi A1
Signed-off-by: YOUNG HO CHA <ganadist@gmail.com>
2017-11-09 10:42:54 +09:00
YOUNG HO CHA 31156df953 add to support intel reference boards
Signed-off-by: YOUNG HO CHA <ganadist@gmail.com>
2017-11-08 19:13:16 +09:00
YOUNG HO CHA ec19521ad2 Update 51-android.rules
Update Nexus/Pixel product ids and add reference urls

Signed-off-by: YOUNG HO CHA <ganadist@gmail.com>
2017-11-06 23:42:36 +09:00
Joergi 57501c8145
Update 51-android.rules
adds the Pico i.MX7 Dual Development Board
all fame goes to @johnjohndoe
https://gist.github.com/johnjohndoe/a67d1558d01cb79bf6347beb35722ece
2017-11-03 21:08:42 +01:00
Andrew Sellers 480e8b1ad5 Added Meizu hardware code to adb_usb.ini and Meizu MX6 IDs to udev rules 2017-11-02 17:20:57 -07:00
Andrew Sellers da3a426bda Uncommented Dell idVendor line 2017-11-02 11:01:50 -07:00
M0Rf30 abf3352bd8 tab indentation 2017-10-31 13:04:22 +01:00
Andrew Sellers 1dd112a2b9 Added Research in Motion section with BlackBerry DTEK60 codes, tested and working. 2017-10-30 11:51:23 -07:00
mxs edac44dd2b Update 51-android.rules
Add dual-sim Nokia 3 to rules
2017-10-09 16:47:10 -07:00
M0Rf30 f4c5a12692 Huawei Honor 6 added 2017-09-10 13:42:06 +02:00
Sergey Shatunov 7ff0705fff
Add Xiaomi Mi Mix rule 2017-09-07 00:05:26 +07:00
M0Rf30 610673fe07 Commented Kyocera vendor in order to collect some specific device ids and fix #115 2017-09-02 16:20:47 +02:00
M0Rf30 09ac50a2a3 Commented Dell vendor in order to collect some specific device ids and fix #109 2017-09-02 16:19:29 +02:00
M0Rf30 6a2a653656 Removed generic 8087 vendor in order to fix #109 2017-09-02 16:16:41 +02:00
M0Rf30 777216e102 Added Zenphone 2 & Zenphone 4 2017-09-02 16:08:57 +02:00
M0Rf30 3be588cafe added Chuwi Hi 10 Pro (HQ64) 2017-09-02 16:06:04 +02:00
wbervoets cc0144b7a9 Add OnePlus 5 2017-08-07 10:44:46 +02:00
Luiza Utsch d84bd6365d Fixing tab use
Fixing tab use to comply with standard used on the file
2017-05-27 19:37:00 +01:00
Luiza Utsch 89eacfdd27 Adding Xperia Z3 (D6603)
Added and then tested with Android Studio
2017-05-27 18:34:22 +01:00
James Willcox 723cf97c4c Add rules for Nexus 6P 2017-04-14 13:23:11 -05:00
Johannes Oertel 023de37357 Add LG G2 mini D620r 2017-03-22 18:16:40 +01:00
Duncan Healy 736059b791 Added lex720 (leeco lepro3) 2017-02-28 11:22:32 +00:00
Ole Jørgen Brønner 3084577972 Added Sony Xperia Z2
Based on model D6503
2017-02-04 16:12:27 +01:00
Martin Breuer 645cbdceeb Added OnePlus 3T 2017-02-02 15:23:57 +01:00
Gianluca Boiano 7ffd91c4f3 Clean up, removed some duplicates 2017-01-28 14:03:04 +01:00
Takuro onoue 266f206465 Add Xiaomi Mi5 2017-01-27 10:43:14 +09:00
Takuro onoue 9b16b81e81 Add Xiaomi Mi5 2017-01-26 15:48:46 +09:00
Steven Allen ee36cb6eda Fix typo (OTO -> GOTO) 2017-01-24 22:19:37 -08:00
Piotr Zaborowski 5bb39a6b1b Add OnePlus 3
ID taken from https://forum.xda-developers.com/oneplus-3/how-to/guide-
connect-op3-mtp-linux-ubuntu-t3402472
2017-01-09 14:06:09 +01:00
Piotr Zaborowski 481da6d2ae Update adb recovery to work with OnePlus 3
Based on the lsusb from a friend owning a OP3:

Bus 001 Device 014: ID 18d1:d002 Google Inc. Nexus 4 (debug)
2017-01-09 14:05:57 +01:00
M0Rf30 feebc7d923 cleanup 2017-01-09 01:44:31 +01:00
M0Rf30 0c8b901d92 added Nokia X to non-Ubuntu rules 2017-01-09 01:14:44 +01:00
Takuro Onoue 3c26d2d3f2 YotaPhone2's idProduct is f003=normal,9139=debug. 2017-01-05 12:40:13 +09:00
Takuro Onoue d610187150 YotaPhone2's idProduct is f003=normal,9139=debug. 2017-01-05 12:40:13 +09:00
Takuro Onoue a8562deafa correct the idProduct. 2017-01-05 10:26:20 +09:00
Takuro Onoue b877edfa5e correct the idProduct. 2017-01-05 10:26:20 +09:00
Takuro onoue c79787e401 Add YotaPhone2 2017-01-04 17:37:53 +09:00
Takuro onoue 23cd91608d Add YotaPhone2 2017-01-04 17:37:53 +09:00
M0Rf30 ab72f99db1 20170103 2017-01-03 10:07:13 +01:00
M0Rf30 b73aef63be 20170103 2017-01-03 10:07:13 +01:00
lrin c986f965f1 Xiaomi: Add Xiaomi 4c 2017-01-01 20:28:43 +08:00
lrin 59a963b887 Xiaomi: Add Xiaomi 4c 2017-01-01 20:28:43 +08:00
lrin 9766b6456c Add IUNI Devices 2017-01-01 20:25:08 +08:00
lrin 72ab6990c1 Add IUNI Devices 2017-01-01 20:25:08 +08:00
Sascha Peilicke e9b2aa0b0b Add rule for Audi SDIS RSE tablet 2016-12-21 10:24:31 +01:00
Sascha Peilicke 00e9aaae6c Add rule for Audi SDIS RSE tablet 2016-12-21 10:24:31 +01:00
Piotr Zaborowski 73b46a44df Fix goto issues for Honeywell/Foxconn and Zebra 2016-10-12 13:56:31 +02:00
Piotr Zaborowski b59e6595bf Fix goto issues for Honeywell/Foxconn and Zebra 2016-10-12 13:56:31 +02:00
M0Rf30 ef6c3b0463 indentation 2016-09-01 17:56:37 +02:00
M0Rf30 e3f252cc11 indentation 2016-09-01 17:56:37 +02:00
Rory Smith f5510b86e3 Added Wileyfox and YU. 2016-09-01 09:57:50 +01:00
Gianluca Boiano 53c92cb022 update refs 2016-08-26 11:07:35 +02:00
M0Rf30 a539938c5c Added Huawei watch product id 2016-08-05 16:20:29 +02:00
M0Rf30 dd210263e7 Added LG G2 D802 2016-08-05 16:18:12 +02:00
Oliver Gasser 42b072931d Add Fairphone 2 2016-04-30 11:23:34 +02:00
M0Rf30 9af6e55201 some kind of indentation 2016-04-26 12:42:50 +02:00
M0Rf30 c3e66b46b2 Actions Semiconductor Co., Ltd 2016-04-26 12:32:18 +02:00
Piotr Zaborowski a474cd9232 Add HUAWEI MediaPad M2-A01L 2016-04-22 13:11:04 +02:00
Piotr Zaborowski a861d6427c Cleanup whitespace and wording 2016-04-08 17:56:52 +02:00
Piotr Zaborowski 23bde08757 Add Micromax P702 to rules 2016-04-08 17:33:57 +02:00
jemyzhang ca5da494be Add RedMi Note 4G CDMA 2016-03-03 18:15:18 +08:00
M0Rf30 e6f2caa256 ZUK Vendor 2016-02-06 12:35:14 +01:00
M0Rf30 433b7aca6e Alcatel OT6012A; Honeywell D70e; Zebra TC55 2016-02-05 14:36:41 +01:00
Joe Da Silva 27216f35b4 Code and repetition reduction
Reduce the amount of repeated code referring to debug AND fastboot by
using just 1 enviroment variable in the ID test section of the script.
Add an "android" SYMLINK so developers know device is connected, but
the real debug SYMLINK is supposed to be "android_adb" as per docs.
2016-01-22 07:19:40 -08:00
Joe Da Silva 59ced11340 Several edits and fixes
Reduce several tests and additions.
Allow samsung probability of tablets too.
Some errors, like TI not setting env variable for a match.
2016-01-21 07:20:50 -08:00
Joe Da Silva 9a17ff1248 Update Huawei to handle several devices, exit sooner if yes/no 2016-01-21 07:10:19 -08:00
Joe Da Silva 71bdd54a1e Place ZTE in alphabetic order 2016-01-21 07:05:34 -08:00
Joe Da Silva aec12bcd52 Update XiaoMi to handle several devices, exit sooner if yes/no 2016-01-21 07:03:25 -08:00
Joe Da Silva 8b05099aa1 Fixes -> Rules too broad for Asus; catching my bluetooth dongle. #72
Also if vendor==Asus then skip other tests and go directly to match_found.
2016-01-21 06:52:16 -08:00
Marco Bartoli 7adae6eb36 Added HiKey rules 2016-01-20 01:49:36 +01:00
M0Rf30 115d218deb try to fix OPO detection 2016-01-19 18:27:16 +01:00
tesfabpel 5ca08fd96d Add rules for OnePlus Two 2015-12-08 23:26:33 +01:00
Xiao Bao Clark 8d99cfc1d2 Add rule for Sony Xperia Z3+ dual 2015-12-05 11:38:10 +11:00
M0Rf30 0f1e41ae0d updated some samsung devices and typo error 2015-11-07 18:51:18 +01:00
M0Rf30 40a754fba3 Merge branch 'master' of https://github.com/M0Rf30/android-udev-rules 2015-11-07 18:50:16 +01:00
M0Rf30 23af5b58ac updated some samsung devices and typo error 2015-11-07 18:49:39 +01:00
M0Rf30 d664d0c1b1 updated LG G2 rogers 2015-11-07 18:35:34 +01:00
archjun 908bc60a0a added text string for Samsung Galaxy S3 SHW-M440S Korean version 04e8:6860 2015-11-06 21:40:45 +09:00
Elvis Stansvik cdcd2651e6 Add rule for Sony Ericsson Xperia Z3 Compact. 2015-10-25 11:11:27 +01:00
archjun e58f57271f added device name for HTC Sensation 0bb4:0f87 2015-10-19 23:57:35 +09:00
Piotr Zaborowski 18f0a8c557 Add id for Motorola XT1052 2015-09-18 14:41:29 +02:00
iiotx 523aefb968 Update 51-android.rules 2015-08-19 21:28:38 -04:00
iiotx 069136c96a Update 51-android.rules 2015-08-19 21:18:49 -04:00
David Runge f23cead401 51-android.rules: Removing idProduct, that excludes HTC One S. This part of the rule did not check for the existence of 'debug mode' as it said it would. 2015-08-08 23:23:07 +02:00
Ilya Aksyonov e1efd72303 Update htc m8 2015-07-27 15:00:01 +03:00
Joe Da Silva 3af4266bbe Tell seekers where to find the latest update so they can update this too. 2015-02-28 12:17:25 -08:00
Joe Da Silva f3c42d090a HTC fastboot mode. just test once, then go do it. 2015-02-28 12:01:20 -08:00
Joe Da Silva 6c08804451 Move false positive printer to top & exit. Assume all phones are "6???"
6??? might be a correct assumption of all phones, or it may be too drastic
for a cutoff value since you may want to include other USB devices too.

NOTE: Someone (eventually) needs to submit a non=6??? android device :-)
2015-02-28 11:57:23 -08:00
Joe Da Silva a5d728a622 Include LG P500h and Samsung Core (in the notes sections) 2015-02-28 11:53:21 -08:00
Joe Da Silva 213ff3fde6 Add HTC One V 2015-02-28 11:37:26 -08:00
Joe Da Silva 7c378ba374 HTC - skip adding connection if debug mode turned off 2015-02-28 11:35:12 -08:00
Thomas Weißschuh 25e23e5719 fix syntax
comments are only allowed at the start of a line
2015-02-11 23:02:57 +00:00
M0Rf30 82f78561f3 some xiaoMI rules 2015-02-02 02:59:11 +01:00
Thomas Sarboni bd9d979fad Add missing OnePlus One product ID : "6765" 2015-01-14 14:43:28 +01:00
M0Rf30 2a61271668 Moto E specified rules 2014-12-25 03:39:35 +01:00
M0Rf30 35d2db54fc Zenfone trial 2014-12-15 19:41:34 +01:00
M0Rf30 1f9fd3004d Cleaning up 2014-12-15 19:27:05 +01:00
M0Rf30 6da72cfeff Typo 2014-12-15 19:18:02 +01:00