thekirankumar / carstream-android-auto

A youtube/plex and local video (MP4/MKV) player for Android Auto
http://www.thekirankumar.com/blog/2017/12/29/play-youtube-video-android-auto-app/
Apache License 2.0
329 stars 105 forks source link

Wonderfull step for Carstream AA 2.0, But is there a way without Rooting? #189

Open as4ysf opened 6 years ago

as4ysf commented 6 years ago

I did all the steps successfully.

as per the instructions provided. Which required me to:

But, is there a way to avoid Rooting my device?

Regards,

mirh commented 6 years ago

If you check what #185 does (ie. edit a database of *freaking play services*), that's really not something that can be achieved otherwise.

..Unless maybe you backup com.google.android.gms data with adb, then edit it, and ultimately restore? I'm not sure if this procedure is needed everytime the program runs, or what.

EranSch commented 6 years ago

The entire security model of Android is designed around preventing apps from doing exactly this: modifying other apps.

Your best bet would be to backup and try to modify the play services package. There's probably some other security measure in place to ensure that's not easy as well though... Because, again, that would make the world of apps pretty sketchy too.

Ovadia-B commented 6 years ago

Can you just compile the app with an white-listed package name?

kyokusei84 commented 6 years ago

I tried changing the package name but didnt work, using last play service and aa versions. Even with a rollback of aa to version 2.9 still doesn't work.