How resize/edit a theme TWRP
First things to know :
A custom theme for TWRP ( recovery ) is a zipped folder who is named : ui.zip
This folder is composed by 2 folders :
fonts
There are in this folder all fonts resources of the theme in .dat format.
nb: the two last numbers of name is the size
images
There are in this folder any images resources.
If you are editing/resizing a theme you must be aware about size of these.
exemple : if you are trying to port a 720p theme in 1080p you'll need to multiply the size of all images by 1,5
( 100x100 => 150x150 ).
And an xml file :
ui.xml
There are in this file any codes of apparence of the theme.
This is the most complicate part of theme and is composed like this :
Code:
<?xml version="1.0"?>
The version of xml ... Don't touch this.
Code:
<recovery>
<details>
<resolution width="1080" height="1920" />
<author>Primokorn</author>
<title>XDA Origins</title>
<description>TWRP Theme </description>
<preview>preview.jpg</preview>
</details>
Well ... I think it's enough explicit.
then, between > ... < put what you want.
Code:
<resources>
<resource name="font" type="font" filename="Roboto-Regular-30" />
<resource name="mediumfont" type="font" filename=" Roboto-Regular-25" />
<resource name="filelist" type="font" filename="Roboto-Regular-30" />
<resource name="top_bar" type="image" filename="top-bar.png" />
<resource name="background" type="image" filename="background.jpg" />
<resource name="main_button" type="image" filename="menu-button" />
<resource name="main_button_highlight" type="image" filename="menu-button-highlight" />
<resource name="file_icon" type="image" filename="file" />
<resource name="folder_icon" type="image" filename="folder" />
<resource name="slideout" type="image" filename="slideout" />
<resource name="progress" type="animation" filename="indeterminate" />
<resource name="progress_empty" type="image" filename="progress_empty" />
<resource name="progress_full" type="image" filename="progress_fill" />
<resource name="checkbox_false" type="image" filename="checkbox_empty" />
<resource name="checkbox_true" type="image" filename="checkbox_checked" />
<resource name="radio_false" type="image" filename="radio_empty" />
<resource name="radio_true" type="image" filename="radio_selected" />
<resource name="medium_button" type="image" filename="medium-button" />
<resource name="sort_button" type="image" filename="sort-button" />
<resource name="medium_button_highlight" type="image" filename="medium-button-highlight" />
<resource name="sort_button_highlight" type="image" filename="sort-button-highlight" />
<resource name="minus_button" type="image" filename="minus-button" />
<resource name="plus_button" type="image" filename="plus-button" />
<resource name="home_icon" type="image" filename="home-icon" />
<resource name="back_icon" type="image" filename="back-icon" />
<resource name="slider" type="image" filename="slider" />
<resource name="slider-used" type="image" filename="slider-used" />
<resource name="slider-touch" type="image" filename="slider-touch" />
<resource name="unlock-icon" type="image" filename="unlock" />
<resource name="keyboard1" type="image" filename="keyboard1" />
<resource name="keyboard2" type="image" filename="keyboard2" />
<resource name="keyboard3" type="image" filename="keyboard3" />
<resource name="keyboard4" type="image" filename="keyboard4" />
</resources>
<resources> ... </resources> : any resources files inside.
- resource name="..." this is the resource name used in the xml script
- type="..." this the type of resource ( image, font, animation ... )
- filename=" ... " this is the name in resources folders
Code:
<variables>
<variable name="col1_x" value="10" />
<variable name="col2_x" value="565" />
<variable name="col_center_x" value="288" />
<variable name="col_center_medium_x" value="414" />
<variable name="center_x" value="540" />
<variable name="row1_y" value="255" />
<variable name="row2_y" value="615" />
<variable name="row3_y" value="975" />
<variable name="row4_y" value="1335" />
<variable name="col1_center_x" value="179" />
<variable name="col2_center_x" value="552" />
<variable name="row1_text2_y" value="310" />
<variable name="row2_text2_y" value="550" />
<variable name="row_queue_y" value="1140" />
<variable name="row1_header_y" value="180" />
<variable name="row1_text_y" value="255" />
<variable name="row2_text_y" value="330" />
<variable name="row3_text_y" value="405" />
<variable name="row4_text_y" value="480" />
<variable name="row5_text_y" value="555" />
<variable name="row6_text_y" value="630" />
<variable name="row7_text_y" value="705" />
<variable name="row8_text_y" value="780" />
<variable name="row9_text_y" value="855" />
<variable name="row10_text_y" value="930" />
<variable name="row11_text_y" value="1005" />
<variable name="row12_text_y" value="1080" />
<variable name="row13_text_y" value="1155" />
<variable name="row14_text_y" value="1230" />
<variable name="row15_text_y" value="1305" />
<variable name="row16_text_y" value="1380" />
<variable name="row17_text_y" value="1455" />
<variable name="row18_text_y" value="1530" />
<variable name="zip_status_y" value="922" />
<variable name="tz_selected_y" value="240" />
<variable name="tz_set_y" value="1500" />
<variable name="tz_current_y" value="1425" />
<variable name="col_progressbar_x" value="351" />
<variable name="row_progressbar_y" value="1650" />
<variable name="col1_medium_x" value="10" />
<variable name="col2_medium_x" value="282" />
<variable name="col3_medium_x" value="545" />
<variable name="col4_medium_x" value="817" />
<variable name="row1_medium_y" value="195" />
<variable name="row2_medium_y" value="345" />
<variable name="row3_medium_y" value="392" />
<variable name="row4_medium_y" value="645" />
<variable name="row5_medium_y" value="795" />
<variable name="row6_medium_y" value="1260" />
<variable name="row7_medium_y" value="730" />
<variable name="slider_x" value="101" />
<variable name="slider_y" value="1575" />
<variable name="slider_text_y" value="1676" />
<variable name="button_text_color" value="#FF9C11" />
<variable name="text_color" value="#FF9C11" />
<variable name="text_success_color" value="#00FF00" />
<variable name="text_fail_color" value="#FF9C11" />
<variable name="highlight_color" value="#90909080" /> <variable name="home_button_x" value="10" />
<variable name="home_button_y" value="1839" />
<variable name="back_button_x" value="944" />
<variable name="back_button_y" value="1839" />
<variable name="sort_text_x" value="10" />
<variable name="sort_asc_text_y" value="1635" />
<variable name="sort_asc_button_y" value="1620" />
<variable name="sort_desc_text_y" value="1725" />
<variable name="sort_desc_button_y" value="1710" />
<variable name="sort_col1_button_x" value="390" />
<variable name="sort_col2_button_x" value="540" />
<variable name="sort_col3_button_x" value="690" />
<variable name="input_width" value="1060" />
<variable name="input_height" value="75" />
<variable name="input_background_color" value="#000000" />
<variable name="input_cursor_color" value="#FF9C11" />
<variable name="input_cursor_width" value="4" />
<variable name="console_x" value="0" />
<variable name="console_width" value="1080" />
<variable name="console_foreground" value="#FF9C11" />
<variable name="console_background" value="#000000" />
<variable name="console_scroll" value="#000000" />
<variable name="console_action_height" value="705" />
<variable name="console_install_height" value="900" />
<variable name="console_installdone_height" value="660" />
<variable name="fileselector_x" value="5" />
<variable name="fileselector_width" value="1070" />
<variable name="fileselector_install_height" value="1170" />
<variable name="fileselector_header_background" value="#000000" />
<variable name="fileselector_header_textcolor" value="#FF9C11" />
<variable name="fileselector_header_separatorcolor" value="#FF9C11" />
<variable name="fileselector_header_separatorheight" value="4" />
<variable name="fileselector_separatorcolor" value="#FF9C11" />
<variable name="fileselector_separatorheight" value="3" />
<variable name="fileselector_background" value="#000000" />
<variable name="fileselector_highlight_color" value="#505050" />
<variable name="fileselector_highlight_font_color" value="#FF9C11" />
<variable name="fileselector_spacing" value="36" />
<variable name="fastscroll_linecolor" value="#FF9C11" />
<variable name="fastscroll_rectcolor" value="#FF9C11" />
<variable name="fastscroll_w" value="90" />
<variable name="fastscroll_linew" value="3" />
<variable name="fastscroll_rectw" value="60" />
<variable name="fastscroll_recth" value="105" />
<variable name="listbox_x" value="5" />
<variable name="listbox_width" value="1070" />
<variable name="listbox_tz_height" value="885" />
<variable name="listbox_background" value="#000000" />
<variable name="listbox_spacing" value="24" />
<variable name="sd_plus_x" value="525" />
<variable name="sdext_text_x" value="165" />
<variable name="sdext_text_y" value="270" />
<variable name="sdswap_button_y" value="390" />
<variable name="sdswap_text_x" value="165" />
<variable name="sdswap_text_y" value="405" />
<variable name="sdfilesystem_text_y" value="510" />
<variable name="sdfilesystem_button_y" value="570" />
<variable name="lock_x" value="240" />
<variable name="lock_y" value="600" />
<variable name="filemanager_select_x" value="840" />
<variable name="filemanager_select_y" value="1620" />
<variable name="backup_name_y" value="825" />
<variable name="terminal_console_height" value="1080" />
<variable name="terminal_text_y" value="1095" />
<variable name="terminal_button_y" value="1050" />
<variable name="row_dst_text_y" value="1080" />
<variable name="row_offset_text_y" value="1155" />
<variable name="row_offset_medium_y" value="1260" />
<variable name="button_fill_color" value="#303030" />
<variable name="button_fill_full_width" value="1060" />
<variable name="button_fill_main_width" value="505" />
<variable name="button_fill_main_height" value="324" />
<variable name="button_fill_half_height" value="162" />
<variable name="button_fill_quarter_height" value="81" />
<variable name="backup_list_height" value="780" />
<variable name="backup_button_row1" value="1118" />
<variable name="backup_button_row2" value="1220" />
<variable name="mount_list_height" value="1035" />
<variable name="mount_storage_row" value="1240" />
<variable name="storage_list_height" value="1000" />
<variable name="wipe_list_height" value="1305" />
<variable name="wipe_button_y" value="975" />
<variable name="slidervalue_w" value="1060" />
<variable name="slidervalue_line_clr" value="#FFFFFF" />
<variable name="slidervalue_slider_clr" value="#FF9C11" />
<variable name="slidervalue_lineh" value="3" />
<variable name="slidervalue_padding" value="30" />
<variable name="slidervalue_sliderw" value="15" />
<variable name="slidervalue_sliderh" value="90" />
</variables>
<variables> ... </variables>
there are inside all predefined interfaces of pages : colors, X and Y values
If you resize a theme this a part you need to modify !
X is the margin and Y the verticaly position.
X = 0 is the left side
Y = 0 is the top
If you resize a theme you need to modify X and Y value in fonction of the size difference.
Exemple : 720p -> 1080p 1080 : 720 =1,5
if you have X = 100 and Y =500 you must change values in X = 150 and Y = 750.
You can change too html colors with codes colors wanted.
NB : variables are predefined but evey pages can have his values and need to be modified too
Code:
<templates>
<template name="sort_options">
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_asc_text_y%" />
<text>Sort Ascending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=3</action>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_desc_text_y%" />
<text>Sort Descending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=-1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=-2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=-3</action>
</object>
</template>
<template name="action_page_console">
<object type="console">
<placement x="0" y="%row2_y%" w="1080" h="700" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="footer">
<object type="console">
<slideout resource="slideout" x="490" y="1830" />
<placement x="%console_x%" y="0" w="%console_width%" h="1900" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="keyboardtemplate">
<object type="keyboard">
<placement x="0" y="1200" />
<layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
<highlight color="%highlight_color%" />
<layout1>
<keysize height="161" width="108" />
<row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
<row2 key01="162:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" />
<row3 key01="162:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="162:c:8" />
<row4 key01="162:layout3" key02="108:c:47" key03="108:" key04="432: " key05="." key06="162:action" />
</layout1>
<layout2>
<keysize height="161" width="108" />
<row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
<row2 key01="162:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" />
<row3 key01="162:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="162:c:8" />
<row4 key01="162:layout3" key02="/" key03="108:" key04="432: " key05="." key06="162:action" />
</layout2>
<layout3>
<keysize height="161" width="108" />
<row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
<row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
<row3 key01="162:layout4" key02="!" key03="108:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="162:c:8" />
<row4 key01="162:layout1" key02="," key03="108:" key04="432: " key05="." key06="162:action" />
</layout3>
<layout4>
<keysize height="161" width="108" />
<row1 key01="~" key02="`" key03="|" key04="108:" key05="108:" key06="108:" key07="%" key08="108:" key09="{" key10="}" />
<row2 key01="108:" key02="108:" key03="108:" key04="108:" key05="108:" key06="^" key07="_" key08="=" key09="[" key10="]" />
<row3 key01="162:layout3" key02="108:" key03="108:" key04="108:" key05="108:" key06="\" key07="<" key08=">" key09="162:c:8" />
<row4 key01="162:layout1" key02="108:c:34" key03="108:" key04="432: " key05="." key06="162:action" />
</layout4>
</object>
</template>
</templates>
<templates> ... </template>
well, inside any things who can appair on any pages.
you must change any X and Y values.
If wanted, colors codes too ...
placement x="%........_....._....x%"
% is the value defined in <variables></variables>
NB : for Keyboard values I recommand to copy/past from an ui.xml in size wanted !
And for finish you have
Code:
<page> ... </pages>
any pages who can be open in the Recovery are here.
there are lot of pages and if you want resize a theme you must change any X and Y values in any pages.
when you finish to edit any pages as wanted, rezipe 2 resources folders + ui.xml in " stockage mod " ( without compression ) and let's GO ! :victory:
I hope that will help you, don't hesitate to ask me on this thread.
* * * * * * *
Reserved for OP
Useful "how-to" guide mate :good:
thanks for your guide, i want to try it but i don't know about xml
can u give me a explain if i want to port to 540x960 ??
thanks
sorry for me bad english
gangsar said:
thanks for your guide, i want to try it but i don't know about xml
can u give me a explain if i want to port to 540x960 ??
thanks
sorry for me bad english
Click to expand...
Click to collapse
Hello,
You need to change all X and Y value.
If you take a theme in 720p, you must divide value by 1,5.
For keyboard, copy/past from an xml For your screen resolution.
Warning : any values are between " ".
Don't delete one of " or you will have a Recovery bootloop.
Ok ?
ok I'll try, thanks for explain
I was tried to devide to 1.5 an resize background n keyboard to my screen resolution, but I can't see navigation button n main button is too large,
what's wrong ?
thanks
gangsar said:
I was tried to devide to 1.5 an resize background n keyboard to my screen resolution, but I can't see navigation button n main button is too large,
what's wrong ?
thanks
Click to expand...
Click to collapse
Have you resized pictures too ?
If not, do it
Edit : you have to resize all pictures in images folder and change all X and Y values in xml file
ohh thanks i'll try again
Sent from my Lenovo P770 using XDA Premium 4 mobile app
Can you give a formula for resizing of images?
How you calculate it? I want for e.g to resize 720x1280 theme images for 480x800.
dancer_69 said:
Can you give a formula for resizing of images?
How you calculate it? I want for e.g to resize 720x1280 theme images for 480x800.
Click to expand...
Click to collapse
720 : 480 = 1,5
1280 : 800 = 1,6
Then divide all by 1,5 if you want a theme who is in 720p
So, if I have a picture with width: 80 and height: 53, this will become
width: 80/1.5=53.3 and height: 53/1.5=35.3 to be okay for resolution 480x800?
dancer_69 said:
So, if I have a picture with width: 80 and height: 53, this will become
width: 80/1.5=53.3 and height: 53/1.5=35.3 to be okay for resolution 480x800?
Click to expand...
Click to collapse
Yes
@NorthLight
I was able to port XDA_Origin over to my HTC One SV at 480x800. Looks great, but I'm having issues with the font size. They are too big. Any suggestions?
Edit: Nevermind... I overlooked it lol.
Modding.MyMind said:
@NorthLight
I was able to port XDA_Origin over to my HTC One SV at 480x800. Looks great, but I'm having issues with the font size. They are too big. Any suggestions?
Edit: Nevermind... I overlooked it lol.
Click to expand...
Click to collapse
It's ok ? It works ?
If you want share the ported theme, open your thread, Give crédits to Primokorn and me, put the source link.
Good job mate !
NorthLight said:
It's ok ? It works ?
If you want share the ported theme, open your thread, Give crédits to Primokorn and me, put the source link.
Good job mate !
Click to expand...
Click to collapse
It works, but some things appear to be slightly off, but not by much. I have a question.... I am porting the XDA_Origin based on 1080x1920 to 480x800. I already know what needs to be done with all the images and all the X's and Y's. However, there is one thing i have been seeing inside the ui.xml file which has me confused. Here is an example (see red).
Base Version: 1080x1920 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="450" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Port Version: 480x800 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="200" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Should the value number 8 be changed as well? I have changed all values accordingly, but all codes that come up as, placement="", I have not tampered with because I do not know what those values do, and I am curious as to whether or not those values are the reason why my port is slightly off just a little bit on my screen lol.
---------- Post added 19th February 2014 at 12:54 AM ---------- Previous post was 18th February 2014 at 11:57 PM ----------
@NorthLight
Nevermind, changing those values should not be touched lol. They need to stay the same as from the original. Still at a lost as to what is causing the theme to be slightly off. For example, the keyboard is a smudge too high and needs to be lowered, but I changed it properly so I dont fully understand why it isnt aligned to begin with.
1080 : 480 = 2.25
1920 : 800 = 2.4
I changed every value by dividing with 2.25. I am starting to wonder if the Y values should be divided by 2.25 and the X values divided by 2.4? Though, all the images for width and height were divided by only 2.25....
Modding.MyMind said:
It works, but some things appear to be slightly off, but not by much. I have a question.... I am porting the XDA_Origin based on 1080x1920 to 480x800. I already know what needs to be done with all the images and all the X's and Y's. However, there is one thing i have been seeing inside the ui.xml file which has me confused. Here is an example (see red).
Base Version: 1080x1920 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="450" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Port Version: 480x800 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="200" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Should the value number 8 be changed as well? I have changed all values accordingly, but all codes that come up as, placement="", I have not tampered with because I do not know what those values do, and I am curious as to whether or not those values are the reason why my port is slightly off just a little bit on my screen lol.
---------- Post added 19th February 2014 at 12:54 AM ---------- Previous post was 18th February 2014 at 11:57 PM ----------
@NorthLight
Nevermind, changing those values should not be touched lol. They need to stay the same as from the original. Still at a lost as to what is causing the theme to be slightly off. For example, the keyboard is a smudge too high and needs to be lowered, but I changed it properly so I dont fully understand why it isnt aligned to begin with.
1080 : 480 = 2.25
1920 : 800 = 2.4
I changed every value by dividing with 2.25. I am starting to wonder if the Y values should be divided by 2.25 and the X values divided by 2.4? Though, all the images for width and height were divided by only 2.25....
Click to expand...
Click to collapse
For keyboard I recommend to copy/past from an official TWRP in your screen resolution, it's more easy.
@NorthLight
Yea, did that already. The image is still up a little too high.
Sent from my C525c using Tapatalk
Modding.MyMind said:
@NorthLight
Yea, did that already. The image is still up a little too high.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
The pictures of keyboard for you need to be large as 480
NorthLight said:
The pictures of keyboard for you need to be large as 480
Click to expand...
Click to collapse
It is lol. But its currently raised up on the screen slightly too high, so when you type, the keyboard itself is overlapping the actual text being displayed from typing.
Sent from my C525c using Tapatalk
---------- Post added at 10:38 AM ---------- Previous post was at 10:18 AM ----------
@NorthLight
I changed the values inside the ui.xml by dividing the numbers with 2.25. Though, for some reason, it is not sitting on the screen where it is suppose to be. Does the ui.xml file accept decimals? Most of my numbers when dividing by 2.25 result in decimals but I rounded them all down. For example, lets say one came out to be 40.65, then I would write it down as 40 in the ui.xml file? Or can I use 40.65?
Sent from my C525c using Tapatalk
Hello guys .I am back again with a new guide.This time again with settings.
Things Required.
1.Patience.
2.A good text editor.I recommend Notepad++.
3.A bit knowledge about android modding.
Click to expand...
Click to collapse
HERE IS WHAT WE ARE GOING TO DO.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
So Lets start.
Click to expand...
Click to collapse
STEP 1
Decompile your Settings.apk.
Click to expand...
Click to collapse
STEP 2
Open
Code:
smali/com/android/settings/IconPreferenceScreen.smali
Click to expand...
Click to collapse
STEP 3
Delete this in IconPreferenceScreen.smali
Code:
.line 37
const v1, 0x7f030039 <<<< IT MAY DIFFER FROM DEVICE TO DEVICE.
invoke-virtual {p0, v1}, Lcom/android/settings/IconPreferenceScreen;->setLayoutResource(I)V
Click to expand...
Click to collapse
STEP 4
Merge attached files with your Settings.apk
Click to expand...
Click to collapse
STEP 5
Now open settings.xml in
Code:
res/xml/settings.xml
Click to expand...
Click to collapse
STEP 6
Add this to all icon preferences like this in order.
Code:
android:layout="@layout/1" android:summary="@string/1"
FOR EXAMPLE:
FOR WIRELESS AND NETWORKS ADD THIS
Code:
android:layout="@layout/1" android:summary="@string/1"
FOR CALL SETTINGS OR SO ADD THIS
Code:
android:layout="@layout/2" android:summary="@string/2"
Click to expand...
Click to collapse
STEP 7
So it will look like this after modding.
Code:
<com.android.settings.IconPreferenceScreen android:layout="@layout/1" android:summary="1" android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallFeaturesSetting" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
STEP 8
For better understanding here is my settings.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:layout="@layout/1" android:summary="san" android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/2" android:summary="san" android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallFeaturesSetting" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/3" android:summary="san" android:title="@string/cm_settings_title" settings:icon="@drawable/ic_cyanogenmod">
<intent android:targetPackage="com.cyanogenmod.cmparts" android:action="android.intent.action.MAIN" android:targetClass="com.cyanogenmod.cmparts.activities.MainActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/4" android:summary="san" android:title="@string/device_settings_title" android:key="device_settings" settings:icon="@drawable/ic_settings_device">
<intent android:action="com.cyanogenmod.action.LAUNCH_DEVICE_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/5" android:summary="san" android:title="@string/launcher_settings_title" android:key="launcher_settings" settings:icon="@drawable/ic_settings_launcher">
<intent android:targetPackage="com.android.launcher" android:action="android.intent.action.MAIN" android:targetClass="com.android.launcher.MyLauncherSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/6" android:summary="san" android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/7" android:summary="san" android:title="@string/profile_settings_title" settings:icon="@drawable/ic_settings_profile">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ProfileList" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/8" android:summary="san" android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/9" android:summary="san" android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/10" android:summary="san" android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/11" android:summary="san" android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/12" android:summary="san" android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/13" android:summary="san" android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/14" android:summary="san" android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/15" android:summary="san" android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/16" android:summary="san" android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/17" android:summary="san" android:title="@string/dock_settings" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/18" android:summary="san" android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/19" android:summary="san" android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
Click to expand...
Click to collapse
STEP 9
Compile back your apk.
Click to expand...
Click to collapse
STEP 10
Move it to system/app with permissions rwrr or install via systemappsinstaller.
Click to expand...
Click to collapse
Attached Files
SETTINGS MOD BY san122
MODDED CM7 SETTINGS[FOR REFERENCE]
Click to expand...
Click to collapse
...........
Important Notes;
1.You can change backgrounds in xmlsi.e 1,2,3.....
2.Its much better to mod it yourself raher than requesting others.
Click to expand...
Click to collapse
CREDITS::
san122 [For making it possible]
Aniket Rane [For the idea]
b16h22 [For evo app}
Click to expand...
Click to collapse
Hmmm, nice mod, full color. It look like windows phone.. will try it in my device. Thanks for your guide :thumbup:
Thread cleaned.
If people aren't interested in this guide or the look of the guide, click the back button. It's pointless and useless to post about something you haven't used or aren't interested in using.
People make these guides and such for free and no one here is entitled to anything.
Carry on...
Good guide reminds me of paranoid engine on jellybean
Sent from my Nexus 4
Hi all iam apk5656 and tis is my fourth thread sorry for my bad en
first all credits goes to balamu96m
and his thread link http://forum.xda-developers.com/showthread.php?t=1576565
but in my guide here i will explain how to theme settings.apk in extremely jb/kk style
first follow my guide here on how to enable dark/light theme if you want jb then enable dark one and if you want kk enable he light one http://forum.xda-developers.com/android/themes/light-black-theme-framework-res-t3366072 after you finish then you can start here :highfive: :highfive: :highfive:
ok lets start
requirement is
1-settings.apk
2-framework-res.apk
3-just your brain lol
first thing in my guide here we will change your settings header
decompile your framework-res
download this mod edit - links removed
go to drawable-mdpi and past these images there
if you want kk style then replace the image wich in kk folder with yours and if you want jb style replace themage in jb folder with yours
now recompile the framework and replace it with yours and you will got the new settings header
now lets go to theme your settings.apk :highfive:
decompile it and replace this icons mod edit - links removed
with yours wich in drawable-mdpi-ldpi or hdpi
the go to settings.xml
your stock sould be like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:title="@string/dual_settings_title" android:key="dual_settings" settings:icon="@drawable/ic_dualsettings_sim">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DualSimSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallSettingOptions" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/wallpaper_settings" settings:icon="@drawable/ic_settings_wallpaper">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WallpaperChooser" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dock_settings" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/swtichmachine" settings:icon="@drawable/ic_lock_power_off">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.timerpower.AlarmClock" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
here we start replace yours
Code:
<com.android.settings.IconPreferenceScreen android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
with this
Code:
<PreferenceCategory android:title="Wireless and Networks" />
<com.android.settings.IconPreferenceScreen android:title="Wi-Fi" settings:icon="@drawable/wifi">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.wifi.WifiSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="Bluetooth" settings:icon="@drawable/bt">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.bluetooth.BluetoothSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:persistent="false" android:title="Data usage" android:key="button_data_usage_key" settings:icon="@drawable/data">
<intent android:targetPackage="com.sigterm" android:action="android.intent.action.MAIN" android:targetClass="com.sigterm.activities.DataUsageActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="/More..." android:key="wireless_settings" settings:icon="@drawable/more">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
ok that will add blutooth and wifi and more and datausage shortcuts
now we will need to categorie your settings
with this code <PreferenceCategory android:title="categorie name" />
and like this have a look on mine
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="Wireless and Networks" />
<com.android.settings.IconPreferenceScreen android:title="Wi-Fi" settings:icon="@drawable/wifi">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.wifi.WifiSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="Bluetooth" settings:icon="@drawable/bt">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.bluetooth.BluetoothSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:persistent="false" android:title="Data usage" android:key="button_data_usage_key" settings:icon="@drawable/data">
<intent android:targetPackage="com.sigterm" android:action="android.intent.action.MAIN" android:targetClass="com.sigterm.activities.DataUsageActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="/More..." android:key="wireless_settings" settings:icon="@drawable/more">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="interface" />
<com.android.settings.IconPreferenceScreen android:title="@string/rom_toolbox" settings:icon="@drawable/ic_settings_rom">
<intent android:targetPackage="com.jrummy.liberty.toolboxpro" android:action="android.intent.action.MAIN" android:targetClass="com.jrummy.apps.rom.toolbox.RomToolboxActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/xposed_installer" android:key="xposed_key" settings:icon="@drawable/xpsoed">
<intent android:targetPackage="de.robv.android.xposed.installer" android:action="android.intent.action.MAIN" android:targetClass="de.robv.android.xposed.installer.WelcomeActivity" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="Device" />
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dual_settings_title" android:key="dual_settings" settings:icon="@drawable/ic_dualsettings_sim">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DualSimSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallSettingOptions" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/wallpaper_settings" settings:icon="@drawable/ic_settings_wallpaper">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WallpaperChooser" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="Personal" />
<com.android.settings.IconPreferenceScreen android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="Management" />
<com.android.settings.IconPreferenceScreen android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dock_settings" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/swtichmachine" settings:icon="@drawable/ic_lock_power_off">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.timerpower.AlarmClock" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/click_me" settings:icon="@drawable/jb">
<intent android:targetPackage="iaj.areeb.jellybean" android:action="android.intent.action.MAIN" android:targetClass="iaj.areeb.jellybean.PlatLogoActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
now save and out
go to your device_info_settings.xml
and add this on the last before resources this is for rom info
Code:
<Preference android:title="Rom Name" android:summary="rom name" style="?android:preferenceInformationStyle" />
<Preference android:title="Rom Developer" android:summary="your name" style="?android:preferenceInformationStyle" />
<Preference android:title="Recovery Version" android:summary="Recovery version" style="?android:preferenceInformationStyle" />
<Preference android:title="Release Date" android:summary="your rom build date" style="?android:preferenceInformationStyle" />
<Preference android:title="Contact Us" android:summary="your page url or somethin like this" style="?android:preferenceInformationStyle" />
save and recompile
and replace settings.apk with yours and tada :laugh: :laugh: if you like this this thread hit thanks button :highfive:
oh i forget download data usage app from here and paste it in system/app mod edit - links removed
guys what do you think about this thread?
Woww Great Articale!
Thanks man
if you really like this hit thanks button lol
good
thread closed until the links will be available
Dan - forum moderator
If you change CSC to KOO using ODIN AP/BL method with ATF3 file you won't receive FOTA updates?
KOO needs the latest KOO firmware which is R840XXU1BTHA or one of the previous ones R840XXU1BTH4 or R840XXU1BTG6 for FOTA to work?
Does anyone have the files to upload or link for them?
I did see Firmware R840XXU1BTG6_CSC OXA but being OXA would have features disabled, no spay, no BP function, not full KOO functionality and FOTA?
https://forum.xda-developers.com/showpost.php?p=83275439&postcount=29
Check this...
You could try ATF6 or the other Firmwares linked...
Best Regards
adfree said:
https://forum.xda-developers.com/showpost.php?p=83275439&postcount=29
Check this...
You could try ATF6 or the other Firmwares linked...
Best Regards
Click to expand...
Click to collapse
Thank you for such quick response
I had read that and buried in there I read someone said they couldn't do FOTA when they used ATF3? Then you noted KOO have different firmware BTG6 and since then newer firmware? But the BTG6 firmware is Poland OXA which doesn't have KOO functions?
Another person said if you have XAC you can change to KOO just by dialing some special sequence of numbers?
KOO firmwares https://doc.samsungmobile.com/SM-R840/KOO/doc.html
Come in and find out...
Dreams and Reality.
A
If you can use Tool like 7Zip..
You can extract files and folders from csc.img
B
SM-R840 and SM-R850 have ALL in ONE CSC package... called OXA Region...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<SW-Configuration>
<MobileData>
<PublicName>SM-R840</PublicName>
<NickName />
</MobileData>
<CustomerDataSet>
<CSCName>R840OXA</CSCName>
<CSCVersion>1ATF6</CSCVersion>
<NbCustomer>[COLOR="Green"][B]79[/B][/COLOR]</NbCustomer>
<CustomerData src="/Customer/XAR/customer.xml" />
<CustomerData src="/Customer/ACR/customer.xml" />
<CustomerData src="/Customer/AFR/customer.xml" />
<CustomerData src="/Customer/ARO/customer.xml" />
<CustomerData src="/Customer/ASA/customer.xml" />
<CustomerData src="/Customer/ATO/customer.xml" />
<CustomerData src="/Customer/AUT/customer.xml" />
<CustomerData src="/Customer/BGL/customer.xml" />
<CustomerData src="/Customer/BNG/customer.xml" />
<CustomerData src="/Customer/BRI/customer.xml" />
<CustomerData src="/Customer/BTU/customer.xml" />
<CustomerData src="/Customer/BVO/customer.xml" />
<CustomerData src="/Customer/CAC/customer.xml" />
<CustomerData src="/Customer/CAM/customer.xml" />
<CustomerData src="/Customer/CHC/customer.xml" />
<CustomerData src="/Customer/CHO/customer.xml" />
<CustomerData src="/Customer/CIS/customer.xml" />
<CustomerData src="/Customer/COO/customer.xml" />
<CustomerData src="/Customer/DBT/customer.xml" />
<CustomerData src="/Customer/DKR/customer.xml" />
<CustomerData src="/Customer/ECT/customer.xml" />
<CustomerData src="/Customer/EGY/customer.xml" />
<CustomerData src="/Customer/EUA/customer.xml" />
<CustomerData src="/Customer/EUB/customer.xml" />
<CustomerData src="/Customer/EUD/customer.xml" />
<CustomerData src="/Customer/EUE/customer.xml" />
<CustomerData src="/Customer/EUF/customer.xml" />
<CustomerData src="/Customer/EUR/customer.xml" />
<CustomerData src="/Customer/ILO/customer.xml" />
<CustomerData src="/Customer/INS/customer.xml" />
<CustomerData src="/Customer/ITV/customer.xml" />
<CustomerData src="/Customer/KOO/customer.xml" />
<CustomerData src="/Customer/KSA/customer.xml" />
<CustomerData src="/Customer/LTA/customer.xml" />
<CustomerData src="/Customer/LUX/customer.xml" />
<CustomerData src="/Customer/MEA/customer.xml" />
<CustomerData src="/Customer/MID/customer.xml" />
<CustomerData src="/Customer/MWD/customer.xml" />
<CustomerData src="/Customer/MXO/customer.xml" />
<CustomerData src="/Customer/MYM/customer.xml" />
<CustomerData src="/Customer/NBS/customer.xml" />
<CustomerData src="/Customer/NPL/customer.xml" />
<CustomerData src="/Customer/PAK/customer.xml" />
<CustomerData src="/Customer/PEO/customer.xml" />
<CustomerData src="/Customer/PHE/customer.xml" />
<CustomerData src="/Customer/PHN/customer.xml" />
<CustomerData src="/Customer/ROM/customer.xml" />
<CustomerData src="/Customer/SEB/customer.xml" />
<CustomerData src="/Customer/SEE/customer.xml" />
<CustomerData src="/Customer/SEK/customer.xml" />
<CustomerData src="/Customer/SER/customer.xml" />
<CustomerData src="/Customer/SKZ/customer.xml" />
<CustomerData src="/Customer/SLK/customer.xml" />
<CustomerData src="/Customer/TGY/customer.xml" />
<CustomerData src="/Customer/THO/customer.xml" />
<CustomerData src="/Customer/TPA/customer.xml" />
<CustomerData src="/Customer/TPH/customer.xml" />
<CustomerData src="/Customer/TTT/customer.xml" />
<CustomerData src="/Customer/TUN/customer.xml" />
<CustomerData src="/Customer/TUR/customer.xml" />
<CustomerData src="/Customer/UPO/customer.xml" />
<CustomerData src="/Customer/UYO/customer.xml" />
<CustomerData src="/Customer/XAC/customer.xml" />
<CustomerData src="/Customer/XEF/customer.xml" />
<CustomerData src="/Customer/XEH/customer.xml" />
<CustomerData src="/Customer/XEO/customer.xml" />
<CustomerData src="/Customer/XEZ/customer.xml" />
<CustomerData src="/Customer/XFA/customer.xml" />
<CustomerData src="/Customer/XJP/customer.xml" />
<CustomerData src="/Customer/XME/customer.xml" />
<CustomerData src="/Customer/XNZ/customer.xml" />
<CustomerData src="/Customer/XSA/customer.xml" />
<CustomerData src="/Customer/XSE/customer.xml" />
<CustomerData src="/Customer/XSG/customer.xml" />
<CustomerData src="/Customer/XSK/customer.xml" />
<CustomerData src="/Customer/XSP/customer.xml" />
<CustomerData src="/Customer/XTC/customer.xml" />
<CustomerData src="/Customer/XXV/customer.xml" />
<CustomerData src="/Customer/ZTO/customer.xml" />
</CustomerDataSet>
</SW-Configuration>
If you can find this file inside csc.img... you see 79 CSC aka Sales Codes inside this OXA package...
Best Regards
adfree said:
Come in and find out...
Dreams and Reality.
A
If you can use Tool like 7Zip..
You can extract files and folders from csc.img
B
SM-R840 and SM-R850 have ALL in ONE CSC package... called OXA Region...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<SW-Configuration>
<MobileData>
<PublicName>SM-R840</PublicName>
<NickName />
</MobileData>
<CustomerDataSet>
<CSCName>R840OXA</CSCName>
<CSCVersion>1ATF6</CSCVersion>
<NbCustomer>[COLOR="Green"][B]79[/B][/COLOR]</NbCustomer>
<CustomerData src="/Customer/XAR/customer.xml" />
<CustomerData src="/Customer/ACR/customer.xml" />
<CustomerData src="/Customer/AFR/customer.xml" />
<CustomerData src="/Customer/ARO/customer.xml" />
<CustomerData src="/Customer/ASA/customer.xml" />
<CustomerData src="/Customer/ATO/customer.xml" />
<CustomerData src="/Customer/AUT/customer.xml" />
<CustomerData src="/Customer/BGL/customer.xml" />
<CustomerData src="/Customer/BNG/customer.xml" />
<CustomerData src="/Customer/BRI/customer.xml" />
<CustomerData src="/Customer/BTU/customer.xml" />
<CustomerData src="/Customer/BVO/customer.xml" />
<CustomerData src="/Customer/CAC/customer.xml" />
<CustomerData src="/Customer/CAM/customer.xml" />
<CustomerData src="/Customer/CHC/customer.xml" />
<CustomerData src="/Customer/CHO/customer.xml" />
<CustomerData src="/Customer/CIS/customer.xml" />
<CustomerData src="/Customer/COO/customer.xml" />
<CustomerData src="/Customer/DBT/customer.xml" />
<CustomerData src="/Customer/DKR/customer.xml" />
<CustomerData src="/Customer/ECT/customer.xml" />
<CustomerData src="/Customer/EGY/customer.xml" />
<CustomerData src="/Customer/EUA/customer.xml" />
<CustomerData src="/Customer/EUB/customer.xml" />
<CustomerData src="/Customer/EUD/customer.xml" />
<CustomerData src="/Customer/EUE/customer.xml" />
<CustomerData src="/Customer/EUF/customer.xml" />
<CustomerData src="/Customer/EUR/customer.xml" />
<CustomerData src="/Customer/ILO/customer.xml" />
<CustomerData src="/Customer/INS/customer.xml" />
<CustomerData src="/Customer/ITV/customer.xml" />
<CustomerData src="/Customer/KOO/customer.xml" />
<CustomerData src="/Customer/KSA/customer.xml" />
<CustomerData src="/Customer/LTA/customer.xml" />
<CustomerData src="/Customer/LUX/customer.xml" />
<CustomerData src="/Customer/MEA/customer.xml" />
<CustomerData src="/Customer/MID/customer.xml" />
<CustomerData src="/Customer/MWD/customer.xml" />
<CustomerData src="/Customer/MXO/customer.xml" />
<CustomerData src="/Customer/MYM/customer.xml" />
<CustomerData src="/Customer/NBS/customer.xml" />
<CustomerData src="/Customer/NPL/customer.xml" />
<CustomerData src="/Customer/PAK/customer.xml" />
<CustomerData src="/Customer/PEO/customer.xml" />
<CustomerData src="/Customer/PHE/customer.xml" />
<CustomerData src="/Customer/PHN/customer.xml" />
<CustomerData src="/Customer/ROM/customer.xml" />
<CustomerData src="/Customer/SEB/customer.xml" />
<CustomerData src="/Customer/SEE/customer.xml" />
<CustomerData src="/Customer/SEK/customer.xml" />
<CustomerData src="/Customer/SER/customer.xml" />
<CustomerData src="/Customer/SKZ/customer.xml" />
<CustomerData src="/Customer/SLK/customer.xml" />
<CustomerData src="/Customer/TGY/customer.xml" />
<CustomerData src="/Customer/THO/customer.xml" />
<CustomerData src="/Customer/TPA/customer.xml" />
<CustomerData src="/Customer/TPH/customer.xml" />
<CustomerData src="/Customer/TTT/customer.xml" />
<CustomerData src="/Customer/TUN/customer.xml" />
<CustomerData src="/Customer/TUR/customer.xml" />
<CustomerData src="/Customer/UPO/customer.xml" />
<CustomerData src="/Customer/UYO/customer.xml" />
<CustomerData src="/Customer/XAC/customer.xml" />
<CustomerData src="/Customer/XEF/customer.xml" />
<CustomerData src="/Customer/XEH/customer.xml" />
<CustomerData src="/Customer/XEO/customer.xml" />
<CustomerData src="/Customer/XEZ/customer.xml" />
<CustomerData src="/Customer/XFA/customer.xml" />
<CustomerData src="/Customer/XJP/customer.xml" />
<CustomerData src="/Customer/XME/customer.xml" />
<CustomerData src="/Customer/XNZ/customer.xml" />
<CustomerData src="/Customer/XSA/customer.xml" />
<CustomerData src="/Customer/XSE/customer.xml" />
<CustomerData src="/Customer/XSG/customer.xml" />
<CustomerData src="/Customer/XSK/customer.xml" />
<CustomerData src="/Customer/XSP/customer.xml" />
<CustomerData src="/Customer/XTC/customer.xml" />
<CustomerData src="/Customer/XXV/customer.xml" />
<CustomerData src="/Customer/ZTO/customer.xml" />
</CustomerDataSet>
</SW-Configuration>
If you can find this file inside csc.img... you see 79 CSC aka Sales Codes inside this OXA package...
Best Regards
Click to expand...
Click to collapse
I'm sorry I'm a little bit confused.
Does that mean I can use that oxa firmware and everything will work fine eg BP, SPay and Fora?
Or do I need to modify something?
I might have gotten confused thinking oxa is Poland.
Edit 3.
BTG6 for SM-R840
https://forum.xda-developers.com/sma...c-oxa-t4166767
Click to expand...
Click to collapse
Switched to KOO fine after using EF extractor to extract AP, BL and CSC files from that single btg6 OXA and flashing them on with ODIN. Not sure if the combination firmware step is needed like in the youtube video and manually changing the region code on the 2 files if you have these 3 files?
KOO has no SPay on gw3 which makes no sense...
How can I have both SPay and BP working? XAR allowed SPay but no BP.
Codes for GDPR RMX3081 Rom.
For full access use Secrecy unlock.
There are guess 2 levels of available code, level one is for non-auth, all other for auth and/or rooted access.
Regions are only set to EU (GDPR Rom), some items are for CN for test purposes.
Some actions are permanent, some are fixed. Beware of the changes !
CSS:
<OrderItem name="*#12345#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="com.oppo.activation.action.STOP_SERVICE" />
</OrderItem>
<OrderItem name="*#10000#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.MarkResultShow"
android:targetPackage="com.oppo.engineermode" />
<OrderItem name="*#36446337#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.EngineeringMode"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*##*37847#" type="startActivity" platform="ALL" region="ALL" level="6">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.device.DeviceListActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#66#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.IMeiAndPcbCheck"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#6776#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.CheckSoftwareInfo"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#649010#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.DiagEnabled"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#637243#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.ShowRemoteMessage"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#727#" type="startActivity" platform="QCOM" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.SarTest"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#7327#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.rftoolkit.RfToolkitCustomerService"
android:targetPackage="com.oppo.rftoolkit" />
</OrderItem>
<OrderItem name="*#7890#" type="startActivity" platform="ALL" region="EXP" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.NetWorkSet"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#800#" type="startActivity" platform="MTK" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.mediatek.engineermode.EngineerMode"
android:targetPackage="com.mediatek.engineermode">
<extra
android:name="isRedirectToLogger"
android:value="true" />
</intent>
</OrderItem>
<OrderItem name="*#807#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.aftersale.DeviceSimpleDetectActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#808#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.EngineerModeMain"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#805#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.bluetoothtest.BluetoothTest"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#803#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wifitest.WifiSettings"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#802#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.gps.GpsActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#806#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.autoaging.AutoAgingMainListActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#8778#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.manualtest.MasterClear"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#888#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.PcbShow"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*##*8110#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.OtaSwitch"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#8019#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wireless.WifiSocketHelper"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#818#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.NetworkSearchNew"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="Step_Num"
android:value="First" />
</intent>
</OrderItem>
<OrderItem name="*#838#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.NetworkSearchNew"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="Step_Num"
android:value="Second" />
</intent>
</OrderItem>
<OrderItem name="*#8168#" type="startActivity" platform="ALL" region="CN" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.CmccEvaluationOTA"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="AntPosition"
android:value="Button" />
</intent>
</OrderItem>
<OrderItem name="*#8398#" type="startActivity" platform="ALL" region="CN" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.CmccEvaluationOTA"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="AntPosition"
android:value="TOP" />
</intent>
</OrderItem>
<OrderItem name="*#8020#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wireless.WifiAdbHelper"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#899#" type="other" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.aftersale.AfterSalePage"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#99#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.KeepSrceenOn"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#928#" type="startActivity" platform="QCOM" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wifitest.WifiFTMActivity"
android:targetPackage="com.oppo.engineermode">
<extra
android:name="Step_WifiFtm"
android:value="First" />
</intent>
</OrderItem>
<OrderItem name="*#9434#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.decrypt.WifiDecryptionActivity"
android:targetPackage="com.oppo.decrypt" />
</OrderItem>
<OrderItem name="*#911#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.PowerOff"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#07#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#67767#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#8011#" type="other" platform="ALL" region="ALL" level="1" />
<OrderItem name="*#39724#" type="other" platform="ALL" region="EXP" level="2" />
<OrderItem name="*#390501#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#390502#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#008#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.LanguageSwitchActivity"
android:targetPackage="com.oppo.engineermode">
<extra
android:name="language_str"
android:value="zh_CN" />
</intent>
</OrderItem>
<OrderItem name="*#643223#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.DevelopmentConfigPage"
android:targetPackage="com.oppo.engineermode">
</intent>
</OrderItem>
<OrderItem name="*#885526#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.VulkanDebugActivity"
android:targetPackage="com.oppo.engineermode">
</intent>
</OrderItem>
<!--*#928#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wifitest.WifiFTMActivity" />
<!--*#8019#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.WifiSocketHelper" />
<!--*#8020#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.WifiAdbHelper" />
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.SwitchMetaModeHelper" />
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.DetectMasterClearResult" />
<!--*#637243#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.ShowRemoteMessage" />
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.manualtest.modeltest.ModelTestImpl" />
<service packageName="com.oppo.engineermode"
className="com.oppo.engineermode.assistant.SwitchWifiMMI" />
<service packageName="com.oppo.engineermode"
className="com.oppo.engineermode.assistant.SwitchProductionMode" />
<service packageName="com.oppo.engineermode"
className="com.oppo.autotest.connector.AutoTestServer" />
<service packageName="com.oppo.engineermode" className="com.oppo.autotest.RunAllTest" />
<service packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.WifiAdbHelperService" />
<shell_command command="--update_back_cover_color" />
<shell_command command="--update_engineer_result" />
<shell_command command="--update_oppo_sn" />
<shell_command command="--reset_back_cover_color" />
<shell_command command="--reset_write_protect" />
<shell_command command="--reset_engineer_result" />
<shell_command command="--reset_download_mode" />
<shell_command command="--execute_start_mmi" />
<shell_command command="--execute_stop_mmi" />
<shell_command command="--execute_master_clear" />
<shell_command command="--execute_power_off" />
<shell_command command="--execute_model_test" />
<shell_command command="--execute_engineer_order" />
<shell_command command="--execute_switch_production_mode" />
<shell_command command="--execute_detect_ms_result" />
<shell_command command="--execute_show_production_message" />
<shell_command command="--execute_switch_wifi_mmi" />
<shell_command command="--execute_launch_wifi_mmi" />
<shell_command command="--generate_attk_key_pair" />
<shell_command command="--verify_attk_key_pair" />
<shell_command command="--verify_attk_key_pair_only" />
<shell_command command="--verify_ali_key" />
<shell_command command="--export_attk_public_key" />
<shell_command command="--get_device_id" />
<shell_command command="--enable_rpmb" />
<shell_command command="--crypto_eng_verify" />
<shell_command command="--get_tee_version" />
<shell_command command="--install_keybox" />
<shell_command command="--provision_keybox" />
<shell_command command="--verify_keybox" />
StratOS_HTC said:
Codes for GDPR RMX3081 Rom.
Click to expand...
Click to collapse
How to obtain this codes for another model? Please provide guide/tutorial
Quick guidethrought on different phone :
Entering Engineering Mode (and list of secret codes)
To enter the Engineering Mode: dial *#899# Here are two more lists with secret codes that I found, it seems without root yout can only execude codes with Level 1. I am not responsible for any data loss or damage to your device by using these...
forum.xda-developers.com
Any one of these allow you to turn on "Rndis, diag switch" in ColorOS 12/Oxygen OS 12?