yashsingh1/xdaforums huggingface dataset:
[Android General] Expliciate:
Is there any native way in installing GApps on the headunit? (Accord 2017 running 4.2.2)

I've managed to install Google maps, but it requires login in order to download the offline maps.

I've white-listed Google play services + Google play store and install them.

However, the issue is that there is always two force close errors for google play services after booting up the head unit every time.

Is there a way to say, adb push the necessary gapps to /system so that the force close errors don't occur?

Everything works fine if I were to tether my phone's data for the apps to function, but I'd rather have offline maps working independently without needing my phone all the time. There's also only 2GB of actual storage space, so there's only so much you can install.
[Android General] vraj1470:
Hey [MENTION=7380757]Living Lejuhnd[/MENTION], The latest version of Waze allows you to play/pick songs via Spotify without ever leaving the app. Do you think it'll be possible to install the latest version of Waze and Spotify for this functionality to work?

Btw, Thanks a ton for the noob friendly tutorial.

Source

---------- Post added at 02:11 AM ---------- Previous post was at 02:10 AM ----------

You gotta remember that your car has a limited amount of storage. I belive the accord has 4-6gb of space, so idk if you'll be able to download the offline maps
[Android General] yuprules:
I'm curious how did you manage to install Google Maps? I thought APK installing on 2017 Honda's with Android 4.2.2 was disabled and none of the 2016 hacks worked anymore.
[Android General] Expliciate:
Yeah I ended up using sygic taking about 800mb.

There's only 2gb storage for my car, formatted down to about 1.69gb usable space. :(

The root script from op worked for me.

You do the same whitelisting procedure.

The only annoying part was finding the right APK for 4.2.2, the latest ones requiring 4.3+ don't work.

I ended up giving up on google maps and went with sygic. Google maps kept wiping the offline saved map data and play services kept crashing (force close). Been using sygic without an issue since my original post date.

Do keep in mind that there's only 1.69gb actual storage space to use (on my Accord 2017). Sygic alone for Canada offline data takes like 800mb
[Android General] yuprules:
For Google Play services, here is a good article on figuring out which version you need for "our cars":

http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-10-5-48-release/

Have you tried any of these Google Maps versions (after you get the right Google play services):

http://www.apkmirror.com/apk/google-inc/maps/#variants

You could also try iGO for Android, amazing routing algorithms (better than Google). The Canada map is 200 megabytes, plus Points of Interests is only 15 megabytes.

You mean the first post in this thread we are talking in right now,

still works

? There are people in other threads have failed using two other "2016" methods (installing an APK with a valid Honda 2016 certificate OR connecting to it via a router/hotspot with another script).

If we can figure this out together, we'll have to write a tutorial for all the Honda 2017 Accords, Civics and CRV's!
[Android General] pabloqc452:
Honda permissions problem

I have a 2016 Pilot and when I run Honda permissions I still get the error message "The application" Honda permissions stopped. "I did a head unit reset, remove the application cache but nothing works Do you have a solution for me? Waze, Google Maps & Spotify works great.
[Android General] Expliciate:
Yes the OP method and attached files worked for my car. (Canadian Accord 2017 Sport)

As for play services, it works when you find the correct version, but will always periodically force close. Like it will enable you to log in to Google account on google maps etc, but will crash upon car startup and google maps will clear offline map data as if you logged out.
[Android General] TimR1:
I started going through the steps that Living Lejuhnd detailed (by the way very helpful, thanks!). I did get the following warning though, so I wanted to make sure it was normal before proceeding further:

....

Exploiting dirtycow to replace factory_reset.sh with our own\n

warning: new file size (60) and file old size (1397) differ

size 1397

......

Can someone confirm that this is normal?

Also, is there a way to make a copy of the original factory_reset.sh and should I do that as a way to reverse this change if needed in the future?

Thanks,

Tim
[Android General] yuprules:
I've been reading up tons on this since I own a 2017 CRV. It seems like the 2016 hacks don't allow for Google Play Services, so you are out of luck there.

I'm a little hesitant to do this hack on my car since it can go horribly wrong. I'm hoping someone does an official "2017" hack or APK installer :)
[Android General] Sandwalker:
Thanks Living Lejuhnd et all. Was able to follow steps to get Waze installed on my '16 Pilot. Had a few issues though.

Will post here, hopefully will help others.

1) apk with Version 3.9.9 of Waze didnt find the package signature. Had same issue with 4.19.x, but I was able to do it with 4.20.x.

APK signature NOT obtained <bad!>

Did not get package name <bad!>

2) with version 4.20.x, i got to "Getting package Information" and the batch file hangs. I have to hit CTRL-C to continue. at which point it does show me the Package name: com.Waze correctly. So i assumed that the aatp dump command was ok and package name was loaded. so i proceeded with "Y"

3) after whitelist file was updated over ADB, and system is reset, got the following error when the 50M file was being transferred over to the car.

Issuing APK installation command - this may take a while depending on APK size

connected to 192.168.86.74:5555

protocol failure

- waiting for device -

at this point I understand that the whitelist is good, but the apk didnt copy over. so i put the APK on a usb thumb drive and popped it in the car. went to menu to install from usb. took couple tries to get install started but everything fine from there on.

Thanks again. hope this helps others.

cheers

JT
[Android General] Staypuft2020:
edit: got it working by installing Java... must have missed that part earlier.

Rooting and installing Waze on a 2016 Pilot EX-L using OneClick... having issues getting any signatures for Waze apk's. Tried about ten versions from 4.19.0x to 4.21.0x from two download sites. Any ideas?

Root status: rooted

APK signature NOT obtained (bad!)

Have package name: com.waze

Original whitelist.xml size seems okay

Package name is present in new whitelist
[Android General] dingnecros:
has anyone tried to install OsmAnd its opensource and the maps for each state are around 200-300MB http://osmand.net/
[Android General] ispofe:
Hi Lotus2022, were you able to get hold of a copy of the original factory-reset file.

Please if you or anyone have the original file please help me out.

My head unit seems to have had an OTA update (it said android updating, then weird things happened) and now it is not working well.

I need the original file to reset it or at least roll back the changes to see if it will work.

I will recommend disabling future OTA updates to avoid the problem I have.

This is achieved by renaming the OTACERTS.ZIP file, which I discovered after the fact.

Thanks in advance.
[Android General] jsmith8858:
I apologize if this has been mentioned already, but if you install the Google voice search apk from here:

http://www.apkmirror.com/apk/google...ease/voice-search-2-1-4-android-apk-download/

The microphone and voice commands work in the places I've tried so far. For example, you can click the microphone in Google maps and say where you want to navigate to.
[Android General] TimR1:
It is probably obvious for anyone with experience in this (that's not me), but for anyone that wants to make their own backup copy (before running Jersacct's script) here are the commands following Living Lejuhnd's method. Do this right before running the OneClickInstall.bat.

adb connect 192.168.1.200

adb pull /system/etc/factory_reset.sh

This will make a copy of the factory_reset.sh file on your PC in the directory that you are in the command prompt (C:\hondahack\OneClick\).

If someone feels it is worthwhile and wants to add it to the instructions, feel free.

-Tim
[Android General] ispofe:
Thanks Tim, I just sent you an email with my info.
[Android General] stilger:
Tim - Thanks for the file. Now if anyone has it for a 2017 Honda Accord I could compare it to the factory_reset.sh file from your 2016 Honda Pilot before I replace and reset. With Waze getting ready to start the beta for Android Auto I would like to go back to factory reset levels but I am reluctant without comparing the files. I wish I would have done it before rooting. The OP should but a blurb about backing up the factory_reset.sh file in the first post.

So if anyone has the file for anything other then a 2016 Honda Pilot I would happy to do a compare against them. - Thanks!
[Android General] TimR1:
I went through the process for the first time a few days ago and had a similar problem getting the batch file to generate a signature for Waze 3.9.9. Finally tried a more recent version of Waze (4.21.1 I believe) and it worked.

Mine also hung when it was trying to transfer the actual apk file to the head unit. I put it on a memory stick and installed via USB (thanks for the suggestion) and it installed just fine. My WiFi connection doesn't seem very stable, even when I have a strong signal. Not sure if the problem is with the Pilot head unit or my home router.

A couple of notes from my short experience using Waze:

As others have said the steering wheel audio controls do not work when the Waze map is being displayed. I haven't seen it mentioned but for what it is worth, turning on the Lanewatch camera counts as not displaying the map and the steering wheel audio controls will work while the camera is on. So if you are listening to music while following a Waze map and want to change the station and/or the volume just push the button on the end of the turn signal arm, then use the steering wheel controls, and push the button again to go back to the map. Not the perfect solution, but it works.

Also, if you think that the small Waze icon looks out of place on your main screen, the Waze widget is bigger and looks a little better. It came with v4.21, not sure if it was in the earlier versions as well.

I'll write up a separate post, but I believe that I have a working solution to the low volume issue.

-Tim
[Android General] hogcaller:
Tim,

Thanks for the Widget suggestion, I'll check that out.

Don't leave us hanging with your volume solution. I assume that we need to get the Android audio mixer to recognize that radio and Waze are both running and mix them appropriately.

-phil
[Android General] TimR1:
So the trick to getting the Waze audio to play correctly on top of radio (SXM or AM/FM) audio is to increase the head unit phone volume. Unfortunately, since the head unit doesn't have a cell radio built in as a cell phone would, the volume controls for the phone audio stream aren't shown (at least that I could find when I dug down into the android settings in the developer menu).

Note this isn't the same audio stream that you use when you make a call -- that is the bluetooth phone audio stream. So increasing the volume there when you make a call won't help.

However there are a lot of volume control apps available. I grabbed Volume Control Widget by Serkun, used the OneClickInstall to put it on the head unit, opened it on the Pilot, bumped up the "voice call" volume (15 seems good to me, but it will go up very high if that is what you want), started the radio, and then started Waze. Waze volume now sounds great.

Note that you need to have "Play From Phone Speaker" turned on under Waze Advanced Settings for this to work.

Once you set the volume, it will stay at that level until you change it again in your Volume Control app. Waze doesn't reset it, nor does it revert back to low when you turn off the vehicle. I haven't tried it, but I suspect that you could even uninstall the Volume Control app after you set it where you like if you don't feel the need to adjust it occasionally. Assuming you do not uninstall it - still a little bit of a hassle if you want to change the volume in the middle of a drive, you have to go back to the home screen, open the Volume Control app, change it, and then go back to Waze, but personally I think I'll be good leaving it at one setting the majority of the time.

The GMaps version that I have installed on my phone has a similar "Play over phone speaker" setting so I believe it is possible to do something similar with it. However, that setting isn't showing up on my Pilot. I may try to dig into that some, but I've been pretty happy with Waze so not a high priority.

-Tim
[Android General] three4one:
Has anyone tried the 2017 Pilot

I am considering using this tool on my 2017 Honda Pilot (without NAV).

Anyone see any issues with that? I made a copy of the factory reset file.

Has anyone use the factory reset to go back to stock? I would like to try that exercise first.

Would the command be: adb push /system/etc/factory_reset.sh

Thanks
[Android General] stilger:
Thanks to three4one and ispofe I now have the 2016 and 2017 Pilot files which have a few differences that deal with backing up shared preferences. I was wondering if anyone could pull a backup off a 2017 Accord and so I can see if it is the same as the newer 2017 Pilot file. I wonder if the differences in the factory reset has something to do with the version installed on the head unit or if its a difference by Model year.
[Android General] ispofe:
Hi Stigler, the credit goes to TimR1 for the original file.

I am also looking for the 2016 ACCORD original factory_reset.sh file so if you come across it or if anyone has it, I will appreciate having it.

Thanks in advance.
[Android General] hogcaller:
Waze working with Audio out and voice command!

A big thanks to [MENTION=6799736]TimR1[/MENTION] and [MENTION=1340231]jsmith8858[/MENTION]. With their help I was able to get audible navigation voice directions while XM radio is playing as well as voice search to input destinations.

I've had Waze installed on the Mrs's Pilot for months, but she continued to use GMaps on her phone because she couldn't hear the directions from Waze. Now with the addition of the volume control app and voice search she's using Waze instead.

I had to unistall Waze and reinstall it after installing Volume Control Widget. Installing the widget on top of Waze made Waze very slow and unstable.

-phil
[Android General] vraj1470:
Can someone help me with this issue? I have Java installed and everything but I'm still getting this error.

I've been reading the thread and it's been saying to check my whitelist.xml. I have no Keystore in the whitelist.xml, What should I do?

This is my error:
[Android General] TimR1:
If you are getting that far without any other errors, try installing the APK file from a flash drive.

Copy the APK file to a flash drive.

Plug the flash drive into one of the Pilot USB ports.

From the Pilot home screen push the icon in the lower right (circle around 6 small squares).

Select "Install USB".

Tap on the APK file.

If that still doesn't work, go back to the original script and look closer to see what other errors are coming up.

-Tim
[Android General] vraj1470:
Thank you for the suggestion. I tried installing through the app on the car however, I am getting this error when I install Waze 3.9.9.0 : https://puu.sh/vl94z/11e5fd2548.png

and this when i install 3.9.9.0 (as you can see, the install button is grey'd out) :

https://puu.sh/vl961/600cce8f9a.png

I'm going to go back to the script, is there anything I should change in the whitelist.xml?
[Android General] TimR1:
I couldn't get the script to generate a signature for 3.9.9.0. I know that worked originally for others, but looks like recently it is not working for anyone. 4.21.100 worked for me.

For the second image that you are showing with the install button grey'd out you need to scroll down through all of the permissions (swipe with your finger) when you get to the bottom then it will be active.

You shouldn't need to manually change anything in the whitelist.
[Android General] vraj1470:
Sorry, the second image is Waze v3.9.4.0. And I'll try this out, but when I went to install this version, I did scroll all the way down and for some reason it was still grey'd out. I'll try it again but if it doesn't work I'll go back to the script. Thank you so much for the help.
[Android General] vraj1470:
To get Spotify and Waze's audio running at the same time, do I set the tag "<withAudio></withAudio>" to "with" for both Spotify and Waze? or do I change the tag for one of the programs and the other one would be "without?"
[Android General] ispofe:
The setting for spotify or any audio APP is <withAudio>with</withAudio>

And for Waze use <withAudio>without</withAudio>

This will allow Waze to work with the Audio apps and not turn it off.

See post #265 on page 27 of this thread, where someone is using both together.
[Android General] ammarbukhari:
Can someone get the OS dump from 2017 pilot and share it here, so that 2016 Pilot owners can use it on there pilots. As I heard the only difference between the 2 is AA working on 2017.
[Android General] three4one:
I can do that. I suggest we narrow down the directories to download since there are a lot of files.

How do you want them uploaded? I don't have the ability to attache files.
[Android General] ammarbukhari:
I have little bit info about installing roms on mobiles, but i dont know what directories constitute an OS. And if any thing important get missed then what will be the effect. Can any expert shed some light on this issue.

For sharing, you can put the files on google drive, or dropbox and share the folder for a day, i will download and then you can delete that.

my gmail id is ammarsbukhari at gmail dot com

Thanks for your help.
[Android General] trent99:
Insufficient Device Storage

I was able to use the script to get root and installed Waze on my 16 Pilot. However, when I try to install anything else, I get the message that there's insufficient storage. This is both through adb and using the usb flash drive in the car. It goes to install, but thinks the storage is full and stops. Waze apk was only like 50 MB.

Any ideas? I can't see what is on the device, which makes it tough. Maybe through adb shell I could see what might be taking up so much space. I'm thinking my next move is a real factory reset to clear out any large caches. My wife drives it a lot and she always uses Pandora so maybe there's a Pandora cache that's consuming all the space.

Also, thanks so much to those that figured this out. I was messing around with it last year and a guy was helping me make some progress, but he mysteriously disappeared and I didn't have any ideas on what to do. It's great that guys like jersacct, purespin and livinglehjund were willing to put this together in an easily understandable way, and finally unlock the capability that I had hoped for from the start when I found out that the Pilot HU was running Android.
[Android General] SturdyErde:
2016 Accord factory version

Well, I've done it. I successfully rooted my 16 Accord EX with these awesome instructions, but also played a lot with the developer/dealer settings in the hidden menus. One of my tweaks resulted in a non-functioning HU when the car restarted. Can anyone send me a copy to try and restore? If not, I'll just take it to the dealer for a reset.

Thanks!
[Android General] stilger:
Hi. I have the 2016 and 2017 Pilot factory reset files. I can not seem to be able to find the Accord factory reset files. I am actually in the car with my laptop today so I will do a little digging to see if the partitions are the same between the 2017 Pilot and the 2017 Accord I have.

Send me your email via PM and I will send you the file if for the 2016 Pilot if youd like.
[Android General] Travito:
So, does anyone know whether or not we might be able to get whitelisted apps to work through the hondalink internet connection? I know with hondalink running on my phone, the browser and other built in apps can access the internet through my phone's connection (even though I don't have tethering) I'd like to see if anyone knows a way to get this to work with other apps (Waze, Sygic, etc)
[Android General] stilger:
I ran through the 2017 Pilot factory reset file while connected to my 2017 Accord and looked through the files the 2017 Pilot factory reset was referencing. Most are there and the same but some are not. Hopefully someone at some point will come to this forum with a 2017 Accord and make a backup of the factory reset before they root the device. If you are that person please send em a PM so I can send you my email to get it. I am not sure if I want to be the guinea pig to test the pilot version on mine! Thanks!
[Android General] trent99:
I figured it out, back when I was doing a system dump last year, I copied everything in the apps folder to a temp folder and so it was taking up twice the usual amount of space. I removed the copy and was able to install Waze, Pandora, Spotify, Google Maps, TTS and Voice Search. I may also try WatchESPN.

I noticed that the steering wheel controls didn't work for volume and track changing. Has anyone been able to get them to work?
[Android General] SturdyErde:
I'd prefer your 2017 Accord files since I also have an Accord. Thanks!

---------- Post added at 06:13 PM ---------- Previous post was at 06:09 PM ----------

Ah, whoops. I just reread your post and realized that I misunderstood the first time. I'll. Try to just get reset at the dealer and then backup files.

Did anybody find a good way to restore?
[Android General] ammarbukhari:
Can you please send me the files for 2016 and 2017 Pilot.

my email is ammarsbukhari at gmail dot com
[Android General] stilger:
Great. Please let me know when you have the reset file. :)
[Android General] salman499:
I am getting the following error when running oncclickinstall.bat on windows 10

'.\bin\bash.exe' is not recognized as an internal or external command,

operable program or batch file.

Any idea?
[Android General] mikeprius:
If you root your headunit, since the OS has been altered, if there are updates to the system can these be taken in or will it error out like doing an OTA with root like a stock ROM? If that's the case, you (or the dealer) will have to re-flash the headunit to stock to take an update ?