Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LM-G710 Connection and multiple errors #38

Open
phodina opened this issue Aug 15, 2023 · 7 comments
Open

LM-G710 Connection and multiple errors #38

phodina opened this issue Aug 15, 2023 · 7 comments

Comments

@phodina
Copy link

phodina commented Aug 15, 2023

Hi,
I've connected the LM-G710 (LG G7 ThinQ) SDM845 based device under the download mode and it somehow connected but there were multiple errors and in the end the feature for full backup did not work and threw more errors.

SALT_Full_Backup
SALT_LM-G710TM
salt.log

@phodina
Copy link
Author

phodina commented Aug 15, 2023

There is no requirement that mentions that the lsb_release should be installed, therefore the command fails.

F_LOG "OS (lsb): $(lsb_release -a)"

I'll prepare PR with check if the tool is installed.

@phodina
Copy link
Author

phodina commented Aug 15, 2023

This issue is more for lglaf but the exception should be catched if there's no USB connected.

Traceback (most recent call last):
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 738, in <module>
    main()
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 694, in main
    comm = autodetect_device(args.cr)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 581, in autodetect_device
    return USBCommunication(cr)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 386, in __init__
    raise RuntimeError("USB device not found")
RuntimeError: USB device not found

Will also prepare PR to fix this issue.

@phodina
Copy link
Author

phodina commented Aug 15, 2023

@steadfasterX Is this the normal behavior to get this response to any command? I saw this also on other LG phone with Mediatek chipset.

Hello, I am LAF. Nice to meet you.

@phodina
Copy link
Author

phodina commented Aug 15, 2023

Seems most of the issues are connected to the lglafng. Should we discuss it here or in the repo for the tool?

@phodina
Copy link
Author

phodina commented Aug 15, 2023

Here's the dmesg from the LAF as all other commands see to be disabled.

lm-g710-laf.log

@steadfasterX Is this the normal behavior to get this response to any command? I saw this also on other LG phone with Mediatek chipset.

Hello, I am LAF. Nice to meet you.

@steadfasterX
Copy link
Owner

@steadfasterX Is this the normal behavior to get this response to any command? I saw this also on other LG phone with Mediatek chipset.

Hello, I am LAF. Nice to meet you.

see: steadfasterX/lglaf#14 (comment)

@steadfasterX
Copy link
Owner

This issue is more for lglaf but the exception should be catched if there's no USB connected.

Traceback (most recent call last):
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 738, in <module>
    main()
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 694, in main
    comm = autodetect_device(args.cr)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 581, in autodetect_device
    return USBCommunication(cr)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/cylon2p0/programs/lglafng/lglaf.py", line 386, in __init__
    raise RuntimeError("USB device not found")
RuntimeError: USB device not found

Will also prepare PR to fix this issue.

that must be handled in the lglaf repo not here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants