yashsingh1/xdaforums huggingface dataset:
[Android General] ispofe:
Hi , Living Lejuhnd, I think it will be useful to add to your instruction for users to backup their " factory_reset.sh " file before running the oneclick script, since they may need it in future.

And to prevent confusing it with the Mod files, it SHOULD BE SAVED TO A DIFFERENT DIRECTORY from the ONECLICK directory.

The instruction should look like this :

|

|

" In this case, the vehicle and the computer are on the same subnet. They both start with 192.168.1. We're good to go, and now over 90% done! From here, it's mostly crossing fingers and hoping things go according to plan.

Head back to the command prompt and bring yourself to the C:\hondahack\OneClick directory. To do this, type

cd c:\hondahack\OneClick

Below between the asterix is my suggested update after getting to the OneClick directory;

*********************************************************************************************

Now you need to save/backup the Head unit's factory_reset.sh file in case you need it in future.

Type these commands:

adb connect 192.168.1.###

where ### is from the IP address assigned to your HU

If successful you should see the output like this :

connected to 192.168.1.###:5555

Next pull/copy the factory_reset.sh file to your computer into the C:\hondahack directory. (DO NOT COPY IT TO THE ONECLICK DIRECTORY!!)

Type the command:

adb pull /system/etc/factory_reset.sh C:\hondahack

Output should look like this:

[100%] /system/etc/factory_reset.sh

You should see the file in your computer's C:\hondahack folder, you can rename it to Original_factory_reset.sh for easy identification in future if you want.

**********************************************************************************************

|

Now, you'll be executing the script. This specific script is broken down into three parts. Batch File Name > IP Address to pass to script > APK to pass to script. For additional applications, all you'll need to do is download the proper APK file, locate it to your C:\hondahack\OneClick directory. In our case, we're going to type

OneClickInstall.bat 192.168.1.200 waze.apk

"

|

| follow the rest of the instructions.

Thank you.
[Android General] hussainx:
Anyone in LA know how to do this?

Hi all, I have a 2017 Honda Pilot and was really hoping to get Waze on it among other apps. Unfortunately I am not very comfortable with Androids/rooting and code in general. Is there anyone in the Los Angeles area who has done this successfully and willing to take a shot on my unit? I will gladly pay you for your time and effort... :D

Anyways, I know its a long shot but worth asking I guess. Thanks.
[Android General] tprevett:
Here is the Factory_reset from my 2016 Accord EX-L V6 Non Nav
[Android General] ispofe:
Tprevett, Thanks for the file.

For those wondering, the 2016 Accord file is different from the 2016 Pilot file that I got from TimR1.

The Accord file has more commands / details in it.
[Android General] tprevett:
i'm having an issue.. whenever I try to install an app I get:

Getting package information

Package name: com.estrongs.android.pop

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 obtained

Have package name: com.estrongs.android.pop

Original whitelist.xml size seems okay

Package name is present in new whitelist

Would you like to proceed? (y/n):

y

Backing up whitelist to /data/local/tmp/whitelist-06-05-2017--13-04-11.xml

Uploading whitelist

360 KB/s (36283 bytes in 0.098s)

Rebooting head unit

Press enter when head unit has rebooted and is connected to WiFi

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

connected to 192.168.1.105:5555

362 KB/s (11724728 bytes in 31.585s)

pkg: /data/local/tmp/es.apk

Failure [INSTALL_FAILED_INTERNAL_ERROR]

All done - hope you enjoy!

C:\HondaHack\OneClick>

please help?
[Android General] ispofe:
I had same error once or twice.

Since it looks like what failed is the apk installation, the keystore and whitelist looks like they were already updated.

Save the ES.apk to the root directory of a USB drive, insert it into one of the USB slots in the car.

Then from the head unit go to USB install and install es.apk.

In my case the install button became active after scrolling down through the permissions and the installation was successful.

I hope this helps.
[Android General] tprevett:
Tried that. Button never ungreys. And install tool gets an error. :( - "Package installer isn't responding" it did this even before i rooted..

Is there any way to reset this to factory and start over?
[Android General] tprevett:
Got everything working.. had to replace the factory_reset with the original, and then reset to factory. once this was done, I got a successful install.
[Android General] ispofe:
That is good news and I am glad it worked for you.

I am planning to restore mine to factory also, did you have to remove any of the files that was modified or installed in the rootme folder (nefarious, SU etc) prior to factory reseting it, or it went well with them in place?.
[Android General] tprevett:
I didn't remove anything.. I just copied my original factory_reset.sh to the proper folder, and performed a factory reset. It then went through the process. I did notice that after I did that it replaced the whitelist.xml with the original unmodified one. The next time I ran the oneclick script, I still had root.
[Android General] ispofe:
Thanks.
[Android General] domenictroilo:
factory_reset.sh

Can we get a copy of the original factory_reset.sh added to the GIT, that way we have a proper copy of it. I want to reset my own and thought that would be the best place to store it.
[Android General] bobrobin:
Apple Carplay and Restrictions

Hi, I have a 16 Pilot Touring w/nav. Can I use this process to add Apple Carplay to my HU and also remove all the restrictions? My wife always operates the Nav from the passenger side and it would be great if she could do it while i am driving. Would love to have Carplay too. Thanks for the info and also all the effort everyone has put into this project.
[Android General] peng1can:
I know this is a little bit off topic, but not sure where else to find a group of folks who would know about these things. Simple question - is anyone successfully using a Pixel (or any other phone running Android 7.1) with the 2016 Pilot Touring Head Unit? I can pair any other phone or tablet to the system and it works great, but the pixel does a variety of terrible things such as acting like someone is mashing the play/pause button or letting the head unit controls work, but streaming the audio through the phone. It's a different set of symptoms every time I turn on the car. Interestingly, I had an Honor 5x that I could easily ROM. On a 6.0 ROM it worked fine. On a 7.1 ROM it has the same problems as the Pixel. I also have a tablet running 7.0 which works fine. So, it seems to be 7.1 specifically, which I know isn't on many devices yet. Still, I'm just really surprised that I can reproduce it so easily on multiple devices, but there's not a peep of it anywhere online.

I would consider doing the 2017 HU upgrade to AA, but if the audio still goes through Bluetooth, I think it will still cause me problems. Thanks
[Android General] wpg_moe:
I have a 2016 Honda Pilot Touring (Canadian) and a Pixel XL. I had issues with the BT connection when the device was running 7.1.x but it looks like Google has resolved the issues with 7.1.2.

I'm currently running 7.1.2 (N2G470 build) and connect to the Pilot head unit daily and have no issues streaming music or taking making phone calls.

Hope this helps,

Moe
[Android General] peng1can:
I'm fully updated to that build as well. Really stumped why this is happening. I suppose it's possible it's another app or device causing the issue. Out of curiosity, do you use the Pandora app on the head unit? That's the most consistent thing - every time I use that, the audio plays out of the handset instead of the pilot sound system.
[Android General] wpg_moe:
No, I don't use Pandora. I normally run Android Auto on my phone while listening to Google Play Music over Bluetooth.

My headunit is either in Audio mode or running Waze.

Could it have something to do with your Bluetooth settings on the HandsFreeLink (screenshot attached)?
[Android General] domenictroilo:
more storage

I have been playing with using a secondary part of the USB device for extra storage. It is a 32 GB stick with 5GB allocated to the second partition formated as ext4. When it all starts up I end up with the following:

Filesystem Size Used Free Blksize

/ 864M 439M 425M 4096

/ 864M 439M 425M 4096

/dev 455M 48K 455M 4096

/dev 455M 48K 455M 4096

/cache 455M 0K 455M 4096

/config 455M 0K 455M 4096

/mnt 455M 0K 455M 4096

/storage 455M 0K 455M 4096

/mnt/secure 455M 0K 455M 4096

/mnt/asec 455M 0K 455M 4096

/mnt/obb 455M 0K 455M 4096

/system 864M 439M 425M 4096

/tmp_database 64M 192K 63M 4096

/tmp 455M 2M 453M 4096

/mnt/shell/emulated 741M 320M 420M 4096

/data 741M 320M 420M 4096

/var/log 243M 16M 226M 4096

/vrdata 1G 376M 781M 4096

/mnt/shell/emulated/0 5G 8M 5G 1024

/mnt/usb3 22G 6G 16G 16384

I have also mounted the second partition with adb shell to

/data/sdext2 5G 8M 5G 1024

I can write to /data/sdext2 but can not write to /mnt/shell/emulated/0 as it is mounted as read only filesystem.

I have tried to install universal init.d to automaticaly do the mount for /data/sdext2 but it is not able to setup the automatic init, it just does not work.

My plan is to use fmount to re-map the maps for navmii to /data/sdext2 but I need to have it automount first.

Any thoughts out there? I really want the maps to be local....
[Android General] Rashidramzan:
Cool
[Android General] dammy1102:
If you have a jailbroken device, install NGXplay from Cydia and all your phone apps can be mirrored or displayed externally. No need for root access.
[Android General] surface13:
Hi all, anyone know where the factory_reset.sh file is backed up to? Or is anyone able to give me a link to a 2016 Accord Touring factory_reset.sh please?

Thanks!
[Android General] TimR1:
Unless you manually copied the factory_reset.sh file before running the OneClickInstall.bat then it was not backed up. Hopefully someone with an Accord Touring can send you a copy though.

-Tim
[Android General] dhendrix05:
Error

I have the same issue. Running windows 10 and I have Java SE runtime installed. Anyone have any clues what I'm missing?

Thanks.
[Android General] stilger:
Attached... I have been collecting them from folks here while waiting to find a 2017 Accord factory rest.
[Android General] surface13:
Thank you kind sir!

Just out of curiosity, this is for 2016 Accord Touring?
[Android General] techie2000:
Hi

I am looking to see if there are any video players for Honda Pilot 2016, to watch videos / movies on the Head unit.

Please let me know

thanks
[Android General] Benzao:
Is this procedure works on Civic 10th, that has a Head Unit on Android 4.2.2? Thanks
[Android General] tonyyang84:
anyone have original 2016 pilot exl non Nav factory_reset.sh file ?
[Android General] TimR1:
Here you go.
[Android General] tonyyang84:
thanks! thanks! thanks!:good:
[Android General] hyperfire21:
I was thinking of buying a 2016 pilot. Has there been any progress in getting Carplay working on it?
[Android General] trent99:
After about a month of use, this is so great. I love using Waze through the car. And Spotify is really nice to have too. I did the process on my dad's 16 Touring and my brother in law's 17 Touring as well. Both seemed to work fine. Thanks to all for your hard work on this!
[Android General] mali1621:
Tried Did not Work! Thanks in Advance

Hello,

First, thank you for the noob guide! Much Appreciated

I tried following the steps and got this message

I have a 2017 Honda Accord Ex, 6spd.

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Mohammed Ali>cd c:\hondahack\OneClick

c:\hondahack\OneClick>OneClickInstall.bat 172.20.10.13 waze.apk

c:\hondahack\OneClick>.\bin\bash.exe .\OneClickInstall.sh 172.20.10.13 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 *

disconnected everything

Connecting to 172.20.10.13\n

connected to 172.20.10.13:5555

Checking for root...

No root yet, addressing the situation

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

[100%] /data/local/tmp/rootme/factory_reset_mod.sh

[100%] /data/local/tmp/rootme/dirtycow

[100%] /data/local/tmp/rootme/nefarious.sh

[100%] /data/local/tmp/rootme/su

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 0x401fa000

[*] exploit (patch)

[*] currently 0x401fa000=732f2123

[*] madvise = 0x401fa000 3489

[*] madvise = 0 1048576

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

[*] exploited 0x401fa000=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

disconnected everything

connected to 172.20.10.13:5555

.\OneClickInstall.sh: Hmm, didn't get root. Aborting further operations.: comman

d not found

Thank you again for the help!
[Android General] salman499:
I was able to fix this by downloading the oneclick install file from this post rather than using the one from github. Hope this helps.
[Android General] brownsta:
Can't get apk signature

Hi! Really appreciate your help!! Everything was going smooth until I couldn't get the apk signature. Do you know how I could fix this? Thanks!!
[Android General] ammarbukhari:
What will be the benefit of the reset files. What will it do to the system. Can any one tell me.
[Android General] SturdyErde:
I finally went to the Honda dealer (busy month) and they did a software update for me. There were no features or enhancements, just big fixes, apparently. I asked for a copy of the flash drive or the file, but was told that Honda will not allow them to give it out.

---------- Post added at 08:37 PM ---------- Previous post was at 08:34 PM ----------

Oh, another piece of info about how Honda will be doing this in the future:

The Honda service rep that I spoke with said that Honda corporate came to their dealership and installed a completely separate WiFi network specifically for future software updates. When you drive your 2018 Odyssey into the service area, the car will automatically connect and install any available software updates! Cool, creepy, convenient, and everything all at once!
[Android General] TimR1:
The OneClickInstall.bat overwrites the original reset file in order to enable installation of new apps. Replacing the reset file will allow you to return the head unit to a more stock configuration. I haven't actually put the original reset file back on, but if I remember correctly others that have done it said it removed the new apps.
[Android General] codeage:
Finally somebody found a way to enter the developer mode: https://xdaforums.com/android/general/guide-how-to-enter-developer-mode-2017-t3621582﻿
[Android General] lunknowl:
hi , i just want to makesure that i will not messup my car. is this work on the 2017 honda accord exl? if it does, can you show me how to do it? i just want a mirror link for my car , thanks
[Android General] yuprules:
Whoa! One step closer to installing offline GPS apps my Honda 2017 CRV! Awesome!
[Android General] khemraj1999:
Wow! this is the greatest forum i've ever found!

I will be attempting this over the weekend on a 2017 Honda Accord EX w/ HS.

I know some people may be looking for a factory image of this car? Prior to playing around and modifying it, i can take the factory image for you. Please tell me how and i'll do it and upload it here.

Thanks!
[Android General] TimR1:
I don't believe that anyone has figured out how to get a complete factory image for any Hondas that this works on.

However, several people are looking for copies of the original factory_reset.sh files for various models. This file gets overwritten when you run the OneClickInstall batch file, so you need to copy it prior to that. If you are following Living Lejuhnd's guide in post #404 (which I'd recommend) then you can pull a copy of the reset file by executing the following commands right before you run OneClickInstall.bat:

adb connect 192.168.1.200

adb pull /system/etc/factory_reset.sh

This will create a copy of the factory_reset.sh file from your Honda and put it on your PC in the directory that you are in the command prompt (C:\hondahack\OneClick\).

-Tim
[Android General] khemraj1999:
Thanks for the reply Tim!

So basically this factory_reset.sh file will restore the headunit if it gets bricked?
[Android General] TimR1:
If it is truly bricked I don't think you'll be able to get back in to replace the factory_reset.sh file. Obviously someone may figure out a path in the future though or there may be other situations where it would be useful to have it.

To be honest, I haven't had a need for my original reset file. I was just leery of overwriting it without keeping a backup copy.

-Tim
[Android General] khemraj1999:
I will post mine just in case someone needs it. All i want is to bypass the function to stop video when driving so my passenger can watch a show while i drive. I'll most likely attempt kodi and netflix only.
[Android General] ir1shboy:
Wow!

I just found this thread and am pumped! I just purchased a 2017 Honda Pilot EX and was playing with the browser then stumped onto this. Ian it possible to root system And watch videos while driving???
[Android General] ispofe:
Yes, with this root, you can watch videos while the car is moving by removing the restrictions for the video APP in the whitelist.xml.
[Android General] ir1shboy:
Is there a video of some sort or a walk through that will enable installing a video program and also how to modify xml whitelist file?
[Android General] trent99:
Has anyone changed the keyboard or launcher to allow for typing while in motion or opening the app drawer? Those are my two major annoyances when driving (or really when riding as a passenger / navigator).
[Android General] ispofe:
Hi ir1shboy, Living Lejuhnd posted a detailed and comprehensive guide on the whole process.

It is on page 41 of this thread or this link: https://xdaforums.com/showpost.php?p=71331595&postcount=404

For the video, you have to install the APK of the video APP you want to use and remove the Honda restrictions.

You may want to read from the earlier part of this thread to get more info on the whitelist.xml options and APKs that folks have successfully installed.

To remove restrictions the controlData text of your whitelist.xml for the video APP should be like this

<controlData>
<withAudio>with</withAudio>
<audioStreamType>null</audioStreamType>
<regulation>null</regulation>
<revert>no</revert>
</controlData>

I hope this is helpful.
[Android General] TWINTRBO:
Buried somewhere in the thread is your answer. You need to change the speed limits in the whitelist to "null". Sorry I can't locate it for you exactly.
[Android General] ir1shboy:
Thank you for response. I am an IT prof, however I mainly work with hardware and am a bit intimidated by the idea of screwing up my car. I have gone through quite a bit of this thread also and am getting ready to take a plunge into this. Thanks again!!
[Android General] khemraj1999:
Update! I was able to get Waze successfully over the weekend. I followed the detailed instructions along with screenshot posted in this thread. The waze.apk in that thread did not work...so i found another source online that did the trick.

I tried installing netflix then kodi but it kept failing on the last step. I believe [installation_error] or [failed_install]. What versions of these program did you guys install?
[Android General] khemraj1999:
i am able to use waze when in motion, however, if i navigate out of app drawer or app for example going into carplay..i'm locked out of going back in app drawer unless i am driving less than 5mph. Is there a way to remove that?

Edit-----

Work around is to move app out of app drawer and into regular screen. Tap and hold down on app for a few secs then drag into app screen
[Android General] vraj1470:
Update: I installed version 8.4.5.1092 of Spotify and version 4.25.0.2 of Waze on my HU. When i launched Spotify and went to the settings, i enables connect with Waze. After that, I went to Waze to see if it works and there is no Spotify integrated into Waze. I looked online and people are saying to remove adblocker and lucky patcher, however those 2 things are not on my HU. Any suggestions on how to fix it?

Has anyone tried running the latest version of Spotify and Waze? If you have both latest version, you can connect waze and Spotify together to make both apps work hand in hand.

https://support.spotify.com/us/listen_everywhere/in_the_car/waze/
[Android General] OldAmber:
Just wondering, I was able to establish an ADB connection though the front usb port with my 2016 Civic, could I use this same root method on it or is it specific to the other headunit?

Edit: So I went ahead and tried to root it, but ran into an issue really quickly. On the Civic head unit, there is no file called "factory_reset.sh" probably because it was made by another manufacturer. I looked through as many directories as I could using the built in browser but couldn't find that file anywhere. Anyone have any idea on what to do next?
[Android General] sahilarun:
APK install help in chicago

Hi, i have 2016 Honda pilot and if anyone around Chicago tried to install APK on the pilot, i would happy to meet and get the help and if needed i will pay for the help
[Android General] kotell:
2018 Honda Odyssey

i tried this on a 2018 Honda odyssey and this is what i got - i'm not a developer so i have no clue what this means, can you help?

Connecting to 192.168.43.1\n

connected to 192.168.43.1:5555

Checking for root...

No root yet, addressing the situation

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

mkdir failed for /data/local/tmp/rootme, File exists

4 KB/s (60 bytes in 0.014s)

210 KB/s (10964 bytes in 0.050s)

59 KB/s (835 bytes in 0.013s)

1022 KB/s (133472 bytes in 0.127s)

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

error: only position independent executables (PIE) are supported.

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.1:5555

.\OneClickInstall.sh: Hmm, didn't get root. Aborting further operations.: command not found
[Android General] vraj1470:
Check this out https://xdaforums.com/showpost.php?p=71331595&postcount=404
[Android General] vraj1470:
Edit: Just realized I posted in the wrong thread.
[Android General] rosenkrantz:
Hi ... im newbee here so sorry .. but how to make "a machine capable of connecting to your Pilot over ADB" ? I get connection refused when i try

Palle