Samsung firmware code reference

each firmware version consists of 3 parts: phone model, country/region code and firmware version number

for example: I9000XXJVQ
phone model = I9000
country/region code = XX
firmware version = JVQ


click here for Samsung CSC code reference
click here for Samsung firmware version number reference



the table below shows all Samsung firmware country/region letter codes gathered from the internet


CodeCountry
AWHungary
AZFrance
BDCyprus, Greece
BYGreece
CBPoland
CEBenelux
CPDenmark, Finland, Norway, Sweden
DBVietnam
DCThailand
DDIndia
DTAustralia
DXIndonesia, Malaysia, Philippines, Singapore, Vietnam
DZMalaysia, Singapore
JASouth Africa
JCAlgeria, Morocco, Nigeria, South Africa, Tunisia
JP/JRArabic
JV/JXAlgeria, Egypt, Iran, Iraq, Kuwait, Morocco, Nigeria, Oman, Pakistan, Saudi Arabia, South Africa, Syria, Tunisia, Turkey
JWWest Africa
KATurkey
MEFrance
MKSerbia
MSFrance, Germany, Italy, Netherlands, Portugal, Spain, Turkey, UK
MTSwitserland
MYItaly
NHLatvia
POFrance
PURussia
UBBrazil
XAAustria, France, Germany, Italy, Netherlands, Switzerland, United Kingdom
XBDenmark, Norway, Sweden
XCPortugal, Spain
XDCroatia, Czech, Hungary, Slovakia
XEBulgaria, Estonia, Kazakhstan, Latvia, Lithuania, Russia, Ukraine
XFBulgaria, Croatia, Romania
XPUK, France, Italy, Spain, Netherlands, Poland, Portuguese, Turkey
XWAustria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom
XXAustria, Belgium, France, Germany, Hungary, Italy, Nordic, Spain, United Kingdom
ZC/ZSChina, Hong Kong
ZHHong Kong
ZTTaiwan



so for example:
I9000XXJPO means it is a rom for Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom
I9100ZSKI3 means it is a rom for Hong Kong

increase browser font size mod RC1 (change text size)

UPDATE: Galaxy S3 browser default storage not saved bug fix


- this is a modded version of deodexed stock Browser.apk for I9100 which allows users to change or increase the default font size (text size) in the browser
- based on the one included in DlevROM2_2.1_KI3 by Dlev7 with user agent option
- just replace the Browser.apk under /system/app/ with the one attached


RC1 - 201111020139HKT
- tested on "my modded KI8" without problem
- since i have other modifications to my rom and kernel, it's POSSIBLE that IT MAY NOT run properly on yours
- ATM, it is suggested that normal users to wait for the feedbacks from other users before installing it
- kindly PLEASE REPORT it here or on my blog, telling me and others if it works, thx a lot!!


features/changelog
RC1:
- allow to set font size under settings in the browser


NOTE
- always do a BACKUP first!!
- feel free to port it or make further enhancements like seekbar, etc
- if u r going to port it or include this mod to your rom, kindly pls put a link to this page for statistic purpose
- if u like this mod/my works, please consider a small donations, and/or by visiting my blog @ http://ykkfive.blogspot.com more often :D



download
Browser.apk - RC1

new browser mod - set font size

UPDATE2: Galaxy S3 browser default storage not saved bug fix
UPDATE: increase browser font size mod RC1 (change text size)


this is an important function i need for the browser. now, with this mod, i don need to double tap the web pages everytime a page is loaded to make the contents readable, and no more scrolls needed to center the page and columns

here are some samples:



normal medium large




i will upload it after i have cleaned up the smali files later

remove battery fully charged notification icon and sound

perhaps this is one of the most annoying issues, i cannot understand why we need two icons on the status bar if the battery is fully charged

although there are some how-to already, i wanna show you an alternative way to do it
here is an simplier way to remove the icon (plus the notification sound and screen on when the battery is fully charged if you want to). you can opt to disable all of them, or with any one of them enabled only

*this is for DEODEXED files ONLY!! tested on Android 2.3 KI8 and should work with other versions also


- decompile SystemUI.apk
- open StatusBarPolicy.smali under smali/com/android/systemui/statusbar/policy directory with your favorite text editor
- search for ".method private addFullChargeNotification()V" without quotes
- scroll down a bit and you will find something like:

.line 2300
new-instance v2, Landroid/app/Notification;

const v3, 0x7f02002a

const-wide/16 v4, 0x0

invoke-direct {v2, v3, v1, v4, v5}, Landroid/app/Notification;->(ILjava/lang/CharSequence;J)V

.line 2301
iget v3, v2, Landroid/app/Notification;->flags:I

or-int/lit8 v3, v3, 0x2

iput v3, v2, Landroid/app/Notification;->flags:I

those ".line xxxx" above should be different with yours, and
0x7f02002a is the ID of the battery full icon, you may find it differs and that's fine


for the tweak:

option 1 - replace 0x7f02002a with 0x0

for example, before change:
const v3, 0x7f02002a

after change:
const v3, 0x0


option 2 - add a hash sign (#) before the line const v3, 0x7f02002a and write a new line below it, just in case you want to roll it back

for example, before change:
const v3, 0x7f02002a

after change:
#const v3, 0x7f02002a
const v3, 0x0


also note that the number of hash signs or empty spaces before the line are NOT important!! so all of the lines below are valid:

# const v3, 0x7f02002a
# # const v3, 0x7f02002a
##### const v3, 0x7f02002a




how does this work?

after reading the souce code of Notification.smali, i found that it accepts notification without an icon by calling it with the icon parameter with a zero (which is the 0x0 above)



remove notification sound and screen on
in case you want to remove the notification sound as well, scroll down a bit more and put a # in front of the line as below:

# invoke-direct {p0, v0}, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->playTone(Landroid/net/Uri;)V



and for the screen on after fully charged, make these changes below the playTone found in above:

# .line 2308
# invoke-direct {p0}, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->turnOnScreenWithForce()V



to see the result, upload the recompiled SystemUI.apk to /system/app/, and type in adb (no need to reboot/wipe, etc):

kill -HUP `pidof system_server`


and you should notice the changes immediately



switch to another modem version without recovery

This is actually part of my freeNANDmod for the Samsung Galaxy S I9000. However, I would like to introduce this trick to all Samsung Galaxy SII I9100 users too.

The only difference is, for I9000, /dev/block/bml12 is used for holding the modem.bin file, while for I9100, it's /dev/block/mmcblk0p8.

In order to do the trick, put a modem file somewhere, say /data/modem/modem.bin, and create a symlink to it like the example below:

for I9000
ln -s /data/modem/modem.bin /dev/block/bml12

for I9100
ln -s /data/modem/modem.bin /dev/block/mmcblk0p8


Put it in a script file and place it under your init.d, usually /etc/init.d (or /system/etc/init.d), and it is suggested to name it with prefix 00 (zero zero) like 00-load-modem so that it can be executed first since scripts in init.d are executed in sequential order.

A sample init script should look like:

for I9000
rm /dev/block/bml12; ln -s /data/modem/modem.bin /dev/block/bml12

for I9100
rm /dev/block/mmcblk0p8; ln -s /data/modem/modem.bin /dev/block/mmcblk0p8


The "rm /dev/block/bml12" or "rm /dev/block/mmcblk0p8" command is used to remove the block device bml12 or mmcblk0p8 created by the system during init. You have to remove it first before you can create a symlink with the same name.

To see if it run correctly, put another version of modem instead of the one already on your phone to /data/modem/modem.bin after the init script is created. Reboot your phone and type *#1234# in the dialpad, you should see the new modem version is in use now. Note that after you have replaced the /data/modem/modem.bin with another modem, you'll need to reboot the phone.


So if you want to, you can place different versions of modem.bin file in /data/modem/ and symlink to modem.bin or overwritting it by copy and paste.


reference to my post: freeNANDmod - get more space from NAND - PART IV

my Samsung Galaxy SII I9100 mod - 1st attempt

UPDATE: my 2nd attempt with greater than 15000 IO


no OC, no 2D/3D, total: 3975




OC to 1.4, no 2D/3D, total: 4578




looks good!

goodbye, my I9000...

I will not forget you!!

with self-modded kernel and rom
total: 4189, IO: 11359


total: 4238, IO: 10024



and welcome, my new white Galaxy SII