• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Spoof my device?

joashh

Newbie
Hi, I'm trying to run an app(O2Jam Analog) but it doesn't allow me to run it on my Samsung Galaxy S2 Skyrocket(At&t) because it's from US. I've already used Market Enabler to download and install the app, but I need a way to cheat the app into thinking it's running on another android device(from Korea if possible). How do I do this? Thanks.
 
Well, if you are willing to experiment here is the /system/build prop from my samsung i510.

You can pull your build.prop file and compare the two. You could rename your Build.prop file and push this one to your system folder and see if it works on your phone or edit a copy of your build prop file.


# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GINGERBREAD
ro.build.display.id=GINGERBREAD.EP4
ro.build.version.incremental=EP4
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.6
ro.build.date=Thu Nov 3 15:57:46 KST 2011
ro.build.date.utc=1320303466
ro.build.type=user
ro.build.user=se.infra
ro.build.host=SEI-26
ro.build.tags=release-keys
ro.product.model=SCH-I510
ro.product.brand=verizon
ro.product.name=SCH-I510
ro.product.device=SCH-I510
ro.product.board=SCH-I510
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=SCH-I510
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=SCH-I510-user 2.3.6 GINGERBREAD EP4 release-keys
ro.build.fingerprint=verizon/SCH-I510/SCH-I510:2.3.6/GINGERBREAD/EP4:user/release-keys
# Samsung Specific Properties
ro.build.PDA=SCH-I510.EP4
ro.build.hidden_ver=SCH-I510.EP4
ro.build.changelist=706183
ro.flash.resolution=720
# end build properties
#
# system.prop for smdkc110
#

rild.libpath=/system/lib/libsec-ril40.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
dalvik.vm.heapsize=64m

# Indicate carrier OTA SP number schema
# refer to frameworks/base/telephony/java/com/android/
# internal/telephony/cdma/CDMAPhone.java for the schema:
ro.cdma.otaspnumschema=SELC,3,00,07,80,87,88,99
ro.opengles.version=131072

# Samsung USB default mode
persist.service.usb.setting=2

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.opengles.version=131072
ro.config.ringtone=19_Vzw_Droid_1.ogg
ro.config.notification_sound=23_VerizonDroid.ogg
ro.config.alarm_alert=Good_Morning.ogg
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.locationfeatures=1
ro.setupwizard.mode=DISABLED
ro.com.google.gmsversion=2.3_r7
ro.carrier=VzW
ro.com.google.clientidbase=android-samsung
ro.com.google.clientidbase.yt=android-verizon
ro.com.google.clientidbase.am=android-verizon
ro.com.google.clientidbase.gmm=android-samsung
ro.com.google.clientidbase.ms=android-verizon
ro.com.google.clientidbase.vs=android-verizon
ro.csc.sales_code=VZW
wifi.interface=eth0
wifi.supplicant_scan_interval=15
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
media.stagefright.enable-player=false
media.stagefright.enable-meta=false
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=false
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt

Here is a link to adb if you do not have it. Just unzip it and place the folder on your desktop. Attach your phone to the USB of a computer, open the folder double click cmd.exe and type:

adb devices
(it should tell you your phone is connected)

adb remount
adb pull /system/build.prop
(this will pull a copy of your build.prop file into the folder)

Open build.prop in a text editor and compare and make changes to your file.

If you want to try using the above, copy it and paste into a text editor and save it as build.prop in the folder.

Rename your build.prop on the phone:
adb remount
adb mv /system/build.prop /system/build.xxx
adb push build.prop /system/.

Now reboot the phone and see what happens. You may brick your phone and have to sbf back to stock so have the files available.

http://dl.dropbox.com/u/35546129/ADB.zip
adb push build.prop /system/build.prop
 
Thanks for your detailed post. =)

I'm new to Androids. What files do I need to sbf if my phone bricks? Is there a chance that the brick will be permanent?

And where can I find a similar code but of a Korean phone instead of an American one?

Thanks.
 
I do not know. lf U live in Korea and if U have a friend with the same phone, U can pull his/her Build prop file and try it.

If U live in Korea, are the graphics in Korean on phones U buy there?

I was having problems with Kies air app and was corresponding via email with a person from Samsung in Korea. We never solved the problem, but it had to do with the newest version of Java did not work on my computer. I found version 27 and that made everything work properly with the app. the newest version is 30.

My point is that if U are there so is Samsung. U can call them on the phone and ask for help.

If everything on your phone is in english, then find the forum for ur phone and look for something like "all things root". there is where U will find the files and instructions U need to flash back to stock.

Since U said U have a phone from AT&T yet U perfer help in Korea, the trick may have to do with ur sim card. Ur carier in Korea may be able to guide U to a solution.

I am at a loss for any further help to U. If the app is installed on ur phone it should run without regard to sim card or ur carrier.
But I am not familiar with the app. I will research it tomorrow and see if I can come up with another idea.
 
Thanks for your quick reply.

I am in US and my Phone is a US Phone. The app I'm trying to run is Korean(O2Jam Analog) and recently updated to a new version which blocks all American(and possible all other countries') phones. So I'm trying to make the app think the phone I'm using is Korean so it'll let me connect to their online servers(which is required to get past the first loading screen).

I'm gonna try editing my build.prop and try changing the region line:

ro.product.locale.region=US

but I'm not sure which letters are for korean region. I'm guessing it's "KR"...?
 
Ooohh! well then the advice about how to flash ur phone to stock will stand. i experiment a lot but i have the files to use in Oden to get back to stock when I brick.

i do not know the specific answer to ur problem, az far as the reigion code for Korea. U could Google for a build.prop region code for Korea though.

I am verry limited in how tk brick a phone. I always have back ups and ways to get hooked up via usb or CWM recovery. As long as adb can see my device I can restore it.
I have pulled /system/. and have it in the folder I linked U to. Should I tinker with my build.prop file and screw it up and the adb see my phone, i can push /system back to the phone , reboot and be back. of course i experiment on my Droid 2 and the SDK AVD emulator before I try anything on an actual phone.
 
Alright. I'm not entirely familiar with all the terms in your post but I'll keep researching.

I'll use Nandroid to backup my system. Is that enough to restore my phone if my phone bricks after I edit my build.prop? I'll make a backup of my build.prop first also.
 
Before U do any tinkering on ur phone go to the home page of this forum, scroll down to the bottom and find ur phone. open that thread/sub forum and learn how to restore/flash ur phone to stock. Get the files/programs required and then make sure U understand what do.

If u have app in question, on ur phone use Astro file manager to back it up. then U can transfer the back up to ur computer. once on ur computer u can download the Android SDK. I the sdk u can build a fake android phone using the AVD. U can test anything in the AVD emulator before U try it on the Phone. Wait till AM and i will go on my computer and get U links and instructions. if U are in a hurry, Goolle Android SDK and the developers site is usually the first hit. Go there and download the sdk to ur computer. it takes time. U will have to make sure U download the version on ur phone, gb,frayo or ice cream.

get all that done then I can guide U into safe testing of ur tinkering with the app in question.
 
Woah, thanks so much for the help. =)

Okay, I'll start with the emulator and the backing up. Don't wanna brick my new Skyrocket.

The developer of the App replied to my post and said they are considering an international release but it'll take time. Months probably so I'll keep trying to make it work anyways.
 
Cool!
anyway in the morn i will download.tbe app to.this phone.and xfer.tlit.to.an emularor.and.see what.I.can do.with it.
edit: i.do not know where all the typo's come from. whenI type.fast i type crap. pisses me off. i turned predictive text off and still type crap on this phone.
 
Cool, thanks dude. It would be great to know what the app checks for(phone model? region? ip address? carrier?) before allowing the user to get past the first loading screen!
 
Well, I have Market Enabler on the phone, so what code or setting do I use to be able to get o2jam downloaded to the phone? I have tried three and the app is not listed in the search, just some wall papers.
 
Hmm, I used Korea and T-Mobile. Yeah, for some reason it doesn't show up on searches, I just go to this link on my phone and it brings me to the market:

For Android devices only

If this doesn't work, it's also quite easy to find the APK of the latest version 10.1.
 
OK, I got it from someplace and have it installed on my Charge, but I do not read Korean so I am totally lost. When I start it up it takes me to a screen with two buttons at the bottom, the one on the right looks like a sign in screen. I can not type my entire email address into it so I just type in my user name and then my pass word.

Then I get a pop up, but do not know what it says.

So,,, you have an english version?
 
Hmm, I got through that through a guide. Try following this one, pretty sure it's accurate:

Registration required. When you first launch the game, you will see two buttons. Left button is Login, right button is register.
Registration page have three textbox to fill. First is email, second is username (i think), and third is password.
Login page have two textbox to fill, first is email (NOT USERNAME), and second one is password.
Both page’s button, left is back, right is OK.

There are no English version for this game... yet, I hope. They might be working on one..

edit: What version of the app do you have?
 
Well i give up. U know I have this thing on the phone and got no where. I downloaded a file to the computer, APK Manager. You are suposed to decompress an apk file and edit files with it. I can not make it work yet mainly because I do not know where on the computer to install it.

Best I could do is get the apk to my sd card, long press the icon in astro file manager and decompress it it into its constintuant folders and files and view them by long pressing and choosing "openas" choose text and then usinf the db viewer.

I do feel now the answer to ur quest is someplace in the apk file itself.

good luck!
 
Thank you. I'll try using that program. =) If I have any questions, I'll try asking here again.

Thanks again for your help.
 
I have been doing some tinkering. I finally figured out how to use the apk_manager_4.9 on the computer. I found a tutorial here:
[TUTORIAL] Editing files .apk of Android with apk_manager_4.9

I got the entire apk extracted, but that is it. I do not understand any file in there except I was able to get my browser to translate the user agreement from Korean to English, but it did not give any clues: here is the link to that:
file:///C:/Users/a/Desktop/apk_manager_4.9/projects/O2Jam_Analog_HSP_10.1.apk/assets/member_terms.html

I am using Chrome browser and it has an option to translate, I do not know about other browsers.

I should be able to read the xml files, but they all come out in computer language, rather than anything readable. More research is required.

Oh, I see the link to the agreement is on my computer. If you extract the apk you will be able to open the Assets folder and bring up the Members terms html on your computer. If you do not have the APK_Manager 4.9 you can Google it and download it. I extracted the zip onto my desktop and it works as advertised after I found the tutorial.
Later today I will put a different apk into it and see if there are any differences.
 
Thanks. I got the manager too but didn't find anything more than you did. Hmm.. I'm sure there's some bypass... I just don't know how to. =/
 
Funny thing is I edited the bat file in the manager and am now learning how to write cool bat files. There is a ton of examples and tutoorials on the net. i am 65 and it seems regressing.to the days before Windows. I am not bad in Visual Basic but for some reason I never got my fill of bat files before everything got fancy.


I wabt to learn how to ask for user input and then use it for something. it would be to cool to figjure out how to make font size be bigger in a bat file or to be able to ask several questions for user input and have each question in a different.color and text size.

course if it wewe dooable I would have seen it and I have not. Don't hurt to dream.

I should stop trying to type on this or any phone.
'
 
Back
Top Bottom