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

OTA updates howto? #16

Open
arolano opened this issue Dec 12, 2021 · 1 comment
Open

OTA updates howto? #16

arolano opened this issue Dec 12, 2021 · 1 comment

Comments

@arolano
Copy link

arolano commented Dec 12, 2021

Hi!
A little question:
how does OTA work on CHAOSP ?
The Rattlesnake docs imply a built in OTA system attached to Amazon AWS instance

However with CHAOSP being built locally, I expect it to work differently.

Would you kindly provide some documentation on building and applying OTA updates?

@CaseyBakey
Copy link
Owner

CaseyBakey commented Dec 19, 2021

I'll do a quick how-to when I'll get time, but in the mean time, you can flash new build updates via adb sideload without issues (I do this for my daily driver, once in a month).

edit: I did make it work few months ago, but for you to know, it needs:

  • web server with domain name and https
  • https certificate has to be signed by a trusted/root CA (you can add one in your AOSP build)
  • https certificate has to provide a matching Subject Name
  • a file named device-release with good 3 values in it, has to be reachable via https
  • the new build ota zip must match these 3 values
  • the zip has to be reachable via https
  • your phone has to reach the web server
  • everything is then done in background

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants