From 5eb239c6d710ca5585957e0020f1515c8ee5bc98 Mon Sep 17 00:00:00 2001 From: Tutik Alexsandr Date: Tue, 8 Oct 2024 14:51:39 +0300 Subject: [PATCH] Add devices spec for vivo, ulefone brands (#206) * feat(device) devices info Ulefone models: note 13p, note 12p, note 10p, note 6p, note 9p, note 11p, armor 2, armor 3 * feat(device) devices info Vivo models: x100 * feat(device) devices info Vivo models: iqoo z5, x flip, x fold 3 pro, x fold 2, x fold+, x50 5g, x90 pro --- README.md | 19 +++++++------- regexes/device-info/device.yml | 30 ++++++++++++++++++++++ regexes/device-info/hardware-cpu.yml | 37 ++++++++++++++++++++++++++++ regexes/device-info/hardware-gpu.yml | 12 +++++++++ 4 files changed, 89 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3b4f406e..dc495a18 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # [node-device-detector](https://www.npmjs.com/package/node-device-detector) -_Last update: 07/10/2024_ +_Last update: 08/10/2024_ ## Description @@ -414,7 +414,7 @@ detector.detect (indexes on) x 1,032 ops/sec ±0.61% (94 runs sampled) Yes we use tests, total tests ~80.8k ### Get more information about a device (experimental) -> This parser is experimental and contains few devices. (1845 devices, alias devices 3912) +> This parser is experimental and contains few devices. (1862 devices, alias devices 3923) > ##### Support detail brands/models list: @@ -491,13 +491,14 @@ Yes we use tests, total tests ~80.8k | poco | 9 | 15 | - | realme | 67 | 96 | | samsung | 170 | 718 | - | sony | 44 | 172 | | supra | 1 | 0 | - | tecno mobile | 91 | 131 | -| tiphone | 1 | 0 | - | utok | 1 | 0 | -| uz mobile | 1 | 0 | - | vernee | 9 | 2 | -| vivo | 196 | 286 | - | walton | 13 | 0 | -| we | 8 | 0 | - | weimei | 1 | 0 | -| wiko | 7 | 12 | - | wileyfox | 9 | 0 | -| wink | 4 | 0 | - | xiaomi | 9 | 8 | -| zync | 2 | 0 | - | zyq | 1 | 13 | +| tiphone | 1 | 0 | - | ulefone | 8 | 0 | +| utok | 1 | 0 | - | uz mobile | 1 | 0 | +| vernee | 9 | 2 | - | vivo | 205 | 297 | +| walton | 13 | 0 | - | we | 8 | 0 | +| weimei | 1 | 0 | - | wiko | 7 | 12 | +| wileyfox | 9 | 0 | - | wink | 4 | 0 | +| xiaomi | 9 | 8 | - | zync | 2 | 0 | +| zyq | 1 | 13 | - | | | | diff --git a/regexes/device-info/device.yml b/regexes/device-info/device.yml index 562ac086..253ba07b 100644 --- a/regexes/device-info/device.yml +++ b/regexes/device-info/device.yml @@ -3952,6 +3952,16 @@ engel: tiphone: t67: 'DS=2.2;RS=240x320;WT=105;SZ=58x106x13.4;RE=2009;SM=2;' +ulefone: + note 13p: 'RE=2021.11;SZ=75.7x162.3x9.9;WT=198.5;DS=6.5;RS=1080x2400;OI=1;OV=11;CP=348;RM=4096;' + note 12p: 'RE=2021.10;SZ=79.1x173.6x10.2;WT=237;DS=6.82;RS=720x1640;OI=1;OV=11;CP=109;RM=4096' + note 10p: 'RE=2022.03;SZ=76.7x165.2x9.7;WT=203;DS=6.52;RS=720x1600;OI=1;OV=11;CP=374;RM=3072;' + note 6p: 'RE=2021.10;SZ=73.4x155.4x8.5;WT=155;DS=6.1;RS=720x1560;OI=1;OV=11;CP=109;RM=2048;' + note 9p: 'RE=2020.07;SZ=76.7x166x9.2;WT=188;DS=6.52;RS=720x1600;OI=1;OV=10;CP=171;RM=4096;' + note 11p: 'RE=2021.01;SZ=77.2x166.9x10;WT=184;DS=6.55;RS=720x1600;OI=1;OV=11;CP=290;RM=8192;' + armor 2: 'RE=2017.08;SZ=78.3x159x14.5;WT=270;DS=5.0;RS=1080x1920;OI=1;OV=7.0;CP=232;RM=6144;TT=81125' + armor 3: 'RE=2018.09;SZ=79.2x164.8x18.14;WT=364;DS=5.7;RS=1080x2160;OI=1;OV=8.1;CP=63;RM=4096;TT=71229;' + formuler: z8 pro: 'RE=2019;OI=1;OV=7.1;SZ=105x105x22;RM=2048;CP=228;' z8: 'RE=2019;OI=1;OV=7.0;SZ=105x105x22;RM=2048;CP=228;' @@ -5156,6 +5166,26 @@ irbis: tz722: 'DS=7;RS=1024x600;SZ=188x108.3x10.2;WT=263;OI=1;OV=8.1;CP=74;RM=1024;SM=2;RE=2018;' vivo: + iqoo z5: 'RE=2021.09;SZ=76.7x164.7x8.5;WT=193;DS=6.67;RS=1080x2400;OI=1;OV=11;CP=359;RM=8192;' + v2148a: '->iqoo z5' + x flip: 'RE=2023.04;SZ=75.3x166.4x7.8;WT=198;DS=6.74;RS=1080x2520;OI=1;OV=13;CP=373;RM=12288;TT=1060911;TG=3930;' + v2256a: '->x flip' + x fold 3 pro: 'RE=2024.03;SZ=142.4x160x5.2;WT=236;DS=8.03;RS=2200x2480;OI=1;OV=14;CP=378;RM=12288;TT=2066322;TG=6791;' + v2337a: '->x fold 3 pro' + x fold 3: 'RE=2024.03;SZ=142.7x160x4.7;WT=219;DS=8.03;RS=2200x2480;OI=1;OV=14;CP=377;RM=12288;TT=1650000;' + v2303a: '->x fold 3' + x fold 2: 'RE=2023.04;SZ=143.4x161.3x6;WT=279;DS=8.03;RS=1916x2160;OI=1;OV=13;CP=377;RM=12288;TT=1314521;TG=4769;' + v2266a: '->x fold 2' + x fold+: 'RE=2022.09;SZ=144.9x162x6.3;WT=311;DS=8.03;RS=1916x2160;OI=1;OV=12;CP=373;RM=12288;' + v2229a: '->x fold+' + 2005: '->x50 5g' + x50 5g: 'RE=2020.06;SZ=75.4x159.5x7.6;WT=174.5;DS=6.56;RS=1080x2376;OI=1;OV=10;CP=242;RM=8192;' + x90 pro: 'RE=2022.11;SZ=74.5x164.1x9.3;WT=214.9;DS=6.78;RS=1260x2800;OI=1;OV=13;CP=376;RM=8192;TT=1228735;TG=4273;' + v2242a: '->x90 pro' + v2219: '->x90 pro' + x100: 'RE=2023.11;SZ=75.2x164.1x8.5;WT=202;DS=6.78;RS=1260x2800;OI=1;OV=14;CP=375;RM=12288;TT=2098442;TG=6177' + v2309a: '->x100' + v2308: '->x100' t1 5g: 'RE=2022.02;SZ=75.8x164x8.3;WT=187;DS=6.58;RS=1080x2408;OI=1;OV=11;CP=358;RM=4096;A' v2115a: '->t1 5g' v2141: '->t1 5g' diff --git a/regexes/device-info/hardware-cpu.yml b/regexes/device-info/hardware-cpu.yml index 78eca233..96d9673a 100644 --- a/regexes/device-info/hardware-cpu.yml +++ b/regexes/device-info/hardware-cpu.yml @@ -1526,12 +1526,14 @@ cpu: type: ARM cores: 4 clock_rate: 1280 + process: 28nm gpu_id: 2 232: name: MediaTek Helio P25 type: ARM cores: 8 clock_rate: 2600 + process: 16nm gpu_id: 75 233: name: Samsung Exynos 4412 Quad @@ -2519,3 +2521,38 @@ cpu: clock_rate: 3000 process: 4nm gpu_id: 117 + 374: + name: Unisoc Tiger T310 + type: ARM + cores: 4 + clock_rate: 2000 + process: 12nm + gpu_id: 76 + 375: + name: MediaTek Dimensity 9300 + type: ARM + cores: 8 + clock_rate: 3250 + process: 4nm + gpu_id: 124 + 376: + name: MediaTek Dimensity 9200 + type: ARM + cores: 8 + clock_rate: 3050 + process: 4nm + gpu_id: 125 + 377: + name: Qualcomm Snapdragon 8 Gen 2 # SM8550-AB + type: ARM + cores: 8 + clock_rate: 3200 + process: 4nm + gpu_id: 126 + 378: + name: Qualcomm Snapdragon 8 Gen 3 # SM8650-AB + type: ARM + cores: 8 + clock_rate: 3300 + process: 4nm + gpu_id: 127 diff --git a/regexes/device-info/hardware-gpu.yml b/regexes/device-info/hardware-gpu.yml index 3517c2dd..15cb9633 100644 --- a/regexes/device-info/hardware-gpu.yml +++ b/regexes/device-info/hardware-gpu.yml @@ -368,3 +368,15 @@ gpu: 123: name: ARM Mali-G610 MC6 clock_rate: 0 + 124: + name: ARM Mali-G720 MP12 + clock_rate: 0 + 125: + name: ARM Mali-G715 MP11 + clock_rate: 0 + 126: + name: Qualcomm Adreno 740 + clock_rate: 0 + 127: + name: Qualcomm Adreno 750 + clock_rate: 0