Motorola Moto G7 Play (motorola-channel)

== Contributors ==
* 00p513
* Jetremblay
* Noocsharp
== Users owning this device ==
The Moto G7 Play is a 5.7" phone with a 720 x 1512 display. It can be bought for about £80 new in the UK. Stock ROM is armv7l, but custom ROMS and postmarketOS are arm64 (aarch64).
== How to enter flash mode ==
Hold down + while booting to enter Flash Mode.
==User Interfaces==
=== Weston===
Working fine
=== MATE ===
Working fine
=== Sxmo ===
Working fine
=== XFCE ===
Working fine
=== fbcon ===
Does not work. So setting the ui to fbkeyboard just shows a blank screen.
=== GNOME ===
Working fine
=== Plasma Desktop ===
SDDM loads, wayland does not work, unable to load X due to the keyboard being to small after opening the menu
== Some notes from Amy ==
=== Variants===
There are a few variants listed below:
Model Number	Region/Carrier
XT1952-1 	Europe
XT1952-2 	Brazil
XT1952-3 	United States (Unlocked)
XT1952-4 	United States (Sprint)
XT1952-5 	United States (AT&T)
XT1952-6 	United States (Metro by T-Mobile)
XT1952-DL 	United States (Tracfone)
XT1952-T 	United States (T-Mobile)
===Partitions===
Default System sizes are 2352 MB each. The device can be repartitioned by flashing the gpt.bin from ocean
$ tree /dev/disk/by-partlabel/
/dev/disk/by-partlabel/
├── DDR -> ../../mmcblk0p25
├── aboot_a -> ../../mmcblk0p9
├── aboot_b -> ../../mmcblk0p10
├── apdp -> ../../mmcblk0p49
├── boot_a -> ../../mmcblk0p41
├── boot_b -> ../../mmcblk0p42
├── carrier -> ../../mmcblk0p38
├── cid -> ../../mmcblk0p35
├── cmnlib64_a -> ../../mmcblk0p13
├── cmnlib64_b -> ../../mmcblk0p14
├── cmnlib_a -> ../../mmcblk0p11
├── cmnlib_b -> ../../mmcblk0p12
├── devcfg_a -> ../../mmcblk0p7
├── devcfg_b -> ../../mmcblk0p8
├── devinfo -> ../../mmcblk0p52
├── dpo -> ../../mmcblk0p51
├── dsp_a -> ../../mmcblk0p23
├── dsp_b -> ../../mmcblk0p24
├── dtbo_a -> ../../mmcblk0p43
├── dtbo_b -> ../../mmcblk0p44
├── frp -> ../../mmcblk0p34
├── fsc -> ../../mmcblk0p21
├── fsg_a -> ../../mmcblk0p30
├── fsg_b -> ../../mmcblk0p31
├── hw -> ../../mmcblk0p56
├── keymaster_a -> ../../mmcblk0p15
├── keymaster_b -> ../../mmcblk0p16
├── kpan -> ../../mmcblk0p40
├── logo_a -> ../../mmcblk0p36
├── logo_b -> ../../mmcblk0p37
├── logs -> ../../mmcblk0p48
├── metadata -> ../../mmcblk0p39
├── misc -> ../../mmcblk0p45
├── modem_a -> ../../mmcblk0p19
├── modem_b -> ../../mmcblk0p20
├── modemst1 -> ../../mmcblk0p28
├── modemst2 -> ../../mmcblk0p29
├── mota -> ../../mmcblk0p46
├── msadp -> ../../mmcblk0p50
├── oem_a -> ../../mmcblk0p58
├── oem_b -> ../../mmcblk0p59
├── padA -> ../../mmcblk0p55
├── persist -> ../../mmcblk0p32
├── persist2 -> ../../mmcblk0p33
├── prov_a -> ../../mmcblk0p17
├── prov_b -> ../../mmcblk0p18
├── rpm_a -> ../../mmcblk0p3
├── rpm_b -> ../../mmcblk0p4
├── sbl1_a -> ../../mmcblk0p1
├── sbl1_b -> ../../mmcblk0p2
├── sp -> ../../mmcblk0p57
├── ssd -> ../../mmcblk0p22
├── syscfg -> ../../mmcblk0p47
├── system_a -> ../../mmcblk0p62
├── system_b -> ../../mmcblk0p63
├── tz_a -> ../../mmcblk0p5
├── tz_b -> ../../mmcblk0p6
├── userdata -> ../../mmcblk0p64
├── utags -> ../../mmcblk0p26
├── utagsBackup -> ../../mmcblk0p27
├── vbmeta_a -> ../../mmcblk0p53
├── vbmeta_b -> ../../mmcblk0p54
├── vendor_a -> ../../mmcblk0p60
└── vendor_b -> ../../mmcblk0p61
0 directories, 64 files
==Notes from Jean-Etienne==
The SDM632 kernel from LineageOS builds fine with arm64 architecture. Apparently the bootloader passes a skip_initramfs option which needs to be disabled in the kernel for postmarketOS to boot.
== Hardware / sensors detail ==
For reference, sensor information from sensors sandbox (f-droid) on SKU xt1952-4; note: approximately 30 software-based / derived sensors omitted. 
sensor details (sensorssandbox)
name 	vendor 	version	type
LSM6DSM Accelerometer 	STMicroelectronics	1 	1
MMC5603NJ Magnetometer	MEMSIC 	1 	2
LSM6DSM Gyroscope 	STMicroelectronics	1 	4
EPL259x ALS/PS PROX 	Eminent 	2 	8
EPL259x ALS/PS ALS 	Eminent 	1 	5
== See also ==
* Initial merge request
* Regenerated defconfig merge request
* 
*