yashsingh1/xdaforums huggingface dataset:
[Connected Car] SergioKS:
1. Display is off. When you start the car - the system is already loaded. No 30 second system boot.

2. "Exit" - it's press key Exit on the wheel? I do it every day. Does not help. Installed to internal memory. Do you know some script that reads configuration and backup it, and then recovers?

Опять это вы - мама!(с) Еврейский анекдот :)
[Connected Car] SergioKS:
Tried your advice - do not help. Resets. Any other ideas?
[Connected Car] icarusholding:
tomtom versus sound

guys,

Today I stumbled onto this topic, read all 114 pages of it and rooted the SCT. Works flawless, thanks a lot!!! The only thing I really want is the tasker and tomtom live to replace the @#$%^ Igo and the useless coyote (at least in holland)

Problem with tomtotm though is that after every spoken direction the radio mutes until you go back to the radio when it picks up again. I cant find a solution in this tread other then just prevent spoken directions. As Igo can do this, you would expect another sound source also to do this. Any idea's?

thanks
[Connected Car] RichieB:
This has been discussed many times. Parrot has specific requirements for audio handling. Google Play store apps do not comply, while Parrot AppStore apps do. See post #528 and onwards.
[Connected Car] icarusholding:
yes I know, just hoped that somebody would had a workaround. Kinda hoping that somebody is still chewing on this :)
[Connected Car] icarusholding:
Just a thought: could it be possible to make an app that relays/converts the audio in a way that the parrot bit can handle it like it does parrot apps? If that ends up in google play I wouldnt mind paying for it :)
[Connected Car] RichieB:
I have been thinking about the same thing. If anyone knows exactly how Parrot Store apps behave differently with respect to audio than their Google Play store counter parts, I might look into writing something like this.
[Connected Car] santu001:
OK, a little video update.

In this video I wil show a thing or two I incorporated in my latest lay-out, Also lots of what you all shared or wrote or helped to get here. Just so all of you guys, who are new here, can get a general idea what we are all discussing and what it can look like. First of all, my main reason for still fiddling with the lay-out is boot up time and overall handling. I've been using Beautiful Widgets for my main weather widget for a while, but it toke very long to finally get the widget up and running while booting and most of the time it didn't give my exact location. I also got a lot of FC when adding other locations. Even the recent update didn't improve much in my opinion. You'll soon notice these apps aren't meant to boot up every single time, especially BW. So I changed back to Android Weather Widget. It's very fast on boot up and is way more precise in pinpointing my location. Very happy with it now...

It also covers the ADW custom button option for ACUhome and the ACUHome weather app. A button to hide de status bar on top (You can easily make those in ADW by choosing custom shortcuts and then activities). You will also see some of the great apk's from RitchieB and Donald, concerning USB audio selection. Very happy with the custom button to directly select music from USB, without having to go through many options. As you can see i'm still using Player Pro as an audio widget. I do use this most of the time. Mainly because I love it and I'm using it on my HTC One Max. It has a lot of features like: gapless play, cover art manager, Playlist shortcuts, Player Pro DSP pack with a lot of customizing and audio setting features. If I need to use heavy apps that use a lot of resources, I simply switch to the stock USB player - which is now within a button touch. Still, with most apps I hardly get any hipups, but for Tom Tom it's not going to work, although I do believe it is one of the more stabile players, but mainly because I like it and was missing a widget like this on the stock SCT. The stock widget is actually a - big - joke and I don't even get most cover art anymore. Also nice is Google street view and the custom Google Nav shortcuts which are preset for particular addresses.

I'm probably forgetting some apps, but the vid will show what I missed and I probably missed some features while filming. Hope I didn't shake as much. Please keep in mind that I'm holding a phone in one hand and try to hit some buttons while looking through the camera, which is easier said then done. So that's the main reason I had to push some buttons a couple of times. ;)

Most apk's I used I backed up on drop box. So if anyone is missing that hard to find app which is not found on Google Play or not compatible, just let me now and I'll share the link.

[YOUTUBE]JOFlQ2KiJaU[/YOUTUBE]
[Connected Car] donaldta:
That is certainly an interesting way of looking at things to fit your explanation. However, probably not an accurate description since Android is the standard whereas Parrot's implementation of it is the exception. So, the opposite perspective is actually more fitting: Parrot's audio handling does not comply with Android's standard methodology.

Well, most of the apps in the Parrot Asteroid Market are direct version of the Google Play. Maybe a version or two behind in some cases. The apps that are completely different are the multimedia apps which act as MediaEngine plug-ins for the Parrot Media Player.

If you ever took the time to compare the software packages between the Asteroid Market and Google Play of these apps, you'll see there is quite a sizable difference in the package sizes. This is because the main audio engine for the multimedia apps from the Asteroid Market is the Parrot's Media Player not Android's AudioFlinger.
[Connected Car] noten093:
Hey guys

Still using IGO. Set it to boot and changed it to night mode even in day time. Very happy with it. Great look and no disturbing candelas. Tried all alternatives but not functioning in my view. Does anyone know how to get IGO Primo booting in map view? As I installed speedcams and want to see them all the time...

Also Flitsmeister seems to crash when running in back ground and standing still for a while.
[Connected Car] santu001:
Wouldn it be possible to port the Parrot Asteroid music player oppose to the one in SCT. I do think the default Asteroid Smart player looks much beter. I think that already would be a mayor improvement.

---------- Post added at 09:15 PM ---------- Previous post was at 09:03 PM ----------

I now have a bundle of nav apps, but I do use IGO a lot to. Don't know about the mapview, but I should guess not. You can reinstall flitsmeister and get rid of those FC. I experienced the same issue a while back. No problems now. I have a recent version If you stil use the one you found here.
[Connected Car] donaldta:
Maybe. Though I am not sure. You're welcome to try, I've included the apk from the Smart's PLF file.
[Connected Car] icarusholding:
I'm looking for total functionality in terms of navigation including working your way around traffic jams and proper speedcam warnings. Imo no substitute for tomtom live, far superior to Igo in its basic form as volvo supplied it. Doing 60.000km a year going al over the place so I really need quality stuff. Very very happy all the dudes on this forum made this possible! Audio issue sucks though but cant have it all, and having music from USB solves that anyway. I like flitsmeister too which I used on my iphone running next to Igo but I never got the bluetooth warnings to works so I still worked up quite some highway tax...... Going to bring my volvo to the dealer next week for maintenance, got to remember to switch off tasker so they wont pick up on those extra apps:cool:
[Connected Car] RichieB:
Thanks! Unfortunately, installing this com.parrot.mediaplayer.apk does not work:

W/PackageParser( 1457): Signatures files not found.
D/PackageManager( 1457): Scanning package com.parrot.mediaplayer
D/PackageManager( 1457): Shared UserID com.parrot (uid=10005): packages=[PackageSetting{406b4868 com.parrot.mediaplayer/10005}]
E/PackageManager( 1457): Package com.parrot.mediaplayer has no signatures that match those in shared user com.parrot; ignoring!
W/PackageManager( 1457): Package couldn't be installed in /data/app/com.parrot.mediaplayer-1.apk

It looks like the Parrot Smart and SCT use different certificates to sign the APKs.

Smart:

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 13306757124903661837 (0xb8ab191a5647f10d)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=FR, ST=Idf, L=Paris, O=Parrot, OU=AFM, CN=Parrot/emailAddress=parrot@parrot.com
Validity
Not Before: Oct 4 09:47:56 2012 GMT
Not After : Jan 15 03:19:40 1904 GMT
Subject: C=FR, ST=Idf, L=Paris, O=Parrot, OU=AFM, CN=Parrot/emailAddress=parrot@parrot.com

SCT:

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 14404793163318815023 (0xc7e81b0fea97e92f)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=FR, ST=Idf, L=Paris, O=Parrot, OU=OEM, CN=Parrot/emailAddress=parrot@parrot.com
Validity
Not Before: Oct 4 09:19:29 2012 GMT
Not After : Jan 15 02:51:13 1904 GMT
Subject: C=FR, ST=Idf, L=Paris, O=Parrot, OU=OEM, CN=Parrot/emailAddress=parrot@parrot.com

I guess we got lucky with com.parrot.ActiveSources.apk that doesn't use a shared UserId.
[Connected Car] donaldta:
Darn. It was worth a try. Btw, how do you back track the shared user id to the signature files?
[Connected Car] RichieB:
I'm not sure I understand your question, but I compared the certificates in the META-INF/CERT.RSA files of both APKs.

The shared-user is defined in /data/system/packages.xml as:

<shared-user name="com.parrot" userId="10005">
<sigs count="1">
<cert index="1" />
</sigs>
<perms>
<item name="android.permission.DISABLE_KEYGUARD" />
<item name="android.permission.EXPAND_STATUS_BAR" />
<item name="android.permission.STATUS_BAR" />
<item name="android.permission.WAKE_LOCK" />
<item name="android.permission.INTERNET" />
</perms>
</shared-user>

Now I wonder if I can incread the sigs count or cert index to fix this. This thread suggests I remove the complete blob, but I doubt that will fix the issue of having 2 different signatures.

---------- Post added at 12:26 AM ---------- Previous post was at 12:07 AM ----------

I never said Parrot's audio handling is the standard or better than stock Android (hell no), just that Parrot requires apps to handle the audio in a certain way, and apps in the Google Play store do not comply with those requirements.

Correct, but we are not talking about multimedia apps here, but apps that simply play alarm sounds or spoken route directions. Do you think those type of applications also use the same Parrot Media framework?

Unfortunately, I do not have access to the Asteroid Market. I could get access to the SCT Market (I've never used it), but it's content is rather limited.
[Connected Car] donaldta:
Ah, okay. I thought you found a way to associate the SharedUserID with the certs within Android. Didn't realize you were looking the APKs. How did you get the output to display so nicely? Everytime I look at them it looks like a bunch of text strings embedded in binary code.

That's interesting. I doubt it would work for conflicting signatures though. Honestly, though... for the "problem" discussed in the original post of that thread, it makes more sense to uninstall the program(s) with the shared ID then reinstall the new versions.

You might be able to get away with removing the SharedUser from the AndroidManifest.xml though. That's how jaanus was able to install the Acu_Home.apk on other devices.

True, but the way you phrased it eludes that the apps on Google Play is going against the norm since they "do not comply". Where in fact, the Parrot's audio handling is peculiar.

No, I don't which is why you guys are having so much problems. But, specifically, I think the issue is the "channel" being used to play the sounds. Using the "main media channel" causes Parrot's MediaEngine to lose audio focus which in turn creates a silence. I think I remember about the developer of flitsmeister confirming that his alarm sounds is set up to not steal focus which is why the music returns after they are played.

There are a bunch of APKs from the Asteroid Market that are attached to Post #311 and Post #331
[Connected Car] RichieB:
openssl pkcs7 -inform DER -in CERT.RSA -noout -print_certs -text

I tried messing with AndroidManifest.xml but the install failed on the signature for AndroidManifest.xml not being correct.
[Connected Car] donaldta:
Thanks!

I think you still have to resign the APK after making any changes. I was going to do it but then it segfaulted during the recompile then I remembered your APKTOOL/AAPT bugreport. Apparently, it is still an open case.
[Connected Car] RichieB:
I found an easier way. Since com.parrot.activesources uses the same signature as the Smart com.parrot.mediaplayer, I looked it up in packages.xml:

<package name="com.parrot.activesources" codePath="/system/app/com.parrot.ActiveSources.apk" nativeLibraryPath="/data/data/com.parrot.activesources/lib" flags="1" ft="14319f5c208" it="14319f5c317" ut="14319f5c317" version="1" userId="10085">
<sigs count="1">
<cert index="0" key="308..." />
</sigs>
</package>

So it is using cert index="0", so I changed the com.parrot shared user definition:

<shared-user name="com.parrot" userId="10005">
<sigs count="1">
<cert index="0" />
</sigs>

Basically, just change the cert index from "1" to "0". Now the Smart com.parrot.mediaplayer.apk installs and runs just fine!

It looks much nicer than the SCT version! Larger artwork, and scrolling text, yes!

The question I have now is: how do I select a playlist or album? In the menu of the media player I have these options:

Source (starts ActiveSources)

AudioFX (does not work)

Current list (shows current playlist?)

Cover (displays/hides cover)

Random (toggles random)

Repetition (toggles repeat)

So where are the playlist, artist and album lists?
[Connected Car] donaldta:
Nice job! I'm going to have to remember that trick.

Now that you mention it. What did the original SCT version look like?

Well on the Asteroid Smart, there's two ways.... "Media Reco" which is a part of the com.parrot.voicereco.apk that allows us to say the name of the Artist OR the Source which has a [Browse] button on the right of each source. Picture of is attached on Post #942.

I believe that com.parrot.audiosettings.apk is AudioFX so I attached it to this post.
[Connected Car] gebla:
Gogole announced today that it will analyze traffic and will propose actively better routes in Google maps. Will the version supported on the SCT also get this function?
[Connected Car] RichieB:
I first tried to include both index 0 and 1. This did not work. I think Google removed the option to have multiple certificates for a single shared user from Android for security reasons. I believe the reason this trick works is that although com.parrot (userId 10005) is set as a shared user for com.parrot.mediaplayer there is no other app that uses this userId. Or at least there is no other sharedUserId="10005" in packages.xml. If there was another app, it would now probably not work anymore because I changed the certificate for the com.parrot user..

Sorry, I'm not going to put the old one back just for a screenshot. :cyclops: Since I changed my DPI it would not have been representative anymore anyway. Hopefully some other SCT can post a screenshot.

SCT has the voice recognition stuff too. Since I mainly use playlists, I don't use it at all. It was the [Browse] button I was looking for, thanks. Volvo messed up the Media Player UI really bad. I already thought so, but now I see the original I know for sure. My main issues with the SCT Media Player that work correctly in the Smart version:

Very small artwork that fades into the background.

Long titles/artists/album names do not scroll.

The Current List feature is broken. Instead of the current playlist, the Browse window is shown

The menu button does not work. All options have to be selected on screen with relatively small icons. Very unsafe.

No easy way to switch sources. You always need to go to ACU Home first.

I'll write an E-mail to the Volvo CEM department about this. This is so stupid of them.

Great, I will try this later today. Thanks!
[Connected Car] santu001:
In my video - two pages back - you will see it (shortly...) A little distorted, since there is no tiny cover art en the DPI is set to 200.

Following your progress, cause I really would love to have it... although still not perfect, I agree that it is so much better then default UI.

Does this change the UI of Spotify as well, since it uses sort of the same interface?
[Connected Car] RichieB:
I don't use Spotify, but it changes the UI of TuneIn as well, so I'm quite sure the UI of Spotify will be changed also. TuneIn does look a little different than playing mp3s though:

Interestingly, now that the Android menu button works, there is "Station details" option that lets you see info about the stream such as programming information. I never noticed this before. Is this option available in the stock SCT media player?

---------- Post added at 01:19 PM ---------- Previous post was at 01:11 PM ----------

It seems we also need the AudioFXManager for this to work:

W/dalvikvm( 3020): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 3020): FATAL EXCEPTION: main
E/AndroidRuntime( 3020): java.lang.NoSuchMethodError: com.parrot.asteroid.audio.effects.AudioFXManager.setAudioEffectsDefaultsValues
E/AndroidRuntime( 3020):	at com.parrot.audiosettings.AudioSettingsApplication.createAudioFXManager(AudioSettingsApplication.java:83)
E/AndroidRuntime( 3020):	at com.parrot.audiosettings.AudioSettingsApplication.onCreate(AudioSettingsApplication.java:43)
E/AndroidRuntime( 3020):	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
E/AndroidRuntime( 3020):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3275)
E/AndroidRuntime( 3020):	at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 3020):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 3020):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3020):	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 3020):	at android.app.ActivityThread.main(ActivityThread.java:3686)
E/AndroidRuntime( 3020):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3020):	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 3020):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 3020):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 3020):	at dalvik.system.NativeStart.main(Native Method)

Looking at the AndroidManifest.xml I see some interesting intents/activities:

com.parrot.loudnesssettings
.BalanceFaderActivity
.SubwooferActivity
.EqualizerActivity
.CarSpatializationActivity

I don't think this is much use for SCT. SCT is connected to Sensus which has an amplifier including balance, equalizer, etc settings. In SCT even changing the volume in apps doesn't do anything. So I doubt that even if we could get com.parrot.audiosettings.apk to work it would actually change the audio.
[Connected Car] santu001:
And we problably don't really need it for the obvious reasons. We have enough audio settings within Sensus.

So if I understand correctly I first have to change packages.xml through ABD before installing the apk Donald provided, or do we just change the apk?

And I can't mention enough how I appreciate all your efforts. It's a good thing you decided to get SCT after all. ;)
[Connected Car] RichieB:
Yes, you edit /data/system/packages.xml, look for:

<shared-user name="com.parrot" userId="10005">
<sigs count="1">
<cert index="1" />
</sigs>

And just change the index to "0":

<shared-user name="com.parrot" userId="10005">
<sigs count="1">
<cert index="0" />
</sigs>

Make sure not to add newlines using a brain dead Windows editor.

Then you rename the orignal com.parrot.mediaplayer.apk:

remount.sh system-rw
cd /system/app
mv com.parrot.mediaplayer.apk com.parrot.mediaplayer.apk.bak

Now #reboot# and install the com.parrot.mediaplayer.apk that [MENTION=5389783]donaldta[/MENTION] provided.

I'm not too disappointed myself. :cowboy: With this new media player one of my biggest frustrations is gone. If I could only get it to accept all my 45.000 mp3 files, it would be close to perfect.
[Connected Car] donaldta:
It doesn't hurt to try though.
[Connected Car] RichieB:
At the risk of [MENTION=5389783]donaldta[/MENTION] coming up with a much simpler solution, here is an awk script to edit packages.xml on the device, ruling out any problems with newlines, etc.

cd /data/system
awk '/shared-user name="com.parrot" userId="10005"/ { uid=1 } uid==1 && /index=/ { uid=0; $2="index=\"0\"" } { print }' packages.xml > packages.xml.new
mv packages.xml packages.xml.bak
mv packages.xml.new packages.xml

---------- Post added at 02:54 PM ---------- Previous post was at 02:52 PM ----------

Isn't this the same file as you posted in Post #1152?

---------- Post added at 03:06 PM ---------- Previous post was at 02:54 PM ----------

Nice video. Very cool to see my USBMusic apk running on someone else's SCT. :D
[Connected Car] donaldta:
Yep. I wasn't thinking. Just saw "at com.parrot.audiosettings.AudioSettingsApplication.createAudioFXManager(AudioSettingsApplication.java:83)". Which is part of the package. Have you checked /data/data/com.parrot.audiosettings if there are any mislinked files? Because there are no packages called, "AudioFXManager ". Maybe I'm reading it wrong?

Ohhh... now that my mind is clearing up a little from waking up "com.parrot.asteroid.audio.effects.AudioFXManager.setAudioEffectsDefaultsValues". This might be a class of /system/framework/com.parrot.asteroid.jar as noted in /etc/permissions/com.parrot.asteroid.xml file. Not sure if you want to try it but I've attached it.

BTW, have you considered downloading the PLF for the Asteroid Smart? Seems to me that it might benefit you the most if you a copy of the potential files that you can merge into the SCT.
[Connected Car] donaldta:
It depends on how Google implements it. If they implement it at the backend in their servers' navigation calculation algorithms then you should be able to use it on any version of Google Maps. If they add it as an updated class in Google Play Services for the location services then you'll need to install it. However, if they place a dependency on the actual Google Maps then the answer is "no". Since the SCT is on Gingerbread so 6.14.4 is the most current Maps.apk version compatible.

It is nice to know that they are making good use of the Waze company/service they recently acquired though.
[Connected Car] RichieB:
Yeah, I was just thinking about it. Downloading now. Do you know if there is a Unix plftool? All I found was the Windows version you linked to in the opening post.
[Connected Car] donaldta:
No. But, in the same link there is the source code to the project. It's a .net C# tool, so you should be able to cross compile with Monolith or some other cross-compiler. Though, some of the syntax might need to be changed.
[Connected Car] icarusholding:
prevent switching off

would it be possible to prevent SCT to switch off? Reason is that starting up takes such a long time, especially with tasker and tomtom that I rather prevent it from switching off alltogether. The screen needs to power down, but in the backgroudn everything should keep running. It already does such for a couple of minutes, so I guess it should be possible. Cant find an app that would do that though. Idea's very welcome!
[Connected Car] santu001:
Ok, tried it, but didn't succeed sadly...:D

But I do have a different value in packages.xml

<shared-user name="com.parrot" userId="10005">
-<sigs count="1">
-<cert index="2"/>

Still I changed cert index to 0

-<shared-user name="com.parrot" userId="10005">
-<sigs count="1">
-<cert index="0"/>

Then I renamed the original com.parrot.mediaplayer.apk to .bak extension with ES file explorer, rebooted from android terminal, but it still didn't install. For convenience I attached the original packages.xml.