[Miscellaneous Android Development] carlosalvatore:
I am doing something wrong

Hi,

I do these steps:

1. Turn off phone and remove battery. Phone is not connected to the PC.

2. Run SP Flash tool (SP_Flash_Tool_v5.1844_Linux on Artix Linux).

3. At download-agent I select the bin file you provide into the ZIP file:

"MotoC_XT1754_TWRP/DA_SWSEC_6737m_98736_71604.bin"

4. Select the scatter file also provided into the ZIP (inside MotoC_XT1754_TWRP folder):

"MT6737M_Android_scatter.txt"

5. Check the preloader mark and select "preloader_wt98736b32_ba1.bin"

6. Unmark preloader

7. Press Ctrl + Alt + V to enable Advanced mode. I then click on Window menu and check Write Memory, which enables the corresponding tab.

8. There, I choose the recovery.img you provide (tried with the one in the ZIP and with the bug-free patched one you provided later).

9. I change the address to 0x2d80000

10. Then I click on the Write Memory button.

11. I connect my phone (no battery in it). Bar changes from red to blue (it completes) and pop up ring confirmation appears.

12. Then I close SP Flash tool and disconnect the phone.

13. I place the battery inside the phone and turn it on.

14. It boots normally. Using adb I reboot to recovery, but no TWRP is launched. Instead I got the dead android icon and the legend "No command"

There is no way out of that screen, but to wait until the phone reboots automatically.

Where is the mistake?

My phone is Moto C XT1757. Detail below:

kernel.version[0]: Linux version 3.18.35+
(bootloader)	kernel.version[1]: (zhouchao@dell-PowerEdge-R730)
(bootloader)	kernel.version[2]: gcc version 4.8 (GCC)
(bootloader)	kernel.version[3]: 1 SMP PREEMPT
(bootloader)	kernel.version[4]: 2017-08-17:13:54:30
(bootloader)	ro.build.fingerprint[1]: motorola/namath_57/namath:7.0/NRD
(bootloader)	ro.build.fingerprint[2]: D90M.063/1502948617:user/release-
(bootloader)	ro.build.fingerprint[3]: -keys
(bootloader)	ro.build.version.mtk[1]: alps-mp-n0.mp1-V1.0.2_wt6737m.35.
(bootloader)	ro.build.version.mtk[2]: .n_P79
(bootloader)	ro.build.version.full[1]: Blur_Version.25.21.63.namath_57.
(bootloader)	ro.build.version.full[2]: retail.en.US
(bootloader)	imei1: *******************
(bootloader)	imei2: *******************
(bootloader)	boot reason: wdt
(bootloader)	hwrev: M11
(bootloader)	CID: 0x0032
(bootloader)	SKU: XT1757
(bootloader)	CPU: "MT6735"
(bootloader)	serialno: *************
(bootloader)	off-mode-charge: 1
(bootloader)	warranty: yes
(bootloader)	securestate: no
(bootloader)	hwsecure: yes
(bootloader)	kernel: lk
(bootloader)	board: WT98736B32_CA1
(bootloader)	product: WT98736B32_CA1
(bootloader)	Ram size: 1GB
(bootloader)	emmc: KMFN60012M_B214
(bootloader)	storage-type: emmc
(bootloader)	version-preloader: 0.1.00
(bootloader)	version: 0.5

---------- Post added at 07:24 AM ---------- Previous post was at 07:15 AM ----------

I had also tried to unlock the bootloader but it didn't work. fastboot (or mfastboot) oem commands are not being executed properly.

$ mfastboot oem get_unlock_data
...
FAILED (remote: unknown command)
finished. total time: 0.002s

$ mfastboot oem unlock
...
FAILED (remote: unknown command)
finished. total time: 0.002s

$ fastboot flashing get_unlock_ability
FAILED (remote: unknown command)
Finished. Total time: 0.007s

My device is not listed in the Motorola webpage, so I cannot get an unlock password.

Any help will be really appreciated.

Regards.