-
Notifications
You must be signed in to change notification settings - Fork 61
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
4.4 OTA Release #56
Comments
You should be able to sideload it using adb. |
You can’t sideload it. You receive a [INSTALL_FAILED_VERSION_DOWNGRADE] error. You also can’t delete the factory loaded app, which I tried to maybe get past the adb error. Presumably this is because it was signed as a system app during the herelink image build? |
Ok, thanks for the info. I will have to look into this next week. Are you sure you don't have some release candidate version of it installed? |
Current installed version is herelink-4.0.8 that came with the device. This is the first time I’ve tried to update. |
Ok, that's not ok then. I will look into this next week. I am confused because I have it side-loaded on my stock image with stock QGC 4.0.8. |
Is it possible you built it when you side loaded and built it with a different bundleId? That would get around the issue, would just be two separate apps. I was using the prebuilt apk from the 4.4 release page, which matches the one on the device. Let me know if there is any adb output I can provide that will help you track it down when you get to looking at it. Thanks. |
I'm pretty sure I tested the artifact from here: https://github.com/CubePilot/qgroundcontrol-herelink/releases/tag/v4.4.0-herelink |
Ok, for me v4.0.8 looks like this: I then install v4.4.0 from releases using adb:
And I now have both versions installed: Can you try to uninstall Herelink-QGroundControl first, and then try again? And also paste a screenshot of the applications list? |
Steps to reproduce:
Error:
which as I understand it, because its installed as a system app, I cant delete it or overwrite without root? Screenshot of app and trying to delete it: |
Logcat output from when I try to delete:
|
Ok... success. I was able to force the uninstall the app as the root user (0) using this command:
Then the install would work:
That said, would recommend in future versions of the system image build that you maybe not load and sign the app as a system app? |
Hang on, on your screenshot above I see two icons of QGC, so presumably you have two versions installed already? As far as my testing goes, the stock one does not need uninstalling. |
The second want ones a stock QGroundControl image from Android store. FYI - I ended up having to remove both to get adb install to work. |
Yes, that was not the goal. I'm still struggling to find out why it works for me. Let me check the IDs:
Now I uninstall v4.4.0.1 and check again:
|
Now I install it again.
|
The beta name is set here, presumably. I'm not 100% sure how this all works. |
The second app on mine also had the Hope that helps. |
I see that 4.4 was released about 3 weeks ago on this repo. However, I can't install it on my Herelink via ADB because the original 4.0.8 on there is part of the system apps. When will a system update be released for Herelink that includes the 4.4 version?
Thanks.
The text was updated successfully, but these errors were encountered: