yashsingh1/xdaforums huggingface dataset:
[Android Software Development] hamsteyr:
@jk0l You can try using the previous working gapps you had, just use root explorer or ES File Explorer, have root access to system and navigate to /system/app and change Vending.apk to Phonesky.apk. That's pretty much it, and try that :)

@darkguy2008 so it gives that error in the beginning, then it hits an error when it comes down to decompiling Phonesky.apk, am I correct with this? It could be something to do with your Java installation, could you try reinstalling Java and seeing if that fixes it for you? The error comes up because it runs "java -version", and if it doesn't pop up an error code for 0 (which is a successful run), then it pops up that error. Somehow or rather, my app is not being given permissions then by your PC to run java. It could be Anti-Virus as well (since some AV consider apps that run other apps to be malicious). Apart from that... I don't see any reason why it should NOT work.

@fredfire some applications were not built for custom DPI. To put it simply, they were built using absolute coordinates rather than relative coordinates (to the screen), and therefore do not scale well. The default launcher is one of them (I use a Note 2 myself). All you need to do is either find a multi dpi version of that launcher found here, or use a different launcher (I'm using GO Launcher EX).

Hope that answers all the questions :D
[Android Software Development] sartana:
Hi, great tool, i needed it

But i just have a problem, i follow all requirements, all seems to be done correctly but when i reboot phone google service framework crashes, and i cant' acces to google account, gives error.

I'm running galaxy s plus whit gigabread+ (gingerbread 2.3.6 mod) , play store untouched , last version .

Any ideas?

Edit : secont time i tried, system don't boot. Strange :confused:
[Android Software Development] hamsteyr:
@sartana Did the tool run without any issues without hitting any errors? Is the play store you have original ones supplied by google?

If the system doesn't boot, it's most likely that the program didn't finish it's operations and build.prop's permissions were not set correctly. You can still correct this via recovery through adb.

Make sure that you're running clean untouched versions, try flashing the latest GAPPS for GB from CM's website. Using root explorer, rename Vending.apk -> Phonesky.apk, and try everything to make sure they run fine. From there, run the application and note if it hits any errors.

Remember to give the application any root access that it may ask for on the phone.
[Android Software Development] Chevyguy85:
When I do it I always get an error from the market. I click retry a dozen times then restart the phone. Then open the market, let the "home page" load, FC it, and then reopen and usually I'm good to go. Before the market update (x.x.14) if I clicked retry umpteen times it would load the "home page." Now with the new version I have to restart the phone to get the error to go away.
[Android Software Development] sartana:
First time hone boot, dpi were changed but play store doesn't work . Second time system do'nt boot.

I'm running not on CM, it's a mod based on stock GB 2.3.6, Play store it's the last version, untoched.

No errors on tool, i follow all process al all seems to be done correctly, al least tool say "wipe cache etc.." and reboot, i makes wipe but doesn't boot after. I use TWRP 2.1 as recovery.

This evening after work i retry you suggestion :good:
[Android Software Development] hamsteyr:
It could be because they're not pure stock versions of Google Play that makes then crash. Conflicting lines of code or what not.

As far as non booting goes, do check out the permissions on build.prop, or make sure that it's not corrupt. It could always be the reason :\
[Android Software Development] mefistos:
works like a charm! Finally I can use CM with change DPI thank you :))))))))
[Android Software Development] paarkhi:
Got the error on Samsung Galaxy S2 ATT i777 Shostock 2.5.6

I think he has all the system apps on preload to save space

The error I got is "Could not pull GoogleServiceFramework.apk" (pic attached)

If you can something about it then thank you
[Android Software Development] hamsteyr:
Trying to figure out a solution to this issue :\
[Android Software Development] hamsteyr:
@paarkhi Here's a pre-release version, see if this works for you.

Let me know how it goes, if it's good I'll release it as a working release :\
[Android Software Development] corkythetard:
I just took it for a spin. The install went fine, wiped caches in recovery, rebooted, and got a Play Store FC. Rebooted to recovery, wiped caches again, then fixed permissions. All seems fine to me so far on my s3 with cm10.1
[Android Software Development] paarkhi:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.3 (6/3/13)

Sorry, i've set the market (playstore) @ 240 DPI via Xposed app installer, anyhow I have it installed for Gmail dual panel and some stock apps as I'm on the stock rom, thanks for taking the problem into consideration and acting fast on it and releasing the update, maybe it'll help others, thanks again
[Android Software Development] hamsteyr:
Officially released 1.3a.

New version of APKTool makes for smaller file size, bug fixes and changed apk pull method
[Android Software Development] Crushader:
@hamsteyr

Great work! But I've stumbled into some hipcup. Got the same error as paarkhi, says can't pull the framework off system/app even though it is there. I tried ver 1.2 and 1.3a but both with same problem.
[Android Software Development] hamsteyr:
could you give me an idea of specifically where within the process it stops? :\ Thanks. Like where within the app itself.
[Android Software Development] hamsteyr:
Guys, forgot to mention that you need to have busybox installed, (comes preloaded with so many custom roms that I even forget about it's existence) so if you're on your stock rom, make sure to have busybox installed
[Android Software Development] Chevyguy85:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.3a (16/3/13

Just did a clean install of pipe's aokp rom and works good. Not surprisingly, just wanted to let you know it works on yet another rom. Especially since in his thread it looks like he has the new gapps for install so it doesn't update and break the "fix". "

Coming to you live via my HP TouchDroid
[Android Software Development] hamsteyr:
Thanks. Good to hear.

I'm actually working collaboratively with another XDA user to try and solve this problem, and he pointed out some things which my app skipped out (in particular with dealing with updated files). It seems like ls prints out differently in different android systems

Case 1:

file1.apk

file2.apk

file3.apk

Case 2:

file1.apk file 2.apk

file3.apk

Case 3:

←[0;0file1.apk←[0m ←[0;0file2.apk←[0m

←[0;0file3.apk←[0m

Some weird **** goes on in android land :| I only caught on first case >_>

Anyway, yeah. Just an update on that. Thought I'd give an informative rant on WHY it doesn't work on all systems. Because android does things like this to me.
[Android Software Development] hamsteyr:
v1.3b has been released, with even more compatibility bug fixes, that should hopefully help more devices pull through on the "device not compatible" front.

Also, more descriptive error messages, that should help pin point problems and errors.

@Crushader try running this latest version, and see if the error messages change for you. From there, I can help you better.
[Android Software Development] Crushader:
Hi hamsteyr

Sadly, doesn't work either with the new version =[

Same error..
[Android Software Development] hamsteyr:
v1.3c of the app is out that should address even more compatibility issues, as well as contain bug fixes.

Many thanks to dt192 who has helped me in the debugging and improvement of this app.
[Android Software Development] hamsteyr:
For those running initial errors (before you enter the Decompiling/ Modifying state of the application), hook your phone in, download and run this application, and send to me the log.txt in a private message so that I can help you :3
[Android Software Development] maq-shaim:
It really works!

Thank you for this.

I'm using 210dpi and now fixed with this tool.

Thank you.:good:
[Android Software Development] MrxSiN:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.3c (25/3/13

268 dpi for s3 is amazing. I would recommend it for s3 user.
[Android Software Development] hamsteyr:
New version impending with more compatibility fixes, and most likely the ability to revert to stock if needed.

Will add the ability to mod desktop files in the future
[Android Software Development] corkythetard:
First I'd like to say thank you for the hard work on a kick ass app! Second, I seem to be running into an issue on both my s3 and a brand new galaxy tab 2. Zero issues when running the DPI fix. Everything goes smooth as butter. Well, it seems to be moving slower than before, but not enough to garner much attention. The issue I run into is a Play Store FC after reboot and wiping caches per instructions.

However, when I run the DPI fix, wipe caches per instructions, and fix permissions before the reboot I don't get the Play Store FC after the reboot. Am I doing something wrong here? Do you need me to pull a log of some sort when I can replicate the FC?

Next pay day(2 Fridays from now) I'm sending a donation your way. This app has made a world of difference on my s3!!! :good::good:
[Android Software Development] hamsteyr:
hmm, I'm unaware of any performance hits it may cause, mostly because this is based off just simple tried and done hacks. As for Play Store FC I'll take a look into it. I doubt you're doing anything wrong per se, but it's hard to predict how each and every device behaves given different ROMs.

So if I get you correctly, the only different step you take is that you run fix permissions? I'm assuming you're talking about the fix permissions shell command?

And thanks for the good news :) I enjoy working on the app.
[Android Software Development] corkythetard:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.3c (25/3/13

The fix permissions I run is from CWM Recovery when it reboots the device into recovery to wipe cache/dalvik cache. After I wipe both I go into advanced and run fix permissions from there and then reboot. Thank you for looking into this!
[Android Software Development] darkguy2008:
Hey man ^^

Awesome app! keep it up! you're helping TONS of people with it! here's my feedback:

I also had the same happen to the guy a few posts back. I ran your test app and (see attached log file) judging by the copy information, I ran "mkdir /data/local/tmp" and then it worked. Seems like "tmp" isn't created in /data after Jelly Bean, somehow, some stock ROM authors (or Google?) decided that /data/local/tmp wasn't safe or something like that anymore, so the directory isn't created by default.

After doing so, the app works :) so add that mkdir line before your copy and errors should be gone.

Also, if you want "ls" to behave correctly, run it as "busybox ls --color=none". The weird characters are thanks to the color ANSI codes which don't work in Windows.

Nice usage of NSIS scripts by the way, first time I see something like it ;)

I hope my tips are useful to you and others :)
[Android Software Development] hamsteyr:
@darkguy2008 Interesting! It would certainly answer more than a few questions I have been having. 4.2.2 on my SGS (SlimBean) seems to have it, so I guess some authors decided to remove it? I'll create a test for it and if it doesn't exist, create it :) Thanks for the info.

I fixed the LS errors already, through a slightly more cheaper method hahah.

And yes, I think this is probably one of the only times NSIS has been used outside what it's meant to be used for. I really destroy it's original purpose hahaha :P
[Android Software Development] hamsteyr:
HAPPY APRIL FOOLS. :| But no, this is actually a release of a new version. v1.4 is out, with a new restore feature and bug fixes all around D:

Thanks to darkguy2008 and corkythetard for their support/help :3

Oh, and for those getting Force Closes after running the app, I suggest rebooting into recovery and running Fix Permissions under Advanced. Should fix it.
[Android Software Development] mefistos:
it get stuck at pushing /data/local/tmp with error that ADB is not running on my phone :/
[Android Software Development] hamsteyr:
could you download and run this, and send me the log? Thanks.

http://xdaforums.com/attachment.php?attachmentid=1830648&d=1364153600
[Android Software Development] corkythetard:
Pretty sure I caught it when the error occurred. See attached.
[Android Software Development] hamsteyr:
So this is the pre fix? Could I get the post fix log?
[Android Software Development] corkythetard:
I ran the log from the latest file on the OP, not the test file you sent me. I had the same error that the person posted before with adb not being connected as the final files were being pushed to my s3.
[Android Software Development] hamsteyr:
:| could you send a screenie of where it failed? >.>
[Android Software Development] corkythetard:
Hold please :D Fixing permissions on the v1.3c I just ran. :cyclops:

Here's the screen cap you were looking for....
[Android Software Development] mefistos:
sure.. here is the log + pic where it gets stuck
[Android Software Development] Firetribe:
adb got root permission on your phone? It's in Developer options, at least in CM.
[Android Software Development] mefistos:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.4 (1/4/13)

Nope.. I Never had problem with it tho.. :/
[Android Software Development] hamsteyr:
reviewing the code, give me a bit of time :\

Plus Game of Thrones Season 3 just came out XD
[Android Software Development] hamsteyr:
Ah. Found the problem. >_> Sorry. my bad. Forgot to comment out unused code, didn't thoroughly check through :/
[Android Software Development] hamsteyr:
Uploaded a fixed version, v1.4a.

Consider v1.4 the April Fool's joke. :|
[Android Software Development] mefistos:
1.4a works just fine :) thank you :):good:
[Android Software Development] corkythetard:
Good joke! HA! v1.4a works! Still getting the FC on my s3, but like we discussed I think it's a ROM issue not a DPI Fix Tool issue.

Glad to see you got it straightened out! :D
[Android Software Development] Grok:
Hamsteyr, thanks for your efforts to deliver us so useful staff!

And also I am asking for help: Small problem with Google Play occurred after DPI Fix. I can not update any existing soft or install new one. In all cases after pushing button 'Download' I received error "Error while receiving data from server:[RPC:S-5:AEC-0]". (Latest nightly of CM10.1 @Samsung Note GT-N7000)
[Android Software Development] hamsteyr:
It's a new error that I seem to also run into, but fixed.

Remove your Google Account, clear data for play store and google services framework, then add your account again. That worked for me :)
[Android Software Development] Grok:
It works for me too! :) Thanks!
[Android Software Development] corkythetard:
Yo! Donation sent! Thanks for all of your hard work amigo!

Confirmation number: 1F26841843705061N
[Android Software Development] hamsteyr:
Received, thanks very much! :D
[Android Software Development] corkythetard:
You're welcome! :cool:
[Android Software Development] F4M0U569:
Great, my phone has been stuck at starting apps for the last couple hours. Thanks a lot
[Android Software Development] hamsteyr:
I smell sarcasm, but either way, try rebooting into recovery and running fix permissions under advanced.
[Android Software Development] corkythetard:
If it goes into a Play Store FC loop, then I hope someone did a nandroid before running the tool. When I was playing guinea pig I had that happen once. Tried rebooting to recovery and fixing permissions. No dice. Tried re-flashing a previous nightly(which usually wipes out the DPI Fix Tool settings). No dice. Restore to recent nandroid, BINGO! This Tool really leads the Play Store around by the short and curlies! :D
[Android Software Development] lotherius:
Has anyone managed to get the new market version being released today and try it with this? The UI has undergone a major update in the new version, no idea about the code that needs to be patched. Don't know if it changed enough of the code to prevent the current version of this tool from working...

Sent from my HP TouchPad.
[Android Software Development] hamsteyr:
I have yet to receive the push update on my devices, I'll let you know once I do.
[Android Software Development] mefistos:
Hi there is new updated version of play store

http://www.droid-life.com/2013/04/09/download-new-google-play-store-4-0-25/

Can you update your program pretty please: D
[Android Software Development] hamsteyr:
I'll give it a shot on my devices :D

Thanks.
[Android Software Development] hamsteyr:
I'll report in that Google Play Store 4.0.25 is working perfectly with the App on my Galaxy Note 2 on a modified stock ROM :)

Running 200 DPI, I get no Force Closes at all, rebooting into the device gave me no Force Closes either.

Dropbox shows as a compatible

Apps install without any "Error while receiving data from server:[RPC:S-5:AEC-0]" problems

Here's where it may get a little weird, though I don't suspect it should be a problem.

The App list only showed the app I just installed, however after a reboot,

It seems to show the whole list perfectly :D

So there should be no problem that I can see :)
[Android Software Development] mefistos:
works like charm!!! thanks :)
[Android Software Development] lotherius:
Installed this to my GB based MIUI on G2X and it causes Google Services Foundation to continually force close :(..

Worse, when I try to revert originals, this app lies and says the device is not found by ADB. But, I can adb shell to it just fine from a command prompt...

Had to manually push the originals from the saved folder from command prompt.

However, it did seem to work on my tablet ....

EDIT: Oh yeah I see you responded to my comment about not recognizing vending.apk... which I removed when I made the comment about the issues it caused on MIUI... Considering I'm using stock GAPPS (not customized for MIUI) I'm surprised it had that issue.
[Android Software Development] hamsteyr:
Yep, I have addressed that before as one of the limitations of the app at the moment.

I have addressed it in the current build that I have, that hasn't been released, though in the meantime, I suggest just renaming it manually to Phonesky.apk. After all, that's all the newer version does :)
[Android Software Development] Mk.Xal:
Tested with Play Store 4 and it works fine on SlimBeam 4.2.2 build 3

- Rename new playstore in Phonesky.apk and put it in system/app

- Launch DPI Fix

- auto reboot in recovery, wipe cache & dalvik

- Once booted, rename Phonesky.apk to Vending.apk (and backup the old one)

- Reboot in recovery, wipe cache & dalvik
[Android Software Development] Chevyguy85:
New version of store huh? Neither of my devices have updated yet, interesting.

The whole thing about the installed apps not showing up on the first start after running the tool has been around for a few versions of the tool. Just fc the store and open it again and your apps will be there. If you run the tool after a clean flash and no google account this "problem" doesn't happen if I recall correctly. Either way not much of an issue as its an easy fix.

Coming to you live via my HP TouchDroid
[Android Software Development] dolkic:
used this tool in http://xdaforums.com/showthread.php?p=40313902#post40313902 , I think its latest playstore apk, and it works (I have 182 dpi).

Cheers!
[Android Software Development] darkguy2008:
I can confirm this works with the latest Play Store :) awesome work man! :D
[Android Software Development] hamsteyr:
Thanks for the feedback guys good to know.
[Android Software Development] corkythetard:
Yo the 4/14 build of cm10.1 still requires an additional reboot of the app started reboot to recovery. No more having to fix permissions! :)
[Android Software Development] reverend remiel:
Works perfectly, thanks heaps :)
[Android Software Development] eliseo486:
After run the program i can't acces my account on google play

Hello everybody

The would process okay, i change my dpi to 160, but after of finish

After running the program

The play google no longer allows me to access my google play account

I wiped cache and dalvik cache after the phone reeboot, as I said the tutorial

Please help me :fingers-crossed:
[Android Software Development] steff195:
Tried this app too and worked flawlessly!

Thanks!
[Android Software Development] hamsteyr:
Please elaborate a little bit more on the issue you're having. :/
[Android Software Development] sbddude:
I get an error that can't decompile play store.

I checked adb has root access, Phonesky.apk and GoogleServicesFramework.apk is in system/app...

Log and screenshot attached.
[Android Software Development] hamsteyr:
That error has to do with your Java runtime. Try updating or reinstalling your Java runtime
[Android Software Development] Chevyguy85:
Well my phone finally updated to the new play store the other day. Last night ran this tool again. Worked fine. All I did was delete my google account, run the tool, reboot into recovery, clear dalvik an cache, reboot and add my google account again and I was good to go. Thanks for an awesome tool!
[Android Software Development] hamsteyr:
Good to know :) thanks.
[Android Software Development] corkythetard:
That is a lot more work than truly needed, unless you were having issues with the tool after the play store updated. When my play store auto updated I just ran the tool like normal.
[Android Software Development] hamsteyr:
He and a few other people seem to get a multitude of FC's when they run my tool. I haven't found a way to duplicate the issue, and it seems quite isolated to a certain condition :|
[Android Software Development] corkythetard:
CM?
[Android Software Development] hamsteyr:
unsure, as I've tested with my CMs to work fine :|
[Android Software Development] corkythetard:
I still get the FC, but just reboot(no cache/dalvik cache wipe) device normally and it goes away. Weird.
[Android Software Development] corkythetard:
***Update***

Just flashed the latest CM10.1 nightly and ZERO FC's! w00t w00t! :victory::victory::victory:
[Android Software Development] hamsteyr:
Interesting. So no need for multiple reboots?
[Android Software Development] corkythetard:
No need for multiple reboots. Worked just like it is supposed to!
[Android Software Development] hamsteyr:
CM is strange >.>
[Android Software Development] cortesjues:
I am getting this error too, and I have tried updating the java runtime to the newest
[Android Software Development] hamsteyr:
It's nothing to do with adb, that's to do with java running on your system. I will build a test program that should output the error that it runs into.
[Android Software Development] hamsteyr:
Download and run this file, send me the log and that should give me an idea of what's going on
[Android Software Development] chooven:
-= Copy Information =-

sh: cat: /system/app/Phonesky.apk: No such file or directory

# Return Code: 0

-= APK pull =-

remote object '/data/local/tmp/GoogleServicesFramework.apk' does not exist

# Return Code: 1

-= Delete =-

# Return Code: 0

-= Decompile =-

Input file (E:\Downloads\Decompile_Test\Originals\Phonesky.apk) was not found or was not readable.

# Return Code: 1
[Android Software Development] hamsteyr:
What device and android version are you using? Your error is the matter of Phonesky.apk not existing in your /system/app folder. It's possibly named Vending.apk. You can try renaming it and seeing if the app works.