Android 修改手機中的型號、Wlan、藍芽、照片資訊中所帶的手機型號

wjky2014發表於2014-04-19

1.修改設定----關於手機---手機型號  行動式熱點的名稱 藍芽等中的手機型號

                    mediatek/config/projet名稱/custom.conf  比如修改手機型號為 MI 3 

# [usage]
# format-> m.n=v
# m -> module definition, support wildcards
# p -> property name, used as key, case sensitive
# v -> property value
#
# [example]
# mms.UserAgent = Android 4.0/Release 01.05.2012
# bluetooth.HostName = BtDevice
# *.UAProfileURL = http://www.google.com/UAProf.xml
#
# [notice]
# CR/LF used as only delimiter of each configuaration items, both LINUX/MAC/DOS format supported
# character set: ASCII, encoding type: UTF8


browser.UserAgent = MI 3_TD/V2 Linux/3.0.8 Android/4.0(Linux; Android 4.0) Release/02.15.2012 Browser/AppleWebKit534.30 Mobile Safari/534.30 MBBMS/2.2 System/Android 4.0.3;
http_streaming.UserAgent =MI 3_TD/V2 Linux/3.0.8 Android/4.0(Linux; Android 4.0) Release/02.15.2012 Browser/AppleWebKit534.30 Mobile Safari/534.30 MBBMS/2.2 System/Android 4.0.3;
rtsp_streaming.UserAgent = MI 3_TD/V2 Linux/3.0.8 Android/4.0(Linux; Android 4.0) Release/02.15.2012 Browser/AppleWebKit534.30 Mobile Safari/534.30 MBBMS/2.2 System/Android 4.0.3;
*.UAProfileURL = http://www.spreadtrum.com/wap/8810G_UAProfile.xml
dm.Manufacturer = MI
dm.Model = MI 3
wlan.SSID = MI 3
bluetooth.HostName = MI 3
fmtransmitter.RDSValue = MI 3
cmmb.UserAgent = MI 3_TD/V2 Linux/3.0.8 Android/4.0(Linux; Android 4.0) Release/02.15.2012 Browser/AppleWebKit534.30 Mobile Safari/534.30 MBBMS/2.2 System/Android 4.0.3
mms.UserAgent = MI 3_TD/V2 Linux/3.0.8 Android/4.0(Linux; Android 4.0) Release/02.15.2012 Browser/AppleWebKit534.30 Mobile Safari/534.30 MBBMS/2.2 System/Android 4.0.3
mms.UAProfileURL = http://www.spreadtrum.com/wap/8810G_UAProfile.xml


2.修改照片資訊中顯示手機型號的地方

  mediatek/custom/mt6572/hal/camera/camera/camera_custom_if.cpp


#define CUSTOM_EXIF_STRING_MODEL "MI 3"





相關文章