1
0
mirror of https://github.com/M0Rf30/android-udev-rules.git synced 2024-06-21 06:56:50 +02:00
Commit Graph

325 Commits

Author SHA1 Message Date
Joe Da Silva
2df7853235 chore: use more specific adb GOTOs for XiaoMi
Did some comparisons and removed some repeats 9039, 904e.
Changed from blanket accept all to default drop unknowns.
2023-11-26 00:35:09 -08:00
Joe
a5d7db7d9c
fix: Motorola adbfast code, also sort codes and use default drop (#297)
Fixed typing error with adbfast in issue 293 and 296.
Sorted several codes numerically and added some more adb related
codes scrapped from libmtp idProduct values.

Higher confidence due to idProduct values given in issue 296,
therefore converted Motorola from blanket accept to default drop.
2023-11-23 02:44:20 +01:00
Gianluca Boiano
9faff4d319
style: remove all unused labels (#292) 2023-11-06 13:32:08 +01:00
Joe
965d00dcf3
chore: fix code due to journalctl output errors (#289) 2023-11-04 10:55:39 +01:00
Colin Cheng
55941db9d4 fix: fix Spreadtrum rule 2023-11-04 10:52:31 +01:00
Joe
2e6c41afcd
feat: add 04e8:685d ODIN link used instead of fastboot by Samsung (#284)
Details as seen in issue #269 - Samsung Galaxy A5 (2016)

Co-authored-by: Piotr Masłowski <piotr@maslowski.xyz>
2023-09-29 10:29:01 +02:00
Joe
4bb6409ccb
feat: add Samsung Galaxy A5 (#286)
Thanks to Piotr Masłowski (mskiptr) for the detailed work done here.
See issue https://github.com/M0Rf30/android-udev-rules/pull/269

Co-authored-by: Piotr Masłowski <piotr@maslowski.xyz>
2023-09-29 10:24:31 +02:00
Joe
18ab19b8d2
chore: modify BQ device as adb+mtp, or mtp (#285)
initial patch was to add android links, however, based on looking at
libmtp these are both mtp, therefore changed these to adb+mtp, while
the mtp-only product was dropped and left for libmtp to handle since
it appears there is no adb for this. More details given in issue #46
2023-09-03 09:30:52 +02:00
Joe
66d21f0e69
chore: use more specific adb GOTOs for misc (#283)
Reduce several generic links down to more specifics
by changing "assumed match" due to vendor code, to
"assumed exits" using GOTO="android_usb_rules_end".
This should help reduce false positives that perhaps
should be handled elsewhere like cameras, keypads,
keyboards, mice, or other devices, etc, etc, etc.

Some vendor info is very ambigous and needs more info
therefore commented-out code (needs more info).

Some vendors left as-is since they appear specific to
a product type and it might break a line of something
which may be better left for now, looked at in future.

merged in some idProduct details from linux-usb.org,
device hunt, and also libmtp.

Cleaned up some commenting for more consistency.
2023-08-28 14:36:08 +02:00
Joe
7d09e779fa
chore: use more specific adb GOTOs for LG (#281)
merge in some idProduct details from linux-usb.org and device hunt
2023-08-27 09:28:14 +02:00
Joe
d3b6bb9520
chore: use more specific adb GOTOs for HTC (#280)
merge info from linux-usb.org, libmtp, device-hunter
2023-08-27 09:27:57 +02:00
Joe
b822aa76e4
chore: use more specific adb GOTOs for Google (#282)
merge in idProduct details from linux-usb.org, device hunter, libmtp
2023-08-27 09:27:42 +02:00
Joe
d40a71d6e8
chore: use more specific adb GOTOs for Qualcom & nVidia (#279) (#279)
also merged additional info found in linux-usb.org,
and libmtp idProduct values, and device hunter values.
2023-08-26 09:27:00 +02:00
Joe
241ee04877
chore: use more specific adb GOTOs for ZTE (#278) (#278)
compress list and add more info
2023-08-26 09:26:42 +02:00
Joe
0c841906f8
feat: add Motorola G3, edit some other Motorola values (#277) (#277)
Added values according to Motorola G3.
Fetched some related idProducts from libmtp.
2023-08-26 09:26:27 +02:00
Joe
bfc19426bf
feat: add Samsung Core and general cleanup (#276) 2023-08-23 14:46:27 +02:00
Joe
65c6bda037
chore: use more specific adb GOTOs for Xiaomi (#275)
Some additional info found in linux-usb.org
libmtp datapoints also provided some more info, plus issue92
2023-08-23 08:35:19 +02:00
Joe
505f94026c
chore: use more specific adb GOTOs for Fairphone (#274) 2023-08-23 08:34:56 +02:00
Joe
a4547d7a9d
chore: use more specific adb GOTOs for Asus (#273)
Changed values according to comment section.
Compare values to linux-usb.org and also scraped several libmtp values.
2023-08-23 08:34:34 +02:00
Joe
9086ca3e9c
chore: use more specific adb GOTOs for Oppo and OnePlus (#272)
Also scraped some further idProducts from libmtp and gentoo.
Also scraped some idProducts from linux-usb.org
2023-08-23 08:34:07 +02:00
Joe
d9022cd3be
feat: add MediaTek Moto E22i, MT65xx/67xx (#271)
Detailed info by alpenb (issue#259) shows various adb modes, and also
appears to possibly conflict with Umidigi F1, which shows a fastboot.

Scraped idProducts from libmtp for more adb connections MT65xx/67xx.

Expanded adbcdc for debugging purposes, and added some cdc comments.
2023-08-23 08:33:01 +02:00
Piotr Masłowski
c647e5884a feat: add Motorola Moto Z3 Play
Some low fidelity lines for Moto {X,E,G,X4} were conflicting so I had to
comment them out.

Closes: #264
2023-08-23 08:31:57 +02:00
Piotr Masłowski
92b24c30d6 feat: add support for fastboot without adb 2023-08-23 08:31:57 +02:00
Piotr Masłowski
ff596732c6 fix: revert an accidental early exit
The previous refactor has accidentally changed this to an early exit,
even though this section sets a variable that needs to be acted upon.

Fixes: 16daf49a ("refactor: use GOTO next LABEL after device found (for a faster rules script). (#266)")
2023-08-23 08:31:57 +02:00
Алексей
7a671c50f1 feat: add ASUS MeMO Pad 7 ME176C/ME176CX in DNX/Rescue mode 2023-08-22 08:18:03 +02:00
Joe
16daf49abd
refactor: use GOTO next LABEL after device found (for a faster rules script). (#266)
Code flow should go faster since further tests aren't performed as per
existing code flow.
Setup of variables are mostly done later (more compact script file).
2023-08-22 08:10:58 +02:00
Joe
f7057b0262
fix: don't set value while exiting script. (#267) 2023-08-19 18:41:13 +02:00
Piotr Masłowski
a9cf10ff93 style: Strip trailing spaces and make comments more readable 2023-07-07 04:25:50 +02:00
Piotr Masłowski
92c5ba3415 chore: bump copyright to 2023 and include all years with contributions 2023-07-07 04:24:55 +02:00
Piotr Masłowski
1034b68c04 fix: use up-to-date SPDX identifiers where applicable
This doesn't modify debian/copyright since it follows DEP5 and not SPDX.
2023-07-06 23:24:48 +02:00
Piotr Masłowski
3320bbce08 feat: add Meizu M6T (#262)
This doesn't distinguish different connection modes and is untested, as
I don't have access to the device.

For details see:
<https://github.com/M0Rf30/android-udev-rules/issues/262>
2023-07-06 13:47:35 +02:00
Mr. Gecko
c6610a74ab
feat: add Amazon Fire 7 tablet (#260) 2023-05-26 22:40:28 +02:00
Joe
11158ebdfc
feat: add Kindle Fire 10, Anbernic RG353P, Pinephone (#257)
* more codes for Kindle 10, plus Anbernic RG353P

Cycled through the various sequences and found codes for these modes.
Continuation of issue #256

* Kindle 8, Kindle 10, Anbernic RG353P, PinePhone

Joshua Fern collected information and provided details for
Kindle 8, 10, game emulator and a phone. This is a
continuation of Issue #256

* Add adb_adb{mtp,ptp,tet,midi}

Attempt to add adb and mtp at the same time.
Add differentiation between different adb modes.
Follow-up with details in Issue #256

---------

Co-authored-by: Joshua Fern <JoshuaFern@protonmail.com>
2023-05-22 10:35:19 +02:00
Ludovic Fernandez
d9396b75a1
feat: add support for OnePlus Nord N10 4G in USB tethering mode (#258) 2023-05-02 19:05:51 +02:00
jlbissonette
ffef6e408f
chore: add Pixel 7/Pixel 7 Pro to working Tensor Pixel devices. (#255) 2023-04-07 17:49:01 +02:00
Joe
535984daf7
issue 250 - exclude several Sony and Microsoft USB controllers, VR, BT (#252)
Anticipate newer versions have similar values, allow for substitutes "??"
2023-03-03 11:13:54 +01:00
Tim Schumacher
3c59cfeef5
feat: add Amazon Fire TV Stick Lite (3rd gen) (#251) 2023-02-06 15:33:43 +01:00
Alexander Zhirov
d6d8091aa2
feat: add Wileyfox Swift 2 Plus (#249)
Authored-by: Alexander Zhirov <a.zhirov@agrohold.ru>
2023-01-17 10:50:50 +01:00
MagneFire
539ac12ebb
feat: Rewrite Polar vendor and add Polar M600 product. (#248)
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-01-05 14:51:49 +01:00
MagneFire
323881f2e1
feat: add support for Polar vendor
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-01-04 16:48:11 +01:00
bczhc
59573f2077
feat: add Meizu M1 E (#246) 2022-12-30 14:25:39 +01:00
Gianluca Boiano
fbe0e0c92f
chore: add OnePlus 8T PTP and MTP support (close #240) (#245) 2022-12-10 23:53:25 +01:00
Paul Harriet Asiñero
9437c08679
feat: add support for Vivo devices (#238) 2022-09-15 23:22:11 +02:00
Dennis
60684a62dc
feat: add RMX3231 - RealmeC11 2021 (#237) 2022-09-14 12:04:21 +02:00
Namelesswonder
a5652179c8
feat: add product ID for CDC-NCM+ADB for Tensor Pixels (#236) 2022-08-31 09:43:22 +02:00
aerowastaken
3b7b6bb333
chore: change fast to adbfast for Pixel C (#235) 2022-08-25 22:49:59 +02:00
M0Rf30
b7663d80f8 fix: avoid wrong detections of controller devices (close #234) 2022-08-24 13:06:31 +02:00
M0Rf30
fe75db060f chore: remove commented universal rule 2022-08-24 12:53:42 +02:00
Lech Perczak
6ceb4ccee1
feat: add rules for ZTE MF286* series internal modems (#231)
* Add ZTE MF286[A] internal LTE modem

* Add ZTE MF286D internal LTE modem

* Add ZTE MF286R internal LTE modem
2022-06-15 21:42:31 +02:00
vorlon77
aa4a6d8ead
Add ZTE Blade A5 2020 (#229)
Tested on ZTE Blade A5 2020.
2022-05-30 09:39:50 +02:00