Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,054 Members 40,473 Now Online
XDA Developers Android and Mobile Development Forum

How to: side load Google Play Music

Tip us?
 
professorpoptart
Old
(Last edited by professorpoptart; 1st July 2013 at 12:27 PM.)
#1  
professorpoptart's Avatar
Senior Member - OP
Thanks Meter 105
Posts: 159
Join Date: Jul 2010
Default How to: side load Google Play Music

This is a consolidated step by step for getting Google Play Music side loaded on the OUYA.

After the 5/21/2013 system update I had to redo the su install, as it wipes the system.

The first step is to install su and busybox.... Or to setup your computer for adb...
http://forum.xda-developers.com/show....php?t=2270589

To get google play music you need the 3 files listed below, I pulled the login and framework apks out of a 4.1.2 gapps zip.
http://goo.im/gapps/gapps-jb-20121011-signed.zip
the files are in /system/app

The music apk can be found here... or do a quick google...
http://forum.xda-developers.com/show....php?t=1350164

1) com.google.android.music-1.apk
2) googleloginservice.apk
3) googleservicesframework.apk

Put the files in the same folder as adb.exe you used in the su busy box install.

How to:
0. Connect to the device. if you followed the first link about su you should have wireless adb.
adb connect 192.168.xxx.xxx

1. Push the files over to the sdcard.
adb push GoogleLoginService.apk /sdcard/.
adb push GoogleServicesFramework.apk /sdcard/.
adb push com.google.android.music-1.apk /sdcard/.

2. Open a super user shell.
adb shell
su

3. Copy the files over to the system/app directory
cat /sdcard/GoogleLoginService.apk > /system/app/GoogleLoginService.apk
cat /sdcard/GoogleServicesFramework.apk > /system/app/GoogleServicesFramework.apk
cat /sdcard/com.google.android.music-1.apk > /system/app/com.google.android.music-1.apk

4. Set permissions on the system/apps files.
chmod 644 /system/app/GoogleLoginService.apk
chmod 644 /system/app/GoogleServicesFramework.apk
chmod 644 /system/app/com.google.android.music-1.apk

5. Exit and reboot.
exit
exit
adb reboot

6. When you launch the music app it will ask you to login to your google account.

7.Enjoy!

*remember any future updates will most likely remove any changes you made to system.
** I ran this on the 328 ota and got a few googleframework FC's when signing into google, I just closed out of them and its ran fine since.

*edit - typos, thanks zdraw
**edit - efficiency/least privilege permissions
The Following 4 Users Say Thank You to professorpoptart For This Useful Post: [ Click to Expand ]
 
sonofskywalker3
Old
#2  
sonofskywalker3's Avatar
Senior Member
Thanks Meter 283
Posts: 728
Join Date: Jan 2009

 
DONATE TO ME
Thanks! I'm going to try this tonight.
If you like my work, please consider donating. Thanks.
Email: Sonofskywalker3@gmail.com
Twitter: Sonofskywalker3
 
zdraw
Old
#3  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: May 2013
Worked for me but you have a few typos. There's no location after "adb push com.google.android.music-1.apk". You switched from GoogleLoginService to Services (not a big deal). In section 4, it should be app instead of apps. If your intent was to trip up copy-pasters you succeeded
 
professorpoptart
Old
#4  
professorpoptart's Avatar
Senior Member - OP
Thanks Meter 105
Posts: 159
Join Date: Jul 2010
Quote:
Originally Posted by zdraw View Post
Worked for me but you have a few typos. There's no location after "adb push com.google.android.music-1.apk". You switched from GoogleLoginService to Services (not a big deal). In section 4, it should be app instead of apps. If your intent was to trip up copy-pasters you succeeded
That's what I get for re-typing rather then copy-pasting! lol
 
MadDucks
Old
#5  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Feb 2010
So I get about a few seconds into a song, and my Ouya just turns itself off... Thoughts? Logs I can look at?
 
professorpoptart
Old
(Last edited by professorpoptart; 27th May 2013 at 02:12 AM.)
#6  
professorpoptart's Avatar
Senior Member - OP
Thanks Meter 105
Posts: 159
Join Date: Jul 2010
Theres 2 ways we can do logcat, $ or #

First try a user logcat:
Adb shell
Logcat > /sdcard/log.txt
Then get the music app to crash
then stop the logcat (close terminal or cmd window...)
then take a look at the file for clues! ... or post it here for help.

For a root logcat do the same thing but type su once in shell... a ton more info is there if we cant find anything in the user logcat.

Thought though. .. are you on wifi or hard line? Put a bandwidth speed test app on the ouya and see what your speeds look like.


Sent from my SAMSUNG-SGH-I337 using xda app-developers app
 
APriestOfGix
Old
#7  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Jul 2012
My problem is selecting the log in option does not bring up a log in window. I got this loaded on no problem (using the .apk via drop box), and can get it to open, but not log in. Any idea's?
 
faxanidu
Old
(Last edited by faxanidu; 30th June 2013 at 01:21 PM.)
#8  
Junior Member
Thanks Meter 1
Posts: 18
Join Date: Jan 2011
Sad . didnt work.

"Cant establish a reliable data connection to the server"
EDIT: Doesnt like wifi chip :P How odd.
pastebin.com/6EP5R5up

---------- Post added at 02:05 PM ---------- Previous post was at 01:58 PM ----------

Quote:
Originally Posted by APriestOfGix View Post
My problem is selecting the log in option does not bring up a log in window. I got this loaded on no problem (using the .apk via drop box), and can get it to open, but not log in. Any idea's?
press the middle "U" button on your controller.
Setting > Google account

your welcome lol.

Off topic:
also this new account crap is annoying, trying to contribute to ouya modding since ive been working with android FOR YEARS, and someone sent me here, but i cant post till 5 min, cant post in dev section AT ALL. its annoying.
 
coleshill121
Old
#9  
Member
Thanks Meter 8
Posts: 35
Join Date: Jul 2008
Location: London
My Ouya arrived yesterday, this is exactly the sort of thing I was hoping to see on xda! I'll check this out now. Would it help if we flashed the zip from CWM rather than pushing the individual apks?

Thanks a lot for your work!
 
gianptune
Old
#10  
Senior Member
Thanks Meter 70
Posts: 188
Join Date: Oct 2010
Quote:
Originally Posted by professorpoptart View Post
4. Set permissions on the system/apps files.
chmod 6755 /system/app/GoogleLoginService.apk
chmod 6755 /system/app/GoogleServicesFramework.apk
chmod 6755 /system/app/com.google.android.music-1.apk
Why on earth would you chmod these to 6755? you do know what the 6 stands for, dont you? My guess is you probably dont. How about the 755? No? Apks are zip files. They do not get executed. You probably want to chmod them to 644.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Remove Unnecessary WhatsApp Elements with Xposed

In modern life, you can’t underestimate the power ofthe dark sidemessaging … more

MaR-V-iN to Talk Google and Android APIs at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of September … more

But First, Let Me Take a #Selfie

“Today while browsing XDA,I’m going tocheck to seeif my favorite ROM has been updated–but … more