文中只实现了部分功能,剩下的功能还在寻找发现中,你们也可以帮助一起完善。
文中提到的KOO,CHC均为Region代码,可以根据您手机的版本不同自行变更。
删除
/system/app/ActivationDevice_V2
复制韩版ROM文件到手机
/vendor/firmware/bcm4375B1_semco.hcd
/vendor/firmware/bcm4375B1_semco_sem.hcd
替换CHC的customer.xml,omc.info
文件
修改
\optics\configs\carriers\single\KOO\conf\cscfeature.xml
,需要使用OMC_Decoder-Encoder解密
<Version>ED00009</Version>
<Country>CHINA</Country>
<CountryISO>CN</CountryISO>
<SalesCode>CHC</SalesCode>
把KOO全部改成CHC
<CscFeature_Contact_ConfigForYellowPage>SHOW</CscFeature_Contact_ConfigForYellowPage>
复制黄页app
\system\system\priv-app\SamsungYellowPage\SamsungYellowPage.apk
到自己自己ROM/手机
<CscFeature_Calendar_SetColorOfDays>XXXXXBR</CscFeature_Calendar_SetColorOfDays>
<CscFeature_Calendar_EnableLocalHolidayDisplay>CHINA</CscFeature_Calendar_EnableLocalHolidayDisplay>
<CscFeature_Calendar_EnableLunar>TRUE</CscFeature_Calendar_EnableLunar>
<CscFeature_Camera_EnableCameraDuringCall>TRUE</CscFeature_Camera_EnableCameraDuringCall>
<CscFeature_Launcher_SupportAutoIconAlign>TRUE</CscFeature_Launcher_SupportAutoIconAlign>
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
<CscFeature_Weather_ConfigCpType>CMA</CscFeature_Weather_ConfigCpType>
<CscFeature_Weather_ConfigDefRefreshInterval>3</CscFeature_Weather_ConfigDefRefreshInterval>
<CscFeature_Weather_ConfigDefTempUnit>1</CscFeature_Weather_ConfigDefTempUnit>
<CscFeature_Camera_ShutterSoundMenu>TRUE</CscFeature_Camera_ShutterSoundMenu>
<CscFeature_SyncML_ConfigDevicePreId>IMEI</CscFeature_SyncML_ConfigDevicePreId>
<CscFeature_SystemUI_ConfigOpBranding5GIcon>5GAvailable,RRCStateCheck,UseOneShapedIcon,UseDisplayTimer</CscFeature_SystemUI_ConfigOpBranding5GIcon>
<CscFeature_SystemUI_ConfigOpBrandingForIndicatorIcon>CHC</CscFeature_SystemUI_ConfigOpBrandingForIndicatorIcon>
<CscFeature_SystemUI_ConfigOpBrandingForQuickSettingLabel>CHC</CscFeature_SystemUI_ConfigOpBrandingForQuickSettingLabel>
<CscFeature_SystemUI_ConfigOpBrandingQuickSettingIcon>CHC</CscFeature_SystemUI_ConfigOpBrandingQuickSettingIcon>
<CscFeature_VoiceCall_ConfigOpStyleForVolte>VolteCtc,CTC_VOLTE,wait_for_volte_regi_in_airplane_mode_ctc</CscFeature_VoiceCall_ConfigOpStyleForVolte>
<CscFeature_Setting_SupportRealTimeNetworkSpeed>TRUE</CscFeature_Setting_SupportRealTimeNetworkSpeed>
<CscFeature_Clock_EnableAutoPowerOnOffMenu>TRUE</CscFeature_Clock_EnableAutoPowerOnOffMenu>
<CscFeature_Clock_ExclusiveEnablingAutoPowerSetting>TRUE</CscFeature_Clock_ExclusiveEnablingAutoPowerSetting>
<CscFeature_VoiceCall_SupportTTY>TRUE</CscFeature_VoiceCall_SupportTTY>
省事可以把cscfeature.xml和cscfeature_network.xml里面”CscFeature_VoiceCall“的文本全部替换
复制国行ROM
\system\system\priv-app\BixbyTouch
\system\system\etc\sysconfig\bixbytouchapp.xml
\system\system\etc\permissions\privapp-permissions-com.samsung.android.bixbytouch.xml
\vendor\etc\floating_feature.xml
文件里面加入
<SEC_FLOATING_FEATURE_COMMON_SUPPORT_BIXBY_TOUCH>TRUE</SEC_FLOATING_FEATURE_COMMON_SUPPORT_BIXBY_TOUCH>
\vendor\etc\floating_feature.xml
文件里面加入
<SEC_FLOATING_FEATURE_SETTINGS_SUPPORT_AUTO_POWER_ON_OFF>TRUE</SEC_FLOATING_FEATURE_SETTINGS_SUPPORT_AUTO_POWER_ON_OFF>
把国行ROM
\system\system\priv-app\PhoneNumberLocatorService\PhoneNumberLocatorService.apk
\system\system\etc\sysconfig\phonenumberlocatorservice.xml
\system\system\etc\permissions\privapp-permissions-com.sgmc.phonenumberlocatorservice.xml
复制到相同目录
删除
system\system\app\MinusOnePage
\system\system\priv-app\BixbyHomeCN_Disable
\system\system\etc\permissions\privapp-permissions-bixbyhomecn.xml
复制进手机目录
删除/备份
\system\priv-app\SmartManager_v5\SmartManager_v5.apk
\system\priv-app\SmartManager_v6_DeviceSecurity\SmartManager_v6_DeviceSecurity.apk
复制国行ROM里面的
\system\system\priv-app\SmartManager_v6_DeviceSecurity_CN
\system\system\priv-app\SmartManagerCN
到相同目录
修改\vendor\etc\floating_feature.xml
把SMARTMANAGER_CONFIG_PACKAGE_NAME段改成
<SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME>com.samsung.android.sm_cn</SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME>
把SECURITY_CONFIG_DEVICEMONITOR_PACKAGE_NAME段改成
<SEC_FLOATING_FEATURE_SECURITY_CONFIG_DEVICEMONITOR_PACKAGE_NAME>com.samsung.android.sm.devicesecurity.tcm</SEC_FLOATING_FEATURE_SECURITY_CONFIG_DEVICEMONITOR_PACKAGE_NAME>
复制国行ROM
\system\system\etc\permissions\privapp-permissions-com.samsung.android.sm_cn.xml
\system\system\etc\permissions\privapp-permissions-com.samsung.android.sm.devicesecurity.tcm_v6.xml
文件到相同目录
复制国行ROM
\system\system\etc\permissions\privapp-permissions-com.sec.android.app.firewall.xml
\system\system\priv-app\Firewall
到相同目录
复制复制国行ROM
\system\system\priv-app\AppLock
\system\system\etc\permissions\privapp-permissions-com.samsung.android.applock.xml
到相同目录
修改\prism\etc\carriers\single\KOO\enforceskippingpackages.txt
删除里面的
AppLock.apk
修改\optics\configs\carriers\single\KOO\conf\cscfeature.xml
加入
<CscFeature_SPen_ConfigDefTranslatorSolution>Baidu</CscFeature_SPen_ConfigDefTranslatorSolution>