yashsingh1/xdaforums huggingface dataset:
[Connected Car] Zakraket:
Market has already been updated to Play when I started the car 30min ago. Probably missed just one reboot to finish the process. Thanx for the tips anyway :)

[MENTION=2037568]jongbj[/MENTION]: the Maps (kaarten) app by Parrot is still the same to me before I rooted. There is no turnbyturn navigation in it, just a routecalculation/routedisplay or the option to switch to iGo. I really like Google navigation for domestic (Dutch) navigation, so that's why I want the real Google maps.

(btw I know Google maps will be an older version, I actually like it more than the new one anyway ;)

edit: now I have Googlenav :) :) but of course its not on the whitelist, so getting back to the OP :)

Hmm...I would like to use the script, but I don't have experience with ADB, so the instruction "Push the script to the SCT, chmod 700 and change owner to root:" is something I don't know how to.

That is, pushing a file to SCT is in the OP under whitelist-editting, but chmod and changing the owner I dont know

Any help? Maybe add these instructions to the OP?

I have now pulled the whitelist from SCT to edit, but I already see the power of the script: manual editting leaves al kind of uninstalled apps behind in the whitelist. Better to get a clean file :)

edit: trying my first ADB steps :) Editted the whitelist, pushed it back, logged in as su, but when I

mount -o remount,rw ubi0:system /system

i get a message

mount: operation not permitted

So now my new whitelist is in /local/ ....
[Connected Car] noten093:
How did you get the Googlenav?
[Connected Car] Zakraket:
DonaldTa posted a link to an older version of Googlemaps (+nav) compatible to older Androidversions
[Connected Car] donaldta:
If you used the menu.bat to root and install the market etc then you should already have the rewhitelist.sh script installed in the SCT. All you have to do is run it though Android Debug Shell option in the menu.bat script or using terminal software, like Terminal Emulator and that will update the whitelist.xml file with the new packages.

$ su
# rewhitelist.sh
[Connected Car] noten093:
Forget it. prob took long to update. I made the wrong assumption .

---------- Post added at 09:40 PM ---------- Previous post was at 09:38 PM ----------

Dont you mean:

$ su

# rewhitelist.sh
[Connected Car] donaldta:
Yes, I do. Thanks. Updated, my post.
[Connected Car] Zakraket:
Of course, I could have known you guys already thought of everything :)
[Connected Car] noten093:
Hey Pocketrocket, I cannot seem to find the link to the right Googlemaps NAV. Could you repost the link?

Sorry, found it: https://www.dropbox.com/s/8suzxlgcdv640n8/old.google.maps.apk

---------- Post added at 11:25 AM ---------- Previous post was at 10:57 AM ----------

Hey Donaldta. Cannot seem to get the rights by FTP to alter files on my usb hard drive on SCT. How to set the rights for the FTP server?

update: Tried to set the rights 777 with ES FE. Permission Denied...

---------- Post added at 12:17 PM ---------- Previous post was at 11:25 AM ----------

Who knows a charging station app like Lovetoload that works with SCT with an "navigate to" function?
[Connected Car] Zakraket:
Almost there... I'm a Linux/android noob. So, I go into shell, then at "$" I type "su" for superuser. Then, do I type "# rewhitelist.sh" or just "rewhitelist.sh" and should there already be a "#"?

When I type "rewhitelist.sh" I get: 'Must be root"

When I type "# rewhitelist.sh" I get: "$ # rewhitelist.sh" and then I'm back at the cursor "$"

Seems the script is there, I know what I'm trying to do, but I dont have any Linuxexp. and there doens't seem to be any confirmation the script worked or didn't work

edit: pulled the whitelist (can do that :) ) and it's still the same..

Still can't use Maps while driving...,

edit: looking at the script (im a VB-programmer) I see that "must be root" is a message from the script. Seems to me that just "rewhitelist.sh" ran the script but it failed at the "then if [[ ! -f ${whitefile}.lock ]]"? There I'm lost.. :)

edit: SOLVED: I tried to do it using ADB shell (?) but when I installed Terminalemulator the script worked (without any confirmation though) because TE asked for rootaccess via SU. Google nav is working!

(minor disadvantage: Googlemaps and nav don't zoom with the dashboardcontrols)
[Connected Car] donaldta:
The "$" and "#" are called a prompts. When you see the "$" prompt that means your commands are being executed as a normal user. This mode does not have access to certain commands which are privileged to the root user. So, when you use "su" command (which stands for SuperUser) it changes the prompt to "#"; this indicates that you've changed from the normal user to root. You only have to type "rewhitelist.sh" once you see the "#" prompt.

You won't get any feedback from the script about the changes. But, you can type "tail /etc/whitelist.xml" (without quotes) at either shell prompts to see the last 10 lines of the file. As for being able to use the packages after adding them, I believe that it is necessary to reboot the SCT. You can type "reboot" at the "#" in order to facilitate it, or turn off the ignition key on your Volvo and wait for about 30 minutes or so that the SCT will power itself down. This will cause a cold boot of the SCT, the next time your turn it on your car.

---------- Post added at 07:10 AM ---------- Previous post was at 06:39 AM ----------

This is because Parrot mounts your USB drives as read-only. You seem to be fairly savvy, so typing the "mount" command will give you the list of information necessary to remount it. The command would be like, "mount -o rw,remount -t (type, 3rd column) (block device, 1st column) (mount point, 2nd column)". For example, the "mount" command by itself will output several lines showing you how the various filesystems are mounted. One of the lines in the default feedback will be "ubi0:system /system ubifs ro,nodev,relatime 0 0", so when you want to manually mount /system as read-write, you would type "mount -o rw,remount -t ubifs ubi0:system /system"

You seem to be the only one with the SCT with an EV that has rooted it. Why don't you test the various EV Charging apps available to you from Google Play and tell us?

---------- Post added at 07:30 AM ---------- Previous post was at 07:10 AM ----------

No, I use .lock files to avoid the script from clobbering over itself when being executed in automation tools, like Tasker. This prevents the script from fumbling over itself in case it is executed in multiple instances through automated methods. A human will probably never be able to do this by typing the commands themselves.

I'm a little confused here. Did you not grant root access when you typed "su" in the Terminal Emulator when the SuperUser window popped up? I guess that I forgot to mention that, but assumed that it would have been obvious. Sorry.
[Connected Car] Zakraket:
Thanks again :) for rebooting I already had the app :) I think a reboot was necessary.

Yes, I did grant TE root access. I mentioned this becasue through ADB shell (I tried that first) I got a message "must be root". So, when using ADB shell to run the script I did not have rootaccess? After that I installed TE, granted root, and from TE the script ran fine

The googlemaps from your link is older than the googlemaps on an old 2.3.7 (stock nonroot) HTC-phone Touch HD I have. At least it looks newer cause of some functionality (f.e. speaking the address instead of typing) Where can I exactly see the versionnumber of software like this?

And can/should I just copy the APK from /system/app and push it to the SCT?

Btw. earlier I mentioned Copernicus as a good GPS-kilometerlogger, but it doesn't rotate, so it works, but 90 degree turned. I think I should find another app...
[Connected Car] xadax:
The problem is that from Play most of them can not be installed (based on newer Android version or just not allowed by the developer).

I have lovetoload apk attached, don't know if it will work.
[Connected Car] noten093:
I have Android VNC_server installed on SCT . How can I send the settings or menu command for an app. Home is just pressing Home on the keyboard. Esc is for back.

---------- Post added at 03:00 PM ---------- Previous post was at 02:51 PM ----------

Thanx for the effort but no, not working. Gives an crash error. Is the command: adb uninstall nl.applab.lovetoload , the right command? It gives a: succes and the shortcut is gone. All should be gone right?

Also I have the same error with Youtube from the market. Anyone got a APK working?
[Connected Car] donaldta:
It is possible that you did not have root access through ADB. The you can tell by the prompt was it a "#" or "$" another way to tell is to type "userid" at either command prompt. I think that root access over ADB is a feature that is only provided when you get Superuser Pro or at least it was when I first tried it. So, when you opted to replace the su binary from SuperUser you lose this privilege but it also much safer.

Well, Volvo hid the Manage Application from the Settings App, but I believe it is possible that you can bring them up using Activity Manger either "adb shell am start -n com.android.settings/.RunningServices" or "adb shell am start -n com.android.settings/.applications.StorageUse". When the screen pops up on your SCT, select the "All" tab and scroll down to select the app then the next window will show the version number in the upper-left hand corner of the screen.

Maybe post it as an attachment and I can check for you. (besides it would be nice to give back to the community, right?)

You could use "adb install {filename.apk}" or copy it to your sdcard and use Es File Explorer to installing by touching the apk's icon.

Have you tried a screen rotation app? My preference is Ultimate Rotation Control since it provides a per app setting.

---------- Post added at 08:27 AM ---------- Previous post was at 08:07 AM ----------

I think you have to press the "F2" key which is not present in the default keyboard. It is available though the Hacker's Keyboard though. Though, I'm not sure if it works. I use VMlite VNC Server and if you check the video I posted earlier of ES File Explorer, you'll see that it provides a small bar at the bottom for all the standard softkeys and even rotation.

Yes, that is the correct command, "adb uninstall {package.name}" will get rid of the apk and all of its data. You can also uninstall the app from Es File Explorer's app manager and get the same results but with a more direct and user friendly method.

Btw, have you thought about troubleshooting the problems with the force close messages? There are various ways to get the logcat information from your SCT. You can use "adb logcat" or from the Android Developer Tools sdk/tool/monitor.bat if you want a gui on your computer. I even have a menu option in my menu.bat file for ADB Bug Report. Or if you want to look directly on your SCT, there are lots of logcat apps, my favorite is called Catlog.

Then you can take a look at why it forced closed or is not working and maybe get a better idea than the simple "force close" message that appears on the screen. Sometimes, the problem is a missing support file or library. And if you cannot figure it out yourself, then you can alway upload it here so someone with more understanding can take a look at the problem.
[Connected Car] noten093:
Thank you Donaldta, that did the trick. I recognized the line in the "mount" command:

mount -o rw,remount -t ubifs /tmp/udev/dev/sda1 /tmp/udev/dev/.mnt/sda1

This makes my USB hard drive writable by FTP.

Now I want to automate it. I was thinking to put a file named mountusbhd.sh in /system/xbin and then let tasker execute is. Is the above command enough to put in? How to push? I have to remount the system folder as rw? I have no programming skills whatsoever. Just looking at your scripts. Or just put the .sh on the sdcard?
[Connected Car] vandijks:
Thanks [MENTION=5389783]donaldta[/MENTION], I spend a bit of time this morning removing the apps that I installed in /system/app and installed via the proper way, with adb install, as you described it. Waze works fine now (some smaller UX errors here and there, but it is still my fav nav app) and so do Flitsnav (also some UX errors), Flitsmeister, Tasker and the original Spotify app. Google Maps/Nav keeps bugging me that my Google password is incorrect. So that is on the todo list and so is increasing volume for the original Spotify. I saw some earlier posts and if I recall correctly one of the developers wrote a little tool to solve this. I am quite happy with how the unit works now.

Future wish list :);

- being able to swap the original SD card with iGo for a larger one. It is only 4GB, leaving very little space (iGo is 2.7GB) for storing my offline Spotify library. Alternatively perhaps the spotify cache location could be redirected to a USB stick? Oh, FYI, the iGO app seems to look for an ID linked to that specific SD card.

- figure out where the original e-mail client stores its settings. I have added my mail account to test but the interface is not great. There is no option to remove the account other then restoring the whole unit apparently to factory settings. How weird...

- for enhanced user experience it would be awesome to be able to add/remove apps to the loader. Now idea really how complicated this is though.

- And it would be great for apps that do not natively support the steering wheel buttons and the 'MMI'-menu button to add some sort of emulation to add support.

But hey, I am not complaining at all :). After the initial disappointment in the way Volvo supports the unit (no new apps since shipment and the useless iGo app), it seems that with the help of everyone on this forum it turns out to be a not so bad head unit at all. Thanks!
[Connected Car] noten093:
Hello Donaldta. This is what i put into mountusbhd.sh. I put it in xbin and did CHMOD 744.

#!/system/bin/sh

mount -o rw,remount -t ubifs /tmp/udev/dev/sda1 /tmp/udev/dev/.mnt/sda1

When i execute mountusbhd.sh from terminal it does not have any effect. What did I do wrong? Also it does not find the file. I have to specify the folder.
[Connected Car] Zakraket:
This is the Googlemaps that I pulled of my stock 2.3.7 Desire Touch HD

https://www.dropbox.com/s/ka8god9nj9gnv96/Maps.apk

And I have copied the entire "iGo"-SDcard to a 32Gb MicroSD with SD-adapter and yesterday and today iGo worked without any problems. Hiope it keeps working, else it's not a big problem, I'll just put the 32Gb card in one of the USBslots.

Sounds like bad designing or just a quick job ... too bad. I like it, but I was also going to ask how I would get Googlenav in the launcher.

Is it a matter of freezing the Volvolauncher and trying another one? What happens if you just freeze the Volvolauncher?
[Connected Car] donaldta:
Interesting. Just checking, it is in "/system/xbin" directory? I guess something to check is "cat -e (scriptname)" This will show you the file and all the hidden characters. If you see ^M characters at the end of the lines then Unix/Linux are interpreting it as actual character and changing the line syntax. This is usually caused from writing your files with a lowbrow Windows text editor, since they like to use Carriage Returns (CR) & Line Feed (LF) characters at the end of the line. If you want to avoid this try using an app like SciTE where you can view and specify the end of line characters for your Linux scripts you just want "LF" not "CR" or "CR + LF" characters at the end of the line.

If this is the issue in your case then you can use dos2unix to remove the CR (^M) characters.

# [B][COLOR="RoyalBlue"]cat -e test.txt[/COLOR][/B]
cat -e test.txt
This is a test of the national broadcasting system.[COLOR="Red"]^M[/COLOR]$
This is only a test.[COLOR="Red"]^M[/COLOR]$
# [B][COLOR="RoyalBlue"]dos2unix test.txt[/COLOR][/B]
dos2unix test.txt
# [B][COLOR="RoyalBlue"]cat -e test.txt[/COLOR][/B]
cat -e test.txt
This is a test of the national broadcasting system.$
This is only a test.$
#

---------- Post added at 12:26 PM ---------- Previous post was at 11:29 AM ----------

Interesting, I was not able to install your APK onto my Android Virtual Device (Failure [INSTALL_FAILED_DEXOPT]) nor fully decompile the package. This probably means that your your Desire Touch HD has a unique /system/framework/framework-res.apk file. You'll have to check the version number yourself from the actual device. It should be under the Settings app in the Manage Application (or something similar) could be renamed.

I think that "bad design" is a relative term to the developers intention. As Android users, we want to use the Android platform in an open ecosystem with a launcher that is dynamic and easily customizable. However, Volvo seems to be satisfied in providing their customers with a restrictive ecosystem and a fixed user interface that complies to their "Volvo experience". So, while we may see this as a poor design, it is probably very much intended so that the SCT conforms to their totalitarian design.

Though, we should consider that this is only the initial release of the AcuHome launcher. There aren't apps in the Asteroid Market for the SCT that isn't already included in the PLF. Well, except for Wikango but that is already accounted for in the FactorySettings.json file. Who knows? It is possible that they might redesign it to be more dynamic in the future . However, for now it seems like its very much hard coded with limited potential for change.

All freezing an app does is using Package Manager to disable the respective package. So, for example, "pm disable com.android.browser" will disable the browser package so that it will not launch but then "pm enable com.android.browser" will allow it to be launched. If you freeze the only launcher on your SCT then you won't have access to do anything. It's kinda like saying, "What happens when I disconnect the power plug for my TV?"
[Connected Car] Zakraket:
Thats why Im asking :)

The Maps on my phone is 6.14.4 Maybe its the fact that I just copied it from the systemfolder using ES that's causing the installationproblem for you?
[Connected Car] donaldta:
Nope. That's what you would normally do to share an APK. This just means this particular APK cannot be used on another device unless it shares the same source code as on your phone. Some manufacturers customize their own branch of the Android Open Source Project (AOSP) code to customize the functionality of the device and related packages.

Anyways, your phone's map.apk the exact same version as the other one. So, what exactly is missing?
[Connected Car] Zakraket:
The startmenu looks a little bit different (might be SCT "theme"), and on my phone there's an (very handy) option to speak the destination. I dont have that on the SCT, not this afternoon at least. Maybe that's some kind of integration with some google-voice app/technology that's not in the SCT (yet?)?

Maybe I'm just seeing things, I'll try to make a proper comparison with screens in the next days
[Connected Car] donaldta:
.

Well, this could be one of those things where the support components are not installed. If you're willing to experiment then download the zip file I included with this post.

Inside you'll have the libvoicesearch.so and Voice Search_2.1.4.apk files. You'll need to remount /system as read-write via "remount.sh system-rw". The libvoicesearch.so file needs to be copied into /system/lib and "chmod 644 /system/lib/libvoicesearch.so" then you can install Voice Search_2.1.4.apk file. This should enable voice search for maps and various other programs.
[Connected Car] xadax:
Lovetoload is installable and working fine on SCT (tested by myself), with adb install (and reboot afterwards):

adb install nl.applab.lovetoload_1.1.apk

Make sure the cache extended by moving the to sdcard with the scripts mentioned in this thread. I guess Youtube will be installable as well.
[Connected Car] AAT:
Youtube

Yes. Only works well Youtube 2.5.16.
[Connected Car] noten093:
Thanx. Installed your APK and it works. Now Play asks to update it. Should I allow this?

---------- Post added at 12:13 PM ---------- Previous post was at 12:11 PM ----------

Lovetoload still not working. I install by clicking on it in Es File Explorer. Still have to try with adb.

---------- Post added at 12:16 PM ---------- Previous post was at 12:13 PM ----------

Great. All works. Maps Navigation and voice recognition. But when doing the voice command I have to click in thw search bar and then the keyboard opens. Then I have to press go back. Then I press on the mike icon. Greatest navigation so far but to much pressing while driving.
[Connected Car] AAT:
Youtube

No! Above this version only support Android more than v3.*.*(At SСT Android v2.3.7).
[Connected Car] getiem:
I added the warning message of [MENTION=5389783]donaldta[/MENTION] to the OP.

At the moment very busy weeks at work and home, so did not have time to read the rest of the postings thouroughly. If you feel there is anything wrong in the OP or anything should be added, PM me.

At this time, there are still some open questions that I promised to test on the SCT. Maybe someone else has time to do now:

Can we use Asteroid Tweaker, as mentioned by Donaldta almost a month ago, and link is in OP

Can we access all the custom (normal android) settings menu's using the AM commands provided by Donaldta almost a month ago

[/QUOTE]
[Connected Car] AAT:
Asteroid Tweaker

I tried. Installation fails - window appears incompatible package.
[Connected Car] donaldta:
.

It would be nice if someone can submit the logcat messages for this. We might be able to troubleshoot why it is incompatible.

From the above logcat, the problem is related to "com.parrot.asteroid-legacy" which on the Asteroid (and probably the SCT too) is defined in the "/etc/permissions/com.parrot.asteroid.xml" file and points to the "/system/framework/com.parrot.asteroid.jar" file.

So, to get past this error on my device then I would have to copy both files into my device into the appropriate locations with the correct ownership and permissions. However, this is probably not the same issue for the SCT and I would be very hesitant and cautious to replace core Android files from the Smart. But, adding missing files is another condition. ;)

This is the process which I use to troubleshoot most installation conflicts. You can also do similar steps with force close issues by launching the applications by their intent using Activity Manager instead of installing with Package Manager.

Btw, here's a little pro-tip for finding intents. If you want to find the intent for a particular package then you can get a list with this string of commands, "dumpsys {package.name} | awk '/filter/ {print $2}' | sort | uniq".

That will give you a list of the various intents registered to your device by the respective apps' "AndroidManifest.xml" file. To launch the respective intent you would use, "am start -n {intent}".

However, depending on the Android device some of those intents will be invalid due to missing support files or hardware components. So, the only way to know for sure which work for your device is to test them. This is an excellent way to access some functions that were intentionally hidden by the manufacturer. And in case you need a list of packages installed use, "pm list packages", and it will list all the applications that you have installed by their package name.
[Connected Car] noten093:
My app list

Tasker ( boots programs)

Tasker enables wifi at boot

GPS tracker ( booting, track cars' position and message when driving= anti theft)

Flitsnav ( booting, speedcam warning)

FTP server ( booting, to access usb hard drive in combination with Ipad from kids who stream movies from it with AVHD. Also gives me access to the hard drive from home when the car is charging)

VNC server ( booting, access from home)

Spotiy (booting for instant voice function)

Google Nav with Voice recognition

Youtube