Qfil Could Not Connect To The Com Port

0 views
Skip to first unread message

Theo Pontbriand

unread,
Aug 5, 2024, 9:20:52 AM8/5/24
to avciribil
Iam not sure about WIFI password issue, its an Android firmware and nothing is changed as far as the Android standard features are concerned.

For the screen sleep, use the camera shutter button to wake up the screen.




@pepeEL I clearly mentioned the rom name that I used in the instructions, you were doing this at your own risk. Now, I can give you some instructions again for the first ROM (post 1) but I NEVER tried.


Follow the same steps for Qfil (do it at your own RISK), Select the files from the extracted folder (FLASH) sub folder which you should have copied those files to.

The first file is the program file ( prog_emmc_firehose_8953_ddr.mbn)

The second file (rawprogram.xml)

Then (patch0.xml)

(after this plug USB port to the device, hold +/- button, switch on the device power while the power cable is connected, then wait for the PORT to show in the Qfil and hit download. Wait till it finishes. Switch off the device power, disconnect USB. Hold volume up (+) then switch on device power, boot into recovery and do factory reset. Then reboot. Connect USB cable to your device and open Command Prompt with Admin rights, (assuming you have Android ADB drivers installed) you should following notes.


@pepeEL I am not sure about the need for the (additional steps) I believe it is for people who need to use the Enterprise Microsoft Teams to work. You may try to complete the setup without it and can do it later if there is anything not working for you.


Is the PORT is active in Qfil? Send a screen shot of the Qfil with the error

Also, open device manager after you connect the device when you boot in EDL modee/bootloader mode and take a screenshot.


Do you lose the ability to connect to it from the Lenovo? I realize that may not solve your problem but it might get you closer. Also by putting in a little effort into some trial and error - you have the opportunity not just to help yourself but help others that may end up in a similar situation.


I actually ran into a similar issue on my Wi-Fi, it would not connect to my main wifi SSID, but it would connect fine to my guest and IoT networks, which use the same password (my security is top notch).


I think the issue might have been because my main wifi SSID is triband wifi 6 (ax), but both the other networks are 2.4ghz or 5ghz bands only. I seemed to be the only one with the issue so it never made it onto the bugs list, but you might be having the same issue.


I had the same issue. Based on posts in this thread, I went through the user-provisioning steps again and it works for me now. I know for a fact I did it previously, but I must have done it at the wrong step maybe?


Sometimes, I am able to resolve this issue by resetting the board with 2 clicks. This allows the uploading process to complete, but an additional board named "Arduino 33 IoT (COM4)" appears in the device manager.


Deleting the COM4 entry in the device manager (uninstalling the device) or other unused entries under Universal Serial Bus Controllers (visible when activating the "Show Hidden Devices" option under the View menu) does not help.


I'm not familiar with the Nano33 IoT. But to my knowledge that should not happen. The board should identify itself as Nano33 IoT (COM4 ). Only after a reset (double tap or software reset by the IDE), it should change to Arduino NANO 33 IoT bootloader (COM3).


I have uninstalled both COM3 and COM4 multiple times now. However, I'm unsure if the uninstallation process removes the actual device driver because I haven't been restarting my PC each time. Whenever I do restart, uploading sketches only works temporarily before encountering issues.


Next, I disconnected a printer that was connected to my PC and also uses a USB type B cable. I connected the printer cable to the UNO, so it is a new cable and a different physical port on my PC. The UNO was assigned COM3, but I encountered the same error when attempting to upload.


The "Access is denied" error happens when the port is open in another application. Only one application can have a serial port open at a time so Arduino IDE can't perform an upload under these conditions.


If that doesn't help, try restarting your computer. In rare occasions, a glitch causes the port to get stuck open. This is one possible cause of the "Access is denied" error. Restarting your computer restores the port to the normal working state and so fixes that particular cause of the error.


In addition to rebooting, other actions such as disconnecting and uninstalling devices in the Device Manager or entering bootloader mode have temporarily resolved the problems. However, after a while, the issues resurface again and the cycle repeats.


There is a known bug in Arduino IDE 2.x that can cause uploads to fail with this "Access is denied" error when you attempt an upload while Serial Monitor or Serial Plotter is open. A port can only be used by one process at a time, so Arduino IDE automatically closes the port in Serial Monitor and Serial Plotter during an upload, automatically opening it again after.


For some reason, that juggling of the port control is not working under certain conditions. So far, we have considered the required condition to be that the board uses an FTDI FT232R USB chip. The official Arduino UNO board and faithful clones use an ATmega16U2 chip instead and the cheap derivative boards generally use the WCH CH340 chip. For this reason, I do not have a strong suspicion that the "Access is denied" error you are getting when uploading to the Uno is caused by this bug. However, I do remember one report of a user experiencing the fault with a board that had a different USB chip so it is possible that the bug is the cause of the error you are getting after all.


If that bug is the cause of the problem you are having, the workaround will be to manually close the port in Serial Monitor/Serial Plotter before doing an upload. Please give that a try and then let me know if you still have the error while uploading:


Like others, I was also focused on the Arduino side of things, such as the IDE and boards. This was mostly because connecting the boards always worked as expected, in both normal and bootloader modes, across various models.


However, I was bothered by the fact that Windows kept generating devices and installing multiple copies of the drivers for newly generated COM Ports. So, I started investigating the events and came across the following warning:


A quick search led me to an article discussing this exact issue. I started following the steps mentioned in the article, some of which I had already tried before and others that didn't make any difference.


After rebooting, I logged what I was loading on the PC. I started with Device Manager, then Arduino IDE, Bing, and Chrome. That was it. I left the PC running after a successful upload. However, when I returned three hours later, it didn't even recognize the NANO.


The first thing I did was to try to get it to behave like a normal Android device without weird buttons, so I installed Edge and the Microsoft launcher (both of which provide a degree of gesture navigation).


But since this is Android Things and lacks many stock Android frameworks, I could not get Defender to work. Since that is required for full policy compliance in my case, using these for work was a no-go, and I had to use a personal account for testing video calls:


The odd USB-C placement means fully replacing my desktop Raspberry Pi display is harder because it does quadruple duty as a dashboard, Node-RED server, audio player/endpoint (for both AirPlay and PlexAmp) and ambilight controller. I can move most of those functions to a headless box3, though.


Besides figuring out how to replace my office display with one of these, I also plan to work out how to integrate them with HomeKit, even though that sort of works already if I put in the time to tidy up Homebridge:


Doing a simple web dashboard is certainly an option, but I am weary of the brittleness of web technology and have been wanting an excuse to use Godot to build user interfaces, so that is an appealing direction to take this (and I can always fall back into Kotlin, which I love but have completely neglected).


I also plan to (carefully) open up the one with the screen burn-in and see if I can move the USB-C port nearer to the power jack, or, even better, stuff in one of the USB hub chips I have lying around and wire in an USB audio dongle to plug in speakers directly.


I am attempting to install an Android app on my brand new Nexus 10. I have a .apk file. I have downloaded the Android SDK, installed "Android SDK Tools", "Android SDK Platform-tools", and Google USB Driver. I have checked the setting on my Nexus 10 for "Unknown Sources".


When I run "adb devices" from the command terminal, it doesn't list any devices. I attempted to follow this recommendation, because it was identical to a suggestion I had previously found here on Stack Overflow. After following those steps, "adb devices" still returns an empty list and to make it worse, when I connect my Nexus 10 to my PC, Windows doesn't show any folders within the device.


I have undone the steps in that link, along with everything else I have done so far, as well as uninstalling my Nexus 10 from Device Manager and reinstalling it, but I am still not seeing any folders in the device.


Sometimes ADB loses connection to the device, and needs to be reset. If you have everything else working (ie USB driver installed, Developer settings enabled on the device), and still can't see your device, you need to reset the ADB process.


After downloading the Google drivers via Android SDK Manager (available via Eclipse, Intellij or Android Studio), I had to update the driver in Computer Management > Device Manager > Other Devices > ADB - right clicking and clicking on update driver and browsing for updated driver finally did the trick.

3a8082e126
Reply all
Reply to author
Forward
0 new messages