question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[linux][H815] LGLAF.py: WARNING: Command failed with error code 0x8000010a

See original GitHub issue

Hallo, I’m trying to use your tool, but once I gained the root shell in download mode, each commant ends up with “LGLAF.py: WARNING: Command failed with error code 0x8000010a”

# python lglaf.py
LGLAF.py by Peter Wu (https://lekensteyn.nl/lglaf)
Type a shell command to execute or "exit" to leave.
# ls
LGLAF.py: WARNING: Command failed with error code 0x8000010a
# dir
LGLAF.py: WARNING: Command failed with error code 0x8000010a
# pwd
LGLAF.py: WARNING: Command failed with error code 0x8000010a

and the same if I pipe the command

# echo mount | python lglaf.py
LGLAF.py: WARNING: Command failed with error code 0x8000010a

System specs: S.O.: Slackware linux “-current” Python: 2.7.11 PyUsb: 1.0.0rc1 /etc/udev/rules.d/42-usb-lglaf.rules: 42-usb-lgaf.rules.txt LG G4 (H815)

Any hint?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:63 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
joeblowmacommented, Nov 9, 2016

WRTE when used in official methods uses compression to send the data (given the correct args, typically it just feeds the raw/compressed dz/tot data which I’d assume is just lz or similarly compressed), which probably speeds it up quite a lot over sending just plain raw data.

Keep in mind too, there is an additional CENT METR “mode” issued before closing the flash handles, though hopefully rebooting via the laf commands would clean up any outstanding handles and related flushes.

I did solve and implement (in C, my python-ability sucks) the challenge response method before posting here previously, with even a basic shell for interactive exec then left it at that as its useless to me with a locked bootloader. The only real challenge I found was that my implementation of the crypto method was broken for that bit size and it took me a while to realize it. I prefer not to hoard, but to me this seems to be a beehive I’d rather not kick… making a standalone exe that just does the unlock would be trivial for one off private uses, or if the project maintainers want more info…

snoremaster3000: the 8994 dll is using the same method/magic bytes as the others I looked at, making me think this method is currently even more universal than I thought it would be on MM LG devices.

1reaction
RenaKunisakicommented, Jul 27, 2017

Wow, nevermind, I goofed. It works. Even got it working in Python 3, will submit a pull request soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[linux][H815] LGLAF.py: WARNING: Command failed with error code ...
Hallo, I'm trying to use your tool, but once I gained the root shell in download mode, each commant ends up with "LGLAF.py:...
Read more >
[TOOL][DOCS] LG Download Mode (LAF) - XDA Forums
INFO LGLAF.py: WARNING: Command failed with error code 0x80000001 #ls ... I am experiencing the same error with LG G3 EU D855: 0x8000010a....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found