[Android General] Orsmo:
So, I recognize this thread is quite old, but not so old that the life of my Pilot has come to an end. With luck some of the knowledgable folks from this thread's early days will see this and respond.

Several years back I found this thread and eventually used HondaHack as a convenient way to get the features it offered and install apps rather than having to go through the gyrations required manually. I knew enough that I'd rooted my head unit manually, but it seemed an easier way to go at the time. I purchased a CarlinKit unit so I could get wireless CarPlay and I was reasonably happy, but it wasn't particularly stable, so eventually I just gave up and went back to wired.

Recently I revived my interest in trying to get wireless CarPlay working and came to the conclusion that updating autokit.apk would need to be the first step toward stability, along with updating the firmware on the dongle itself. AutoKit has a built-in facility for checking its own version and the firmware of the dongle against the latest available and then updating either or both. Unfortunately, the new version of the APK requires additional permissions and I discovered that the "Install" button was greyed-out during the upgrade of the APK. The firmware on the dongle itself updated easily enough however.

I knew that HondaHack had a list of downloadable apps and that AutoKit was on it though. Sure enough, the version available to be downloaded through HondaHack was newer than the one I had, so I gave it a go. It installed just fine, but didn't bring the hoped-for stability. It was not even close to the latest available from the manufacturer though. So I set out on a mission to get the lastest version installed.

To that end, I tracked down this thread again, reread it all and downloaded the OneClickInstall package. It took a little effort to get my environment set up for both adb and aapt to be available (since they moved where aapt gets installed on my Mac) and in my path so the script could run semi-successfully. I did still get some errors along the way, but when I ran the commands in the script manually I was able to successfully pull the whitelist, update it with the signature and package name of the APK and push it back to the device (including copying it into place and using su to make the required changes actually work). I even verified that post-reboot the version of the whitelist in the system folder had the changes required.

But then I tried to use adb to install the APK. It slowly transferred the application and then tried to install it only to bomb out with an error of INSTALL_FAILED_INTERNAL_ERROR. So I tried putting the file on a USB stick and then installing it with the USB Installer... No dice, that wants permissions approval. OK, how about installing it with HondaHack from USB? Nope. The forced install tries to work but then fails with the same INSTALL_FAILED_INTERNAL_ERROR.

I'm at a bit of a loss as to what to try next. My understanding is that the original HondaHack developer hasn't really been answering folks based on comments in this thread. It seems unlikely that he's going to update the APK available for download through HondaHack, but maybe that's worth pursuing. I'm perfectly happy to just fix it myself manually, but I don't understand the failure here. Any advice on what to try next?