Nokia 2720 EDL timeout

300 views
Skip to first unread message

gendragongfly

unread,
Nov 20, 2022, 12:09:33 PM11/20/22
to comp.mobile.nokia.8110
Hello,

First of, thank you very much for the bananahackers website and community.
I know a lot of people have put a lot of hard work into it, for very little to no reward.
For people like me, who want to own their device (software included) it means a lot.

So, I bought a new Nokia 2720 with the 2.5.2.2 update.
I want to remove most of the bloatware but keep WhatsApp and Maps.
I managed to get ADB & devtool access with the help of the W2D website, that works great :)

But Web-IDE is blocked, so I needed to use EDL.
I followed the instructions of the "Nokia 2720 after update" conversation.
I read the wiki, the bananahackers website and all the github readme files.

After setting up EDL on windows and Linux, I read the GPT and backed-up the partitions.
But after I patched the boot.img and tried to write it to the phone I got a timeout error.
It wrote data to the boot sector because the phone isn't booting past the Kaios logo anymore and it was booting normally before I tried the writing operation.

I've tried both windows and Linux, different versions of Python, plugging in the device while the script says "waiting for device", 
I've tried the edl scripts of andybalholm and plugnburn even bkerler, but that last one times out before communication is established, and I haven't been able to figure out why yet.
I've even tried changing the default timeout in "usb/core.py" but write operations still result in a timeout.
I've spend a couple of hours searching online to see if anyone had posted a similar question. 
But I only found posts with smartphones or issues that where resolved by solutions that don't work for me,
like rebooting into EDL mode or plugging the phone while the script is waiting.

I know that it's likely that I'll have to buy a new phone, but I'd like to find out what I did wrong and if its fixable.
I'm willing to spend a significant amount of time on this.
Please let me know if anyone has any idea of what else I could try, or if there is more documentation somewhere, I'll gladly read it.

If I can get bkerler's edl script to work I'll post a full debug-logfile. But for now here's the output of the write operation:

pi@raspberrypi:~/Downloads/edl1 $ python3 edl.py -loader 2720.mbn -memory eMMC -w boot boot.img

Qualcomm Sahara / Firehose Client (c) B.Kerler 2018-2019.


Using loader 2720.mbn ...
Waiting for the device
Device detected :)
Mode detected: Sahara

------------------------
HWID:              0x000940e100420050 (MSM_ID:0x000940e1,OEM_ID:0x0042,MODEL_ID:0x0050)
PK_HASH:           0x77101cea7db8958552addeb45de9e325904e89fb0cbee284399e54fc9c96aac5
Serial:            0x23410076
SBL Version:       0x00000000

Successfully uploaded programmer :)
TargetName=MSM8909
MemoryName=eMMC
Version=1

Writing to physical partition 0, sector 311392, sectors 51104
Progress: |██████████████████████████████████████████████████| 100.0% Complete
Traceback (most recent call last):
  File "edl.py", line 419, in <module>
    main()
  File "edl.py", line 359, in main
    data = fh.cmd_write(args.lun, partition.sector, filename)
  File "/home/pi/Downloads/edl1/Library/firehose.py", line 180, in cmd_write
    info = self.xml.getlog(self.cdc.read(self.cfg.MaxXMLSizeInBytes))
  File "/home/pi/Downloads/edl1/Library/usb.py", line 67, in read
    tmp=self.device.read(self.EP_IN, length,timeout)
  File "/home/pi/.local/lib/python3.7/site-packages/usb/core.py", line 988, in read
    self.__get_timeout(timeout))
  File "/home/pi/.local/lib/python3.7/site-packages/usb/backend/libusb1.py", line 833, in bulk_read
    timeout)
  File "/home/pi/.local/lib/python3.7/site-packages/usb/backend/libusb1.py", line 936, in __read
    _check(retval)
  File "/home/pi/.local/lib/python3.7/site-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages