soulr344 / OMCDecoder

Samsung OMC Decoder implementation in C++ from CSC apk.
6 stars 2 forks source link

Decoded file seems to be incomplete #1

Open Starbase12 opened 1 year ago

Starbase12 commented 1 year ago

I used the Windows-build to decode the "cscfeature.xml" from my stock Samsung ROM (Basisband: G980FXXSGHWD4). Also I tried to encode what I decoded before and the file isn't looking the same.

Did I made something wrong? You can download the file from here. Thanks in advanced.

soulr344 commented 1 year ago

Will check, thanks for the heads up

soulr344 commented 1 year ago

Seems like there's something wrong with windows binary. the linux binary works fine. Ill get to it when im free but heres the decoded code

<?xml version='1.0' encoding='utf-8'?>
<SamsungMobileFeature>
  <Version>ED00002</Version>
  <Country>GERMANY</Country>
  <CountryISO>DE</CountryISO>
  <SalesCode>DBT</SalesCode>
  <FeatureSet>
    <CscFeature_Audio_SupportSafeMediaVolumeDialog>TRUE</CscFeature_Audio_SupportSafeMediaVolumeDialog>
    <CscFeature_Common_ConfigSvcProviderForUnknownNumber>whitepages,whitepages,off</CscFeature_Common_ConfigSvcProviderForUnknownNumber>
    <CscFeature_Common_SupportMVNOBigData>TRUE</CscFeature_Common_SupportMVNOBigData>
    <CscFeature_Contact_SupportDuoVideoCall>TRUE</CscFeature_Contact_SupportDuoVideoCall>
    <CscFeature_GMS_SetClientIDBaseMs>android-samsung-gs-rev1</CscFeature_GMS_SetClientIDBaseMs>
    <CscFeature_RIL_ConfigWbamr>2G</CscFeature_RIL_ConfigWbamr>
    <CscFeature_RIL_SupportEsim>TRUE</CscFeature_RIL_SupportEsim>
    <CscFeature_RIL_WbamrDefaultOn>TRUE</CscFeature_RIL_WbamrDefaultOn>
    <CscFeature_SetupWizard_DisablePrivacyPolicyAgreement>TRUE</CscFeature_SetupWizard_DisablePrivacyPolicyAgreement>
    <CscFeature_SystemUI_ConfigNotificationStyleOnLockscreen>0</CscFeature_SystemUI_ConfigNotificationStyleOnLockscreen>
    <CscFeature_SystemUI_ConfigOpBranding5GIcon>5GAvailable</CscFeature_SystemUI_ConfigOpBranding5GIcon>
    <CscFeature_VT_ConfigBearer>-CSVT</CscFeature_VT_ConfigBearer>
    <CscFeature_VT_ConfigCapability>three_widget</CscFeature_VT_ConfigCapability>
    <CscFeature_Weather_ConfigCpType>TWC</CscFeature_Weather_ConfigCpType>
    <CscFeature_Wifi_ConfigSnsStatus>DEFAULT_ON</CscFeature_Wifi_ConfigSnsStatus>
  </FeatureSet>
</SamsungMobileFeature>