• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Possible fix for CM7 and new market

Search This thread

arda99

Senior Member
Jan 4, 2011
258
74
Regarding this thread:

http://forum.xda-developers.com/showthread.php?t=1196417

Thanks for pointing out and after some more tests, seems that its all about DPI.

To fix, edit build.prop and change
Code:
qemu.sf.lcd_density=161

to
Code:
qemu.sf.lcd_density=160
then reboot.

this will change lcd density from 161 to 160. CM7 uses 161 for some reason but seems 160 will get all the blocked apps back.

After rebooting, clear market data and run market again. If you've removed/frozen the market updater app, enable it to get the new market. Those blocked apps should be available then.

Note:
160 will break market at some point per Dalingrin. I'm not sure but it works fine after several reboots so far(n154 on emmc).
 
Last edited:

frankusb

Senior Member
Mar 8, 2011
286
156
The market will stop working with 160 in time. But if you force stop market and clear data, it will work for a while longer.

Frank
 

arda99

Senior Member
Jan 4, 2011
258
74
Thanks. After some more tests I can confirm that its all about lcd density. If clearing data can fix the broken market(on 160) I might still take that route--even its temporarily--instead of 161+old market.
 
Last edited:

joenathane

Senior Member
Oct 19, 2010
1,332
537
Phoenix
Nice catch, hopefully this new information will lead to a permanent fix, with the lcd density at 160 the movies category now shows up for me too..

This shows that there is some really crappy coding going on over at Google...
 

ruthienu

Senior Member
Nov 11, 2008
74
7
Tried switching my lcd density to 160. It did not help at all. Facebook app still won't let me download and several apps do not show updates. Dissent seem like this is a fix.

Sent from my NookColor using Tapatalk
 

thatdude90210

Senior Member
Jul 2, 2011
186
48
Nice! Worked for me. Edited the file in root explorer, rebooted. Go to applications in setting to clear cache, and then clear data for the Market application.
 

skwalas

Senior Member
Feb 22, 2011
259
56
I can confirm that it's NOT all about DPI, and likely not anything to do with DPI. I tried this, rebooted, cleared market app data, got all my apps back. Then, I switched back to 161, rebooted, and STILL had all my apps. this means that 161 also shows the apps after clearing data.

Then I rebooted again (still at 161), and what-hey-presto, I've STILLLLLL got all my apps!

Screw the DPI. Just clear market app data.
 
J

Jsorvik

Guest
I tried clearing market data without changing the DPI and got nothing back. I had to change the DPI to 160 AND clear market data. After doing both of those things. I had 14 apps that needed to updated. . . who knew?
 

PoisonWolf

Senior Member
Feb 8, 2009
2,166
274
Can this method be done without restarting? Say, an app like LCD Density to temporarily change the DPI?
 

arda99

Senior Member
Jan 4, 2011
258
74
I can confirm that it's NOT all about DPI, and likely not anything to do with DPI. I tried this, rebooted, cleared market app data, got all my apps back. Then, I switched back to 161, rebooted, and STILL had all my apps. this means that 161 also shows the apps after clearing data.

Then I rebooted again (still at 161), and what-hey-presto, I've STILLLLLL got all my apps!

Screw the DPI. Just clear market app data.

Your data was set/cached at 160 and when you back to 161, market still uses old data with access to all the apps. So this does work but market might refresh the data and broken again.

You may clear data under 161 and check the result. Vice versa, if you were on 161 and just switched to 160, you also need to clear data or the market will still use old data from 161 dpi.
 
Last edited:
  • Like
Reactions: skwalas

Taosaur

Senior Member
May 4, 2011
836
190
Ohiopolis
taosaur.blogspot.com
Your data was set/cached at 160 and when you back to 161, market still uses old data with access to all the apps. So this does work but market might refresh the data and broken again.

You may clear data under 161 and check the result. Vice versa, if you were on 161 and just switched to 160, you also need to clear data or the market will still use old data from 161 dpi.

This appears to be correct. After changing my density to 160 in build.prop and rebooting, Market was still limited. I force closed and cleared data, then ran Market again, and had full access. I changed my density back to 187 (what I like) and rebooted, and full access persisted, but after reading the above post, I force closed and cleared Market again, and it's limited again. I just repeated the process, changing density back to 160, and full market's back.

Nice work, arda99.
 

fattire

Inactive Recognized Developer
Oct 11, 2010
2,280
6,473
www.eff.org
Ditto. Its making sense now, and I'm thrilled to have my paid apps accessible for updates again.

Next question is: how to make this fix persistent?

Sorry, I'm confused. People are reporting differing results. What would need to be made persistant? 160? That's easily accomplished. But what else does changing this break?
 

skwalas

Senior Member
Feb 22, 2011
259
56
Sorry, I'm confused. People are reporting differing results. What would need to be made persistant? 160? That's easily accomplished. But what else does changing this break?
Actually, I think results of late are pretty consistent. What I meant when making the fix persistent is how to get the "compatibility" of 160 dpi in the market data without having to actually have 160 in the build.prop (which supposedly still breaks the market eventually, per Dalingrin).

At the moment, it appears that building the market app data at 160 dpi and then reverting build.prop back to 161 works. The question is how long will it continue to work? Will any market update clear the market data? Will it just eventually pick up that it is no longer at 160? Could someone once and for all figure out WHY 160 doesn't work over the long term so we could keep build.prop at 160 permanently?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Regarding this thread:

    http://forum.xda-developers.com/showthread.php?t=1196417

    Thanks for pointing out and after some more tests, seems that its all about DPI.

    To fix, edit build.prop and change
    Code:
    qemu.sf.lcd_density=161

    to
    Code:
    qemu.sf.lcd_density=160
    then reboot.

    this will change lcd density from 161 to 160. CM7 uses 161 for some reason but seems 160 will get all the blocked apps back.

    After rebooting, clear market data and run market again. If you've removed/frozen the market updater app, enable it to get the new market. Those blocked apps should be available then.

    Note:
    160 will break market at some point per Dalingrin. I'm not sure but it works fine after several reboots so far(n154 on emmc).
    1
    I can confirm that it's NOT all about DPI, and likely not anything to do with DPI. I tried this, rebooted, cleared market app data, got all my apps back. Then, I switched back to 161, rebooted, and STILL had all my apps. this means that 161 also shows the apps after clearing data.

    Then I rebooted again (still at 161), and what-hey-presto, I've STILLLLLL got all my apps!

    Screw the DPI. Just clear market app data.

    Your data was set/cached at 160 and when you back to 161, market still uses old data with access to all the apps. So this does work but market might refresh the data and broken again.

    You may clear data under 161 and check the result. Vice versa, if you were on 161 and just switched to 160, you also need to clear data or the market will still use old data from 161 dpi.
    1
    An even easier fix:

    • Using Root Explorer, rename /system/app/MarketUpdater.apk to /system/app/MarketUpdater.bak
    • Reboot
    • Go to Settings-->Applications-->Manage applications-->Market and select Uninstall updates

    This will get you back the old market and it won't update.

    Chris