[Upgrading, Modifying and Unlocking] sd_shadow:
Device Model #, codename and software channel.

How to find the Device Model #, codename and software channel.

Motorola has different Firmware based on the Model/codename and Software Channel.

There are a few different ways to find the device codename and software channel.

Settings/About phone

DevCheck

System tab: Device= codename, SKU = model #

List of Motorola Codenames

bootloader info (This isn't always real clear)

Preferred Method

Fastboot getvar all method (Device must be in AP Fastboot Flash Mode)

fastboot getvar all

Product = codename

securestate = bootloader locked or unlocked

carrier_sku = Model #

ro.carrier = Software Channel

ro.build.fingerprint = Software version See post #7

ro.build.version.full = Software version See post #7

Other flashing concerns

Dual or Single Sim version

Memory size Versions 32gb, 64gb....

Example of a Device with a/b system

(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-payton_retail-eca8056-191031
(bootloader) product: payton
(bootloader) board: payton
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: NA
(bootloader) storage-type: eMMC
(bootloader) emmc: 32GB MICRON S0J97Y RV=08 PV=10 FV=4E5630304D483333
(bootloader) ufs: N/A
(bootloader) ram: 3GB MICRON LP4 DIE=12Gb M5=FF M6=02 M7=10 M8=0C
(bootloader) cpu: SDM630 1.0 (2)
(bootloader) serialno: ZY22584W3J
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: 2BD6548F
(bootloader) securestate: flashing_unlocked
(bootloader) verity-state: disabled (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei:
(bootloader) meid:
(bootloader) date: 11-20-2018
(bootloader) sku: XT1900-1
(bootloader) carrier_sku: XT1900-1
(bootloader) battid: SNN5994A
(bootloader) battery-voltage: 4006
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:9/PPWS29.69
(bootloader) ro.build.fingerprint[1]: -39-6-2/d2226:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.461.11.payton.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.7.2.r1-04900-sdm660.0
(bootloader) version-baseband: M660_7045.36.01.100R PAYTON_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.4.153-perf-g496fe5a (hud
(bootloader) kernel.version[1]: soncm@ilclbld56) (gcc version 4.9.x 2015
(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Thu Oct 31 07:27:03 CDT 2019
(bootloader) git:abl: MBM-3.0-payton_retail-eca8056-191031
(bootloader) git:xbl: MBM-3.0-payton_retail-dec7b7c-191031
(bootloader) git:pmic: MBM-3.0-payton_retail-dec7b7c-191031
(bootloader) git:rpm: MBM-3.0-payton_retail-b0c6622-191031
(bootloader) git:tz: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) git:hyp: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) git:devcfg: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) git:cmnlib: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) git:cmnlib64: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) git:keymaster: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) git:prov: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) git:storsec: MBM-3.0-payton_retail-fa205ea-dirty-191031
(bootloader) frp-state: no protection (77)
(bootloader) ro.carrier: retus
(bootloader) current-slot: b
(bootloader) running-bl-slot: _b/_b
(bootloader) running-boot-lun: 0
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: yes
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 6
all: listed above
Finished. Total time: 0.250s

Older Device

C:\platform-tools_r28.0.0-windows\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8917-BA.09(*)
(bootloader) product: perry
(bootloader) board: perry
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 1
(bootloader) storage-type: emmc
(bootloader) emmc: 16GB SKHYNIX HAG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 2GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=1F
(bootloader) cpu: MSM8917
(bootloader) serialno: ZY224PF863
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8b
(bootloader) uid: 079D50CD00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei:
(bootloader) meid:
(bootloader) date: 12-06-2017
(bootloader) sku: XT1768
(bootloader) battid:
(bootloader) iccid: 89015809000153536508
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint[0]: motorola/perry_f/perry_f:7.1.1/NPQ
(bootloader) ro.build.fingerprint[1]: S26.69-41-3/3:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.26.206.3.perry.retai
(bootloader) ro.build.version.full[1]: l.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-03800-89xx.0
(bootloader) version-baseband: M8917_18.08.04.09R PERRY_NA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.31-perf-g9acc907-0004
(bootloader) kernel.version[1]: 4-gbf03e3f (hudsoncm@ilclbld30) (gcc ver
(bootloader) kernel.version[2]: sion 4.8 (GCC) ) #1 SMP PREEMPT Fri Sep
(bootloader) kernel.version[3]: 22 01:08:15 CDT 2017
(bootloader) sbl1.git: git=MBM-NG-VBA.09-0-ge2011ab
(bootloader) rpm.git: git=MBM-NG-VBA.09-0-gc6ac81e
(bootloader) tz.git: git=MBM-NG-VBA.09-0-g2883cde
(bootloader) devcfg.git: git=MBM-NG-VBA.09-0-g2883cde
(bootloader) keymaster.git: git=MBM-NG-VBA.09-0-g2883cde
(bootloader) cmnlib.git: git=MBM-NG-VBA.09-0-g2883cde
(bootloader) cmnlib64.git: git=MBM-NG-VBA.09-0-g2883cde
(bootloader) prov.git: git=MBM-NG-VBA.09-0-g2883cde
(bootloader) aboot.git: git=MBM-NG-VBA.09-0-gcae5764-dirty
(bootloader) qe: qe 1/1
(bootloader) frp-state: no protection (343)
(bootloader) ro.carrier: usc

another

(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-ocean_retail-8caffde-191202
(bootloader) product: ocean
(bootloader) board: ocean
(bootloader) secure: yes
(bootloader) hwrev: PVT1
(bootloader) radio: 1
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG GD6BMB RV=08 PV=01 FV=0000000000000001
(bootloader) ram: 3GB SAMSUNG LP3 DIE=8Gb M5=01 M6=06 M7=00 M8=5F
(bootloader) cpu: SDM632
(bootloader) serialno: ZY326BF4Z5
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: E00B2DA900000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei:
(bootloader) meid:
(bootloader) date: 06-29-2019
(bootloader) sku: XT1955-5
(bootloader) carrier_sku: XT1955-5
(bootloader) battid: SB18C28957
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 28 17:58:47 UTC 2020"
(bootloader) ro.build.fingerprint[0]: motorola/ocean/ocean:9/PPOS29.114-
(bootloader) ro.build.fingerprint[1]: 134-7-1/0ec93:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.201.1.ocean.retai
(bootloader) ro.build.version.full[1]: l.en.US
(bootloader) ro.build.version.qcom: LA.UM.7.6.2.r1-04600-89xx.0
(bootloader) version-baseband: M632_26.100.01.120.02R OCEAN_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.9.112-perf+ (hudsoncm@il
(bootloader) kernel.version[1]: clbld110) (gcc version 4.9.x 20150123 (p
(bootloader) kernel.version[2]: rerelease) (GCC) ) #1 SMP PREEMPT Mon De
(bootloader) kernel.version[3]: c 2 12:51:31 CST 2019
(bootloader) sbl1.git: MBM-2.1-ocean_retail-b508f3a-191202
(bootloader) rpm.git: MBM-2.1-ocean_retail-22daab3-191202
(bootloader) tz.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
(bootloader) devcfg.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
(bootloader) keymaster.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
(bootloader) cmnlib.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
(bootloader) cmnlib64.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
(bootloader) prov.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
(bootloader) aboot.git: MBM-2.1-ocean_retail-8caffde-191202
(bootloader) frp-state: no protection (277)
(bootloader) ro.carrier: retus
(bootloader) current-slot: a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: Yes
(bootloader) slot-successful:_b: Yes
(bootloader) slot-bootable:_a: Yes
(bootloader) slot-bootable:_b: Yes
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 6