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

Installer hangs and keeps asking to "connect device with an usb cable" on macOS Sierra #120

Closed
WolfpackN64 opened this issue Mar 7, 2018 · 5 comments · Fixed by #710
Closed
Labels
needs confirmation a bug that has not yet been confirmed or reproduced

Comments

@WolfpackN64
Copy link

I tried flashing my OnePlus One multiple times with the ubports installer on macOS Sierra.
It always asks me to "connect device with an usb cable" even when devmode on android was enabled.
The installer still detects my device as a OnePlus One, but the message remains.
When continuing with the install, the installer screen appears, but there is no progress bar and nothing further happens.

Also tried installing without android (since the installer wiped LineageOS) from TWRP and I have the same problem.

The device is recognized by adb in the recovery and android, but as soon as it enters fastboot, it loses connection to adb (but the device is still recognized on my mac with the fastboot command).

@NeoTheThird NeoTheThird added the needs confirmation a bug that has not yet been confirmed or reproduced label Mar 14, 2018
@NeoTheThird
Copy link
Member

It might be TWRP's fault (#52). Could you send the full log?

@Dave-Melia
Copy link

Dave-Melia commented Jul 1, 2018

Having the same issue with MacOS High Sierra. UBTouch Installer v0.1.13 and I'm using the phone BQ Aquarius E4.5. I get further using Ubuntu on VirtualBox, but still doesn't complete the flash.

It'll detect the phone, you click install, it asks for your system password, the phone reboots into fastboot mode, then the installer just hangs at 'Connect Device With An USB Cable'.

edit: Just tried it with 0.1.12 and the problem is the same. Perhaps it's an issue with MacOS.

I'll try installing Windows via bootcamp and report back.

@NeoTheThird
Copy link
Member

Please try again with the latest release.

@xylobol
Copy link

xylobol commented Jul 12, 2018

I hit the same issue, I fixed it by running the app as admin. (use sudo open /path/to/the.app in the terminal)

@NeoTheThird
Copy link
Member

@xylobol thanks for reporting, we'll check that.

@NeoTheThird NeoTheThird mentioned this issue Mar 15, 2019
NeoTheThird added a commit that referenced this issue Mar 17, 2019
## New features

- Allow the user to reconnect their device if the connection gets lost
- New *beautiful* animations for downloading and pushing files
- Include the command-line interface in the normal app (not fully implemented yet)
- Use --debug and --verbose instead of env vars, resolves #704
- Remove google fonts, because fuck google
- Clean cache before installing, resolves #6

## Bugfixes

- Tame the cross-firing events, fixes #187 and possibly many other
issues
- Finish adb-support snapd interface implementation, fixes #258
- Implement ubports-api-node-module, fixes #692, resolves #7
- Use new (a year old, holy shit time is flying!) API server, fixes #692
- Shut the child process up, fixes #216
- Fix macos paths, fixes #430, fixes #553, fixes #120, fixes #92
- Fixes stupid bug where we tried to execute [Object]
- Fixes #703 , where custom tools were not executed on asar convenience function usage
- Introduce a --simulate option (still experimental), resolves #706
- Implement --force-fallback, resolves #705 
- Implement introduce --no-root option
- Fix #716, `fastboot boot` issue on Meizu Pro 5

## General improvements related to unreported or distributed issues

- More intuitive loading bars
- Improve logging by, like, a lot
- Remove a lot of unused code
- Improvements of code quality in some areas
- Move stuff around
- More useful event handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs confirmation a bug that has not yet been confirmed or reproduced
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants