Method 1 Steps to install stock android 7.1.2 image
No. Repeated unnecessarily.
1. Write aml_upgrade_package.img on the mSD card with Amlogic Burn Card Maker.
2. Copy _aml_dtb.PARTITION to the FAT partition of the mSD card and rename the * .ini file to * .ini.bak.
3. Start the TV Box from this mSD card and write the * .dtb.PARTITION on eMMC.
4. Remove the mSD card and rename the * .ini.bak to * .ini again.
5. Now start sd card upgrade.
P.S. In your case, the vendor uses the misc partition, which contains certain key signatures for certain applications. A manual installation of individual partitions does not help you, as the misc partition also has to be installed. Otherwise the stock fw will not run.