I have generated a bugreport.txt using adb bugreport > bugreport.txt. When I upload it to battery historian I get the error message:
bugreport.txt does not contain a valid bugreport file
How can I find out what's wrong with the file? I use android 6.0 and battery historian 3.0 with docker.
I assume you're using PowerShell to generate the bugreport.txt file. Sadly, Battery Historian cannot handle TXT files with UTF-16 encoding, which is the default for PowerShell.
You have several options to create TXT files with UTF-8 encoding on Windows:
Another possible issue could be that d3 was not defined, but that bug is not limited to Android 5 and 6. For more information: https://dreambyte.nl/2021/01/04/adventures-in-using-android-battery-historian/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With