yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Zulfi:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder

at com.android.signapk.SignApk.addDigestsToManifest(SignApk.java:182)

at com.android.signapk.SignApk.main(SignApk.java:451)

Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)

at java.base/java.lang.ClassLoader.loadClass(Unknown Source)

... 2 more

"OPSystemUI.apk" Signed

It was Java problem, I was using 9.1 64bit now I am using java 8 update 161 signed successfully but still status bar and navigation bar disappear!
[Android Apps and Games] Thebear j koss:
Right here- https://xdaforums.com/showthread.php?t=1755243&p=75777508

What device do you use? Is signature match disabled? Using 7zip drag whatever you changed in new apk into original apk.
[Android Apps and Games] Zulfi:
I am using oneplus 5t. I don't know what is signature match disabled! Draging, before recompile or after recompiling?

By the way, after removed .9 from five files its recompiled successfully but no status bar and no navigation bar!!

Thanks
[Android Apps and Games] Thebear j koss:
Use the image in the post I shared. After recompile, open the new apk with 7zip or winrar. Find whatever you changed, open original apk with 7zip or winrar. Take changed files, images, xml's, etc from new and drop them in old overwriting the originals. Any changes to colors.xml, styles.xml, or any xml's in any of the values folders, you will drag the new resources.arc from new into old. Close the apks, and flash the original apk with the new files you just added in.
[Android Apps and Games] Ticklefish:
The problem is that we don't really know what the problem is. If your bars aren't showing, it's because the app doesn't work. This could be because there's a problem with the mod, or with the way you did it.

You need to tell us exactly what you did. Did you install all your framework files before you decompiled? Did you keep the signature the same? How did you put the APK back on your phone - does it have the right permissions? Does it work if you decompile and recompile it without making any changes?

There are so many ways modding your SystemUI.apk can go wrong that, unless we know the process you used, we have no way of knowing what the actual problem is.
[Android Apps and Games] gharrington:
A general rule I find is:

Problem with smali and xml will cause fc (Force close dialog)

Problem with signature will cause no statusbar no Navigation bar etc.
[Android Apps and Games] Zulfi:
Original OPSystemUI.apk after deodex, and moded OPSystemUI.apk, framework-res.apk unable to upload because of upload limitations.

Thank you
[Android Apps and Games] gharrington:
We would need the framework files to do anything with it.
[Android Apps and Games] Zulfi:
Here it is.

Thanks
[Android Apps and Games] gharrington:
Here you go (its been a long time since I did any decompiling but no problems) don`t forget to install the resources app before flashing.
[Android Apps and Games] Zulfi:
Sorry mate,

Same thing, no status bar no navigation.

Note: I downloaded your SystemUI.apk rename to OPSystemUI.apk the instaaled 3minitbatterysetting.apk then copy resource app to priv-app> change permission to 0644 then copy your app to OPSystem folder and over write> system crash >reboot> no luck (status bar and navigation bar gon)

Thanking you
[Android Apps and Games] gharrington:
That's my bad I know what I did uploading new one now.
[Android Apps and Games] gharrington:
Here http://www.mediafire.com/file/aw5vr7dc055dozy/SystemUI.apk
[Android Apps and Games] Zulfi:
Sorry dude,

What is going wrong? Same thing.

I had been used it on many devices but on this device no luck.

I appreciate your support.

Thank you

---------- Post added at 04:25 PM ---------- Previous post was at 04:20 PM ----------

I will try this and I will let you know.

One question, should I put into Odex apk or DeOdex apk?

Thanks

---------- Post added at 04:58 PM ---------- Previous post was at 04:25 PM ----------

I tried as per you told. While draging file to old app eroor "Not Implemented"
[Android Apps and Games] Ticklefish:
Try not to replace system apps while the system is running. It's just asking for trouble. It can sometimes work, sure, but it can cause problems. You really should replace your files in a custom recovery.

It doesn't sound like you wiped your Dalvik cache either, so that the smali changes can be processed. You can do that in recovery too.
[Android Apps and Games] Zulfi:
Sorry dude, I don't know how to do with recovery?(Recovery only recognize zip)

Thanks
[Android Apps and Games] Thebear j koss:
Deodex apk. You need to delete the odex file in your systemui folder when you are overwriting your systemui apk, that is why you are getting no status bar and navigation bar.
[Android Apps and Games] Zulfi:
I think I should odex moded Apk before flash the app
[Android Apps and Games] Thebear j koss:
Nooooo. Do not odex the app. Delete the odex file in the SystemUi folder. The dex file in the new apk is clashing with the odex file, they are 2 encoded smali files working against each other. You can make a flashable zip if you use Tickle my android to mod your apk
[Android Apps and Games] Zulfi:
Which file do I need to delete exactly? And from which apk moded or original one?

Thanks
[Android Apps and Games] gharrington:
Can someone who was having server issues please try now and let me know please?
[Android Apps and Games] edzamber:
No more server issue now, working on data and WiFi connexion.

I use 3minit paid app [emoji4]
[Android Apps and Games] gharrington:
Awesome thanks.
[Android Apps and Games] Ultraman666:
No issues here either, paid app as well
[Android Apps and Games] JavixKGD:
Working like a charm bud. Thanks for all the work and effort. Using the paid app
[Android Apps and Games] Thebear j koss:
In system priv app systemui in your root directory there will be a systemui.apk and a odex file, need to delete that odex file. This mod works on a deodex system ui. Meaning in your new apk, that odex file has been moved inside the apk and is now called a dex file. Odex and dex are the smali files after you decompile the apk, when you deodex the apk, the smali files become the dex file inside the apk, if you odex the smali files remain outside the apk as the odex file.
[Android Apps and Games] Zulfi:
I think its a Oreo problem?

---------- Post added at 09:09 PM ---------- Previous post was at 09:02 PM ----------

In systemui folder there is only systemui.apk and oat folder. No other files.
[Android Apps and Games] Thebear j koss:
Look in the oat folder.
[Android Apps and Games] Zulfi:
Yes, there is one folder arm64 and two files system.apk odex and system.apk vdex
[Android Apps and Games] kpirnie:
you cannot do this on an odex'd systemui. you need to deodex it first... then you can proceed in decompiling the apk
[Android Apps and Games] Zulfi:
Allready deodex, decompile and recomile apk the peoblem is no status bar and navigation bar.

Thanks
[Android Apps and Games] Thebear j koss:
What android are you using this on? I would install a deodexed rom to save you the trouble. But if you want to try, delete those 2 files, odex and vdex, then put your new systemui apk into the SystemUi folder overwriting the 1 in there. The reason you have no status or nav bars is because of conflicting smali files.
[Android Apps and Games] Zulfi:
OOS 5.0.3 Android 8.0. I tried that(deleted odex and vedex) no luck.
[Android Apps and Games] Zulfi:
Maybe Oreo dos't support!

---------- Post added at 06:55 PM ---------- Previous post was at 06:48 PM ----------

3minit battery mode dead?
[Android Apps and Games] Ticklefish:
Are you still having problems with this? Hmm..I have an idea.

Could you please share your framework folder, priv-app folder and build.prop?

What I plan to do is give you a ZIP file that you can flash in TWRP to deodex your priv-app folder, and another ZIP file that will give you the battery icon.

If it doesn't work, then we know that something else is going wrong.
[Android Apps and Games] Thebear j koss:
Can you modify battery icons on Oreo? Not sure if it is available yet, I know on substratum it can't be done yet.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Apps and Games] Zulfi:
Thanks Mate,

Here you go.
[Android Apps and Games] Ticklefish:
Thanks but I will need your framework folder, your priv-app folder and your build.prop.
[Android Apps and Games] Zulfi:
Mate,

Here you go.

https://drive.google.com/file/d/1bGmSUursOZHNyTMaVsEMux8D7zXKkz39/view?usp=sharing

Thanks
[Android Apps and Games] Ticklefish:
Thanks for that. This is showing you only have one app in your "priv-app" folder. Is that the case? The ZIP I'll be giving you will delete the "priv-app" folder completely and replace it with a deodexed version. If the folder you shared is missing files, this will cause all sorts of problems.

Your "framework" folder seems to be missing a lot of files as well.

---------- Post added at 03:09 PM ---------- Previous post was at 03:02 PM ----------

We haven't really been able to modify the battery icon ever since Google decided to do it in code. The easiest thing to do is stuff like 3Minit - in other words, replace the icon entirely with one we can modify.

It's a little frustrating, to be honest. I was able to get my head around the Drawable Vectors when Android started using those for the WiFi and signal icons but I've no idea how to edit the battery icon code..or where it is!

I don't mind using 3Minit but there was something so simple about the olden days of just editing the PNG's and XML code. I came up with such lovely charging animations..

Feeling old now....sigh.....
[Android Apps and Games] Zulfi:
okey, give me some time I will upload all files. I thought it was enough, thats why I deleted some amount of folder.

Thanks
[Android Apps and Games] Ticklefish:
Yeah, sorry about that. I was just thinking that, since all the 'little' solutions you've been trying haven't worked, I'd try giving you a 'big' solution instead.

This way, if it doesn't work, we know that there's nothing wrong with the process itself. Hopefully it does work, otherwise you'll have to analyse some logcats to work out why this mod doesn't work on your particular rom. And that's a bit beyond my expertise..:eek:
[Android Apps and Games] Zulfi:
Thanks mate,

I appreciate your kind support.

https://drive.google.com/file/d/1iHGjWBSmWimZNgEZWwdc_u-RhCoz1y-I/view?usp=sharing
[Android Apps and Games] Ticklefish:
Okay..here we go!

I've created two ZIP files. One should deodex your priv-app folder, the other should then flash a modded OPSystemUI.apk along with the two 3Minit APK files to that folder. The second ZIP will then wipe your Dalvik cache so the smali changes are processed by your phone when you reboot.

You have to do this in recovery but you must must must must must must make sure you do a FULL backup first. This shouldn't brick your phone if it goes wrong but I am not responsible if the process doesn't work properly.

It should be fine but make sure you're prepared.

Oh, you'll need to have a fully charged battery as well.

Flash the "tma_DeodexPrivApp-22-03-2018@1402.zip" file first (http://www.mediafire.com/file/6pvzboq4gpy9h7r/tma_DeodexPrivApp-22-03-2018@1402.zip) then flash the "TMA_22-03-2018@1422.zip" file (http://www.mediafire.com/file/bp9mmfr3fjjzfr0/TMA_22-03-2018@1422.zip).

Reboot and keep your fingers crossed.

If this doesn't work (although it should) you could try deleting the "oat" folder in the "OPSystemUI.apk" folder and using the modded file [MENTION=4619873]gharrington[/MENTION] gave you here: https://xdaforums.com/showpost.php?p=75930164&postcount=4690. If the "oat" folder is still there, Android will expect the ODEX and VDEX files to be in it. I think that's what may have caused issues previously.

If it still doesn't work, then you will need to look at a logcat and work out exactly what's going on.

Best of luck and let us know what happens!
[Android Apps and Games] Zulfi:
Thank you so much for such a hard work. I will try and let you know.

Thanks

---------- Post added at 09:48 PM ---------- Previous post was at 09:06 PM ----------

I tried everything as you told me still no status bar and no navigation bar. I think its a Android Oreo problem.

Anyway thanks for support and be humble.

Good day
[Android Apps and Games] Ticklefish:
Did the first ZIP work?
[Android Apps and Games] nicohak:
Sorry If maybe I'm out or late in posting this.

I'm using 3Minit battery paid ,in Oreo port s9 rom for Galaxy s7 edge.

To get rid of servers issue and making work the 3Minit battery paid, I'm running first Opera VPN.
[Android Apps and Games] snapdrag0n01:
Already mentioned the use of Opera vpn earlier in this thread which works, but right now the server is running fine, no messed up text, interface loads well. Thank you devs.
[Android Apps and Games] alphamale:
How do i add padding to the right of battery icon?
[Android Apps and Games] alphamale:
Its hard to tell from the screen shot, but part of the battery is cut off on the right side. This phone has curbed edge's
[Android Apps and Games] bill_kevin:
i have 6.0.1, i edit my system_icons.xml to

<?xml version="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.keyguard.AlphaOptimizedLinearLayout 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" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="@dimen/signal_cluster_gap">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_gap" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/battery_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/battery_text_margin_top" android:importantForAccessibility="no" android:fontFamily="sec-roboto-light" android:layout_marginStart="@dimen/battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="0.74" android:layout_marginStart="3.0dip" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>

put smalis in smali\com\android\systemui\statusbar\policy

compile

put original META-INF and AndroidManifest.xml to the modded one but i have no status bar icons, any help?
[Android Apps and Games] doubledragon5:
Can someone answer me a question. I have been using 3 mint paid for quit a while.. Anyone know why, when it ask if you want to save it. It fills up your sd card with like 300 pictures of the one you choose.. This is irritating since then you have to go in and delete them all.. Other than that, this has been on of the best paid mods I have purchased.
[Android Apps and Games] johnj_es_1010:
3Minit Batter shows wrong !!?

3minit battery shows the wrong amount in the icon bar sometimes so i have to check my battery percentage to know how much it really is left so its not really working that well i wanna remove it but how ???

want to remove both frame work and battery app on my Galaxy s5 900f Running Omega Rom v18 lollipop 5.0 with Googy max kernel 1.5
[Android Apps and Games] doubledragon5:
Mine shows the same percentage on my G900P running Crdroid 7.1.2 V 3.8.5 with stock kernel.
[Android Apps and Games] icedventimocha:
Can anyone confirm if this works on oreo?
[Android Apps and Games] Zulfi:
Not yet.
[Android Apps and Games] doubledragon5:
I have had the 3-minute battery mod for very long time and it worked. Now on my Motorola g5s Plus with nougat 7.1.1 it does not work. Hopefully they'll be some kind of an update for this. I also have the paid version.
[Android Apps and Games] Zulfi:
I have seen 3Minit battery on Galaxy S9+ SM-G965N (G965FXXUIBRE3) Exynos but I don't know how he manage it!
[Android Apps and Games] Blackball:
Everything is working fine with oreo.

Gesendet von meinem BKL-L04 mit Tapatalk
[Android Apps and Games] Carlo Borbor:
Hello. can I know how to tint/adapt the color of battery when the status bar is on white background .

I used the xposed module app name "Perfect Color bar" it work it adapt the color of status bar icon but I dont want to used xposed framework in my phone because it cause lag and hang. thank you. I figure out if magisk module has same as Perpect Color Bar?
[Android Apps and Games] LuD0:
Hello i just follow the video tutorial like with my all phones but this tile i have an error when recompiling.

Any help ?

Log file :

Thanks
[Android Apps and Games] Archangel:
Try to replace your current pip scrim in your xxhdpi folder with this one and then recompile.
[Android Apps and Games] LuD0:
With your file there is a new erreur

I try to rename pip_dismiss_scrim.9.png to pip_dismiss_scrim.png ... Compiling OK but rom crash :D
[Android Apps and Games] Archangel:
Hmmm worked for me,,,renaming it wont work, that will just crash your system,,,the png is malformed (changed) and you need to see if someone has one that can allow you to recompile successfully.
[Android Apps and Games] LuD0:
Maybe problem come from my system_icons.xml file

I've got "fill_parent" instead "wrap_content"

Here is my file systemui and frameword-res if anyone can try

Files
[Android Apps and Games] LuD0:
Nevermind i stop use 3minit
[Android Apps and Games] The.Screemer:
Magisk module?

Hello guys,

would it be possible to create a magisk module of this lovely project?

One that do all of the hard stuff.

Possibly only requiring us to install apk's on top of the magisk module or a module that do it all.

I really love this pack but my current rom don't include it and I am not skilled enough to get it into my Oreo 8.0 rom..

I usually don't make requests but I really miss this one. :) I hope I don't offend anyone..
[Android Apps and Games] twcobra:
I was actually wondering if 3minit could actually become a substratum overlay.
[Android Apps and Games] LithiumAce:
Sounds like a great idea!

Verstuurd vanaf mijn ONEPLUS A5000 met Tapatalk
[Android Apps and Games] Archangel:
I wish unfortunately, it cant because you have to inject the smali files into the systemui and there is no way to do that with Substratum. I have included the altered 3 minit systemui system_icons.xml into my Translucent Substratum Theme in case anyone is running a rom where the dev has placed the 3 3minit smali files into their systemui. So once they build and enable the systemui boom 3 minit is there and waiting. But that is about all I can do for now.
[Android Apps and Games] Gamesiarz:
Hello is there any possibility to force the same color for colourable icon and text as the rest of system icons? I have note 4, 910c with TouchWiz and if the app has white background like Revolut other icons turn to black colour and my 3minit battery is barely visible. If not then is there possibility to force your statusbar to be always black?
[Android Apps and Games] creadle:
hi, this is my "system_icons.xml

<?xml version="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.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:alpha="0.9" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/battery_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.9" android:importantForAccessibility="no" android:fontFamily="sans-serif" android:layout_marginStart="@dimen/battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/battery_icon_width" android:layout_height="@dimen/battery_icon_height" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="0.9" android:layout_marginStart="3.0dip" />
</LinearLayout>
</LinearLayout>

Here i found my line with "<android:id="@id/battery"

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/battery_icon_width" android:layout_height="@dimen/battery_icon_height" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="0.9" android:layout_marginStart="3.0dip" />

but i dont found the required code to change?

Maybe anybidy can help me out?

(is This Cfw, Android 5, https://xdaforums.com/galaxy-s4/i9505-develop/rom-untouched-stock-rom-t3419034)

Edit, ok, just edit width and height :)
[Android Apps and Games] Albe96:
Add Dynamic Status Bar Mod To Your SystemUI,So that you can make statusbar a little black.The MOD is in Touchwiz Unified Mods Thread by [MENTION=434226]tdu[/MENTION]nhum
[Android Apps and Games] Cheemaa:
Can I use this if I have twrp but I am not rooted. I can DECOMPILE and recompile my systemui and use twrp file manager to replace systemui and set perms. is it possible without root?
[Android Apps and Games] Bramton1:
So, installed the mod and have the base battery icon. I downloaded the battery settings app (free) and it crashes on startup. Any suggestions?
[Android Apps and Games] Eudeferrer:
Does anyone know how to do a flashable Zip file for the Pixel 3XL? I have basic knowledge of how to flash things, but not enough to decompile files and make the changes necessary. If you can, please share!
[Android Apps and Games] Gaile:
I can just use the app if I already have 3minit battery mod?? I can just update or I still have to do the changes on description??
[Android Apps and Games] alphamale:
Trying to bake into a rom while building. Wondering if anyone has any insight. I've done it with Oreo ROMs I tried it with a pie rom the other day and I got no status bar or navbar. I used this commit https://github.com/IncipientOS/andr...mmit/0f71ffaae639db432fe848465cf28dd52098705d
[Android Apps and Games] AnonVendetta:
I finally got this awesome mod running on my Galaxy Note 4 Marshmallow stock ROM, after several days of trial and error. It turns out I was editing the xml in the wrong places, just couldnt get apktool to compile. And there was a signature issue I had to resolve. Also had to edit dimens.xml in /res/values, because the stock battery icon/percent was still showing up beside 3Minit's icon.

[MENTION=4619873]gharrington[/MENTION]: Why was the paid version of 3Minit removed from Play Store? You requested it? Or Google made asinine policy violation claims? It seems they have been doing this more often lately, especially with apps that need root or system modifications.
[Android Apps and Games] störte:
Is there any updated guide for Pie ?

The original guid seems not to work.

Can not find <android:id="@id/battery in my file
[Android Apps and Games] edzamber:
Working great on Pie here...