[dev][twrp][theme]grafic battery - Nexus 5 Themes and Apps

i have find a method to view a graphic battery in the theme i post the code e the img that is needed for this
im sorry for my bad english very very sorry
add this to resource section
Code:
<!--batteryresource-->
<resource name="1" type="image" filename="batteria/001" />
<resource name="2" type="image" filename="batteria/002" />
<resource name="3" type="image" filename="batteria/003" />
<resource name="4" type="image" filename="batteria/004" />
<resource name="5" type="image" filename="batteria/005" />
<resource name="6" type="image" filename="batteria/006" />
<resource name="7" type="image" filename="batteria/007" />
<resource name="8" type="image" filename="batteria/008" />
<resource name="9" type="image" filename="batteria/009" />
<resource name="10" type="image" filename="batteria/010" />
<resource name="11" type="image" filename="batteria/011" />
<resource name="12" type="image" filename="batteria/012" />
<resource name="13" type="image" filename="batteria/013" />
<resource name="14" type="image" filename="batteria/014" />
<resource name="15" type="image" filename="batteria/015" />
<resource name="16" type="image" filename="batteria/016" />
<resource name="17" type="image" filename="batteria/017" />
<resource name="18" type="image" filename="batteria/018" />
<resource name="19" type="image" filename="batteria/019" />
<resource name="20" type="image" filename="batteria/020" />
<resource name="21" type="image" filename="batteria/021" />
<resource name="22" type="image" filename="batteria/022" />
<resource name="23" type="image" filename="batteria/023" />
<resource name="24" type="image" filename="batteria/024" />
<resource name="25" type="image" filename="batteria/025" />
<resource name="26" type="image" filename="batteria/026" />
<resource name="27" type="image" filename="batteria/027" />
<resource name="28" type="image" filename="batteria/028" />
<resource name="29" type="image" filename="batteria/029" />
<resource name="30" type="image" filename="batteria/030" />
<resource name="31" type="image" filename="batteria/031" />
<resource name="32" type="image" filename="batteria/032" />
<resource name="33" type="image" filename="batteria/033" />
<resource name="34" type="image" filename="batteria/034" />
<resource name="35" type="image" filename="batteria/035" />
<resource name="36" type="image" filename="batteria/036" />
<resource name="37" type="image" filename="batteria/037" />
<resource name="38" type="image" filename="batteria/038" />
<resource name="39" type="image" filename="batteria/039" />
<resource name="40" type="image" filename="batteria/040" />
<resource name="41" type="image" filename="batteria/041" />
<resource name="42" type="image" filename="batteria/042" />
<resource name="43" type="image" filename="batteria/043" />
<resource name="44" type="image" filename="batteria/044" />
<resource name="45" type="image" filename="batteria/045" />
<resource name="46" type="image" filename="batteria/046" />
<resource name="47" type="image" filename="batteria/047" />
<resource name="48" type="image" filename="batteria/048" />
<resource name="49" type="image" filename="batteria/049" />
<resource name="50" type="image" filename="batteria/050" />
<resource name="51" type="image" filename="batteria/051" />
<resource name="52" type="image" filename="batteria/052" />
<resource name="53" type="image" filename="batteria/053" />
<resource name="54" type="image" filename="batteria/054" />
<resource name="55" type="image" filename="batteria/055" />
<resource name="56" type="image" filename="batteria/056" />
<resource name="57" type="image" filename="batteria/057" />
<resource name="58" type="image" filename="batteria/058" />
<resource name="59" type="image" filename="batteria/059" />
<resource name="60" type="image" filename="batteria/060" />
<resource name="61" type="image" filename="batteria/061" />
<resource name="62" type="image" filename="batteria/062" />
<resource name="63" type="image" filename="batteria/063" />
<resource name="64" type="image" filename="batteria/064" />
<resource name="65" type="image" filename="batteria/065" />
<resource name="66" type="image" filename="batteria/066" />
<resource name="67" type="image" filename="batteria/067" />
<resource name="68" type="image" filename="batteria/068" />
<resource name="69" type="image" filename="batteria/069" />
<resource name="70" type="image" filename="batteria/070" />
<resource name="71" type="image" filename="batteria/071" />
<resource name="72" type="image" filename="batteria/072" />
<resource name="73" type="image" filename="batteria/073" />
<resource name="74" type="image" filename="batteria/074" />
<resource name="75" type="image" filename="batteria/075" />
<resource name="76" type="image" filename="batteria/076" />
<resource name="77" type="image" filename="batteria/077" />
<resource name="78" type="image" filename="batteria/078" />
<resource name="79" type="image" filename="batteria/079" />
<resource name="80" type="image" filename="batteria/080" />
<resource name="81" type="image" filename="batteria/081" />
<resource name="82" type="image" filename="batteria/082" />
<resource name="83" type="image" filename="batteria/083" />
<resource name="84" type="image" filename="batteria/084" />
<resource name="85" type="image" filename="batteria/085" />
<resource name="86" type="image" filename="batteria/086" />
<resource name="87" type="image" filename="batteria/087" />
<resource name="88" type="image" filename="batteria/088" />
<resource name="89" type="image" filename="batteria/089" />
<resource name="90" type="image" filename="batteria/090" />
<resource name="91" type="image" filename="batteria/091" />
<resource name="92" type="image" filename="batteria/092" />
<resource name="93" type="image" filename="batteria/093" />
<resource name="94" type="image" filename="batteria/094" />
<resource name="95" type="image" filename="batteria/095" />
<resource name="96" type="image" filename="batteria/096" />
<resource name="97" type="image" filename="batteria/097" />
<resource name="98" type="image" filename="batteria/098" />
<resource name="99" type="image" filename="batteria/099" />
<resource name="100" type="image" filename="batteria/100" />
add this to variable section (edit this to move battery)
Code:
<variable name="battery_y" value="4" />
<variable name="battery_x" value="550" />
the core section
http://www.mediafire.com/edit/f6aq9gqpazz2zfa/corecode.txt
and finally the code for include the battery in other template
Code:
<object type="template" name="batt" />
DOWNLOAD RESOURCE
choose your resource big or small dont change the name "batteria" and copy it in img folder or battery dont work
And remeber to credit me in your work

remove this

Related

[Q] How to remove clock from status bar?

I tried to search for answers. All i can found didn't work. Can somebody help me to remove the clock from the status bar? Thanks! :fingers-crossed:
ps: I'm using Stock Deodexed Rom
Is it a stock rom? If it is, then you cant remove it without modifying your SystemUI .apk.
If on the other hand, it is a custom rom, you have to specify which rom you are using, and whether it has statusbar greper enabled, or is it using EDT Tweaks...
Please Be More Specific!!
oh sorry about that. I'm currently in a Stock Deodexed Rom.
Zius said:
I tried to search for answers. All i can found didn't work. Can somebody help me to remove the clock from the status bar? Thanks! :fingers-crossed:
ps: I'm using Stock Deodexed Rom
Click to expand...
Click to collapse
An eazy way would be to go to uot and select status bar text color Alfa to 0%...
{
"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"
}
=========HOLO-UBUNTU========theme
but the clock is still there? will it leave a huge space on the top right corner?
decompile systemui with apktool...find status_bar.xml..edit with notepad ++ or whatever app...
find this n delete
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="10.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textSize="26.5dip" android:textStyle="bold" android:textColor="#0033b5e5" android:gravity="left|center" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
I can't find that line. Is that coming from a custom rom because all i can find is this.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
Zius said:
I can't find that line. Is that coming from a custom rom because all i can find is this.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
Click to expand...
Click to collapse
i have edit for u...just paste this on ur status_bar.xml and recompile them
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
my systemUI force close.
Zius said:
my systemUI force close.
Click to expand...
Click to collapse
can u give me ur original n edited systemui
The original is the systemui from the deodexed rom that i flashed. The edited is the one i'm using right now.
try this and report back to me whether it work or not
View attachment SystemUI.apk
same as the other ones. systemui force close.
just a question. In Hyperion 8 is there an option to hide the clock?
Zius said:
same as the other ones. systemui force close.
just a question. In Hyperion 8 is there an option to hide the clock?
Click to expand...
Click to collapse
try to reflash ur rom and use systemui that i gave to u..
in hyperion 8 i use same method which is edit status_bar.xml
Thanks for the help!

[Q] Roomservice.xml in .Repo

hello all,
I am looking into developing a ROM for the G2, but I can't sync without the correct roomservice.xml files inside my local_manifest directory. If anyone could throw some ideas out there I would appreciate anything you can contribute, this is what me and Wantowan2 have came up with so far (not complete at all):
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge_skyrocket" path="device/lge/" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge_qcom-common" path="device/lge/qcom-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge_msm8974-common" path="device/lge/msm8974-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge-common" path="device/lge/celox-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_kernel_lge_msm8974-common" path="kernel/lge/msm8974-common" remote="github" revision="cm-10.2" />
</manifest>
Click to expand...
Click to collapse
This is very close to the SII Skyrocket since that was my last device. I am using this thread as a guide by the way
http://forum.xda-developers.com/showthread.php?t=1798056

Statusbar Help

I'm using statusbar by @marcussmith2626, but the notification icon is break apart :'( Please help sir @marcussmith2626
GalKill said:
I'm using statusbar by @marcussmith2626, but the notification icon is break apart :'( Please help sir @marcussmith2626
Click to expand...
Click to collapse
you didnt mention what status bar it was - probably one of my old ones
if stock based rom try making the icon part of status_bar.xml look like
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
marcussmith2626 said:
you didnt mention what status bar it was - probably one of my old ones
if stock based rom try making the icon part of status_bar.xml look like
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
Click to expand...
Click to collapse
Here the statusbar forum.xda-developers.com/showthread.php?p=46863955#post46863955
GalKill said:
Here the statusbar forum.xda-developers.com/showthread.php?p=46863955#post46863955
Click to expand...
Click to collapse
try changing in status_bar.xml
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="25.0dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
to
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
you will just have to play around with the layout - I dont use stock roms anymore so I cant test things out
marcussmith2626 said:
try changing in status_bar.xml
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="25.0dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
to
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
you will just have to play around with the layout - I dont use stock roms anymore so I cant test things out
Click to expand...
Click to collapse
I'll try it soon, but, can i know what rom are you using right now?
GalKill said:
I'll try it soon, but, can i know what rom are you using right now?
Click to expand...
Click to collapse
im using biels cm7
marcussmith2626 said:
im using biels cm7
Click to expand...
Click to collapse
But sir @marcussmith2626 when I turn off my mobile data, I found out that it's no more torn apart and when I turn on my data, it broke again, why?
GalKill said:
But sir @marcussmith2626 when I turn off my mobile data, I found out that it's no more torn apart and when I turn on my data, it broke again, why?
Click to expand...
Click to collapse
if you are talking about cm7 then I have no problems with turning my data on and off and it works all the time
marcussmith2626 said:
if you are talking about cm7 then I have no problems with turning my data on and off and it works all the time
Click to expand...
Click to collapse
still on hyp8 :'(

[Guide]How to Center Clock & IOS System Icons StatusBar

{
"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"
}
What do we need:
- apktool
- Notepad++
- the mind
Decompile MiuiSystemUI.apk
go to res/layout/status_bar_simple.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.SimpleStatusBar android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.BatteryIndicator android:layout_gravity="top" android:id="@id/battery_indicator" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/battery_indicator" android:scaleType="fitXY" />
<RelativeLayout android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="3.0dip" android:paddingEnd="3.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
<LinearLayout android:gravity="start|center" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_toEndOf="@id/clock">
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/notification_more_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
</LinearLayout>
<com.android.systemui.statusbar.phone.StatusBarIcons android:gravity="end|center" android:id="@id/statusbar_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentEnd="true">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.NetworkSpeedView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:gravity="end|center" android:id="@id/network_speed_view" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_marginEnd="3.0dip" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center_vertical" android:id="@id/signal_cluster_container" android:layout_width="0.0dip" android:layout_height="fill_parent" android:baselineAligned="false" android:layout_weight="1.0">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" layout="@layout/signal_cluster_view" />
<include android:id="@id/signal_cluster2" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" layout="@layout/signal_cluster_view" />
</LinearLayout>
<ImageView android:id="@id/battery_charging_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.phone.BatteryStatusIconView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="center" android:id="@id/battery_num" android:paddingBottom="@dimen/statusbar_battery_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="1.0dip" android:layout_marginEnd="3.0dip" />
</com.android.systemui.statusbar.phone.StatusBarIcons>
</RelativeLayout>
</com.android.systemui.statusbar.phone.SimpleStatusBar>
change to :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.SimpleStatusBar android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.BatteryIndicator android:layout_gravity="top" android:id="@id/battery_indicator" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/battery_indicator" android:scaleType="fitXY" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="left" android:paddingRight="3.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:gravity="center_vertical" android:id="@id/signal_cluster_container" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<include android:id="@id/signal_cluster2" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<com.android.systemui.statusbar.NetworkSpeedView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:gravity="center|left" android:id="@id/network_speed_view" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="3.0dip" android:layout_marginRight="3.0dip" android:singleLine="true" />
<LinearLayout android:gravity="center|right" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/notification_more_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
</LinearLayout>
<LinearLayout android:gravity="right" android:layout_gravity="right" android:paddingLeft="3.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.StatusBarIcons android:gravity="end|center" android:id="@id/statusbar_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentEnd="true">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:id="@id/battery_charging_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="center" android:id="@id/battery_num" android:paddingBottom="@dimen/statusbar_battery_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="1.0dip" android:layout_marginEnd="3.0dip" />
<com.android.systemui.statusbar.phone.BatteryStatusIconView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.phone.StatusBarIcons>
</LinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.phone.SimpleStatusBar>
recompile MiuiSystemUi
Done
thanks man but just question the notification icon is on left or right?
left
Wew, Noice!
Lemme add this to index
how to positioning wifi icon on the right signal icon?
like this screenshot
Hi, i'm also interested in this question
how to positioning wifi icon on the right signal icon?
Click to expand...
Click to collapse
, i suppose some lines of code must change places but can you tell which? And how to hide wifi speed in this code?
What if I want only centered clock and everything else normal (wifi on right side). Can you please highlight the exact section that has to do with the clock. Is it even possible to only center the clock?
Hello @S3V3N its possible to get a flashable zip for center clock? I can't live without centre clock lol.
sachin n said:
Hello @S3V3N its possible to get a flashable zip for center clock? I can't live without centre clock lol.
Click to expand...
Click to collapse
+1 would be very nice
Msimatch
There is a app on playstore for that.
https://play.google.com/store/apps/details?id=com.zapperbyte.miuistatusbarpro
i need root?
Yes
Wysłane z mojego LG-H870 przy użyciu Tapatalka
Bro is there any flashable zip file for this
I am Unable To do thaT
Is there any Flashable zip file
sachin n said:
Hello @S3V3N its possible to get a flashable zip for center clock? I can't live without centre clock lol.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.zapperbyte.miuistatusbarpro enjoy
Wysłane z mojego LG-H870 przy użyciu Tapatalka
My Device is Redmi 2 prime . Support or not?

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 codes. Use at your own risk.
Code:
</engineer_switch>RMX1931L1:/etc $ cat sys_engineer_order_list.xml
cat sys_engineer_order_list.xml
<?xml version="1.0" encoding="utf-8"?>
<OrderList version="20190101" xmlns:android="http://schemas.android.com/apk/res/android">
<OrderItem name="*#0000#" type="startActivity" platform="ALL" region="CN" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.TelecomVersionInfo"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<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>
<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="*#394321#" type="startService" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.LanguageSwitchToZimbabweService"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#3644321#" type="startActivity" platform="MTK" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.RebootManager"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#3644999#" type="startActivity" platform="MTK" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.RebootManager"
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="MTK" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.LteSarTest"
android:targetPackage="com.oppo.engineermode.network" />
</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>
<!-- Add for TW FETNET, bud 1278196-->
<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="*#804#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.NetworkSearch"
android:targetPackage="com.oppo.engineermode.network" />
</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="*#872#" type="startActivity" platform="MTK" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.UsbPreloaderEnabled"
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="*#858#" type="startActivity" platform="QCOM" 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="Third" />
</intent>
</OrderItem>
<OrderItem name="*#878#" type="startActivity" platform="QCOM" 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="Fourth" />
</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="MTK" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wireless.SwitchMetaModeHelper"
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="*#391#" type="other" platform="ALL" region="EXP" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.SwitchSoftwareVersion"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#3954391#" type="other" platform="ALL" region="EXP" level="2" />
<OrderItem name="*#7799#" type="other" platform="ALL" region="EXP" level="2" />
<OrderItem name="*#789#" type="startActivity" platform="ALL" region="EXP" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.simlockexp.ClearTelcelnetlock"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#912#" type="startActivity" platform="ALL" region="EXP" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.simlockexp.RecoverTelcelnetlock"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#3921234#" type="other" platform="ALL" region="EXP" level="1">
<intent android:action="com.android.engineeringmode.SwitchSoftwareVersionInFw" />
</OrderItem>
<OrderItem name="*#39243#" type="startActivity" platform="ALL" region="EXP" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.explock.SecretVersonShowActivityExp"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#3988691#" type="startActivity" platform="ALL" region="EXP" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.explock.RegionNetLockDialogExp"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#390000#" type="sendBroadcast" platform="ALL" region="EXP" level="2">
<intent
android:action="com.oppo.show.all.language"
android:targetClass="com.oppo.settings.exp.ExpBroadcastReceiver"
android:targetPackage="com.android.settings" />
</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="*#667611#" type="other" platform="ALL" region="ALL" level="2" />
<OrderItem name="*#667610#" type="other" platform="ALL" region="ALL" level="2" />
<!-- Xiang.Gui Add for 5G test switch *#54794824#-->
<OrderItem name="*#54794824#" type="other" platform="ALL" region="ALL" level="1" />
<OrderItem name="*#39137#" type="startService" platform="ALL" region="EXP" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.SwitchSoftwareService"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="carrierval"
android:value="@string/carrierVersion_thailand_true" />
<extra
android:name="carriername"
android:value="Thailand TRUE" />
<extra
android:name="sim_switch_operator"
android:value="@string/sim_switch_operator_switch_on" />
</intent>
</OrderItem>
<OrderItem name="*#39248#" type="startService" platform="ALL" region="EXP" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.SwitchSoftwareService"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="carrierval"
android:value="@string/carrierVersion_thailand_ais" />
<extra
android:name="carriername"
android:value="Thailand AIS" />
<extra
android:name="sim_switch_operator"
android:value="@string/sim_switch_operator_switch_on" />
</intent>
</OrderItem>
<OrderItem name="*#39369#" type="startService" platform="ALL" region="EXP" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.SwitchSoftwareService"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="carrierval"
android:value="@string/carrierVersion_thailand_dtac" />
<extra
android:name="carriername"
android:value="Thailand DTAC" />
<extra
android:name="sim_switch_operator"
android:value="@string/sim_switch_operator_switch_on" />
</intent>
</OrderItem>
<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="*#7869264#" type="startActivity" platform="ALL" region="EXP" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.explock.DeviceLockDialogExp"
android:targetPackage="com.oppo.engineermode.network">
</intent>
</OrderItem>
<!-- SH add start-->
<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>
<!-- SH add end-->
<OrderItem name="*#456225#" type="startActivity" platform="ALL" region="EXP" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.aftersale.SwitchRegionAssistant"
android:targetPackage="com.oppo.engineermode">
</intent>
</OrderItem>
</OrderList>
RMX1931L1:/etc $
Code:
RMX1931L1:/etc $ cat sys_engineer_config_list.xml
cat sys_engineer_config_list.xml
<?xml version="1.0" encoding="UTF-8"?>
<engineer_switch>
<version>20190101</version>
<switch switchName="activity_sw" switchState="false" />
<switch switchName="service_sw" switchState="false" />
<switch switchName="shell_command_sw" switchState="false" />
<switch switchName="engineer_order_sw" switchState="false" />
<switch switchName="reset_atm_sw" switchState="false" />
<switch switchName="key_status_dcs" switchState="true" />
<switch switchName="google_key_fix" switchState="true" />
<!--*#928#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wifitest.WifiFTMActivity" />
<!--*#3644321#,*#3644999#-->
<activity packageName="com.oppo.engineermode" className="com.oppo.engineermode.RebootManager" />
<!--*#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" />
<engineer_order order="*#8011#" />
<engineer_order order="*#8019#" />
<engineer_order order="*#8020#" />
<engineer_order order="*#3644321#" />
<engineer_order order="*#3644999#" />
<engineer_order order="*#928#" />
<engineer_order order="*#637243#" />
<engineer_order order="*#667611#" />
<engineer_order order="*#667610#" />
<!-- Xiang.Gui Add for 5G test switch *#54794824#-->
<engineer_order order="*#54794824#" />
</engineer_switch>RMX1931L1:/etc $
Do you know how to access code level 2?
Nice job!
Reno Fahrezi said:
Do you know how to access code level 2?
Click to expand...
Click to collapse
Only seems possible with root access, but I have not verified it.
Is there a code in there to see bootloader status if locked or unlocked?
I don't think so.
Judging by my experience with Oneplus devices this flag (bootloader unlock) is stored in the aboot partition or similar.
How did you find these lists?
Hi,i have realme X7 max device,and I want to switch software country to CN or PHILLIPINES, Please tell how to do this if anyone knows!!!!
Just a heads up for people looking at this menu - the tests in this menu WILL CALL EMERGENCY SERVICES during the automated tests.
Fair warning. It wall call 112 / 911

Categories

Resources