Skip to content

Commit

Permalink
Detect new brands: Adreamer, Ehlel, Hemilton, Umiio and Detect device…
Browse files Browse the repository at this point in the history
…s for exist brands (#7860)

* feat(device) detect new brand Ehlel: Modun C7 Pro
feat(device) detect new brand Hemilton: Pro Tab 1000
feat(device) detect brand Xiaomi: Redmi Note 9 Pro Max (M2003J6B1I)
feat(device) detect brand FiiO: M11S
feat(device) detect brand Aquarius: CMP NS220R, CMP NS220
feat(device) detect brand HP: Slate 10 HD, Slate 21 Pro
feat(device) detect brand F+: Life Tab Plus
feat(device) detect brand Soundmax: SM-QLED55T21SU, SM-LED32M12S
feat(device) detect brand ONVO: 50OV6000U, 43OV6000F
feat(device) detect brand Coolpad: Y60 5G (CP23NV3)
feat(device) detect brand Lenovo: Tab M10 5G (TB360ZU), Tab M8 (Gen 4) (2024) (TB301XU)
feat(device) detect brand Motorola: Moto G Stylus 5G (XT2131-3)
feat(device) detect brand Huawei: Honor 4T Pro (AQM-TL10), Enjoy 10 (ART-TL00),  MediaPad M3 Lite (Bach-W09)

* feat(device) detect new brand Umiio: P60 Ultra 5G
feat(device) detect brand OPPO: A3 (CPH2669)
feat(device) detect brand Samsung: Galaxy M15 5G (SM-M156B)
feat(device) detect brand Huawei: P30 Lite (MAR-L21MEA), P40 (ANA-N29)
feat(device) detect brand Motorola: Moto Z2 Play (XT1710-10)
feat(device) detect brand Blackview: A55
feat(device) detect brand Doogee: V10
feat(device) detect brand Wiko: Y82 (W-K630-TRU)
feat(device) detect brand Tecno Mobile: Pop 9 (TECNO KL4)
feat(device) rename models: Honor P40* to P40*

* feat(device) detect new brand Adreamer: LeoPad 10, LeoPad 10X, LeoPad 10S
feat(device) detect brand Xiaomi: Redmi Pad SE 8.7" (24075RP89G), Redmi Pad Pro 5G (24074RPD2G), 14T Pro (2406APNFAG)
feat(device) detect brand POCO: C61 (2312BPC51X), M6 Plus 5G (24066PC95I)
feat(device) detect brand OPPO: A94 (CHP2365)
feat(device) detect brand Realme: 13+ 5G (RMX5000)
feat(device) detect brand Nubia: Z60S Pro (NX725J)
feat(device) detect brand Noblex: A50
feat(device) detect brand EXCEED: EX7X4
feat(device) detect brand Aligator: S6550
feat(device) detect brand N-one: NPad Q
feat(device) detect brand Galaxy Innovations: 98 Quick
feat(device) detect brand Dany: Amaze AX-50 Advance
feat(device) detect brand Huawei: Honor MagicPad 2 WiFi (ROD2-W09)

---------

Co-authored-by: Liviu-Mihail Concioiu <[email protected]>
  • Loading branch information
sanchezzzhak and liviuconcioiu authored Oct 11, 2024
1 parent 3230375 commit 4ccddaf
Show file tree
Hide file tree
Showing 12 changed files with 1,142 additions and 57 deletions.
4 changes: 4 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'AD' => 'Advance',
'ADV' => 'Advantage Air',
'76' => 'Adronix',
'ADR' => 'Adreamer',
'AF' => 'AfriOne',
'FY' => 'AFFIX',
'A3' => 'AGM',
Expand Down Expand Up @@ -562,6 +563,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'EN' => 'Eton',
'ET' => 'eTouch',
'1E' => 'Etuline',
'EHL' => 'Ehlel',
'EU' => 'Eurostar',
'4J' => 'Eurocase',
'E9' => 'Evercoss',
Expand Down Expand Up @@ -741,6 +743,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'8H' => 'Hamlet',
'HAM' => 'Hammer',
'HAT' => 'Hathway',
'HEM' => 'Hemilton',
'H6' => 'Helio',
'HQ' => 'HERO',
'ZH' => 'Hezire',
Expand Down Expand Up @@ -1788,6 +1791,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'UL' => 'Ulefone',
'UA' => 'Umax',
'UM' => 'UMIDIGI',
'UM2' => 'Umiio',
'UNT' => 'Unitech',
'UZ' => 'Unihertz',
'3Z' => 'UZ Mobile',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5544,3 +5544,21 @@
model: Redmi Note 7
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 14; M2003J6B1I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 123.0.0.0
engine: Blink
engine_version: 123.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 9 Pro Max
os_family: Android
browser_family: Chrome
18 changes: 18 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -987,3 +987,21 @@
model: M501
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 10; FiiO M11S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.224 YaSearchBrowser/24.78.1 BroPP/1.0 YaSearchApp/24.78.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.78.1
engine: Blink
engine_version: 126.0.6478.224
device:
type: portable media player
brand: FiiO
model: M11S
os_family: Android
browser_family: Unknown
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3234,7 +3234,7 @@
device:
type: smartphone
brand: Huawei
model: Honor P40 Dual
model: P40 Dual
os_family: Android
browser_family: Chrome
-
Expand Down
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@
device:
type: smartphone
brand: Huawei
model: Honor P40 4G
model: P40
os_family: Android
browser_family: Chrome
-
Expand Down
Loading

0 comments on commit 4ccddaf

Please sign in to comment.