Post Reply

[TOOL] Google Play DPI Fix - v1.4.2 (31/12/13)

29th January 2013, 10:35 AM   |  #1  
hamsteyr's Avatar
OP Senior Member
Thanks Meter: 989
 
669 posts
Join Date:Joined: Mar 2011
Donate to Me
More

-= Google Play DPI Fix Tool =-
XDA Portal Feature

I know I should be working more on APK Batch Installer Tool, but I needed a break from it for a while (got myself stuck in some nasty code), and I decided to make an app for something that has been bothering me for a while now:

A lot of us at XDA know about build.prop modification to change our device's DPI to something else, so that we have more real estate. It is just awesome, simply put. The problem with doing that is that some apps in Play Store don't show up, and you can only get around this by manually downloading installing a modded Play Store, and even then, the settings won't stick without a modded Google Service Framework along with that.

It's a tiring and tedious process, and one that many people give up on, and that's why I made this tool. Now, What's so different about this tool than the rest? I'll shortly explain. The difference comes in the fact that it does not require you to download any modded files into your device. It takes existing Play Store and Google Service Framework APKs on your device, decompiles them, mods them, compiles them back, signs them, zipaligns them and certifies them... ALL AUTOMATICALLY!

I could go on all day, but all I'll have to say is that, if you like running a Custom DPI on your device, I highly recommend you give this a shot, and give me your feedback



Tested to be working on Gingerbread, Ice Cream Sandwich and Jellybean (up to 4.2.1 on my HTC Sensation)
Make sure you're using unaltered stock versions of Google Play Store and Google Service Framework to avoid problems

Why Custom DPI? Well, here's why

More real estate, smaller fonts, more on screen at any given time.

-= Requirements =-
- A PC obviously :P
- A Rooted Device
- Micro USB cable to hook your device into your PC
- USB drivers for your device (required for ADB installing)
- USB Debug Mode enabled on your device
- Java Runtime Environment installed on your PC (x86 aka 32-bit as this is a 32-bit application)
- Busybox Installed
- Root Access set to 'Apps and ADB' in Developer Options on certain devices

-= Limitations =-
- Requires that Market be named Phonesky.apk and GSF as GoogleServiceFramework.apk
- Works best if not only with untouched/ unaltered originals of Phonesky.apk and GoogleServiceFramework.apk
- Currently does not work with Odexed files

-= Changelog=-
v1.4.2 - December 31, 2013
-New Feature: KitKat Support - Updated code to detect KitKat's priv-app
-Bug Fix: Updated zipalign.exe (Fixes some zipalign errors)

v1.4.1c - December 11, 2013
-Bug Fix: Fixed bug that caused connection problems with Play Store, and crashes for process.gapps.

v1.4.1b - November 2, 2013
-Bug Fix: Changed internal modification code to address issue of Play Store not showing some Apps

v1.4.1a - November 1, 2013
-Bug Fix: Fixed error in DPI info button (accidentally wrote 360 instead of 320)
-Bug Fix: Changed temp pull dir to /sdcard (Should fix that error that people are getting on decompile time, caused by no file actually being pulled.)

v1.4.1 - August 14, 2013
-New Feature:Added option to choose either direct device modding, or via recovery zip
-Modification: Lightened up some code
-Modification: Uses newer ADB again
-Modification: Added more GSF data cleaning that should hopefully solve some errors right after modding

v1.4c - August 4, 2013
-New Sub-Feature: Descriptive info for Market DPI
-New Sub-Feature: Added XXHDPI, fixed info for XHDPI
-Modification: Changes to exit kill server code
-Modification: Updated zipalign.exe
-Modification: Rolled back ADB to an older version for compatibility reasons(similar to APK batch installer 1.4.1, less problems, smaller filesize)
-Bug Fix: App now aborts if no java is detected (as it was intended)
-Bug Fix: Removed 'no file' prompt for data wiping (as this is not a problem)

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

v1.4a - April 1, 2013
-Bug Fix: Silly mistake of mine caused the program to halt :| oops. Fixed.

v1.4 - April 1, 2013
-New Sub-Feature: Restore to originals
-Modification: Makes /data/local/tmp if non existant.
-Bug Fix: Prevented some application stoppages when pulling files
-Bug Fix: Fixed Bug with wiping Play Store Data
-Bug Fix: Removed some extra unrequired commands that may have been causing FC's on some devices
-Bug Fix: 'Cancel' button not really cancelling fixed

Thanks to darkguy2008 and corkythetard for their help and support

v1.3c - March 25, 2013
-Bug Fix: Added removal of original files to prevent dummy file errors (fixes some compatibility errors)
-Bug Fix: Cancelling doesn't stop on some cases.
-Modification: Moved Adb Kill to exit of app

Many thanks to xda user dt192 for helping me with this new version, and the past version.

v1.3b - March 20, 2013
-Bug Fix: Fixed error of not finding updated files on some devices, hopefully helps to fix even more "non-compatible" problems
-Modification: Added more error handlers for missing files/ insufficient write permissions, more detailed errors

v1.3a - March 16, 2013
-Bug Fix: More reliable process killing and locating files
-Modification: Updated Apktool to 1.5.2 (Smaller Filesize)
-Modification: New method for pulling files off system (should fix some pull errors)

v1.3 - March 6, 2013
-New Sub-Feature: App now checks for Play Store/ Framework updates. These are turned into system apps. This also fixes compatibility issues with 3.10.14
-Modification: Added process killing for play store and framework
-Modification: Added bit of code to target only USB devices and not emulated ones (Thanks for scar45 for the tip and reminder)
-Modification: Changed Temp Dir to /data/local/tmp for hopefully better compatibility (some devices don't seem to have /sdcard)

v1.2b - March 6, 2013
-Modification: Moved section that mounts system as RW up before apk pulling. Should help with some devices getting apk not found pull errors

v1.2a - February 7, 2013
-Modification: More descriptive messages when pulling files from device. Installation will abort if files are not found.

v1.2 - February 5, 2013
-New Sub-Feature: New Error Handler should now give descriptive information to the problem, as well as an option to retry.
-Modification: Added permissions settings for APK, to hopefully solve more force closes.
-Modification: Changed Root Access technique to increase device compatibility

v1.1 - February 4, 2013
-Bug Fix: NEW TECHNIQUE IN BUILDING THE APKS SHOULD NOW MEAN NO MORE FORCE CLOSES! (Also it's 7:18am and I haven't slept yet)

v1.0a - February 3, 2013
-Bug Fix: Removed need for framework-res.apk and installation of framework.
-Bug Fix: Fixed possible error that caused the system to hit Force Closes

-= To Do=-
-Mod local files

Is Packed with:
7z Command line
Apktool (credits to iBotPeaches and brut.all for their excellent work on this)
SignAPK
The usual Android SDK Stuff :P

-= Note =-
-First run of Play Store after using the application gives failures or connection retries, just hit retry and it should work fine.
-Make sure you turn off anything else that might use ADB (Samsung Kies, HTC Sync, ASUS Sync, BlueStacks, etc etc)
-IF YOU RUN INTO FORCE CLOSES AFTER RUNNING MY APP, REBOOT INTO RECOVERY AND RUN 'FIX PERMISSIONS' UNDER 'ADVANCED'

I DO NOT TAKE RESPONSIBILITY FOR ANY DAMAGES THAT MAY COME TO YOUR DEVICE FROM USING THIS TOOL (I have no idea how it would damage it, but stranger things have happened). YOU UNDERSTAND THAT BY USING IT, YOU ARE TAKING THIS RISK YOURSELF :|

YOU HATH BEEN WAARRRNNNEEEDDD D:


Latest and future versions (1.4.1b++) can be found in the Downloads Tab Above the thread or click HERE

XDA:DevDB Information
Google Play DPI Fix Tool, a Tool/Utility for the Android General

Contributors
hamsteyr

Version Information
Status: Stable
Current Stable Version: v1.4.2
Stable Release Date: 2013-12-31

Created 2013-11-02
Last Updated 2013-12-31
Attached Files
File Type: zip Google Play DPI Fix Tool v1.0.exe.zip - [Click for QR Code] (7.00 MB, 1985 views)
File Type: zip Google Play DPI Fix Tool v1.0a.exe.zip - [Click for QR Code] (7.00 MB, 431 views)
File Type: zip Google Play DPI Fix Tool v1.1.exe.zip - [Click for QR Code] (7.01 MB, 457 views)
File Type: zip Google Play DPI Fix Tool v1.2.exe.zip - [Click for QR Code] (7.01 MB, 482 views)
File Type: zip Google Play DPI Fix Tool v1.2a.exe.zip - [Click for QR Code] (7.01 MB, 2167 views)
File Type: zip Google Play DPI Fix Tool v1.2b.exe.zip - [Click for QR Code] (7.01 MB, 51 views)
File Type: zip Google Play DPI Fix Tool v1.3.exe.zip - [Click for QR Code] (7.01 MB, 401 views)
File Type: zip Google Play DPI Fix Tool v1.3a.exe.zip - [Click for QR Code] (3.41 MB, 147 views)
File Type: zip Google Play DPI Fix Tool v1.3b.exe.zip - [Click for QR Code] (3.41 MB, 157 views)
File Type: zip Google Play DPI Fix Tool v1.3c.exe.zip - [Click for QR Code] (3.41 MB, 245 views)
File Type: zip Google Play DPI Fix Tool v1.4.exe.zip - [Click for QR Code] (3.41 MB, 121 views)
File Type: zip Google Play DPI Fix Tool v1.4a.exe.zip - [Click for QR Code] (3.41 MB, 1549 views)
File Type: zip Google Play DPI Fix Tool v1.4b.exe.zip - [Click for QR Code] (3.41 MB, 1606 views)
File Type: zip Google Play DPI Fix Tool v1.4c.exe.zip - [Click for QR Code] (3.16 MB, 91 views)
File Type: zip Google Play DPI Fix Tool v1.4c-newAdb.exe.zip - [Click for QR Code] (3.40 MB, 213 views)
File Type: zip Google Play DPI Fix Tool v1.4.1.exe.zip - [Click for QR Code] (3.53 MB, 1149 views)
File Type: zip Google Play DPI Fix Tool v1.4.1a.exe.zip - [Click for QR Code] (3.53 MB, 113 views)
File Type: zip Google Play DPI Fix Tool v1.4.1b.exe.zip - [Click for QR Code] (3.53 MB, 1951 views)
Last edited by hamsteyr; 2nd November 2013 at 09:01 AM.
The Following 140 Users Say Thank You to hamsteyr For This Useful Post: [ View ]
1st February 2013, 01:07 PM   |  #2  
Senior Member
Thanks Meter: 1,206
 
729 posts
Join Date:Joined: Nov 2008
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.0 (29/1/13)
Tried it on Xylon stocked market. It caused the market to fc right at beginning even before the accept of Google terms.
Also had to remove and re-add Google account, because it failed syncing.

In the end reflashed gapps to get market working again and sync to work fine.

Sent from my NookColor using xda premium
The Following 2 Users Say Thank You to zagzag99 For This Useful Post: [ View ]
1st February 2013, 02:14 PM   |  #3  
hamsteyr's Avatar
OP Senior Member
Thanks Meter: 989
 
669 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Odd. Never had any of that on my devices. Device, ROM and market version? I may have an idea as to what's causing it.
The Following 3 Users Say Thank You to hamsteyr For This Useful Post: [ View ]
1st February 2013, 05:45 PM   |  #4  
Senior Member
Thanks Meter: 1,206
 
729 posts
Join Date:Joined: Nov 2008
Quote:
Originally Posted by hamsteyr

Odd. Never had any of that on my devices. Device, ROM and market version? I may have an idea as to what's causing it.

N4, Xylon Stable (25/1), Latest market version 3.10.10.
3rd February 2013, 01:36 AM   |  #5  
Senior Member
Thanks Meter: 12
 
108 posts
Join Date:Joined: Jul 2010
very usseful app really trully inventive thank you
3rd February 2013, 04:43 AM   |  #6  
Member
Thanks Meter: 31
 
84 posts
Join Date:Joined: Mar 2010
Thumbs up Thanks
Thanks for this.. This app does the same job
https://play.google.com/store/apps/d...android.dpipro

I have been using it for quite a while now
3rd February 2013, 06:31 AM   |  #7  
zeon321's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 63
 
357 posts
Join Date:Joined: Sep 2012
More
I got these errors while using it.
Attached Thumbnails
Click image for larger version

Name:	error hit.jpg
Views:	4841
Size:	39.9 KB
ID:	1699710   Click image for larger version

Name:	error flag.jpg
Views:	4427
Size:	32.9 KB
ID:	1699711  
3rd February 2013, 06:49 AM   |  #8  
Senior Member
Thanks Meter: 67
 
367 posts
Join Date:Joined: Feb 2011
Quote:
Originally Posted by zagzag99

Tried it on Xylon stocked market. It caused the market to fc right at beginning even before the accept of Google terms.
Also had to remove and re-add Google account, because it failed syncing.

In the end reflashed gapps to get market working again and sync to work fine.

yeah same with me
:-/
3rd February 2013, 07:00 AM   |  #9  
hamsteyr's Avatar
OP Senior Member
Thanks Meter: 989
 
669 posts
Join Date:Joined: Mar 2011
Donate to Me
More
In regards to LCD density modder pro, I find that it bricked my device when used in Jellybean.

And regarding those errors that pop up, I figured out why, I'm bringing out a newer version that should address all of that >< Sorry, I made a mistake :<
The Following User Says Thank You to hamsteyr For This Useful Post: [ View ]
3rd February 2013, 07:16 AM   |  #10  
klander's Avatar
Senior Member
Flag Barcelona
Thanks Meter: 216
 
232 posts
Join Date:Joined: Sep 2009
Donate to Me
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.0 (29/1/13)
Thanks :thumbup:

Enviado desde mi Nexus 4

Post Reply Subscribe to Thread

Tags
custom dpi market store fix
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software Development by ThreadRank