yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Tsjoklat:
Google Play 3.7.11 (including app purchase fix)

Google Play 3.7.11 with multiple patch combinations to fit your needs. All attached versions below include a fix (nosig) to allow you to purchase applications within the modified Google Play application.

Note: the "norestrictions" patch has changed in 3.7.11:

diff -ru Vending.3.7.11.orig/smali/com/google/android/finsky/utils/LibraryUtils.smali Vending.3.7.11/smali/com/google/android/finsky/utils/LibraryUtils.smali
--- Vending.3.7.11.orig/smali/com/google/android/finsky/utils/LibraryUtils.smali	2012-06-29 01:04:06.475369095 +0200
+++ Vending.3.7.11/smali/com/google/android/finsky/utils/LibraryUtils.smali	2012-06-29 01:26:01.327379648 +0200
@@ -237,6 +237,8 @@

const/4 v4, 0x1

+ return v4
+
const/4 v3, 0x0

.line 38

Noupdate patch:

diff -ru Vending.3.7.11.orig/smali/com/google/android/finsky/utils/SelfUpdateScheduler.smali Vending.3.7.11/smali/com/google/android/finsky/utils/SelfUpdateScheduler.smali
--- Vending.3.7.11.orig/smali/com/google/android/finsky/utils/SelfUpdateScheduler.smali	2012-06-29 01:04:06.519373401 +0200
+++ Vending.3.7.11/smali/com/google/android/finsky/utils/SelfUpdateScheduler.smali	2012-06-29 01:06:56.979376016 +0200
@@ -29,7 +29,7 @@
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 45
- const/4 v0, 0x0
+ const/4 v0, 0x1

iput-boolean v0, p0, Lcom/google/android/finsky/utils/SelfUpdateScheduler;->mUpdateInProgress:Z

@@ -88,7 +88,7 @@
if-eqz v5, :cond_0

.line 79
- const-string v5, "Skipping self-update check as there is an update already queued."
+ const-string v5, "Skipping self-update check."

new-array v6, v8, [Ljava/lang/Object;

MD5SUM's

4263a35809d520e380f3ec0334f74a1b Vending.3.7.11.noupdate.nosig-aligned.apk
b672bea68fc099b85f6f96273f47261e Vending.3.7.11.noupdate.norestrictions.nosig-aligned.apk
f53b3b5c2215ac82645ca8663010e129 Vending.3.7.11.noupdate.dpi160.nosig-aligned.apk
986b9c8fe80aa6c845f60d21edaa89ea Vending.3.7.11.noupdate.dpi240.nosig-aligned.apk
23998e2a126639b3f3f658ba517bf294 Vending.3.7.11.noupdate.dpi320.nosig-aligned.apk
ba6ed3eefcd73947d49a754d3a22cad8 Vending.3.7.11.noupdate.norestrictions.dpi160.nosig-aligned.apk
0afb2d6189c4e11bbd7d4581758a2fa3 Vending.3.7.11.noupdate.norestrictions.dpi240.nosig-aligned.apk
4882b6f106b25582fe8f0c33df3982a3 Vending.3.7.11.noupdate.norestrictions.dpi320.nosig-aligned.apk

Installation: rename file to Vending.apk (or Phonesky.apk for ICS) and replace file in /system/app/Vending.apk (or /system/app/Phonesky.apk).
[Android Apps and Games] Kameirus:
3.7.11 240dpi noupdate np restrictions works perfectly

Thanks
[Android Apps and Games] digitalH:
I tried that 3.7.11 240dpi noupdate np restrictions Still isnt working on my SGS2... really wonder why its working on others phone and not mine ;(
[Android Apps and Games] Tsjoklat:
Try clearing the cache and the data for Google Play (but do not reboot). Sometimes that helps.
[Android Apps and Games] LocutusEstBorg:
I still get error 942 when trying to download any "incompatible" apps. The No Restrictions version is useless. I cannot download the TegraZone Games apps, Galaxy on Fire 2 THD etc.
[Android Apps and Games] ROLY5573:
I have just tried the No Restrictions version, and get the "942" error as well, when trying to download previously incompatible apps.

It would be great to have this working!
[Android Apps and Games] Hammerfest:
How is the new version? They finally fix that awful "My Apps" section?

While I am interested in it, its not that important... I still use an older version of ADW Launcher EX and now Dice player (new version of ADW Launcher EX blows overall and specifically removes the dock I like, and new version of Dice player removes the DTS codec... Q_Q) which requires Market version 3.4.7 so Titanium Backup can detach them so I dont have to worry about auto-updates (or forced) or the constant NAG about updates being found for installed applications... also, it was the last version to feature a SANE "My Apps" section :D

TYVM OP, also, maybe you should update the OP with all the updates and news... its a wee bit outdated :X
[Android Apps and Games] Phone_Guru:
Hoe did you compile the apk? I keep getting an error in styles.XML for a value I didn't change. I'm using apk manager for ICS
[Android Apps and Games] Tsjoklat:
In order to retain the original file size and to avoid having to edit the resources, this is the method I use:

1. Decompile

2. Edit smali

3. Delete "resources" directory

4. Compile

5. Unzip modified apk

6. Rename copy of original apk to a zip extension and insert modified classes.dex (in binary form) from the unzipped modified apk.

7. Sign and align (but the "nosig" version is using the original google key manually inserted back in)
[Android Apps and Games] Tsjoklat:
I have heard that the "norestrictions" patch is needed even to sideload certain apps. I think this problem is difficult to test because the results depend on what region you are in and how many restrictions also exist on the server side.
[Android Apps and Games] hadi_rena:
@Tsjoklat: I'm really impressive with your work :good: currently using 3.4.7 noupdate, norestriction, dp240, nosig version and working flawlessy.... except my data connection is a real dumb. The major reason I avoid using market (play) ver 3 because ver 2.3.6 is consume less data which affordable for me. Could you patch market version 2.3.6 for me :confused: norestriction, dpi240, and nosig will be good enough because i already freeze market updater.

Thank You...

NOTE: I can upload market ver 2.3.6 if you require it for decompiling
[Android Apps and Games] superleeds27:
3.7.11 NO Update. Can't be working. My market has updated too 3.7.13
[Android Apps and Games] Tsjoklat:
It is possible that Google Play re-downloaded an update before the file was replaced. Make sure to stop the service for Google Play so it does not try to update itself before you have a chance to replace it with the modified version. If "Market Updater" exists, freeze or remove that too, Also, there should not be any versions of Google play in /data/app/ because that means you still have updates installed.
[Android Apps and Games] Tsjoklat:
I was looking at the code to see if I could rewrite some of these patches for the older version of the Android Market (2.3.6), but it is very different. It might take some time to figure out where the older code needs to be changed. If anyone has successfully created patches for the older version of the Market, please let me know.
[Android Apps and Games] cujo6801:
Nice....

SENT FROM THE DOG POUND
[Android Apps and Games] X10_minipro:
Ive tried something "new" today, running old market since several hours ago. No update yet. If I don't get an update tomorrow i will write how i Did, to tired now.
[Android Apps and Games] ig000r:
hey guys im searching for a black/inverted version of playstore v3.7.11. anyone able to do?
[Android Apps and Games] Phone_Guru:
I'm working on once for my red theme.
[Android Apps and Games] Phone_Guru:
That's nice for you but I need to edit the colors.xml in the values folder of the resources.
[Android Apps and Games] rjmohit:
3.7.13 update released!
[Android Apps and Games] digitalH:
thanks for the tips. but I already did everything and never worked. I think its because my region is China and that's all is ****ed up when its about internet... .. .
[Android Apps and Games] Tsjoklat:
Google Play 3.7.13

Google Play 3.7.13 with various patch combos.

78b10a63081ddf392f7aaf1f902ee5ba Vending.3.7.13.noupdate.nosig-aligned.apk
64bd83662b12e622ee09df7bf3b5a8f1 Vending.3.7.13.noupdate.norestrictions.nosig-aligned.apk
b44154ad69a5015902b4283ef805f054 Vending.3.7.13.noupdate.dpi160.nosig-aligned.apk
f3e3f6594c671f0aefbf1f5812ae9742 Vending.3.7.13.noupdate.dpi240.nosig-aligned.apk
9918e6663975413add96331a1b613ee8 Vending.3.7.13.noupdate.dpi320.nosig-aligned.apk
824e025563eb3f316929537394d8f0b7 Vending.3.7.13.noupdate.norestrictions.dpi160.nosig-aligned.apk
fd6744da15f131430259873fdf8560cf Vending.3.7.13.noupdate.norestrictions.dpi240.nosig-aligned.apk
c168f468d34ebf1416fe39fbe975a5e6 Vending.3.7.13.noupdate.norestrictions.dpi320.nosig-aligned.apk
[Android Apps and Games] timstanley1985:
Thanks for all your work, been using your markets for a few months now.

I'm getting a 404 error when trying to download your 3.7.13 markets
[Android Apps and Games] cjward23:
Can confirm the same
[Android Apps and Games] Tsjoklat:
I just tried to upload all the files over again, but I am still getting a 404 error when I test it. Maybe XDA is just having issues right now. I will check again in a few hours.
[Android Apps and Games] Tsjoklat:
The downloads are working now.
[Android Apps and Games] vbaros:
The problem with DPI patched versions is that it works the first time I replace the system version. I uninstall and remove all the previous versions befere ofcourse.

After first restart I'm again getting application incompatibilties and the number of installed applications visible from Play Store reduce to only ones that are compatible with my current DPI which is 220.

Does anyone have the same problem?

I'm on CM7.2 (nightly), Desire Z.
[Android Apps and Games] Tsjoklat:
In order to make the DPI changes in the Play Store permanent, the framework also needs a similar patch. The problem is that when I try to patch the framework, it creates problems for the other google apps because the application signature is not the same as the original Google signature. There are versions of the framework that have been modified, but they all seem to have issues too.
[Android Apps and Games] metaldood:
Strange I remove previous version and installed norestrictions noupdate version. It installed correctly but I cannot see the Movies/TV link. Although I see Magazines link and version shows as 3.7.13.

190 dpi.
[Android Apps and Games] sniper:
The newest downloads don't seem to be working for me either. Thanks for all of these though, I can't wait to download them so I don't have to waste time trying to get my apps to show up with those stupid workarounds ;)

Click here for custom mods for your E4GT
[Android Apps and Games] Superm@π:
Which is which? I can't make out full descriptions. I'm on the HTC rezound this is what it looks like on my screen:

I just want to download whichever is the best for this phone. Thanks!
[Android Apps and Games] famewolf:
ParanoidAndroid includes a full gapps already patched and in sync. Their documentation on the website has a link to where the gapps is stored.

*update* A quick google found this... http://mirror.viperts.info/galaxy_nexus/maguro/paranoidandroid/gapps/gapps-ics-20120511-fixed.zip
[Android Apps and Games] sniper:
Never mind, they downloaded now. Is there any reason not to use the no restrictions one even though I'm in the us so I shouldn't really have any restrictions in the market?

If you look in the text of the post at the bottom it lists the names of all of them. I guess just count how many down the one you want is and download that one.

Click here for custom mods for your E4GT
[Android Apps and Games] Tsjoklat:
So, all of the google apps were resigned so the signatures match. I was hoping someone could verify that method. The only problem is supporting everyone. The frameworks and patch combos would wind up requiring a bunch of versions to support everyone's needs. :-)
[Android Apps and Games] Superm@π:
Okay, I installed the apk with the "no restrictions" patch but I can't even find vlc beta on the market. What am I doing wrong?
[Android Apps and Games] sniper:
I just made the smali edits myself on phonesky and googleservicesframework because I didn't want to lose the great inverted theming of my market, and it's working perfectly so far :D thank you SOOOO much!
[Android Apps and Games] MyLifeRocks10:
Can u share ur inverted play store,gsf with the dpi patch?:fingers-crossed:
[Android Apps and Games] sniper:
The market theming is all thanks to Rujelus22 :)

Here's a screen shot

They're in a flash able zip for my phone at least. Just extract out the apks and push if you want. They're only modded for 240dpi by the way. http://db.tt/AuVwSDNQ

Click here for custom mods for your E4GT
[Android Apps and Games] MyLifeRocks10:
Thanks mate.:) Made a flashable zip myself and flashed it.
[Android Apps and Games] sniper:
No problem :)

Tell me if you encounter anything like it stops working, because I've only had myself and one other person test it. It has stayed perfect after many reboots and installs though, so I hope it's good, especially since they were my first smali edits :D

Click here for custom mods for your E4GT
[Android Apps and Games] MyLifeRocks10:
First smali edit.:eek::D It looks great. Up to now no problems on my S2 even by clearing data of play store and gsf.

Sent from my GT-I9100
[Android Apps and Games] sniper:
Haha yay :) these past few days I've made my first smali edits, fully themed an app, and the past week released lots of mods for my phone. It's been fun :o

Click here for custom mods for your E4GT
[Android Apps and Games] Superm@π:
Am I supposed to be able to download things like vlc player beta with this patched apk?
[Android Apps and Games] sniper:
Hmm, I'm not sure. That might need the other patches depending on where you are?

Click here for custom mods for your E4GT
[Android Apps and Games] Superm@π:
What kind of other patches? Are they available or are you just saying it needs something else in general? So, what does the "no restrictions" patch do then cause now I'm confused. Thanks
[Android Apps and Games] sniper:
It doesn't show with my apk, but I didn't even add the no restrictions mod. I would think that the no restrictions one would allow you to download it, but you said you've tried using the one from this thread?

Click here for custom mods for your E4GT
[Android Apps and Games] MyLifeRocks10:
Well i downloaded vlc just now.

Sent from my GT-I9100
[Android Apps and Games] Superm@π:
Yeah I tried with no luck and honestly I don't even know how you got that screenshot because I can't even pull it up in Google play. What did you do?

......I think I may be confused with what the "no restrictions" patch does because to me, no restrictions means I can download that damn app lol!
[Android Apps and Games] Superm@π:
How?
[Android Apps and Games] MyLifeRocks10:
I'm using Sn1per 117's themed play store.

Sent from my GT-I9100
[Android Apps and Games] Superm@π:
You have a link to it? I can't find it on xda or Google. Thanks
[Android Apps and Games] MyLifeRocks10:
He gave link 2 page back. Here

But not sure if it will work for u since Sn1per 117 himself is having problem.
[Android Apps and Games] Superm@π:
Sniper, any chance this could be modded for 320 DPI? My rom is themed only for 320.
[Android Apps and Games] sniper:
What country are you in?

I got to it by googling it and clicking the play store link. I think I'll try making a version with the no restrictions mod and test it out.

Click here for custom mods for your E4GT
[Android Apps and Games] sniper:
Alright, am I missing something? Because the code to edit in Document.smali for the no restrictions is no where to be found... :/

Click here for custom mods for your E4GT
[Android Apps and Games] metaldood:
5char
[Android Apps and Games] ivkos:
I installed Vending.3.7.13.noupdate.norestrictions.dpi240.nosig-aligned.apk on my Galaxy S II running latest CM9 and 218 dpi, set in local.prop. No GSF mods.

There's something I wanna ask. Is it normal that I don't get results for certain apps that are thought incompatible with non-240 dpi density, but if I choose them from the suggestions in the search box I can install them?

For example: I search for Nova Launcher, but I only get the Prime version available in the results. However, if I choose Nova Launcher from the suggestions, it is available for installation. Take a look at the screenshots below.

Screenshots: http://imgur.com/a/c1QA8
[Android Apps and Games] :
Can you share with us how you managed to crack dpi? I want to do by myself
[Android Apps and Games] hadi_rena:
Could you share how to resigned all the google apps ? So we can do it by our self :D I have similar problem that DPI hack is not effective after system restart.
[Android Apps and Games] sniper:
Baksmali the classes.dex of your market and gsf. Then do the smali edits you want that are in the first post for the market and some other post that's linked to in the op for gsf. Then smali them, put them back in your apks overwriting the old ones, push the apks, and you're all set :)

Click here for custom mods for your E4GT
[Android Apps and Games] :
I didn't read the first post entirely, I think Chrome bugged, I don't know, network, ...

But I managed to find the files and using a comparative app I saw the changes.
[Android Apps and Games] superleeds27:
We need edited market and edited GSF too don't we?
[Android Apps and Games] ivkos:
I guess we do need both of them edited but how about that problem with the signature check and the public key? Isn't that a security issue?
[Android Apps and Games] :
Tested only playstore crack and everything is working good. Found what to edit and did by myself. Cleaned data of gsf and gp and it still working.
[Android Apps and Games] famewolf:
Or skip re-inventing the wheel and just flash the paranoidandroid gapps package I linked to which has already been "fixed" for their Rom.
[Android Apps and Games] Superm@π:
Would this work for rezound?
[Android Apps and Games] shadowmike:
Sorry if this has been asked. Am mobile and xda search isnt the best.

Is there a possibility to remove the WiMAX/4g restrictions as well ?
[Android Apps and Games] sniper:
What restrictions on them?

Click here for custom mods for your E4GT
[Android Apps and Games] shadowmike:
*Note to Sprint users who use 4G/Wimax* Apps will not update/download with 4g enabled on this version. (thanks troyboytn for the tip)

3g or WiFi must be used.
[Android Apps and Games] sdeft:
I tried these patched Vending files but they don't work on my device. My DPI is set to 210.

Do I need a Vending for 210 ?
[Android Apps and Games] sniper:
You need to use one for what the stock dpi is for your phone. If your phone is regularly 240, then use the 240dpi version. You may also have to edit your googleservicesframework.apk

Click here for custom mods for your E4GT
[Android Apps and Games] sdeft:
I already tried the 240 dpi (My stock dpi) but does not work. My build.prop is set it to 210).

Solved now. Thanks for your help.

Found the instructions and works so far. Just added in googleservicesframework.apk line

const/16 v0, 0xf0

after

iget v0, v0, Landroid/util/DisplayMetrics;->densityDpi:I
[Android Apps and Games] herzzreh:
Do these cause any issues with paid apps?
[Android Apps and Games] xeigen:
Absolutely not.
[Android Apps and Games] herzzreh:
Under "Installed" everything is completely blank, but under "All" it shows the installed apps. How would this affect updates and such?

Also... earlier in the thread I read that changing gsf causes other issues. What is a work around for patched market when you need to reboot? Redo the whole process?
[Android Apps and Games] Mesograt:
I uninstalled Vending.apk and GoogleServicesFramework.apk and put modded versions into the system/app folder and changed thier permissions. I installed the vending.apk and then tried the GoogleServicesFramework.apk but for some reason the GSF said that it would replace a system app, settings will be saved, etc and would you like to install? I click yes, then install, but then it said application not installed. I rebooted and tried again, and the message of replacing system app, settings and all that disappeared, yet it still won't let me install the GSF. Any ideas?
[Android Apps and Games] sniper:
You don't install it... You just place them in system/app/, set the permissions to rw r r and then reboot.

Click here for custom mods for your E4GT
[Android Apps and Games] devil-kin:
Wonderful, thanks. Works like a charm, my market finally shows all the right apps ;)
[Android Apps and Games] herzzreh:
What is the best way to deal with reboots? It seems that and as it was pointed kut sarlier in the thread, apps start disappearing when nonstandard dpi is used. Everything works fine after the initial reboot, but any subsequent reboots cause apps to disappear.
[Android Apps and Games] sniper:
Did you mod the GSF as well?

Click here for custom mods for your E4GT
[Android Apps and Games] herzzreh:
I did not as I read in numerous places that it causes issues. Is it the case or are the mods indeed safe?
[Android Apps and Games] sniper:
I'm not sure. I modded it and haven't had any issues. Also, to avoid even dealing with a problem from decompiling or recompiling, I've always just done this: extract the classes.dex from them, baksmali, edit the smali files, smali, and then just drop the new classes.dex into the apk.

Click here for custom mods for your E4GT
[Android Apps and Games] herzzreh:
Thanks! I'll keep that in mind.

I just wiped the apk, rebooted, dropped in the model Market apk again, rebooted. Didn't work. Rebooted again and the missing programs are back. Go figure...
[Android Apps and Games] sniper:
Isn't that just the best? :p seems like phones just like to play tricks on us.

Click here for custom mods for your E4GT
[Android Apps and Games] famewolf:
@Tsjoklat

Installing the gapps package from paranoidandroid appears to resolve all previous issues (I installed just the gapps package on my inspire which runs a different rom then paranoidandroid)...I also installed it on my hp touchpad...only quirk there is of course that google play reports 240dpi...even on the tablet so it's big but I get all my updates...maybe you can look it over and use it as a model for an integrated 160 dpi gapps.

In any case both my phones can get the software I need so I'm happy and I've been running the modded gapps on the inspire for a month now so it doesn't "revert".
[Android Apps and Games] Hammerfest:
OP, is there any chance you can fix up your first post or maybe make a new thread? Its become a bit convoluted...

Thanks again... still using this on all my devices!
[Android Apps and Games] Molitro:
Has someone got anything working on JB?

I'm diving a bit around GSF's smali files, but I'm no code writer. The code has changed from ICS, and I have no clue of what should be changed (actually "what should be changed" is pretty clear, the problem, of course, is actually knowing what the hell to write instead).

After having no problems on ICS with the market and GSF patches, going back to battling the phone to get apps installed is kind of a deal breaker.
[Android Apps and Games] jaymact:
can i request for 192 DPI? for the cyanogen mode made by pongter??

192 dpi is default and i really like it..

By the way, even i change my dpi to 240. still the application say "Application not installed" but there is a check icon on the beginning of the phrase.

this is my ROM. http://xdaforums.com/showthread.php?t=769026
[Android Apps and Games] Molitro:
What's there to request?

You have to use the 240 one.
[Android Apps and Games] jaymact:
i already try installing 240 dpi but the phine said "application not installed"..

all DPI i tried it all but same result.

any other solution?
[Android Apps and Games] MyLifeRocks10:
It is system app so it will not install. Copy it to system/app, set permissions to rw-r--r-- and reboot.
[Android Apps and Games] jaymact:
i will try this. thx.

feedback later!

---------- Post added at 08:54 AM ---------- Previous post was at 08:38 AM ----------

IT WORKS!!!

thanks to yo sir!

:good::good::good::good::good::good::good::good::D
[Android Apps and Games] metaldood:
Double quote.
[Android Apps and Games] jkc120:
AOKP JB preview release 1, with LCD density set to 241. I pushed:

Vending.3.7.13.noupdate.norestrictions.dpi320.nosig-aligned.apk

to /system/app/Vending.apk, and made the perms 644 and renamed Phonesky.apk to Phonesky.apk.old

I rebooted to recovery, wiped cache and dalvik then wiped the Play Store's cache and data.

But when I open it up and go to "my apps", only 38 of 70 show up and if I uninstall for example Yelp, it does not show up in search.

What am I doing wrong?