yashsingh1/xdaforums huggingface dataset:
[Android General] LLStarks:
A few different things:

I had no idea that Switch exploit could be backported like that. Backup and unbricking would be nice. If we end up creating a canonical or pre-rooted firmware repository, that would be awesome. There have been new builds even as late as March but I haven't seen anything newer.

I did some digging into the Android Auto app on the CR-V and decompiled both the apk and odex to smali and xml. What I found really pissed me off. The code is split in two: half Google, half Mitsubishi. The Google half provides for TCP transport (aka Wireless Android Auto) but the Mitsubishi half that calls the Google half, only uses the USB transport. If somebody was determined enough and had the right skills, the app could be recoded for wireless or tricked into using a shim. I currently use Emil Borconi's AAGateway and a OnePlus One middle-man as a more approachable solution for Wireless Android Auto in my car. Not perfect, but when it works, it's great. Full integration with the car, unlike his more popular solution, Headunit Reloaded.

In case anyone is curious, you can access the otherwise locked developer options on the CR-V by launching the activity from QuickShortcutMaker, which I installed. Not much to see or enable, but the password lock really isn't a lock.

How do I go between Audio Volume and Guidance Volume? I'm frequently getting stuck on the latter.

Codeage has posted test build 4.5.4 on his site. It adds a menu to choose your vehicle model and audio channel fixes.
[Android General] Ludeape:
What exactly can you do with these new audio channel options?
[Android General] LLStarks:
Not sure. But you can choose between Civic mode and CR-V mode for the navigation channel, but apparently Civic works better on CR-V and serves as the default. There's also an option for individual volume adjustment for navigation audio.

And judging by URL guessing, we're at build 4.5.7 now. Not advertised though.
[Android General] Ludeape:
Wonder if this removes the need for the USB audio compatibility option that was added recently.

If you can choose the audio stream for Google/Waze now then that compatibility setting may not be needed anymore.

Anyone try it yet?
[Android General] Kytos22:
[MENTION=495426]codeage[/MENTION] I've installed the spotify app from the online app installer list. If I enable the steering wheel controls when I click the left or right arrow it jumps 2 songs instead on just one, if i disable the steering wheel control remaping it works normally.
[Android General] LLStarks:
I might try later, but I'm not familiar with the issue in the first place.

All I've encountered with recent builds was volume defaulting to Guidance when in Android Auto mode. It's frustrating because I really only want to adjust Sirius volume or the two simultaneously.
[Android General] Ludeape:
The last test version is working fine for me also so I am not sure what issue the new options solve either.
[Android General] jazir:
Does this work on the 2018 Honda Civic?
[Android General] LLStarks:
Now I'm not sure which channel is best.

4.5.7 has both the Civic and CR-V recommended for channel 2. No noticeable difference from channel 1, but then again, I don't play around with how the audio sources interact.

Playing around is fun, but it's probably best to wait until codeage explains the new options.
[Android General] dreadlk:
Been patiently waiting for an upate. The previous version booted into whatever I was doing last.

In ny case the stereo: now it boots into the home screen and I cannot even force via the startup opetion.

I would love to. Back to the prevois release if possiblle
[Android General] ketegano:
Hello,

Same behaviour here using PowerAmp
[Android General] Ludeape:
there is an option to turn on/off the boot to last screen.. are you saying thats not working?

---------- Post added at 02:13 PM ---------- Previous post was at 02:11 PM ----------

i notice that google maps app will interrupt my music to speak directions, then i have to manually switch back to the audio source i was listening to.. i am wondering if these new audio channels could make it so Google maps now just talks over my current audio source like what Waze does.
[Android General] ketegano:
Use an "external" audio player installed using HondaHack instead of the built-in, the problem dissapears.
[Android General] Ludeape:
i am not sure i understand what you mean.. Can you give me an example of what I need to do exactly?

thank you :)
[Android General] ketegano:
I use PowerAmp to play my usb music when running waze, sygic or google maps installed from HondaHack, and when the gps program gives a direction order, the music fades a little and then keeps playing again.

If I use the built-in audio player, I have to press the Audio button to restart the music every time the app gives an instruction.
[Android General] Ludeape:
oh ok.. so this would only work if playing music from USB.. and not for FM or Satellite radio..

Think that is where my issue is really.

thank you anyway!
[Android General] jevinskie:
If you're interested, CarPlay (parts of Android Auto as well) is handled by the Jungo MediaCore jmcs binary. It has the keys needed to authenticate CarPlay inside.
[Android General] LLStarks:
I saw something like that the other day. Good to know. I'm not a programmer though. Tried a few years ago to no avail.

It's curious how there's nothing equivalent to what Mazda enthusiasts are doing. They built an Android Auto app from scratch for Mazda Connect (*nix-based?) with practically complete system integration and injected it directly into firmware images.
[Android General] bakedpatato:
I kinda get it, as Android Auto is a huge driver for development I can see why there's not much development interest for this system...heck we should be thankful we have [MENTION=495426]codeage[/MENTION](btw thanks for the Clarity link,i'll be sending some money your way,I hate that stupid OK button prompt), the Hyundai/Kia guys don't even have their own codeage even though their system is also Android based.

also ,how did you determine that the AA apk had a Mitsubishi component? The package names were in japanese (heh) or had some sort of reference to mitsubshi?

I imagine Google has a sample implementation of AA for infotainment vendors(that I bet Mitsubishi copied an older version), so if I can get my hands on that, assuming it has wireless transport enabled I could try backporting it...or if someone works for Kenwood/Pioneer (who have working wireless aa implementations) and was willing to...er...donate some code :P
[Android General] LLStarks:
I'll make it easy, here's everything I have. My work folder of the decompiled odex, and a screenshot of the split nature of the code. Never saw anything in Japanese. The apk is practically nothing, just a stub.

The output in the folder isn't Java code and possibly not every class, but it's readable. Extremely readable.
[Android General] bakedpatato:
I'm silly, there actually is a "sample implementation" : https://github.com/Trevelopment/headunit (particularity pull request #9) , sadly its in c++ because the mzd unit isn't an Android based unit
[Android General] enishi1357:
So I turn on the headunit. Screen is blank. But all these beeps happen for like a minute. Then the screen shows home screen I think. I have waze as startup app.

It doesn't happen everytime I turn on the headunit. but when it does happen it's annoying.
[Android General] jevinskie:
Can you point me to the class/method where this occurs? “The Google half provides for TCP transport (aka Wireless Android Auto) but the Mitsubishi half that calls the Google half, only uses the USB transport.”.

Once I get some time I’ll look into it and see if I can’t get something hacked up with Frida to make it work (I have a BB Priv w/ Marshmallow that supposedly works with AA, I can try a newer custom ROM on a Nexus 5 if the Priv doesn’t work). If that works I’ll look into how to do it properly using something like Xposed (are people using Xposed tweaks for their head units?).
[Android General] sonykid15:
If you turn of "enable steering wheel media controls" under "steering wheel controls and key remapping" it should fix the double jump issue.
[Android General] jevinskie:
Has anybody looked into how the head unit interacts with the CAN buses? The diagnostics menus have information from the B-CAN (slow) and F-CAN (fast) buses. On my 2018 Touring CRV, it seems the CAN data is proxied through the “syscom” V850 microcontroller which appears to reside in the audio amplifier located under the USB ports for the rear seats and communicates via the serial port ttyH3 in the head unit. For other models without that amplifier, dealer schematics seem to indicate that the head unit has CAN lines in some of the connectors. I didn’t find any CAN drivers in the kernel but they may be interfaced with an I2C bridge. Any information about the syscom would also be greatly appreciated.

Has anybody disassembled the head unit? High resolution (enough to identify the ICs) photos of the circuit boards would be very helpful. The photos in the FCC filings are too small to be of much use.
[Android General] inningsdefeat500:
i tried those for my accord 2017 coupe and kept getting stopped services, had to remove
[Android General] Kytos22:
Yeah, I figured it later, but didn't tried yet. Thank you :)
[Android General] dreadlk:
Unless Codeage changed the option it always was on. Thanks I will check to see if my option was changed by the last update.
[Android General] Ludeape:
I see codeage added new HH version to online repository. 4.6.2 I think.

May give it a shot to play with the new audio channel stuff.

Anyone try it and run into any new issues?
[Android General] codeage:
I’ve uploaded 4.6.3 to the online app center. After upgrading to 4.6.3, you can install Google Play Services, YouTube and even Play Store. But keep in mind you should not install untested apps especially those need root privilege. Do not install xposed as well.
[Android General] Ludeape:
thanks codeage.. will try today.

Could you briefly explain the benefit of being able to switch audio channels? It seems nobody here knows..

thank you again!

UPDATE:

New version is great so far.. big improvement i noticed now is that when listening to FM or Satellite radio using Waze.. the music volume will now lower when Waze speaks directions, and I now have the ability to raise the volume for Waze, so i can make the Waze volume very loud now :)

Only issues still

As noted by codeage, google maps volume doesnt work with this and I have to toggle the sound compatibility option if i am using google maps.

Waze still does not show arrived at destination notice on the cluster.

Other than that its a great improvement.. thanks codeage
[Android General] Lenster45:
Is there a link for 4.6.3? I have HH 4.5.4 installed on the HU and it says that is the current version.
[Android General] Ludeape:
new versions are in the app installer online repo now in HH
[Android General] Lenster45:
Ah missed that. Thanks
[Android General] LLStarks:
Play Store is quite an experience. It wants to update everything, including itself and Play Services, with auto-update.

Notably, Gboard wants that newer version to keep working.
[Android General] Ludeape:
Is it slowing down overall performance?
[Android General] LLStarks:
Really only during install and initialization, as codeage warns. I need to see how it performs with a cold boot as I barely had any time to test. I really don't want to discourage anyone as the head unit might be overreacting to updates or the auto-update process itself. If the head unit is sensitive to versions, this might be something we need to prevent. We finally have the holy grail, if there are any issues to work out, now is the time to help.

This is an absurd amount of control to have in a car. It's like having a Nexus 7, but it's not retrofitted. Safety must remain everyone's #1 focus.

Things I'm going to try now:

* AirDroid/AirMirror: Not sure if this is practical in either direction when Pushbullet is a bit more flexible. At first glance, it doesn't seem to be rejecting my authentication anymore (thanks Play Services?).

* Android Auto standalone mode: I should've tried this a while ago. Basically, the idea is to see whether the app can be installed and act as its own receiver and whether it will recognize the Bluetooth connection to hijack the phone capabilities, the call logs, and contacts already being shared. Don't expect this to work nicely or even at all. Not sure if Play Services is needed. Edit: Forgot that only Clarion is 5.0+. I can't even try.
[Android General] codeage:
You can turn off the auto update option in Google Play Store. I didn’t see notable performance decreasing after installing Google Play Services.
[Android General] codeage:
I didn’t see notable performance decreasing. But you may need to turn off the auto update option to prevent high CPU consumption at unwanted moments.
[Android General] codeage:
Depending on your audio system, the navigation voice may be played from the driver side or central speaker while using different channels. So just use the one you preferred.
[Android General] LLStarks:
Yeah, the CPU is the main bottleneck. Updates and background apps are the culprits so far. Just don't go nuts with apps and things will run smoothly. I will keep drawing the line at whether I'm risking responsiveness for the dynamic backup camera, other car screens, and core safety features. RAM consumption looks comfortable so far.

The Play Store-installed app updates are pretty cool though. A nice, modern coat of paint at the expense of what I can only imagine will be a good deal of optimization. Waze turn-by-turn still works.

If you choose to install the Google Search app, note that it and the Voice Search icons cannot use the mic. It would be awesome if we could use it for Assistant-like functionality.

Also, it was mentioned earlier that Xposed should not be installed, but what is XposedBridge.jar being used for by Honda Hack?
[Android General] codeage:
Honda Hack already installed a customized xposed framework on the system. You should not install another copy.
[Android General] thieu90:
Which version of Play Store did you install ? I didn't find it in HH online repo...
[Android General] apache07x:
​

[MENTION=495426]codeage[/MENTION] I'm wondering the same thing?
[Android General] Toilet Paper:
So I got the Pro version of the solution for my Civic 2016 EX. Big thanks [MENTION=495426]codeage[/MENTION]! Works great!

I do have a question, the turn-by-turn navigation that goes with Waze. I assume you need to select the mode from the instrument panel. Sadly, at least in Canada, only the Touring and Type -R has this option (maybe the Si, not sure). It is disabled for the EX series.

View attachment 4616438

As you can see, it says that they are max 10 it's, but they are not 10 items that can added or removed. They are only 7.

I assume that the 3 missing is the Turbo level (which this car does not have. as it is the 2.0L engine), and the other, should be the navigation, and the last one... no idea.

Do I have to enable an option somewhere to get it?
[Android General] Ludeape:
there is no mode to select on your CRV.. it just shows up like if your using android auto gps apps. there is an option in HH to enable it though
[Android General] thieu90:
I have a Civic Type R and here are the other items that I have :

Accelerator Position/Braking Pressure Meter

Turbo Meter

Rev Indicators

G-Meter

Navigation

Traffic Sign Recognition System

The 4 first items are specific to the Type R version but I think that you should have the 2 last ones.
[Android General] Lenster45:
FYI. Running HH 4.6.3. Sygic with maps on USB. works great and the navigation voice volume adjustment works just fine.

Thanks codeage
[Android General] Ludeape:
me too :)

maybe codeage just forgot to upload play store installer?
[Android General] apache07x:
I emailed him. He told me it is in the install apps online section of the app itself. I haven't had a chance to look at my version yet but I must have an older version since I don't see that option. But I want to get my USB card formatted first anyways before I get too carried away.
[Android General] Ludeape:
would really like to know what cool apps we can install via play store which won't kill our units..

Lets get a list going :)

thanks again codeage
[Android General] thieu90:
Yes in fact it is installed in the same time than Google Play Services so Play Store can be simply found in the HU app list :)

However it's a very old version...
[Android General] takumibunta:
Well at least it is working. Thanks [MENTION=495426]codeage[/MENTION] for all the efforts! :p
[Android General] LLStarks:
Yes, but it updates almost immediately. I ended up at the absolute latest versions for both apps.

One thing to note is that uninstalling from the online installer menu doesn't install the update, just the original version that was installed. You have uninstall the update manually.

I've been rather fearlessly installing apps over the past few weeks. Only rule of thumb at the moment is be careful with root apps.
[Android General] thieu90:
Yes of course many thanks to codeage ! :D

I'm not sure to understand... I have installed Google Play Services (so Play Store too by the way) from the online installer but I didn't get any Play Store update, so do I need to install the update manually?
[Android General] apache07x:
Updated to 4.63 but no google play services in the online app portion. Do I need to uninstall the original HH then just install 4.6.3 or what's going on that I'm doing wrong? I downloaded 4.6.3 onto a flash drive and installed from there, rebooted and disappointment. At a glance app looks completely the same other than saying 4.6.3 in the about section. Help.
[Android General] apache07x:
Ah I got the answer from the man himself and for those in the same situation it is only available on Civic and CRV presently. I have a Ridgeline so no bueno for me yet. :(:(:(:(
[Android General] codeage:
It’s only available for civic and CRV currently.
[Android General] LLStarks:
Once Play is installed from HH, it should start updating automagically in the background or upon first run of of Play Store.
[Android General] Ludeape:
i havent had a chance to test yet.. is the Amazon Music app or Amazon Prime video apps available? thinking a lot of apps will not be in the store since the android version is still so old..
[Android General] thieu90:
And if it doesn't update automatically? :p
[Android General] LLStarks:
I guess you can search for it in the store or install and configure Gboard, have it ***** about Play Service version in notifications, tap that notification and get to the Play Services store entry if searching doesn't work.
[Android General] ElusiveJones:
Just updated to 4.6.3 and installed(or at least downloaded) play services and am stuck on a black screen for about 10 minutes. Home button does nothing. Task manager shows HH and Setup Wizard. Going to HH gave me the "installation successful" blah blah toast. Going to set up wizard goes back to black screen. Worried about potential brickage. Should I risk a reboot or what? Any tips here greatly appreciated, doubly so for a timely response as I will eventually just reboot lol
[Android General] LLStarks:
I ultimately had to reboot when I hit the black screens. Restarting the car will sometimes jolt things loose and allow the reboot. Setup should pick up from where it left off.
[Android General] ElusiveJones:
Many thanks. Immediately went into set up and sign in mode once I rebooted the HU(left car running). Back up and running!

---------- Post added at 10:44 PM ---------- Previous post was at 10:41 PM ----------

They are both on there as well as kindle and fire TV remote(can't imagine that being useful lol). Haven't tried em yet but they are available to download.
[Android General] jevinskie:
[MENTION=495426]codeage[/MENTION] How do you test and debug HH? Do you have a head unit set up outside of the car? Have you tapped into any debug interfaces like some UARTS?
[Android General] Ludeape:
Does Google maps update also after store is installed?
[Android General] riccardone1:
after the installation of the play store the system is slow, the camera retards for 3-4 seconds. I had to uninstall it
[Android General] codeage:
Yes I have a test head unit.
[Android General] codeage:
This should not happen unless you’re updating or installing something.
[Android General] riccardone1:
it's possible, I try again and wait more time
[Android General] thieu90:
I'm agree with [MENTION=7545662]riccardone1[/MENTION], the overall system is very laggy now with Google Play services and Play Store installed even with 4.6.3 version. No updates or installations running in background and I didn't install anything from the Play Store yet (there is just Google Maps which has updated recently)

Is there a way to improve that ?
[Android General] LLStarks:
We might need something lighter like microg and Yalp. If not, then vehicle functions and interfaces need to be in some kind of whitelist for unconditional preempt and priority.

My camera cut out while backing out yesterday. I could understand lines taking an extra second or two, but I really can't have crashes even when I think the headunit CPU is otherwise at rest.
[Android General] ElusiveJones:
Yeah my drive to work this morning was a little nerve racking. Pouring rain and cameras taking a few seconds to come on made it a tad more stressful. I was running waze and Spotify as I always do, never had an issue before. Gonna try and turbo clear on my lunch break and see if that helps bring it back to base line, I noticed when I parked that the setup wizard was still there on my task manager so maybe theres some other background processes hoggin up some cpu?

Also gonna do a thorough look through all of the options on play store and services, make sure stuff isnt going on while I'm connected to my phones Hotspot.
[Android General] LLStarks:
I uninstalled for now. I may reattempt with ensuring that syncs and auto-updates are disabled.

microg will be also be attempted soon.
[Android General] jevinskie:
Awesome, so it can be done! I’ll probably bite the bullet and get one for my own testing. Does it get cranky that there isn’t a real car attached? I suppose I could hook up a CAN adapter to the HU and my PC and write a limited car emulator using the comma.ai database as a starting point. What power rails does it need to operate? My lab supply only has two rails. Do you use an OEM display as well? I was hoping I could get away with something DIY (LVDS for video and, I think, I2C for the touch digitizer/left hand buttons) since that would be another $400 USD.
[Android General] thieu90:
Yes :)

But honestly I have to uninstall Google Play services because it was really really laggy on my HU too... I think it's on a good way but it needs some improvement.

The thing now is : how to uninstall Play Store ? Because when I used Google Play services uninstaller it doesn't uninstall Play Store.
[Android General] LLStarks:
Is there a model number or place to buy these?

You also need to manually uninstall the updates from the uninstall menu.
[Android General] thieu90:
Thanks I will try this !
[Android General] workshop:
[MENTION=495426]codeage[/MENTION]

Any updates in the latest version for these issues?

1. When you get to your destination the turn by turn shows the last direction regardless

2. Roundabouts are still a bit quirky - especially when Waze treats them as a "turn left" or "turn right" roundabout - in the picture below my turn by turn gives the opposite direction!

3. The built-in Garmin turn by turn NAV directions no longer show on the cluster - even after disabling the Waze option in Honda Hack.

Thanks
[Android General] Ludeape:
would be cool if we had a debug cpu usage overlay option in HH .. just to know exactly which apps are consuming the most cpu when launched

Aslo, Can you add google play services to the "Prevent apps from starting" startup menu? Maybe that could help?
[Android General] Toilet Paper:
Yea, this is what I have:

View attachment 4617415

Cool, thanks!