yashsingh1/xdaforums huggingface dataset:
[Android General] badabing2003:
Sadly, the answer is yes and no.

Voice navigation works, but after the first time it kicks in, it never goes back to the original Audio (in your case Spotify).

It's far from ideal, also if you power off the car (example stop for a coffee) then when you start the car, it doesn't resume.

There is no integrated root cheat.

The only reason this was possible is because of a known vulerability in the OS of HU (CVE-2016-5195)

As for integrated developer mode, all Android devices have it, and the HU is running Android.

Question to others:

Has anyone managed to install MxPlayer?

Note to everyone: Do not upgrade SuperSU if you're prompted on the HU, it breaks root.
[Android General] DROD14:
apk signature

when I try to install it says apk signature not obtained! can you help thanks
[Android General] ysargon:
Couple things that worked for me. Make sure java is installed. If you don't make sure you reboot your PC once you install it. And another thing that worked for me is changing the file name of what your installing to something more simple. Eg chrome.apk, plex.apk, Waze.apk.

Hopefully that helps you out
[Android General] Vshaulsky:
Same problem

Hi all, ive got a similar situation happening. I fat fingered the screen and now there is no going back fron the black :( were you able to fix this problem at all? If so please please please do share. Thanks in advance.
[Android General] codeage:
Connect your computer with the head unit and execute the following command:

adb reboot recovery

If you can enter the recovery, wipe data should fix the problem.
[Android General] white_tiger471:
failed

I've got the "Success" message & rebooted but there is no SuperSU (v2.78) in app list and I recieve an error on my PC regarding the file size of whitelist if I try install.bat
[Android General] ysargon:
Try it again. It also said success for me but nothing happened. Second or third time it worked. If nothing then redownload the files from op and start again
[Android General] white_tiger471:
Tried more than 5 times, redownloaded , tried again but still doesn't work

Command prompt reads as follows ;

C:\Users\tiger\Documents\root-honda>root.bat

C:\Users\tiger\Documents\root-honda>.\bin\bash.exe .\root.sh
Please connect your computer with the head unit...
1114 KB/s (17880 bytes in 0.015s)
5 KB/s (5544 bytes in 1.000s)
dcow /data/local/tmp/run-as /system/bin/run-as
warning: new file size (5544) and destination file size (9464) differ

[*] size 9464
[*] mmap 0x40210000
[*] currently 0x40210000=464c457f
[*] using ptrace method
[*] madvise = 0x40210000 9464
[*] ptrace 0 5
[*] exploited 2784 0x40210000=464c457f
mkdir failed for /data/local/tmp/rootme/, File exists
0 KB/s (372 bytes in 1.000s)
1298 KB/s (133472 bytes in 0.100s)
1324 KB/s (6488979 bytes in 4.786s)

Wait 10 seconds...
OK
uid run-as 2000
uid 0
no selinux?
root@android:/ # Starting nefariousness
: not found/tmp/rootme/nefarious.sh[3]:
Mounting system r/w
Usage: mount [-r] [-w] [-o options] [-t type] device directory
: not found/tmp/rootme/nefarious.sh[6]:
Copying files
: Read-only file system
: No such file or directoryn/su
: No such file or directoryn/su
: not found/tmp/rootme/nefarious.sh[11]:
: Read-only file system
: not found/tmp/rootme/nefarious.sh[13]:
Mounting system r/o
Success
Usage: mount [-r] [-w] [-o options] [-t type] device directory
1|root@android:/ #

Would appreciate any sort of help :rolleyes:
[Android General] badabing2003:
You're having problems because of the line endings of nefarious.sh

Open nefarious.sh on windows in notepad++

Edit | EOL Conversion | Unix (LF)

Save

Now run root.bat
[Android General] white_tiger471:
finally succeeded, thanks a lot

One more thing, Waze doesn't act like navigation app (doesn't show routes on drivers' screen under the speedometer).

How can I change the behaviour/interaction of an application (Waze, YouTube and Chrome) and also how can I make them bypass e-brake warning by default (Spotify was able to do it on its' own but YouTube and Chrome has failed)?
[Android General] badabing2003:
Happy to hear that you got it working.

I don't know if there is a way to make installed navigation apps to show on the driver screen, I know that works with Android Auto, but am not sure that it would with HU installed apps, maybe someone else can chime in.

As for bypassing regulations, you need to edit the whitelist file and replace the values of regulation entries with null.

Example this

<regulation>speedtrigger</regulation>

becomes this

<regulation>null</regulation>

If you don't know your way around, it might be easier said than done.

You can try editing the install.sh script and adding a line in there that does it.

Something like this:

sed -r -i .bak 's:<regulation>.*</regulation>:<regulation>null</regulation>:g' whitelist-1.0-new.xml

on line 38, right after this

echo "Preparing replacement whitelist"
cat whitelist-1.0.xml | grep -v "</applicationLists" | grep -v "</whiteList" > whitelist-1.0-new.xml

to become this

echo "Preparing replacement whitelist"
cat whitelist-1.0.xml | grep -v "</applicationLists" | grep -v "</whiteList" > whitelist-1.0-new.xml
sed -r -i .bak 's:<regulation>.*</regulation>:<regulation>null</regulation>:g' whitelist-1.0-new.xml

It will create a .bak file of the original, so you can compare whitelist-1.0-new.xml to whitelist-1.0-new.xml.bak to be sure.

DISCLAIMER: I have not tested this directly on the car, so there are no guarantees that it would work, heck it could seriously mess up your whitelist file, so you're on your own if you want to try it. You've been warned.

In addition you might also need to follow this to get video working while driving.

http://www.civicx.com/threads/2016-civic-ex-na-finally-video-while-driving.9983/
[Android General] Maddy1234:
Easy steps

Thanks now understand. I also had this question. Thanks for the help.
[Android General] serwan:
any idea what is the command to install all the apk in the folder with one command? instead of install it 1 by 1
[Android General] jlyr3mixed:
Hi, I'm new here, but have a few questions. My main goal is getting navi on my EXT civic without Android Auto. I've rooted phones following guides before but never a headunit.

1. what else besides navigation can rooting my head unit do?

2. What navigation has everyone been using? Sygic? what are the current bugs with this?

3. Can OP/someone update the guide to be more noob friendly? I'm not accustomed on how to "run scripts".

Sorry if these questions are answered somewhere else. Don't want to read through 36 pages to maybe find an answer.

Thanks in advance!
[Android General] cttw1980:
Hi all,

I followed all the steps and I encountered these errors when type root.bat:

c:\root-honda-master>root.bat

c:\root-honda-master>.\bin\bash.exe .\root.sh

Please connect your computer with the head unit...

cannot stat 'libs/armeabi-v7a/dirtycow': No such file or directory

Unable to chmod /data/local/tmp/dcow: No such file or directory

214 KB/s (5544 bytes in 0.025s)

/system/bin/sh: /data/local/tmp/dcow: not found

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

22 KB/s (356 bytes in 0.015s)

1133 KB/s (133472 bytes in 0.115s)

1313 KB/s (6488979 bytes in 4.822s)

Wait 10 seconds...

OK

Usage: run-as <package-name> <command> [<args>]

Please help me, what is wrong here.

Thank you.
[Android General] codeage:
You should turn off your anti-virus software temporarily.
[Android General] cttw1980:
Hi, I already turn off all anti virus and window defender, I still have the same error. any idea how to solve?
[Android General] codeage:
Because the file has already been deleted by the anti virus software, you should re-download the file again.
[Android General] cttw1980:
successful.... thanks alot..... really thanks alot.....
[Android General] simon_lefisch:
Hey everyone,

I followed the guide and successfully rooted my head unit, however I cannot install any apps. I assume that the whitelist.xml file still needs to be modified to give permissions for the app, correct?
[Android General] codeage:
You should use install.bat or install.sh to install app. The script will modify the whitelist file for you automatically.
[Android General] simon_lefisch:
I actually tried that but it got stuck so I hit crtl+c (like it said to do if you get stuck) then it asked if I wanted to terminate the batch. I did both yes and no but it still failed. Couldn't get the signature. I'll have to post a pic tomorrow when I try it again, but thanks for the info and your work.
[Android General] cttw1980:
I have the same problem also. How to solve? Stuck at the update screen
[Android General] codeage:
Upgrade your Java to the latest version and try again.
[Android General] cttw1980:
one more question. Is it possible to unroot this rooting back to original state? Thanks alot.
[Android General] simon_lefisch:
deleted
[Android General] simon_lefisch:
[MENTION=495426]codeage[/MENTION] never mind. I restarted my Windows VM after installing java and got it working. Thanks for all your hard work! [emoji1374]

One question though, are you not able to use Waze while driving? When I start, my unit shows a message stating "this function is not available while driving".
[Android General] codeage:
SuperSU has an unroot function.
[Android General] codeage:
Only Waze shows this warning? How about other apps?
[Android General] Dan0974:
DELETE
[Android General] simon_lefisch:
Sorry, didn't know you responded. I actually followed another guide on civicx.com that allowed me to get it working while driving.

http://bit.ly/2z2BDuH

I used steps 10-16. Again, thank you for all your work.
[Android General] lamsaitat:
Thanks [MENTION=495426]codeage[/MENTION]

Got it working for my Australian model 2017 Civic Type R, although SuperSU apk installation got the headunit stuck in a black screen boot loop and had to run install.sh like 3 times to get it show up on app list (su was already accessible from adb shell from the first go running root.sh)

My HU is currently stopping bluetooth audio whenever I open the waze app and contrasts to other reporting, if I switch the audio source it will background waze app and opens the music player app (so I can't play music and use the waze app at the same time), wave audio navigation works when I'm in the music app tho. Turns out I was modifying the whitelist.xml manually without paying attention to <audioStreamType>STREAM_ADA_GUIDE</audioStreamType>, now I'm able to have bluetooth music playing whilst using the Waze app, until voice navigation kicks in and switches to app audio, which I've already trained myself to use voiceless navigation over the months listening to podcasts. But why stop there? Having the app audio issue resolved only makes the solution more complete and allow for choices.

Is there anything I can help assist with? Being a iOS and Android app developer I'm happy to contribute to get a solution around this audio source switching issue if I can be of any help.
[Android General] cttw1980:
Has anyone tried install viper4android? Is it true that we need busybox installed also?
[Android General] codeage:
Sorry, it's a typo in the post. I have fixed it.
[Android General] Kurian8:
Bad luck :( patched.
[Android General] levi-ch:
no way to root it?
[Android General] Kurian8:
At this moment, but i'm going to find an try another exploits (for Jelly Bean) e.g. DooMLoRD's Easy Rooting Toolkit
[Android General] levi-ch:
:good:wish you success!
[Android General] vraj1470:
Post for [MENTION=8354132]OldAmber[/MENTION]

So, I tried dirtyc0w and I did get privileged shell.

Here just showing I can access folders I previously couldn't: http://imgur.com/a/NrP7n

Going to play around a bit more

Here's packages.xml
[Android General] codeage:
Did you get a root shell? Could you please post the detailed steps here?
[Android General] vraj1470:
Again posting for [MENTION=8354132]OldAmber[/MENTION]

UPDATE I GOT WAZE INSTALLED!

http://imgur.com/a/mN9d4

Will make a guide this weekend, I have a trip this weekend.

Whitelist was in /data/data
[Android General] codeage:
Good news, can't wait to try this out.
[Android General] crazyxzer0:
This is getting good! :)
[Android General] OldAmber:
Alright I can't post a detailed guide yet it's getting late, and I have a trip this weekend.

Basically you can use the dirtc0w exploit found here, https://github.com/timwr/CVE-2016-5195. You'll get I/O error, but it still works for some reason. After that, you should get to privelaged shell using the run-as command. From here on just edit the whitelist found in /data/data. It's labeled "whitelist-1.0.xml". This can be done the exact same way as the pilot so it was fairly easy. After the whitelist is edited just install the APK from a usb (make sure you use the usb port in the middle of the car, underneath the cups).
[Android General] codeage:
Great, I will try it now.
[Android General] codeage:
I've installed several apps such as amap, baidu map successfully. Thank you very much.

By the way, my car is Honda Avancier, which uses the same head unit as civic x.
[Android General] levi-ch:
Could you tell me how to get root privilege ? I'm confused about it!tks!

---------- Post added at 02:30 PM ---------- Previous post was at 02:26 PM ----------

would you please give me a guide that how to get root privilege?I can't wait to trying
[Android General] poststalker:
So are we rooted?

Sorry guys for the noob question but does this actually allow us root access like to where we can install custom roms (hopefully one that disables the stupid driver responsibility pop-up on startup)? Or is this just backdooring apks onto the unit?

Either way, great work guys! This is awesome! I'm just curious of the capabilities.

Thanks,

Adam
[Android General] OldAmber:
No problem! This method should also work on the CR-V if anyone has that.

We have full root access, but no unlocked bootloader or anything. However you can edit the white list to allow using the apps at any speed.
[Android General] crazyxzer0:
I was able to do all the steps, but when I tried to install waze 4.25.0.2 apk from the USB, it doesn't show up on the USB. Any ideas? [MENTION=8354132]OldAmber[/MENTION], I'm Derbo904 on the civicx.com forums.

I grabbed it from here:

http://www.apkmirror.com/apk/waze/w...s-maps-traffic-4-25-0-2-android-apk-download/
[Android General] codeage:
Try using adb install instead. Personally I am using pm install in the su shell.
[Android General] crazyxzer0:
I tried that, and I got an error during the install. Perhaps cause ADB doesn't have root?

I also tried PM install when I moved the file over to permanent storage on the headunit and it said "SEGMENTATION FAULT"

Hmm...:(

What build version are you on?

I'm on Build Number 1.F191.02
[Android General] codeage:
Enter su shell and use pm install.
[Android General] rosenkrantz:
I have not used Waze a lot .. but i remember there was a setting to change audio to internal speaker .. then it do not switch audio source
[Android General] lamsaitat:
Hey that did the trick! Thanks heaps!
[Android General] picoohm:
Rooted but can't install

Hi. I have successfully rooted with SuperSU installed in the app list. But I have problem installing apk, when I run ./install.sh waze.apk (downloaded from apkmirror), there error shows "Error: Did not get package name". Any idea? Thanks.
[Android General] riccardone1:
Do you know how to change the menu? In this video the menu has been modified with "FRONT CAMERA":

https://youtu.be/tOlJUJNYUUA?t=23
[Android General] codeage:
Please post the full command line output here.
[Android General] kristopherrod:
Hello! I'm having the exact same issue and this is what it shows me. I'm kind of a newbie in all this in case that makes a difference.

MacBook-Pro:~ KristopherRod$ ./install.sh waze.apk

Please connect your computer with the head unit...

OS type: Darwin

Getting signature of waze.apk...

Signature: 30820314308202d2a003020102020449806de1300b06072a8648ce3804030500306c310f300d0603550406130649737261656c310f300d0603550408130649737261656c3110300e060355040713075261616e616e61310d300b060355040a130457617a65310d300b060355040b130457617a65311830160603550403130f416c657820416772616e6f766963683020170d3039303132383134333832355a180f32303633313130313134333832355a306c310f300d0603550406130649737261656c310f300d0603550408130649737261656c3110300e060355040713075261616e616e61310d300b060355040a130457617a65310d300b060355040b130457617a65311830160603550403130f416c657820416772616e6f76696368308201b83082012c06072a8648ce3804013082011f02818100fd7f53811d75122952df4a9c2eece4e7f611b7523cef4400c31e3f80b6512669455d402251fb593d8d58fabfc5f5ba30f6cb9b556cd7813b801d346ff26660b76b9950a5a49f9fe8047b1022c24fbba9d7feb7c61bf83b57e7c6a8a6150f04fb83f6d3c51ec3023554135a169132f675f3ae2b61d72aeff22203199dd14801c70215009760508f15230bccb292b982a2eb840bf0581cf502818100f7e1a085d69b3ddecbbcab5c36b857b97994afbbfa3aea82f9574c0b3d0782675159578ebad4594fe67107108180b449167123e84c281613b7cf09328cc8a6e13c167a8b547c8d28e0a3ae1e2bb3a675916ea37f0bfa213562f1fb627a01243bcca4f1bea8519089a883dfe15ae59f06928b665e807b552564014c3bfecf492a0381850002818100ce11f6d402adf4a6aceaf6fe81219ed28299e37ffdca846241e7d21e5bf35c8938ee20ce6ade9907c38f12556d574135ebb36a567c7cb001d75d3952bcca616f4ad232563e407706c95bc47f2ed115052d5389eb84799956e5aa4481be2312d347c620029b2b8903b5553849111da92372cd50e2f9a7c156d5d10f3d83bbaf03300b06072a8648ce3804030500032f00302c021446d982e8f1ea835d06f44934bf60241e5f8be5c402147d372af681491f354f34c4ab1a6f30475e69767e

Getting package information... (press Control+C if you stuck here)

./install.sh: line 24: aapt: command not found

Package name:

Backuping whitelist...

/data/local/tmp/whitelist-1.0.xml: 1 f...lled. 2.7 MB/s (23204 bytes in 0.008s)

Preparing replacement whitelist

APK signature obtained

Error: Did not get package name!
[Android General] picoohm:
Did not get package name.

Learnt from the past pages, I am able to install some apps now using the manual install way on a Mac too. If I am not wrong, basically the concept is to Pull the whitelist out, edit with respective app info and package id, push back into the tmp folder, then copy from tmp folder into the /data/data/ folder where you need run-as or superuser access. On a Mac, I am not sure why /system/bin/run-as or "run-as" did not work well for me, I used the su instead of run-as, just type su for superuser access to copy the whitelist to /data/data/

When updated whitelist is in place, then adb reboot and try install with USB drive. It seem this is the manual install way.

I am a newbie too, I still have no luck with install.sh script, isn't it meant to find out the file.apk keystroke and automatically edit the whitelist and push it place followed by pm install command within the shell script? Thanks.
[Android General] codeage:
If you use a Mac, you must download and install the android sdk and set the PATH environment correctly first, or you will miss the aapt tool.
[Android General] kristopherrod:
So I downloaded the Android SDK, how will I set the PATH environment correctly?
[Android General] codeage:
Some required tools are only included in the windows version. On a Mac, you should download and install the android SDK first.
[Android General] codeage:
I do not remember the path exactly, but adding the directory where aapt exists should work.
[Android General] kristopherrod:
I'm lost. Nothing I do works, I'm not sure if I'm setting the PATH correctly. Does the aapt come with the Android SDK or with the file you linked at the beginnning?
[Android General] codeage:
aapt stands for Android Asset Packaging Tool. This tool is part of the SDK (and build system) and allows you to view, create, and update Zip-compatible archives (zip, jar, apk). In the SDK, aapt is found in the $ANDROID_HOME/platforms/$SDK/tools/ directory of the SDK (where $SDK is the name of some Android version, like android-2.1).
[Android General] picoohm:
Thank you so much. I managed to install apk now with my Mac. Added aapt to PATH. The appt is located at androidsdk/build-tools/your-android-version/

By the way, I noticed that whenever I force reboot the heat unit, it will reboot and load previously loaded app. Is this normal?
[Android General] simon_lefisch:
Actually you don't need the whole SDK. I was able to download the platform tools and use the standalone adb app on my Mac to push the app.
[Android General] white_tiger471:
So.. My headunit has considerably slowed down. I know its' not a powerful piece of hardware but can anyone suggest tweaks (rooted solutions are also welcome) to make it a bit more responsive and smooth
[Android General] riccardone1:
Hi guys, I can't install the "MyDrive" app.

It brings me "internal error", why?

This is whitelist code:

<application>

<property>

<name>com.tomtom.mydrive.eu</name>

<package>com.tomtom.mydrive.eu</package>

<versionCode>1-999999999</versionCode>

<keyStoreLists>

<keyStore>null</keyStore>

</keyStoreLists>

</property>

<controlData>

<withAudio>without</withAudio>

<audioStreamType>null</audioStreamType>

<regulation>null</regulation>

<revert>no</revert>

</controlData>

</application>

thanks
[Android General] codeage:
Have you tried the install script (.bat or .sh)?
[Android General] codeage:
You can long press the Audio button to restart the DA periodically.
[Android General] badabing2003:
I'm also interested in this, were you able to find out how?
[Android General] riccardone1:
yes i do
[Android General] codeage:
Maybe the whitelist file is messed up. You can restore it to the original version and try again.
[Android General] riccardone1:
other apps can be installed
[Android General] codeage:
Please check if the signature of the apk file is correct. I noticed the value of <keyStore> is null but it shouldn't be.
[Android General] riccardone1:
thank you but there is no signature for this app
[Android General] bornwilder:
Had some free time lately and decided to try out rooting and installing apps on the headunit. A big shootout to all of u guys who shared their trial and errors. Thanks u guys really made life easier for all of us trailing the path behind. [MENTION=495426]codeage[/MENTION] all of this was not possible without u the poineer of this thread.

Got everything working and damn i am so happy i did not waste that extra cash on a dsp. I managed to get viper4android working and dint have to do much just set the eq to flat and the sound is amazing. The only problem now is i need to 're tune my amp as the sound is now too overwhelming! Cheers guys. Looking forward to enable the usb as an external drive for apps.
[Android General] panchox:
I want to install Viper4Android too, mind doing a quick tutorial/guide or some instructions on where to start?

Thank you!
[Android General] bornwilder:
Simple just download stericson busybox and install the app and proceed with installing the viper4android apk.
[Android General] panchox:
At first I didn't notice any change because I was testing with the FM radio, processing was shown as "no" and I didn't know what else to do, then I changed to USB and Bluetooth and it started working.

Any recommended profile or options to select?, thank you!
[Android General] bornwilder:
If u already installed busy box and viper 4 android. U need to open up the busybox app and install the driver in the app. Same goes for viper. Then u will be able to use the sound mod.
[Android General] izzulhafiz:
Successful install apk in my HU.. But how to solve this (picture)
[Android General] emy_77:
Failed to root

Hi,

I got the attached error when trying to root. The HU rebooted after every attempt at root.bat. Anybody knows why it happened?

Thank you

Regards,
[Android General] izzulhafiz:
I got this problem also.. Anybody, plz help..
[Android General] codeage:
The output "Success" means you have successfully rooted the DA. It's normal if the DA automatically reboot afterwards. After the DA rebooted completely, you should be able to connect to it again.
[Android General] emy_77:
Thank you codeage, I did do as u said, however, after reconnecting, and I tried to enter adb shell, it showed the error: device {null} not found. I can't proceed from there.

I suspect it is my laptop & will try other laptop soon, tq