issue to write on MM firmwares (again!)
unfortunately since an unknown change it is not possible to write on MM laf anymore. atm it seems to write but finishes and nothing gets written actually. I had that issue a while ago and fixed it .. but now its back due to some merges I guess.
@runningnak3d any idea? :p
I'm just reading through all of those issues for my bricked H815, isn't it related to this?
https://github.com/Lekensteyn/lglaf/issues/48#issuecomment-381684923
Starting with v3 KDZs, LG pregenerates AND signs with an RSA cert a payload that is sent with the SIGN opcode. You can't modify it since it is signed, and lafd will not flash using the WRTE opcode (it returns fsync fail) if the SIGN payload has not been sent.
I'm just reading through all of those issues for my bricked H815, isn't it related to this?
unfortunately not. The thing is I had this working for the LG G4 but loooong time ago and on the latest 20p.
likely just needs a check for the protocol version and either use zdata or data depending on the version. MM was fixed by that a while ago:
https://github.com/steadfasterX/lglaf/commit/8a2440b9759f7f8790ce172984fcf648ccc57ac2