[Motorola One Questions & Answers] tys0n:
I've tried to make a few singleimage.bin's with various programmer.mbn for MSM8953 which was also signed by motorola, packed together with the files that I extracted from our bootloader.img and edited xml's to match our files.

All together:

1 130 md5:da6b7628c3a26020d4900b8c18090a03 index.xml

2 262144 md5:ccd35832780f2522f6c68fe262d41b68 rpm.mbn

3 1835008 md5:20768312f833ad79dbdc963cfd3e30ac tz.mbn

4 65536 md5:ad7613fd144242cd0170006ac2198f35 devcfg.mbn

5 1043584 md5:2b87f7a135ffdffd49264089df010720 keymaster.mbn

6 1043584 md5:5d892221f1ab0367bab8d02e877f0aec cmnlib.mbn

7 1043584 md5:2c7956dcd97fffcc2ea81a69099abe2e cmnlib64.mbn

8 191616 md5:a7d33a8d04152b6c776f2d61537c8efb prov.mbn

9 519296 md5:ce6030a89013fd6604653173994f3805 sbl1.mbn

10 1572864 md5:526fc6b39fdb822973c073d109b3d359 emmc_appsboot.mbn

11 46592 md5:2a441bab6d0a3c87f1dec1d6fcda5baf gpt_main0.bin

12 1004 md5:c8cf156802c32589e78bf891d1b418dd singleimage.default.xml

13 322924 md5:88aff02fc7a353427d460f7525892530 prog_emmc_firehose_8953_ddr_motorola.mbn

14 133 md5:61b99c29637ba47bde80c66757ad6c3f singleimage.pkg.xml

Unfortunately they all fail.

I've looked at programmer.mbn for "chef" as an example, and it seems like it's specific for A/B partitioning.

We probably need a programmer.mbn for msm8953 with A/B partitioning and afaik, Motorola One is the only one with that configuration.

This is as far as I got. and the log is with debug option enabled in qboot.

It communicates with device, sends the programmer, gets recipe, but gets stuck on "Configuring device". Probably cause of wrong programmer since it's not for A/B.

**** Log buffer [000001] 2019-04-09_16:56:41 ****

[ -0.000] Opening device: \\.\COM17
[ -0.000] Opening serial device: \\.\COM17
[ 0.001] Detecting device
[ 0.001] Switching to command mode
[ 0.001] Receiving HELLO packet
[ 0.001] ...protocol version: 2
[ 0.001] ...compatible with: 1
[ 0.001] ...max. packet size: 1024
[ 0.001] ...current mode: Image transfer pending
[ 0.001] Sending HELLO_RESP packet
[ 0.002] Receiving COMMAND_READY packet
[ 0.002] Identifying device
[ 0.002] Reading CPU serial number
[ 0.002] Sending CMD_EXEC packet, cmd=CMD_READ_SN
[ 0.002] Receiving CMD_EXEC_RESP packet
[ 0.002] ...payload: 4 byte(s)
[ 0.002] Receiving payload
[ 0.003] Reading CPU id
[ 0.003] Sending CMD_EXEC packet, cmd=CMD_READ_HWID
[ 0.003] Receiving CMD_EXEC_RESP packet
[ 0.003] ...payload: 24 byte(s)
[ 0.003] Receiving payload
[ 0.003] Reading SBL SV
[ 0.003] Sending CMD_EXEC packet, cmd=CMD_READ_SV_SBL
[ 0.004] Receiving CMD_EXEC_RESP packet
[ 0.004] ...payload: 4 byte(s)
[ 0.004] Receiving payload
[ 0.004] Reading debug data
[ 0.004] Sending CMD_EXEC packet, cmd=CMD_READ_DEBUG_DATA
[ 0.004] Receiving CMD_EXEC_RESP packet
[ 0.005] ...payload: 256 byte(s)
[ 0.005] Receiving payload
[ 0.005] Debug data dump follows
[ 0.005] 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[ 0.005] *
[ 0.005] ...cpu.id = 70 (0x46)
[ 0.006] ...cpu.sn = 1113427738 (0x425d8f1a)
[ 0.006] Opening singleimage
[ 0.007] Loading package
[ 0.008] ...filename = singleimage.pkg.xml
[ 0.010] Loading programmer
[ 0.011] ...filename = programmer.mbn
[ 0.011] Sending programmer
[ 0.012] Switching to image download mode
[ 0.012] Sending CMD_SWITCH_MODE packet
[ 0.012] Receiving HELLO packet
[ 0.013] ...protocol version: 2
[ 0.013] ...compatible with: 1
[ 0.013] ...max. packet size: 1024
[ 0.013] ...current mode: Image transfer pending
[ 0.014] Sending HELLO_RESP packet
[ 0.014] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.014] Sending 52 bytes
[ 0.014] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.015] Sending 288 bytes
[ 0.015] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.015] Sending 4096 bytes
[ 0.015] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.016] Sending 2632 bytes
[ 0.017] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.031] Sending 4096 bytes
[ 0.032] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.032] Sending 4020 bytes
[ 0.033] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.034] Sending 4096 bytes
[ 0.034] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.035] Sending 2096 bytes
[ 0.035] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.036] Sending 4096 bytes
[ 0.036] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.037] Sending 4096 bytes
[ 0.037] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.038] Sending 4096 bytes
[ 0.038] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.039] Sending 4096 bytes
[ 0.039] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.040] Sending 4096 bytes
[ 0.041] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.042] Sending 4096 bytes
[ 0.047] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.048] Sending 4096 bytes
[ 0.048] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.049] Sending 4096 bytes
[ 0.049] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.050] Sending 4096 bytes
[ 0.050] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.051] Sending 4096 bytes
[ 0.052] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.052] Sending 4096 bytes
[ 0.053] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.054] Sending 4096 bytes
[ 0.054] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.055] Sending 4096 bytes
[ 0.055] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.056] Sending 4096 bytes
[ 0.056] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.057] Sending 4096 bytes
[ 0.057] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.058] Sending 4096 bytes
[ 0.058] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.063] Sending 4096 bytes
[ 0.064] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.065] Sending 4096 bytes
[ 0.065] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.066] Sending 4096 bytes
[ 0.066] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.067] Sending 4096 bytes
[ 0.067] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.068] Sending 4096 bytes
[ 0.068] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.069] Sending 4096 bytes
[ 0.070] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.070] Sending 4096 bytes
[ 0.071] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.072] Sending 4096 bytes
[ 0.073] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.073] Sending 4096 bytes
[ 0.074] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.075] Sending 4096 bytes
[ 0.075] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.076] Sending 4096 bytes
[ 0.079] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.080] Sending 4096 bytes
[ 0.080] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.081] Sending 4096 bytes
[ 0.082] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.083] Sending 4096 bytes
[ 0.083] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.084] Sending 4096 bytes
[ 0.084] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.085] Sending 4096 bytes
[ 0.085] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.086] Sending 4096 bytes
[ 0.086] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.087] Sending 4096 bytes
[ 0.087] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.088] Sending 4096 bytes
[ 0.089] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.089] Sending 4096 bytes
[ 0.091] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.092] Sending 4096 bytes
[ 0.092] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.097] Sending 4096 bytes
[ 0.097] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.098] Sending 4096 bytes
[ 0.098] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.099] Sending 4096 bytes
[ 0.099] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.100] Sending 4096 bytes
[ 0.101] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.101] Sending 4096 bytes
[ 0.102] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.103] Sending 4096 bytes
[ 0.103] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.104] Sending 4096 bytes
[ 0.104] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.105] Sending 4096 bytes
[ 0.105] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.106] Sending 4096 bytes
[ 0.106] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.107] Sending 4096 bytes
[ 0.108] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.108] Sending 4096 bytes
[ 0.110] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.110] Sending 4096 bytes
[ 0.113] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.114] Sending 4096 bytes
[ 0.114] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.115] Sending 4096 bytes
[ 0.116] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.116] Sending 4096 bytes
[ 0.117] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.118] Sending 4096 bytes
[ 0.118] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.119] Sending 4096 bytes
[ 0.120] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.121] Sending 4096 bytes
[ 0.121] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.122] Sending 4096 bytes
[ 0.122] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.123] Sending 4096 bytes
[ 0.123] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.124] Sending 4096 bytes
[ 0.124] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.125] Sending 4096 bytes
[ 0.125] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.126] Sending 4096 bytes
[ 0.131] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.132] Sending 4096 bytes
[ 0.132] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.133] Sending 4096 bytes
[ 0.133] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.134] Sending 4096 bytes
[ 0.135] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.135] Sending 4096 bytes
[ 0.136] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.137] Sending 1968 bytes
[ 0.137] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.137] Sending 4096 bytes
[ 0.138] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.139] Sending 4096 bytes
[ 0.139] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.140] Sending 4096 bytes
[ 0.141] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.142] Sending 4096 bytes
[ 0.142] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.147] Sending 4096 bytes
[ 0.147] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.148] Sending 4096 bytes
[ 0.148] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.149] Sending 4096 bytes
[ 0.150] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.150] Sending 4096 bytes
[ 0.151] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.152] Sending 2104 bytes
[ 0.152] Receiving READ_DATA, READ_DATA_64, or END_IMAGE_TX packet
[ 0.259] Sending DONE packet
[ 0.259] Receiving DONE_RESP packet
[ 0.262] Handling things over to programmer
[ 0.264] Identifying CPU version
[ 0.265] Waiting for firehose to get ready
[ 3.267] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[ 5.770] Opening serial device: \\.\COM17
[ 15.771] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[ 15.962] ReadFile() failed, GetLastError()=0
[ 26.473] Opening serial device: \\.\COM17
[ 26.975] Opening serial device: \\.\COM17
[ 27.477] Opening serial device: \\.\COM17
[ 27.978] Opening serial device: \\.\COM17
[ 28.480] Opening serial device: \\.\COM17
[ 28.980] Opening serial device: \\.\COM17
[ 29.481] Opening serial device: \\.\COM17
[ 29.982] Opening serial device: \\.\COM17
[ 30.482] Opening serial device: \\.\COM17
[ 30.983] Opening serial device: \\.\COM17
[ 30.984] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[ 42.495] Opening serial device: \\.\COM17
[ 42.497] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[ 54.011] Opening serial device: \\.\COM17
[ 54.013] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[ 65.024] Waiting for firehose to get ready
[ 68.025] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[ 79.537] Opening serial device: \\.\COM17
[ 79.539] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[ 91.051] Opening serial device: \\.\COM17
[ 91.058] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[102.572] Opening serial device: \\.\COM17
[102.574] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[114.086] Opening serial device: \\.\COM17
[114.088] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[125.099] ...MSM8953 unknown
[125.099] Determining target secure state
[125.100] Waiting for firehose to get ready
[128.101] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[139.614] Opening serial device: \\.\COM17
[139.616] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[151.128] Opening serial device: \\.\COM17
[151.130] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[162.642] Opening serial device: \\.\COM17
[162.644] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[174.156] Opening serial device: \\.\COM17
[174.158] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[185.170] ...secure = no
[185.170] Recipe: singleimage.default.xml
[185.181] Waiting for firehose to get ready
[188.182] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[199.694] Opening serial device: \\.\COM17
[199.696] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[211.209] Opening serial device: \\.\COM17
[211.211] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[222.723] Opening serial device: \\.\COM17
[222.725] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[234.237] Opening serial device: \\.\COM17
[234.239] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[245.251] Configuring device...
[245.251] Waiting for firehose to get ready
[248.252] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[259.764] Opening serial device: \\.\COM17
[259.766] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[271.278] Opening serial device: \\.\COM17
[271.280] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[282.793] Opening serial device: \\.\COM17
[282.794] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[294.305] Opening serial device: \\.\COM17
[294.307] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[305.318] Waiting for firehose to get ready
[308.319] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[319.832] Opening serial device: \\.\COM17
[319.834] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[331.346] Opening serial device: \\.\COM17
[331.348] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[342.860] Opening serial device: \\.\COM17
[342.862] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[354.375] Opening serial device: \\.\COM17
[354.377] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[365.389] Waiting for firehose to get ready
[368.390] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[379.901] Opening serial device: \\.\COM17
[379.903] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[391.415] Opening serial device: \\.\COM17
[391.417] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[402.929] Opening serial device: \\.\COM17
[402.931] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[414.443] Opening serial device: \\.\COM17
[414.445] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[425.457] Waiting for firehose to get ready
[428.458] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[439.970] Opening serial device: \\.\COM17
[439.971] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[451.483] Opening serial device: \\.\COM17
[451.485] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[462.999] Opening serial device: \\.\COM17
[463.001] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[474.514] Opening serial device: \\.\COM17
[474.516] H->D: <?xml version="1.0"?><data><nop value="Hello"/></data>
[485.527] ERROR: do_package()->do_recipe()->do_configure()->fh_send()->get_fh()->no response
[485.527] Check qboot_log.txt for more details
[485.529] Total time: 485.530s
[485.530]
[485.530] qboot version 3.86
[485.530]
[485.530] DEVICE {
[485.530] name = "\\.\COM17",
[485.530] flags = "0x45",
[485.530] addr = "0x62FD54",
[485.530] sahara.current_mode = "0",
[485.530] api.buffer = "0x2460020",
[485.530] cpu.serial = "1113427738",
[485.530] cpu.id = "70",
[485.530] cpu.sv_sbl = "0",
[485.530] cpu.name = "MSM8953",
[485.530] storage.type = "eMMC",
[485.530] sahara.programmer = "programmer.mbn",
[485.530] module.firehose = "0x768EB8",
[485.530] cpu.ver = "0",
[485.530] cpu.vername = "unknown",
[485.530] }
[485.530]

I'm gonna keep trying if I get over some other programmers.