3Minit Battery Mod Updated: [03/09/15]

Zulfi

Senior Member
Aug 28, 2008
1,042
328
113
Pune
Why not? What error message do you get? We need to know that to know what went wrong

Sent from my Sony Xperia XA1 using XDA Labs
Log For : SystemUI.apk

Log Type : Recompiling

Log Recorded At : 06-12-2017 -- 13:28:59.98

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

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

W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:74: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Material.TextSuggestionHighlight'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2153: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2154: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2159: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2169: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ABC\AppData\Local\Temp\brut_util_Jar_10078103189552320589.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\ABC\AppData\Local\Temp\APKTOOL526125266208377591.tmp, -0, arsc, -0, qmg, -0, webp, -0, pio, -0, png_opti, -0, arsc, -I, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\1-BDFreak\Frameworks\1.apk, -S, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res, -M, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:485)
at brut.androlib.Androlib.buildResources(Androlib.java:419)
at brut.androlib.Androlib.build(Androlib.java:318)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ABC\AppData\Local\Temp\brut_util_Jar_10078103189552320589.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\ABC\AppData\Local\Temp\APKTOOL526125266208377591.tmp, -0, arsc, -0, qmg, -0, webp, -0, pio, -0, png_opti, -0, arsc, -I, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\1-BDFreak\Frameworks\1.apk, -S, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res, -M, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:454)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:471)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ABC\AppData\Local\Temp\brut_util_Jar_10078103189552320589.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\ABC\AppData\Local\Temp\APKTOOL526125266208377591.tmp, -0, arsc, -0, qmg, -0, webp, -0, pio, -0, png_opti, -0, arsc, -I, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\1-BDFreak\Frameworks\1.apk, -S, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res, -M, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:448)
... 6 more

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

Ticklefish

Recognized Themer
Oct 27, 2011
6,743
8,534
263
Hampshire, UK
Log For : SystemUI.apk

Log Type : Recompiling

Log Recorded At : 06-12-2017 -- 13:28:59.98

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

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

W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:74: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Material.TextSuggestionHighlight'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2153: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2154: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2159: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
W: C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res\values\styles.xml:2169: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ABC\AppData\Local\Temp\brut_util_Jar_10078103189552320589.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\ABC\AppData\Local\Temp\APKTOOL526125266208377591.tmp, -0, arsc, -0, qmg, -0, webp, -0, pio, -0, png_opti, -0, arsc, -I, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\1-BDFreak\Frameworks\1.apk, -S, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res, -M, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:485)
at brut.androlib.Androlib.buildResources(Androlib.java:419)
at brut.androlib.Androlib.build(Androlib.java:318)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ABC\AppData\Local\Temp\brut_util_Jar_10078103189552320589.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\ABC\AppData\Local\Temp\APKTOOL526125266208377591.tmp, -0, arsc, -0, qmg, -0, webp, -0, pio, -0, png_opti, -0, arsc, -I, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\1-BDFreak\Frameworks\1.apk, -S, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res, -M, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:454)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:471)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ABC\AppData\Local\Temp\brut_util_Jar_10078103189552320589.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\ABC\AppData\Local\Temp\APKTOOL526125266208377591.tmp, -0, arsc, -0, qmg, -0, webp, -0, pio, -0, png_opti, -0, arsc, -I, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\1-BDFreak\Frameworks\1.apk, -S, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\res, -M, C:\Users\ABC\Desktop\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:448)
... 6 more

------------------------------------------------------
According to this you are missing some resources. You need to provide those before you decompile by installing the right frameworks.

Sent from my Sony Xperia XA1 using XDA Labs
 
  • Like
Reactions: Zulfi

Ticklefish

Recognized Themer
Oct 27, 2011
6,743
8,534
263
Hampshire, UK
I dno't know what resources I had missed and wher to get it
Thanks
The resources you had missed are listed in that error message. You need to install the right framework files before you decompile your APK. There should be instructions on doing this on the Advanced Apktool thread.

Sent from my Sony Xperia XA1 using XDA Labs
 
  • Like
Reactions: Zulfi

Zulfi

Senior Member
Aug 28, 2008
1,042
328
113
Pune
The resources you had missed are listed in that error message. You need to install the right framework files before you decompile your APK. There should be instructions on doing this on the Advanced Apktool thread.

Sent from my Sony Xperia XA1 using XDA Labs
I pulled out framework-res.apk from same rom
Thanks

Thanks dude for help,
It was silly mistek while editing system_icon.xml there was some aditional space which I had to remove it.
 
Last edited:

Zulfi

Senior Member
Aug 28, 2008
1,042
328
113
Pune
How to edit OPSystemui(system_icons.xml)?
Oneplus 5t nougat

1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.NetworkSpeedView android:eek:rientation="horizontal" android:id="@id/network_speed" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginEnd="5.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:layout_gravity="center_vertical" android:id="@id/network_speed_view" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NetworkSpeedView>
<com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:eek:rientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<include android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_margin_start" layout="@layout/signal_cluster_view" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:layout_gravity="center_vertical" android:id="@id/battery_level" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" android:layout_marginEnd="@dimen/battery_level_padding_end" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" />
<com.android.systemui.BatteryDashChargeView android:layout_gravity="center_vertical" android:id="@id/battery_dash_charge" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sys_dash_charging_state_0" />
<View android:id="@id/battery_icon_padding" android:layout_width="@dimen/status_bar_clock_starting_padding" android:layout_height="fill_parent" />
</LinearLayout>
 
Last edited:

snapdrag0n01

Senior Member
Jul 19, 2017
86
48
0
What/which update was that? And when?
My bad, I wiped the data off with Titanium backup and voila, icons from 3minit servers started to appear again.

---------- Post added at 05:49 AM ---------- Previous post was at 05:41 AM ----------

Scratch that. Use any VPN while using the app. For some reason icons don't appear if you don't use vpn. Try opera vpn.
 

essor-13

Member
Aug 29, 2016
32
1
0
Marseille
My bad, I wiped the data off with Titanium backup and voila, icons from 3minit servers started to appear again.

---------- Post added at 05:49 AM ---------- Previous post was at 05:41 AM ----------

Scratch that. Use any VPN while using the app. For some reason icons don't appear if you don't use vpn. Try opera vpn.
I confirm, today the issue isn't solved and the VPN solves the problem, but it has to be set to US location.