yashsingh1/xdaforums huggingface dataset:
[Connected Car] fmpin:
Spotify for Android problem

I'm very happy of the opportunity to use a serious Spotify app

That works great ! Much better than the parrot/Volvo one.

But I've a big problem and I cannot understand what happen :(

With spotify you can download the music offline and it was working perfect for a few days, I've downloaded more than one playlist and use the songs offline.

Yesterday in spotify all the chached song were gone ! Like they were never be downloaded.

What do you think ? Some problem storing data to the SD ?

---------- Post added at 06:39 PM ---------- Previous post was at 06:28 PM ----------

Can you explain me what do you mean with "booting for instant voice function"? Are you talking about original Spotify or the play store version ?

You mean Maps ?
[Connected Car] AAT:
I can submit the logcat messages and other only one month later :(
[Connected Car] donaldta:
.

Remember that the songs that you download from Spotify are not legally yours. The only reason why you're allowed to play them is because of your subscription which grants you the license to use them. So, it is very possible that at some point that Spotify could not verify your subscription/license and deleted the files. It could also be an issue of switching the mount points around then remounting the cache directory vs where Spotify decides to save/load its cached music. You probably need to get specific answers from Spotify's Support Forums. Unfortunately, Spotify requires a subscription and I've already used my free trail long before I got an Android device.

Yeah, sorry to hear that. :( Hopefully, someone else can provide the information before that. :good:
[Connected Car] noten093:
Yes I mean maps. I boot the original Spotify from Parrot with Tasker so voice search works instantly.
[Connected Car] AAT:
Application Safety Controller

donaldta, please see information below:

And there are questions... Maybe on SCT similar? If so, how disabling the Application Safety Controller? Then do not need to be whitelist.xml...
[Connected Car] noten093:
OBD2 with Android

Apps like Torque can read the engine information. Would be great having this working in SCT. Should I go for the USB cable or bleutooth? I have the two usb connections occupied. usb1= 4G modem, usb2=hard disk. Can I use a usb hub?

Would be extremely cool if I could chiptune the car from Android live in the dash :silly:. But probably these apps run on Windows. I found this app but I don't know if it is compatible with my Volvo V60 PIH 2014
[Connected Car] gebla:
Can you share how your tasker look like? Maybe a screenshot? I love the gps tracker idea. I might be doing the same
[Connected Car] noten093:
You can find it here
[Connected Car] gebla:
Thanks for the quick link! I found the app but as wondering what profile you created. Do you have waiting time set between launching each app? Another question is if tasker can change brightness as well. This weekend I was driving at night using Google Navigation and I would love the possibility to reduce the brightness at night.

For people that want to stream music directly from their servers at home, Bubble server and bubble upnp is a good combination of apps. I tried this setup and it did not work with the SCT. The dev of BubbleUPNP looked t the log files with following comments:

The log file shows the cause of the problem.

Your Volvo Android uses a custom network type named "usbmodem" that is not standard at all and identified by BubbleUPNP as neither mobile, WiFi nor ethernet.

That's why the connection to your home BubbleUPnP Server is skipped.

I've fixed it so this "usbmodem" network type fall into the Ethernet category.

This fix will be in the next version of BubbleUPnP that I will release very soon.

It worked with the demo BubbleUPnP Server because the wizard connects to it unconditionaly, regardless of the network connection.

Meaning an update will fix it soon. Using the wifi tethering with a phone should already work! This is great. I have all my music stored at home using .flac. I can now stream that music with transcoding to MP3 to my Volvo and have the same music library in my car and at home.
[Connected Car] fmpin:
If I understood correctly you men that the operation that can cause the problem can be this operation:

# umount /cache # mount -t vfat /dev/block/vold/179:1 /cache # df /cache

?

Thanks
[Connected Car] hoppy_barzed:
thanks to [MENTION=5389783]donaldta[/MENTION] and all for the great work here :)

I have tried the .bat menu. I am connecting correctly to my SCT (either in wifi or USB) with it, but when I launch menu option 1, I get a "file not found" error message on each action.

any idea why?

thanks for your help!
[Connected Car] noten093:
Hello. First unzip the file to a folder. Then run menu.bat.
[Connected Car] gekkekoe123:
Okay guys, I got my unit ;)

It's freed now hehehe.
[Connected Car] noten093:
Congrats crazycow. What is your favorite app?

---------- Post added at 08:30 PM ---------- Previous post was at 08:08 PM ----------

On my SCT lovetoload is not working. Whatever methode I try...
[Connected Car] xadax:
Not installable you mean? What are the commands, what are the responses? Is installing apps via Play/Market working? Do you have SD card inserted and cache moved to the sdcard with the supplied scripts?
[Connected Car] noten093:
It is installable by ADB and ES fe. I also moved cache. It is not installable through the market. When I launch it, it crashes immediately before visuals.
[Connected Car] Vespavieja:
Hi! Thanks all for all this useful information... anyway, just a "simple" question... there is a way to backup everything before starting applying your nice commands??? :cyclops:

Thanks in advance :o
[Connected Car] Zakraket:
To add another question....what chance is there that there will be complete ROMS for SCT?

And what launcher can anyone recommend to use instead of the Volvo-launcher (I like it, but it won't show anything but the Volvo-apps)

Congrats :) Driving with google maps is a breeeeeze (for me at least ;) )
[Connected Car] twcoolen:
Don't you have any issues with the sound focus between radio and SCT/Google Nav?

As discussed earlier in this thread, for me TomTom and Google Maps do not close the audio stream which results in a muted Radio until I manually press the Radio button again. This needs to be done after each and every voice instruction.
[Connected Car] Zakraket:
I'm not sure I have this problem because I switched off Google Nav voice instructions (too many interruptions!). I think that SCT audio (MP3, tunein stream) does continue after GN speaks....I had the radio mute and not continue after a SCT sound, but I think it was a mailnotification.

From december I will have a 4Gb dedicated dataSIM for the SCT, then I won't need the radio anymore :D at least not in the Netherlands (I will not be using Google-nav in foreign area's)

Seems some software don't close the audiostreams correctly (of whichever way that works), but I would expect Google-nav to be better than that!?

Strange than that any of the Volvo-apps (iGo) don't have this problem. I'm pretty sure that these are not alle specifically adapted for SCT to prevent this from happening??
[Connected Car] Gray1:
it's not because some application doesn't close audiostreams. This is because we have different audio streams in Android system. If application uses notification or alarm audio streams - than radio back on after sound plays. If any application uses multimedia or system audio stream - than radio will shut down.
[Connected Car] donaldta:
The only way I know to disable it is through Asteroid Tweaker.

You can use a USB hub with it, I would recommend a self-powered USB hub, like the Startech ST4200USBM or ST7200USBM, as opposed to bus-powered hubs. The big issue is power draw from bus powered USB devices. If there are too many high powered devices, it can disable the entire USB bus.

As far as the ODB2 datalink, bluetooth would be easiest. I would recommend Scantool ODBLink MX. Only because it will go into a low power draw when there aren't any active Bluetooth connections. This is important because these BT connectors are powered by the ODB2 bus and in most cars it will not switch off with the ignition. So, if you do not use your car often enough then you can end up with a dead battery.

You can probably get a USB ODB2 to work but you'll have to get Torque Pro. Also, only the Silicon Labs (CP210x) and Prolific (PL2303) Serial to USB drivers are loaded at boot. If you get an USB ODB2 adapter that uses Future Technology Devices International (FTDI_SIO) then you'll have to manually enable it. Although, the USB ODB2's are much faster and are less prone to lag than their Bluetooth counterpart.

It may be a possibility, also "remount.sh cache-sd", but it may not necessarily be the cause. Remember, Spotify writes files in certain directories. If the mount points are manually switched around when it writes those files then it is possible that they will "disappear" when it is returned to the normal condition after the SCT emerges from a cold start. It is not that they were deleted but are now in different paths.

Btw, I found this blog article, "Finding the Spotify External SD Location", which may help you with your issue. Apparently, the newest version of Spotify does not allow you specify where it keeps it files and makes that decision for you.

You're welcome. As far your problem, I believe that it may be due to double-clicking the menu.bat file from within the zip archive. Since the support files are not automatically uncompressed when executing files inside an archive, you'll get errors similar to this. So, you'll have to uncompress the archive prior to double-clicking the menu.bat file. If this is not the case, please provide more feedback on how you use it what operating system, etc.
[Connected Car] donaldta:
.

I explained in Post #508 how to troubleshoot these issues using logcat. But, if it is force closing on launch instead of install then you'll need to figure it out how to launch it via intent (which is also explained in the same post). Even if you're not able to decypher the output, then at least it will give you the resources to provide it to someone whom can.

By the way, do you have any rotational control software installed? I find many apps will force close on its own because the developer is trying the rotate the screen programmatically. Many of these fixed landscape devices don't support this method and causes apps to force close if they insist on turning the screen to portrait. I personally use Ultimate Rotation Control to avoid this symptom.

I'm pretty sure that your problem is specific to TomTom using pre-recorded sound files as opposed to Parrot or Google's Text-to-Speech (TTS) engine. The work around is to use a third-party app to play your audio files. Since third-party developers expect their Android users to have apps which switch audio focus, most of the third-party apps from Google Play should not have any problems with audio focus being stolen by navigation software.

This is not exactly true, and I've explained this problem a dozen times on this thread and for the Asteroid Smart. The problem has to do with the Audio Focus and how the Parrot Music Player deals with it when another app steals it away from it. Yes, it is less prone to occur when an application uses a channel other than the "Media". However, there are apps, like Mobo Player, which uses a process called, "ducking", to play sounds simultaneously with other apps over the "Media" channel.
[Connected Car] fmpin:
Thannks donaldta the article is interesting but I'm not sure it's my case, I thin the chache MUST be on the SD or how it's possible the system can work ? The internal space is very narrow..

I've try with ES File explorer a function call SD card analyzer and i found that the biggest folder is mnt/sdcard/Android/data/com.spotify.mobile.android.ui/.....

I can try to post a question on the spotify forum...
[Connected Car] donaldta:
.

Maybe we have a language barrier. If the mount points were changed by using "mount -t vfat /dev/block/vold/179:1 /cache" or "remount.sh cache-sd" BEFORE Spotify starts writing its cache files then there is a possibility that it thinks that your SD Card was the "/cache" directory. That is what these two commands do. They mount the SD Card's block device as /cache so that Google Play has a larger destination for > 7MB files. So, if this was the case, then it is possible that Spotify believes your cache music is in "/cache/Android/data/com.spotify.mobile.android.ui/..." directory.

However, when you restart the SCT or cold boot it (from the car being turned off too long) then the mount points are returned to the default position. This mean /cache is returned to the internal storage and is no longer using your SD Card. This would make any direct calls to "/cache/Android/data/com.spotify.mobile.android.ui/..." invalid. Because while, "mount -t vfat /dev/block/vold/179:1 /cache" or "remount.sh cache-sd" was in effect your SD Card was also being used as the "/cache" directory.

To get an idea of what I mean, use "remount.sh cache-sd" in a terminal. Then type "ls /cache" then type "ls /mnt/sdcard". You will see that the output of the two commands will be the same, because under this condition they are pointing to the exact same device even though the path is different. Now type "remount cache-og" and try those ls commands again. You will see they are now different.

:good: That is best because it seems more like something that is specific to how Spotify works.

Is this another language translation / interpretation problem? Because, it sounds like the app will install via Market, ADB, and ES File Explorer but force closes upon launching the app. So, the problem at this point has nothing to do with the /cache directory if you can install it via ADB or ES File Explorer. Remember, that it should ONLY be used as a work around to download > 7MB packages through Google Play.

(Again, I refer to my earlier post to troubleshoot this problem since clearly, Xadax can run this application but noten093 cannot.)

---------- Post added at 09:39 AM ---------- Previous post was at 09:21 AM ----------

It is not strange at all, since all the pre-loaded apps and the ones available to the SCT from the Asteroid Market are specifically tested (and sometimes modified) to be used on Parrot's customized branch of the Android Open Source Project (AOSP).

Something that I think many of you are forgetting is that the SCT was not meant to be used in a open ecosystem, like Google Play. So, there are going to be certain quirks and incompatibilities because most third-party developers are designing their apps to be used on generic Android devices and not the SCT which was designed to be used in a curated ecosystem for Parrot's Android platform.
[Connected Car] stavas:
How can I view the version number of my SCT? Got my V60 today, and it asks me to update, but I'd like to know the current version number before I do that.
[Connected Car] donaldta:
.

I'm not sure if it exists but it should be under Settings > About... > Software Version. Otherwise, if it is hidden then try using, "am start -n com.android.settings/.DeviceInfoSettings" from either "adb shell" or a terminal app.
[Connected Car] noten093:
Hello Donaldta

Am I doing this right? Find screenshot
[Connected Car] RichieB:
Does anyone know if this CPU supports the NEON SIMD extensions? The reason I ask is that some multimedia apps come in 2 flavors, with and without NEON support.
[Connected Car] xadax:
BTW the standby function is default switched off (set through a Bluetooth terminal (have not tried that yet)).

Not only is the standby/power-save function useful, but since the OBD2 is powered even when the car is locked, creating a very high risk situation that anybody can connect to the OBD2 dongle over Bluetooth from the outside, making your car open to be hacked/emptied/stolen. OBDLink MX is the only dongle I know, that only allows pairing after pressing a physical button on the dongle itself, so physical access is needed. Any other Bluetooth dongle may be paired to at will, making it vulnerable for hacking (when locked and even when driving).

I found the OBDLink MX working without problems with SCT.
[Connected Car] donaldta:
.

Close. You got the "logcat -c" correct. But, before you do the rest, I would suggest that you find out the available intents. Using, "dumpsys package {package.name} | awk '/filter/ {print $2}' | sort | uniq". If you know that the package name is "nl.applab.lovetoload" then you would type, "dumpsys package nl.applab.lovetoload | awk '/filter/ {print $2}' | sort | uniq". This will give you a list of available package intents that has been registered to the system. Once you have a list then try launching them to recreate the "Force Close" symptom using Activity Manager via "am start -n {package.name}/{intent}". For example the command string, "am start -n com.android.settings/.DeviceInfoSettings" will instruct Activity Manager to start intent from package com.android.settings called .DeviceInfoSettings. Once you complete the correct command for "love to load" and it force closes then you need to dump the logcat to a file using, "logcat -df /mnt/sdcard/lovetoload_logcat.txt".

This is the result of "cat /proc/cpuinfo"

This indicates that NEON Single Instruction, Multiple Data (SIMD) for the ARM7 processors is supported.
[Connected Car] twcoolen:
Both TomTom and Google Nav have this focus issue in my Case.

I often listen to the radio which resides in the Volvo Sensus system. Also Google Nav steals the focus during spoken instructions. Will check again to be 100% certain, but pretty sure at this point.
[Connected Car] AAT:
SCT photos

getiem, can add SCT photos to the OP? Maybe someone will be interested ;) I have more pictures - if necessary, PM me.
[Connected Car] noten093:
Great guys. I ordered mine allready here:

http://www.diagnoseapparatuur.nl/zoeken?q=obdlink+mx&x=-1153&y=-55

Exciting level 2 of the SCT use!

It would be cool if you could read battery status/ charging status/ open close windows etc... with an android app. Does it exist?

Something like this but then for Volvo

http://obdcanex.com/o/
[Connected Car] RichieB:
Please let us know when you figure that out. This is quite an important feature to enable. From what I understand, the SCT does not fully power down. Users have reported that they can connect to it over Wifi while charging the V60 PIH. That would probably mean the Bluetooth stack is also still running. Would the OBDLink MX even go into standby then? Or is shutting down Torque Pro enough for it to enter a low power state?
[Connected Car] noten093:
I can access the car from home when the car is charging. When completed the wifi connection is lost.
[Connected Car] gebla:
I tried this and cant get it to work. What I did is:

1. On the SCT launch terminal manager.

2. Enter SU, confirm that prompt is changed to #

3. Enter remount.sh system-rw

4. On the SCT go to EF explorer and select correct folder on the SD card.

5. Copy libvoicesearch.so from the SD card folder and browse to /system/lib and select paste

6. The response is that access is forbidden

7. Inside EF confirm that /system/lib has read and write access

Why do I get response that access is not allowed on the folder to copy the .so?
[Connected Car] donaldta:
.

I'm not sure. I have a couple of questions. What is the response if you change step 3 from "remount.sh system-rw" to "remount.sh system-rw feedback"? Also, did you turn on "Root Explorer" option under Fast Access > Tools in ES File Explorer?

---------- Post added at 08:24 AM ---------- Previous post was at 07:55 AM ----------

The obd CANeX OBDII Car Remote already exists in Google Play. I'm guessing that if it doesn't already work with the Volvo then they would need to decode the appropriate Can-Bus messages. Same goes for Open Vehicle Monitoring System.
[Connected Car] gebla:
Turning on root explorer option under fast access did the trick. I now have voice instructions. Thanks
[Connected Car] getiem:
Done.
[Connected Car] noten093:
Seems that the first supports GM vehicles and the second Ampera, Twizy, Tesla. Which means I can allready use it with my Twizy.

Hope something compatible will be available for Volvo in the future

Also found the V-Tech Blue box Android app which allows Volvo diesels the be chip tuned live when driving. You can press 0 for no tuning and 1 for extreme fuel economy. Press 8 for maximum chip tuning and horsepower when accellerating. After racing press 1 again. So cool. I allready mailed them for v60 PIH support but no answer so far.
[Connected Car] noten093:
Decided to go for the Rica tuning this morning with Softloader to avoid warranty issues. I must say that accelerating has a much quicker respons now. Also plugged in the OBDlink MX and tried Torque Pro. Very cool. I have a economy driving course given to me free from Volvo next week. I will put the Torque display with fuel usage and power options on and surprise the tutor. :D

I agree with you guys that another Navigation system would be far better. IGO is not so good.. Google NAV is a very good option. I love the voice recognition. But like you described. Volume in combination with the Sense Radio is not working. Too much volume difference.

I will install and try Copilot when I have time again. But volume diff will remain a problem.
[Connected Car] stavas:
Aren't there warranty issues with Rica???
[Connected Car] RichieB:
For the volume problems, you can try something like Volume+ search for com.TEST.android.lvh
[Connected Car] noten093:
Undetectable ECU upgrade. With softloader I can restore the original software whenever it is needed. E.G. when the engine catches fire... :D

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

Hello RichieB.

Can you please explain it in dumbo language? I have a terminal in the SCT. What would be the command?
[Connected Car] donaldta:
.

He is referring to an app's package name. The app, Volume+ (Volume Boost), is available in the Google Play Store. Although, I am not sure how different it is from any other equalizer app as it uses the AudioEffect API. I believe that the Sensus Radio, CD, etc are external components to the SCT and as of yet nobody has explained how exactly it integrates with the main Sensus unit or how the two affect one another other than the SCT seems to mute the multimedia sources connected directly to the Sensus under certain conditions.

I would look into getting involve in one of those projects. If the software does not currently support Volvo's CAN-bus commands, then most likely it is because they have nobody to catalog and/or test the commands sent over the bus. Besides, you often get some pretty cool perks and inside information whenever you beta test software. Personally, I would recommend the Open Vehicles Monitoring System since Mark Webb-Johnson has been vocal in the Parrot Developer's Forum.

I've seen that mentioned too. However, I don't believe they're using an ODB2 interface. It looks like they offer customized devices which tap into your car's ECU with special connector which may be completely separate BUS from the On-board Diagnostic Bus (ODB). I guess they offer the ability to control these interfaces via USB or Bluetooth with the BlueBox Manager Chip Tuning app that they have in the Google Play store.