yashsingh1/xdaforums huggingface dataset:
[Android General] minicover:
need help

Someone help me what I did wrong

I try manually transfer root file to my HU or use oneclick script too.

when execute it say cannot open factory_reset.sh

I try pull factory reset from system/etc there is no file or it need permission?

Is it possible there is no original factory_reset.sh in my system/ect?

--------------------------------------------------------------------------------------

D:\2016Root>adb shell

shell@android:/ $ ls system/etc

NOTICE.html.gz

airplay.conf

airplay.conf.org

asound.conf

audio_effects.conf

audio_policy.conf

bluetooth

dbus.conf

dhcpcd

enctune.conf

event-log-tags

fallback_fonts.xml

firmware

gnss

hosts

init.goldfish.sh

install-recovery.sh

kmod.conf

media_codecs.xml

media_profiles.xml

mkshrc

model_frontal.xml

nvaudio_conf.xml

nvcamera.conf

permissions

ppp

recovery-resource.dat

security

system_fonts.xml

vold.fstab

wifi

shell@android:/ $
[Android General] OldAmber:
Pretty sure you're driving a car with the Mitsubishi head unit, look here: https://xdaforums.com/android/general/guide-how-to-enter-developer-mode-2017-t3621582
[Android General] SiNJiN76:
Wait...you can watch a video on the 2017 Accord? How do you do that?
[Android General] ispofe:
Hi SiNJiN76, 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

Also the first page of the thread has the post and information by jersacct, the guy who actually wrote the exploit.
[Android General] TWINTRBO:
I've been following this since the beginning and I'm wondering what is standing in the way of flashing the 17 software to the 16 at this point?
[Android General] BombiTH:
Yes It's Mitsu HU

Could it root by this method or another? [MENTION=8354132]OldAmber[/MENTION]
[Android General] khemraj1999:
I plan on installing YouTube and Netflix this week and this should allow this. I believe you can edit the whitelist to allow it too
[Android General] SiNJiN76:
Oh, okay. Sorry, I had thought that you were able to watch videos on the stock un-rooted unit...and that this hack would just allow to keep on watching while in drive mode.
[Android General] minicover:
Finally I can install app manually.

Anyone install MXplayerpro?

What version you install?

I try to pm install ver 1.8.2 and then meet internal error despite checking keystore...
[Android General] Richiiee:
I believe 2017 Accord might have the same head unit as 2016.

I have a 2017 Accord EX-L no HS and the bluetooth name of my device is 16AHU, which makes me wonder if it's the same.

I didn't back up my factory_reset so i can't say for sure but i did just restore to "factory" using the 2016 Accord factory_reset someone posted and i can confirm that it works perfectly fine.
[Android General] stilger:
Thanks for testing this.. When I looked at the 2017 Pilot vs 2016 Pilot I noticed enough differences to think the Accord may be different as well. I originally added Waze after rooting but with Android Auto having Waze (though buggy) I will probably perform the reset at some time myself. Thanks again for testing it.
[Android General] Richiiee:
Honestly, installing apps in the headunit would require you to tether your phone for a hotspot and on top of that, the HU is EXTREMELY laggy, at least in my opinion it is. Not to mention all the audio conflicting issues. Which is why i found other methods (like velcroing an iPad over the HU - lol).

I believe AA has more options in terms of apps but if you have Apple CarPlay and a jailbroken iPhone, the recently released tweak NGXPlay would allow you to port apps straight onto the headunit, lag free. And it supports both mirroring or using the touch screen itself.
[Android General] techie2000:
what kind of chipset / hardware on Pilot 2016

can someone please tell what kind of chipset (arm/mips/x86/arm64) is used on Honda Pilot Ex 2016
[Android General] techie2000:
Unable to root / install the APK

Hi,

I tried to run the one-click install batch file (not rooted earlier - first ever try) on my Honda Pilot 2016 EX, it does not go through.

Tried this from my Windows 10 Laptop, nothing happened to my Head Unit after running the batch file - it did not connect at all. Please suggest what am i missing / doing wrongly here, thank you!

Attaching the output : .

C:\OneClick>OneClickInstall.bat 192.168.1.4 waze.apk

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

Usage: ./OneClickInstall.sh ipaddress My.apk

Example: ./OneClickInstall.sh 192.168.1.100 Waze.apk

Disconnecting other adb devices\n

.\OneClickInstall.sh: adb: command not found

Connecting to 192.168.1.4\n

.\OneClickInstall.sh: adb: command not found

Checking for root...

.\check_root.sh: adb: command not found

No root yet, addressing the situation

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

.\OneClickInstall.sh: adb: command not found

.\OneClickInstall.sh: adb: command not found

.\OneClickInstall.sh: adb: command not found

.\OneClickInstall.sh: adb: command not found

.\OneClickInstall.sh: adb: command not found

.\OneClickInstall.sh: adb: command not found

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

.\OneClickInstall.sh: adb: command not found

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

.\OneClickInstall.sh: adb: command not found

.\OneClickInstall.sh: adb: command not found

.\check_root.sh: adb: command not found

.\OneClickInstall.sh: Hmm, didn't get root. Aborting further operations.: command not found

Terminate batch job (Y/N)? y

C:\OneClick>
[Android General] Koldern:
I've successfully install waze on my Pilot EX-L 2017, but now I want to modify the whitelist.xml to remove all restriction.

Do I have to run OneClickInstall.bat again or is there a way to only upload the new whitelist?

If it's with the OneClickInstall.bat, with file do I modify? whitelist.xml or whitelist-new.xml?

Thanks
[Android General] ispofe:
In my case I installed ES Explorer using the OneClickInstall.bat then I was able to use it as a root explorer to edit the whitelist.xml file or copy a version that was modified on my PC (via USB flash drive).

There may be other ways such as using ADB, but I do not know the correct command to use.

The file you need to modify is the whitelist.xml on the HU, it is in " /data/system/whitelist.xml ".
[Android General] minicover:
it's arm bro.
[Android General] wpg_moe:
That's exactly the information I was hoping to see in this thread. I'd love to get Google Play Music/Android Auto (stand-alone) working with Google Play Services installed on the HU. I've been trying to get Android Auto working but over Wifi (using Head Unit Reloaded) it's just so laggy. I'm also trying to get OTG USB working with Android Auto and Head Unit Reloaded - that way I won't have to use WiFi.

Waze works fine on the HU but I'm still longing to having Android auto working in the 2016 Pilot...

Has no one gotten Android Auto and Google Play services running on the 2016 Pilot yet? I know someone bought a 2017 HU and swapped the 2016 out. I'd much rather just put in the correct software if it's possible.
[Android General] techie2000:
Thank you!

---------- Post added at 05:25 PM ---------- Previous post was at 05:25 PM ----------

Thank you
[Android General] rhicks65:
Can someone send me the carplay apk too? thanks
[Android General] enyce9:
Mine is from the 2017 Ridgeline
[Android General] minicover:
now I found that when switching use music app between phone and head unit.

the audio app (ex.kodi newpipe spotify) sound is missing.

and need to reboot head unit to bring sound back.
[Android General] got2b240:
techie2000, please see just a few posts back that I provided the results from my vehicle, which matches yours and I also gave the commands to find the results via "adb shell" in case you want to check for yourself.

---------- Post added at 10:27 AM ---------- Previous post was at 10:19 AM ----------

wpg_moe, I have tried a handful of combinations of Google Play services with the Account Manager APK and so far I am only able to get the account added but it is not capable of reading settings for the apps from Google and therefore resets every single time. I would be interested in getting Android Auto to work too, but at this point I think I am going to have to settle with Waze, ShowBox and Chrome with a few shortcuts from the Chrome browser added to the homescreen for GasBuddy.com etc.
[Android General] techie2000:
Remove cache / temp files, or extend the storage option

got2b240, I went through the quotes / your posts and references, this was helpful.

i was missing a step of installing the ADB installer on my Windows Laptop, followed the steps on page 41 by Living Lejuhnd, and been able to root my Honda Pilot HU, got the install completed for Waze and VLC Player, works great.

Thank you got2b240 & Living Lejuhnd

---------- Post added at 08:15 PM ---------- Previous post was at 07:27 PM ----------

Is there a way to clear cache / unwanted temp files from the system, I am trying to install offline maps (City Maps 2Go or Maps.Me) but the download size is 400MB, and system shows only 410MB left. I did see some posts about using the USB stick?

Any suggestions, ideas, thanks in advance!

By the way, this is a great forum, and thread, finally put the Display unit on Honda Pilot 2016 to "some" use :)

---------- Post added at 08:17 PM ---------- Previous post was at 08:15 PM ----------

Is there a way to clear cache / unwanted temp files from the system, I am trying to install offline maps (City Maps 2Go or Maps.Me) but the download size is 400MB, and system shows only 410MB left. I did see some posts about using the USB stick?

Any suggestions, ideas, thanks in advance!

By the way, this is a great forum, and thread, finally put the Display unit on Honda Pilot 2016 to "some" use
[Android General] peng1can:
I stumbled across a tutorial for getting Google Play working on a Fire Stick and I noticed there were some APK's mentioned that nobody had listed on this thread. So, I did some experimenting, and I feel like I'm really close to having it working.

I installed:

- com.google.android.gsf.4.0.4.apk

- com.google.andoird.gsf.login.4.0.3.apk

(the 4.4.4 versions of the above cause crashes)

- com.google.android.gms.11.0.56.apk

- com.android.vending.5.12.10.apk

With this in place, I was able to add my google account, but the play store would not connect - it acted like it was denied connecting. I tried 6.4.20, 7.1.25 of the play store as well with similar results. 8.0.23 crashed without starting.

I installed YouTube 10.49.59 and it logged into my account, however trying to stream a video caused problems.

I do have a suspicion that someone else may have more luck - my wifi has been acting strangely this week and I haven't sorted that out yet. I may have had some unrelated connection issues. In any case, I think someone with more patience might be able to zero in on a working version of the play store - I think it'll be some combination of an older version of gms and the right version of the store. I'm pretty confident that the gsf/login apks are the best versions.

If anyone is feeling adventurous, APKMirror is your friend, and remember that the head unit is running android 4.2.2 and a 160dpi. APKMirror will show compatibility of the various APK's.
[Android General] dynamoracing:
Dantestapp

I was going through all the installed apps under diagnostics menu and noticed that there is dantestapp that has some buttons to switch source. One of them is HDMI. When pressed the headunit switches to HDMI source. See attached pictures. Does anyone know if we can actually get the HDMI source to work? Like mirror screen or play video from phone?
[Android General] techie2000:
Quick Question: Does rooting the Head Unit void the Honda Warranty / Honda Care for the vehicle? During the service, do the workshop / dealer come to know if the HU was rooted - is there any impact? has anyone experienced or heard anything about it?
[Android General] j76xx:
Me too. All I need is to be able to watch my MobileTV via HDMI on the move. Is there anyway to do it?

Currently I can hack to the point that I am able to use HDMI in all gears (i.e. Park or Drive). However, the moment the car move, the HDMI will be "cut-off". It is either the speed signal or GPS signal that detect the movement and cut the HDMI.
[Android General] bighamma:
Has anyone got VLC player running to the 2016 Pilot head unit? Were you able to give access to the USB to store movies?
[Android General] ispofe:
Hi bighamma, I was able to get the VLC player to work on a rooted 2016 Accord.

I believe I had to change the " platform.xml " permission file to get it to work, unfortunately I do not remember the details.

Out of the music APPS I had, only VLC was able to access the USB for music and video.

The version I installed was the 2.0.6 apk.
[Android General] techie2000:
I have installed VLC 2.0.4 last week [http://www.apkmirror.com/apk/videolabs/vlc/vlc-2-0-4-release/vlc-2-0-4-android-apk-download/], on rooted Honda Pilot 2016, and worked fine, was able to access the USB stick contents without any modifications to any other files.

you may also try the 2.0.5 or 2.0.6. Tested the latest 2.1.13, application just closed and gave an error, so went back to 2.0.4.
[Android General] bighamma:
VLC player

I got VLC installed but where do I add the USB drive. Also which one of the USB ports should the USB key be plugged into?
[Android General] techie2000:
You may use the 2 USB ports in the main dashboard, make sure the USB is formatted Properly ( usually Fat32 or Fat16), explore menus on VLC and choose local, you should be able to see the USB drive.
[Android General] lunknowl:
hi can anyone show me how to root on accord 2017? thanks
[Android General] ispofe:
Hi lunknowl, Forum member 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

Also the first page of the thread has the post and information by jersacct, the guy who actually wrote the exploit.
[Android General] lunknowl:
hi, the tutorial is mention pilot exl but i have the accord 2017 so i wonder is it work for accord 2017? i dont want to brick the car
[Android General] ispofe:
I used it successfully on my 2016 accord and others have used it successfully on the 2017 accord as well.

Read through the posts and you will find 2017 accord owner's comments.
[Android General] lunknowl:
is this root will remove the car in motion restriction?
[Android General] lunknowl:
hi what sygic version are you using on accord 2017?
[Android General] gprim3:
Does anyone have the original factory reset shell script? I'd like to do an actual factory reset now but I've got the fake one there right now. For the 2017 pilot btw
[Android General] ispofe:
Yes, this root will remove the car in motion restriction.

You do this by removing the restrictions for each APP in the whitelist.xml.
[Android General] lunknowl:
thanks i got it to work but i have a final question, how to we use sygic on external usb because it only 1.6gb but sygic like 6gb for usa
[Android General] techie2000:
Hello got2b240, I have the control data on whitelist.xml similar to your above post, but when i use Waze 3.9.9, audio from the USB or my phone Bluetooth do not play, and vice-versa.

Can you please suggest if there is any other software that needs to be installed on Head Unit or any other tweaking that needs to be done, thanks in advance.
[Android General] dingnecros:
Has anyone tried this hack on a 2016 Accord? I did some basic port scanning and saw that the default adb port is open and I am able to connect to it. But I have unreliable wifi signal at the point where I park my car (apartment dweller here) so I am a bit afraid to run the scripts and get disconnected in the middle leaving me with a potentially dead infotainment system. I think accord also uses same koelsch board.
[Android General] haxy:
I'm also wondering if this has been applied to the 2016 Civic?
[Android General] jersacct:
I would say don't do anything you aren't comfortable with, but this exploit really is pretty safe in terms of not bricking the head unit. Please also realize that we haven't been able to get to the juicy part yet of installing other apps, so it's really only useful if you want to poke around in your system.

If you want to attempt it, I would recommend running each command in the .bat file by hand. It's just a series of copy operations, saving files to a user-writable location at /data/local/tmp. Then some "chmod" operations are performed to make those files executable, then the dirtycow binary is run to perform the actual exploit.

When the exploit is run, it modifies the factory reset script, but strictly in memory - it's not actually making any modifications on the device, so a reboot (or power cycle) reverts the change made by the exploit, thus rendering things fairly safe.

The more risky part is after the exploit is run and the (now modified) factory reset is performed. At this stage, the already uploaded scrips are executed that mount /system writable, then copy the "su" binary over. This is the most "vulnerable" stage of the process, as /system is writable, but still fairly low risk. There aren't any system APKs getting modified, no system files being overwritten, only a new file being copied to an existing location.

I think at the end of the day, the worst that could happen is that the factory reset process happens as normal and you lose all your settings. If for some reason the factory reset process is fundamentally different, no permanent changes will be made to the system and a power cycle will revert the factory reset process to the original version.
[Android General] purespin:
Here are my some quick adventures after my last one (http://xdaforums.com/showpost.php?p=69412179&postcount=29):

- whitelist service. I run the following command to get that:

<CODE>

$ adb shell service list | grep whitelist

30	whitelist: [com.clarion.whitelist.IWhiteListManagerService]

</CODE>

BTW, there are 90 system services running.

- But when I tried to stop the whitelist service, I always got the errors:

<CODE>

$ adb shell am force-stop whitelist

W/ActivityManager( 2158): Invalid packageName: whitelist

$ adb shell am force-stop com.clarion.whitelist.IWhiteListManagerService

W/ActivityManager( 2158): Invalid packageName: com.clarion.whitelist.IWhiteListManagerService

$ adb shell am force-stop WhiteListManagerService

W/ActivityManager( 2158): Invalid packageName: WhiteListManagerService

</CODE>

That's all I have for tonight. Let me know if you have any idea or want me to try anything :)
[Android General] jersacct:
I anticipated it happening - it appears I've bootlooped my device.

I attempted to modify the PackageManager.apk to always return a valid check in the function 'isAllowedInstall'. Namely, I deodexed the APK, baksmali'd it, and changed one line:

:cond_52
[U]move v2, v2[/U]
.line 791
goto :goto_40
.end method

This was an attempt to always return a valid check, though smali is tough to follow, and doesn't marry up terribly nicely with decompiled Java equivalents, so I may have made a mistake here.

Then I smali'd it, didn't sign it, backed up the device copy and replaced it with my modified copy. It may have also been a mistake not to sign the APK with anything (even a testing or self-generated key).

I ran "dexopt_wrapper" on the new APK, and attempting installing eu.chainfire.supersu from a USB flash drive and the 'Install APK' application.

The application did not open another screen as it usually does when picking an APK from the flash drive contents. I had numerous APKs on the drive, but selecting any of them produced no results.

I then rebooted, anticipating that the PackageInstaller.apk changes needed it, and observed my head unit showing the Honda splash screen, then a blank but backlit screen for a few moments, then rebooting and starting over.

Now it's time for my first trip to a dealership for a warranty repair.......

Of course, I'll attempt to get the service guy to provide a copy of a USB flash drive that resets the device.....wish me luck pretty please.
[Android General] purespin:
That's really bad news! Good luck, buddy!
[Android General] TWINTRBO:
Whoops, maybe they can order you one from a Ridgeline instead :)
[Android General] ericlus15:
Thats awful news, good luck at the dealer.
[Android General] haxy:
Here is how far I got on the Honda Civic 2016 Touring. Aka not very. When I tried to connect to the ip address with the default port 5555, it was returning the unable to connect error. So I did a port scan on my car and found only one port open (53739). I used this port instead and got the message "connected to...". When I tried to run adb shell, it returned "error: device offline". I tried running adb kill-server, adb start-server, adb devices, adb get-serialno but with no success. Thoughts? It seems to be connected correctly but isn't responding.
[Android General] anekin007:
Adb is off and developer is turn off on the civic. Developer option is locked out. Pilot, ridgeline, and accords are running units made by clarion. The civic Is using a Mitsubishi unit. Hardware and software on the civic is more updated than the others.
[Android General] jersacct:
That's not good news. Installing other apps is predicated on getting access to the HU at a fairly low level. Sounds like if Civic is using different HW/SW, it'll be a tougher time getting into the system. We're very fortunate some models have ADB enabled by default - for those that don't, much more work will have to be done, and will likely depend on getting access to factory bootloader mechanisms.
[Android General] haxy:
Oh no!! Alright... thanks for the info!
[Android General] anekin007:
anyone get files or folders from the /data/data? even with root I'm still getting permission denied when I tried to pull stuff from the folder. Before root /data/data couldnt be access but with root its accessible but not able to copy anything.
[Android General] purespin:
I can copy files from /data/data folder with root access.

255|shell@android:/data/data $ su
root@android:/data/data # ll com.android.bluetooth/databases
-rw-rw---- bluetooth bluetooth 20480 2013-12-31 17:00 btopp.db
-rw------- bluetooth bluetooth 8720 2013-12-31 17:00 btopp.db-journal
root@android:/data/data # cp com.android.bluetooth/databases/btopp.db /tmp/
root@android:/data/data # ll /tmp/btopp.db
-rw-rw---- root root 20480 2016-11-08 10:01 btopp.db
[Android General] anekin007:
I must have put something in wrong. Coding is still new to me. Has anyone found the backup data? I'm trying to figure out if it's possible to add from the Ridgeline data or 2017 pilot and modify the backup data so when you do a restore it installs carplay/android auto. Possible?
[Android General] jersacct:
Not sure a pure Android Auto experience will be possible on 2016 Pilots. It requires Android 5.0+, which we may not get unless Honda provides an update.

We may get close or something similar if we can install third party apps, but that hasn't been accomplished yet.

I'm still out of commission until Friday (at the earliest) when I have the dealership attempt repair of my HU. Hopefully they don't dig too deep and just reflash the thing :). Still hoping I can sweet talk the tech folks to get a copy of a USB flash drive if that's what they ultimately end up using to reflash.
[Android General] enyce9:
I own the new Ridgeline. It's running 4.2.2 not 5.0
[Android General] anekin007:
The android 5.0+ is required on the smartphone side. We also have a 2016 civic and is also running 4.2.2. The version on the car shows its CarPlay 1.0 and android auto is also 1.0.
[Android General] enyce9:
Sorry I got confused... Also want to say thanks to those working on getting apks installation working
[Android General] dingnecros:
Any luck at the dealership trying to copy over the USB? Also did they fix your HU as warranty repair?