2018年3月19日 星期一

android ignore imgdiff

when build system image (target command "systemimage") got the shit message:
"failed to break apart source image"
fuck it!

modify the code to ignore this idiot work:
"bootable/recovery/applypatch/imgdiff.cpp"
int main(int argc, char** argv) {
   int zip_mode = 0;
+   return 0; //return "success" direct, don't do anything stupid.
...
}

I don't know why added garbage work here, may guess CPU toooo fast? fuck..


沒有留言: