-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
AttributeError: type object 'req' has no attribute 'version' . Error in the first step itself #508
Comments
same here, if i restart EDL mode it gets stuck on "Trying to read first storage sector" |
I'm getting the same errors on Fedora (SELinux is set to permissive) when using any
I tried this hack to get around the error but the
@bkerler do you have any suggestions on how we can work around this? |
I was getting that after loading the wrong loader. It would only clear after reconnecting USB and choosing correct loader. |
Unplugging and plugging in the USB cable did the trick for me, too! On a related note, it sounds like there should be some error reporting added. For example:
|
I'm getting the same error as discribed but unplugging/plugging did not solve the issue. @dzid26 how do you choose from different loaders? |
Normally I use default loader which shows up when you start edl:
If you want to change the loader use |
Issue resolved, had to reinstall the drivers and used the latest edl version. Thank you |
I have a Xiaomi Redmi Note 6 Pro and I was also having this problem on Linux. I tried editing the edl file with @LukeShortCloud's suggestions to see if I could reach further, but no. I then decided to try on Windows 10, and still I was getting this error. I then tried on Windows 10 to install Zadig's libusb-win32 drivers and everything started to work. |
I also tried Zadig's libusbK, this driver seems to work as well as libusb-win32. |
Hmm maybe some permission problem in linux? |
still no solution?? this does work on my lg sdm845/sm8150 but doesn't work on redmagic 9 pro or other devices with the same chip, it throw the same error as above |
I think you need a firehose file made specifically for your device. |
yes, i used specific firehose which is works with QFIL on windows but not on bkerler/edl, it just throw error like this issue and doesnt even detect device info |
It seems there is some issue in python code itself(exception handling or anything else) of edl file.
Error:
.......
main - Mode detected: sahara
Traceback (most recent call last):
File "C:\Users\GuruHP\edl\edl", line 386, in
base.run()
File "C:\Users\GuruHP\edl\edl", line 294, in run
version = conninfo["data"].version
AttributeError: type object 'req' has no attribute 'version'
Tried with and without loader & also with serial port or zadig driver , but still same error coming.
Device is Motorola Edge 30 (Dubai)
The text was updated successfully, but these errors were encountered: