asteroid icon indicating copy to clipboard operation
asteroid copied to clipboard

ZTE Quartz (platy) support

Open MagneFire opened this issue 4 years ago • 0 comments

The ZTE Quartz is currently not supported. In the past someone did succeed in porting AsteroidOS to the ZTE Quartz: https://log.asteroidos.org/?date=2020-08-12 Unfortunately, the work of which does not appear to be publicly available.

So a new port might need to be created based on the swift layer.

As usual the first step is to find the partition mapping which is as following:

label: gpt
label-id: 98101B32-BBE2-4BF2-A06E-2BB33D000C20
device: mmcblk0
unit: sectors
first-lba: 2048
last-lba: 7634910
table-length: 32
sector-size: 512

mmcblk0p1 : start=        2048, size=        2048, type=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98, uuid=00000001-0000-0000-0000-000000000000, name="sbl1", attrs="GUID:60"
mmcblk0p2 : start=        4096, size=        2048, type=20A0C19C-286A-42FA-9CE7-F64C3226A794, uuid=00000002-0000-0000-0000-000000000000, name="DDR", attrs="GUID:60"
mmcblk0p3 : start=        6144, size=        2048, type=098DF793-D712-413D-9D4E-89D711772228, uuid=00000003-0000-0000-0000-000000000000, name="rpm", attrs="GUID:60"
mmcblk0p4 : start=        8192, size=        2048, type=1B81E7E6-F50D-419B-A739-2AEEF8DA3335, uuid=00000004-0000-0000-0000-000000000000, name="devinfo", attrs="GUID:60"
mmcblk0p5 : start=       10240, size=        2048, type=73471795-AB54-43F9-A847-4F72EA5CBEF5, uuid=00000005-0000-0000-0000-000000000000, name="cmnlib", attrs="GUID:60"
mmcblk0p6 : start=       12288, size=        2048, type=E8B7CF6E-5694-4627-8A2A-899B09F2DBEA, uuid=00000006-0000-0000-0000-000000000000, name="keymaster", attrs="GUID:60"
mmcblk0p7 : start=       14336, size=        4096, type=A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4, uuid=00000007-0000-0000-0000-000000000000, name="tz", attrs="GUID:60"
mmcblk0p8 : start=       18432, size=        8192, type=638FF8E2-22C9-E33B-8F5D-0E81686A68CB, uuid=00000008-0000-0000-0000-000000000000, name="fsg", attrs="GUID:60"
mmcblk0p9 : start=       26624, size=        6144, type=CC97C5D8-3487-4AA9-93C9-A0C6DFE0E99E, uuid=00000009-0000-0000-0000-000000000000, name="echarge", attrs="GUID:60"
mmcblk0p10 : start=       32768, size=        6144, type=504997B9-1760-4D66-BC3A-6B346E9D00CE, uuid=0000000A-0000-0000-0000-000000000000, name="splash", attrs="GUID:60"
mmcblk0p11 : start=       38912, size=        4096, type=400FFDCD-22E0-47E7-9A23-F16ED9382388, uuid=0000000B-0000-0000-0000-000000000000, name="aboot", attrs="GUID:60"
mmcblk0p12 : start=       43008, size=      131072, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=0000000C-0000-0000-0000-000000000000, name="modem", attrs="GUID:60"
mmcblk0p13 : start=      174080, size=       65536, type=20117F86-E985-4357-B9EE-374BC1D8487D, uuid=0000000D-0000-0000-0000-000000000000, name="boot", attrs="GUID:60"
mmcblk0p14 : start=      239616, size=       65536, type=9D72D4E4-9958-42DA-AC26-BEA7A90B0434, uuid=0000000E-0000-0000-0000-000000000000, name="recovery", attrs="GUID:60"
mmcblk0p15 : start=      305152, size=        2048, type=303E6AC3-AF15-4C54-9E9B-D9A8FBECF401, uuid=0000000F-0000-0000-0000-000000000000, name="sec", attrs="GUID:60"
mmcblk0p16 : start=      307200, size=        2048, type=2C86E742-745E-4FDD-BFD8-B6A7AC638772, uuid=00000010-0000-0000-0000-000000000000, name="ssd"
mmcblk0p17 : start=      309248, size=        2048, type=59D49447-A2D9-4D71-84D1-665112BF0EBD, uuid=00000011-0000-0000-0000-000000000000, name="cfg"
mmcblk0p18 : start=      311296, size=        2048, type=57B90A16-22C9-E33B-8F5D-0E81686A68CB, uuid=00000012-0000-0000-0000-000000000000, name="fsc"
mmcblk0p19 : start=      313344, size=        8192, type=EBBEADAF-22C9-E33B-8F5D-0E81686A68CB, uuid=00000013-0000-0000-0000-000000000000, name="modemst1"
mmcblk0p20 : start=      321536, size=        8192, type=0A288B1F-22C9-E33B-8F5D-0E81686A68CB, uuid=00000014-0000-0000-0000-000000000000, name="modemst2"
mmcblk0p21 : start=      329728, size=        2048, type=82ACC91F-357C-4A68-9C8F-689E1B1A23A1, uuid=00000015-0000-0000-0000-000000000000, name="misc"
mmcblk0p22 : start=      331776, size=        2048, type=DE7D4029-0F5B-41C8-AE7E-F6C023A02B33, uuid=00000016-0000-0000-0000-000000000000, name="keystore"
mmcblk0p23 : start=      333824, size=        2048, type=91B72D4D-71E0-4CBF-9B8E-236381CFF17A, uuid=00000017-0000-0000-0000-000000000000, name="config"
mmcblk0p24 : start=      335872, size=        2048, type=30849159-1F31-43EC-8404-3EADE3AE873B, uuid=00000018-0000-0000-0000-000000000000, name="pad", attrs="GUID:60"
mmcblk0p25 : start=      337920, size=       32768, type=CBD3357E-DCAC-4583-AED8-B8976EB8D1FA, uuid=00000019-0000-0000-0000-000000000000, name="metadata"
mmcblk0p26 : start=      370688, size=       32768, type=6C95E238-E343-4BA8-B489-8681ED22AD0B, uuid=0000001A-0000-0000-0000-000000000000, name="persist"
mmcblk0p27 : start=      403456, size=      131072, type=5594C694-C871-4B5F-90B1-690A6F68E0F7, uuid=0000001B-0000-0000-0000-000000000000, name="cache"
mmcblk0p28 : start=      534528, size=       32768, type=7DB6AC55-ECB5-4E02-80DA-4D335B973332, uuid=0000001C-0000-0000-0000-000000000000, name="oem"
mmcblk0p29 : start=      567296, size=     1572864, type=97D7B011-54DA-4835-B3C4-917AD6E73D74, uuid=0000001D-0000-0000-0000-000000000000, name="system", attrs="GUID:60"
mmcblk0p30 : start=     2140160, size=     5494751, type=2487ADB7-5F86-471F-90EF-CA0C88DAAE0D, uuid=0000001E-0000-0000-0000-000000000000, name="userdata"

The kernel source code is available here: https://android.googlesource.com/kernel/msm/+/refs/heads/android-msm-platy-3.18-nougat-mr1-wear-release

From my initial look it seems that this watch uses a similar implementation for Bluetooth as swift meaning that support for that is going to be a challenge.

MagneFire avatar Nov 07 '21 13:11 MagneFire