question

petaramesh avatar image
petaramesh asked

[BUG] VictronConnect 6.0 crashes a lot on Android

Hello,
Since upgrading to VictronConnect 6.0 on Android, the app “works” but also crashes a lot, randomly. It just closes. This happens about everywhere, but mostly when returning from a device to the devices list, or when staying on the devices list for a while to see quick values.
This is the 1st version that I see crashing on my phone, after having used all previous versions for more than a year.

VictronConnectbug report
2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

nesswill avatar image nesswill commented ·

Works ok on my Samsung S24+ Android v14 March update.

What do you have?

0 Likes 0 ·
Show more comments
7 Answers
jperez (Victron Energy Staff) avatar image
jperez (Victron Energy Staff) answered ·

This issue has been addressed in v6.01 that is already available in the Google Play Store.

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

petaramesh avatar image petaramesh commented ·

Can't see it yet on my phone, nor on https://www.victronenergy.fr/support-and-downloads/software but I expect to see it soon :)

0 Likes 0 ·
Matthias Lange - DE avatar image Matthias Lange - DE ♦ petaramesh commented ·
You have to check for updates in the google play store.

I did the update a few minutes ago on my phone.

0 Likes 0 ·
petaramesh avatar image petaramesh Matthias Lange - DE ♦ commented ·
Got it. Of course I had checked for updates, but it didn't show. It does now.

Probably some playstore caching or distribution delay.

0 Likes 0 ·
nesswill avatar image nesswill commented ·
Working for me thank you very much.
0 Likes 0 ·
petaramesh avatar image
petaramesh answered ·

OTOH the Linux AppImage works fine and doesn't crash (on Manjaro Linux).

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Matthias Lange - DE avatar image
Matthias Lange - DE answered ·
7 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

petaramesh avatar image petaramesh commented ·
Hi,

My phone is a Realme 7 Pro (RMX2170) running Android 12.
Not too recent but not too old.
I will see for creating the service report.

0 Likes 0 ·
petaramesh avatar image petaramesh commented ·
OK I created a service report (although it was not just after I got the issue, because when I get it... the app dies).

Now how can I transmit it please ?

0 Likes 0 ·
Matthias Lange - DE avatar image Matthias Lange - DE ♦ petaramesh commented ·

After the app crashed reopen the app and create the report.

You can upload the file here:

1710407753863.png

0 Likes 0 ·
1710407753863.png (4.9 KiB)
petaramesh avatar image petaramesh Matthias Lange - DE ♦ commented ·
Hello,

The file being binary, I cannot figure whether it might contain personal sensitive information about my phone, myself, my Victron equipment (such as bluetooth PINs or passwords...) etc, so I'm reluctant to post it on a public forum.

0 Likes 0 ·
Matthias Lange - DE avatar image Matthias Lange - DE ♦ petaramesh commented ·

You can make your answer only viewable by moderators

1710410438492.png

0 Likes 0 ·
1710410438492.png (14.4 KiB)
Alex Pescaru avatar image Alex Pescaru petaramesh commented ·

Hi @petaramesh

The service report file is encrypted and not many users can decrypt it....

0 Likes 0 ·
petaramesh avatar image petaramesh Alex Pescaru commented ·
Well I've been working in IT security, and “not many users can decrypt” is not such a good answer ;)
0 Likes 0 ·
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hey @petaramesh noted! thank you. we'll look into this.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Max avatar image
Max answered ·

Same here. I have had no luck since the release of 6.0. Every version hangs and crashes before even displaying anything. I really wish I could go back to the last working version of the app.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Matthias Lange - DE avatar image Matthias Lange - DE ♦ commented ·

Same as above:

What phone do you use? Android version?
Can you please create a service report?

https://www.victronenergy.com/media/pg/VictronConnect_Manual/en/troubleshooting.html#UUID-98bc9211-902b-01a0-96b9-1f314c4d63c5


Version 5.106 is still available for download here:

https://www.victronenergy.com/support-and-downloads/software

0 Likes 0 ·
Max avatar image
Max answered ·

It is a Samsung Galaxy S4 running LineageOS 18.1, so Android 11. The app was always 100% stable on it until the release of 6.0.x. In fact, the best version in terms of functionality and startup time was the one just before 6.0.0.

I can't create a service report because the app freezes and crashes during startup. What I might have (or not) is a tombstone from the system itself after the application crash.

I hadn't considered v5.106 because it seems to be targeting Android 5/6/7. Is this the latest APK before v6.0.0?

Many thanks.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

petaramesh avatar image petaramesh commented ·
On my side, 6.0 was the first “crashing” version ever, and 6.01 fixed it.

I'm now on 6.03 and haven't had any crash since 6.01.

2 Likes 2 ·
Max avatar image
Max answered ·

Ok, I staged a new, clean test by rebooting first etc. v6.03 loaded, showed the blue splash screen for some time, then a white screen and nothing else. The application can be exited with the "back" button, but does nothing else.

v5.106 can't be installed on Android 11, unsurprisingly. Is it at least possible to get the last APK for modern Android versions before v6.0.x?

10 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Hi @Max

We can reproduce the issue on a Galaxy S4 with LineageOS 17 and will investigate the issue.

Kind regards,

Thiemo van Engelen

0 Likes 0 ·
Max avatar image Max Thiemo van Engelen (Victron Energy staff) ♦ commented ·
Hello Thiemo,

Any update or information about this issue? Can I please at least get the last working version?

Thanks and best regards.


0 Likes 0 ·

Hi @Max

No update yet on this issue. The suspicion is now that it is a problem that our graphical framework requires certain graphical functionality to be available and that this is not the case on the Galaxy S4 (due to hardware limitations). In that case, this will never be solved.

The latest version that still uses the old graphical framework can be found here (https://www.victronenergy.com/upload/software/VictronConnect-v5.106-armv7.apk)

Regards,

Thiemo van Engelen

0 Likes 0 ·
Max avatar image Max Thiemo van Engelen (Victron Energy staff) ♦ commented ·
Hello Thiemo,

This would make it the only incompatible app I have come across on this platform. In any case, as I indicated earlier, v5.106 you are proposing does not install on Android 11 as it targets old systems. The version I need is the last one that was on Google Play before the release of v6.0 for ARMv7 and modern Android releases.

Thanks and best regards.

0 Likes 0 ·

Hi @Max

I just tried and had no problems installing v5.106 for ARMv7 on our Galaxy S4 running LineageOS 17 (although this is Android 10 and not 11). What was the error that you were getting when you tried to install it on Android 11?

With kind regards,

Thiemo van Engelen

edit: I just installed LineageOS 18.1 on the Galaxy S4 and again had no problem installing VictronConnect v5.106 for ARMv7 that can be downloaded from our website (and is already linked by me above).

0 Likes 0 ·
Max avatar image Max Thiemo van Engelen (Victron Energy staff) ♦ commented ·

Thiemo,

Ok. Here it progresses through the install process normally and fails close to the end with "App not installed" when v6.0.3 is already installed. If I first remove the newer version, then v5.106 does indeed install and communicates with the firmware present on the device (which was up-to-date just before v6.0.0). It is not the most recent app before v6.0.0, it won't display key data in the device list for example, which was a nice feature, but this certainly takes care of the most critical issue, so thank you for that.

I haven't seen v6.0.3 running, but I am somewhat puzzled by the graphics problem, if this is what it is. All the releases before v6.0.0 ran perfectly fine.

0 Likes 0 ·

Hi @Max

Ok.. that is a learning point for us and that is to tell to uninstall the Play Store version indeed.

Regarding the key data in the device list: Because you had to completely uninstall VictronConnect v6.03, the encryption data for the Instant Readout stored on the phone by VictronConnect was also removed from the phone. You have to reconnect to each device to have the newly installed VictronConnect fetch it again and store it on the phone. v5.106 is almost completely the same as the last pre v6.0 version that was in the play store so this should definitely work.

Regarding the graphics issue: We did not change much to the graphics of VictronConnect itself, but we had a major change in the underlying graphical libraries / framework. This (probably) has different requirements with respect to the graphics driver/hardware of the phone. As Android version 12 does not really match the age of the hardware of the phone, I wouldn't be surprised if there is a mismatch in expectation by the graphical framework. So it thinks it can run, because it is Android 12, but at one point something just doesn't work or is not supported and the application terminates.

Kind regards,

Thiemo van Engelen

0 Likes 0 ·
Max avatar image Max Thiemo van Engelen (Victron Energy staff) ♦ commented ·
Hello Thiemo,

Removing the Bluetooth device pairing and recreating it does indeed solve the Instant Readout issue.

This represents a reasonable solution considering that the hardware won't be supported much longer now due to other external factors like carriers moving to VoLTE, something the S4 firmware has no support for.

Thanks and kind regards.


0 Likes 0 ·

Hi @Max

To be complete: You don't need to remove the pairing. You just need to connect to the products once in VictronConnect. The pairing is stored by Android and is not removed when uninstalling the app. So the pairing is still there when you uninstall VictronConnect and you should be able to connect to the product without filling in the pincode. Then VictronConnect fetches and stores the information that is needed for the Instant Readout.

Kind regards,

Thiemo van Engelen

0 Likes 0 ·
Max avatar image Max Thiemo van Engelen (Victron Energy staff) ♦ commented ·
Hello Thiemo,

It is an interesting comment. The pairing of course remained after uninstalling v6.0.3. I always turn Bluetooth on and immediately start the app. I am not convinced that Bluetooth connected before the app started. The Instant Readout only came back after I had renewed the pairing, for whatever it is worth, always following the same sequence.

I never used the pin code within the app. I used it to pair the device from Android before starting the app.

Re-reading your earlier message and going back to the app for a look, it appears that I could have simply told the app to "forget" the device. Yet, somehow renewing the pairing also fixed the issue while keeping the same device within the app.

Kind regards.
0 Likes 0 ·

Related Resources

Additional resources still need to be added for this topic

VictronConnect Manual

Download for iOS / Android / Mac / Windows