[LG V20 Guides, News, & Discussion] BatPhone:
I quite literally did nothing ( was playing some Mario Kart) and suddenly it showed up LG UP haha. Idk, but whatever, on to the next step. Thanks for staying with me, lol.

---------- Post added at 04:53 AM ---------- Previous post was at 04:16 AM ----------

git clone https://github.com/runningnak3d/lglaf

cd lglaf

git checkout h918-miscwrte

./partitions.py --dump misc.img misc

./partitions.py --dump misctest.img misc

sha256sum misc.img

sha256sum misctest.img

^^

Well this didn't work out. Here's what it's outputting:

[android@fwul ~]$ git clone https://github.com/runningnak3d/lglaf

Cloning into 'lglaf'...

remote: Counting objects: 563, done.

remote: Compressing objects: 100% (16/16), done.

remote: Total 563 (delta 14), reused 18 (delta 9), pack-reused 538

Receiving objects: 100% (563/563), 38.93 MiB | 5.34 MiB/s, done.

Resolving deltas: 100% (335/335), done.

[android@fwul ~]$ cd lglaf

[android@fwul lglaf]$ git checkout h918-miscwrte

Branch 'h918-miscwrte' set up to track remote branch 'h918-miscwrte' from 'origin'.

Switched to a new branch 'h918-miscwrte'

[android@fwul lglaf]$ ./partitions.py --dump misc.img misc

Traceback (most recent call last):

File "./partitions.py", line 459, in <module>

main()

File "./partitions.py", line 406, in main

comm = lglaf.autodetect_device()

File "/home/android/lglaf/lglaf.py", line 441, in autodetect_device

return USBCommunication()

File "/home/android/lglaf/lglaf.py", line 299, in __init__

raise RuntimeError("USB device not found")

RuntimeError: USB device not found

[android@fwul lglaf]$ ./partitions.py --dump misctest.img misc

Traceback (most recent call last):

File "./partitions.py", line 459, in <module>

main()

File "./partitions.py", line 406, in main

comm = lglaf.autodetect_device()

File "/home/android/lglaf/lglaf.py", line 441, in autodetect_device

return USBCommunication()

File "/home/android/lglaf/lglaf.py", line 299, in __init__

raise RuntimeError("USB device not found")

RuntimeError: USB device not found

[android@fwul lglaf]$ sha256sum misc.img

sha256sum: misc.img: No such file or directory

[android@fwul lglaf]$ sha256sum misc.img

sha256sum: misc.img: No such file or directory

[android@fwul lglaf]$ git clone https://github.com/runningnak3d/lglaf

Cloning into 'lglaf'...

remote: Counting objects: 563, done.

remote: Compressing objects: 100% (16/16), done.

remote: Total 563 (delta 14), reused 18 (delta 9), pack-reused 538

Receiving objects: 100% (563/563), 38.93 MiB | 5.13 MiB/s, done.

Resolving deltas: 100% (335/335), done.

[android@fwul lglaf]$ cd lglaf

[android@fwul lglaf]$ git checkout h918-miscwrte

Branch 'h918-miscwrte' set up to track remote branch 'h918-miscwrte' from 'origin'.

Switched to a new branch 'h918-miscwrte'

[android@fwul lglaf]$ ./partitions.py --dump misc.img misc

2018-04-22 03:50:50,648 LGLAF.py: WARNING: Failed to set configuration, has a kernel driver claimed the interface?

Traceback (most recent call last):

File "./partitions.py", line 459, in <module>

main()

File "./partitions.py", line 406, in main

comm = lglaf.autodetect_device()

File "/home/android/lglaf/lglaf/lglaf.py", line 441, in autodetect_device

return USBCommunication()

File "/home/android/lglaf/lglaf/lglaf.py", line 319, in __init__

raise e

File "/home/android/lglaf/lglaf/lglaf.py", line 315, in __init__

cfg.set()

File "/usr/lib/python3.6/site-packages/usb/core.py", line 620, in set

self.device.set_configuration(self.bConfigurationValue)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 869, in set_configuration

self._ctx.managed_set_configuration(self, configuration)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 102, in wrapper

return f(self, *args, **kwargs)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 148, in managed_set_configuration

self.backend.set_configuration(self.handle, cfg.bConfigurationValue)

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 794, in set_configuration

_check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 595, in _check

raise USBError(_strerror(ret), ret, _libusb_errno[ret])

usb.core.USBError: [Errno 16] Resource busy

[android@fwul lglaf]$ ./partitions.py --dump misctest.img misc

2018-04-22 03:51:14,444 LGLAF.py: WARNING: Failed to set configuration, has a kernel driver claimed the interface?

Traceback (most recent call last):

File "./partitions.py", line 459, in <module>

main()

File "./partitions.py", line 406, in main

comm = lglaf.autodetect_device()

File "/home/android/lglaf/lglaf/lglaf.py", line 441, in autodetect_device

return USBCommunication()

File "/home/android/lglaf/lglaf/lglaf.py", line 319, in __init__

raise e

File "/home/android/lglaf/lglaf/lglaf.py", line 315, in __init__

cfg.set()

File "/usr/lib/python3.6/site-packages/usb/core.py", line 620, in set

self.device.set_configuration(self.bConfigurationValue)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 869, in set_configuration

self._ctx.managed_set_configuration(self, configuration)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 102, in wrapper

return f(self, *args, **kwargs)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 148, in managed_set_configuration

self.backend.set_configuration(self.handle, cfg.bConfigurationValue)

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 794, in set_configuration

_check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 595, in _check

raise USBError(_strerror(ret), ret, _libusb_errno[ret])

usb.core.USBError: [Errno 16] Resource busy

[android@fwul lglaf]$ sha256sum misc.img

sha256sum: misc.img: No such file or directory

[android@fwul lglaf]$ git clone https://github.com/runningnak3d/lglaf

Anyone fluent in Linux able to figure out what's going on? Do I need to be in download mode on the phone for running the "./partitions.py --dump misc img misc"?