vm03 / payload_dumper

Android OTA payload dumper
1.39k stars 305 forks source link

Support of BSDF2 patch #48

Open chouex opened 1 year ago

chouex commented 1 year ago

the vbmeta.img suppose to be patched but payload_dumper handle it as a normal file, dumped vbmeta.img having magic bytes 'BSDF2'.

sample: Full :https://gauss-componentotacostmanual-cn.allawnfs.com/remove-e39dd9079364ef1fbd57ae9092cf1192/component-ota/22/10/25/b0ff16a754294e96b78181901d008ca6.zip Incremental :https://gauss-compotacostauto-cn.allawnfs.com/remove-65220760352fdd1e1cc0aacc346c9fce/component-ota/22/08/27/ba57c400420e44f8b53b7df7a9e10213.zip

reference: https://android.googlesource.com/platform/external/bsdiff/+/77833b6477cd576fabd7211f2129918d7d372148

the vbmeta.img files dumped: sample.zip