Possible to use side loaded app with android auto

Search This thread

yamahakid

Senior Member
Jan 30, 2008
209
12
I know that Google has blocked side loaded apps from working with android auto, but for one reason or another I choose to use a side loaded version of an app rather than the play store version. I know the play store vests with android auto, as I have tried it.

Is there any way to get the side loaded app wot work with android auto?
 
  • Like
Reactions: SoulSlayerPT

ireknole

Senior Member
Mar 15, 2011
76
5
I know that Google has blocked side loaded apps from working with android auto, but for one reason or another I choose to use a side loaded version of an app rather than the play store version. I know the play store vests with android auto, as I have tried it.

Is there any way to get the side loaded app wot work with android auto?
I think that as long as the app is compatible with Android auto, it doesn't matter if it's sideloaded or downloaded from the play store.

Sent from my SM-N910V using Tapatalk
 

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,823
4,143
Ottawa/Gatineau, Canada
I think that as long as the app is compatible with Android auto, it doesn't matter if it's sideloaded or downloaded from the play store.

If we are talking about Android Auto enabled messaging or music apps, such apps have to be approved by Google before being allowed on Google Play. (I presume Play automatically blocks uploaded apps that contain permissions to be an AA app.)


But if you develop your own AA compatible app and need to test it before Google ever looks at it, there is a procedure to do that and I think it goes through Play as a special beta.

So, yeah, maybe sideloaded AA apps don't work; I don't know, I never tried. But I'd hope the OP is asking because he tested it and it didn't work.

OP: Is it a paid app ? Which app ?
 

ireknole

Senior Member
Mar 15, 2011
76
5
If we are talking about Android Auto enabled messaging or music apps, such apps have to be approved by Google before being allowed on Google Play. (I presume Play automatically blocks uploaded apps that contain permissions to be an AA app.)


But if you develop your own AA compatible app and need to test it before Google ever looks at it, there is a procedure to do that and I think it goes through Play as a special beta.

So, yeah, maybe sideloaded AA apps don't work; I don't know, I never tried. But I'd hope the OP is asking because he tested it and it didn't work.

OP: Is it a paid app ? Which app ?
Right. I'm basically saying that it has to be on the play store to use. That's what I meant by "compatible", it's already Google approved.

Sent from my SM-N910V using Tapatalk
 

mistermojorizin

Senior Member
Dec 21, 2011
853
188
Google Pixel 5
Anyone have any new insight into this? it's frustrating. i downloaded latest play services from apk mirror, and it threw my AA for a loop. same thing with maps. How does AA know if the app is from the play store? I tried using TiBu to associate the app with the play store, but it didn't work. There needs to be an xposed module or something for this. It's like I have to be careful what I can install now. And when I say it threw me for a loop, I don't mean i just had to uninstall the sideloaded app and reinstall from the market (well that worked with maps, but not play services). That was a pain, and it kept force closing even after re-updating from play store. I had to uninstall everything and re-download everything from play store.
 
Jul 20, 2012
13
0
I have a sideloaded Spotify(patched for playing actual song rather than radio just like in tablets) in my phone , but in android auto, it doesn't show up as music app. When I delete it and install Spotify from play store, I can see it. Any workaround for this?
 

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,823
4,143
Ottawa/Gatineau, Canada
I have a sideloaded Spotify(patched for playing actual song rather than radio just like in tablets) in my phone , but in android auto, it doesn't show up as music app. When I delete it and install Spotify from play store, I can see it. Any workaround for this?

You may be able to install the patched version over the Play version.

Install from the phone, or if that doesn't work try this from the command line of a USB connected computer that has the Google ADB utilities installed:

adb install -r -d Spotify.apk
 

acinad

Member
Feb 12, 2011
15
7
I have a sideloaded Spotify(patched for playing actual song rather than radio just like in tablets) in my phone , but in android auto, it doesn't show up as music app. When I delete it and install Spotify from play store, I can see it. Any workaround for this?


Sideloaded apps will not work, only apps installed by the Playstore. HOWEVER! You can still use xposed modules that work on Playstore apps. I have an older version of Spotify and Pandora installed by the Playstore that I haven't updated, and I use xposed modules with them and it works great. Pandora + Pandora patcher and Spotify + SpotifySkip work great on my Honda Civic 2016 AA unit. I get no ads, unlimited skips, and even "thumb up" downloads.
 

rootMBX

Member
Feb 9, 2009
39
14

N-Forced

Senior Member
Sep 28, 2010
672
281
Hi,

yes there is a solution to install AA apps without publishing them in the playstore. It's quite easy look here : https://pixplicity.com/setting-install-vendor-debug-app/
I tested it myself.

You saved me man, just installed AA in my car yesterday but my spotify version that works with spotify skip had to be side loaded on my phone so it wouldn't show in the music apps list in AA. This got it to work perfectly and I can still use all the same features I was using before.
 

s4guy

New member
Jun 15, 2016
4
0
ADB Help

Hi,

yes there is a solution to install AA apps without publishing them in the playstore. It's quite easy look here :
I tested it myself.

This is not so easy for me. I've been struggling to get the method in the above link to work for installing spotify. I have adb running on my pc, my device is recognized, and I was able to successfully push the spotify.apk to my phone, but I'm getting an error when I try to run the second command. Can someone please help me out?

C:\android-sdk-windows\platform-tools>adb shell pm install -i "com.android.vending" -r /sdcard/spotify.apk
java.lang.ClassNotFoundException: Didn't find class "com.android.commands.pm.Pm" on path: DexPathList[[zip file "/system/framework/pm.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
Suppressed: java.io.IOException: Failed to open oat file from dex location '/system/framework/pm.jar'
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:295)
at dalvik.system.DexFile.<init>(DexFile.java:80)
at dalvik.system.DexFile.<init>(DexFile.java:59)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)
at dalvik.system.DexPathList.<init>(DexPathList.java:109)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:38)
at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.java:128)
at java.lang.ClassLoader.access$000(ClassLoader.java:65)
at java.lang.ClassLoader$SystemClassLoader.<clinit>(ClassLoader.java:81)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:137)
Caused by: java.io.IOException: Failed to open oat file from /system/framework/arm/pm.odex (error Failed to open oat filename for reading: No such file or directory) (no dalvik_cache availible) and relocation failed.
... 13 more
Caused by: java.io.IOException:
... 13 more
Caused by: java.io.IOException: Failed to remove obsolete file from /data/dalvik-cache/arm/[email protected]@[email protected] when searching for dex file /system/framework/pm.jar: Permission denied
... 13 more
Suppressed: java.lang.ClassNotFoundException: com.android.commands.pm.Pm
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 1 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
 

marcjero

Senior Member
May 11, 2007
168
45
Sorry guy I have no clue.
This is what I did :
adb shell [enter]
pm install -i "com.android.vending" /sdcard/spotify.apk[enter]
exit[enter}
 
  • Like
Reactions: lilloscar

AVFlores

New member
Jul 8, 2016
4
0
Anyway to send the apk with the vendor install code already in it? Or it has to be done through adb while connected to the USB to the phone. New to this.
 

Polarbert

Senior Member
May 20, 2012
197
43
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Hi,

    yes there is a solution to install AA apps without publishing them in the playstore. It's quite easy look here : https://pixplicity.com/setting-install-vendor-debug-app/
    I tested it myself.
    5
    sideloaded apps will not work, only apps installed by the playstore. However! You can still use xposed modules that work on playstore apps. I have an older version of spotify and pandora installed by the playstore that i haven't updated, and i use xposed modules with them and it works great. Pandora + pandora patcher and spotify + spotifyskip work great on my honda civic 2016 aa unit. I get no ads, unlimited skips, and even "thumb up" downloads.

    edit : Edit

    OK I am going to try to make this guide as clear as possible.

    01)
    Have ADB Access via computer - https://forum.xda-developers.com/showthread.php?t=2588979
    + have SPOTIFY.APK on the ROOT of your internal SD card and External SD. NAME the spotify.apk something simple... I am using "spot.apk" in this example

    **MAKE SURE SPOTIFY IS UNINSTALLED ON THE DEVICE BEFORE DOING THIS PROCESS**

    02)
    C:\adb>adb devices
    List of devices attached
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    <DEVICE ID> device

    03)
    C:\adb>fastboot devices

    04)
    C:\adb>adb shell

    05)
    [email protected]:/ $ pm install -i "com.android.vending" /sdcard/spot.apk
    pkg: /sdcard/spot.apk
    Success

    06)
    [email protected]:/ $ exit

    C:\adb>

    From here detach your device. Load spotify and enter your login information. Then exit and load Android Auto. The application will be installed within the music section of android auto !

    If you have any questions feel free to ask
    5
    This is exactly what I am trying to do. Make my patched apk work with A-A.
    I am rooted and on my MM phone i have Xposed. As there is no Xposed for N (7.0+) yet What do you suggest?

    I use the patched apk for spotify. So you're saying get the free playstore version and patch it with an Xposed module ?

    ---------- Post added at 08:41 PM ---------- Previous post was at 08:36 PM ----------



    I am not the greatest with adb. I have used it long ago in the past.
    I have to have the apk on my local storage and install it via adb to get it to work / signed ? I read that page but I couldn't get it to work

    ---------- Post added at 09:04 PM ---------- Previous post was at 08:41 PM ----------

    I have tried all methods posted here, and have been unsuccessful. Could someone post a step by step guide to do this. I was attempting ways to do this so I could make a guide for everyone to follow.


    I use the method in the link below now and it works great. I don't have exposed on Nougat, but this is better anyways.

    https://pixplicity.com/setting-install-vendor-debug-app/

    1. Download the patched APK of your choice. Rename it to something simple like "Spotify.apk" or "Pandora.apk"
    2. Copy the apk to the root of the phones sdcard.
    3. Turn on USB debugging on your phone. Plug phone into PC.
    3. Open windows command (CMD.exe).
    4. check if ADB is running and working with your phone by typing "ADB devices". It should list your phone. If it doesn't then Google ADB 15 second installer.
    5. Now that ADB is working with your phone you just type the following but you replace "app.apk" with whatever you renamed the files earlier, "Spotify.apk" or "Pandora.apk".

    adb shell pm install -i "com.android.vending" -r /sdcard/app.apk​

    6. All done. Unplug from computer. Log into the apps with your usernames, and go test it out in your car.
    2
    Another way to use sideload apps is to enable unknown sources in the developer settings from Android auto. This is described in the beginning of this video:


    I don't have the play store and use some additional apps than the Google apps.
    1
    I know that Google has blocked side loaded apps from working with android auto, but for one reason or another I choose to use a side loaded version of an app rather than the play store version. I know the play store vests with android auto, as I have tried it.

    Is there any way to get the side loaded app wot work with android auto?