|
本帖最后由 lijien 于 2016-2-5 20:12 编辑
问题解决,分享一下,只要改的和开发版一样就可以用第三方REC刷机了。
对比了1604稳定版和1604开发版的刷机验证脚本,差别如下:
1604稳定版:
get_lenovo_custom1("1453430707") == "OK" || abort("Can't install this package (Fri Jan 22 10:45:07 CST 2016) over newer build (" + getprop("ro.build.data") + "). Or lenovo can't allow to rollback.");
getprop("ro.product.model") == "Lenovo K50-t5" || abort("This package is for \"Lenovo K50-t5\" devices; this is a \"" + getprop("ro.product.model") + "\".");
!(get_lenovo_custom2("1453430707") == "OK") || format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0", "/data");
1604开发版:
get_lenovo_custom1("1453053946") == "OK" || abort("Can't install this package (Mon Jan 18 02:05:46 CST 2016) over newer build (" + getprop("ro.build.data") + "). Or lenovo can't allow to rollback.");
getprop("ro.product.device") == "aio_otfp" || abort("This package is for \"aio_otfp\" devices; this is a \"" + getprop("ro.product.device") + "\".");
!(get_lenovo_custom2("1453053946") == "OK") || format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0", "/data");
|
有用
|