[Nexus S Android Development] ogdobber:
When updating to 2.3.1, many apps do not show up in the market. a simple solution is to change the build prop to 2.3 but then you constantly get the 2.3.1 ota hassling you.

This uses gscript (or gscript lite) to easily switch to 2.3 to download/show all protected apps and switch back after downloading to avoid the hassle

-download gscript (or lite version) from the market

-extract "scripts" zip (bottom of post) and place them in the gscript folder on you phone

-create (using root explorer) a folder called buildprop

-navagate (using root explorer) to /system and long press build.prop and copy

-paste in "buildprop" folder in sd and rename to build.2.3.1

-navagate again to /system and long press build.prop and copy

-paste in "buildprop" folder in sd and rename to build.2.3

-long press and open in text editor

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GRH78
ro.build.display.id=GRH78
ro.build.version.incremental=eng.gridlock.20110103.162924
ro.build.version.sdk=9
ro.build.version.codename=REL
ro.build.version.release=2.3.1
ro.build.date=Mon Jan 3 16:30:08 EST 2011
ro.build.date.utc=0
ro.build.type=user
ro.build.user=gridlock
ro.build.host=Satellite-A505
ro.build.tags=test-keys
ro.product.model=Nexus S
ro.product.brand=google
ro.product.name=soju
ro.product.device=crespo
ro.product.board=herring
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=s5pc110
# ro.build.product is obsolete; use ro.product.device
ro.build.product=crespo
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=soju-user 2.3.1 GRH78 85442 release-keys
ro.build.fingerprint=google/soju/crespo:[COLOR="Red"]2.3.1/GRH78/85442[/COLOR]:user/release-keys
# end build properties
#
# system.prop for smdkc110
#

rild.libpath=/vendor/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.opengles.version=131072
wifi.interface=eth0
wifi.supplicant_scan_interval=15
dalvik.vm.heapsize=32m
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.ringtone=DonMessWivIt.ogg
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.ril.enable.managed.roaming=1
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
ro.ril.emc.mode=2
ro.modversion=CyanogenMod-7.0.0-ALPHA2-NS-KANG
ro.setupwizard.mode=OPTIONAL
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt

-change the red highlighted to

ro.build.fingerprint=google/soju/crespo:[COLOR="Red"]2.3/GRH55/79397[/COLOR]:user/release-keys

-save changes

its going to look like this

-now open gscript press menu and "add script"

-name it Modded_2.3.1 "load file" and select Modded_2.3.1.sh and save

-(add script) and name it Normal_2.3.1 (load file) and select Normal_2.3.1.sh and save

-now to run it... open gscript and select Modded_2.3.1 (may ask for su, accept) and your phone will reboot

-go to the market and get desired apps

-run gscript- (Normal_2.3.1) as to not get ota announcements

thats it, market fixed. we had the same "problems" with froyo on the N1...thats the price you have to pay for the latest from google;)

credits-followinginsanity, laymil