FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

[MOD][XPOSED]Google Play Store (2013/07/05)

162 posts
Thanks Meter: 306
 
By WonderEkin, Senior Member on 4th July 2013, 03:10 PM
Post Reply Subscribe to Thread Email Thread
Hi, I've built a dirty mod using Xposed framework to get Google Play store to work.


Script Installation

Requirement: Root your Ouya, adb tools
Files you need: ps4ouya_script.zip , download and extract them
  1. Sideload the Xposed framework, download link and installation guide from here.
  2. Execute RunMe.bat, that's it



_______________________________________________



Do this if the script didn't work
Manual Installation
Requirement: Root your Ouya, busybox installed, adb tools
Files you need: ps4ouya.zip , download and extract them
  1. Sideload the Xposed framework, download link and installation guide from here.
  2. Sideload Mod_PS4Ouya.apk and enable "Play Store Mod For Ouya" in the Xposed app
  3. Push these Google apk to /system/app
    Code:
    adb push com.android.vending.apk /sdcard/com.android.vending.apk
    adb push com.google.android.gms.apk /sdcard/com.google.android.gms.apk
    adb push GoogleLoginService.apk /sdcard/GoogleLoginService.apk
    adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk
    adb push NetworkLocation.apk /sdcard/NetworkLocation.apk
    Code:
    adb shell
    In the shell
    Code:
    su
    mount -orw,remount /system
    cat /sdcard/com.android.vending.apk > /system/app/com.android.vending.apk
    cat /sdcard/com.google.android.gms.apk > /system/app/com.google.android.gms.apk
    cat /sdcard/GoogleLoginService.apk > /system/app/GoogleLoginService.apk
    cat /sdcard/GoogleServicesFramework.apk > /system/app/GoogleServicesFramework.apk
    cat /sdcard/NetworkLocation.apk > /system/app/NetworkLocation.apk
    chmod 644 /system/app/com.android.vending.apk
    chmod 644 /system/app/com.google.android.gms.apk
    chmod 644 /system/app/GoogleLoginService.apk
    chmod 644 /system/app/GoogleServicesFramework.apk
    chmod 644 /system/app/NetworkLocation.apk
    mount -oro,remount /system
    reboot

Now the Play Store should ready to work.
If you can't find the Play Store in the MAKE menu, sideload the com.android.vending.apk again.
Code:
adb install -r com.android.vending.apk

Please see my other project
Mod Collection For Ouya(Play Store, OTA root keeper, Disable Auto Update, Overscan Fix & 720p)
Attached Files
File Type: zip Mod_PS4Ouya.src.zip - [Click for QR Code] (520.3 KB, 3332 views)
Last edited by WonderEkin; 19th August 2013 at 04:05 AM.
The Following 47 Users Say Thank You to WonderEkin For This Useful Post: [ View ]
 
 
4th July 2013, 03:16 PM |#2  
MasterZen88's Avatar
Senior Member
Thanks Meter: 1,159
 
Donate to Me
More
Quote:
Originally Posted by WonderEkin

Hi, I've built a dirty mod using Xposed framework to get Google Play store to work.

Installation
Requirement: Root your Ouya, adb tools
Files you need: ps4ouya.zip , download and extract them

  1. Sideload the Xposed framework, download link and installation guide from here.
  2. Sideload Mod_PS4Ouya.apk and enable "Play Store Mod For Ouya" in the Xposed app
  3. Push these Google apk to /system/app
    Code:
    adb push com.android.vending.apk /sdcard/com.android.vending.apk
    adb push com.google.android.gms.apk /sdcard/com.google.android.gms.apk
    adb push GoogleLoginService.apk /sdcard/GoogleLoginService.apk
    adb push GoogleServicesFramework /sdcard/GoogleServicesFramework.apk
    adb push NetworkLocation.apk /sdcard/NetworkLocation.apk
    Code:
    adb shell
    In the shell
    Code:
    su
    mount -orw,remount /system
    cp /sdcard/com.android.vending.apk /system/app
    cp /sdcard/com.google.android.gms.apk /system/app
    cp /sdcard/GoogleLoginService.apk /system/app
    cp /sdcard/GoogleServicesFramework.apk /system/app
    cp /sdcard/NetworkLocation.apk /system/app
    chmod 644 /system/app/com.android.vending.apk
    chmod 644 /system/app/com.google.android.gms.apk
    chmod 644 /system/app/GoogleLoginService.apk
    chmod 644 /system/app/GoogleServicesFramework.apk
    chmod 644 /system/app/NetworkLocation.apk
    mount -oro,remount /system
    reboot

Now the Play Store should ready to work.
If you can't find the Play Store in the MAKE menu, sideload the com.android.vending.apk again.

Great.. Testing it out now. Is it okay if I use your work within ZG Rom?
4th July 2013, 03:27 PM |#3  
XblackdemonX's Avatar
Senior Member
Flag Montreal
Thanks Meter: 221
 
Donate to Me
More
Wow you are my hero! i cannot wait to try this tonight!
4th July 2013, 03:27 PM |#4  
OP Senior Member
Thanks Meter: 306
 
More
Why not? Pls go ahead if it works
4th July 2013, 04:15 PM |#5  
Senior Member
Flag Askim
Thanks Meter: 1,191
 
More
Could you release the source of the PS4Ouya apk?
Last edited by datagutt; 4th July 2013 at 04:17 PM.
4th July 2013, 04:17 PM |#6  
Junior Member
Thanks Meter: 1
 
More
cant establish reliable connection
4th July 2013, 04:45 PM |#7  
professorpoptart's Avatar
Senior Member
Thanks Meter: 108
 
More
missing .apk on framework... for the copy pasters

adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk

also,
I had to use cat instead of cp

like:
cat /sdcard/GoogleServicesFramework.apk > /system/app/GoogleServicesFramework.apk

---------- Post added at 11:45 AM ---------- Previous post was at 11:18 AM ----------

so if you dont mind, us irc'ers are wondering... whats the magic with the ps4ouya.apk?
Last edited by professorpoptart; 4th July 2013 at 04:43 PM.
The Following User Says Thank You to professorpoptart For This Useful Post: [ View ]
4th July 2013, 04:48 PM |#8  
OP Senior Member
Thanks Meter: 306
 
More
Quote:
Originally Posted by datagutt

Could you release the source of the PS4Ouya apk?

I can release the source if you guys confirm this mod works. Just bypass a method only, nothing secret.

Quote:
Originally Posted by faxanidu

cant establish reliable connection

What do you mean?

Quote:
Originally Posted by professorpoptart

missing .apk on framework... for the copy pasters

adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk

Thanks for pointing that out
4th July 2013, 04:52 PM |#9  
Akkeresu's Avatar
Member
Thanks Meter: 7
 
More
Question
Quote:
Originally Posted by WonderEkin

Hi, I've built a dirty mod using Xposed framework to get Google Play store to work.

Installation
Requirement: Root your Ouya, adb tools
Files you need: ps4ouya.zip , download and extract them

  1. Sideload the Xposed framework, download link and installation guide from here.
  2. Sideload Mod_PS4Ouya.apk and enable "Play Store Mod For Ouya" in the Xposed app
  3. Push these Google apk to /system/app
    Code:
    adb push com.android.vending.apk /sdcard/com.android.vending.apk
    adb push com.google.android.gms.apk /sdcard/com.google.android.gms.apk
    adb push GoogleLoginService.apk /sdcard/GoogleLoginService.apk
    adb push GoogleServicesFramework /sdcard/GoogleServicesFramework.apk
    adb push NetworkLocation.apk /sdcard/NetworkLocation.apk
    Code:
    adb shell
    In the shell
    Code:
    su
    mount -orw,remount /system
    cp /sdcard/com.android.vending.apk /system/app
    cp /sdcard/com.google.android.gms.apk /system/app
    cp /sdcard/GoogleLoginService.apk /system/app
    cp /sdcard/GoogleServicesFramework.apk /system/app
    cp /sdcard/NetworkLocation.apk /system/app
    chmod 644 /system/app/com.android.vending.apk
    chmod 644 /system/app/com.google.android.gms.apk
    chmod 644 /system/app/GoogleLoginService.apk
    chmod 644 /system/app/GoogleServicesFramework.apk
    chmod 644 /system/app/NetworkLocation.apk
    mount -oro,remount /system
    reboot

Now the Play Store should ready to work.
If you can't find the Play Store in the MAKE menu, sideload the com.android.vending.apk again.
Code:
adb install -r com.android.vending.apk

Need to add .apk to "GoodleServicesFramework" push line.

Added my account just fine, but Google Play crashes on launch:

http://pastebin.com/J85uABZs

Reran the permissions portions and rebooted, just in case.

Good on ya for getting this far!

[EDIT] I'm gonna try using Vending DRM'ed files in a moment to test that aspect. If I can get DataSync+ working, then I may not need the actual Play Store. :3
Last edited by Akkeresu; 4th July 2013 at 05:06 PM.
4th July 2013, 04:55 PM |#10  
Member
Thanks Meter: 22
 
More
Quote:
Originally Posted by Akkeresu

Need to add .apk to "GoodleServicesFramework" push line.

Added my account just fine, but Google Play crashes on launch:

http://pastebin.com/J85uABZs

Reran the permissions portions and rebooted, just in case.

Good on ya for getting this far!

It's going into the play store for me but I get "Connection timed out" with a retry button.
4th July 2013, 05:15 PM |#11  
OP Senior Member
Thanks Meter: 306
 
More
Quote:
Originally Posted by professorpoptart

missing .apk on framework... for the copy pasters

adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk

also,
I had to use cat instead of cp

like:
cat /sdcard/GoogleServicesFramework.apk > /system/app/GoogleServicesFramework.apk

---------- Post added at 11:45 AM ---------- Previous post was at 11:18 AM ----------

so if you dont mind, us irc'ers are wondering... whats the magic with the ps4ouya.apk?

  1. Seems Ouya changes something to block some class properties like this one:
    Code:
    I/dalvikvm( 1568): DexOpt: access denied from Lcom/google/android/volley/elegant
    /ElegantThreadSafeConnManager$ElegantPool; to field Lorg/apache/http/impl/conn/t
    sccm/ConnPoolByRoute;.poolLock
    I tried to replace some file from Nexus7 rom but didn't work
  2. So i tired to mod the vending.apk to bypass this. And luckily, after I installed the XPOSED framework, those error are all gone, the Play Store shows but still get "Connection timed out" with a retry button.
    Code:
    E/Volley  ( 3492): [283] NetworkDispatcher.run: Unhandled exception org.apache.http.impl.conn.ConnectionShutdownException
    E/Volley  ( 3492): org.apache.http.impl.conn.ConnectionShutdownException
    E/Volley  ( 3492):      at org.apache.http.impl.conn.AbstractPooledConnAdapter.assertValid(AbstractPooledConnAdapter.java:91)
    E/Volley  ( 3492):      at org.apache.http.impl.conn.AbstractPooledConnAdapter.getRoute(AbstractPooledConnAdapter.java:116)
    E/Volley  ( 3492):      at com.google.android.volley.elegant.ElegantThreadSafeConnManager.releaseConnection(ElegantThreadSafeConnManager.java:75)
    E/Volley  ( 3492):      at org.apache.http.impl.conn.AbstractClientConnAdapter.releaseConnection(AbstractClientConnAdapter.java:307)
    E/Volley  ( 3492):      at org.apache.http.conn.BasicManagedEntity.releaseManagedConnection(BasicManagedEntity.java:191)
    E/Volley  ( 3492):      at org.apache.http.conn.BasicManagedEntity.eofDetected(BasicManagedEntity.java:145)
    E/Volley  ( 3492):      at org.apache.http.conn.EofSensorInputStream.checkEOF(EofSensorInputStream.java:211)
    E/Volley  ( 3492):      at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:139)
    E/Volley  ( 3492):      at java.io.SequenceInputStream.read(SequenceInputStream.java:190)
    E/Volley  ( 3492):      at java.io.InputStream.read(InputStream.java:163)
    E/Volley  ( 3492):      at com.android.volley.toolbox.BasicNetwork.entityToBytes(BasicNetwork.java:212)
    E/Volley  ( 3492):      at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:104)
    E/Volley  ( 3492):      at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:105)
  3. So I tried to bypass org.apache.http.impl.conn.AbstractPooledConnAdapte r.assertValid and WOW, the Play Store is working
The Following User Says Thank You to WonderEkin For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes