Hi @Chaser42 ,
I am currently trying to root the lenovo smart tab m10, which is the previous verion of the P10, but now i'm facing a problem, i have been searching for an understandable way for me to patch the boot.img manually using applypatcher, and a boot.img.p, but i can't figure out how you managed to get it to work ? I am getting lost in which SHA1 i should put and where.
Would you tell my how to find the "Desired" SHA1 of the target file ?
Hopefully, you have the right boot.img file from the previous build, the boot.img.p file from the latest OTA update, and the updater-script file also from the previous OTA update. And based on the guide for the applypatch tool, you have found the device specific values to substitute on the command line.
Specifically for the P10, the updater-script file invokes applypatch with this line:
apply_patch("EMMC:/dev/block/bootdevice/by-name/boot:29449492:d43fa926899470668e751c3b80dba4e0ccce b57b:29451540:7e0ade7be617f811e20f53fe5eb4fb175d29 ba9b",
"-", 7e0ade7be617f811e20f53fe5eb4fb175d29ba9b, 29451540,
And based on that, I patched the P10 bootloader image with this command:
applypatch boot.img newboot.img 7e0ade7be617f811e20f53fe5eb4fb175d29ba9b 29451540 d43fa926899470668e751c3b80dba4e0ccceb57b:/sdcard0/bootimg/boot.img.p
Let me know if you're still stuck.