Method, device and equipment for flashing for terminal equipment

The embodiment of the invention provides a method, device and equipment for flashing for terminal equipment. The method comprises the following steps: firstly, starting a host program preset in the terminal equipment, wherein the host program is a necessary initiator used during the starting process of an operating system for the terminal equipment; secondly, detecting and determining the third party flashing resource pack obtained through being triggered by the host program and an executable program corresponding to the third party flashing resource pack when a default event is triggered; and thirdly, invoking the executable program corresponding to the third party flashing resource pack, and performing the flashing operation to the operating system of the terminal equipment by adopting the third party flashing resource pack. The embodiment of the invention is suitable for flashing operation of the terminal equipment of all models, the flashing operation of the operating system of the terminal equipment can also be realized under the condition that the recovery partition of the terminal equipment is sealed, the flashing mode is not provided or the fastboot mode and the recovery partition are not provided for the terminal equipment, and the user experience is good.