Skip to content

Commit

Permalink
Detect new brands: LPX-G, GIRASOLE, MOVISUN, Sankey, VALTECH, Samtech…
Browse files Browse the repository at this point in the history
… and Detect devices for existing brands (#7328)

feat(device) detect brand Vertex: Luck L 5045 3G
feat(device) detect brand Xiaomi: Redmi 9T NFC
feat(device) detect brand Eltex: NV-720-WB
feat(device) detect new brand LPX-G: Box Max
feat(device) detect brand LT Mobile: P10 (C3200)
feat(device) detect brand Logicom: M BOT Tab 103, M BOT Tab 10
feat(device) detect brand Thomson: TEO13P, TEO10S
feat(device) detect brand Telefunken: TF6, TF501 EC, TF500
feat(device) detect new brand GIRASOLE: TAB5
feat(device) detect new brand MOVISUN: TAB-S1
feat(device) detect new brand Sankey: TAB-7A3G05
feat(device) detect new brand VALTECH: TAB-7Q804VAL
feat(device) detect brand Sunstech: TAB1081
feat(device) detect brand Masstel: Tab 8 Plus, Tab 7 Plus, Tab 10 Plus
feat(device) detect new brand Samtech: T3G 04
feat(device) detect brand Noblex: T7A6INC
feat(device) detect brand Hotwav: Symbol, Symbol Pro
feat(device) detect brand CORN: Star7 3G
feat(device) detect brand EKO: Star 6.0 G65, Star 5.5 G55, Star 5.0 G50, Star 4.0 G40
  • Loading branch information
sanchezzzhak authored Jan 12, 2023
1 parent ecfd025 commit ca9285c
Show file tree
Hide file tree
Showing 6 changed files with 607 additions and 24 deletions.
6 changes: 6 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'GZ' => 'Ginzzu',
'1G' => 'Gini',
'GI' => 'Gionee',
'GIR' => 'GIRASOLE',
'G4' => 'Globex',
'38' => 'GLONYX',
'U6' => 'Glofiish',
Expand Down Expand Up @@ -832,6 +833,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'LH' => 'Logic Instrument',
'LM' => 'Logicom',
'GY' => 'LOKMAT',
'LPX' => 'LPX-G',
'0L' => 'Lumigon',
'LU' => 'Lumus',
'LUM' => 'Lumitel',
Expand Down Expand Up @@ -922,6 +924,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'MR' => 'Motorola',
'MV' => 'Movic',
'MOV' => 'Movitel',
'MO1' => 'MOVISUN',
'MOS' => 'Mosimosi',
'MOX' => 'Moxee',
'MM' => 'Mpman',
Expand Down Expand Up @@ -1203,9 +1206,11 @@ abstract class AbstractDeviceParser extends AbstractParser
'SG' => 'Sagem',
'4L' => 'Salora',
'SA' => 'Samsung',
'SAT' => 'Samtech',
'SNA' => 'SNAMI',
'S0' => 'Sanei',
'12' => 'Sansui',
'SAK' => 'Sankey',
'SQ' => 'Santin',
'SY' => 'Sanyo',
'S9' => 'Savio',
Expand Down Expand Up @@ -1450,6 +1455,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'VP' => 'Vargo',
'VC' => 'Vankyo',
'VAL' => 'VALEM',
'VAT' => 'VALTECH',
'VB' => 'VC',
'VN' => 'Venso',
'VEN' => 'Venstar',
Expand Down
198 changes: 198 additions & 0 deletions Tests/fixtures/smartphone-34.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3537,3 +3537,201 @@
model: Hexin H3
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Vertex_Luck_L_5045_3G Build/O11019; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.79 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Webview
version: 108.0.5359.79
engine: Blink
engine_version: 108.0.5359.79
device:
type: smartphone
brand: Vertex
model: Luck L 5045 3G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; Redmi 9T NFC_SN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 108.0.0.0
engine: Blink
engine_version: 108.0.0.0
device:
type: smartphone
brand: Xiaomi
model: Redmi 9T NFC
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 7.1.2; LT C3200) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.101 Mobile Safari/537.36
os:
name: Android
version: 7.1.2
platform: ""
client:
type: browser
name: Chrome Mobile
version: 85.0.4183.101
engine: Blink
engine_version: 85.0.4183.101
device:
type: smartphone
brand: LT Mobile
model: P10
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; TF6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.101 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 85.0.4183.101
engine: Blink
engine_version: 85.0.4183.101
device:
type: smartphone
brand: Telefunken
model: TF6
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Symbol) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 87.0.4280.101
engine: Blink
engine_version: 87.0.4280.101
device:
type: smartphone
brand: Hotwav
model: Symbol
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Symbol Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.81 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 85.0.4183.81
engine: Blink
engine_version: 85.0.4183.81
device:
type: smartphone
brand: Hotwav
model: Symbol Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Star7 3G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.96 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 81.0.4044.96
engine: Blink
engine_version: 81.0.4044.96
device:
type: smartphone
brand: CORN
model: Star7 3G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Star 6.0 G65) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 83.0.4103.106
engine: Blink
engine_version: 83.0.4103.106
device:
type: smartphone
brand: EKO
model: Star 6.0 G65
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Star 5.5 G55) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.96 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 83.0.4103.96
engine: Blink
engine_version: 83.0.4103.96
device:
type: smartphone
brand: EKO
model: Star 5.5 G55
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Star 5.0 G50) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 80.0.3987.99
engine: Blink
engine_version: 80.0.3987.99
device:
type: smartphone
brand: EKO
model: Star 5.0 G50
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Star 4.0 G40) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.93 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 79.0.3945.93
engine: Blink
engine_version: 79.0.3945.93
device:
type: smartphone
brand: EKO
model: Star 4.0 G40
os_family: Android
browser_family: Chrome
4 changes: 2 additions & 2 deletions Tests/fixtures/tablet-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8735,7 +8735,7 @@
device:
type: tablet
brand: Logicom
model: M BOT tab 1150
model: M BOT Tab 1150
os_family: Android
browser_family: Chrome
-
Expand All @@ -8753,7 +8753,7 @@
device:
type: tablet
brand: Logicom
model: M BOT tab 71
model: M BOT Tab 71
os_family: Android
browser_family: Chrome
-
Expand Down
Loading

0 comments on commit ca9285c

Please sign in to comment.