Guidelines for XML Maker
RakinTo help the XML makers overcome some compatibility issues, it's recommended to follow these guidelines.
° It is recommended to start XMLs from scratch because previous XMLs would not apply the new camera detection methods properly. You can take a screenshot of your values, then clear app data and seeing the screenshot, put values and make XML.
° It is recommended for XML users to use the version with Manual Sabre and test properly. This way, the XML can be used on both versions properly.
° It is recommended to enable Zlog. Thus it can help get bug reports.
° If you are making an xml blindly (not on the exact device) several things come to play: The following things need to be modified opening the XML file on some devices:
•For Nord, set as follows:
<string name="pref_nord_fix">1</string>
<set name="pref_list_front_camera_key">
<string>1</string>
<string>5</string>
</set>
<set name="pref_list_camera_key">
<string>0</string>
<string>1</string>
<string>2</string>
<string>3</string>
<string>4</string>
<string>5</string>
<string>6</string>
</set>
<set name="pref_list_back_camera_key">
<string>0</string>
<string>2</string>
<string>3</string>
<string>4</string>
<string>6</string>
</set>
• For Redmi Note 8/9/K20 series:
<set name="pref_list_front_camera_key">
<string>1</string>
</set>
<set name="pref_list_camera_key">
<string>0</string>
<string>1</string>
<string>20</string>
<string>21</string>
</set>
<set name="pref_list_back_camera_key">
<string>0</string>
<string>20</string>
<string>21</string>
</set>