yashsingh1/xdaforums huggingface dataset:
[Android Software Development] chooven:
I am on a Droid DNA

I just installed NOS version 2.0 http://xdaforums.com/showthread.php?t=2184706 and now I get this error.

your app worked awesome three days ago when I was on NOS M7 v1.0.6

I don't remember if I had the new 4.0 version of Play store before or after I ran your DPI changer when it work so I don't know if it was the Play upgrade or the NOS upgrade. I did install version 3 of the store and still get this file not found error

Thanks for looking into this

I have attached a list of everything in the system/app folder
[Android Software Development] hamsteyr:
Can you check what your Play store is named? I can't seem to see it anywhere in your app list o_O

A good start is to see if it's installed as a system app. Using a file explorer, go into those folders, and find the Play Store Icon
[Android Software Development] sbddude:
What version of java is required? I have 1.6.0.30-b12.
[Android Software Development] hamsteyr:
Download and run this : Link

attach the log here so that I can get an idea of what's going on
[Android Software Development] sbddude:
Log:

-= Copy Information =-

error: device not found

# Return Code: -1

-= APK pull =-

error: device not found

# Return Code: 1

-= Delete =-

error: device not found

# Return Code: -1

-= Decompile =-

java.lang.UnsupportedClassVersionError: Bad version number in .class file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

# Return Code: 1
[Android Software Development] hamsteyr:
Hmm. Is your device showing up in task manager as an adb device?
[Android Software Development] chooven:
Play looks to be in /data/app/com.android.vending-2.apk thats what Titanium Backup is saying anyway
[Android Software Development] Droidem:
Took the plunge and backed up my files. 5 mins later I now can install MLB.com At Bat without sideloading or raising my DPI to install. Awesome product. :good:
[Android Software Development] OhShizzl3:
Thank you mate, this made it work on WanamLite with the Play Store 4 as well.
[Android Software Development] sbddude:
Yes.

here's the log again with phone attached.

-= Copy Information =-

# Return Code: 0

-= APK pull =-

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

# Return Code: 1

-= Delete =-

# Return Code: 0

-= Decompile =-

java.lang.UnsupportedClassVersionError: Bad version number in .class file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

# Return Code: 1

can you link to the required version of java?
[Android Software Development] hamsteyr:
The version required shouldn't be an issue just the latest version should be good enough.

I'm in France now, for two weeks, so I'll have to access my desktop remotely to try and see if I can help you with this ._.
[Android Software Development] hamsteyr:
I'm finally back to the hotel, and I've updated the debugging application, the older one I hosted had quite a silly error that gave that terrible log.

Download this one and tell me what you get. Sorry for that, and thanks.

EDIT: Forgot to upload the file =_=
[Android Software Development] corkythetard:
Not sure what ROM or set up he/she has on their s3, but that might be part of the issue?

Just throwing this out there, but if he/she's running a 4.2.2 ROM the newest ADB is needed. Otherwise only MTP USB storage will work. Maybe that's why sources are unknown and device not detected shows in the log?
[Android Software Development] hamsteyr:
Will pack in the latest ADB when I'm back
[Android Software Development] corkythetard:
Oh no, I meant on the person's pc who is running your tool. I didn't know if that may be one of the variables with regards to Android version/ROM they were running and the need for updated adb drivers on their system. I had to update mine when I updated to cm10.1 with Android 4.2.2 back in February or March.
[Android Software Development] partyk93:
Hello, I have a little problem.

I have Nexus 4 (4.2.2 stock + root) and I've changed standard DPI which is 320 to 280. It looks better, but Google Play doesn't work really well.

I have about 100 apps installed, but it shows only 70.

I used this program, it helped for a moment, after reboot it returned to previous, problematic situation.

I can't clean dalvik & cache, I can't go into recovery.

Does anyone know any solution?
[Android Software Development] hamsteyr:
What do you mean that you can't go into recovery? unfortunately, that's quite an important step.
[Android Software Development] corkythetard:
You'll need to install a custom recovery(ie TWRP or CWM) in order for this to work.
[Android Software Development] partyk93:
That's what I thought after writing the post :)

Is it possible to do it without wipe?

I was using Wug's tool.

Tapatalk - LG Nexus 4 E960
[Android Software Development] hamsteyr:
Not that I know of. You should find a way to clear your Dalvik Cache and Cache for it to fully work. Previous data about your play store will be held in those, so if you don't wipe, it can't refresh it.
[Android Software Development] partyk93:
I don't have a problem now, I flashed AOKP + custom recovery. And it's working now :)
[Android Software Development] darkguy2008:
Hey hamsteyr, I'm concerned about something that came to mind right now: I constantly switch ROMs, and I store my APKs in random folders in my comp. What happens if I run the app with an already-patched Play Store & GSF? Does it whine about it, or does it apply the missing patches (partial or all)?

Thanks in advance and once again keep up the great work with this awesome tool!
[Android Software Development] STEVE_MARS:
Hi, hamsteyr.

In the new JB 4.2.2 ROM of Onda v972 has been changed partition tables, and system now is in nandi, instead of nandd.

And your DPI fix don´t find both files, I think is looking for nandd.

¿It´s correct? ¿How I can change this in your apk?

Thank you very much for your help from Spain :good:
[Android Software Development] hamsteyr:
It shouldn't really be too much of an issue. It finds for a line, and replaces it, if it doesn't find it, it doesn't do anything. Of course, I say that as it works with files that are prepatched with my program, that they work fine.

I'm really unsure about others, but thats why I pull originals.
[Android Software Development] hamsteyr:
hmm... I'm unsure on how to proceed with this one. Could you give me the absolute directory on where it's stored?
[Android Software Development] STEVE_MARS:
Of course, this is the new partition table (JB 4.2.2):

# mount point	fstype	device	device2

/bootloader	vfat	/dev/block/nanda

/env	emmc	/dev/block/nandb

/misc	emmc	/dev/block/nandc

/recovery	ext4	/dev/block/nandd

/boot	emmc	/dev/block/nande

/system	ext4	/dev/block/nandf

/cache	ext4	/dev/block/nandg

/data	ext4	/dev/block/nandi

/sdcard datamedia /dev/null

And this the old one (JB 4.1), that´s works fine:

# mount point fstype device device2

/bootloader vfat /dev/block/nanda

/env emmc /dev/block/nandb

/boot emmc /dev/block/nandc

/system ext4 /dev/block/nandd

/data ext4 /dev/block/nande

/misc emmc /dev/block/nandf

/cache ext4 /dev/block/nandh

/sdcard vfat /dev/block/nandj

/external_sd vfat /dev/block/mmcblk0p
[Android Software Development] hamsteyr:
I see. I'll try and figure something out soon, though I won't be able to until I'm back from my conference on the 9th.

Thanks for the feedback
[Android Software Development] xtonda:
Now I finally received update to Play Store 4.0.26 and tried again this application.

Unfortunately it still blindly tries to patch Store app from /system/app/Phonesky.apk which is initial version that came with device ROM and not updated version from /data/app/com.android.vending-2.apk (number in name may vary, it is update count) so I ended doing patch manually with apktool.

Please consider following enhancement to your application:

* Better detection what and where is latest Play Store app update, if it is too complicated, allow to manually enter path to Play Store app to be patched.

* When patching after Play Store update, GSF and build.prop are already modified, please allow to choose what steps will be performed (build.prop, GSF, Play Store)

I am using Galaxy Note N7000 with Stock 4.1.2 ROM

Thanks
[Android Software Development] STEVE_MARS:
Thanks to you, and good luck in your conference ¡¡¡
[Android Software Development] xtonda:
Additional information

I was getting RPC:S-5:AEC-0 error when trying to update installed apps, I had to remove and re add Google account, which is quite annoying. Unpatched Play Store App did some mess probably, we really need to find a way how to freeze Play Store app to prevent it from updating.
[Android Software Development] dbg11235:
Has anyone tried this with their Galaxy S4? The partitions on the internal SD appear to deviate from the norm.
[Android Software Development] hamsteyr:
@flechaig I'm sorry for the inconveniences. I'll take a look into trying to get this solved. I'm not too sure what's causing it, the last time this happened, it's because it wasn't signed properly.

As far as linux version goes, this tool relies on ADB and zipalign.exe that are both windows executables. I could help guide in the development of a linux version, but as I'm not much of a linux person myself, I wouldn't know how to get it working on linux.
[Android Software Development] mihaum:
Afaik there is a Linux version of adb. As for the zipalign, after quick google research I found out that there also is version for Linux.

For now I do not have much time, during final examination next week, but after that I could look into making a little script for that. Just PM me to get my e-mail.
[Android Software Development] deathtech:
Goes all the way through, but..

When attempting to push the APK's back to /system it fails and just hangs there. brb, gonnna try something.

edit : Mounting system as R/W in Root explorer didnt do anything. It looks like it is failing getting permissions to do so. Sony Xperia Ion LT28at (Using Lt28h FW, stock)

What else happens after it tries to push these back to the machine ? can i just manually put the apk's there at this point, set permissions and be good ?
[Android Software Development] 23Six:
FC on Play Store using 1.0a.

-Tool was successful, no errors

-Wipe cache and dalvik

-Play Store errors

-Wipe Play Store & GSF, reboot, still FC

320 market, 300.

Am I missing something?
[Android Software Development] hamsteyr:
@deathtech Go into Settings -> Developer Options -> Root Access. Make sure that if you have that option, that it's set to Apps and ADB. I forgot to note that on the front page.

@23Six Device, Rom, and base? (CM, Samsung, HTC etc etc)
[Android Software Development] 23Six:
Int'l S3, CM10.1, Siyah kernel, XXELKC
[Android Software Development] deathtech:
That option does not exist on my phone , unfortunately. I am rooted, but bootloader locked (Roms, but stock kernel, pre-rooted flash. )

I do not think my phone in particular supports fastboot (unless bootloader unlocked) but other than that and kernels I should be fine. Is there something in SuperSU I can add that would allow this type of interfacing ?
[Android Software Development] hamsteyr:
@23Six The app should have created two folders, one with the original files and the other with the modified. Zip them up and send them to me through a PM so that I can analyse them and see where things went wrong, thanks.

@deathtech The thing about this app is that it requires you to be able to run the 'adb root' command, which gives adb access to read write on your system folder. If you have any form of ADB lying around your machine, try hooking up the phone and see if the command 'adb remount' works.
[Android Software Development] niziol_pl:
well lots of bugs here, but somehow i manage to make it works. First of all i used 1.0 then after errors downloaded 1.0a and check if root access is granted to an adb on my pc. whole process get done. i wiped cache and dalvic c, then i reboot. everything fine except i got error 942 on the playstore. so i got into the settings, applications, all and delete cache of google play, everything works so far, apps can update and there is no message about uncompatiblity.

EDIT:

Google Currents is unavailable so far, nothing important coz i got this on my tablet, but it shows there is an issue. I have samsung sgs+ on cm10 by ivendor.

Will test for more. DPI 210 super slick super cool. thx for this app,

its better than editing buildprop coz many apps actually works.
[Android Software Development] 23Six:
Trying again with Root + ADB access enabled in dev settings, thought this was the setting by default!
[Android Software Development] hamsteyr:
unfortunately, it's not :| there's no way for me to change that through adb
[Android Software Development] TheSchatz:
Device: i747

ROM: Liquidsmooth beta 3.2.1

Market version: 3.10.10

DPI Fix Tool Version: 1.0a (also 1.0 yesterday but same result with both)

I'm getting "unfortunately Google Play Store has stopped" errors every time I open it (and sometimes when I don't) but the store seems like it wants to open, as I get to see it's loading screen for a few seconds before it closes. Root is enabled for both apps and ADB.

I'd love to see this tool working, as I had nearly given up on custom DPI due to all the market problems. If there's anything I can do to help, let me know! Thanks for your effort on this
[Android Software Development] hamsteyr:
Are you running a CM 10.1 based rom? I'm actually in the midst of trying to figure this one out, there seems to be an issue decompiling PhoneSky in the latest gapps-jb-20121212-signed.

Sorry for not being able to get it working, but I'm trying my best to solve this :<
[Android Software Development] TheSchatz:
It is AOSP 4.2 based, so yes, like CM 10.1

No worries man, the fact that it's being worked on at all makes me happy :D Good luck!
[Android Software Development] 23Six:
Re: [TOOL] Google Play DPI Fix (Custom DPI, Modded GSF, GB, ICS, JB) - v1.0a (3/2/13)

I tried changing my overall DPI to 280, then used Lucky Patcher (force 240 DPI) on market. So far so good
[Android Software Development] mbarreto:
I get an error on the last step, injecting the modified files on the /system. Solved it by copying manually with Root Explorer. Other than that, works like a charm! Thanks a lot, great app.

Phone: Galaxy SII Lte GT-I9210

ROM: Stock 4.0.4 with Apex Pro Lancher
[Android Software Development] hamsteyr:
That's the other way of getting it into the system, apart from using ADB root, yes :P

Glad it's working for you.
[Android Software Development] Chevyguy85:
Thanks! Been waiting for something easy since lcd modder pro stopped being developed. Trying this out now on an Inspire 4G running Jellytime R30.

Well it changed the DPI but I get incompatible on some apps in the market. Oh well it was worth a try
[Android Software Development] st0nedpenguin:
Everything runs without a hitch on EOS 4 on my TF101, but if I load the market afterwards it only lists about half my apps.
[Android Software Development] Chevyguy85:
Sounds like you're having the incompatible app still too. Manually search the market for an app you know you have installed. When you go to the "page" for it if there is a black bar across the top that says this app is incompatible with your device then you're in the same boat as I am.
[Android Software Development] m.ksy:
hamsteyr,

can you make possible to patch the apk files located on my PC, not just only on the phone?
[Android Software Development] hamsteyr:
Possible, just not right now.
[Android Software Development] deon7388:
Oh Yea!

Just wanted to chime in on the success for future users...

The most recent version worked very well for me. I'm on Windows 8, using a Galaxy Note 2 with AOKP Milestone 1 of Android 4.2.2.

Be sure to download BusyBox on your phone and install the phone's usb driver to your computer. AOKP's ROM placed the Note 2 at 320 dpi and it was killing my eyes, so I changed it to 290 and started having problems with the market until I found this. Thank you [MENTION=3808696]hamsteyr[/MENTION]!
[Android Software Development] negativman:
Does anyone after using Google Play works correctly? I'm after a change of DPI when trying to upload the program gives an error "Server Error."
[Android Software Development] hamsteyr:
Try adding and removing your Google account, then wiping your play store and Google services framework data. Restart, add it back, and see if it works.
[Android Software Development] gg84:
Hi, I am trying to use this on g2x with hellfire phoenix (GB 2.3.7) & I had the latest version of playstore 4.0.27 installed.

Playstore was named as Vending.apk, which I renamed to Phonesky.apk before running the exe. I set the DPI to 200 & ran the exe which finished successfully.

I did a wipe cache/dalvik, fixed permissions, rebooted. Then changed name from Phonesky back to Vending, rebooted, wiped cache/dalvik, fixed permissions but still I am get FCs - I can't open playstore.

I had to manually replace the the GoogleServicesFramework & Vending.apk with the original ones saved by the apk to get things working again.

Any suggestions on how can I get the exe to build correct versions of playstore.
[Android Software Development] hamsteyr:
Hmm. Does it happen even if you don't rename it back to Vending.apk? I have had some reports from some users as well that they had to restart the device 2 times to get rid of any Force Closes. Not sure why that happens.

Force Closes usually only happen with conflicting data, Perhaps you'd have to manually wipe their data in Application Manager.
[Android Software Development] gg84:
I didn't try leaving the apk as Phonesky. But after renaming it back to Vending I did reboot (cleared cache/dalvik, fix permissions) multiple times (3-4 times) but was of no help.

Do you think its worth leaving the name as Phonesky & not renaming it back to Vending?
[Android Software Development] hamsteyr:
I'd say anything is worth a try. I'd suggest manually wiping data for play store and Google services framework on app info, wiping cache and dalvik, then rebooting.
[Android Software Development] gg84:
I tried not renaming back to Vending.apk & manually wiping data plus multiple reboots with cache/dalvik cleared but nothing helped.

Has any one tried this on GB with latest play store apk 4.0.27?
[Android Software Development] mboogy:
After running this on my GN II, with Liquid Smooth, I'm happy to report that it works perfectly. Muchos gracias!
[Android Software Development] hamsteyr:
Did you try the manual data wipe? I do apologize for the inconveniences
[Android Software Development] corkythetard:
Wanted to share a screenshot from my Galaxy Tab 2 7.0 Nice work on the DPI fix!! Really sharpened the detail up. Set at 160.
[Android Software Development] dbg11235:
Can anyone confirm this tool working with Galaxy S4?
[Android Software Development] hamsteyr:
Some users a few posts above have had success. It depends on what ROM you're running though
[Android Software Development] corkythetard:
I'll be able to test that in 5-6 days *Praying T-mobile ships as promised*
[Android Software Development] GnatGoSplat:
I get "Error Hit" when it goes into "Decompiling Play Store..."

I'm using an HTC HD2 with this ROM:

http://xdaforums.com/showthread.php?t=2224469

Any solutions I can try?
[Android Software Development] gg84:
Yeah, tried manually clearing data from settings as well but not luck.

That's fine, it was worth a try.. May be it's my rom.
[Android Software Development] hamsteyr:
Run This, and send me the log.

That error has nothing to do with the ROM more than likely, but rather the Java installation on your machine.
[Android Software Development] hamsteyr:
I'll be back home on Friday. I can only then take a look at the code on my desktop, and see if I can help you further. It's hard to make any changes now, as I'm travelling and on my laptop
[Android Software Development] hadi_rena:
Quick question: Does this tool apply no-update patch and no-restriction from [MENTION=2478576]Tsjoklat[/MENTION] thread ? Searching return nothing....

And does purchase is working ?
[Android Software Development] gg84:
No issues, let me know when you get a chance to look at this. Thanks for being so prompt in responding.
[Android Software Development] hamsteyr:
Purchases should be working. This application does not apply the no restriction or the no update patch. If I get a high demand for it, I may add it in future versions.
[Android Software Development] sbddude:
Yes, update java. I had the same (similar) issue.
[Android Software Development] GnatGoSplat:
Thanks, that was exactly the solution.

I already had Java 7 on my machine from a long time ago, but turns out it is the x64 version and not compatible with this app. I had to install the 32-bit version. I went with Java 6 this time since we've had so many problems with Java 7 at my work. That did the trick.
[Android Software Development] bigchuk00:
wow

thanks a lot. it helped me on my note gt n7100 running android 4.1.2omega on 190dpi with multiwindow mod
[Android Software Development] negativman:
Is it possible to make the process of changing the DPI through the recovery, creating an installation zip?:confused:
[Android Software Development] lotherius:
EDIT:

Okay, so I read back (since search failed big time to find anything relevant, yet only a few posts above was a post about java)...

You have to use 32 bit java???

Okay, so I installed Java Runtime, as it wasn't present due to this machine being a new install...

C:\Users\Alvin>java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

C:\Users\Alvin>

However, when I run the DPI Fix app, it complains that I don't have Java. The exact error is: "A valid installation of Java was not detected on your machine"... which of course is bogus.

I've used it in the past successfully, but this time.... it just won't find Java.

So what's the app looking for that's not in the standard install of Java??
[Android Software Development] hamsteyr:
Could you try installing the x86 version of Java and see if that works for you? As this application is x86 based, it probably needs you to be using the x86 version.

Let me know how it goes.
[Android Software Development] lotherius:
Trying that now.... Edited my original post once I caught that.

Maybe the OP should state as much... I suspect a lot of people are going to stumble on that.
[Android Software Development] hamsteyr:
I am so used to having both versions installed that I may not have caught onto it... So yes, I make quite a few misses here and there :x Did it work though? if it did, I'll edit the OP to reflect this need
[Android Software Development] lotherius:
Yes, that worked. x86 version fixed me up.

Now I have the new version of Play that supposedly hilites tablet apps on my TouchPad :) Too bad it thinks everything is tablet optimized!!! But at least I can run the touchpad's native 132dpi and keep a current play store!