Boost the Brightness of Your Sony Xperia Z1’s LED

I think the last time anyone has ever used a physical torch to find their earphones, … more

XDA Xposed Tuesday: Modify the Look of Your Volume Control – XDA TV

How many screenshots have you seen with a volume status bar in the … more

Prepare Your Nokia X2 for Battle with Nokia X2 Tools

Unveiled in June this year, the Nokia X2 is the Finnish companys second crack at an … more

Increase the Speaker Volume of Your Samsung Gear 2 with Tool and Tutorial

I think its pretty safe to say that any sound coming out of a … more
Post Reply

[APP] Google Play Store fix

25th May 2013, 08:06 PM   |  #1  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
EDIT: With the exposed method working well, I think it goes without saying that I will be moving on from this thread. Now on to the ouya store on CM10! lol

If for some reason you come here from google or some other place, the thread your looking for to get the play store working is below.
http://forum.xda-developers.com/show....php?t=2350639

Original----------------------------------------------------------------------------

This thread will be for working on getting the Google Play Store to work, aka com.android.vending.


Here is a logcat of the play crash when the vending apk has been sideloaded along with the google login and framework apks to /system/app. This was not from flashing the gapps.zip with CWM, this was sideloading the com.android.vending-4.0.25.apk... and GoogleLoginService.apk and GoogleServicesFramework.apk and setting permissions to 6755...

Quote:

Process com.android.vending has crashed too many times
: killing!
I/ActivityManager( 310): Killing proc 2860:com.android.vending/u0a61: crash
V/DropBoxReceiver( 2593): Starting service for tag: system_app_crash, time: 1369
507749067
D/CrashReportService( 2593): Writing crash report to: /data/data/tv.ouya/cache/.
reports/1369507749067
W/ActivityManager( 310): Unable to launch app com.android.vending/10061 for ser
vice Intent { cmp=com.android.vending/com.google.android.finsky.services.DailyHy
giene }: process is bad

I also tried editing the /system/build.prop to say the device was a galaxy s4... same error on logcat...

adding the crash report files that should be in /data/data/tv.ouya/cache... not sure how to get the report data out of the bin file though.

tried this too... same
http://forum.xda-developers.com/show...php?p=40823085
Last edited by professorpoptart; 7th July 2013 at 06:27 AM.
The Following 3 Users Say Thank You to professorpoptart For This Useful Post: [ View ]
25th May 2013, 08:54 PM   |  #2  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
tried the old kindle market. the EULA comes up click except and then dies. different logcat though...
http://forum.xda-developers.com/show...8#post41831758

Quote:

Process com.android.vending (pid 1340) has died.
D/CrashReportService( 563): Writing crash report to: /data/data/tv.ouya/cache/.
reports/1369511460591
W/InputMethodManagerService( 311): Window already focused, ignoring focus gain
of: com.android.internal.view.IInputMethodClient$Stub$ Proxy@419d0088 attribute=n
ull

25th May 2013, 09:05 PM   |  #3  
sonofskywalker3's Avatar
Senior Member
Thanks Meter: 283
 
729 posts
Join Date:Joined: Jan 2009
Donate to Me
Quote:
Originally Posted by professorpoptart

tried the old kindle market. the EULA comes up click except and then dies. different logcat though...
http://forum.xda-developers.com/show...8#post41831758

I'm working with the full gapps install and having no better luck. As long as I don't sign into my google account the rest of the ouya functions fine, but as soon as i log in I start getting "com.google.process.gapps" and play store crash messages, even if I never open the store and sign in through music.

Update: I think we need to meet somewhere in the middle. I may be way off, but heres my reasoning...

I have installed the full gapps on my Ouya, and I can't get the terms to pull up on either market. You have no gapps installed and it is getting a little further but still crashing. I believe I have something on there the ouya doesn't like and that's stopping me, and you are missing something the play store needs. I was able to get my error to stop by uninstalling the talk.apk, but still no play store.
Last edited by sonofskywalker3; 25th May 2013 at 09:18 PM.
25th May 2013, 09:26 PM   |  #4  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
Are you getting the same logcat's?... just got to find the right thing to google! lol


This is with the old kindle apk from qwerty790
Quote:

I/ActivityThread( 1306): Pub com.android.vending.SuggestionsProvider: com.androi
d.vending.SuggestionsProvider
D/vending ( 1306): [1] VendingApplication.onCreate(): Resetting ServiceLocator f
rom app
D/dalvikvm( 1306): GC_CONCURRENT freed 722K, 7% free 11293K/12103K, paused 5ms+3
ms, total 32ms
D/dalvikvm( 1306): WAIT_FOR_CONCURRENT_GC blocked 17ms
W/ResourceType( 1306): Failure getting entry for 0x7f020052 (t=1 e=82) in packag
e 0 (error -75)
D/AndroidRuntime( 1306): Shutting down VM
W/dalvikvm( 1306): threadid=1: thread exiting with uncaught exception (group=0x4
1022300)
E/AndroidRuntime( 1306): FATAL EXCEPTION: main
E/AndroidRuntime( 1306): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.android.vending/com.android.vending.AssetBrowserActivity}: andro
id.view.InflateException: Binary XML file line #54: Error inflating class <unkno
wn>


this is from the start of the activity from the top of the error stack.
Last edited by professorpoptart; 25th May 2013 at 09:43 PM.
25th May 2013, 09:40 PM   |  #5  
sonofskywalker3's Avatar
Senior Member
Thanks Meter: 283
 
729 posts
Join Date:Joined: Jan 2009
Donate to Me
Quote:
Originally Posted by professorpoptart

Are you getting the same logcat's?... just got to find the right thing to google! lol


This is with the old kindle apk from qwerty790

Not even close. I'll post mine in a bit.
25th May 2013, 09:47 PM   |  #6  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
as much of a "bad" idea it is we could write script to recursive (or do it by hand) chmod 777 everything in /system to make sure it everything has permissions to do what it needs... unless the issue is the perms have to be set specifically... but I would think the gapps would have set them correctly if that was the case...

edit: ...almost beer o'clock!
Last edited by professorpoptart; 25th May 2013 at 10:08 PM.
25th May 2013, 10:27 PM   |  #7  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by sonofskywalker3

Not even close. I'll post mine in a bit.

After installing the gapps did you clear cache?

looking into "com.android.vending.SuggestionsProvider" seems like its usually a cache issue. I get the same logcat after clearing in recovery but just hoping since you have the whole gapps and different errors this mighht be it.

found the cache idea here...http://forum.xda-developers.com/showthread.php?t=649149
Last edited by professorpoptart; 25th May 2013 at 10:31 PM.
25th May 2013, 10:58 PM   |  #8  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
ok so I went back to the 4.1.2 gapps files for vending and framework, set permissions and cleared cache. Still dies but now I get a toast fc message. now I'm getting something about the login service in the cat log.


here is the full logcat, did a logcat -c right before launching play. so the whole stack is the play event...
Quote:


--------- beginning of /dev/log/main
D/su ( 1540): su invoked.
D/su ( 1541): Allowing root/shell.
D/su ( 1543): 2000 /system/bin/mksh executing 0 /system/bin/sh using shell
/system/bin/sh : sh
D/AndroidRuntime( 1542):
D/AndroidRuntime( 1542): >>>>>> AndroidRuntime START com.android.internal.os.Run
timeInit <<<<<<
D/AndroidRuntime( 1542): CheckJNI is OFF
D/dalvikvm( 1542): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1542): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1542): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1542): Added shared lib libnativehelper.so 0x0
I/ethernet( 1542): Loading ethernet jni class
D/AndroidRuntime( 1542): Calling main entry com.android.commands.am.Am
--------- beginning of /dev/log/system
I/ActivityManager( 309): Start proc com.koushikdutta.superuser for broadcast co
m.koushikdutta.superuser/.SuReceiver: pid=1554 uid=10038 gids={1028}
D/AndroidRuntime( 1542): Shutting down VM
I/AndroidRuntime( 1542): NOTE: attach of thread 'Binder_3' failed
D/dalvikvm( 1542): GC_CONCURRENT freed 100K, 88% free 492K/4096K, paused 1ms+0ms
, total 4ms
I/ActivityManager( 309): No longer want com.google.android.gsf.login (pid 1518)
: hidden #2
I/ActivityManager( 309): START {act=android.intent.action.MAIN cat=[android.int
ent.category.LAUNCHER] flg=0x10200000 cmp=com.android.vending/.AssetBrowserActiv
ity bnds=[960,540][960,540] u=0} from pid 1082
I/ActivityManager( 309): Start proc com.android.vending for activity com.androi
d.vending/.AssetBrowserActivity: pid=1568 uid=10061 gids={3003, 1015, 1023, 1028
}
I/ActivityThread( 1568): Pub com.google.android.finsky.RecentSuggestionsProvide r
: com.google.android.finsky.providers.RecentSuggesti onsProvider
I/ActivityThread( 1568): Pub com.google.android.finsky.QSBSuggestionsProvider2:
com.google.android.finsky.providers.QSBSuggestions Provider
I/ActivityThread( 1568): Pub com.google.android.finsky.AppIconProvider: com.goog
le.android.finsky.providers.AppIconProvider
D/Finsky ( 1568): [1] FinskyApp.onCreate: Clearing cache due to crash on previo
us run.
D/Volley ( 1568): [1] DiskBasedCache.clear: Cache cleared.
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
W/dalvikvm( 1568): VFY: unable to resolve instance field 10430
D/dalvikvm( 1568): VFY: replacing opcode 0x54 at 0x0000
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
W/dalvikvm( 1568): VFY: unable to resolve instance field 10430
D/dalvikvm( 1568): VFY: replacing opcode 0x54 at 0x0000
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
W/dalvikvm( 1568): VFY: unable to resolve instance field 10430
D/dalvikvm( 1568): VFY: replacing opcode 0x54 at 0x0020
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/dalvikvm( 1568): DexOpt: unable to optimize instance field ref 0x28be at 0x42
in Lcom/google/android/volley/elegant/ElegantThreadSafeConnManager$ElegantPool;.
getEntryBlocking
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/dalvikvm( 1568): DexOpt: unable to optimize instance field ref 0x28be at 0x76
in Lcom/google/android/volley/elegant/ElegantThreadSafeConnManager$ElegantPool;.
getEntryBlocking
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/dalvikvm( 1568): DexOpt: unable to optimize instance field ref 0x28be at 0xec
in Lcom/google/android/volley/elegant/ElegantThreadSafeConnManager$ElegantPool;.
getEntryBlocking
D/Finsky ( 1568): [1] FinskyApp.onCreate: Initializing network with DFE https:/
/android.clients.google.com/fdfe/
D/Finsky ( 1568): [1] DailyHygiene.goMakeHygieneIfDirty: Dirty, need more hygie
ne.
D/dalvikvm( 1568): GC_CONCURRENT freed 609K, 6% free 11398K/12103K, paused 14ms+
4ms, total 52ms
D/dalvikvm( 1568): WAIT_FOR_CONCURRENT_GC blocked 22ms
E/AndroidHttpClient( 1568): Leak found
E/AndroidHttpClient( 1568): java.lang.IllegalStateException: AndroidHttpClient c
reated and never closed
E/AndroidHttpClient( 1568): at com.google.android.volley.AndroidHttpClient.<
init>(AndroidHttpClient.java:175)
E/AndroidHttpClient( 1568): at com.google.android.volley.AndroidHttpClient.n
ewInstance(AndroidHttpClient.java:161)
E/AndroidHttpClient( 1568): at com.google.android.volley.GoogleHttpClient.<i
nit>(GoogleHttpClient.java:117)
E/AndroidHttpClient( 1568): at com.google.android.finsky.FinskyApp.onCreate(
FinskyApp.java:295)
E/AndroidHttpClient( 1568): at android.app.Instrumentation.callApplicationOn
Create(Instrumentation.java:999)
E/AndroidHttpClient( 1568): at android.app.ActivityThread.handleBindApplicat
ion(ActivityThread.java:4151)
E/AndroidHttpClient( 1568): at android.app.ActivityThread.access$1300(Activi
tyThread.java:130)
E/AndroidHttpClient( 1568): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1255)
E/AndroidHttpClient( 1568): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidHttpClient( 1568): at android.os.Looper.loop(Looper.java:137)
E/AndroidHttpClient( 1568): at android.app.ActivityThread.main(ActivityThrea
d.java:4745)
E/AndroidHttpClient( 1568): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidHttpClient( 1568): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidHttpClient( 1568): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:786)
E/AndroidHttpClient( 1568): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:553)
E/AndroidHttpClient( 1568): at dalvik.system.NativeStart.main(Native Method)

I/ActivityManager( 309): Start proc com.google.android.gsf.login for service co
m.google.android.gsf.login/com.google.android.gsf.loginservice.GoogleLoginSer vic
e: pid=1600 uid=10044 gids={3003, 1007, 2001, 3006, 1028}
D/Finsky ( 1568): [1] 2.run: Loaded library for account: [FljaznBLk4v9VpY6BInpX
qtpvXA]
D/Finsky ( 1568): [1] 2.run: Finished loading 1 libraries.
D/libEGL ( 1568): loaded /system/lib/egl/libEGL_tegra.so
E/ ( 1568): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not
found!
I/ ( 1568): Attempting to load EGL implementation /system/lib//egl/libEGL
_tegra_impl
I/ ( 1568): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
D/libEGL ( 1568): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/dalvikvm( 309): GC_CONCURRENT freed 1104K, 17% free 15096K/17991K, paused 5ms
+11ms, total 107ms
D/libEGL ( 1568): loaded /system/lib/egl/libGLESv2_tegra.so
I/ ( 1568): Loading GLESv2 implementation /system/lib//egl/libGLESv2_tegr
a_impl
D/OpenGLRenderer( 1568): Enabling debug mode 0
I/ActivityManager( 309): No longer want com.koushikdutta.superuser (pid 1554):
hidden #2
W/dalvikvm( 1568): threadid=13: thread exiting with uncaught exception (group=0x
40bed300)
E/AndroidRuntime( 1568): FATAL EXCEPTION: Thread-139
E/AndroidRuntime( 1568): java.lang.IllegalAccessError: tried to access field com
.google.android.volley.elegant.ElegantThreadSafeCo nnManager$ElegantPool.poolLock
from class com.google.android.volley.elegant.ElegantThreadSaf eConnManager$Elega
ntPool
E/AndroidRuntime( 1568): at com.google.android.volley.elegant.ElegantThre
adSafeConnManager$ElegantPool.getEntryBlocking(Ele gantThreadSafeConnManager.java
:140)
E/AndroidRuntime( 1568): at com.google.android.volley.elegant.ElegantThre
adSafeConnManager$ElegantPool$1.getPoolEntry(Elega ntThreadSafeConnManager.java:1
22)
E/AndroidRuntime( 1568): at com.google.android.volley.elegant.ElegantThre
adSafeConnManager$1.getConnection(ElegantThreadSaf eConnManager.java:64)
E/AndroidRuntime( 1568): at org.apache.http.impl.client.DefaultRequestDir
ector.execute(DefaultRequestDirector.java:456)
E/AndroidRuntime( 1568): at org.apache.http.impl.client.AbstractHttpClien
t.execute(AbstractHttpClient.java:898)
E/AndroidRuntime( 1568): at org.apache.http.impl.client.cache.CachingHttp
Client.callBackend(CachingHttpClient.java:670)
E/AndroidRuntime( 1568): at org.apache.http.impl.client.cache.CachingHttp
Client.handleCacheMiss(CachingHttpClient.java:451)
E/AndroidRuntime( 1568): at org.apache.http.impl.client.cache.CachingHttp
Client.execute(CachingHttpClient.java:377)
E/AndroidRuntime( 1568): at org.apache.http.impl.client.AbstractHttpClien
t.execute(AbstractHttpClient.java:797)
E/AndroidRuntime( 1568): at com.google.android.volley.AndroidHttpClient.e
xecute(AndroidHttpClient.java:308)
E/AndroidRuntime( 1568): at com.google.android.volley.GoogleHttpClient.ex
ecuteWithoutRewriting(GoogleHttpClient.java:217)
E/AndroidRuntime( 1568): at com.google.android.volley.GoogleHttpClient.ex
ecute(GoogleHttpClient.java:259)
E/AndroidRuntime( 1568): at com.google.android.volley.GoogleHttpClient.ex
ecute(GoogleHttpClient.java:316)
E/AndroidRuntime( 1568): at com.android.volley.toolbox.HttpClientStack.pe
rformRequest(HttpClientStack.java:83)
E/AndroidRuntime( 1568): at com.android.volley.toolbox.BasicNetwork.perfo
rmRequest(BasicNetwork.java:93)
E/AndroidRuntime( 1568): at com.android.volley.NetworkDispatcher.run(Netw
orkDispatcher.java:98)
W/ActivityManager( 309): Force finishing activity com.android.vending/.AssetB
rowserActivity
V/DropBoxReceiver( 552): Starting service for tag: system_app_crash, time: 1369
518820421
D/CrashReportService( 552): Writing crash report to: /data/data/tv.ouya/cache/.
reports/1369518820421
I/ActivityManager( 309): Displayed com.android.vending/.AssetBrowserActivity: +
517ms
I/ActivityManager( 309): No longer want com.google.android.gsf.login (pid 1600)
: hidden #2
D/dalvikvm( 110): WAIT_FOR_CONCURRENT_GC blocked 0ms
I/ActivityManager( 309): Start proc com.google.android.gsf.login for service co
m.google.android.gsf.login/com.google.android.gsf.loginservice.GoogleLoginSer vic
e: pid=1618 uid=10044 gids={3003, 1007, 2001, 3006, 1028}
D/dalvikvm( 110): GC_EXPLICIT freed 39K, 7% free 10748K/11459K, paused 2ms+2ms,
total 27ms
D/dalvikvm( 110): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 110): GC_EXPLICIT freed <1K, 7% free 10748K/11459K, paused 2ms+3ms,
total 25ms
D/dalvikvm( 110): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 110): GC_EXPLICIT freed <1K, 7% free 10748K/11459K, paused 1ms+3ms,
total 22ms
I/ActivityManager( 309): No longer want com.android.vending (pid 1568): hidden
#2
W/ActivityManager( 309): Scheduling restart of crashed service com.android.vend
ing/com.google.android.finsky.services.DailyHygiene in 5000ms
W/InputMethodManagerService( 309): Got RemoteException sending setActive(false)
notification to pid 1568 uid 10061

25th May 2013, 11:40 PM   |  #9  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by sonofskywalker3

as soon as i log in I start getting "com.google.process.gapps" and play store crash messages

I'm getting the play crash every 10-15 minutes or so now too since clearing the cache, so I bet the update script cleared it for you...
26th May 2013, 05:47 AM   |  #10  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 106
 
159 posts
Join Date:Joined: Jul 2010
More
Doing a little research on what play requires I was reading the below link that says phonesky.apk is the new vending.apk, and that like we thought for the store to just open all you need in the /system/app is the framework, loginservice and phonesky apks. It doesnt say anything about permissions so I re pushed each of them with default perms, cleared cache in recovery ...And!... same thing.

http://blog.apkudo.com/2012/08/08/ru...be-any-device/

next I'm going to look at this from the logcat... looks like this fall apart after that...
E/ ( 1568): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
Last edited by professorpoptart; 26th May 2013 at 05:56 AM.

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

Advanced Search
Display Modes


Top Threads in Ouya Android Development by ThreadRank