Need or not, but let it be. I think someone will come in handy.
For the authorship, I do not pretend. It just adapted tiny to work under TWRP. Plus this method, does not require root, because in TWRP it is already sewn, which means the firmware is almost clean
Initial instructions:
How to save all sections of firmware without BBFull backup with ADB commandsAnd it will be something like this:
Full backup using AdB commands from TWRP Thanks for the idea
Atlonx2The script itself is as follows:
adb devices
adb shell df
ADB Shell MKDIR -P / SDCard / SPFT
ADB Shell "DD if = / dev / block / mmcblk0boot0 of = / sdcard / spft / preloader_aio_otfp.bin bs = 512 count = 512 Skip = 4"
ADB Shell "DD if = / dev / block / platform / mtk-msdc.0 / by-name / boot of = / sdcard / spft / boot.img"
ADB Shell "dd if = / dev / block / platform / mtk-msdc.0 / sdcard / sppt / cache.img"
AdB Shell "DD if = / dev / block / platform / mtk-msdc.0 / sdcard / custom of = / sdcard / spft / custom.img"
AdB Shell "DD If = / dev / block / Platform / MTK-MSDC.0 / BY-NAME / LK OF = / SDCARD / SPFT / LK.BIN"
ADB Shell "DD if = / dev / block / platform / mtk-msdc.0 / by-name / logo of = / sdcard / spft / logo.bin"
ADB Shell "DD if = / dev / block / platform / mtk-msdc.0 / sdcard / recovery of = / sdcard / spft / recovery.img"
AdB Shell "DD If = / dev / block / Platform / MTK-MSDC.0 / SDCARD / SECRO OF = / SDCARD / SPFT / SECRO.IMG"
AdB Shell "DD if = / dev / block / platform / mtk-msdc.0 / sdcard / spp / trystzone.bin"
ADB Shell "DD if = / dev / block / platform / mtk-msdc.0 / sdcard / spe1 of = / sdcard / SPFT / mobicore.bin"
AdB Shell "dd if = / dev / block / platform / mtk-msdc.0 / sdcard / spp / sdcard / spext / tee1.bin"
AdB Shell "DD if = / dev / block / platform / mtk-msdc.0 / by-name / tee2 of = / sdcard / SPFT / tee2.bin"
AdB Shell "dd if = / dev / block / platform / mtk-msdc.0 / sdcard / system of = / sdcard / SPFT / System.img"
ADB Shell "DD if = / dev / block / platform / mtk-msdc.0 / sdcard / nvram of = / sdcard / spft / nvram.img bs = 5242880 count = 1"
Here I do not know what the partitions are TEE1 and TEE2. As I understood for a flash station, the TEE1 section is trustzone, and to install through the Mobicore recovery, we throw into the TEE1 section. So, let the duplicate will be, they still weigh.
From the script made a batch file + added ADB files. Just unzip, connect the phone to the PC (the Lenovo ADB driver must be installed), go to TWRP (go to Mount, put a check mark for mounting the System section) and click on start.bat
After the script finishes its work, the files will lie on the phone in the / SDCard / SPFT folder. It is desirable to copy them to the PC.
script.rar(763.8 KB)
To change the font in Row firmware thank
MembarFor the jacket, which font is responsible by default.
Looking and configured in the /System/etc/Fonts.xml file if you replace with another that is available in / System / Fonts
Line 46.
<font weight = "400" style = "normal">RobotoCondensed-Regular.ttf</ font>
then after the reboot will change the font
Post has been editeddaradan - 19.08.15, 09:35Reason for editing: Added UserData