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

getting backend error #3

Open
SanjaySRocks opened this issue Apr 2, 2024 · 6 comments
Open

getting backend error #3

SanjaySRocks opened this issue Apr 2, 2024 · 6 comments

Comments

@SanjaySRocks
Copy link

Terminal Logs

(env) PS C:\SamsungFRP Unlock> python .\main.py
Traceback (most recent call last):
  File "C:\SamsungFRP Unlock\main.py", line 12, in <module>
    main()
  File "C:\SamsungFRP Unlock\main.py", line 6, in main
    samsungGalaxyToModemMode()
  File "C:\SamsungFRP Unlock\usbswitcher.py", line 20, in samsungGalaxyToModemMode
    dev = usb.core.find(idVendor=SAMSUNG_GALAXY_ID_VENDOR, idProduct=SAMSUNG_GALAXY_ID_PRODUCT)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\SamsungFRP Unlock\env\Lib\site-packages\usb\core.py", line 1309, in find
    raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available

@longlostnick
Copy link

longlostnick commented Jun 1, 2024

I installed the latest version of pyusb by pointing my requirements.txt at the latest version on their GH repo:

pyusb @ git+https://github.com/pyusb/pyusb@master

That being said, I still am not able to get the whole thing working. Running into issues with ADB. I'm not familiar with ADB at all, but seems to get part of the way through and just hangs:

Screenshot 2024-05-31 at 9 06 13 PM

@SatinSnow
Copy link

SatinSnow commented Jun 16, 2024

I also needed to install the latest version of pyusb along with the devel filter libusb-win32-devel-filter-1.2.6.0.exe to get things going. Now I am stuck with ADB issues as well. If I gain anymore progress I will report back at the bottom of this comment as "EDIT"s. Here is what I currently got so far
No samsung device detected over USB
####### Available serial ports #######
COM3 - USB Serial Device (COM3)
####### End of available serial ports #######
Choose a serial port (default=COM3) :COM3
Initial...
Sending b'AT+KSTRINGB=0,3\r\n'
Received b''
Go to emergency dialer and enter #0#, press enter when done

Enabling USB Debugging...
Trying method 0
Sending b'AT+DUMPCTRL=1,0\r\n'
Received b'AT+KSTRINGB=0,3\r\n\r\n+CME ERROR: 100\r\n'
Trying method 1
Sending b'AT+DEBUGLVC=0,5\r\n'
Received b'\r\n+CME Error:PACM(AP),PROTECTED_NO_TOK\r\n\r\nOK\r\n'
Trying method 2
Sending b'AT+SWATD=0\r\n'
Received b'[DR]: CHANGE TO DDEXEAT+SWATD=0\r\n[ATD]: CHANGE TO DDEXE'
Trying method 3
Sending b'AT+ACTIVATE=0,0,0\r\n'
Received b'\r\n+USB READY\r\n'
Trying method 4
Sending b'AT+SWATD=1\r\n'
Received b'[DR]: CHANGE TO ATDAT+SWATD=1\r\n[ATD]: CHANGE TO ATDBOOTING COMPLETED\r\nBOOTING COMPLETED\r\n'
Trying method 5
Sending b'AT+DEBUGLVC=0,5\r\n'
Received b'AT+DEBUGLVC=0,5\r\n\r\n+CME Error:PACM(AP),PROTECTED_NO_TOK\r\n\r\nOK\r\n'
USB Debugging should be enabled
If USB Debugging prompt does not appear, try unplug/replug the USB cable
Waiting for device with adb
'adb' is not recognized as an internal or external command,
operable program or batch file.
'adb' is not recognized as an internal or external command,
operable program or batch file.
Pushing FRP bypasser binary
'adb' is not recognized as an internal or external command,
operable program or batch file.
Giving it 777 permissions
'adb' is not recognized as an internal or external command,
operable program or batch file.
Executing the binary
'adb' is not recognized as an internal or external command,
operable program or batch file.

EDIT:
I had to install adb / platform tools from the official andoid website and then add it to my path. Now I am stuck where @longlostnick is though I am don't get a "connection refused". I don't believe this changes anything though since it seems to try again and his post shows the daemon was successful. So far my theory is that the daemon doesn't seem to be doing anything because our devices are not being found OR we just can't see what the daemon is doing so we don't quite know how to move forward or interact with it.

@SatinSnow
Copy link

I installed the latest version of pyusb by pointing my requirements.txt at the latest version on their GH repo:

pyusb @ git+https://github.com/pyusb/pyusb@master

That being said, I still am not able to get the whole thing working. Running into issues with ADB. I'm not familiar with ADB at all, but seems to get part of the way through and just hangs:

Screenshot 2024-05-31 at 9 06 13 PM

@longlostnick Have you had any further progress yet?

@bksmartphone
Copy link

Informational post but i will use Bksmartphone For frp Bypass Google Account on all devices.

@SatinSnow
Copy link

Informational post but i will use Bksmartphone For frp Bypass Google Account on all devices.

Thank you. Should I just keep up with whatever you post there?

@bksmartphone
Copy link

Informational post but i will use Bksmartphone For frp Bypass Google Account on all devices.

Thank you. Should I just keep up with whatever you post there?

Yes This is best website for bypass your google account

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

4 participants