yashsingh1/xdaforums huggingface dataset:
[Android General] surface13:
Hopefully I can help you out, as I had this same issue. See below:

I don't have my Accord with me at work today, nor the laptop I used to get this done.

Let me know if this helps you. If not, let me know what is going on, and hopefully I can help out later tonight, or tomorrow!

Get the .apk you're trying to install, in your case it looks like head.apk, on a usb drive that is formatted for FAT32.

Plug it into your car, and install package from usb.

Did that work?

Yes -> Awesome!

No -> Go to step 3

Do you have ES File Explorer Installed on your HU?

Yes -> Clean up your whitelist.xml using ES File Explorer

Open whitelist.xml located at /data/local/tmp/whitelist.xml

If you see duplicate entries delete them, they look similar to this

<application>
<property>
<name>Waze</name>
<package>com.waze</package>
<versionCode>1-999999999</versionCode>
<keyStoreLists>
<keyStore>30820314308202d2a003020102020449806de1300b06072a8648ce3804030500306c310f300d0603550406130649737261656c310f300d0603550408130649737261656c3110300e060355040713075261616e616e61310d300b060355040a130457617a65310d300b060355040b130457617a65311830160603550403130f416c657820416772616e6f766963683020170d3039303132383134333832355a180f32303633313130313134333832355a306c310f300d0603550406130649737261656c310f300d0603550408130649737261656c3110300e060355040713075261616e616e61310d300b060355040a130457617a65310d300b060355040b130457617a65311830160603550403130f416c657820416772616e6f76696368308201b83082012c06072a8648ce3804013082011f02818100fd7f53811d75122952df4a9c2eece4e7f611b7523cef4400c31e3f80b6512669455d402251fb593d8d58fabfc5f5ba30f6cb9b556cd7813b801d346ff26660b76b9950a5a49f9fe8047b1022c24fbba9d7feb7c61bf83b57e7c6a8a6150f04fb83f6d3c51ec3023554135a169132f675f3ae2b61d72aeff22203199dd14801c70215009760508f15230bccb292b982a2eb840bf0581cf502818100f7e1a085d69b3ddecbbcab5c36b857b97994afbbfa3aea82f9574c0b3d0782675159578ebad4594fe67107108180b449167123e84c281613b7cf09328cc8a6e13c167a8b547c8d28e0a3ae1e2bb3a675916ea37f0bfa213562f1fb627a01243bcca4f1bea8519089a883dfe15ae59f06928b665e807b552564014c3bfecf492a0381850002818100ce11f6d402adf4a6aceaf6fe81219ed28299e37ffdca846241e7d21e5bf35c8938ee20ce6ade9907c38f12556d574135ebb36a567c7cb001d75d3952bcca616f4ad232563e407706c95bc47f2ed115052d5389eb84799956e5aa4481be2312d347c620029b2b8903b5553849111da92372cd50e2f9a7c156d5d10f3d83bbaf03300b06072a8648ce3804030500032f00302c021446d982e8f1ea835d06f44934bf60241e5f8be5c402147d372af681491f354f34c4ab1a6f30475e69767e</keyStore>
</keyStoreLists>
</property>
<controlData>
<withAudio>without</withAudio>
<audioStreamType>stream_ada_guide</audioStreamType>
<regulation>null</regulation>
<revert>yes</revert>
</controlData>
</application>

No -> Go to my previous post on how I cleaned my whitelist.xml using my laptop, then pushed the cleaned/updated whitelist.xml to my HU
[Android General] TWINTRBO:
Unfortunately, it's No and No. It does seem like it's doing the whitelist part so I thought the USB install would save me. It's just greyed out and won't allow it. Fwiw I get the same error trying to install ES explorer as well.

I know I had no luck using the one click method last time when I did Waze. I used adb commands to install it but I can't remember what syntax I used :( Any help would be very appreciated. I think if I could manually tweak the whitelist and push it to the head unit, I could get this done easily. The name was simplified but I'm trying to get head unit reloaded so I can use AA.

Lastly, how do I edit the whitelist? It seems this is something everyone skips over and it seems like its difficult to do. In all of these pages, no one has written a way to do it, its always "just change your whitelist" as if its turning on a light switch. Sorry, its driving me a little nuts. I havent made that many changes so why would I have a mess of a whitelist anyway? At any rate, I'll need the whitelist to include Waze, ES explorer and Head Unit Reloaded, correct? Thanks again!

---------- Post added at 09:32 PM ---------- Previous post was at 09:11 PM ----------

I just went to look at my whitelist-new on the laptop and it had multiple entries for all of those programs, I guess thats what you were talking about! Not sure how it got to be such a mess but there it is anyway. I'll try pushing the cleaned up version over and see what happens, fingers crossed!
[Android General] surface13:
If you're using a windows computer, right click on the whitelist.xml file, and choose edit. It should open with Notepad.exe - If not Notepad it will be WordPad.exe

The reason it's messed up is because when you try to install using OneClickInstall is adds the <application> ...blah blah blah </application> with each try. So the 1st time you tried it, and it said it failed, that's one entry. The 2nd time you tried it is another entry...and so on. Yes, you'll need one entry of each of the apps you want installed. Once it's cleaned up and pushed to the HU, install the apps to the HU from the FAT32 formatted usb drive that has the 3 .apk's you're wanting to install.
[Android General] TWINTRBO:
I know how to physically edit it, I meant the syntax and info for each program. That's the part that gets me. I'll be trying this in a little bit, wish me luck!
[Android General] surface13:
I just highlight, and delete the extra. If you copy paste your whitelist I'll delete what doesn't need to be there.

Or if you want to PM me, and upload the file, I'll edit it, and send it back.
[Android General] surface13:
Only thing I'd change is the following under control data for Waze

<controlData>
<withAudio>with</withAudio>
<audioStreamType>STREAM_ADA_GUIDE</audioStreamType>
<regulation>null</regulation>
<revert>yes</revert>
</controlData>
</application>
[Android General] TWINTRBO:
I made the changes, what does that do exactly?

---------- Post added at 02:40 AM ---------- Previous post was at 01:57 AM ----------

Sweet success! YOU ARE THE MAN! I pushed the whitelist over and it went off the USB with no issues at all. My only problem is that I (stupidly) used a current version of ES explorer and it didn't seem to work. I'll play more when its not so cold out or the car is warm :) Now that I know how to play with the whitelist I may see if there is anything else worth installing.

The reason I had issues at the beginning was that the oneclick was not finding the signature of the apk and failing. I think this was due to me not having Java installed. Its a new laptop and I havent used it that much yet to have all of it set up. I read about the issue elsewhere but at that point, the whitelist was already a mess. Live and learn!
[Android General] surface13:
Saw it from a previous post here
[Android General] iguru:
.

Did you get your unit restored? or did you get it replaced? did you ever get Google Play Services working?
[Android General] misu3108:
I have a 2016 honda pilot ex with 4.2.2 on it. I want to install Google maps and or waze. I now how to get into the hidden menu but as I noticed in order for me to connect with adb I need to select the USB as host from the menu. If I hold the HOME button nothing happens. that's what I saw in a video a Chinese guy did, but it won't work in my honda. So if anyone knows how to select the USB from the hidden menu please reply.

I'm attaching some pictures with the hidden menu...

Thanks View attachment 4396967
[Android General] TWINTRBO:
What method did you root it with?
[Android General] misu3108:
Did not. Have not even started... Got my laptop ready and got a usb male to usb male from best buy. Will try to see if adb can see the honda...
[Android General] TWINTRBO:
I highly suggest connecting wirelessly using your phone hotspot or home router as the connection bridge.
[Android General] misu3108:
I just did. It connected. Then I ran the rootme.bat script but it stops at

adb push factory...sh file. Says can't stat file or directory... checked and folder data/local/tmp/rootme was created.

Any ideas how to move forward?

Thanks
[Android General] TWINTRBO:
I'm no expert on it but do you have the adb files in the proper(rooting) directory? When you execute the command it looks for the adb program in the specified folder.
[Android General] misu3108:
I did it. Using line by line from the script i successfully rooted. Now because the script didn't execute correctly from the start, it gave me all kind of errors but entering the commands by themselves it worked. For example I used

adb shell

mkdir /data...

exit

after that exit from shell and typed full commands from Windows cmd line

adb push....

And so.on. I did a factory restore and then reconnected with adb and typed su and got the # signed!

Now for the fun part..

I need to install the apk manually. Will see how I can modify manually the whitelist xml file and get the signatures for the apk.

The script to install waze gives errors:

Check the image...
[Android General] TWINTRBO:
Is there a reason you don't want to try the script that does it automatically? I had to install a few things recently so I changed the whitelist and pushed it over but that was another round of commands. The one click script is very simple if it's all working properly. On the other hand, once the white list is modified, you can install from a thumb drive which is nice.
[Android General] misu3108:
Well the script did not work for me on Windows 10. So I had to use the commands one by one.

I can confirm that the latest version of waze is working for now but there's no sound. I'll need to check the settings in whitelist.xml

See the pics below...

Many thanks to the people who made this work our 2016 Hondas.
[Android General] badabing2003:
The script works on Windows 10.

You probably had cr-lf line endings before the sh script was transferred to hu.

What errors did you get?
[Android General] TWINTRBO:
Post 673 has the whitelist changes for Waze. The source needs to be audio apps.
[Android General] misu3108:
I got some errors about adb shell commands... Could not find path or folder or something like this.. Can't remember. Maybe next time I'll try to install an app I'll use the script and take pics.
[Android General] TWINTRBO:
You definitely didn't have the adb files in the install directory.
[Android General] misu3108:
I used Windows Enviorment variabiles path for adb and it works from any directory...so I can't really tell why it did not work.

Any idea why waze has no sound?

My waze whitelist entry:

<application>
<property>
<name>com.waze</name>
<package>com.waze</package>
<versionCode>1-999999999</versionCode>
<keyStoreLists>
<keyStore>30820314308202d2a003020102020449806de1300b06072a8648ce3804030500306c310f300d0603550406130649737261656c310f300d0603550408130649737261656c3110300e060355040713075261616e616e61310d300b060355040a130457617a65310d300b060355040b130457617a65311830160603550403130f416c657820416772616e6f766963683020170d3039303132383134333832355a180f32303633313130313134333832355a306c310f300d0603550406130649737261656c310f300d0603550408130649737261656c3110300e060355040713075261616e616e61310d300b060355040a130457617a65310d300b060355040b130457617a65311830160603550403130f416c657820416772616e6f76696368308201b83082012c06072a8648ce3804013082011f02818100fd7f53811d75122952df4a9c2eece4e7f611b7523cef4400c31e3f80b6512669455d402251fb593d8d58fabfc5f5ba30f6cb9b556cd7813b801d346ff26660b76b9950a5a49f9fe8047b1022c24fbba9d7feb7c61bf83b57e7c6a8a6150f04fb83f6d3c51ec3023554135a169132f675f3ae2b61d72aeff22203199dd14801c70215009760508f15230bccb292b982a2eb840bf0581cf502818100f7e1a085d69b3ddecbbcab5c36b857b97994afbbfa3aea82f9574c0b3d0782675159578ebad4594fe67107108180b449167123e84c281613b7cf09328cc8a6e13c167a8b547c8d28e0a3ae1e2bb3a675916ea37f0bfa213562f1fb627a01243bcca4f1bea8519089a883dfe15ae59f06928b665e807b552564014c3bfecf492a0381850002818100ce11f6d402adf4a6aceaf6fe81219ed28299e37ffdca846241e7d21e5bf35c8938ee20ce6ade9907c38f12556d574135ebb36a567c7cb001d75d3952bcca616f4ad232563e407706c95bc47f2ed115052d5389eb84799956e5aa4481be2312d347c620029b2b8903b5553849111da92372cd50e2f9a7c156d5d10f3d83bbaf03300b06072a8648ce3804030500032f00302c021446d982e8f1ea835d06f44934bf60241e5f8be5c402147d372af681491f354f34c4ab1a6f30475e69767e</keyStore>
</keyStoreLists>
</property>
<controlData>
<withAudio>without</withAudio>
<audioStreamType>STREAM_ADA_GUIDE</audioStreamType>
<regulation>null</regulation>
<revert>yes</revert>
</controlData>
</application>
[Android General] TWINTRBO:
Your whitelist entry doesn't match up with the post I told you to look at. There's a lot of good info in this thread and I think you should look a little more carefully at it before you try things. You don't seem to fully understand everything you're doing and that could really mess things up.
[Android General] misu3108:
Is there any way you can repost the link you are talking about...I might have missed it.

Thank you.
[Android General] TWINTRBO:
Post 673 has the whitelist changes. I had the same adb errors and my issue was not moving the right files to the right folder. There is some more hacking info here: http://www.piloteers.org/forums/114...d-auto-now-available-sorta-4.html#post1499265
[Android General] misu3108:
Ok. I've retried and now the script works perfectly. I installed google maps and worked just fine. I reinstalled waze with the script and noticed that waze sound works if no other sound is playing. Can you modify some how the whitelist that the directions sounds work even if you listen to bluetooth music?

Didn't have time to test Google maps..so I don't know yet if sound works.

thanks
[Android General] TWINTRBO:
I only know what I've showed you, I don't understand the programming well enough to change the entries myself.
[Android General] kruuth:
Hey dumb question here, but has anyone gotten sygic or igo working? I sort of got sygic working but when I search it seems to crash back to the stereo screen.
[Android General] Richard S:
Thanks jersacct for starting this thread, I have been able to install several apps some work and some don't because of no Google Play Services installed anyone have any luck with installing Google Play Services or any workarounds for this? Otherwise this is awesome that we can even install any apps.
[Android General] ispofe:
Hi misu3108, to get Waze sound coming on with other modes, such as FM, SIRUS-XM, USB music, etc you need an APP that controls the Head unit's volume categories, specifically the HU phone, which is different from the volume when your phone is connected through Bluetooth.

Since you sorted everything out with your Whitelist.xml and Waze is working alone, follow the suggestion in this post by TimR1. It worked for me.

https://xdaforums.com/showpost.php?p=71805727&postcount=448
[Android General] misu3108:
Waze has sound while driving!!!

This is awesome!! I installed the app Volume Control Widget by Serkun and Waze has sound now. Thank a lot for your tip!

By any chance do you know how to disable the Honda " DRIVER DISTRACTION SETTING to OFF" ?

Thanks again
[Android General] ispofe:
As far as I am aware, no one has figured out how to disable that setting, except for the ones you can remove by editing the Whitelist.xml file. The keyboard is still restricted despite these apps being exempted from the restriction.
[Android General] badabing2003:
I believe installing another keyboard gets around that restriction.
[Android General] misarkis:
Internal Storage Decreasing?

Hi Everyone! I am new to the post. But has anyone encountered the fact of the insufficient storage on a 2016 PILOT EX-L? I used to be able to install waze and more. I used to have more than 250 MB storage. After some plays around and factory resets, it seems the memory after the reset I have now is less than 100. I can barely install anything. Any idea? Could I be using the wrong factory_reset? I found one in this thread as I accidentally did not backup mine. Your help is very appreciated!
[Android General] ispofe:
Hi badabing2003, if you remember where you saw this and it was a permanent fix, please share, as I said someone got around it by installing a different keyboard, but they said it was not permanent, you have to go through a process each time to get it to work.
[Android General] badabing2003:
Sorry, I don't use another keyboard myself, was merely posting what I had read others state.
[Android General] eleciv:
Has anyone made a video or detailed instructions for someone not very familiar with adb??
[Android General] surface13:
Post #404 I believe
[Android General] eleciv:
Thank you
[Android General] inningsdefeat500:
Accord?

---------- Post added at 11:57 PM ---------- Previous post was at 11:57 PM ----------

Anyone tried this on Accord 17
[Android General] trent99:
No, Pilot. Sorry.
[Android General] surface13:
Please see below quote :)
[Android General] vi3tl23n3gad3:
Man that was a lot to read. Does anyone else have Plex working with this hack? I saw one person installing plex, but no proof of it working. They also said they would use and external storage to watch videos. Why not just tether to phone and stream movies?
[Android General] inningsdefeat500:
Hi Guys, this is what happened to me - 2017 Accord Coupe Touring

Any idea?

Microsoft Windows [Version 10.0.16299.248]

(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd hondahack

The system cannot find the path specified.

C:\WINDOWS\system32>d ..

'd' is not recognized as an internal or external command,

operable program or batch file.

C:\WINDOWS\system32>cd ..

C:\Windows>cd ..

C:\>cd hondahack

C:\hondahack>cd oneclick

C:\hondahack\OneClick>OneClickInstall.bat 192.168.43.99 waze.apk

C:\hondahack\OneClick>.\bin\bash.exe .\OneClickInstall.sh 192.168.43.99 waze.apk

Usage: ./OneClickInstall.sh ipaddress My.apk

Example: ./OneClickInstall.sh 192.168.1.100 Waze.apk

Disconnecting other adb devices\n

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Connecting to 192.168.43.99\n

connected to 192.168.43.99:5555

Checking for root...

No root yet, addressing the situation

Attempting to push payloads to /data/local/tmp/rootme\n

1 KB/s (60 bytes in 0.031s)

171 KB/s (10964 bytes in 0.062s)

24 KB/s (835 bytes in 0.033s)

212 KB/s (133472 bytes in 0.613s)

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

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

size 3489

[*] mmap 0x40295000

[*] exploit (patch)

[*] currently 0x40295000=732f2123

[*] madvise = 0x40295000 3489

[*] madvise = 0 1048576

[*] /proc/self/mem -636485632 1048576

[*] exploited 0x40295000=732f2123

Okay - should be all set, initiate factory reset and hope for the best!

Go to Home ->Settings->System->Factory Data Reset (scroll all the way down) and ititiate factory reset, press enter when unit has rebooted & reconnected to WiFi

Okay - checking for successfull root\n

connected to 192.168.43.99:5555

Rooted successfully!

.\OneClickInstall.sh: Got root!!!: command not found

Okay, getting signature of waze.apk

Exception reading waze.apk

java.util.zip.ZipException: error in opening zip file

Signature:

Getting package information

W/zipro (11756): Error opening archive waze.apk: Invalid file

ERROR: dump failed because no AndroidManifest.xml found

Package name:

Retrieving current whitelist...

Preparing replacement whitelist

Okay - all set to replace the whitelist. Below are the final steps:

1. Backup existing whitelist to /data/local/tmp/

2. Upload whitelist to head unit

3. Reboot head unit

4. Install APK normally

Please review the below items carefully - if anything doesn't look right, ABORT NOW!\n

Root status: rooted

APK signature NOT obtained (bad!)

Did not get package name (bad!)

Original whitelist.xml size seems okay
[Android General] misu3108:
I have installed Plex on my 2016 Pilot and it works. Streams from my server. Screen resolution is not that great though... Can't give you more details cause I used it probably one or two times just to see if it works. Not really something I would use in the car.
[Android General] inningsdefeat500:
Anyone help me with my error above? afraid to lemon my stereo, ( its a lease which i will keep probably but still 0

---------- Post added at 03:34 PM ---------- Previous post was at 03:34 PM ----------

Which APK?
[Android General] misu3108:
Probably the latest one from apkmirror.com I think..
[Android General] surface13:
Is your 'Waze.apk" in the C:\hondahack\OneClick\ folder?
[Android General] inningsdefeat500:
Like my screenshot right, the waze.apk in this one is not the one in post https://xdaforums.com/showpost.php?p=71331595&postcount=404

The error came up with the one he post there, I was going to try with this new one but wanted to make sure to ask the community as it says in that thread, coz I dont wanna screw the HU
[Android General] surface13:
Have you updated Java?

java.util.zip.ZipException: error in opening zip file

looks like there is a java error here

W/zipro (11756): Error opening archive waze.apk: Invalid file
ERROR: dump failed because no AndroidManifest.xml found

Not sure what this zip error is, but it is possible it is linked to the java error.

I'd recommend updating java on your computer, then trying again
[Android General] inningsdefeat500:
Doing it now, how long does it take to push, waiting for 4 mins, do I have to allow unknown sources or something first?

EDIT: NVM, it worked - thanx for the Java tip

BTW, I guess sound would be an issue with Waze? has it worked for u

Also as for Youtube etc, how did u make that work, that needs play services - any tip on that
[Android General] surface13:
I'm not sure, depends on your wireless signal and size of the file being transferred . The weaker the signal is, the slower the file transfer
[Android General] inningsdefeat500:
I edited my reply - thanx
[Android General] surface13:
I don't have youtube or any google app that requires play services. There are multiple posts in this thread talking about play services, but nothing that I have found shows a fix for it.

As for Waze sound, there are posts, also in this thread, showing what needs to be changed in the whitelist to get sound working normally. I believe one of them is post 673
[Android General] k_pilot:
unable to root 2018 Pilot HU

I know that in the OP, it states that this root is valid for 2016-2017 Honda Pilots. I just tried performing the OneClickInstall on my 2018 Pilot EX-L and it is not able to connect to my HU at all. I suspect that the ADB is no longer enabled on the newer HUs.
[Android General] ispofe:
Hi inningsdefeat500, there are two things you need to do to make Waze work well and get waze audio to play along with the radio and other modes on the HU.

One is to modify the whitelist.xml file by modifying the control data portion as shown:

<controlData>
<withAudio>without</withAudio>
<audioStreamType>STREAM_ADA_GUIDE</audioStreamType>
<regulation>null</regulation>
<revert>yes</revert>
</controlData>

The second step is to install a VOLUME CONTROL app to raise the volume of the phone in the HU (this is different from the Bluetooth phone volume), then in Waze settings, turn on "PLAY SOUND TO PHONE SPEAKER" .

See this post for the detailed volume app instructions;

https://xdaforums.com/showpost.php?p=71805727&postcount=448
[Android General] TWINTRBO:
I made those changes in post 673 and now I cannot use Waze AND stream BT audio. Not sure why that is but I think I will put it back to stock. I don't remember having an issue before and if I don't want to use AA it's a big problem for me.
[Android General] surface13:
Try changing it to what ispofe said above your post along with the second step
[Android General] TWINTRBO:
Will do. I found out the problem because the phone will not increase it's charge while using AA so I was going to use the hotspot instead.
[Android General] ispofe:
The 673 post had an error in it, it had <withAudio>with</withAudio>. The correct setting is WITHOUT. ( <withAudio>without</withAudio> )

This means Waze is not regarded as an Audio app and as such is not silenced when another audio mode is being used.
[Android General] inningsdefeat500:
Thanx, so edit the whitelist xml but this is on my PC, does that mean I have to reinstall waze.apk after editing the whitelist.xml