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

[$500 Bounty] Switch from fastboot to EDL/QDL #7

Closed
adeebshihadeh opened this issue Aug 10, 2023 · 15 comments
Closed

[$500 Bounty] Switch from fastboot to EDL/QDL #7

adeebshihadeh opened this issue Aug 10, 2023 · 15 comments
Labels
bounty enhancement New feature or request

Comments

@adeebshihadeh
Copy link
Collaborator

adeebshihadeh commented Aug 10, 2023

QDL should be a strict improvement

  • unbrickable
  • easier to get into than the fastboot dance
  • 2 -> 1 cables required
  • save 3s off the boot time of the device waiting for fastboot USB enumeration

Seems like there's two options here:

  1. flash the whole thing with firehose
  2. load an EDL loader with fastboot and use the existing stuff to flash

Here's a good Python implementation: https://github.com/bkerler/edl.

@adeebshihadeh adeebshihadeh added the enhancement New feature or request label Aug 10, 2023
@adeebshihadeh adeebshihadeh changed the title Switch to QDL [$500 Bounty] Switch to QDL Aug 25, 2023
@adeebshihadeh
Copy link
Collaborator Author

adeebshihadeh commented Aug 25, 2023

Bounty details:

Write a nice QDL.js library and integrate it into commaai/flash. The library only needs the functionality necessary for the flasher. No comma hardware necessary; show it works reliably on an Android phone and we'll do any final testing needed on our hardware.

Bounty locked once a PR is open that connects to a device in QDL and paid out once it's merged.

@aseok
Copy link

aseok commented Aug 30, 2023

@adeebshihadeh I already have started working on this. will be payment in cryptocurrencies possible?

@adeebshihadeh
Copy link
Collaborator Author

I’d have to check, but I think so.

@aseok
Copy link

aseok commented Sep 5, 2023 via email

@adeebshihadeh
Copy link
Collaborator Author

Doesn't matter to me, but perhaps @incognitojam has some thoughts on this.

@incognitojam
Copy link
Contributor

either TypeScript or JSDoc to add type hints is good!

@aseok
Copy link

aseok commented Dec 4, 2023

@adeebshihadeh code migration in progress. It would be nice to increase bounty to 1k$.

@adeebshihadeh
Copy link
Collaborator Author

What code migration? I would pay more for a PR that I can just click merge on right now, but I haven't seen anything yet.

@adeebshihadeh
Copy link
Collaborator Author

@bongbui321 you've done a great job with a bunch of bounties. any interest in this one?

@bongbui321
Copy link
Contributor

bongbui321 commented Jan 21, 2024

@adeebshihadeh definitely, I did see your post on discord the other day, but I have neither the comma nor an android device to start working on this bounty. So I thought it would be faster for others who have more experience in this subject to work on this since you want this to be done quick

@andiradulescu
Copy link
Collaborator

andiradulescu commented Jan 21, 2024

@adeebshihadeh I can also try this, but not immediately.

@bongbui321 no comma hardware needed #7 (comment), you just need an android device with QDL/qualcomm - maybe you can borrow an old one from someone else.

I will write a new comment before I start trying to lock it.

@andiradulescu
Copy link
Collaborator

@bongbui321 you try and lock this. I will not try in parallel. if you realize that you can't do it, I will try after.

@andiradulescu
Copy link
Collaborator

andiradulescu commented Jan 23, 2024

@adeebshihadeh noticed your changes commaai/agnos-builder#198 - will you also update https://github.com/commaai/agnos ? this might help, since the same "methods" from "edl" and flash files will be used in/with the new "QDL.js".

@adeebshihadeh adeebshihadeh changed the title [$500 Bounty] Switch to QDL [$500 Bounty] Switch from fastboot to EDL/QDL Jan 23, 2024
@adeebshihadeh
Copy link
Collaborator Author

@adeebshihadeh noticed your changes commaai/agnos-builder#198 - will you also update https://github.com/commaai/agnos ? this might help, since the same "methods" from "edl" and flash files will be used in/with the new "QDL.js".

I put up a bounty for it commaai/agnos-builder#200

@adeebshihadeh
Copy link
Collaborator Author

Done, thanks to @bongbui321!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

5 participants