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

LGLAF permission denied - LG K10 (2017) #58

Open
DaniloColazo opened this issue Nov 1, 2018 · 1 comment
Open

LGLAF permission denied - LG K10 (2017) #58

DaniloColazo opened this issue Nov 1, 2018 · 1 comment

Comments

@DaniloColazo
Copy link

Hello guys, i have a problem with LG K10 (2017). The screen is broken and no adb enable and i need extract some data. When i try to execute the command python lglaf.py --cr --debug --rawshell give me this result

Traceback (most recent call last):
File "lglaf.py", line 510, in
main()
File "lglaf.py", line 483, in main
comm = autodetect_device()
File "lglaf.py", line 414, in autodetect_device
return USBCommunication()
File "lglaf.py", line 287, in init
current_cfg = self.usbdev.get_active_configuration()
File "/home/danilo/.local/lib/python2.7/site-packages/usb/core.py", line 875, in get_active_configuration
return self._ctx.get_active_configuration(self)
File "/home/danilo/.local/lib/python2.7/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/home/danilo/.local/lib/python2.7/site-packages/usb/core.py", line 236, in get_active_configuration
self.managed_open()
File "/home/danilo/.local/lib/python2.7/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/home/danilo/.local/lib/python2.7/site-packages/usb/core.py", line 120, in managed_open
self.handle = self.backend.open_device(self.dev)
File "/home/danilo/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 786, in open_device
return _DeviceHandle(dev)
File "/home/danilo/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 643, in init
_check(_lib.libusb_open(self.devid, byref(self.handle)))
File "/home/danilo/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Any help, the mobile need to be root? Sorry for my english

@steadfasterX
Copy link
Contributor

sudo python......

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