android15 所有显示型号修改
+++ b/SYS/build/soong/scripts/buildinfo.py@@ -105,9 +105,9 @@ def main(): # Non-user builds should show detailed build information (See build desc above) # print(f\"ro.build.display.id?={build_desc}\") current_date = datetime.now().strftime(\'%Y%m%d\')- print(f\"ro.build.display.id=welcome_V01_{current_date}\")- print(f\"persist.sys.wifiname=welcome\")- print(f\"persist.sys.modelname=welcome\")+ print(f\"ro.build.display.id=Android_V01_{current_date}\")+ print(f\"persist.sys.wifiname=Android\")+ print(f\"persist.sys.modelname=Android\") print(f\"persist.sys.virtualRamOpen=0\") print(f\"ro.config.vc_call_vol_default=15\") print(f\"ro.config.vc_call_vol_steps=15\")
frameworks/av/media/mtp/MtpServer.cpp
MtpResponseCode MtpServer::doGetDeviceInfo() { MtpStringBuffer string; MtpObjectFormatList* playbackFormats = mDatabase->getSupportedPlaybackFormats(); MtpObjectFormatList* captureFormats = mDatabase->getSupportedCaptureFormats(); MtpDevicePropertyList* deviceProperties = mDatabase->getSupportedDeviceProperties(); // fill in device info mData.putUInt16(MTP_STANDARD_VERSION); if (mPtp) { mData.putUInt32(0); } else { // MTP Vendor Extension ID mData.putUInt32(6); } mData.putUInt16(MTP_STANDARD_VERSION); if (mPtp) { // no extensions +++string.set(\"Android\"); } else { // MTP extensions string.set(\"microsoft.com: 1.0; android.com: 1.0;\"); }
frameworks/base/media/java/android/mtp/MtpDatabase.java
@@ -725,7 +725,7 @@ public class MtpDatabase implements AutoCloseable { case MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER: case MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME: // writable string properties kept in shared preferences- value = SystemProperties.get(\"persist.sys.wifiname\" , \"welcome\");+ value = SystemProperties.get(\"persist.sys.wifiname\" , \"Android\"); length = value.length(); if (length > 255) { length = 255;
SYS/packages/modules/Bluetooth/system/btif/src/btif_dm.cc
@@ -4038,7 +4038,7 @@ static const char* btif_get_default_local_name() { if (btif_default_local_name[0] == \'\\0\') { char prop_model[PROPERTY_VALUE_MAX]; osi_property_get(PROPERTY_PRODUCT_MODEL, prop_model, \"\");- strncpy(btif_default_local_name, \"welcome\", max_len);+ strncpy(btif_default_local_name, \"Android\", max_len); } btif_default_local_name[max_len] = \'\\0\'; }
SYS/packages/modules/Wifi/service/ServiceWifiResources/res/values/config.xml
@@ -448,9 +448,9 @@ <string name=\"config_wifi_tcp_buffers\" translatable=\"false\">524288,1048576,2097152,262144,524288,1048576</string> <!-- Do not translate. Default access point SSID used for tethering -->- <string name=\"wifi_tether_configure_ssid_default\" translatable=\"false\">welcome</string>+ <string name=\"wifi_tether_configure_ssid_default\" translatable=\"false\">Android</string> <!-- Do not translate. Default access point SSID used for local only hotspot -->- <string name=\"wifi_localhotspot_configure_ssid_default\" translatable=\"false\">welcome</string>+ <string name=\"wifi_localhotspot_configure_ssid_default\" translatable=\"false\">Android</string>
SYS/vendor/sprd/platform/packages/apps/UniWifi/app/res/values/config.xml
@@ -19,9 +19,9 @@ <integer translatable=\"false\" name=\"config_uniwifi_wifionly_cc_refresh_minutes\">60</integer> <!-- Carrier default P2P Name via IMEI, like as 1234, name1, name2 -->- <string-array translatable=\"false\" name=\"config_uniwifi_p2p_default_name_via_imei\">welcome</string-array>+ <string-array translatable=\"false\" name=\"config_uniwifi_p2p_default_name_via_imei\">Android</string-array> <!-- Customer default P2P Name -->- <string translatable=\"false\" name=\"config_uniwifi_p2p_default_name\">welcome</string>+ <string translatable=\"false\" name=\"config_uniwifi_p2p_default_name\">Android</string> <!-- Carrier default softap ssid via IMEI, like as 1234, name1, name2 --> <string-array translatable=\"false\" name=\"config_uniwifi_softap_default_ssid_via_imei\"></string-array>
VND/bsp/kernel5.15/kernel5.15/drivers/usb/gadget/function/f_midi.c
@@ -210,7 +210,7 @@ static inline struct f_midi *func_to_midi(struct usb_function *f) #define STRING_FUNC_IDX 0 static struct usb_string midi_string_defs[] = {- [STRING_FUNC_IDX].s = \"welcome\",+ [STRING_FUNC_IDX].s = \"Android\", { } /* end of list */ };
VND/build/make/tools/buildinfo.sh
echo \"ro.build.host=$BUILD_HOSTNAME\" echo \"ro.build.tags=$BUILD_VERSION_TAGS\" echo \"ro.build.flavor=$TARGET_BUILD_FLAVOR\"-echo \"persist.sys.wifiname=welcome\"+echo \"persist.sys.wifiname=Android\" echo \"persist.sys.timezone=Europe/London\"
VND/device/sprd/vnd_mpool/module/vendor/usb/init.common.usb.rc
@@ -10,8 +10,8 @@ on init write /config/usb_gadget/g1/idProduct 0x4EE7 mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}- write /config/usb_gadget/g1/strings/0x409/manufacturer \"welcome\"- write /config/usb_gadget/g1/strings/0x409/product \"welcome\"+ write /config/usb_gadget/g1/strings/0x409/manufacturer \"Android\"+ write /config/usb_gadget/g1/strings/0x409/product \"Android\" mkdir /config/usb_gadget/g1/configs/b.1 0770 shell shell mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell
VND/device/sprd/vnd_mpool/module/vendor/usb/init.common.usb_kernel5.15.rc
@@ -10,8 +10,8 @@ on init write /config/usb_gadget/g1/idProduct 0x4EE7 mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}- write /config/usb_gadget/g1/strings/0x409/manufacturer \"welcome\"- write /config/usb_gadget/g1/strings/0x409/product \"welcome\"+ write /config/usb_gadget/g1/strings/0x409/manufacturer \"Android\"+ write /config/usb_gadget/g1/strings/0x409/product \"Android\" mkdir /config/usb_gadget/g1/configs/b.1 0770 shell shell
VND/device/sprd/vnd_mpool/module/vnd_others/ota/mfeature/kernel/kernel5.15/init.recovery.common.rc
@@ -62,8 +62,8 @@ on init write /config/usb_gadget/g1/idProduct 0x4d00 mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}- write /config/usb_gadget/g1/strings/0x409/manufacturer welcome- write /config/usb_gadget/g1/strings/0x409/product \"welcome\"+ write /config/usb_gadget/g1/strings/0x409/manufacturer Android+ write /config/usb_gadget/g1/strings/0x409/product \"Android\" mkdir /config/usb_gadget/g1/configs/b.1 0770 shell shell