Commit Graph

509 Commits

Author SHA1 Message Date
Mauro Perez 24ec009132
fix: typo within README.md (#294)
fix typo
2023-11-20 00:57:13 +01:00
Gianluca Boiano 9faff4d319
style: remove all unused labels (#292) 2023-11-06 13:32:08 +01:00
Gianluca Boiano d9dbf06531 feat: add CI to verify rules (#291) 2023-11-04 16:21:21 +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
Gianluca Boiano 975043da7c
Merge pull request #263 from mskiptr/main
Meizu M6T and miscellaneous improvements
2023-07-07 11:06:21 +02:00
Piotr Masłowski d2d1aac4c5 fix: use correct Debian Archive section name
The Debian Archive is dividied into several sections. The one containing
developer tools is called 'devel'. Use that in debian/control.
2023-07-07 04:25:57 +02:00
Piotr Masłowski a4b41794ee docs: mention wiki in README.md 2023-07-07 04:25:57 +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
Giedrius M b4d81e62d0
chore: add sysusers.d android-udev.conf to RPM spec (#254)
Co-authored-by: Giedrius M <giedrius.masalskis@softra.lt>
2023-03-10 11:08:11 +01: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
Gianluca Boiano 070127712e
chore: install.sh: some edits to make it work with sudo & su (close #242) (#244) 2022-12-10 23:23:12 +01:00
Paul Harriet Asiñero ac87fda61d
fix: install.sh: get current user instead of root on the automatic install script (#239)
* Get current user instead of root on the install.sh script

* Added automatic install steps on README.md
2022-09-16 09:41:34 +02: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