yashsingh1/xdaforums huggingface dataset:
[Connected Car] gekkekoe123:
init scripts are only ran during boot. with the stuff they are doing in those script, you require root access anyway (remounting stuff as RW). the ownership in that case is irrelevant (org file wasn't suid root). But let's cut the discussion, I agree that it's nicer to set back the org ownership but I still convinced unneeded in this case
[Connected Car] donaldta:
*sigh* Fine, I'll drop it. There's no reason for me to try to reason with someone whom doesn't the understand significance of putting a dot in front of the path name.
[Connected Car] gekkekoe123:
Maybe you should have read what I've written. The dot was fine since we are in the root folder. Hence the parrot files uses that too, and thus they assume to be ran in the root folder. So It did not matter in that file. How hard is that to understand?

But anyways, mission accomplished and I will stop posting here. There's no honour here.

Keep in mind that

1. I found a way to run frameroot from the cmd line and wrote the tool to do that.

2. I pointed out how to use setpropex and use it to override properties as root in order not to have overwrite jar files/initrd

enough said. Good luck when volvo/parrot releases the next firmware update.
[Connected Car] RichieB:
Guys, stop quibbling. There is a lot of honor in this team work. Well done! Thanks, both of you.
[Connected Car] dongwenxuan:
[MENTION=2984707]gekkekoe123[/MENTION], thanks to your excellent work. Please don't take this personally. We are here for the same purpose to help.

---------- Post added at 10:46 PM ---------- Previous post was at 10:41 PM ----------

One good thing for the new version is, it set a single icon for m.youtube.com on the home screen.

So that we can easily access it than trying install a youtube app. Also, I noticed that an update of iGO has been installed with newer version.

Is there a way to set whitelist running automatically instead of running it manually every time when new app installed?
[Connected Car] donaldta:
Yes. If you use Tasker then you can create a profile which runs the rewhitelist.sh script after every complete install. If you give me a few, I can update this post with the Tasker profile/task that I use.
[Connected Car] nik.innni:
Idio...t proof?

Hi! ...and first of all:

1) WOW, all the content is AMAZING! Clearly, tons of knowledge!!!!

2) Thanks for sharing! ...highly appreciated! ....makes the world a better place!

And... 3) ...as you might figure out very quickly, im not highly familiar with coding, rooting, etc. Actually, i know nothing about coding....but, I love tech...and have recently installed the SCT in my car. Its the first Volvo in my country to have it...was quite a challenge!

So, I definetely want to root it and be able to install any app...but given my lack of knowledge i dont dare to root it manually.

And...

I was wondering if the "one clic script" is actually suitable for non coders like me!

Is it just connecting on same IP and ...run the .bat?

Will i be requiered to do something else? (YES, i am afraid, and im sorry to be asking this)

Any help will be much appreciated!

THANKS!!!!!!!!!!

nik
[Connected Car] xadax:
The . (dot) followed by a space (or use the 'source' command as an alternative) has nothing to do with the file path. It is a way to execute a command within the current shell (so no new shell is forked for the command executed). This has the effect that environment variables of the current shell are available and modify-able by the executed command(script).

So omitting the . in this case could have a negative result (depending if you wanted to change environment settings from within a called secondary script for instance).
[Connected Car] donaldta:
There was no space before that dot for the suggestion. You may have seen that from the stock script above the suggested addition.
[Connected Car] dongwenxuan:
Anyone could update the 1st post so that all the new comer will know how to root the latest version?
[Connected Car] getiem:
I will update it later on with full instructions. For now i will point to the right post.

Is this script pure for 1'49'34? Or also usable for earliers?

Many thanks for the teamwork and special thanks for [MENTION=2984707]gekkekoe123[/MENTION]

Verstuurd vanaf mijn GT-N7000 met Tapatalk
[Connected Car] fmpin:
Upgrade ?

Hi

I've currently 1.47.88 installed.

Do you suggest me to upgrade to the last one or keep mine ?

Thanks a lot
[Connected Car] Zakraket:
Great work guys! :good::good::good:
[Connected Car] Aemsn:
Update from 1.47.96 to 1.49.34

Hi guys.

First of all I want to say "thank you" for this solution. I rooted my SCT (1.47.96) some time ago, have the play store and was able to install waze and other apks, and now I have a pretty usable system.

Now for the update to 1.49.34.

Do I need to do all the rooting steps again? I think I need to do a standard upgrade within the settings. Is everything discarded with this step? Or is the only thing I need to deal with after the upgrade the integration of the setpropx in the startup procedure?

Thanks for helping me out here. :crying:

Ciao

Armin
[Connected Car] RichieB:
I'm getting ready to use your new menu.bat, but I don't like the idea of completely replacing init.parrot.capabilities.sh

I know it is fine for 1.49.34 but I think this is more future proof:

bin\adb shell su -c "sed -i '/^#!/a /system/xbin/setpropex ro.parrot.install.allow-all 1' /etc/init.parrot.capabilities.sh"
[Connected Car] RichieB:
Ok, I just did the upgrade with my modified menu.bat that just patches init.parrot.capabilities.sh. It went very smooth. All my apks and mods came right back. The only things I had to do afterwards:

Lower ro.sf.lcd_density in /system/build.prop

copy libvoicesearch.so to /system/lib

copy com.parrot.ActiveSources to /system/app

Sign in to Google Play account

The interesting thing was that the Parrot Asteroid version of com.parrot.mediaplayer.apk was preserved since I installed it in /data/app. I had not expected that.

Overall a very easy upgrade, almost no hassle. Thanks a lot [MENTION=2984707]gekkekoe123[/MENTION] and [MENTION=5389783]donaldta[/MENTION].

[MENTION=941448]getiem[/MENTION]: can you add this zip to the start post?
[Connected Car] dee2710:
Menu.bat

Hi, my compliments to the gentlemen. :good:

When I open it I see menu.bat

is it true?

see picture
[Connected Car] RichieB:
As the message says you need to run it as "menu ipaddress" where ipaddress is the IP address of your SCT. Open cmd.exe first.
[Connected Car] dee2710:
Even hang it gets a little clumsy, but I'm not quite out there .. I sit in the car and the SCT and laptop at the same IP Address on my iPhone I have the zip file is extracted and put on hard disk (desktop) and open the menu.bat. After starting I see the same message as in the picture above the tropic. Should I start with an a cmd.exe command. In the previous menu.bat I could enter the IP Address and had connection. Now he geeftt that I have to press a key and then jumps off the menu. Do you mind to give about how I should do it for a moment. Understandable explanation my thanks will be great.

tnx

tnx
[Connected Car] RichieB:
I seems the new menu.bat was not created form the latest version that could indeed be doubleclicked. I fixed that now. It seems not everyone here understands how to run menu.bat from a cmd.exe shell. Try this version.
[Connected Car] chapeau_melon:
Hi there,

I did the upgrade to .34

I downloaded the V4 version the latest of the menu.bat...

I think unfortunately something is not going as it should :

Between every single step in the menu.bat ... I do a reboot !

1 seems to be OK

but then for 2 I already receive the message : read only file system :(...

What now ? What am I doing wrong ? (see attached image)

Thanks in advance ...

PS: I lost ESFileexplorer - I do not have access to Play, because I need to log in and if I do I'm kicked out of the program ?
[Connected Car] RichieB:
Why would you do a reboot between every step in the menu? Just do all the steps in order. Only reboot when you are done.
[Connected Car] chapeau_melon:
Anyway...the problem is the same...I did like you said the very first time.

No success.

Then I thought maybe the 'rights' had to be implemented with a boot.

No success.

Also I can't seem to install the SEFileexplorer cause APK not valid ?

Hmm...I'm stuck...

What could I do wrong that the rights aren't implemented ?

Thanks !
[Connected Car] noten093:
Hey guys,

Thank you for cracking the new update. Did the update this morning followed with the latest menu from RichieB.

Smooth from step 1 to 6. Took me 10 minutes. Great job Gekkekoe, Donaldta, RichieB and all other hacking cowboys !

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Connected Car] chapeau_melon:
Never mind...I gave it a try again...in between the I let the SCT completely shut down...and guess what...it works now !

Why, I don't know...

Thanks anyway !!
[Connected Car] drandy2:
I can confirm, latest firmware still gets rooted by latest menu, just loop 1 till 5 and its done, step one is taking some time, keep that in mind. Btw cant find google maps/nav or flitsmeister, probably of older version of google store (not play) is there a way to get te latest version, or to get the latest apk.s?
[Connected Car] noten093:
Hey... you can use XDA Market Helper

http://xdaforums.com/showthread.php?t=2146216
[Connected Car] santu001:
I recently started using Aptoide. I is very easy, and you will be able to download everything and by pass device compatibility. You can easily download and update the latest flitsmeister, google chrome and other free apps. No need to register or root.
[Connected Car] Edenees:
Great!! The same for me. THANKS!
[Connected Car] santu001:
Indeed. Although I don't really feel the need to update as of yet, thanks to you guys I have an option. Maybe the need changes... Without your efforts , this wouldn't be possible. It changed my view - and standards - on in-car multimedia altogether. :good:
[Connected Car] mushroom62:
Great Job

Guys, thanks a lot. This weekend I succesfully rooted the SCT using the one click option. I managed to install lots of app's on the SCT via Google play. I only have to find a google maps app that works, because the latest one is not compatible with the SCT. I'am still working on the resolution and the white list. All in due time.

Anyway you guys Gekkekoe en Richie have put some sense in my car again. I thanks you for that. To Volvo I say :p
[Connected Car] santu001:
One compatible Google maps coming up... ;)

https://www.dropbox.com/s/ugo2a1kd4kb0e07/Maps 6.14.4.apk
[Connected Car] excodk:
ro.parrot.install.allow-all

This thread was a nice find :)

Could they have changed something? Cant find ro.parrot.install.allow-all in the build.prop file and adding ro.parrot.install.allow-all=true does not add Market/Play apps to the SCT (the error is "invalid package file" (translation from Danish)). I did - for testing - change size of /cache to make sure I did not run dry. Have tried a bunch of different apps - all same error.

Any suggestions?

All the rest work perfect including adding apps to whitelist.xml :)

SCT is 2 days old (with iGo) - version is 1.49.34
[Connected Car] noten093:
Santu could you please drop the Parrot media player on us while you at it?

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Connected Car] RichieB:
When I was still running firmware 1.47.88 and did a hard reboot from the shell, the SCT music player playlist would get reset. Instead of what I was playing (usually an m3u playlist) something random would be playing after the hard reboot. The playlist would be preserved with a normal #reboot# or power down by the SCT itself.

Now I am running 1.49.34 and my playlist gets reset every time the SCT powers down. Even a #reboot# resets the playlist. This is very annoying. Is anyone else experiencing this as well?
[Connected Car] santu001:
Here the original from this thread posted by Donald. ;)

http://xdaforums.com/attachment.php?attachmentid=2559203&d=1391547335

You can easily find and attachments or APK by simple going to your control panel, then click all subscribed threads. The you will see a paperclip next to each thread. Click on it and you will find a list of all attachments.
[Connected Car] RichieB:
As you can read in this thread, they moved this setting from build.prop to the default.prop.

Use the new menu.bat I posted here. [MENTION=941448]getiem[/MENTION]: can you add this version to the start post? This menu.bat will work for all firmware versions. There is no need to use the older versions anymore.
[Connected Car] excodk:
I missed that one - that did it! Thanks :)
[Connected Car] getiem:
I will do, but I am on ski-trip last weeks, so have only a poor internet connection on my phone right now. Will add the new zip when home again next week. If you have more time now, you could even prepare a little better manual to post there for me ;)

Verstuurd vanaf mijn GT-N7000 met Tapatalk
[Connected Car] RichieB:
The instructions are rather simple. After starting menu.bat it will ask:

Input {IP Address of Android Device} or USB:

Type in the IP address of the SCT.

After that the menu look list this:

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/setpropex/patch init.parrot.capabilities.sh
6 - Reboot Android Device
7 - Install Android Packages from APKs folder.
8 - Android Debug Bridge Shell
9 - Save ADB Bugreport to Disk
R - Input connection information & retry ADB connect.
Q - Quit

Run steps 1 through 6 in order to root the SCT. Step 7 is optional and will install all APKs you have placed inside the APKs folder on your PC. Step 8 is for manual commands or troubleshooting. Step 9 is for troubleshooting. Step R is only needed when the connection to the SCT seems lost.
[Connected Car] PeeJeeTee:
Hi Guys (and girls?),

i recently used the batch file (v3) and it worked like a charm (i think). Thanks :good: to everyone involved.

I have some questions:

I installed some downloaded APK files and installed them via the script. Some (eg Sygic) do not work and i would like to remove them.

The Play Store recognizes it as installed, but does not provide me with the 'normal' delete button. Same for the setting menu.

Where and how do i uninstall/delete an app?

Is there a way to uninstall the standard apps like spotify? I would like to install it with the play store instead.

I hope someone can help.:D
[Connected Car] santu001:
You can easily remove apps by using an apps manager or memory manager. SCT has one in settings. But I think its hidden. If you use ADW you can make a unique shortcut to the app/memory manager. Here you can wipe cache's or data. And you can also delete the app there. I believe ES-file explorer has that option to, or use an app like advanced taskiller.
[Connected Car] gekkekoe123:
did you try the messenger apk that Donald made? Interested to see if you guys could install apps from asteroid market.
[Connected Car] getiem:
Did not try yet, hadnt the time. Car is in maintenance now. This morning i had time to download quickly all the APK's, via ADB backup/pull, that are available through Asteroid Market on SCT. All of them are system apps, but these are updatable via market. There are plenty more, but all are system apps, not available through market. one of them, HTMLviewer.apk is added to the folder.

At the moment Wikango is the only app that is not system app and is available through market.

All here inside the SCT folder are APK and PPK files

For completeness I added all the PPK files via the website of parrot asteroid. I renamed them to have a reference wich app they belong to. Original they have a numerical.ppk format. To find the right numerical format, you can find the number in the URL of the app of the Website Market.

https://www.dropbox.com/sh/5pw1w79vhz05mn4/c3_R1qSS4b

The messenger app I will try this afternoon.
[Connected Car] gekkekoe123:
The spotify apk is useable. But did you download the latest in de market ? We need that one. This one seems to be the same as the one in the PLF. I don't know if the system allows you to update the same version number. I cannot change the version number without breaking the signature.

But someone could try this one.
[Connected Car] getiem:
The Asteroid Market did not give me an update notice after log in on the market, so I think it is the latest. I do not remember if I updated it, but think not.

I will try if messenger does not work. Updatability (or re-install) i could not test due to the time, it was in my mind to do that kind of test with the downloaded (unchanged) versions of the APK.
[Connected Car] gekkekoe123:
aapt dump badging MasterKeysModded-com.parrot.spotify.apk
package: name='com.alephzain.framaroot' versionCode='1' versionName='1.6.1'
sdkVersion:'3'
targetSdkVersion:'17'
uses-permission:'android.permission.CAMERA'
application-label:'Framaroot'
application-label-sk:'Framaroot'
application-label-fr:'Framaroot'
application-label-it:'Framaroot'
application-label-ru:'Framaroot'
application-icon-120:'res/drawable-ldpi/ic_launcher.png'
application-icon-160:'res/drawable-mdpi/ic_launcher.png'
application-icon-240:'res/drawable-hdpi/ic_launcher.png'
application-icon-320:'res/drawable-xhdpi/ic_launcher.png'
application: label='Framaroot' icon='res/drawable-mdpi/ic_launcher.png'
launchable-activity: name='com.alephzain.framaroot.FramaActivity' label='Framaroot' icon=''
uses-feature:'android.hardware.camera'
uses-feature:'android.hardware.camera.autofocus'
uses-implied-feature:'android.hardware.camera.autofocus','requested android.permission.CAMERA permission'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a touch screen unless explicitly made optional'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'sk' 'fr' 'it' 'ru'
densities: '120' '160' '240' '320'
native-code: 'armeabi'

So the modded apk is different, it's should not be the spotify app anymore, so we probably don't need to change the version number. The package manager should install it fine. We use the signature of the spotify app to install framaroot. I think my APK will work ;) try try try try
[Connected Car] gekkekoe123:
yeah if it works, then I need to find a dealer that still want's to sell me one.

#TODO Remove this line for production
# Force activate ADB even if build mode is user
setprop persist.service.adb.enable 1

So i've been digging around in the /etc folder. It's recommended NOT to upgrade any firmware, since they probably will disable adb in the next release.
[Connected Car] getiem:
Did not work with all the masterkey versions.

The messenger gave an error installing

The spotify gave an error installing

The parrot maps gave no error, but no install either. Did startup the parrot maps afterwards, but nothing changed.

At the moment I tested it, using the app Craze using my other (rooted) Galaxy Note. Thats why i do not have more logging about the detailed error.

I have my laptop tomorrow at my car, so I can try it with ADB.exe during lunch tomorrow.

When I walked away to work just remembered I did not try to reinstall the original .apk files, just to be sure that would work. Thats also for tomorrow.

I saw that "Production" comment also in the post earlier by Donaldta. It triggered me to wait for update, and extract the new plf first :). Lukily it is not an automatic OTA system, but a download to USB-stick and force update.

Cheers.
[Connected Car] gekkekoe123:
You should use it on an actual SCT device since the signatures are only valid on SCT/Asteroid.
[Connected Car] getiem:
FYI:

Craze is an ADB app for android. So I connect my phone with Craze/ADB over Wifi to SCT and install to SCT. It are normal ADB commands, but then with interface :)

But i will try tomorrow with normal ADB.exe on a windows system laptop.
[Connected Car] gekkekoe123:
ah ok, but the wikango does work using this method?
[Connected Car] gekkekoe123:
I'm also under the impression that PAS and SCT use same source tree, only a few properties have been changed. [MENTION=255809]DonalD[/MENTION]: the messenger apps work on your PAS ?
[Connected Car] getiem:
It has an appdrawer. The app drawer is just an icon on the main screen, and opens a grid of all installed apps. All system apps (non-market) reside there. There where no new apps visible in the grid.

What are the commands in ADB to check this?

No, I do not know the commands. I can find it out on the internet though, but would save me a lot of trial error if you posted the right commands for me :)

Thanks in advance!
[Connected Car] donaldta:
There are many ways but you can try uninstalling the app "adb uninstall com.estrongs.android.pop" or use "adb shell" then inside the shell you would "cd /data/app" and "ls" or just "ls /data/app/com.estrongs*". Probably the easiest way is to use Android Debug Monitor.

It is probably better I tell you anyways. Inside the Android Developer Toolkit directory there is "/sdk/platform-tools/adb" which you have been using to install and pull files. There is also "/sdk/tools/monitor.bat" which brings up the Android Debug Monitor. This is the GUI tools that developers use to push, pull, and monitor the activity of the device. It is super handy when troubleshooting or otherwise getting to know the device better.

Above is somewhat the default layout of the debug monitor. In the upper-left pane you have the device selection. If you have multiple devices connected to your machine then this allows you select the focus for a particular device. There is an icon on the right of it which will allow you to take screenshots of whatever is showing on the Android device.

The pane on the upper-right are the various tools which you can monitor or manipulate and this is where the "file explorer" tab exists. The icons in the command bar just below the tab will allow you to push, pull, delete, and add files/folders depending on the selection within the pane. The bottom pane is monitoring pane where you can check console messages (which is almost always empty) and logcat (which is usually busy). The icons for the command bar of logcat allows you to export selected messages to disk, clear log, toggle filter, and toggle scrolling.

I normally capture the related installation messages by clearing the log just before the install. Then after the install, I use [Ctrl]+[A] inside the logcat pane to select all the messages and then click on the export button to save the data to disk. This leaves you with a text file which you can copy and paste wherever.
[Connected Car] getiem:
Ah, this makes life easier and more understandable. Looks a logic and nice interface to me. Will go and do more tomorrow!

A wonder that I never found it earlier. For hobby purposes I was creating an android app with Eclipse Android bundle, so never searched for other interfaces. Mostly too busy with other things, thats why i did not bother diving into this earlier.
[Connected Car] donaldta:
Probably but that doesn't mean they use the same branch. There are many devices in the Android ecosystem that share the same source tree but that doesn't mean that they operate the same. That's why you can have so many devices with different responses and interactions.

I'm not sure what you're asking because it is pretty obvious that it will work for the Asteroid Smart. It is downloaded from the Asteroid Market for the Smart after all. Heck, the unmodified apk can also work on the Android Virtual Device and my Nexus 4. Once you enable the developer option to allow unknown sources then the signature become a little bit less relevant.

As for the modified APK, I didn't bother to check because again different devices can have different patches and hotfixes. Like any oem Android device it is up to the last company in the chain to maintain its relevance. In this case it is Volvo not Parrot.

---------- Post added at 07:47 AM ---------- Previous post was at 07:43 AM ----------

Excellent. Btw, you may have missed my question from an edit I did on an earlier post. But, did you happen to try the unmodified version of the Asteroid Messenger on the SCT?