[Xiaomi Mi 4i] kagara:
i have try to add invisible power button on systemUI MIUI 8 and got this error

Log For : MiuiSystemUI.apk

Log Type : Recompiling

Log Recorded At : Wed 16-11-2016 15:49:38.49

Log Recorded By : Advanced ApkTool v3.0.0 By BDFreak

------------------------------------------------------

W: E:\FLASHXIAOMI\AdvancedApkTool\3-Out\MiuiSystemUI.apk\res\layout\status_bar.xml:2: error: Error parsing XML: unbound prefix
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\k4gara\AppData\Local\Temp\brut_util_Jar_6691148060102741333.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.2, -F, C:\Users\k4gara\AppData\Local\Temp\APKTOOL6317259639059092263.tmp, -0, arsc, -0, arsc, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\16.apk, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\17.apk, -S, E:\FLASHXIAOMI\AdvancedApkTool\3-Out\MiuiSystemUI.apk\res, -M, E:\FLASHXIAOMI\AdvancedApkTool\3-Out\MiuiSystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
at brut.androlib.Androlib.buildResources(Androlib.java:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\k4gara\AppData\Local\Temp\brut_util_Jar_6691148060102741333.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.2, -F, C:\Users\k4gara\AppData\Local\Temp\APKTOOL6317259639059092263.tmp, -0, arsc, -0, arsc, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\16.apk, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\17.apk, -S, E:\FLASHXIAOMI\AdvancedApkTool\3-Out\MiuiSystemUI.apk\res, -M, E:\FLASHXIAOMI\AdvancedApkTool\3-Out\MiuiSystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\k4gara\AppData\Local\Temp\brut_util_Jar_6691148060102741333.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.2, -F, C:\Users\k4gara\AppData\Local\Temp\APKTOOL6317259639059092263.tmp, -0, arsc, -0, arsc, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\16.apk, -I, E:\FLASHXIAOMI\AdvancedApkTool\1-BDFreak\Frameworks\17.apk, -S, E:\FLASHXIAOMI\AdvancedApkTool\3-Out\MiuiSystemUI.apk\res, -M, E:\FLASHXIAOMI\AdvancedApkTool\3-Out\MiuiSystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
... 6 more

------------------------------------------------------

code that i insert

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_gravity="right" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_off" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" systemui:keyRepeat="false" androidrientation="vertical" />

my status_bar.xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_gravity="right" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_off" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" systemui:keyRepeat="false" androidrientation="vertical" />
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/oldman_std_status_wrapper" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.TorchServiceView android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<include android:id="@id/status_bar_simple" layout="@layout/status_bar_simple" />
<LinearLayout android:gravity="center" android:id="@id/returnToDriveModeScreen" android:background="@drawable/status_bar_orange_bar_bg" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@id/driveModeIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/status_bar_drive_mode_icon" android:layout_marginStart="3.0dip" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/drive_mode_tip" android:singleLine="true" android:layout_weight="1.0" android:layout_marginStart="5.0dip" />
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:gravity="start|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingEnd="3.0dip" />
</LinearLayout>
<LinearLayout android:gravity="center" android:id="@id/returnToRecorderScreen" android:background="@drawable/status_bar_recorder_layout_bg" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@id/recorderIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/status_bar_recorder_icon" android:layout_marginStart="8.0dip" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/recorderTitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" android:layout_marginStart="8.0dip" />
<Chronometer android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:gravity="end" android:id="@id/recorderTimer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="46.0dip" android:singleLine="true" android:layout_marginEnd="8.0dip" />
<com.android.systemui.statusbar.phone.BatteryStatusIconView android:id="@id/recorder_battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/safepayStatusBar" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:gravity="center" android:id="@id/safepayStatusBarText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:drawableLeft="@drawable/safepay_statusbar_icon" android:drawablePadding="18.0px" />
<miui.widget.ProgressBar android:gravity="bottom" android:id="@id/progressbar" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="4.0px" android:layout_marginTop="4.0px" android:progressDrawable="@drawable/safepay_progressbar_style" style="?android:attr/progressBarStyleHorizontal" />
</LinearLayout>
<LinearLayout android:gravity="center" android:id="@id/returnToIncallScreen" android:background="@drawable/status_bar_green_bar_bg" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="3.0dip" android:paddingEnd="3.0dip">
<ImageView android:id="@id/callStateIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/status_bar_ic_return_to_incall_screen_normal" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/return_to_incall_screen" android:singleLine="true" android:layout_weight="1.0" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/callIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<Chronometer android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/callTimer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_marginStart="3.0dip" android:layout_marginEnd="3.0dip" />
</LinearLayout>
</FrameLayout>
<ViewStub android:id="@id/oldman_status_pane_stub" android:layout="@layout/oldman_status_pane" android:inflatedId="@id/oldman_status_pane" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>

can anyone help?
[MENTION=3989065]serajr[/MENTION] [MENTION=4315551]Ticklefish[/MENTION]

thanks for advance :fingers-crossed: