yashsingh1/xdaforums huggingface dataset:
[Android Software Development] OryZ:
Hi There,

First let me thank you for developing this tool, it looks excellent! The Market DPI issue have been plaguing me for many moons, and sometimes I just revert to the original device's DPI just so I can update some apps.

So I tried running it and it came up with a message that it cannot find phonesky.apk and GoogleServicesFramework.apk.

I have no idea why as I am running a SGS2 with latest SuperNexus ROM which is AOSP 4.2.2 ROM.

After clicking "Cancel" to revert changes or what not the application went ahead and recompiled some apks and did some other stuff (sorry didn't save the log). After clearing cache and delvik the phone booted up but the Play Store was no where to be found... I looked and the application did create folders Originals and NewFilesSignedAligned on my PC with the 2 apks in them and the Build.Prop files, and when I looked in system/app/ I could see both phonesky.apk and GoogleServicesFramework.apk. so really not sure what happened.

I tried the reverting to original option in the application but after clearing cache and reboot the Play store was still gone.

I have now restored a nandroid backup from before, and looking at system/app/ I can see both phonesky.apk and GoogleServicesFramework.apk.

Anyone has any idea what is going on?

Happy to repeat the process, provide screenshots and logs etc.

Again, thanks for developing this and for the help :)
[Android Software Development] hamsteyr:
Bugs! Thanks for the feedback :| I'll look into them straight away :\
[Android Software Development] OryZ:
Ha ha! no worries... I sure wasn't expecting such a quick reply! In the meantime I installed (again) the modified apk from this thread but really looking forward to having a more stable solution!
[Android Software Development] hamsteyr:
The very fact that cancel is supposed to cancel and it didn't is enough to cause plenty of problems. I actually ran into the same problem myself when I was travelling, but I forgot about it.

You then helped remind me of it. Lol. I'll work on it tonight.
[Android Software Development] OryZ:
Yeah... What about the fact that it couldn't find the apks although they seem to be there? Seem a little suspicious to me...

Full disclosure: I'm a QA engineer :)
[Android Software Development] hamsteyr:
That disclosure just made everything all the more that exciting.

To be honest, it's something I don't really know at this point. The amount of variations and fragmentations that exist in the Android ecosystem make catering for all systems a slow and tedious process, and without the ability to directly deal with the devices themselves, it turns into quite the difficult chore.

Can I get you to run this file with your phone plugged in, and let me know the details in the log? thanks.
[Android Software Development] OryZ:
Sure I can do that, but before I do there is something else we need to discuss... Since using the tool whenever I connect my phone to a computer I cannot see the contents of my internal & external SD cards via MTP... On my PC it comes up with a message along the lines of "HARDWARE ID MISSING - windows cannot identify the device plugged into the Samsung mobile USB composite device"

(like in this page - http://forums.androidcentral.com/sp...g-windows-cannot-identify-device-plugged.html)

On my laptop I get no errors however the drives still open up empty.

I followed some of the recommendations on pages such as above and removed drivers and reinstalled etc. with some mixed success (now I can see my internal SD but my external one opens empty).

Do you have any thoughts on this?
[Android Software Development] hamsteyr:
Hmmm.... It shouldn't mess with anything like that, though I have an idea on what may be wrong. Look under /system and make sure that build.prop exists. If it doesn't, open up the zip file of the ROM that you flashed in windows, extract Build.prop in the system folder, and push it manually into the device with an ADB push.

From there, if you're familiar again with ADB, change the permissions of build.prop once pushed back in to 644 (chmod 644 /system/build.prop).

My guess is that since the tool did not finish running properly, your build.prop on your device may have been deleted, causing this error to occur.

Hope this helps.
[Android Software Development] corkythetard:
I found a work around for the phonesky.apk issue. I have custom ringtones, notifications, and alarms. If I flash a CM nightly they go away, as I push them to the system directory via adb. If I run the DPI tool first after nightly flash, then I get the error message and have to cancel out. When I push the .ogg sound files to the system via adb 1st, reboot via adb, plug phone back into USB port, run DPI tool then it works flawlessly! No more fc's for me in while!!! YIPPEE! :)

Just wanted to share that so maybe it could help steer you in the right direction.

---------- Post added at 01:54 PM ---------- Previous post was at 01:47 PM ----------

Given the disclosure a few posts above, I wanted to bend your ear about that. I have had the same issue before, except I couldn't even see the drives on my laptop. Just the hardware id missing. Probably a stupid question, but are your USB drivers downloaded via windows update or direct from samsung? Samsung download of USB drivers seems to have fixed that for both my s3 and tablet. Both had that issue sporadically prior to updating both adb and USB drivers.

Anyways, you're an engineer and I'm a 'Tard so hopefully I didn't offend with my questions/suggestions.
[Android Software Development] hamsteyr:
Hmmm interesting find corky. Leads me to believe I'm missing something somewhere
[Android Software Development] corkythetard:
Just tried something for grins and giggles. I flashed a nightly probably an hour ago and flashed the latest gapps for cm10.1. Google Play reverted to Play Store and had to update gmail and a few other google apps. Went into the Play Store a couple of times and it didn't update to Google Play. Tried running DPI tool and had the phonesky.apk error. I didn't push anything via adb yet. Rebooted s3, wiped cache, dalvik, and fixed permissions. Rebooted and ran DPI tool after going into Play Store and it automatically changed to Google Play. No phonesky.apk error, wiped cache and dalvik only per instructions. Worked like a champ! Now pushing .ogg files after the DPI tool. Weird, but it seems to be an issue related to the latest gapps people may or may not be flashing??
[Android Software Development] hamsteyr:
v1.4b is released, changes are as follows:

v1.4b - May 20, 2013

-New Sub-Feature: Application now detects Vending.apk, and renames it to Phonesky.apk.

-New Sub-Feature: Added detection for Busybox not installed

-New Sub-Feature: Added detection for multiple Play Store updates (com.android.vending-2, 5, 8 etc)

-Modification: Updated aapt and adb up to 20th May 2013

-Modification: Changed Java Error Message to be more descriptive.

-Bug Fix: Bug where pressing 'OK' when Error message that Phonesky or GoogleServicesFramework couldn't be found doesn't stop the program, should be fixed now

Update to see if that helps with existing errors.

As always, feedback is very much welcome and appreciated.
[Android Software Development] OryZ:
Thanks hamsteyr for the reply and the update. I'll test it out next time the Play store is updated, or I flash a new ROM, if that is OK?

corkythetard - the missing hardware ID thing most certainly has to do with drivers as you say. In my case I had both Kies and updated Samsung drivers on my PC. I don't remember having installed any specific drivers on my laptop (which is quite new so I should remember).

My guess is that:

a) some driver clash is in play

b) Windows Update sometime fetches correct drivers and sometimes does not

c) Those issues are probably also related to the less than perfect MTP protocol. I also suffer from SD Cards taking a while to show content, slow data transfer speeds etc. Never had those issues on the old USB Mass Storage protocol.

d) There is also something to do with the device itself... otherwise why would something done to the device suddenly break the way Windows recognises the device? What exactly it is may be extremely hard to find out though.

So really it is a complex mess created by the open MS Windows eco system etc. etc. There probably are easier ways to fix it, but in the end, if {uninstalling all related drivers, installing Samsung drivers, disconnecting from the internet while plugging the device for the first time} is a sure way to fix it then it is probably easier than messing around with it for a long time to try and figure it out...

---------- Post added at 12:45 AM ---------- Previous post was at 12:42 AM ----------

Oh yeah, also one more question: I've never bothered using ADB, is there a good guide around or something? What are the advantages of using ADB?
[Android Software Development] hamsteyr:
Latest play store is 4.1.6 :) Well, it's pretty much up to you when you want to test it out, I can't particularly force people to be my guinea pigs after all :|
[Android Software Development] hamsteyr:
In regards to ADB, everything that I do in this app uses ADB (well, not everything, some aapt, some java, some zipalign, but adb is the most important one at that.).

ADB is just the way that you interface with your phone, from a bigger machine, using command line codes :3

If you're not familiar with it, or have no real use for it, then it's not really handy for most.
[Android Software Development] OryZ:
Yeah looks like I have 4.1.6 on the device now.

What I mean is this: I don't mind testing it for you at all, but given that I already flashed a modified Play Store apk on the device, is there a point?
[Android Software Development] hamsteyr:
Hmm... well, when you put it that way, not at all :P
[Android Software Development] OryZ:
Yeah I guess that's why I never bothered... I mean I can probably learn, but what will be the point? (rhetorical question :D )
[Android Software Development] hamsteyr:
Of course, of course :P I see where you're coming from lol.

Perhaps one day then
[Android Software Development] corkythetard:
Hey I haven't tested the update, but attached some screen shots of my s4 set @ default 240. WOW! Had to up it to 320 to get the status bar readable, but DAMN does it look good! :good::good::good:
[Android Software Development] hamsteyr:
240 is the way to go on 320 default devices ;)

EDIT: And wtf, you have an S4. I Jelly. :|
[Android Software Development] corkythetard:
It's the way to go with LMT Pie w/ notifications and expanded desktop! Got a SICK deal. Got a $300 rebate for my $300 s3. Used half of that for a web only sale on s4's @ $150! If anyone you know gets one, you HAVE TO GET RID OF STOCK TW, at least imo. This beast flies now that CM is on it and all the bs bloatware is gone.
[Android Software Development] hamsteyr:
I couldn't really do that with my Note 2. If I change out of Samsung Base, then I miss out on the whole S-Pen, mutli tasking, pop up browsers... but I change my ROM to a custom Sammy Base, and it's all good :)

Anyway, I'll keep this thread clean for the purpose of this app. If you wanna continue the convo, move to PM or something :P
[Android Software Development] killerkamatis:
I Think I made a mistake.

oh boy.. I'm getting FCs everytime I open playstore.

I have note2 n7100. rooted but still have the stock rom

I changed my DPI and of course I get the incompatibility error everytime in playstore. so I resorted to this fix.

Since I'm using stock, I have no "Advance" menu to clear my Dalvik Cache. so What I did was open my Titanium Backup and Clean it from there.

rebooted and tried. Now I'm getting FCs...

help please
[Android Software Development] hamsteyr:
Do you have a custom recovery CWM? You'll need that to clear Cache and Dalvik Cache.
[Android Software Development] killerkamatis:
Not yet.. but will do that.

thanks.

---------- Post added at 06:38 PM ---------- Previous post was at 05:55 PM ----------

Hello again.. Installed CWM.

silly question.. when you say clear cache is it the same as "wipe cache partition"?
[Android Software Development] hamsteyr:
Yes, that's the correct option :)

After rebooting, its recommend you go into the application manager and manually wipe the data for play store and Google services framework, then reboot again.

if you get errors downloading or updating your apps, I advise removin your Google account, wipe play store again, reboot and add it again.

the steps get a little complicated now since you've probably tried running play store post using my app.
[Android Software Development] killerkamatis:
I did as told.

wiped cache and Dalvik Cache,

Rebooted

FCs on googleplay.

Clear Data of Playstore and Google services framework

Rebooted

still FCs

:crying:
[Android Software Development] hamsteyr:
Can you try using the revert to originals function? See if that stops the crashes, then start using the tool from scratch again :|
[Android Software Development] killerkamatis:
No I can't sorry.. I tried restoring playstore and the framework from my backup but I still get FCs.

I was too excited with root that I didn't do a nandroid backup :(
[Android Software Development] mboogy:
I'm no expert, but I believe you can download a stock ROM, place it on your SD, do a full wipe and flash the stock ROM. I believe this can fix your problem. I would def make sure to do a backup before using the tool again.
[Android Software Development] hamsteyr:
I'm using a galaxy note 2 as well on a stock ROM, Ive no idea how you managed to get it to FC... try this as a last resort.

Remove Google account.

Application manager force stop Play Store and Google Services Framework.

Application manager clear data Play Store and Google Services Framework.

reboot into recovery.

Wipe cache, wipe dalvik cache.

Reboot and try again.
[Android Software Development] killerkamatis:
yes.. lesson learned... just too excited to try out things..

but before I do your recommendation.. maybe there's another way besides doing a full wipe and flashing.
[Android Software Development] mboogy:
Hey, stuff happens, especially to rookies like us, so don't beat yourself up. The only reason I suggested a full wipe is because it can be difficult to use work a rounds if you're not familiar with the in and outs of Android. I know I've made things worse on more than one occasion and I could've saved a lot of time and frustration with a wipe/restore and then reattempted to use a program/tool.
[Android Software Development] killerkamatis:
Still can't... oh well will try again tomorrow.. Thanks for the patience.. hopefully i'll find a way to fix it tomorrow. :)

---------- Post added at 08:49 PM ---------- Previous post was at 08:44 PM ----------

This will probably be my option.. will do it tom.. i'm too tired I might make a mistake again.. hopefully my unit will be fixed. Thanks :)
[Android Software Development] Bjray:
Have been trying for the last hour to get this to work on my S4. Just did a fresh flash and tried to use this tool to change my DPI to 400 (361 stock) and mod the market, but I can't seem to get passed "No connection [Retry]" How can I fix this? :)

ROM: SlimBean Build 5.6 - Android 4.2.2

I already have all the following installed & updated.
[Android Software Development] hamsteyr:
Odd. Usually when that happens, all you need to do is click retry and it'll work. In my case, the rare occasions in which it happens, I just spam the retry button and it seems to work.

If all else fails, could you try manually wiping the data for Play Store and Google Services Framework? (After making sure they're closed of course).
[Android Software Development] Bjray:
I tried spamming the retry button for at least 1+ minutes, stopped and wiped data for both PS and GSF, rebooted and then spammed the retry button again. still no go :(
[Android Software Development] hamsteyr:
I can't guarantee that this will work, but try this. It fixes the problem for some users.

- Force Stop Play Store and GSF

- Remove Google Account

- Wipe Data and Cache for Play Store and GSF.

- Reboot into recovery and wipe Cache and Dalvik Cache.

- Reboot and try again.
[Android Software Development] corkythetard:
When you updated to 4.2.2 did you update your adb drivers? That may or may not be a cause. Hope this helps.
[Android Software Development] NYC1992:
I'm having a strange error. It keeps telling that my build.prop is not in /system but i know it is. I'm using a HTC One on ARHD 4.2.2 rom. Any help appreciated.
[Android Software Development] hamsteyr:
That rely is weird. It pulls phonesky and googleservicesframework fine?
[Android Software Development] NYC1992:
Seems that way. It only stops when it gets to that point. See image:
[Android Software Development] @xDeepS:
Happening on Omega v4 too. S4 i9500. Had to reflash ROM to fix :(
[Android Software Development] siva.devel:
This is awesome

This tool is just too good. I first tried using it on Wanam 6.6 and it converted and after booting the keyboard was crashing and could not use it at all. So, this time I tried with Wanam 6.7 with another keyboard(Kii) installed. This time it was flawless. Only one thing is weird in my phone now, that is the dialer app. Would look for a better dialer and use that.

Hats off to a great no frills app.
[Android Software Development] corkythetard:
This may sound like a dumb question, but are your Samsung drivers up to date on your pc? I had the same issue with my s4 at first. Also, you may try setting the market to 320 and custom dpi to 310. Works great on my s4. HTH
[Android Software Development] corkythetard:
I've tried this on my s3, as I had an error updating apps from Google play(see attached) with v1.4b. Just re-flashed a cm nightly and gapps(wiped all cache and fixed permissions pre and post flash) to see if that might fix it. No dice.

Just ran v1.4a and got the dreaded Google play FC on my s3. Going back through the motions of wiping cache, dalvik, and fixing permissions.Will report back shortly with my findings.

***Edit No dice on 1.4a. Clean wipe and install seems to be my last option currently, unless someone has any suggestions?

Oddly, I haven't had this issue on my s4 with v1.4b. Both are running cm 10.1 nightlies. Even more odd is that the DPI Fix sticks on my tablet!! I have flashed countless cm 10.1 nightlies and never had to run the DPI Fix after the first time.
[Android Software Development] hamsteyr:
I'm scratching my head here trying to figure out why some of these errors are even occuring :\ unfortunately, I'm pretty much at a loss now. I'll get back when something comes to mind.
[Android Software Development] corkythetard:
I did a clean wipe last night, but forgot to test v1.4a. Hell, I completely forgot to run the DPI tool all together! DOH! Will report back tonight if there may be a conflict with Play of some sort with v1.4b vs. 1.4a. I never had any issues with 1.4a so I'm not certain either.
[Android Software Development] lotherius:
Just want to report that I experienced the RPC error like the previous poster on the last market update. The utility always worked without any issues in the past. I tried all sorts of fixes, and nothing worked. Could not update or install any apps without getting the error after running the patch.

I'm using cm10 tenderloin.

Sent from my HP TouchPad.
[Android Software Development] hamsteyr:
This seems like a common error ever since Google updated their Play Store.

The only known fix for it now, is (if you haven't tried so already):

-Remove Google Account

-Clear Data for Play store and Services Framework in App Manager

-Reboot into Recovery and clear Cache and Dalvik

-Reboot, add your account again and try.

I've personally run into this problem before, and doing the above has fixed it for me, but it's hard to say if it would for anyone else (does in theory, though other people have reported success with this technique)
[Android Software Development] greatricky:
galaxy s4 (i9500) play store is not opening anymore :( it says 'no connection'
[Android Software Development] Blaze9:
Hey man, I'm on the S4 (i337) and I ran through the app. No errors on that end. did a cache wipe and everything, booted up my rom, and opened the play store. It connects and downloads apps. Huge issue though. It doesn't have any of my installed apps listed. I have around 110 apps installed. Before this it showed 40 or so (due to my DPI) and now everything's gone. I installed a new app, and reinstalled an old one, but only the installed/reinstalled ones show up. Not my original bunch. Any idea what's going on?
[Android Software Development] Oberth:
Working with Market 3.10.10 on my custom firmware

Just wanted to say top stuff :) I tried this on my firmware for the old Novo 8 and seems to be doing just the trick, I had been holding on to the older an older modded vending.apk due to the issues with 160dpi units. Finally I can enjoy the new market on my old tablet :)
[Android Software Development] RuralGalaxy:
This fix is great! Thanks for share!

Enviado desde mi Samsung Galaxy S3.
[Android Software Development] hamsteyr:
Close play store and relaunch it and it should all show up :)
[Android Software Development] hamsteyr:
Remove Google account, Wipe cache and wipe dalvik, see how that goes.
[Android Software Development] corkythetard:
Buenas noches everyone! Found an easy workaround for Google Play not showing your apps. They're there and I found a way to get it all going smooth.

After running DPI tool, and get into recovery. Wipe cache, dalvik, and fix permissions. Reboot. Go to Google Play. Says no connections. Reconnect. Browse apps, No apps listed! No problem. Go to the tab that says All. Find an app you don't care about uninstalling and reinstalling. Just one app. Once your app reinstalls it will only show that app as one you've installed. Ignore that. Reboot to recovery, wipe cache, wipe dalvik, fix permissions again. Reboot. Go back to Google Play and all is well!

HTH!
[Android Software Development] hamsteyr:
Released v1.4c with the main changes being the inclusion of XXHDPI for those 1080p 5" devices, a new info button, and the rollback to an older version of ADB, which supposedly gives less problems. Refer to the changelog for other changes and bugfixes

Tested to be working fine on my Note 2, so I hope you guys have similar success :\

And as always, have nice day.
[Android Software Development] corkythetard:
Will be testing here shortly after a clean install of a CM 10.1 nightly. Glad to see you hadn't abandoned the app!!! :good::good:
[Android Software Development] hamsteyr:
Never did, just had real life responsibilities come down on me ._.
[Android Software Development] corkythetard:
I was just messing with you man. I have been through some rough patches lately myself. Cheers my friend and thank you for your hard work! :good:
[Android Software Development] hamsteyr:
I actually had this build internally for a while, it's only now that I decided to release it, with the older ADB for hopefully better results.

I still got plenty to do for it though. :\
[Android Software Development] corkythetard:
Question: I saw a link for an updated Google Play in the T-mobile s4 thread. Think that might fix the issues? I'll dig the link up and post it for you if you think it will help?
[Android Software Development] hamsteyr:
The method that I'm using to modify play store should work all across the Play Store versions, unless Google decides to make any significant changes. For example, I'm using it on my note 2 with no problems, aside from the first retry button that I have to hit :\
[Android Software Development] corkythetard:
Oh ok. Was just spit balling, but your method sounds like it ought to work as you said. I didn't get around to testing on my s4 last night. Will let you know tonight. Here's the link to the 4.3 gapps just in case! :D

http://xdaforums.com/showthread.php?t=2378992
[Android Software Development] negativman:
Whether there will be after all a version of this program for installation through recovery?
[Android Software Development] hamsteyr:
That should be coming in the next version, as it's not difficult to implement :\

Patiently wait till then :) I promise you, it's coming.