yashsingh1/xdaforums huggingface dataset:
[Connected Car] Lazyjack:
I've installed google market and services framework: (see attached)

Ive also set this to true:

#TODO Set to false for prod #Package install limitations. Set to false to allow only the install of verified packages

ro.parrot.install.allow-all=false

But when download an app it gives me this error: (see attached).

it seems it wants to download to a directory which is not there; any idea which dir it wants to write to?
[Connected Car] johnnie_w:
Run adb logcat while trying to install the application? Maybe it will give some usefull information.
[Connected Car] donaldta:
Best thing you can do is check the logcat messages during the time stamps that you install it. If you cannot figure it out then upload it here for dissemination.
[Connected Car] gekkekoe123:
You probably need to reboot once after setting the property ;)
[Connected Car] getiem:
As you can see in the update PLF files, the XBIN directory contains busybox already, which has a sed command. Also a sed.symlink is there, pointing to busybox.

Will try the requested listing of all contents anyway tomorrow.
[Connected Car] alexey.vasilyev:
Google Play issue 498

I have just rooted SCT. Works extremely good with adb. But with Google Play I have the issue 498 while trying to download any apps from the market. Rebooted multiple times. Sometimes (1 of 10 times) the app starts downloading.

This seems to be some cache issue (the app to be downloaded is larger than device's cache partition). Does anyone know how to clean up the cache?
[Connected Car] xadax:
Perhaps Cache Fixer works?

Be aware, you can brick your SCT with the wrong cache settings.
[Connected Car] alexey.vasilyev:
Main launcher

One more question.

Does anyone know how to put an already installed app to the main launcher window on root SCT? The apps are located under Applications menu by default.
[Connected Car] donaldta:
Thanks, I appreciate it. I've found that knowing there is a symlink isn't always enough. There are cases where symlinks go to /dev/null or some other file instead of where it should go. That is why I've asked for "ls -l" and not just "ls". I find it better not to make such assumptions, especially when we will be giving instructions for the device that could cause it to get into bootloop or bricking it if these commands do not perform exactly as expected.

If you are confident that sed is properly linked, maybe try this tomorrow...

adb shell cp /system/build.prop /system/build.prop.copy
adb shell sed -i 's/ro.parrot.install.allow-all=false/ro.parrot.install.allow-all=true/' /system/build.prop.copy

That way you can test the sed command on a copy of the build.prop before performing the changes on the actual file.

Since getting the market to work seems to be riddled with new issues, can you guys please provide logcat information about these problems? Screenshots of an untranslated error message doesn't do us much good.

As for clearing the cache, since the SCT has certain portions of the settings control panel hidden, try using this:

adb shell am start -n com.android.settings/.applications.StorageUse

Xadax said it brings up something new but I'm not sure if it is the correct menu.

---------- Post added at 11:58 AM ---------- Previous post was at 11:48 AM ----------

Probably safer to try manually clearing the Android Market / Google Play Store cache file first but we gotta verify the correct Activity Manager command to bring up the appropriate hidden settings menu.
[Connected Car] gekkekoe123:
498 can also mean maintenance at google. Can you install apk with other devices?

Also check if your disk is not full with media. Since you can download 1 in 10 times, it's probably the server
[Connected Car] twcoolen:
I am getting the following error when installing the framework:

C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools>adb shell su root -c 'mount -o remount,rw ubi0:system /system'

C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools>adb push GoogleServicesFramework-2.2.1.apk /system/app/ && chmod

failed to copy 'GoogleServicesFramework-2.2.1.apk' to '/system/app//GoogleServicesFramework-2.2.1.apk': Permission denied

Any ideas what I did wrong? Previous steps seem to went fine.
[Connected Car] gekkekoe123:
Weird. try this

adb shell su root -c 'mount -o remount,rw ubi0:system /system'
adb push GoogleServicesFramework-2.2.1.apk /data/local/.
adb push Market-3.3.11.apk /data/local/.
adb shell

And now in the shell type the following:

cp /data/local/*.apk /system/app/.
chmod 666 /system/app/GoogleServicesFramework-2.2.1.apk
chmod 666 /system/app/Market-3.3.11.apk
reboot

If this did not work, then you probably don't have root yet ? Check with:

adb shell su -c 'id'
[Connected Car] donaldta:
Not sure at which part of the process you did this but if it is after SuperSU installed and replaced the "su" binary then there could have been a prompt on the SCT granting root access to ADB. Maybe try the following commands to give us an idea...

C:\>adb shell
# id
id
uid=0(root) gid=0(root)
# cd /system/app
cd /system/app
# touch myself
touch myself
# ls -l myself
ls -l myself
-rw-rw-rw- root root 0 2013-11-06 17:33 myself
#

Also, can anyone check if the following commands will work after the SCT is rooted?

adb root
adb remount

Because if it does then you do not need to use:

adb shell su root -c 'mount -o remount,rw ubi0:system /system'
[Connected Car] alexey.vasilyev:
SCT Google Play error 498

I'm trying to install ru.yandex.yandexmaps

I can install the app on any other device. The apk takes 12 Mb approx.

From the log I see

W/DownloadManager( 1751): Aborting request for download 23: not enough free space in internal download storage, unable to free any more
...
D/Finsky ( 1991): [1] DownloadQueueImpl.onError: ru.yandex.yandexmaps: onError 498.
...
I/installd( 1050): free_cache(0) avail 180097024

$ df
Filesystem Size Used Free Blksize
/dev 243M 32K 243M 4096
/mnt/asec 243M 0K 243M 4096
/mnt/obb 243M 0K 243M 4096
/system 515M 464M 50M 4096
/data 359M 160M 199M 4096
/cache 7M 40K 7M 4096
/factory 1M 128K 1M 4096
/tmp 24M 964K 23M 4096
/mnt/sdcard 7G 3G 3G 4096
/mnt/secure/asec: Permission denied
/mnt/asec/com.mapswithme.maps.pro-1 18M 13M 4M 4096
/mnt/asec/com.waze-1 29M 24M 4M 4096

$ cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
ubi0:system /system ubifs ro,nodev,relatime 0 0
ubi0:data /data ubifs rw,nosuid,nodev,relatime 0 0
ubi0:cache /cache ubifs rw,nosuid,nodev,relatime 0 0
ubi1:factory /factory ubifs ro,nosuid,nodev,relatime 0 0
tmp /tmp tmpfs rw,relatime,size=24576k,mode=755 0 0
none /proc/bus/usb usbfs rw,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,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
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,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
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.mapswithme.maps.pro-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.waze-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[Connected Car] Lazyjack:
i'll try this evening to link the cache to /sdcard

see if that will fix it;
[Connected Car] gekkekoe123:
Looks like it wants to store in /cache. Could you try with apk < 7MB just to be sure ?

I cannot see where it wants to download to though.
[Connected Car] alexey.vasilyev:
I can download and install the 3Mb app from Google Play without any problems.
[Connected Car] twcoolen:
Trying that now.

App SuperSU is available in the app drawer, so I assume that root was successful. SuperSU log shows ADB Shell attempt. I also configured SuperSU to not ask for permission.

EDIT: Getting this error when copying the apk's to the system/ dir.

$ cp /data/local/*.apk /system/app/.

rebootcp /data/local/*.apk /system/app/.

rebootcp: permission denied

adb shell su -c 'id'

uid=0(root) gid=0(root)
[Connected Car] Lazyjack:
found this: (this links the cache to your sdcard, where is more space.
[Connected Car] donaldta:
It seems your problem is that the cache partition is limited 7M.

Try this...

adb shell
$ su
# umount /cache
# mount -t vfat /dev/block/vold/179:1 /cache
# df /cache

Then try installing your > 7M APK's. When you're done...

adb reboot

So, it returns the cache mount points appropriately. You may want to delete the temporary files left over in the root of the SD Card.
[Connected Car] twcoolen:
adb root

adbd cannot run as root in production builds

adb remount

remount failed: Operation not permitted
[Connected Car] donaldta:
Try my post.

When you see the "$" prompt when you use "adb shell" that means ADB is a regular user. The "#" is root. So when you execute "adb shell su -c 'id'" it will show you root because it goes through the process of SUing to root then checking the id.
[Connected Car] twcoolen:
$ cd /system/app

cd /system/app

$ ls

ls

HTMLViewer.apk

Superuser.apk

com.parrot.voicereco.apk

AcuHome.apk

ParrotTtsService.apk

OperaMediaProvider.apk

PicoTts.apk

UserDictionaryProvider.apk

com.parrot.orange.LiveRadio.apk

AsteroidMarket.apk

SettingsProvider.apk

CalendarProvider.apk

com.parrot.radiotime.apk

com.parrot.system.info.apk

ParrotMaps.apk

VisualizationWallpapers.apk

CertInstaller.apk

iGO-Volvo-prod.apk

AcuHiddenAppsSettings.apk

VpnServices.apk

com.parrot.mount.service.apk

com.parrot.mediaList.apk

com.parrot.platform.providers.connectivity.apk

DrmProvider.apk

DownloadProvider.apk

AcuGetConnectedWizard.apk

com.parrot.settings2.apk

MagicSmokeWallpapers.apk

OpenWnn.apk

LiveWallpapers.apk

MediaProvider.apk

com.parrot.deezer.apk

Provision.apk

Calculator.apk

PackageInstaller.apk

com.parrot.videoinonly.apk

ContactsProvider.apk

AsteroidTsLatinIME.apk

CoyoteSeries.apk

SystemUI.apk

com.parrot.audioservice.apk

Browser.apk

Roadtrip.apk

Calendar.apk

com.parrot.acucustomsettings.apk

AccountAndSyncSettings.apk

com.parrot.lowleveleventservice.apk

com.parrot.connectivity.apk

Email.apk

AcuServiceBooking.apk

PinyinIME.apk

ApplicationsProvider.apk

com.parrot.asteroid.provider.apk

com.parrot.mediaplayer.apk

DefaultContainerService.apk

Gallery3D.apk

TelephonyProvider.apk

DiagnosisApps.apk

com.parrot.spotify.apk

HSTIService.apk

$ touch myself

touch myself

touch: myself: Permission denied

---------- Post added at 07:26 PM ---------- Previous post was at 07:19 PM ----------

Not sure whether adb shell -c 'id' should give me SU with root.

This is the output:

adb shell su -c 'id'

uid=0(root) gid=0(root)
[Connected Car] donaldta:
Okay, that just means you cannot push to /system directly.

Try this, (note * is the regular expression for a wildcard so it'll match everything, in this case below every .apk file)

adb push *.apk /mnt/sdcard
adb shell
$ su
# mv /mnt/sdcard/*.apk /system/app
# exit
adb reboot
[Connected Car] twcoolen:
adb push GoogleServicesFramework-2.2.1.apk /mnt/sdcard
713 KB/s (1401398 bytes in 1.919s)

adb push Market-3.3.11.apk /mnt/sdcard
607 KB/s (3296645 bytes in 5.298s)

adb shell
$ su
su

# mv /mnt/sdcard/GoogleServicesFramework-2.2.1.apk /system/app
mv /mnt/sdcard/GoogleServicesFramework-2.2.1.apk /system/app
failed on '/mnt/sdcard/GoogleServicesFramework-2.2.1.apk' - Cross-device link
#
[Connected Car] donaldta:
Let me break this down for you

adb is the command on the host computer to use the Android Device Bridge (ADB)

shell is the argument to the adb command that brings up the shell from the connected Android device

su is the command inside shell that changes the user id

-c is an arguement to su that specifies the next arguement(s) should be executed as changed the id

id is the final command, which after it is all said and done gives you root's id if it has access to it.

The appropriate test would be "adb shell id" and that will tell you the id of the unmodified ADB user. If it is not "system" or "root" then you will not be able to use "adb push {file} /system/app".

---------- Post added at 01:44 PM ---------- Previous post was at 01:38 PM ----------

Hmm... apparently the installed busybox on the SCT doesn't like to mv (move) files across different mount points. Try using "cp" (copy) instead of "mv" with the same syntax.
[Connected Car] twcoolen:
Apologies, all quite new to me.

adb shell 'id'
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)

Seems this is not the desired output.
[Connected Car] Lazyjack:
Ok this works now and it installs from google market!

Only after a reboot the space is back to the original; should we link this to sdcard or put this into a startup?
[Connected Car] donaldta:
No worries. Always glad to elaborate or explain anything you have trouble with.. at least concerning the Android/Linux OS.

That just means there are limited to paths which are valid for you when using the "adb push" command. You at least have APKs on the SCT, we just need to get it to where it needs to be. ;)
[Connected Car] twcoolen:
CP works indeed. Both .apk's are now in /system/app

Any additional commands to install the .apk?

---------- Post added at 07:56 PM ---------- Previous post was at 07:50 PM ----------

ls -l output for the new files:

----rwxr-x root root 1401398 2013-11-06 19:45 GoogleServicesFramework-2.2.1.apk
----rwxr-x root root 3296645 2013-11-06 19:46 Market-3.3.11.apk

Permission look different from the other apk's:

-rw-r--r-- root root 11395 1970-01-01 00:01 HTMLViewer.apk

Will this pose a problem?

---------- Post added at 08:00 PM ---------- Previous post was at 07:56 PM ----------

Seems the Market app is in the drawer. Does this mean I am already there?

Logged in and the ANdroid Market is available :D

Great help Donaldta and others!

Can I install .ppk files in the same way?

Or does someone have the Asteroid version of the Flitsmeister.apk for me?
[Connected Car] donaldta:
Actually, that

is

linking it to the SD Card, albeit temporarily. I got its block device handle from his "cat /proc/mounts" output. Notice "/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev...."

I wouldn't recommend making this "permanent" and just use it as necessary. The internal storage space will always be faster than the SD Card. Maybe setting up a tasker profile to do this for you would be more convenient. But, making it persistent might be convenient but not be a good idea in the long run.

---------- Post added at 02:16 PM ---------- Previous post was at 02:06 PM ----------

I would fix it.

$ su
# cd /system/app
# chmod 644 GoogleServicesFramework-2.2.1.apk
# chmod 644 Market-3.3.11.apk

I would recommend rebooting at least once after copying GoogleServiceFramework and Market to /system/app. As the Market tends to act funny if you don't. If you get force close problems then clear the cache of the Google Play Store / Android Market.

---------- Post added at 02:22 PM ---------- Previous post was at 02:16 PM ----------

The encrypted .ppk files can only be installed through the Asteroid Market app within the "My Applications" section. However, I still have not determined if these files are encrypted to each user, model, or country. In other words, if you download it from the Asteroid Market then you might not be able to "share" it with another Asteroid or SCT user and vice versa. However, the unencrypted .ppk that is temporarily created during the install process is just like any other APK but with a different file extension and can be shared... even renamed to a .apk file.
[Connected Car] twcoolen:
I tried to install Facebook and Youtube from the Market, both attempts gave me the disk space error.

Any way to get unmount working? As root I can't seem to unmount /cache. Receiving the same error message as before.

adb shell
$ su
# umount /cache
# mount -t vfat /dev/block/vold/179:1 /cache
# df /cache
[Connected Car] donaldta:
Can you provide the feedback from the attempt?
[Connected Car] twcoolen:
I think it was this:

adb remount
remount failed: Operation not permitted

I tried it as root.

Will try it again tomorrow to get exact error details, also laptop battery was dead and I need to get some sleep. Early start tomorrow.
[Connected Car] donaldta:
I do not think you did. It looks like you tried to use the remount command from adb. Since the default user is not "shell" or "root" then you cannot use this command to un-re-mount it. Next time try the list of commands (one line at at time) that you quoted in your last post.
[Connected Car] twcoolen:
I am sure i did adb shell and then su to root. I am having doubts on the exact error message, that's why I need to try again. Battery of laptop died before I remembered to make a copy of the error message.

Getting my car on the same wifi network as my laptop is quite a hassle due to the range of my network. So each time I need to park my car on the side-walk in order to get it within range. That limits my flexibility in quickly testing.
[Connected Car] donaldta:
I do sympathize with the inconvenience. However, if you are having problems with the command(s) then its a good idea to keep a copy of the execution and response syntax. Otherwise, it is really pointless for me to try and troubleshoot shoot these problems if you cannot recall it exactly.
[Connected Car] getiem:
I have googleframework and market installed. It updated imediately to "google play" in 2 or 3 steps, with reboots in between, forced by me.

Had to use the "push" to data/local, then copy it using shell with su.

Remount r/w using adb directly did not work.

Afterwards I could install some apps using the Play, for example: ES Fileexplorer.

The not enough space error was given with some apps. Will try to explore later what causes this.

Hadnt time to change the whitelist.xml, so did not try that.

I have flitsmeister and flitsnav running now (although they are not in whitelist, they produce the nescesary messages to warn me during driving ;) )
[Connected Car] twcoolen:
Apologies, will be more specific in next occasions.

Do you happen to have the .apk for the Parrot app Starter? It is available for Parrot Smart users from the Asteroid Store, however not (yet) for SCT.
[Connected Car] getiem:
Done. Here are the lists.

Edit:

If you see a lot of people coming into topic, seems it is now linked on a other large forum :)

Edit2:

Via google play, the SuperSu (chainfire) will be auto updated. If you do so, run the SuperSu app afterwards. You re asked to update the binary. Do it using the normal method.
[Connected Car] donaldta:
This has already been solved, the /cache partition is limited to 7M which is where the initial destination of the downloading APKs. I've given instructions on how to temporarily mount /cache to the sdcard.

Just to be clear, adding the package name to the whitelist.xml will prevent the warning from showing up while you drive. That way you can drive while having the respective apps from being blocked. At least that's how it works on the Asteroid, a message shows up stating that the app is blocked and is not safe to use while driving then blurs the screen behind it.

Thanks, I appreciate it. May I ask if these were grabbed before or after you installed Framaroot/SuperSU? Oddly, they have similar commands which are symlinked to toolbox in /system/bin and busybox in /system/xbin. For example:

/system/bin

lrwxrwxrwx root shell 1970-01-01 00:01 dd -> toolbox
lrwxrwxrwx root shell 1970-01-01 00:01 df -> toolbox
lrwxrwxrwx root shell 1970-01-01 00:01 id -> toolbox
lrwxrwxrwx root shell 1970-01-01 00:01 ln -> toolbox
lrwxrwxrwx root shell 1970-01-01 00:01 ls -> toolbox
-rwxr-xr-x root shell 81544 1970-01-01 00:01 toolbox

/system/xbin

lrwxrwxrwx root shell 1970-01-01 00:01 dd -> busybox
lrwxrwxrwx root shell 1970-01-01 00:01 df -> busybox
lrwxrwxrwx root shell 1970-01-01 00:01 id -> busybox
lrwxrwxrwx root shell 1970-01-01 00:01 ln -> busybox
lrwxrwxrwx root shell 1970-01-01 00:01 ls -> busybox
-rwxr-xr-x parrot shell 1167128 1970-01-01 00:01 busybox

If I remember correctly, SuperSU installs has an option to install a modified version of Busybox and adds and relinks the commands in the chosen destination. Although the timestamp seems to suggest this was done before, I just have to ask to make sure.

Now that you've actually gone through the process, it is probably best that you update the instructions in the initial post of this thread. Maybe even adding a FAQ and the correct files necessary to perform it from the posts scattered in the thread. That way people can refer to the initial post for everything necessary to root it and install the Market.
[Connected Car] getiem:
Thanks, will read and execute when have time..

Thats right.

When an app is not whitelisted, there is only an overlay on top of the app. The actual app is running and working well behind it. The mentioned apps are giving messages via toasters and via notificationbar, that keeps working.

The answer is a bit dual. I installed the root. But it seemed to fail the first time. Then I ran the commands to grab the bin/xbin/sbin lists. Then I retried the rooting stuff and succeeded having root in the shell (giving the SuperSu overlay on the screen of SCT).

I am not sure if the first time really failed.

What I checked on my pc:

the symlink you are pointing to, is already available in the exctracted update .plf files. (1.47.88 EU )

\bin\dd.symlink is pointing to toolbox

\xbin\dd.symlink is pointing to busybox

Thats right. have to restructure all the _working_ information and set it in OP.

Will do it later. Maybe tomorrow. Think it will be best before weekend, otherwise whole topic will be filled with questions ....
[Connected Car] donaldta:
Here are all the free APKs from the Asteroid Market available to me for the Smart that are less than 8MB (the maximum attached size for this file type in this forum). Don't bother asking me for the rest. I will not share paid apps and the rest of them are too large to share as an attachment.
[Connected Car] twcoolen:
Thanks a ton! Will try to install a few of them.

Just tried installing Flitsmeister at work, it failed due missing write access to /system/app when copy'ing the apk from /mnt/sdcard/.

Will post more details in a few minutes when I am back in the car.
[Connected Car] donaldta:
Whenever you want to copy something manually into the /system directory or one of its sub-directories you'll need use "adb shell su root -c 'mount -o remount,rw ubi0:system /system'" command if the SCT has been rebooted or turned off. That's because by default the partition is mounted as read-only, so you'll have to change it if you want to copy things into it.

Also, can you do me a favor since you already have it rooted and if you already changed the build.prop file, can you try using "adb install {filename.apk}" instead of trying to push it? If it works then it will save you a few steps of having to remount the partition then push, copy and chmod the file manually. Also, if this works then the installed apk will be placed in the /data/app directory which is actually the appropriate place for it. (Except for the GoogleServicesFramework and Vending/Market those should be in the /system/app directory.)