過去 OTA升級對 system 的驗證有兩次的改變
初期 OTA/**/updater-script 是驗證 system資料夾 內的眾多 檔案...
以 M8為例
代碼:
ui_print("Verifying current system...");
show_progress(0.100000, 0);
apply_patch_check("/system/app/AntHalService/AntHalService.apk", "2733b31cfce27889b099595f94d049874da17733", "b4104889aab31f634308dff669feb866383c0907") || abort("\"/system/app/AntHalService/AntHalService.apk\" has unexpected contents.");
apply_patch_check("/system/app/AntHalService/oat/arm/AntHalService.odex",
...