yashsingh1/xdaforums huggingface dataset:
[Connected Car] gekkekoe123:
tried the google play version of Waze. That was fun. But the screen is too crowded. Is the asteroid market version better ?
[MENTION=5389783]donaldta[/MENTION] Ik could not recombine the zip files, could you please reupload the asteroid market version?
[Connected Car] donaldta:
How did you try to combine it? As described in the respective post, you'll need to drop the last .zip extension in order to allow 7-zip to combine it.
[Connected Car] gekkekoe123:
windows ... i got it working now. Seems that there is also a newer version 3.7.6 on asteroid market.
[Connected Car] noten093:
done
[Connected Car] gekkekoe123:
You probably want to remove the gps locations from your log.

This is my log output

--------- beginning of /dev/log/system
I/Vold ( 1044): Vold 2.1 (the revenge) firing up
D/Vold ( 1044): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1044): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1044): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/Vold ( 1044): /dev/block/vold/179:1 being considered for volume sdcard
D/Vold ( 1044): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/Vold ( 1044): Filesystem check completed OK
I/Vold ( 1044): Device /dev/block/vold/179:1, target /mnt/sdcard mounted @ /mnt/secure/staging
D/Vold ( 1044): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
I/SystemServer( 1440): Entered the Android system server!
I/SystemServer( 1440): Entropy Service
I/SystemServer( 1440): Power Manager
I/SystemServer( 1440): Activity Manager
I/ActivityManager( 1440): Memory class: 32
I/SystemServer( 1440): Telephony Registry
I/SystemServer( 1440): Package Manager
I/Installer( 1440): connecting...

So it seems that a some services are not starting correctly. Do you have enough space available on the device? Your package manager doesn't start, and probably a lot of stuff before also failed. It seems that the sdcard mounting did not work correctly

Try to boot without sd card, or the org volvo sd card and see if it improves?
[Connected Car] noten093:
These GPS locations are not at my home but in a public place after work. So I don't care. I will try to make a new logcat

I want tasker to execute the logcat. How to do?
[Connected Car] gekkekoe123:
Your settings provider seems to be problematic.

fyi: I android encounters an unhandled exception, it will invoke a reboot. So you're probaby boot-looping. That's why it takes so long to boot, eventually the booting succeeds, but it's interesting to see the log during the boot loops.
[Connected Car] noten093:
Great! I erased the settings of ACU home. It booted allready faster. Secondary I erased the settings of the settings.provider. (why did you erase this tip and editted?)

Now I am back in a boot of 35 seconds. There seems to be one soft reboot left. What is your boot time?
[Connected Car] gekkekoe123:
Because i was unsure if it was the case, and did not want users to remove their settings ;)

Do adb logcat again and see if the exceptions are gone.
[Connected Car] RichieB:
Yes, that's what I meant. com.parrot.mediaplayer performs fine.

No, I didn't test any movies yet on SCT. My experience on a Nexus 7 however is that MX Player is the only decent performing video player I found.

I'll have to search for them. In the meantime I have confirmed that the SCT Media Player does not have a problem with mp3 files with only an ID3v2.4 tag in them. Playing from a usb stick, all the metadata showed correctly. This was just standard ASCII characters though, so nothing fancy.
[Connected Car] noten093:
You mean "fatal exception" right?

---------- Post added at 09:37 PM ---------- Previous post was at 09:35 PM ----------

I have the original Volvo SD card still in. And no "out of space" warning
[Connected Car] vandijks:
Updated to the latest Flitsmeister this afternoon, works fine as ever (now with slightly cleaner look and display of speed) except for the map. Should have written down the three digit error code but basically when the maps opens as you approach a speed trap it asks to install the lasted version of Google Play Services (com.google.android.gms, there is one dated December 6). Did anyone else experience this as well?
[Connected Car] noten093:
Here my latest logcat. Please take a last look.

--------- beginning of /dev/log/system
I/Vold ( 1044): Vold 2.1 (the revenge) firing up
D/Vold ( 1044): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1044): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1044): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/Vold ( 1044): /dev/block/vold/179:1 being considered for volume sdcard
D/Vold ( 1044): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/Vold ( 1044): Filesystem check completed OK
I/Vold ( 1044): Device /dev/block/vold/179:1, target /mnt/sdcard mounted @ /mnt/secure/staging
D/Vold ( 1044): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
I/SystemServer( 1396): Entered the Android system server!
I/SystemServer( 1396): Entropy Service
I/SystemServer( 1396): Power Manager
I/SystemServer( 1396): Activity Manager
I/ActivityManager( 1396): Memory class: 32
W/ProcessStats( 1396): Skipping unknown process pid 1445
W/ProcessStats( 1396): Skipping unknown process pid 1446
I/SystemServer( 1396): Telephony Registry
I/SystemServer( 1396): Package Manager
I/Installer( 1396): connecting...

What does this mean?:

W/ProcessStats( 1396): Skipping unknown process pid 1445
W/ProcessStats( 1396): Skipping unknown process pid 1446

Is there any relevance in the errors after "connecting..."?
[Connected Car] gekkekoe123:
Might, but I think 30 sec is pretty ok

We can compare boot times next saturday
[Connected Car] fmpin:
Here my log attached.

I've done it using the terminal emulator of STC, but it never stop writing like in a sort of "loop"

I can't understand a lot but i think to see a lot of errors...

Reading your post I was thinking also to a space problem, on the internal memory I've only 49 MB so I uninstalled some application and now the boot time seems to be back normal (35 sec) with no flashing.

To obtain some more free space I've also tried to move Tom Tom to SD card (using com.android.settings/.applications.StorageUse) but after moving operation I cannot find anymore the TomTom icon under Application so I must move it back on the internal storage.

Thanks a lot for your help
[Connected Car] donaldta:
With all due respect, it is better if you recommend "adb logcat -d > log.txt" so that it is not necessary to hit [ctrl]+[c] to terminate the open file handle. The "-d" option for logcat dumps the current data and will not keep the redirect open.

It is not a loop, without specific arguments, logcat will update continuously and never end. If you are using this command in a terminal emulator on the S

C

T then try "logcat -df /mnt/sdcard/log.txt" instead. This will dump the logcat's content to a file called log.txt in the /mnt/sdcard directory.

This is probably just a delay. If you open up the Application Drawer before it enumerates all of the programs then you'll only see a partial list. It parses the programs in this order; /system/apps, /data/apps then /mnt/sdcard/Android/data directories. So, it may take a little extra time to populate.

---------- Post added at 05:56 AM ---------- Previous post was at 05:28 AM ----------

That just means that Android cannot identify the Process ID 1445 and 1446. It is probably because it is a Linux process. If they are still running, you can find out what they are, by doing "ps | awk '$2=={pid}'" in a terminal or adb shell. The command "ps" brings up the active

p

roces

s

list then the awk syntax filters the output and only shows the matching pid in the second column.

You can use "ps | grep {pid}" which does a similar filtering but less precise and will match the number anywhere in the line. It is helpful to find any child processes if that's what you need but will also match other instances as well. It can also be executed as "ps | awk '/{pid}/'' or if you want to be more precise to find the process and its children, "ps | awk '$2=={pid} || $3 =={pid}'" which will match the pid in the second or third column.
[Connected Car] fmpin:
Thanks ! Done with logcat -df /mnt/sdcard/log.txt

Can you see something wrong ?

I really can't understand very much

But I've a question

I saw this row :

I/ActivityManager( 1466): Start proc com.parrot.spotify for service com.parrot.spotify/.mediaengine.SPMediaProvider:

I think this is the original Parrot Spotify service that I do not use anymore, there is any way to cancel this service startup or other not useful services to speed up the system start up ?

Thanks
[Connected Car] donaldta:
Only the lines that start with "E/" (which stands for Error) are of any concern. The other letters that prefix each statement stand for; Information, Verbose, Debug, and Warning. Sometimes the other messages (information, debug, warning, etc) give a clue to why the errors are happening.

I believe this has been discussed already. You can freeze or delete the "com.parrot.spotify" package from /system/app directory to stop it. Just remember to be careful of the apps that you do, since it can cause a bootloop if there isn't a launcher available.
[Connected Car] RichieB:
I was reading an article about boosting SD card speed, and found there are 3 relevant settings in SCT:

/sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc1/mmc1:59b4/block/mmcblk0/queue/read_ahead_kb
/sys/devices/platform/ehci-omap.0/usb1/1-2/1-2.1/1-2.1:1.0/host1/target1:0:0/1:0:0:0/block/sda/queue/read_ahead_kb
/sys/devices/platform/ehci-omap.0/usb1/1-2/1-2.3/1-2.3:1.6/host3/target3:0:0/3:0:0:0/block/sdb/queue/read_ahead_kb

All are set to 128 kb by default. Setting them to 3072 kb (=3 Mb) seems to get the optimal performance (for large sequential reads). It boosted the read speed from 10 MB/s to 19 MB/s for both my SD card and USB flash drive. This xda thread explains why it might be of limited use, but I think for TomTom and mp3 files it can make a difference.
[Connected Car] noten093:
VLC for Asteroid

http://andron.mobi/vlc-for-asteroid/

How would the video out work?

Can anybody find a working link to the .apk? Or explain me how to make the apk from the sources?
[Connected Car] donaldta:
Probably not. The Asteroid has a separate video input for rear cameras.

​

I'm pretty sure that when Volvo has the SCT system integrated with the FC6100 NIS (replacing the IAM) in the 2014 2015 models that it'll probably be integrated with it triggering off of the CAN-Bus signaling. Not sure if the feature is even available over the FC6100 Ironbox when it is installed as a dealer accessory. Maybe [MENTION=5550682]AAT[/MENTION] or [MENTION=2123836]jaanusj[/MENTION] can take a look at the PCB and figure it out.

Unfortunately, the build.prop is a very delicate file and improper values can cause an Android device to brick or go through a bootloop. In this case, "safe" is a relative term here, so be very, very careful in the changes that you make.

I suppose that you might be able to use USB Camera app for a webcamera if were available. But, they have not released it yet not even for the Asteroid Smart or Tablet.

Video out would work as expected on the Asteroid Smart since it has dedicated video outputs. I suspect that it wouldn't do anything at all for the Asteroid Tablet or the SCT since there are no video outputs. Assuming of course, by your previous post, that the A/V jacks on the SCT next to the USB and SD Card ports are input jacks and not output.

I've already attached a copy of it in a post earlier in this thread along with many of the other apps from the Asteroid Market for the Smart. I warn you though, the video quality is choppy on the Smart nothing like how well it works on VLC for Windows nor as smooth as MX Player.

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

Btw, Andrei Mandychev works for Parrot; http://fr.linkedin.com/in/andreimandychev. I doubt he would help you with the SCT and already knows whether or not it will work. But, is probably under confidentiality with the contracts from their partnership with Volvo to say anything about it.
[Connected Car] jaanusj:
All engine or primary system signals are obtained from Can bus and then decoded by micro controller inside FC6100 ironbox. How the Parrot rom communicates with the micro controller is not known(sendevent getevent or serial data ). So basically you could play with adb and getevent commands to see if any data is moving when gear is selected but i believe it is very hard to catch it.

And I believe that the Can bus decoding is hardcoded to microcontroller flash which source is not available - easiest way would be to catch data from obd2 .
[Connected Car] donaldta:
If I would take a guess it is probably via serial data, otherwise there really is not reason for them to include the /system/xbin/multicc_mgmt executable. Maybe it was leftover as an oversight from the Asteroid range. I guess if someone can run it as root in a terminal window or adb shell and supply the output then maybe we can see if it is the case or not.
[Connected Car] RichieB:
Are you making assumptions here, or do you know that Volvo is doing this? So far, the people with the 2013 week 46 update called Sensus Connect report there is no sign of Android in their car. There are only 3 apps: local search, TuneIn and send to car. No market, no Google or Parrot account. See these pictures. Maybe Volvo integrated everything so well that Android is not recognizable, but more likely the system is not running Android at all.
[Connected Car] donaldta:
I'm making assumptions based on certain leaks and rumors from fairly reputable sources. But, the "Sensus Connect" screenshots that you linked looks like the last Sensus 3.0 interface with updated features. The Sensus Connected Touch is currently only a dealer installed accessory. The factory integrated units are not slated to be available until the 2015 models (will edit my previous post).

Although, the press release is referring to the Neonode "Touchram" that comes with the current Sensus Connected Touch. So, I suppose the Sensus Connected Touch could end up being a one off. But, it would be sort of a shame for them to abandon the technology that earned them the "prestigious 2013 Red Dot Design Award" by going back to a slightly modified version of the old system.
[Connected Car] gekkekoe123:
Sounds like a new system is coming. Hopefully with a real touch screen :)
[Connected Car] RichieB:
Well, it certainly looks that way now. SCT remains available only as an upgrade for the Volvo's with the "old Sensus" installed. V60 and XC60 produced after week 46 of 2013 have the "Sensus Connect" I described above. No Android, no market, just 3 apps. And no option to install SCT.

Thanks for all the sources. Hopefully with the XC90 Volvo will show us the future of the SCT concept.
[Connected Car] noten093:
Thanks for the apks. Love AllmyTV.
[Connected Car] jaanusj:
It would be logical that Volvo develops something which is more integrated and user friendly. Lets be honest the SCT is a bit like a reverse engineered solution between audio(IAM) and display unit(ICM). The analog audio input is also not very efficient taking into account that Volvo uses digital optical(MOST) for communication between audio unit and amplifier. And of course they want full control over the apps you use - if you want something new - pay to Volvo and not just couple of Euros but at least 100 per software upgrade :)
[Connected Car] RichieB:
I don't have droid VNC set to start the server at boot, but sometimes it is nice to start it anyway over ssh or adb. So I wrote a script to do this:

#!/bin/sh

pref=/data/data/org.onaips.vnc/shared_prefs/org.onaips.vnc_preferences.xml
u=`dumpsys package org.onaips.vnc | awk '/userId/ { print $1 }' | sed -e 's/^.*=//'`
kill `pidof org.onaips.vnc`
sed -ie 's/\(startdaemononboot.*\)false/\1true/' $pref
chown $u.$u $pref
am start -n org.onaips.vnc/.MainActivity
am broadcast -a android.intent.action.BOOT_COMPLETED -c android.intent.category.HOME -n org.onaips.vnc/.StartServiceAtBootReceiver
sed -ie 's/\(startdaemononboot.*\)true/\1false/' $pref
chown $u.$u $pref
[Connected Car] donaldta:
Interesting, but is all that really necessary?

I just downloaded Droid VNC Server on the Asteroid Smart and looked at the package. It seems the process could be simplified by just "chmod 755 /data/data/org.onaips.vnc/files/androidvncserver" to make it executable, remount the system mount point a read-write then create a symlink in xbin directory via "ln -s /data/data/org.onaips.vnc/files/androidvncserver /system/xbin/startvnc".

That would set it up so all you have to do is ssh into the SCT then type "su" to get root then "startvnc" to start the server while blocking the terminal or "startvnc &" to start the server as a backgrounded process to regain access to the terminal.

---------- Post added at 07:33 PM ---------- Previous post was at 07:13 PM ----------

Btw...you can simplify and reduce the need for an extra fork by using this instead,

u=`dumpsys package org.onaips.vnc | awk '/userId/ {split($1,a,"="); print a[2]}'`
[Connected Car] noten093:
Shutdown command ON or OFF

Hello Guys. I would like to disable the shutdown command the SCT gets after my EV charge is full. I have seen that if I set my cars' contact on that it will give an additional recharge when the 12v battery is used. So no risk of going out of battery. When I don't charge and leave Torque in the foreground the SCT does not shut down. After one day the SCT is still running. In the 12V battery meter of Torque and I can see that the SCT has not used much of its energy. Torque keeps the SCT alive. This does not work when charging. The car gives a signal to the SCT to shut it down after charging is complete.
[Connected Car] RichieB:
Apparently not. :) Thanks. I was trying to sharpen my Android skills where good old Unix skills would have been easier to get the job done.

Yeah, I suspected the sed was not needed. As you can see I'm not much of an awk wizard. Thanks.
[Connected Car] jaanusj:
The Torque app probably sends out canbus keep a live messages.During the charging the car systems have high priority over CEM(central electronics module) and when the charging ends all modules will be commanded to sleep. This means that torque just does not have priority over some can bus functions and the SCT will sleep also... Again some adb or terminal logcat would useful to see what is going on...
[Connected Car] noten093:
What logcat should I make? It is too late when the SCT allready shuts down no?
[Connected Car] jaanusj:
The shut down message and data coomunication before that will be visible before shut down.
[Connected Car] noten093:
So logcat after reboot?
[Connected Car] jaanusj:
Put your car to charging and let SCT be on. At your computer start logcat over wifi adb and see what happens when charging stops...
[Connected Car] donaldta:
No worries. You just made the same mistake that noten093 did with VMLite VNC Server. There's no reason to call the apk's main activity because that just brings up the app's window and unless you had someone or something waiting at the display to press the button it is a moot point.

Anyways, since both apps were compiled from VNC's source code, I knew there were executables available. It was just a matter of identifying it. For VMLite, the executable already has execute permissions set whereas Droid VNC server's just needed to have it added.

You're welcome. I enjoy helping people with the finer aspects of the command line. At least you kept it down to three forks, I know people that would have use more. Though "cut" would have been a better choice since it uses less resources.

No, that will only show you the messages as pertinent to the start up sequence to the point in time that you can issue logcat. Once the system shuts off or restarts then logcat buffer is wiped out. What you would want to do is monitor the logcat output continuously, preferably through another device.

In this case, he would NOT use "-d" option and just leave the file handle open and let the system close the handle when it shuts down. Though honestly, I think that using Android Developer Toolkit's \sdk\tools\monitor on a computer is a better tool if one is going to monitor the logcat messages over a long period of time; especially to monitor the events which lead to the shutdown of Android.
[Connected Car] fmpin:
Yes we already talk about that

I've removed Tune In and other apps that are not useful for me, deleting the files from /system/app

In this case I was thinking to a different thing cause I'd like to keep the spotify app, only I do not understand why some apps are launched automatically at startup... and I'd like to remove it from the startup if possible

The same can be for other apps like:

- Start proc com.android.providers.calendar

- Start proc com.parrot.asteroidmarket

that I found in the log

Thanks
[Connected Car] donaldta:
Repost:
[Connected Car] fmpin:
Ok very clear ! Thanks

Only the last doubt, why only few apps are present as "Start proc" in the log ?
[Connected Car] AAT:
Pinout SCT in VIDA 2013D

Good news :) I installed VIDA 2013D, there is pinout and signals specification SCT. Ask what is interesting ;)

jaanusj, here .pdf and .docx(so that you can translate from Russian).

J3 pin Touch panel uses USB. This may be USB0 ?
[Connected Car] gebla:
Did some more playing to get network location working.

What I did so far.

1. Installed in System/app:

- secure setting helper: http://www.intangibleobject.com/DownloadHelper

- networklocation from nogapps: http://xdaforums.com/showthread.php?t=1715375

2. Installed tasker and secure settings from the Play store

3. Create a task using secure settings with additional settings enabled by the helper to enable locationservice at boot

4. Reboot

The task is activated and I can check with secure settigns that networklocation is now enabled. Unfrotunately both Maps and weather widget do not find location. Not sure what I am forgetting, hopefully someone else has some inspiration?

(ps. thanks for the dpi switcher app, I needed that to be able to change the settings in secure settings)
[Connected Car] RichieB:
Why do you need nogapps? Is the Google Network Location framework missing on SCT? Are you sure your location can be resolved by the free alternative? I can imagine it is less complete than the Google version.
[Connected Car] jaanusj:
Nice, can you send me all pinouts or publish them somewhere:)
[Connected Car] gebla:
The google version is missing on the SCT and I had no access to a version of the same Android release. If you have the Google one can you please post it?
[Connected Car] noten093:
Wow I saw it is a Volvo Diagnostic Tool. Do you have the multilingual?
[Connected Car] AAT:
He is multilingual. At the beginning of the installation language selected. Then no longer be changed.
[Connected Car] donaldta:
"Start proc" stands for "Start Procedure" or "Start Process" depending on whom you ask. If you're referring to the ones with the word "MediaEngine" those are the ones that are designed by Parrot as a plug-in for their Parrot Music Player. The Parrot AudioService manager loads them at boot to identify / enumerate which sources are available. Otherwise they won't be accessible.

Btw, I thought you were running the Google Play version of Spotify not Parrot's version.

I'm pretty sure you need also need to replace the xml & jar file for the maps API. Remember every APK runs in under a separate virtual machine and Linux user ID. So, to make it available for other apps it needs to be a part of the system framework. Otherwise, the app requires root access or a shared userId (which requires the app to be signed by the same keystore).

You can check if it is working by running "su" then "dumpsys location" in either terminal app or "adb shell".

...

I'd be curious to see the VIDA breakdown for the "Sensus Connect" that is supposingly in the 2013 week 46 Volvo S60, V60 and XC60. Maybe we can see if it is physically possible to install the SCT or if Volvo is just holding back because of similar services.
[Connected Car] AAT:
I can see... let me VIN car.

While these cars will show VIDA 2014A.