[Galaxy S II Q&A, Help & Troubleshooting] JanisFromRiga:
[Q&A] CyanogenMod 7.1 and <<your device is not compatible with this item>>

Hi!

I tried to move to last nighty CyanogenMod 7.1.0 on my Galaxy S II, but noticed, that in market I can't find a game Let's Golf 3 HD because of "your device is not compatible with this item" error.

I searched the web and found many threads about wrong LCD Density. So I tried to fix by changing density, cleaning market cache, but it didn't help (as many other people asking the same question).

So I continued searching, because it seemed like firmware ID or something like that, that's being used by Android Market. Finally I found a thread that might be the one and tried my luck.

For a clean experiment I flashed a clean ROM + gapps.

1) I copied /system/build.prop to /sdcard/build.prop

console:

su
cp /system/build.prop /sdcard/build.prop

2) I edited it with notepad++ bu replacing build properties

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GRJ22
ro.build.display.id=GWK74
ro.build.version.incremental=eng.kmobs.20111116.125402
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Wed Nov 16 12:54:42 UTC 2011
ro.build.date.utc=0
ro.build.type=user
ro.build.user=kmobs
ro.build.host=web.jeago.com
ro.build.tags=test-keys
ro.product.model=GT-I9100
ro.product.brand=samsung
ro.product.name=GT-I9100
ro.product.device=galaxys2
ro.product.board=GT-I9100
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=smdkv310
# ro.build.product is obsolete; use ro.product.device
ro.build.product=galaxys2
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I9100-user 2.3.4 GINGERBREAD XXKG2 release-keys
ro.build.fingerprint=samsung/GT-I9100/GT-I9100:2.3.4/GINGERBREAD/XXKG2:user/release-keys
# end build properties

by

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GINGERBREAD
ro.build.display.id=GINGERBREAD.XXKG2
ro.build.version.incremental=XXKG2
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.4
ro.build.date=Tue Jul 12 23:06:19 KST 2011
ro.build.date.utc=1310479579
ro.build.type=user
ro.build.user=se.infra
ro.build.host=SEI-21
ro.build.tags=release-keys
ro.product.model=GT-I9100
ro.product.brand=samsung
ro.product.name=GT-I9100
ro.product.device=GT-I9100
ro.product.board=GT-I9100
ro.product.cpu.abi=armeabi-v7a
# Samsung Specific Properties
ro.build.PDA=I9100XXKG2
ro.build.hidden_ver=I9100XXKG2
ro.build.changelist=375027
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=s5pc210
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-I9100
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I9100-user 2.3.4 GINGERBREAD XXKG2 release-keys
ro.build.fingerprint=samsung/GT-I9100/GT-I9100:2.3.4/GINGERBREAD/XXKG2:user/release-keys
# Samsung Specific Properties
ro.build.PDA=I9100XXKG2
ro.build.hidden_ver=I9100XXKG2
ro.build.changelist=375027
ro.tether.denied=false
ro.flash.resolution=1080
# end build properties

3) Then I moved it back.

console:

su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mv /sdcard/build.prop /system/build.prop

4) reboot

5) clean market cache:

Settings->Applications->Manage Applications->Market->Clear data

And it worked, I can search games I couldn't find.

Hope this post will help many people and myself when installing fresh rom.

If anyone notices some errors these changes might cause or might know the exact rows, that needs to be changed, please reply!

[source: http://xdaforums.com/showthread.php?t=1174161]

[source: http://androidforums.com/spica-all-...ected-app-market-fix-tutorial-build-prop.html]