yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Thebear j koss:
Congrats. Wasn't that bad, right? 3Minit and TMA make things as easy as possible for anyone looking to do some modding themselves. Decompiling can seem daunting at 1st, but once you get to know how apks work and what does what inside the apk, things become easier. Only way to learn is to try, and not enough people actually do and expect things to always be done for them. Kudos on not giving up and doing it yourself. And huge thanks to these devs for 3Minit, Ticklefish for TMA, and iBotpeaches for apktool so we can actually do all this. ??

World peace can't be done. It just can't exist...

---------- Post added at 06:40 PM ---------- Previous post was at 06:40 PM ----------

Should be in the OP.

World peace can't be done. It just can't exist...
[Android Apps and Games] gharrington:
Although I don`t really mention it as I don`t have time to work on it, this will still work well to decompile and compile apks. (Windows and Mac compatible)

Just make sure to put the latest apktool in the tools folder after you unpack the zip and the app will pick it up. Set it to use the latest apktool in the preference tab.

Thread link
[Android Apps and Games] suvresh:
Have the same problem now on the latest version of 3minit. After changing the battery text size on colourable I cant increase it to more than 16. Running purenexus rom on nexus 6p.

Is there a way to configure this parameter? Thank you in advance.
[Android Apps and Games] gharrington:
Update your smali files
[Android Apps and Games] suvresh:
Thank you, but I installed via recovery, the version made for the latest pn rom. Aren't the files supposed to be up-to-date? I don't really get from the video manual how to just update the smali files and not touch anything else.
[Android Apps and Games] gharrington:
I guess the dev(s) of pn rom has not had time to update them yet, but that is the cause of your issue.
[Android Apps and Games] nujackk:
Hi have a question trying to get this to work on my device. I have a ZTE Axon 7. I have looked and the only UI file it has is Named SystemUI_ZTE.apk my question is about this line com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" should i change the systemui to match the name ?

Also the Line in that contains "@id/battery" don't say wrap content the have 9.5dip and 14.5dip, should i still change them to 0.0dip?

Its 6.01 if that matters.
[Android Apps and Games] gharrington:
No don't change the name to a match and yes still change to 0.0 of you will have a double battery.
[Android Apps and Games] nujackk:
Ok will do, Thank you
[Android Apps and Games] nujackk:
Hi I need some help on what to do next to get this to work. I have ZTE Axon 7 with mm 6.01 rom that has been deodexed. I have used TMA to decompile SystemUi and add 3minit. Flashed fine except 3 minit does nothing. even after multiple restart and cache wipes. I have attached both framework_res files and here is dropbox link to SystemUI it's too big to attach https://www.dropbox.com/s/m9ba3t1ocacqy27/SystemUI_ZTE.apk?dl=0

Also attached the system_icon.xml with changes I made. In case some can see mistake I may have made.

If anyone can point me in right direction it would be appreciated.
[Android Apps and Games] nujackk:
Anyone have any suggestions ?
[Android Apps and Games] manuelmagix:
Look:

4.Download the files and place the .smali files in smali/com/android/systemui/statusbar/policy folder.

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] nujackk:
Did that didn't work. The systemui I posted is original so someone smarter then me could look around see if there is something different that would account for it not working
[Android Apps and Games] manuelmagix:
Where you place smali???

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] BoBCatRoM:
s7edge with nougat beta3 also putting 0.0dip battery stock remains
[Android Apps and Games] gharrington:
Wrap the stock battery xml into another layout and set it's properties to GONE and 0.0dip

If that fails I will look asap.
[Android Apps and Games] BoBCatRoM:
I could not do it,

this is the systemui decompiled, can you look?

Thx
[Android Apps and Games] nujackk:
smali/com/android/systemui/statusbar/policy .

I followed gharrinton's instructions to the letter and it does not work. original battery remains there and 3minit does nothing
[Android Apps and Games] Richcar:
Look amazing
[Android Apps and Games] *wii360*:
And this?
[Android Apps and Games] ted77usa:
[MENTION=5716188]*wii360*[/MENTION] [MENTION=5282154]pas2001[/MENTION] [MENTION=4619873]gharrington[/MENTION] Great Work in here guys.... so this is where all the goodies came from [emoji41][emoji106]

☆Swyped From ViSiXKrome Edition☆
[Android Apps and Games] radz_:
[MENTION=5282154]pas2001[/MENTION] hey mate i got everything working... i unzip my my ROM then remove systemui.apk and replace the one that you gave me.. then reflash. tadaaa!!! Everything is up...

Thanks a lot.. great support...
[Android Apps and Games] *wii360*:
To all who like the both Star Trek battery, I uploaded to server. ;)
[Android Apps and Games] pas2001:
Well well well.
[Android Apps and Games] the_vanya1:
Pls more battery icons for hdpi
[Android Apps and Games] pas2001:
Hey guy , you can reduce size for use in your phone . I can use my works in my s2 (hdpi) by reduce -30 .

If use NadMaj 's may reduce 15 to 20

It is OK if make large and reduce to use but if make small and should enlarge when use in xxhdpi it will blur..You get?
[Android Apps and Games] bcakir45:
thanks..
[Android Apps and Games] mydonose:
Hi pas, how we have to rename the icons in folder to use our self battery icons?
[Android Apps and Games] StAfFoRdShIrE:
Sorry bro, resize battery don't works

- GT-l9100 NeatRom V6.3 Kernel: Apolo 4.14

- GT-l9305 xTreme JB Rom V5 Kernel: Boeffla 5.3 B7

- GT-l9505 Omega Rom V34 Kernel: KT-SGS4
[Android Apps and Games] *wii360*:
You have to re-download the new files in op and put the new smali files to your SystemUI.apk

Don't forget to install the new 3minit battery settings app
[Android Apps and Games] StAfFoRdShIrE:
Yes, I know, but I do not know decompile the apk. That is why I asked if someone could do it for me.

I have no knowledge on Android to do what you do (I do 3D but not Linux programming and others)

Thank you in advance.
[Android Apps and Games] wackowizzard:
Do I undersyand good : I just need to install the new app and everything works.

Verstuurd van mijn GT-I9505 met Tapatalk
[Android Apps and Games] ambasadii:
yes, but I can't download anything from pas2001 and nadmaj, only works offline
[Android Apps and Games] gharrington:
What happens when you select pas2001 or other?
[Android Apps and Games] pas2001:
in folder we use stat _ sys _ battery _ xx and stat _ sys _battery _ charge _ animxx

Can use 1 type in 1 time.

Or send me all you have. I will upload to users folder.
[Android Apps and Games] radz_:
Battery icons in my Gallery.. any way to disable it?
[Android Apps and Games] cdzo72:
.nomedia
[Android Apps and Games] gharrington:
The next release will fix this issue mate.
[Android Apps and Games] BoBCatRoM:
I solved...

<dimen name="status_bar_battery_icon_height">0.0dip</dimen>

<dimen name="status_bar_battery_icon_width">0.0dip</dimen>

Thx [MENTION=4648515]AL_IRAQI[/MENTION]
[Android Apps and Games] Sascha1976:
Hi guys, I have a question... Has anybody a modded LG System Ui for LG G4 H815? Iam looking for it... Thanks a lot for your help:)

Gesendet von meinem LG-H815 mit Hilfe von XDA Forums Pro.
[Android Apps and Games] kpirnie:
Would H811 work for you?
[Android Apps and Games] Sascha1976:
Mhhh i dont know what is different between System Ui forr h811 and h815...did someone tried this?

Gesendet von meinem LG-H815 mit Hilfe von XDA Forums Pro.
[Android Apps and Games] tania247260:
Does 3 minit work on Nougat s7 edge????
[Android Apps and Games] kpirnie:
well... dont know about trying... but i was able to flash any h815 in my h811

from what i remember they are extremely interchangeable... pm me and ill throw a flashable for ya tomorrow

---------- Post added at 06:40 PM ---------- Previous post was at 06:38 PM ----------

if its deodexed and you can decompile the apk u should be ok
[Android Apps and Games] NeGriTa79:
Hello, I have a OnePlus One with Android 7.1, I have modified the file, but when I insert them I crash the systemui.apk and I have to format your phone. Here I insert the systemui.apk and frameworks-res.apk files, can you help me?
[Android Apps and Games] nujackk:
Need to make sure you are setting the permissions 644 or 0644 depending on which file manger you are using.
[Android Apps and Games] TBGetto:
Hello people what they spoil.

Log For : SystemUI.apk

Log Type : Decompiling

Log Recorded At : 2016. 15.-12.- 12:26:03,01

Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak

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

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:52)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:606)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:75)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:67)

at brut.androlib.Androlib.getResTable(Androlib.java:61)

at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:206)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:92)

at brut.apktool.Main.cmdDecode(Main.java:165)

at brut.apktool.Main.main(Main.java:81)

Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000

at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)

at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:206)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:169)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:157)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:125)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:100)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)

... 8 more

------------------------------------------------------
[Android Apps and Games] edzamber:
Change Apktool version to v2.2.1 and be sure you have installed Framework-res.apk and twframework-res.apk
[Android Apps and Games] TBGetto:
The three files

original

res

unknown (smali for)

What to do.
[Android Apps and Games] NeGriTa79:
It did everything as a guide, but it does not go. the systemui.apk me constantly crashes.
[Android Apps and Games] Thebear j koss:
Which only points to 1 thing, that something is wrong. Whether it is on your end or on the dev's end is impossible to know because you didn't provide any info pertaining to the crashing... Logcat, debug log, system info, device, ROM, etc. So nobody can help you if you only say it no worky....

Those who cannot*remember*the past*are condemned to repeat it. The Dark Ages have returned...
[Android Apps and Games] NeGriTa79:
This message does not explain what I mount?

Inviato dal mio A0001 utilizzando Tapatalk
[Android Apps and Games] xSilas43:
This happen to me when I put the smali files in the wrong folder, make sure you did everything correctly, if not a logcat would help significantly.
[Android Apps and Games] NeGriTa79:
The Smali files I put them in the right folder, I followed the guide on youtube of the first page. In fact, in the first post I had also entered the files because I wanted to know if anyone knew what I had to modify the string, because only in system_icon.xml files I find @id: battery, but it is not equal to what I see in the guide.

This is why I asked for help. The logcat file does not know how.
[Android Apps and Games] serch826:
Cant get it to work on N 7.1.1 ROMS

Hi @garrington

I cant get the mod to work in 7.1.1 Roms, after flashing the Mod so i get no Statusbar and Navbar, if i change the SystemUI with Rootexplorer so it works after SystemUI restarted, but if i reboot the phone it totally disappear, dont know what to do, have tested on several Rom with no luck, appreciate for any help.

Here is my logcat
[Android Apps and Games] gharrington:
I don't have a device to test 7.1.1 on but it sounds like that have put a signature checker in. So you will need to disable it..
[Android Apps and Games] xSilas43:
[MENTION=537184]Techvir[/MENTION] made a working flashable zip for nitrogen ROM on angler 7.1.1 to maybe he can help you.
[Android Apps and Games] serch826:
It dosen't help, still no Statusbar and Navbar, very stranger
[Android Apps and Games] stephenriw:
nice share, thanks
[Android Apps and Games] Blackball:
It work with 7.1.1 without any problems. Dont copy the needed files in a folder. Just copy into system/app

Gesendet von meinem Pixel XL mit Tapatalk
[Android Apps and Games] serch826:
Not working on Nexus 6 N 7.1.1 Roms, the only way it works is modding after rom's new flash, but don't reboot the Phone, other ways that will kill the mod.
[Android Apps and Games] neo4uo:
I was trying to get some help for the ZTE Axon 7 and tried to follow the guides of course I flashed the zip that I made and 3minit battery does not work. The ZTE battery icon is there still. I am afraid that it is in issue in one of the XML files. I deodexed the SystemUI_ZTE file if anyone wants the files to take a look I would be very appreciative.

Anyways Thanks in advance!!!

Leroy
[Android Apps and Games] XDA-00:
NOT working For me. Always system ui fc. I am using AOKP 4.1.2. Can I provide you the System ui and framework?
[Android Apps and Games] @ Ayush Garg:
It's very ugly
[Android Apps and Games] Mentalmuso:
Im assuming you are trying this on a pixel SystemUI. It works perfectly. Ive had it in my mods and rom for a while now. Where are you putting the smali files?

--->
[Android Apps and Games] serch826:
Thanks for for you time, no, i'm trying it on a Nexus 6 SystemUI and smali files are in smali/com/android/systemui/Statusbar/policy/
[Android Apps and Games] Mentalmuso:
Ah OK. Don't listen to me then haha.

? --->
[Android Apps and Games] cwhiatt:
Was there ever a fix posted for getting the battery text color to work on the colorable icons for Marshmallow?
[Android Apps and Games] hasim.kilic:
Is it support Xiaomi mi5 pro

MI 5 cihazımdan Tapatalk kullanılarak gönderildi
[Android Apps and Games] mrsubway:
I have an HTC One A9 with the latest Marshmallow ROM. It's been a long time and I want to use this mod again but I have trouble compiling. What file do I have to post to get help?
[Android Apps and Games] Zaileion:
I've followed the instructions to a "T" and checked and rechecked my work. When I reboot there is no status bar. I'm working on a sprint note 4 with a sprint note 7 port. Any ideas as to a fix? I noticed a few posts back someone said they have the similar problem but on a different phone. Are there any instructions available (I did a google search) for the latest Samsung roms? I noticed some note 7 ports have 3minit battery so I know it works, I just don't know what I am supposed to do differently.

Thanks a bunch for 3minit battery, as far as I'm concerned 3minit battery should be in every rom... my opinion... :D
[Android Apps and Games] kpirnie:
its pretty much the same throughout...

shoot me your framework files (the 2 apks in /system/framework) along with your original untouched systemui and ill see what i can do...

mind you I have no way to test it...
[Android Apps and Games] Zaileion:
I'm using this tx_dbs_tx Ultimate Note 7 Hybrid ROM: https://xdaforums.com/not...-2017-t3538051

Android 6.0

Google Drive with SystemUI / Framework: https://drive.google.com/open?id=0B0ztncE54F5EODBmU3lRQXAyazA

OK, so there is a a twframework.apk. I was unaware.

if you have a few minutes to share with me the changes you've made that would be appreciated, so I can gain the knowledge and complete the mod on my other phones.

Thank you sir, very much!
[Android Apps and Games] kpirnie:
http://prntscr.com/dwq82z

Google Drive... file not found

Only changes I've ever done was to follow the instructions.

I've done it for someone on a LG G5, done it for my LG G4, Note 3 (and my Note 5 Ports, S7 Ports for it)
[Android Apps and Games] Zaileion:
That is strange. Let me share the link again.

This is the folder with all 3 files contained within: https://drive.google.com/open?id=0B0ztncE54F5EODBmU3lRQXAyazA

Here are the files individually:

Framework: https://drive.google.com/open?id=0B0ztncE54F5EbFA4ZVV4LVk2WW8

SystemUI: https://drive.google.com/open?id=0B0ztncE54F5ETzNOOUJhNVZtVDg

TWframework: https://drive.google.com/open?id=0B0ztncE54F5Ecy0xbnpkMFppaWM
[Android Apps and Games] kpirnie:
This should do the trick for ya

https://mega.nz/#!b1QxxQZB!S2WvXuAzOCxFqSYIWgDCqtYsh7SoBjtmglgOvnQUw1A

You may need to tweak the /system mount in the updater-script, as I only went on the Note 3 mount for it...

If anything, unzip it, and copy the files to their respective locations on your system
[Android Apps and Games] Zaileion:
What did you edit in the .xml files if you don't mind sharing. I'm trying to learn how to do things and would appreciate any insight. Thanks for the files, I can just compare them with the unedited ones.
[Android Apps and Games] kpirnie:
There is only one to edit

layout/system_icons.xml

set the height and width of the stock battery to 0.0dip, and then add the 3Minit Battery line under it
[Android Apps and Games] prosaschi:
LG V20 H91810d

First of all, this MOD is great! Second, I was curious if anyone could add this MOD to an LG V20 because I am not very good at decompiling and recompiling apks. Thanks in advance and if there is someone who is willing I will post the required apks and files.

THANKS

Paul Angelo
[Android Apps and Games] kpirnie:
is there even root for the v20 yet?

id give it a shot... id need

/system/priv-app/lgsystemui

/system/framework/framework-res.apk

and

/system/framework/lge-res?
[Android Apps and Games] Lykan770:
Can someone tell me how do I update 3Minit Battery I got it with Custom ROM and now it pop ups message saying it needs to be updated and closes...current version is 3.1
[Android Apps and Games] phrotac:
Just install the new apk over the installed one. No edits needed :)
[Android Apps and Games] princeferoz:
Why does the 3minitbatteryicons folder keeps coming back after I had unistalled 3minit apk and deleted the folder? Thank you
[Android Apps and Games] gharrington:
Because the mod itself create the folder not the app.
[Android Apps and Games] princeferoz:
Thank you
[Android Apps and Games] Neo3D:
Love this mod and ready to make my own custom battery icons. Is there a guide on how to do this? It looks like a sequence of PNG's,

STATUS: stat_sys_battery_0 to 100

CHARGE: stat_sys_battery_charge_0 to 100

FULL: stat_sys_battery_charge_full & stat_sys_battery_full

but is there anything else to it? Like max resolution? 8bit or 16bit color?
[Android Apps and Games] gharrington:
No restrictions just correct naming of icons as you said. If you make 11 or more styles I can add you as and author or we can add them in the users section thanks.
[Android Apps and Games] Neo3D:
Thank you! How do we get the app to load the PNG files for testing?
[Android Apps and Games] Neo3D:
Is anyone able to select a folder on their microSD and not get this error?

The only folder that I can select on the internal storage is: enc_emulated

I'm on Android 6
[Android Apps and Games] Rajeev:
Thanks alot. Works fine in my One Plus 3.

Will give credit and also i will put this thread link to my thread. Thanks alot again. ;)
[Android Apps and Games] vinaykharayat:
Awesome buddy I was looking for something awesome like this :)
[Android Apps and Games] nicesoni_ash:
Hi [MENTION=4619873]gharrington[/MENTION],

I have a concern about the apk available on your git. I was looking for the free version of 3minit battery settings apk to add to my rom and on the official page, available apk was expired so I found your thread and then git link. I installed the apk but it overwritten my paid app, I was looking for the free version. Is free version the same as paid one available on your git, won't it make an issue if I include it? I am confused about it, please clarify. Thanks.
[Android Apps and Games] gharrington:
The paid and the free version are very different apps. You can include the one from git with the link given on page #1 in this thread but not any paid ones.
[Android Apps and Games] nicesoni_ash:
I know that's why my concern. Installing the one from your git replaced my paid version in my phone so I am confused if it's free version it shouldn't do that, that's why I raised my concerns here.
[Android Apps and Games] gharrington:
I will double check but it's probably just because it has the same package name.
[Android Apps and Games] gharrington:
The one from git is definitely the free app and I just installed it side by side with the paid app so not sure what happened in your case.
[Android Apps and Games] nicesoni_ash:
I don't know what went wrong, all good now. Thanks again.
[Android Apps and Games] nicesoni_ash:
Hi [MENTION=4619873]gharrington[/MENTION]

I tried to add free version aok in my rom and I am getting fc continuously. I am attaching the log here.

Hopefully it will be productive.

Thanks.

http://cloud.tapatalk.com/s/5898d7654c80f/Log_2017-02-07_00-41-20.txt

It worked only ovce in my phone. Thereafter its all fc. Kindly help me to fix the issue.

Edit :

It seems that the free app is conflicting with paid app as both apks using the same directory. It's sorted out now.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[Android Apps and Games] nmeuret:
Overlap

Dear friends,

I've a problem installing 3min battery mod on my phone. I already had this problem before, but cannot remember how to fix it :

I change ths system_icons.xml file, but I think there must be something in the status_bar_extended too ??

Thanks for your help.
[Android Apps and Games] Timmmmaaahh!:
Which ad-providing domains does 3Minit require? I'm using a custom host file based on MoaAB so I'll manually need to delete them in order for make 3Minit free work. There's no way I'm clearing it entirely.
[Android Apps and Games] Ultraman666:
Where do I find the link to download the smali files, not the one in the modfiles zip file in the OP, i dont have a folder with the status bar etc. I am trying to do this for the Nexus 6p? Thanks for the help
[Android Apps and Games] simplearcadegamers:
Is it available in Playstore??

Is it available in Playstore??
[Android Apps and Games] karan2012:
hi sir I am using android nougat on note 5 and have been able to add battery mod but somehow stock battery icon is still there how to hide it ?
[Android Apps and Games] Near_07:
overlapping battery text

this is not a system battery text. when i hide the icon in 3 minit mod the overlapping text will also hide. anyone experience thesame? thanks for the answer
[Android Apps and Games] Git226:
Issues with paid app install

I'm having the same issue as a few others where status bar and wallpaper are disappearing after installation; however, the only suggestions I saw were to verify permissions (which I've done). I have tried making the SystemUI modifications using TMA, apktool and command line, as well as a flashable zip; all with the same issue, i.e., phone boots fine, but wallpaper goes black and status bar is removed. I've meticulously followed the provided steps for all of the different methods to no avail. I'm suspecting that there is another app on my phone that is in conflict (e.g., I'm using Nova Launcher and have Xposed installed, however none of my Xposed modules mess with the statusbar)...Hoping that somebody has figured this out, or has some suggestions. I've got a Note 4 (SM910C) with systemless root, running Marshmallow (with latest security patch). Cheers.
[Android Apps and Games] gharrington:
Disappearing status bar and wallpaper is a signature error. Make sure to manually copy META-INF folder and AndroidMainifest from the old apk to the new using 7zip