From 81998e1ddebf9ceb8082fdcade8142151935cf12 Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Thu, 19 May 2016 11:35:21 -0700 Subject: [PATCH 1/3] Add one varient of the LG V10 to the usb.rules file Now we can talk to another LG device. This device though does need the protocol fix (issue #7) solved before becoming truly useful though. --- rules.d/42-usb-lglaf.rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.d/42-usb-lglaf.rules b/rules.d/42-usb-lglaf.rules index 55d9a0f..77b145c 100644 --- a/rules.d/42-usb-lglaf.rules +++ b/rules.d/42-usb-lglaf.rules @@ -5,3 +5,5 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uacce SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="627f", TAG+="uaccess" # LG G4 (VS986) in download mode SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="6298", TAG+="uaccess" +# LG V10 (H962) in download mode +SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uaccess" From 14df5335c3966f85a8d107aa5df254fc51c63efd Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Thu, 19 May 2016 11:40:19 -0700 Subject: [PATCH 2/3] Fix download mode instructions in README.md What was written seemed to suggest the power button should also be held down, but instead the power button only briefly needs to be pressed. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 09b0d6e..231c589 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,11 @@ This tool provides an interactive shell where you can execute commands in Download Mode. To enter this mode: 1. Power off the phone. - 2. Press and hold **Volume up**. - 3. Connect the phone to a computer using a USB cable. - 4. Wait for the **Download mode** screen to appear. - 5. Release keys. You should now see a **Firmware Update** screen. + 2. Connect the phone to a computer using a USB cable. + 3. Press and hold **Volume up**. + 4. Briefly press the power button. + 5. Wait for the **Download mode** screen to appear. + 6. Release keys. You should now see a **Firmware Update** screen. Now you can issue commands using the interactive shell: From 114f2b3cd878f3b669cf2d5a3c4c4287a16bfc77 Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Thu, 19 May 2016 14:20:24 -0700 Subject: [PATCH 3/3] Reading is a lossed art, be more consistent with existing stuff Upon looking, it seems the H962 has idProduct identical to the D855. Note in appropriate places the H962 is now supportted. --- lglaf.lua | 6 +++--- rules.d/42-usb-lglaf.rules | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lglaf.lua b/lglaf.lua index a5fe8d2..0fe2574 100644 --- a/lglaf.lua +++ b/lglaf.lua @@ -95,7 +95,7 @@ end function lglaf.init() local usb_product = DissectorTable.get("usb.product"); - usb_product:add(0x1004633e, lglaf) -- LG G3 D855 - usb_product:add(0x1004627f, lglaf) -- LG G3 VS985 - usb_product:add(0x10046298, lglaf) -- LG G4 VS986 + 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) end diff --git a/rules.d/42-usb-lglaf.rules b/rules.d/42-usb-lglaf.rules index 77b145c..20774ae 100644 --- a/rules.d/42-usb-lglaf.rules +++ b/rules.d/42-usb-lglaf.rules @@ -1,9 +1,7 @@ # /etc/udev/rules.d/42-usb-lglaf.rules -# LG G3 (D855) in download mode +# LG G3 (D855) or LG V10 (H962) in download mode SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uaccess" # LG G3 (VS985) in download mode SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="627f", TAG+="uaccess" # LG G4 (VS986) in download mode SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="6298", TAG+="uaccess" -# LG V10 (H962) in download mode -SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uaccess"