Open steadfasterX opened 6 years ago
@steadfasterX already knows, but here is the summary for others with the same problem:
https://github.com/Lekensteyn/lglaf/blob/master/lglaf.lua#L104
function lglaf.init()
local usb_product = DissectorTable.get("usb.product");
usb_product:add(0x1004633e, lglaf) -- LG G3 (D855) or LG V10 (H962)
usb_product:add(0x1004627f, lglaf) -- LG G3 (VS985)
usb_product:add(0x10046298, lglaf) -- LG G4 (VS986)
--- Add your device id here
https://github.com/Lekensteyn/lglaf/blob/master/lglaf.lua#L44
--- Possibly comment out the following:
if not ((endpoint == 0x85 or endpoint == 3) and transfer_type == 3) then
return 0
end
UPDATE: If it still does not work, add the following after __usb_product:add__
local usb_bulk_dissectors = DissectorTable.get("usb.bulk")
usb_bulk_dissectors:add(0xFF, lglaf)
usb_bulk_dissectors:add(0xFFFF, lglaf)
I have added these new items to the lglaf.lua:
(yes they are different on between firmwares...)
Here is a dump taken while flashing with LGup:
excerpt: https://www.androidfilehost.com/?fid=889964283620771461 full: https://www.androidfilehost.com/?fid=889964283620771457
for reference here is the lafd from the device: http://www.filedropper.com/lafdg420p
LG LAF lua gets loaded it seems as I can see it in the protocols but it does not translate the dump..
Any help highly appreciated!!
The reason is I need to debug the issues for #7 and #24