yashsingh1/xdaforums huggingface dataset:
[Connected Car] jaanusj:
Has anyone tried the Parrot devices with USB OBD II devices?

The biggest advantage of the SCT is that this device is already connected to CAN and LIN bus. I am not sure if it is connected to both Volvo CAN buses(high and medium speed) but it has connection to medium speed CAN.

The medium speed CAN used by SCT is for connecting to the CEM and most of the internal electronics - climate control and other modules but the cheap OBDII ELM327 devices are connected only to high speed bus and are reading only diagnostic data.

So it would be very interesting to know what kind of data SCT reads from can and what data it sends to bus(if any) ?

For example you could use the SCT to control some car functions - turn on the heater or ventilation via e-mail(tasker).
[Connected Car] xadax:
See one page back: http://xdaforums.com/showthread.php?t=2449005&highlight=obd

Currently I have OBD II over Bluetooth working. OBD Car Doctor and Torque Pro are working fine. It took some tries with OBD Car Doctor to get the Bluetooth pairing to work, but after entering the pair code it was working fine. I did not need Auto-Pair for that. Torque Pro is looking very good on the SCT screen.

I also wrote the can-bus may be accessible from the SCT (Parrot FC6100) directly, which would be even better and create some interesting possibilities, but I have no information about that.
[Connected Car] donaldta:
There seems to be a little bit of a fuss regarding remounting filesystems. So, I decided to create a script called, "remount.sh". I recommend that this script be copied to the "/system/xbin" directory and give it the "chmod 755" permissions. It will facilitate "re"mounting the /system filesystem as read/write or read-only. Additionally, it can remount the sdcard block device as /cache or return it to the original mount device WITHOUT needing to reboot. It features an optional tetrary argument for "feedback" if you want to see the command and results. And, it can be used without feedback in cases when you might want to use it in another script or automation where it is unnecessary.
[Connected Car] AAT:
I recommend between step 4 and step 5, add the test root - test_root.bat (or add to root.bat script).

And also to use pause, to see the results of commands. For example:

@bin\adb push libframalib.so /data/local/.
@pause
@bin\adb push sploit.jar /data/local/.
@pause
@bin\adb shell mkdir /data/local/tmp/dalvik-cache
@pause
@bin\adb shell LD_LIBRARY_PATH=/data/local dalvikvm -cp /data/local/sploit.jar com.alephzain.framaroot.FramaAdbActivity
@pause

Alternatively, you can use the cmd /K to be able to enter more commands.
[Connected Car] donaldta:
I tried your script(s) from cmd-frama-pack.zip and it seems there are few syntax errors. For example, root.bat seems to be missing, "ANDROID_DATA=/data/local/tmp" which is causing the following output.

Executing FramaAdbActivity
Dalvik VM unable to locate class 'com/alephzain/framaroot/FramaAdbActivity'
java.lang.NoClassDefFoundError: com.alephzain.framaroot.FramaAdbActivity
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.alephzain.framaroot.FramaAdbAcivity in loader dalvik.system.PathClassLoader[/data/local/sploit.jar]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
... 1 more

Also, "@adb shell su root -c 'mv /data/local/*.apk /system/app/.'" from install_market.bat is trying to move a file between filesystems which will cause cross-link errors.

As I was troubleshooting the problem(s), I decided to replace your three batch files with a single file called, "menu.bat" and added my remount.sh & rewhitewhile.sh scripts to the archive along with the ability to use sed command to change the build.prop file. I decided to redesign the batch file so that it is more agnostic to the different devices and not specific to the SCT. Theoretically, it should be able to be used on any device that can be exploited via Framaroot regardless if it is connected via WiFi or USB.
[Connected Car] AAT:
There is the question. Not connected by VPN.

I enter the correct settings, VPN server works fine, others are connected.

There are idea? Can check?

VPN configuration on the screenshot.

yes yes ...easier way

@bin\adb connect Your_IP_HERE
@cmd /K

then copy-paste the rest :). but it is not automatically...
[Connected Car] gekkekoe123:
Cool guys. I don't have an actual unit but the bat files by donald looks fine. I also forgot about build.prop. the menu should be easier for newbies. My emulator had root already so it did not show the cache errors.

Fully automated is kind of difficult as you need the sct ip. Obtaining ip is not that hard. Also the tool i made is not restricted to sct. On all devices that framaroot supports, this should work. Especially on devices where its hard to install packages like sct

I also found a small error in my tool and patched it en repacked Donalds package. Also I merged the build prop with install market since market is worthless whitout this.

I also added an apks folder where ppl can put in there own apk and have them installed. Users can now fill up the folder with apk that they want to install and use menu.bat to install it. Handy for apks > 7mb.
[Connected Car] xadax:
With me, over Wifi the SCT IP is always the same: 192.168.43.1

It could be the same for all units.
[Connected Car] gekkekoe123:
no its not. It totally depends on your dhcp server.
[Connected Car] xadax:
The SCT is the Wifi hotspot, I don't have a DHCP server, only a laptop connecting to the SCT, so the SCT determines the IP of the host (SCT) and the client (laptop).
[Connected Car] Boebz:
Can't make it work

Many thanks all off you here. :good::good:

I tried to follow the first post with all the manual code to be entered, that did not work out.

Now with this method, the command prompt starts, but when I push a key as asked the command prompt screen disappears...
[Connected Car] donaldta:
That's because you're meant to open the command prompt manually and type out the command as shown in the example before the screen disappears. The easiest way to accomplish that is to hold down the [Shift] key while Right-Clicking an empty space inside the folder where the files exists. This will show you a popup menu with the "Open command

w

indow here" option. Once the window opens you're supposed to type, "menu.bat (ipaddress)" or "menu usb" whichever is appropriate on how you're going to connect to your Android device.

I'll try to see if there are are alternative ways to input this information. My DOS scripting skills are a bit rusty, and I didn't anticipate that "usage" information on the screen would not be enough of a hint on how to proceed.
[Connected Car] Boebz:
It works!! Get error 498 now with large apps

Great it works!!! Many thanks again to all of you who have contributed :good::good::good:

Now I tried to install some apps using Google Play, that works. Other (larger?) apps like booking.com and tomtom won't install yet, I get message 498
[Connected Car] donaldta:
New version

For the record, I wasn't referring to your jar and so files. I was referring to the batch files that was included with the "cmd-frama-pack.zip" file. For example, the "mv" and "ubi0:system" are applicable only in specific cases. That's why I contributed replacement scripts to make the process more device agnostic.

Had to undo some of your changes. Originally, I authored the menu selections so that they would be performed in sequence; 1, 2, 3 and so on. However, your changes interrupted the logical progression by placing the install apk option prior to changing the build.prop file. This would force users to jump around sequence or otherwise the installation of the custom apks would fail.

I decided to split the process to modify build.prop from installing the market. It seems like your idea behind this was to add your INSTALLAPK subroutine without increasing the number of choices. The reason I returned it back to segregated options is because some people might only need to change their build.prop file or have an Android device that doesn't have the "ro.parrot.install.allow-all=false" in their build.prop file. Again, another step in making the scripts more universal.

The other problem was your INSTALLAPK subroutine. For some reason, you seem to want to compel others to continue performing "dirty installations" which does not have consistent working results with various APKs. In fact, there are a couple of users whom reported problems with trying to use applications after using it. It is one to thing to add Google Core Service packages this way but one can get varied results with third-party applications. If someone wants to push third-party packages into /system/app, then it is better to perform a standard installation then use another app, like Titanium Backup to "convert to system app", to safely add it to the system rom image.

Another problem with this routine is that you do not remove the files left over in the "/data/local/tmp" directory, so APKs "installed" by this method will unnessarily consume twice the internal storage space. That means problems with low internal storage space can come up prematurely especially in a looped routine where a user may have several large APKs in the folder.

I did not remove the subroutine completely. However, I did add alter the choices to redirect it to a modified version of your routine using the proper installation technique. So, if someone wants to explicitly use your routine then they can edit the batch file to switch "REM" prefix between the different statements.

Okay, I added a little more logic to the "menu.bat" script. Now if the command line arguments are blank, like when you click on it from the Windows Explorer, it will ask you to input the IP address or USB before falling back to the "Usage" recommendation. I also added the ability to retry the input process as a menu choice so you can reconnect to a IP connected device after a reboot or try another address.
[Connected Car] jongbj:
Where did you get the apk for flitsmeister? I found version 2.1 on the web but it won't update and Google Play keeps insisting the current version is not compatible with SCT and will therefore not install.

Thanks.
[Connected Car] donaldta:
This is a known SCT issue. The problem is that Google Play's destination for new APK downloads is /cache. However, this filesystem on the SCT is only 7MB. This limits the size of applications that you can initially download through Google Play with the SCT. There are several ways to get the applications using another device and uploading into your SCT.

However, I created the "remount.sh" script to overcome this problem. It is included it with both versions of the "cmd-frama-menu.zip" files. You can use this script to temporarily mount the SD Card as /cache giving it a larger repository prior to when you want to download application that larger than 7MB through Google Play on the SCT. To overcome it, you'd use "remount.sh cache-sd" to facilitate it. There are several ways to execute it, like through Tasker or a local Terminal Emulator, but here are some ways you can do it with the software that's provided

C:\cmd-frama-menu>[B]bin\adb shell su -c remount.sh cache-sd[/B]

or through the menu.bat's Android Debug Bridge Shell option

List of devices attached
10.203.40.58:5555 device

1 - Copy Framaroot files and execute.
2 - Install remount.sh into /system/xbin and remount as writeable.
3 - Alter /system/build.prop to ro.parrot.install-all=true
4 - Install Google Framework & Android Market.
5 - Install rewhitelist.sh into /system/xbin and execute.
6 - Android Debug Bridge Shell
7 - Android Debug Bridge Bugreport
8 - Reboot Android Device
9 - Quit

PICK A NUMBER (1, 2, 3, 4, 5, 6, 7, 8 or 9) 6

$ [B]su[/B]
# [B]remount.sh cache-sd feedback[/B]
mount -t vfat /dev/block/vold/179:1 /cache
/dev/block/vold/179:1 /cache vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
# [B]remount.sh cache-og feedback[/B]
mount -o rw,nosuid,nodev -t ubifs ubi0:cache /cache
ubi0:cache /cache ubifs rw,nosuid,nodev,relatime 0 0
#

Then you can use "remount.sh cache-og" or reboot the SCT to return the /cache filesystem to the original device. The reason why we don't want to make this permanent is because the internal storage space is faster than the SD Card memory and is designed for a higher number of rewrites.
[Connected Car] Boebz:
Many thanks for your fast feedback

I did this:

MAKE A SELECTION (1, 2, 3, 4, 5, 6, 7, 8, 9, R or Q) 8

$ su
su
# remount.sh cache-sd feedback
remount.sh cache-sd feedback
mount -t vfat /dev/block/vold/179:1 /cache
/dev/block/vold/179:1 /cache vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=07
02,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixe
d,utf8,errors=remount-ro 0 0
# remount.sh cache-og feedback
remount.sh cache-og feedback
mount -o rw,nosuid,nodev -t ubifs ubi0:cache /cache
ubi0:cache /cache ubifs rw,nosuid,nodev,relatime 0 0
#

Looks the same as your post but it did not work for me

I still get message 498 with bookings.com and tomtom
[Connected Car] donaldta:
!

Maybe I didn't make myself clear. The "remount.sh cache-sd" command increases the /cache filesystem size by using the SD Card, while "remount.sh cache-og" returns it to back to the original 7MB internal storage device.
[Connected Car] bluesbroeder:
I used the one you can download from page 8.
[Connected Car] fmpin:
First of all THANK YOU to everyone is working on this thread ! And special thanks to getiem and gekkekoe123

I'm so happy that now I can really use my SCT !

I've a problem with the app of Spotify .

I've installed the one from Google play store that is totally different from the SCT one (with all the real spotify functions)

To install the app like all the other I've used this lines:

# umount /cache

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

# df /cache

The apps works immediately after install but if I reboot the system the app start with an error : "SD not found"

If i repeat the code # umount /cache # mount -t vfat /dev/block/vold/179:1 /cache# df /cache

It works again but it is not permanent...

There is any way to fix it permanent (that can be useful also for install other big apps from the store)

Thank you very much
[Connected Car] donaldta:
.

You do NOT want to make this permanent as it will shorten the life of your SD Card where the iGo maps are stored and will often give your strange and quirky errors like this. This workaround should ONLY be used when your downloading large applications from the Google Play store. Once you're done then you shouldn't start the app until /cache has been returned to the default device.

To fix your problem try using ES File Explorer's App Manager to backup Spotify. Then uninstall the application and reboot the SCT so that all the mount paths are back to the default. After it reboots use Es File Explorer to go into "/mnt/sdcard/backup/app" and install Spotify from there.
[Connected Car] fmpin:
Thank you !

I hope I've not yet create a problem on my SD...

I'll write you a PM to understand better the procedure with ES file explorer
[Connected Car] jongbj:
Thank you, I missed that one.
[Connected Car] getiem:
I added the one-click script with menu as first option in the instruction set in the OP.

Any comments on OP, please report them to me or here in topic.
[Connected Car] jongbj:
Perhaps collect all files added to this thread, and attach them to the OP. Saves searching through the thread for all the files.

If granted, I will be more than willing to help collect all the files.
[Connected Car] fmpin:
Gps navigation system

I've buy and install TomTom from google Play store

It work stand alone (quite slow but works) but if other apps are running (ex Spotify or PlayStore in background) everything is very slow, Tomtom is jerky and the music from spotify continues to stop for seconds.

Probably TomTom was not a good choice :(

Anyone known a good app (offline map) than can be used without to much system resources ?

I've not buy the original Volvo IGO, it is possible to install it from play store ?

Do you think it can works better than TomTom ?

I think also that one problem of very slow apps is that a lot of apps are preloaded on startup (Es. playstore, TuneIn, Deezer), there is any way to disable the automatic startup of this apps ?

I understand that you are working on it, can I try something without compromising the system ?

THANK YOU VERY MUCH
[Connected Car] donaldta:
It is actually not possible to re-attach the all the files from this thread to the OP. There is a limit of 20 files that can be attached to any post. I found that out when I uploaded those files from the Asteroid Market. However, he could link to the attachment(s) of another post or link directly to the post(s) with attachment(s). I don't know if XDA had placed a max threshold on links per post though.

If you want to help then you could mock up a private message to [MENTION=941448]getiem[/MENTION] as an example of how the linked APKs should appear in the OP. It seems that he is more than willing to modify the OP based on helpful contributions of its users, especially if they do the work for him.

Actually upon starting, Android "loads" ALL the APKs in /system/app directory; however, these apps aren't being executed. Their APKs are being parsed to set up all the necessary components to support them for when you want to use them. This is because apps in this directory aren't technically installed to a point where all of their support files are kept in the /data/data/{package.name} directories. This process is done dynamically upon boot to ensure that the system conforms to setup by the manufacturer's system rom.

It does not keep these apps running in memory though. Android has a fairly good dynamic memory allocation process that loads and unloads apps as necessary. In fact, you can get into lengthy discussions with other XDA users who will say that force closing an app will use up more resources than letting Android manage itself.

Quite possibly in your case, Spotify and TomTom could be fighting for resources. Since Spotify distributes DRM'd music, your SCT has to decrypt the files before or while playing them. So, when you add the shortest route processing of TomTom, it might be a little too much for it to handle. Have you tried playing your own music connected to the SCT and not streaming from the cloud? or maybe just using Parrot's version of Spotify instead of the one from Google Play.

Something that nobody has bothered to help me with is the results of "cat /proc/cpuinfo" for the SCT. This provides the information of the CPU as Linux is able to see it. It might be helpful to determine whether or not this is the result of a weak processor. Perhaps you can retrieve this information for me. From you laptop, the command would be "adb shell su -c 'cat /proc/cpuinfo'"

In any case, the navigation APK for Volvo's version of iGo comes pre-installed with the SCT's ROM regardless if you buy it with or without the navigation package. However, you cannot actually use the program without the SD Card that comes with the iGo maps (which I guess accounts for the $75 to $100 price difference from the Volvo dealership). So, you cannot just buy it from Google Play.

As far as third-party recommendations, I hear Sygic is pretty decent software from other Asteroid Smart users. Personally, I use TomTom app from Google Play not the Asteroid Market but then again, I have the Asteroid Smart and not the SCT.
[Connected Car] fmpin:
I think I understand what you are telling me... but I've the feeling that when the play store start everyting seems to bee a little be slow...

Yes actually I'm using only the original parrot version of spotify and the music is downloaded (the play store version is slow also if tomtom is not working)

If I keep Spotify (media player) in foreground and tomtom in background I can here the music quite well with only a few stop, but with tomtom in foreground nothing to do :(

SURE ! I'll do it for you tonight

More than 200€ in Italy ! No comment ... but you understand why I'm looking for an alternative...

I'll try Sygic as soon as possible, but if I can use the tomtom that I buy I'll be happy :o

The same I bought yesterday ! So... probably I make a mistake ? The one from Asteroid Market can be more Optimized ?

I can buy also that one to try but I do not want to reach the 200€ of iGo :D

Thanks !
[Connected Car] donaldta:
Actually, downloaded music from Spotify is not the same thing as your own music. The music from Spotify is DRM'd so it has to be decrypted in order to play even if it is downloaded to your device. They do this so that if you discontinue the subscription that you cannot continue playing the music downloaded on your device. That's how they prevent piracy.

However, now I am beginning to wonder if the problem isn't a matter of resource availability but how Parrot implements their "conformity through inconvenience". You might want to consider reading this post or the rest of the thread on pages 38 & 39. I don't know if you have access to Amazon MP3 or Google Play Music but you can try uploading your own music to their cloud services then download them on to your SCT and play them locally through their respective apps while using TomTom as opposed to Parrot's Music Player that would be a good test if this is the case.

Thanks, I appreciate it.

I don't know about the navigation software from the Asteroid Market, but clearly the music apps that are integrated Parrot's Music Player framework have been optimized. The one thing I would be worried about from buying software from the Asteroid Market is if Parrot has the staying power as Google. Because if Parrot ever goes belly up then your license for TomTom from the Asteroid Market would become worthless.
[Connected Car] fmpin:
Yes I can try with Google play music but also with some music on the SD

And I'll let you Know !

I totally agree with you and this is also why all this your work it's very appreciated !

---------- Post added at 06:23 PM ---------- Previous post was at 06:05 PM ----------

You are really very kind so I take advantage from some other questions...

I have downloaded rewhitelist.sh

However, when I try to use the command: adb shell su -c rewhitelist.sh

The system says: "rewhitelist.sh not found" ...so I have to do it manually each time...

rewhitelist.sh is in the same folder where I have all the other files like libframalib.so or Market-3.3.11.apk

Any suggestion?

There is any way to start Spotify at the system startup (it will be nice start playing music but I think it's impossible)

I have installed a program called "AutoStart - No root" (https://play.google.com/store/apps/details?id=com.autostart)

But I do not like it because seems to slow down the system startup too much.

I've also installed a Task manager I've choose: Task Manager (https://play.google.com/store/apps/details?id=com.rhythm.hexise.task)

I don't know if it's a good one but my idea is that sometime it cannot close the applications (as Play store that I think slow down the system)

So if you have any other suggestion or I'll keep this one

If I'd like to try some apps from asteroid market how can I use it ? My Asteroids market contains only Volvo apps...

Thanks !