I noticed that in India global variant of rom for X9 ultra there is missing switch for Label AI
I investigated some lines in OPPO gallery app and only it is hidden for India.
I confirmed this by changing the variant from India to ID.
The application version is the same, the system version is also the same.
The question is, Oppo why did you do that?
Edit:
Symptom: Photos β Settings β More: the "Label AI content" row is present in 171ID, while it is missing in 171IN. Device CPH2841, OplusOS 17.0.36. The APK my_stock/priv-app/OppoGallery2/OppoGallery2.apk (com.coloros.gallery3d) has an identical MD5 hash in both packages, so only the region differs.
Root cause (static code analysis):
XML: res/xml/doC.xml, COUISwitchPreference with key="pref_key_AI_logo", title=@0x7f142110 (setting_pref_show_AI_Logo), isPreferenceVisible=false. The row is hidden by default.
SettingsActivity$SettingFragment.onCreatePreferences (classes11.dex, 0x150030), offsets 0271β0281:
0271β0277: feature_is_support_show_ai_logo β if false, skips row configuration.
0279β027f: is_region_india β if true, skips (if-nez).
0281: only then calls findPreference("pref_key_AI_logo").
SettingsActivity$SettingFragment.onResume (classes11.dex, 0x150c54):
0062β0070: the same condition, flag && !is_region_india.
0075: y1(D, result) β setVisible(result) (y1 at 0x1514b4).
is_region_india: vab0.invoke (classes2.dex, 0x44921c), offsets 0042β004a. The value from the array/property_regionmark array (ro.oppo.regionmark, ro.vendor.oplus.regionmark, ro.oplus.pipeline.region) is compared against the string "IN" in wab0$d.a (0x464f1c, Intrinsics.areEqual).
feature_is_support_show_ai_logo: OtherSystemStorage.h (0x5bf32c) β K3() (0x5bc0d4) β oyv.invoke (0x39ccec) β f_ku.a(30) (OSVersionUtils.kt), meaning version β₯ 30. Evaluates to true in both IN and ID (SDK 37, OplusOS 40).
Package values: IN: regionmark=IN, pipeline.region=IN, my_region.type=IN_all. ID: ID, ID, ID_all.
Ruled out: persist.sys.oplus.region (not in the array), AIUnit (identical in both), the implicit_water_mask unit and the is_support_ai_emplicit_watermark flag (a different feature), ROM XML and JSON files.
Limitations: This is an analysis of decompiled code, not a test on a running IN ROM. The names vab0, wab0$d, oyv, f_ku, iq7 come from R8 and will change after an update.