Skip to content

Commit

Permalink
Detect new brands: KINGZONE, Fourel, M-Tech, Fantec, 2F Mobile, AURIS…
Browse files Browse the repository at this point in the history
…, YUHO and Detect devices for existing brands: Meizu, Microsoft, HP, Twoe, Huawei, Konrow, Acer, Centric, Asus, Dell, Xolo, InFocus, iBall, IKU Mobile, Venso, DEXP, IUNI, Keneksi, Medion, Advan, Contixo, Iris, Digma, Ziox, HTC, Leagoo, Oysters, Oukitel, Beelink, QMobile, Energy Sistem, Artel, MyPhone, Vivax, Xiaomi, Cherry Mobile, Krüger&Matz, Blaupunkt, GOCLEVER, S-TELL, Qumo, Karbonn, Condor, Torex, Savio, Yu (#6738)

* feat(device) detect brand POCO model: F3 (M2012K11AG)

* feat(device) detect brand Xiaomi models: MI 11 (M2011K2G, M2011K2C), MI 10T 5G (M2007J3SP), Redmi Note 9 Pro 5G (M2007J17C)

* feat(device) detect brand Asus model: ROG Phone 5 (I005DA)
feat(device) detect brand OnePlus models: 9 Pro (LE2120, LE2123), 8T (KB2007)

* feat(device) detect new brand MAC AUDIO model: S Pro

* feat(device) detect new brand Topway model: TS9 (sp9853i_1h10_vmm)
feat(device) detect brand Allwinner model: QUAD-CORE T8

* feat(device) detect brand Xiaomi models: Redmi Note 10 (M2101K7AI), Redmi K40 Pro (M2012K11C)
feat(device) detect brand POCO model: X3 Pro (M2102J20SG)
feat(device) detect brand Realme model: GT Neo (RMX3031)
feat(device) detect brand Sony model: Xperia 5 II (XQ-AS62)
feat(device) detect brand TCL model: 10 Pro (T799H)
feat(device) detect brand Vivo models: Y31s (V2054A), iQOO 7 (V2049A)

* feat(device) detect brand Realme models: 8 Pro (RMX3081), 7 (RMX2151), Q2 5G (RMX2117)
feat(device) detect brand TCL model: 20 SE (T671H)
feat(device) detect brand POCO model: X3
feat(device) detect brand Vivo model: Y11s (V2028)

* feat(device) detect new brand BrightSign models: HD1023, XD233, XD1030, XT1144, XT1143, 4K1142, XD230, LS424
feat(device) detect brand Huawei models: MatePad T10s (AGS3-W09), Nova 8 5G (ANG-AN00)
feat(device) detect brand Artel model: T10
feat(device) detect brand Blu model: View 2 (B130DL)
feat(device) detect brand CUBOT model: J9

* feat(device) detect brand POCO model: M2 Pro
feat(device) added test detect brand Blu model: Dash M2

* feat(device) detect brand Ravoz model: Z6

* feat(device) detect brand LG model: W10 (LMX130IM)

* feat(device) detect brand Realme models: C15 Qualcomm Edition (RMX2195), Narzo 20 (RMX2193),
 C17 (RMX2101), X3 (RMX2081), Narzo 20A (RMX2050)

* feat(device) detect brand Ravoz models: Z5 Pro, Z5, Z5 Lite
feat(device) detect brand Xiaomi models: Redmi 9i (M2006C3LII), MI 10i (M2007J17I)
feat(device) detect brand POCO model: X3 NFC (M2007J20CT)
feat(device) detect brand T-Mobile models: REVVL 4 Plus (5062Z, 5062W), REVVL 4 (5007Z, 5007W)

* feat(device) detect brand iBall model: Gorgeo 4GL
feat(device) detect brand Touchmate model: Mega Matrix 10.1" 3G (TM-MID1050WKD)

* feat(device) new detect brand Greentel model: X1 Light LTE
feat(device) detect brand Lava model: Ivory S4G
feat(device) detect brand ZTE model: Grand X View 4 (K87CA)
feat(device) detect brand Asus model: ZenFone Max Pro M2
feat(device) detect brand Huawei model: Nova 7 SE 5G (CDY-NX9B)
feat(device) detect brand Vivo model: iQOO 3 5G (I1927)
feat(device) detect brand Karbonn model: Titanium S9 Plus
feat(device) detect brand Mito model: A35
feat(device) detect brand Xiaomi model: MI 4i

* feat(device) detect brand Huawei model: Mate 40 Pro+ (NOP-AN00)

* fix: tests

* feat(device) detect brand Tecno Mobile model: Spark 6 Go (KE5j)
feat(device) detect brand Yes model: Altitude 3 (M685Y4)
feat(device) detect brand Tecno Mobile models: Narzo 20 Pro (RMX2161), X50 5G (RMX2144)
feat(device) detect brand Mobiistar models: C2, C1, C1 Shine, E1

* feat(device) detect brand LG model: G6 (LG-H873)

* feat(device) detect brand LG models: V30 (LG-H932PR, LG-H933, LG-H932PR)
feat(device) detect brand LG models: V30 (LG-H930, LG-H931, LG-H932)
feat(device) detect brand LG models: V30 (LGM-V300K, LGM-V300L, LGM-V300S)
feat(device) detect brand LG models: V30 (LG-H932PR, LG-AS998)

* feat(device) detect brand LG models: V30 Plus (LGV35)
feat(device) detect brand QMobile models: LT950
feat(device) detect brand Yezz models: LIV1

* feat(device) detect new brand Kyowon model: KA-E410W
feat(device) detect brand Samsung model: Galaxy Tab S 8.4" LTE (SM-T707V), Mamorino 5 (KYF40)
feat(device) detect brand Kyocera models: Torque 5G (KYG01),
feat(device) test for brand Koobee model: F2

* feat(device) detect brand LG models: G5 (LG-H868), G Pad F 7.0" (LGLK430)

* feat(device) detect brand Alcatel models: 3T 10 (8088M)

* feat(device) detect brand Alcatel models: Joy Tab (9029Z)

* feat(device) detect new brand LT Mobile models: Note 10S (LT-NOTE 10S)

* feat(device) detect new brand ONYX BOOX models: Kon Tiki
feat(device) detect brand Logic models: X60 Plus

* feat(device) detect brand QMobile model: Noir LT700 Pro

* feat(device) detect brand Asus models: ZenFone 4 Selfie Pro (Z01MDA)

* feat(device) rename model ZenFone 4 Selfie => ZenFone 4 Selfie Pro (Z01MD, Z01MDA)
issue #6732

* feat(device) rename model ZenFone Max Pro => ZenFone Max Pro M1 (ZB602KL)
issue #6732

* feat(device) detect brand Asus models: PadFone Mini (T00C), PadFone E (T008),
 PadFone Infinity (T004), ZenFone 3 Max (X008D), ZenFone Go (X009D)

feat(device) add test for brand Asus models: PadFone Infinity

issue #6732

* feat(device) detect new brand GFive models: President Gold 9, President Gold 10
feat(device) detect brand HP model: EliteBook 820 G2
feat(device) detect brand Huawei model: Honor 9X Pro (HLK-L42)
feat(device) detect brand Essentielb model: HEYou 30
feat(device) detect brand Videocon model: Ultra 50
feat(device) detect brand Gionee model: F103 Pro
feat(device) detect brand QMobile model: Hot Pro 2
feat(device) detect brand Tecno Mobile model: S9
feat(device) detect brand Blu model: Vivo 5 Mini
feat(device) detect brand ZTE model: Blade 20 Smart (2050RU)
feat(device) detect brand Xiaomi models: MI 4W, MI MIX 2S

* fix: YAML Lint

* fix: tests

* feat(device) detect brand Meizu model: PRO 7 (PRO 7-S)

* feat(device) detect new brand KINGZONE model: N5

feat(device) detect brand Meizu models: Pro 7 Plus, PRO 7
feat(device) detect brand Twoe model: E500A
feat(device) detect brand Konrow model: Cool 55
feat(device) detect brand IKU Mobile model: Curvy C50L
feat(device) detect brand Venso model: Isprit U50
feat(device) detect brand DEXP model: Ixion ES250 Rage
feat(device) detect brand IUNI model: N1
feat(device) detect brand Keneksi model: Helios
feat(device) detect brand Medion models: Lifetab E691X, Lifetab E1050X
feat(device) detect brand Advan models: E1C 3G
feat(device) detect brand Contixo model: CX-1045 3G

* feat(device) detect brand Iris model: I-S6 (IRS002-16)

* feat(device) detect brand Digma model: Optima D 10.4" 3G (TT1002MG)
feat(device) detect brand Konrow model: Easy 62
feat(device) detect brand Ziox model: Duopix F9
feat(device) detect brand HTC model: One Mini 2
feat(device) detect brand Leagoo model: E4
feat(device) detect brand Oysters model: Pacific V
feat(device) detect brand Oukitel models: C2, U10, U2
feat(device) detect brand Huawei model: Honor 7i (ATH-CL00)

* feat(device) detect brand Beelink model: GT King

issue #6517

* feat(device) detect brand Alba model: 7Nou

issue #6322

* feat(device) detect brand Alba model: 10Nou

issue #6322

* feat(device) detect brand Alba models: 7Pie, 10Pie

* feat(device) detect brand QMobile model: E2 Noir

* feat(device) detect brand Microsoft models: Surface Pro, Surface Pro 4, Surface Book 3, Surface Pro 3
feat(device) detect brand HP model: Z240 Tower Workstation
feat(device) detect brand Acer model: Aspire A515-51G
feat(device) detect brand Asus model: Zen AiO ZN220IC
feat(device) detect brand Dell models: OptiPlex 3050, OptiPlex 7010

* feat(device) detect brand Centric model: G1 (CM4331)
feat(device) detect brand Xolo model: Era 2V
feat(device) detect brand InFocus models: M5s (IF9002), M6s (IF9003), Vision 3 Pro (IF9029)

* feat(device) detect brand iBall model: Brisk 4G2

* feat(device) detect new brand Fourel models: Easy Smart M3, Easy Smart M2
feat(device) detect new brand M-Tech model: Eros 4G
feat(device) detect brand DEXP model: Ixion ES750
feat(device) detect brand Energy Sistem model: Energy Phone Pro 3

* feat(device) detect brand Asus model: ZenFone 7 (ZS670KS)
feat(device) detect brand Asus model: ZenFone 7 Pro (ZS671KS)
feat(device) rename model ZenFone 7 Pro => ZenFone 7 (I002D)

* feat(device) detect new brand Fantec model: M300H
feat(device) detect brand Artel model: X5
feat(device) detect brand MyPhone model: FUN 18x9
feat(device) detect brand Vivax model: Fun S20
feat(device) detect brand Xiaomi models: MI A2 Lite, MI 8 Lite
feat(device) detect brand Huawei model: Enjoy 9 (DUB-AL00a)
feat(device) detect brand Cherry Mobile model: Flare HD 3
feat(device) detect brand Krüger&Matz models: FLOW 5, FLOW 5 Plus
feat(device) detect brand Blaupunkt model: 4K Android TV

* feat(device) detect brand GOCLEVER model: Quantum 2 500
feat(device) detect brand S-TELL models: M461, M480
feat(device) detect brand Qumo models: Quest 410, Quest 408, Quest 509

* feat(device) detect brand DEXP model: GL255

* feat(device) detect new brand 2F Mobile models: Z8 Plus, Z8 Pocket
feat(device) detect new brand AURIS model: TB-703G
feat(device) detect new brand YUHO models: O2, O2 Pro, Vast, Vast2, Vast Plus, Y1 Ace, Y1 Pro, Y1 Star, Y3 Pro, Y2 Pro, Y2, O1 Lite, O1, H2 Pro
feat(device) detect brand Yu model: Yureka 2 (YU5551)
feat(device) detect brand Karbonn model: Quattro L55 HD
feat(device) detect brand Condor model: TB105L, TB717G
feat(device) detect brand Torex model: S27
feat(device) detect brand Savio model: TB-G01

* fix: YAML Lint

* fix: UNIT tests

Co-authored-by: Tutik Alexsandr <[email protected]>
  • Loading branch information
sanchezzzhak and sanchezzzhak authored May 12, 2021
1 parent 37f51cb commit 1339d5b
Show file tree
Hide file tree
Showing 8 changed files with 1,981 additions and 96 deletions.
7 changes: 7 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ abstract class AbstractDeviceParser extends AbstractParser
*/
public static $deviceBrands = [
'5E' => '2E',
'2F' => '2F Mobile',
'3Q' => '3Q',
'2Q' => '3GNET',
'4G' => '4Good',
Expand Down Expand Up @@ -146,6 +147,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'2A' => 'Atom',
'Z2' => 'Atvio',
'AX' => 'Audiovox',
'AJ' => 'AURIS',
'ZA' => 'Avenzo',
'AH' => 'AVH',
'AV' => 'Avvio',
Expand Down Expand Up @@ -339,6 +341,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'FM' => 'Famoco',
'17' => 'FarEasTone',
'9R' => 'FaRao Pro',
'FB' => 'Fantec',
'FE' => 'Fengxiang',
'F7' => 'Fero',
'FI' => 'FiGO',
Expand All @@ -348,6 +351,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'FL' => 'Fly',
'FN' => 'FNB',
'FD' => 'Fondi',
'0F' => 'Fourel',
'F0' => 'Fonos',
'F2' => 'FORME',
'F5' => 'Formuler',
Expand Down Expand Up @@ -505,6 +509,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'KX' => 'Kenxinda',
'K1' => 'Kiano',
'KI' => 'Kingsun',
'KF' => 'KINGZONE',
'KV' => 'Kivi',
'0K' => 'Klipad',
'KC' => 'Kocaso',
Expand Down Expand Up @@ -627,6 +632,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'3R' => 'MStar',
'M9' => 'MTC',
'N4' => 'MTN',
'72' => 'M-Tech',
'1R' => 'Multilaser',
'1M' => 'MYFON',
'MY' => 'MyPhone',
Expand Down Expand Up @@ -1052,6 +1058,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'YO' => 'Yota',
'YT' => 'Ytone',
'Y1' => 'Yu',
'Y0' => 'YUHO',
'YU' => 'Yuandao',
'YS' => 'Yusun',
'YX' => 'Yxtel',
Expand Down
144 changes: 144 additions & 0 deletions Tests/fixtures/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7346,3 +7346,147 @@
model: EliteBook 820 G2
os_family: Android
browser_family: Chrome
-
user_agent: Microsoft Office OneNote/16.0.13530.20054 (Windows/10.0; Desktop WOW64; en-GB; Desktop app; Microsoft Corporation/Surface Pro)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.13530.20054
device:
type: desktop
brand: Microsoft
model: Surface Pro
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.13328.20478 (Windows/10.0; Desktop x64; en-GB; Universal app; Microsoft Corporation/Surface Pro 4)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.13328.20478
device:
type: desktop
brand: Microsoft
model: Surface Pro 4
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.13530.20030 (Windows/10.0; Desktop x64; en-GB; Universal app; Microsoft Corporation/Surface Book 3)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.13530.20030
device:
type: desktop
brand: Microsoft
model: Surface Book 3
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.11601.20174 (Windows/10.0; Desktop WOW64; en-GB; Desktop app; Microsoft Corporation/Surface Pro 3)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.11601.20174
device:
type: desktop
brand: Microsoft
model: Surface Pro 3
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.11929.20436 (Windows/10.0; Desktop WOW64; en-AU; Desktop app; HP/HP Z240 Tower Workstation)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.11929.20436
device:
type: desktop
brand: HP
model: Z240 Tower Workstation
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.12325.20040 (Windows/10.0; Desktop x64; en-US; Universal app; Acer/Aspire A515-51G)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.12325.20040
device:
type: desktop
brand: Acer
model: Aspire A515-51G
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.12827.20236 (Windows/10.0; Desktop x64; en-US; Desktop app; ASUSTeK COMPUTER INC./ZN220IC)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.12827.20236
device:
type: desktop
brand: Asus
model: Zen AiO ZN220IC
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.11601.20130 (Windows/10.0; Desktop x64; en-GB; Desktop app; Dell Inc./OptiPlex 3050)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.11601.20130
device:
type: desktop
brand: Dell
model: OptiPlex 3050
os_family: Windows
browser_family: Unknown
-
user_agent: Microsoft Office OneNote/16.0.13801.20202 (Windows/10.0; Desktop x64; en-US; Universal app; Dell Inc./OptiPlex 7010)
os:
name: Windows
version: "10.0"
platform: x64
client:
type: mobile app
name: Microsoft Office OneNote
version: 16.0.13801.20202
device:
type: desktop
brand: Dell
model: OptiPlex 7010
os_family: Windows
browser_family: Unknown
36 changes: 36 additions & 0 deletions Tests/fixtures/feature_phone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1375,3 +1375,39 @@
model: CA6
os_family: Unknown
browser_family: Unknown
-
user_agent: SAGETEL60A_6464_11B_HW (MRE/3.1.00(1280);MAUI/_X2805_ARTEL_X5_V13_191224_MP;BDATE/2019/12/24 18:05;LCD/240320;CHIP/MT6260;KEY/Normal;TOUCH/0;CAMERA/1;SENSOR/0;DEV/SAGETEL60A_6464_11B_HW;WAP Browser/MAUI (HTTP PGDL;HTTPS);GMOBI/001;MBOUNCE/002;MOMAGIC/003;
os:
name: MRE
version: "3.1"
platform: ""
client:
type: browser
name: MAUI WAP Browser
version: ""
engine: ""
engine_version: ""
device:
type: feature phone
brand: Artel
model: X5
os_family: Real-time OS
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; HISENSE; E260T+) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
os:
name: Windows Phone
version: "8.1"
platform: ARM
client:
type: browser
name: IE Mobile
version: "11.0"
engine: Trident
engine_version: "7.0"
device:
type: smartphone
brand: Hisense
model: Nana
os_family: Windows Mobile
browser_family: Internet Explorer
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4721,7 +4721,7 @@
device:
type: smartphone
brand: Asus
model: ZenFone 7 Pro
model: ZenFone 7
os_family: Android
browser_family: Chrome
-
Expand Down
Loading

0 comments on commit 1339d5b

Please sign in to comment.