yashsingh1/xdaforums huggingface dataset:
[Android Software Development] hamsteyr:
@deathtech That has to be the weirdest error message that I have ever seen :|

You can try to manually load them into your system to see if it works. Load the new files in the folder into your Phone, then do the following:

-Go into Settings -> Apps and 'Force Stop' as well as 'Clear Data' for Google Play Store and Google Services Framework.

-Move the new files to these locations:

build.prop -> /system (Set Permissions to 644, if not you may get bootloops)

Phonesky.apk -> /system/app (Permissions to 644)

GoogleServicesFramework.apk -> /system/app (also permissions to 644)

-Clear Data for Play Store and Google Services Framework again

-Reboot into Recovery, and Wipe Cache, as well as Dalvik Cache.

-Reboot

Try that and let me know how it goes.
[Android Software Development] galonpzw:
OH GOD! Man.. I love that! <3 Thanks :D (Runs ok, on CM10.1, Sgs2)
[Android Software Development] hamsteyr:
@Tungstwenty Sounds a lot like Paranoid Android (I'm using that on my HTC Sensation :o)

Does it work on any Device/ROM?
[Android Software Development] Nico_60:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.1 (4/2/13)

It's included in RootBox

Phone: GT-I9100P

Kernel: Dorimanx > Development Thread < > Help Thread <

ROM: 4.2.1 Vanilla RootBox > Development Thread < > Help Thread <

Tablet: Nexus 7

Kernel: M-Kernel+

ROM: 4.2.1 Vanilla RootBox
[Android Software Development] kiksotaki:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.1 (4/2/13)

Error hit 1 from pulling until the end... my phone is alcatel 908 and i am on froyo...
[Android Software Development] dank101:
make for linux? please?
[Android Software Development] hamsteyr:
New version is out with better error handling and option for retry. New root access method should increase compatibility, and added permissions for Play Store and Framework, which should hopefully help with those force closes.

@kiksotaki, try the latest version, my guess is that you don't have ADB enabled.

@dank101 I would, but I need someone with knowledge of coding for linux before I can.
[Android Software Development] Tungstwenty:
It should work for any device/ROM, yes, as long as it's ICS or above.

The framework uses reflection and hooks on any java methods (it replaces app_process with a custom built one with the addition of the hooks).

The AppSettings mod also hooks some core AOSP classes and therefore should work unless particular ROMs happen to use low-level changes there.

Paranoid does the same (and more) on the DPI side and on alternate, larger-screen resources, yes. But there are more settings that the mod allows, like setting per-app language, font scale, fullscreen, forced orientation, resident in memory, revoke permissions, and a couple other things.

Also, there are plenty of other mods for small things that also have the benefit of likely working on many different devices/roms, odexed or deodexed - don't convert sms to mms, call recording, no increasing ringtone, etc.

Just browse the list on http://www.villainrom.co.uk/forum/forums/xposed_framework_mods/ or read through pulser_g2's thread I shared before.

Heck, if you're curious enough, just have a look at the simple sources one of the mods and check how easy it might be to do the same your patch is doing, but at runtime and without the need to patch/sign/etc. whenever a new version is rolled out ;)
[Android Software Development] Tha Maxx:
@ the OP,

First off kick arse tool. I was curious tho. Is there anyway to add in the funtionality to fix the dpi settings for the contact and phone apks. I say this because contact pictures dont change and the call answer button is always off center. excuse me if this has been brought up before. Kudos and Thanks!
[Android Software Development] hamsteyr:
that is actually a ROM specific thing, the fact that it is off center. While I am looking to find ways to fix certain app's dpi regardless of phone dpi, I don't know any ways as of yet. :/

sorry for the inconvenience.
[Android Software Development] evoandroidevo:
gve this a try phone just got done restarting will see how well it worked haha but from the comments think will be good
[Android Software Development] tjsas1:
Fix it. Just need to re sync the accounts.
[Android Software Development] Chevyguy85:
Just tried v1.2 for S&Gs and it the market works now, no incompatible that I can see with a quick scan. I think I noticed you incorporated the framework and play store wipe, or maybe I just missed it in the other versions. Also the program didn't freeze on the first use, it made it all the way through w/o freezing. I know I wiped play/framework before, maybe you just did it better? Play needs to be started, then forced closed, then restarted again for the apps on my phone to show up otherwise I just get a white page. Thanks for the awesome program...my texting is going to suffer but screw it I like the real estate more.
[Android Software Development] hamsteyr:
That's good to hear. The play store and framework wipe comes after mounting system as writable. I did do some major changes to the app in regards to how it deals with the processes (I think the one that's helping you now is the new rooting system, as I used a different approach to increase compatibility and reduce hangs/crashes)

But as you said, there are some things the user needs to do on their end to get it to work completely, the force closing and restarting etc etc.

Anyway, glad it's working for you and thanks for the feedback :)
[Android Software Development] kiksotaki:
So now the problem is that the adb can't find my device. I run yor other app and ts working fine. I check for my self if there is a problem with adb but the adb is recognizing it . Where is the problem?
[Android Software Development] hamsteyr:
I was afraid this might have happened. The adb in APK Batch Installer is using an older version of ADB, where as this is using the latest ADB build from the Android SDK.

What Device are you running, just so I know. I'll build a custom build for you with the older adb.
[Android Software Development] kiksotaki:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2 (5/2/13)

My phone is alcatel 908 on froyo.. thank you in advance
[Android Software Development] hamsteyr:
Find attached to this post the build with a 2011 adb. I haven't tested it myself yet, but it should work... theoratically. You get to be the first one.
[Android Software Development] kiksotaki:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2 (5/2/13)

I will try it right now.. one more question which doing you think is the best for my phone?
[Android Software Development] hamsteyr:
Well, I don't think there's any "best" at the moment, I ran into compatibility issues before with newer adb builds, not sure why
[Android Software Development] kiksotaki:
its not working the same problem.....
[Android Software Development] hamsteyr:
Run this and tell me what you get.
[Android Software Development] kiksotaki:
i am taking this :
[Android Software Development] hamsteyr:
That's weird. Both ADBs detect that you have a device attached then, although you have a VERY weird device ID there.

I think I get the problem. You're on Froyo at the moment, and if you're still using the older Froyo market, or if it's not named correctly, then your market app isn't called Phonesky.apk, but Vending.apk or something else.

Run the second application that I have attached, and attach the log.txt in your reply. Thanks
[Android Software Development] kiksotaki:
-List dump of /system/app-

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

org.pocketworkstation.pckeyboard-1.apk

org.nathan.jf.build.prop.editor-1.apk

launcher.apk

jackpal.androidterm-1.apk

com.dolphin.browser-1.apk

Wiper.apk

VpnServices.apk

VoiceDialer.apk

UserDictionaryProvider.apk

TtsService.apk

TelephonyProvider.apk

Superuser.apk

Stk.apk

SoundRecorder.apk

SettingsProvider.apk

Settings.apk

Root-Explorer.apk

Regina_Weather_Server_0.6.0.apk

Regina_Weather_0.7.3.apk

Regina_ToDo_0.5.5.apk

Protips.apk

PicoTts.apk

Phone.apk

PackageInstaller.apk

PBAP.apk

OTAProvisioningClient.apk

OPP.apk

MediaProvider.apk

MMITestdev.apk

LatinIME.apk

JrdSensor.apk

JrdLauncher.apk

JrdFmRadio.apk

HTMLViewer.apk

Email.apk

DrmProvider.apk

DownloadProvider.apk

DefaultContainerService.apk

ContactsProvider.apk

CertInstaller.apk

Camera.apk

CalendarProvider.apk

BluetoothServices.apk

ApplicationsProvider.apk
[Android Software Development] hamsteyr:
Okay... Judging from what I see here in your files list, it doesn't even look like you have Play Store, or the older Google Market, or Google Services Framework, or any form of gapps installed at all.

Silly question, you have flashed gapps onto your device right?

If you don't use gapps, then you can just edit your build.prop straight and enjoy the dpi fix without worrying about compatibility issues.
[Android Software Development] hasenbein1966:
AW: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2 (5/2/13)

Hamsteyr and you other guys, I have to admit (although I appreciate the work that went into this thing here!) that I find the solution with app-wise DPI settings via "xposed" module MUCH better and practical.

I use it on a SGS2 and a Nexus 7, and it works flawlessly.

Not only with that solution I haven't to fear problems with playstore etc.; most important is that a system-wide DPI reduction is simply not desirable because some apps profit of it (for example, I now use the tablet versions of Tapatalk HD and Aquamail on my SGS2), but most are perfect as they are with the normal DPI.

And it's really not complicated: Just once make the settings in each app you want to alter, then forget about xposed and use your device normally.

Sorry, but that's the superior solution.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Software Development] Mundo Hackz:
gave me samsung keyboard errors b4 wiping cache and delvik so hopefully after doing it it will fix :D but look like a tablet now or should i say phablet

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

**broke my Samsung keyboard this android keyboard sucks :/*** soo now do I restore from my nandroid and then try again????
[Android Software Development] hamsteyr:
Hmmm. That may be the case of Samsung Android Keyboard not supporting non standard DPI values.

You could either use a different keyboard, revert the dpi, or as mentioned above, try the xposed module.
[Android Software Development] Mundo Hackz:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2 (5/2/13)

Will the multitask window be tiny like this???
[Android Software Development] Mundo Hackz:
how do i get the xposed app???? playstore payed free ???
[Android Software Development] hamsteyr:
Instructions are given here supposedly. I haven't tried it myself, so I wouldn't be able to tell you how
[Android Software Development] javonera:
I want to try this patch but I don't have phonesky.apk, but vendor.apk. I'm using cm 7.2 (gb) .

Is there a way to make it work?
[Android Software Development] hamsteyr:
If you have root, you could just rename vendor.apk to phonesky.apk and that should work perfectly fine
[Android Software Development] kiksotaki:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2 (5/2/13)

Yes sorry.... thank you for your time.. now I changed doing from 120 to 160 all become very big only half screen you are able to see. Why this happened?
[Android Software Development] hamsteyr:
It's possible that the launcher you're using wasn't made to be used outside of 160 DPI. Try a different launcher, like Nova Launcher, Holo Launcher, Go Launcher Ex, or Apex Launcher.
[Android Software Development] kiksotaki:
i tried holo laucher and go laucher both had the same problem.
[Android Software Development] hamsteyr:
Ah, I misread you. I noticed that you changed your DPI from 120 -> 160.

In order to get them smaller, your DPI number must be smaller, in this case you should change it to maybe 100 or 110.
[Android Software Development] kiksotaki:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2 (5/2/13)

Why in your app you can change it to 240 and 160 ?for bigger doing?
[Android Software Development] hamsteyr:
to accomodate for all sorts of devices. Your device is actually a 240 x 320 pixels, 2.8 inches (~143 ppi pixel density) device, hence your market setting should be about 160, where your phone dpi can be lower, about 100 or so.

240 is for phones with 800x480, 960x540 DPI

320 is for 720p, 1080p.

Of course, this is a simplified explaination
[Android Software Development] zombicidal maniac:
I just want to say thank you! I changed my DPI and was getting the "not compatible with your device" error and this fixed it! I am running Blackbean v6 4.1.2 with inverted Gapps on my Tmo GS3. Now all my apps work again! I can't express how thankful I am :highfive:
[Android Software Development] Chevyguy85:
So now that the playstore is modified I can just edit the build prop and change dpi from there instead of using this tool every time right? Also got bored and ambitious so I'm testing this program on my touchpad as well.
[Android Software Development] hamsteyr:
Lol. Yeah you can. The changing of the phone's dpi is just a side feature to what it's meant to be anyway. Just make sure that you don't mess with the permissions of the build.prop file. Android seems rather anal about it being set to 644, or you'll get a bootloop :|

Let me know how that one goes.
[Android Software Development] juancollado2003:
not working

not working on motorola atrix 4g
[Android Software Development] hamsteyr:
More details, whether you're running a custom rom, where does it stop, whether your phone is rooted...

What specifically is the problem?
[Android Software Development] CurtisAndroid5:
Thanks for this tool. I've used Paranoid Android on all my devices and I recently bought a HTC device and the Sense camera really breaks the deal for me to stay on Sense-based ROMs so I really miss changing the DPI but this looks promising! Just wondering if it's possible to keep the status bar the normal size or will it always be resized? Also, would it be possible to change the DPI of only a few apps like the stock Sense 4 home launcher, sense 4 messaging, sense 4 contacts and the settings?

Thanks again

Curtis.
[Android Software Development] hamsteyr:
This app changes the dpi for all applications, so it's system wide. I use a HTC device myself btw, and I've moved to Paranoid Android and haven't looked back :P

As far as status bar goes as well, this app will always resize it.

There is another solution as listed in the previous pages, which could be what you're looking for if not for a system wide DPI change :)
[Android Software Development] CurtisAndroid5:
I can't find the solution you're referring to, any chance you could link me? Sorry for being a nuisance
[Android Software Development] hamsteyr:
Not a problem :)
[Android Software Development] CurtisAndroid5:
Thanks for that, unfortunately the pages are displaying the infamous 404 error.

Thanks though!
[Android Software Development] hamsteyr:
That... Is so weird. It was working the other day, and I'm talking only a few days ago. So weird that everything is just down. I wonder if anything happened.

Anyway, yeah. In that case the only real solution for you now is what I have to offer, which is system wide. Alternatively, you can just migrate back to Paranoid Android :3
[Android Software Development] CurtisAndroid5:
Found some new links;

http://xdaforums.com/showthread.php?t=2072081 - DPI Per App settings (Installer link is broke on that page so use link below)

http://xdaforums.com/showthread.php?t=1574401 - Installer

Thanks again! I'll check out your method first though, I might like having a petite status bar who knows!
[Android Software Development] Tungstwenty:
Looks like the text was quoted verbatim, which rendered the "..." as being part of the URL instead of the original values :)

Here's a link to the original post (where the URLs are working): http://xdaforums.com/showthread.php?p=37586777#post37586777
[Android Software Development] hamsteyr:
Ah. I linked them wrongly >_> Silly me.

Yep, give it a shot, though if my suspicions are correct, a stock sense rom will NOT play nicely with a system wide custom dpi.
[Android Software Development] juancollado2003:
Im using NottachTrix rom, atrix 4g, rooted, an error saying can not communicate with the phone, asking to check my adb and debug but my adb is working very well Im in windows 7 x64, I tried the 1.0 version and looks it changes my GoogleServiceFramework.apk with smaller one (22kb) but with many error hits and playstore giving FC
[Android Software Development] hamsteyr:
Older version is way buggier than the newer one, I don't recommend using it anymore.

Download and run this http://xdaforums.com/attachment.php?attachmentid=1705569&d=1360072431, and screencap for me to see the results.

If you can as well, I would like to see specifically where the app stops working for you, so that I can trace it. Where exactly in the log does it stop?
[Android Software Development] juancollado2003:
your adb test recognize my phone attached in old and new adb
[Android Software Development] hamsteyr:
Try running this

http://xdaforums.com/attachment.php?attachmentid=1705741&d=1360076532

I have a hunch as to what the problem is.
[Android Software Development] hamsteyr:
v1.2a is out.

No major changes to the operation, but more descriptive error messages when pulling files from the device. Installation will abort if GoogleServicesFramework.apk, Phonesky.apk, or build.prop don't exist on the device.
[Android Software Development] ktklein72:
Has anyone tried this on the HP TouchPad to return it to its native 132dpi?
[Android Software Development] hamsteyr:
Not that I am aware of, no.

I don't see why there should be any problems, but of course I could be wrong.
[Android Software Development] ktklein72:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2a (7/2/13)

Ok well as soon as I have a free moment I'll be the guinea pig and let you know how it worked. I also posted a link to this thread over in a very active TouchPad thread @ Rootzwiki.com.
[Android Software Development] hamsteyr:
Try this:

-Go into Settings -> Apps and Force Close and Clear Data for both Google Play Store and Google Services Framework

-Remove your Google Account

-Reboot into Recovery and clear Cache and Dalvik Cache.

-Reboot normally and try setting it up again.

See if that works for you.
[Android Software Development] juancollado2003:
Not that didn't work, I restored my GoogleServicesFramework.apk and is working now but still my play store says my phone is not compatible with some apps
[Android Software Development] hamsteyr:
I'm really not too sure what's going on sorry. Could be a ROM related issue, seeing that quite a few people have already had it working.

I apologize for the inconvenience. It's difficult to try and accomodate all sorts of android devices and configurations.
[Android Software Development] juancollado2003:
maybe if you compare my GoogleServicesFramework.apk with a working one you can see whats diferent in mine
[Android Software Development] hamsteyr:
If you are interested in sending me your Phonesky.apk and GoogleServicesFramework files, I can analyse them.

Feel free to send them to me in a Private message
[Android Software Development] st0nedpenguin:
No matter what combo of play store DPI and device DPI I try, on both EOS 4 on the TF101 and CM10.1 on an Inspire4G, half my apps listed in the play store vanish.
[Android Software Development] Chevyguy85:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2a (7/2/13)

I tried. It changes the dpi but, for me, gives me market incompatibilities. Granted it took a lot of trial and error to get my Inspire to play nice with the dpi change and market. I'm sure if I spend as much time as I did with my phone I could get it to work. I did finally get around to un installing android and reinstalling using acme3 to help run JB better. However the clean install gave me sleep of death issues as well as dpi change related market/server issues so I gave up and just restored my nandroid. I'm sure I'll try again in the future and let you know.

Sent from hp touchdroid
[Android Software Development] hasenbein1966:
AW: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2a (7/2/13)

Unnecessary trouble. As I said, just use "xposed" plus module Per-App-DPI Settings, that works absolutely problem-free with any rooted device. And you don't have the problem that apps (especially system apps) get the wrong DPI - you just alter the ones you want. And if you don't like it anymore how a certain app looks, you just disable the DPI setting in a few seconds, and there you go.
[Android Software Development] :
Great job ! Thanks !
[Android Software Development] hamsteyr:
Tool seems to be a hit and miss to some, I think it has something to do with the way different ROMs are set up to be honest.

My only word of advice for now to getting it to work is this:

-Go into Settings -> Apps and Force Close and Clear Data for both Google Play Store and Google Services Framework

-Remove your Google Account

-Reboot into Recovery and clear Cache and Dalvik Cache.

-Reboot normally and try setting it up again.

I'll be looking deeper in to the code to see what's wrong where, or if there are better implementations of this.
[Android Software Development] ilamaan:
Does this work on Sense ROMs?
[Android Software Development] hamsteyr:
It should theoratically work on all ROMs. Some things may not be used to a custom dpi however, so be aware of that.

Do a nandroid backup before hand
[Android Software Development] javonera:
I followed your advice, and rename it. After that I could patch everything without errors, but after reboot (wipe cache, wipe dalvik), I got "gapps stop responding" error.

I tried force stoping and deleting data from google play and google service framework. Rebooting. Rebooting and wiping cache and dalvik again. All the combinations let's say and couldn't stop the error from poping.

I even tried formatting all android data and patching the files before adding a google account, but same behaviour

Do you have any other suggestions?

Motorola Defy running CM 7.2 (GB)
[Android Software Development] Chevyguy85:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.2a (7/2/13)

Well I can say it works just fine on a clean install of jellytime r6.1.

Think I might have found a possible reason why I can't get it to work on my touchpad though. Before running the program I can close and delete data of Google services. After using it Google services doesn't show up in apps list to close/wipe it. I checked and it is in system/app so not a case of the apk not being there. Also after googling the market error I get the results seem to say the error is related to Google services.

Thanks for a great easy way to adjust dpi. Makes my phone not seem so small!

Sent from hp touchdroid
[Android Software Development] hamsteyr:
Hmmm. I am somehow under the impression that it may have something to do with conflicting programs somewhere on later in installs. Most of the situations that I have tried it in are clean installs, and they work just fine in clean installs, but apparently they may not so in phones that have already been going for some while.

@javonera That usually happens only when the files are unsigned correctly, so that's odd. Do you have the gapps package that you use? I'll take a look at it and see if I can replicate it.

For now just revert to the originals, but if you're feeling up to it, I would even recommend you to try and see if it works on a fresh clean install.