yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hgill2412:
On MM samsung tablet, I got to layout folder and on status_bar there is no id/battery and on system icons this entry is present: [MENTION=904501]dimen[/MENTION]/status_bar_battery_width

Is there a different folder or file for marshmallow TW?

<TextView android:textSize= [MENTION=904501]dimen[/MENTION]/battery_text_size" android:textColor="@color/batterymeter_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:fontFamily="sec-roboto-light" android:layout_marginEnd= [MENTION=904501]dimen[/MENTION]/battery_text_margin_end" />

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width= [MENTION=904501]dimen[/MENTION]/status_bar_battery_width" android:layout_height= [MENTION=904501]dimen[/MENTION]/status_bar_battery_height" android:layout_marginBottom= [MENTION=904501]dimen[/MENTION]/battery_margin_bottom" />
[Android Apps and Games] al50:
[MENTION=4619873]gharrington[/MENTION], sorry for disturbing you. I have a question, if i purchase this from the Playstore, i would i go about adding it back into ROM Control? Your other version is already built into it and another member suggested to use what you have written in the OP but the date that's below it is 12/14 and i believe that's only to set it up to use not an RC. Thank you for your time and for putting out great work for us to use.
[Android Apps and Games] Caligula36:
Your app keeps saying "out of date, please install new version"

Please fix this so we can just use any version. There shouldn't be a need to update.

I have already tried downloading the new version, using TB to uninstall and replace.

Using root explorer to replace the system app. Ive tried the one from your website:

3Minit Battery App (Free)	22d41f437c816250e3bea6841b593482	v3.1

Nothing works, it still give this out of date error. Im using XtreStoLite.
[Android Apps and Games] gharrington:
The latest version is 4.1 you can get it on page #1 and I won't get rid of the out if date message it's there to save me from answering message after message of why stuff don't work when there simply using the wrong app
[Android Apps and Games] b1k3rdude:
I came to this thread for the same reason, the out of data message issue after just tring to flash it with trwp but then realised it not flashable. After looking at the Op for a version that is didnt get me very far. I appreciate a devs personal time is limited, but is there any chance this or future update can be flash or installable...?
[Android Apps and Games] gharrington:
The mod is not something that can not be made flashable. And it's really not hard to update an app on your device.

I dont mean to he horrible but if you can't do a simple task like delete an apk and replace it with the new one you probably should not be messing around with your device in such a way anyway....
[Android Apps and Games] al50:
By that said, how would i update your built-in app that's in ROM Control to your latest version and without it being shown in the app drawer as it currently isn't? I keep getting popup saying that it's outdated and needs to be updated. Thank you for any guidance and appreciate the work you do.

Also, i have deleted the 3minit apk and replaced it with the new one and have errors...also, i don't recall seeing the MinitResources apk either to replace
[Android Apps and Games] gharrington:
The Resources app does not need to be changed. I will not say how to hide it from the app draw as I have already asked people not to change the apk in anyway.

But to update it to get rid of the out of date message you just need to use an app like ES File Explorer and delete the old apk you can find it in system/app or system/priv-app once it's deleted simply download and put the new apk in it's place and restart your device. This will still work in rom control as all it does is send an intent to start my app.
[Android Apps and Games] b1k3rdude:
Fair comment, I have enough android/Linux knowledge to do it manually - flashing a zip is far easier/faster than copying/overwriting a few files etc.
[Android Apps and Games] MAOQ:
Can I use 3Minit Battery to add your icons.? :)
[Android Apps and Games] al50:
Thank you for your response. I did try what you mentioned, which was hard to actually locate the APk due to being named with a "com." Instead of 3minit....i replaced the apk, rebooted with the app in the app drawer and working but got FC's in the ROM Control setting....just uninstalled until I can get some help in resolving it. Because I'm clueless now with what to do. Thanks again for your time.
[Android Apps and Games] iluvamk:
Trying to use 4.1 on Cyanide ROM for Nexus 6P. The ROM comes with 3Minit already built in but I'm not sure if the new smali files have been updated. When I install batteryresources.apk and batterysettings.apk (both the paid version and the free version) I am able to change easily between the offline batteries with no problems. When I try to download and set a different battery other than offline nothing happens, it still stays with whichever offline battery I am using. Any ideas?
[Android Apps and Games] gharrington:
Try to change the default save location from inside the battery app
[Android Apps and Games] iluvamk:
Tried that. The batteries are downloading and being stored. I can see them using a file experience. They are just not being changed in the status bar. There is also no media files in the folder. Also I cannot select the "use batteriea from 3MinitBatteryIcons folder." All permissions have been granted to all apks also.
[Android Apps and Games] al50:
Any thoughts on how to get this to work in RC correctly?
[Android Apps and Games] gharrington:
You can try to delete the apk again but this time instead of putting the new one in its place you can install it as any normal app. If you get fc again upload a log it may be unauthorised changes to the old apk.
[Android Apps and Games] gharrington:
You wont be able to select use batterys from 3MinitBatteryIcons folder unless it contain all the correct files with correct names. The fact that they are being download correctly says that the app is woring fine so your issue is with the SystemUI/smali files please grab the latest ones and give them a try.
[Android Apps and Games] iluvamk:
Decompiled systemui and there are no classes. dex file so I guess no smali files
[Android Apps and Games] gharrington:
Then you are using a odexed apk. Are you using encryption because that would also cause your issue?
[Android Apps and Games] iluvamk:
Yes. The rom is encrypted by default
[Android Apps and Games] gharrington:
Coming in next update
[Android Apps and Games] al50:
I apologize for asking but what is/and how is this to work in the update? For older versions and/or that are already included in Custom ROM's? Just a question because what's in the background looks like the latest version.
[Android Apps and Games] gharrington:
So I will release this updated app and you will have to install it manually this last time. But all future updates will download itself(with your permission) locate and remove the old version the old version and allow you to install the new one. No zips or moving/deleting files yourself.
[Android Apps and Games] gharrington:
Update

Update free app only (No smali)

I hope this will be the last time you will need to update this app manually It will now update itself all you will need to to is press the update button. This update also includes a few tweaks and bug fixes.

Download from page #1 github or zip
[Android Apps and Games] jejemc:
Good evening can make a zip for OnePlus three? thank you ;);)
[Android Apps and Games] Ufo71:
GREAT MASTER [MENTION=4619873]gharrington[/MENTION] there a latest version of 3minit with different styles from the usual? Thanks
[Android Apps and Games] al50:
Thank you for your response and the update. When I downloaded the file from the 1st post in the OP and did as suggested. In RC, i now the latest popup to turn off the ad away or update to the paid version. I did 2 things. I disabled the ad away app and it's still the current version and when I install the Paid version i now have 2 3minit apps in the app drawer and still the old version in RC. Is there something that I'm missing or not doing correctly...do i need ro mod something for it all to "stick"? Thank you again for your time
[Android Apps and Games] wolfsstolz:
Hello, i have a problem with this app on my Galaxy S7 (Superman Rom) it tell me that app is out of date but i cant update it, only close. Who can me tell what i can do now !?

Here a screenshot

When i install 4.11 via TWRP i become a error message !
[Android Apps and Games] bx10r:
Get grom github in OP and install as normal apk
[Android Apps and Games] stang5litre:
Works fine on my rom on my s7e. You need to install it as a reg app. I Even have mine baked in the rom and have no issues. Did you update smalis? I didn't have to just asking
[Android Apps and Games] ATGkompressor:
Updated to latest release 4.1.1 from a baked in on stang's v3 ROM. Percentage text size inside colourable 2 indicator (and others) is maxed out at 16dp, but barely visible in the stat bar.
[Android Apps and Games] ibnbakar:
Updated

Thanx dev...

I just downloaded the file on OP..

Then installed it normally.. Done.. updated. If anyone want to get just the updated apk.. here i share the link..

https://mega.nz/#!i8pGTZCb
[Android Apps and Games] starbucks2010:
Can you remove the decryption key please ...
[Android Apps and Games] bluflight:
And i noticed same problem. On colorable max size is set to, 16 and appear very little on status.

Latest apk and smali from git of course. I tryed to delete 3minit folders, reboot but persist

Inviato dal mio LG-H815 utilizzando Tapatalk
[Android Apps and Games] gharrington:
I will increase the size and update in a few days
[Android Apps and Games] albertmurcia:
Enviado desde mi SM-T805 mediante Tapatalk
[Android Apps and Games] ibnbakar:
Sorry..link updated

https://mega.nz/#!HhZnhSTQ!1fmFdGgbkZ9IDcCOtzwOLMMMeO1cqROeFOAl3MTh4D0
[Android Apps and Games] hilla_killa:
Delete
[Android Apps and Games] gharrington:
Are you sure you guys re running the latest smali files? 16 is pretty big here on my device
[Android Apps and Games] bluflight:
Yes be the last smali. I solved by reflashing rom with full wipe [emoji106] Only brightness text is little lower, but i think is normal

Inviato dal mio LG-H815 utilizzando Tapatalk
[Android Apps and Games] ATGkompressor:
I don't have the means to decompile and recompile. Not at least for another month.
[Android Apps and Games] mellowbug:
the standard android battery icon still show up next to the 3minit battery icon. It didnt do that before .. i just noticed it yesterday ?.
[Android Apps and Games] gharrington:
The app does not have the ability to change the stock battery at all. Somthing must have happened on your device. Just reflash your modded SystemUI.apk and you will be good to go..
[Android Apps and Games] mellowbug:
i got this installed with my pure stock extralite rom. Didnt use or have an decompiled systemui apk. Gotta do some reading about that.. have no idea that it is or how to get it.
[Android Apps and Games] gharrington:
The devs have probably added a toggle in rim settings take a look around you may just be able to turn the stock battery off.
[Android Apps and Games] mellowbug:
Yeah thnx man .. :o .. There was indeed a toggle for stock battery :eek:
[Android Apps and Games] al50:
Know it's not proper for bump'n posts in threads but is there something i need to do to get the app in ROM Control to work properly without either the install the Paid version or disable the AdAway for it to work? I did pay for the paid version and still got the message in ROM Control. It works properly if I open it in the app drawer. Thanks again and apologize for asking again.
[Android Apps and Games] adelistiawan:
Double Battery Issue

Hi, I have been followed all ur instruction but I'm faced double Battery showed up(stock&3minit battery).

I'm on Note5 N9208(Dual Sim) Stock Marshmallow but Rooted. I'm also include my systemui.apk

I hope u have a time to solve my problem. Cheers
[Android Apps and Games] alphamale:
Every ROM that I've used has an option under setting and status bar to hide stock battery, and just the 3 minit battery will show. But since your on stock I don't know if you'll have that option. You may have to install a third party app that can hide your stock battery icon. I know gravity box xposed mod can do it.
[Android Apps and Games] adelistiawan:
Thanks for the advices, but I'm glad that already solved the problem with editing some code in system_phone_icons.
[Android Apps and Games] cronocr:
instructions work fine for me
[Android Apps and Games] starbucks2010:
@gharrington Is there any chance you'll release a free 3Minit app that will work with ads blocker installed in the ROM?

Thanks.

http://xdaforums.com/member.php?u=4619873
[Android Apps and Games] gharrington:
Send me a pm I will help you out.
[Android Apps and Games] gharrington:
Why because you don't want me to get paid a few cents when you use my work? Would you go to work for free? Not to mention the server cost I have to pay...
[Android Apps and Games] starbucks2010:
[MENTION=4619873]gharrington[/MENTION] I don't have any problem with you getting paid for your work but I taught that the paid ap is for that and the free app is ... free.

Secondly, and the main problem, is that everybody is using ads blockers because without them you cannot open any hosting site without getting 100 popup pages opening.

Best regards.
[Android Apps and Games] gharrington:
The app is free you haven't paid anything right? And I have never used an ad blocker and I can navigate anywhere without a 100 popups. Also it takes 10 secs to disable the ad blocker to use the app.
[Android Apps and Games] starbucks2010:
Are you sure that the free app is working with the ads blocker disabled? I just freeze the AdAway with Titanium (restart the phone after freeze) and the 3Minit app is still tells me that it detects ad blocker and it wont start.

Thank you.
[Android Apps and Games] millo1978:
Tested now.

With adaway enabled I have pop-up.

I disabled Adaway, I opened Free App... All works good!

After using the app you (all) can enable adaway again.

We need few seconds for disabling and enabling adaway. ;)

This is only for test...

I have PAID version also on my device.

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Android Apps and Games] starbucks2010:
Yes millo1978 I tested also with Adaway disabled from within the app and is working. I don't know why is not working when I freeze it with titanium.

Thank you for the tip.
[Android Apps and Games] StAfFoRdShIrE:
:good::good: Thank you for helping me.

100% functional
[Android Apps and Games] AL_IRAQI:
you're welcome :)
[Android Apps and Games] radz_:
[MENTION=4648515]AL_IRAQI[/MENTION] can you please help me, i really want this MOD.. unfortunately i dont have access to the computer i have a company laptop and its useless.. i cant install anything its locked for companys security:(

Im using S4 I9505, Emperium 8.0 Rom.. however i flashed Tamidas UPSM.. so i believe my system UI right now is from tamirda. Here's the systemui from my system/private app..

https://mega.co.nz/#!YF8gybrK!juRV4ETRZ_mahG7oXLt6HITVHDQzTxTna4V8-wr8INY

Hope you can help.. thanks man
[Android Apps and Games] AL_IRAQI:
i need framework-res and twframework-res from tamirda rom or mod
[Android Apps and Games] pas2001:
Tamirda rom is phoenix rom?
[Android Apps and Games] radz_:
Just to make sure.. im gonna pull it out to my system.. wait
[Android Apps and Games] AL_IRAQI:
yes :)
[Android Apps and Games] radz_:
Yeah its phoenix, however im using Emperium 8.0 by slim80, i think slim80 edited the mod of tamirda to NG2..
[Android Apps and Games] pas2001:
I think it use s5 framework @ friedrich420 post in this thread before.

If I remember use framework from rom it fail. But s5 framework success.
[Android Apps and Games] radz_:
Here: i pull it out from my system.. and zip it..

FRAMEWORKS...

https://mega.co.nz/#!cBkDALjC!w2lwHEmZF7Mj7mvzDqVxYhDc8fw71-VzzJIAq03Go18

thank you in advance

---------- Post added at 08:04 AM ---------- Previous post was at 07:54 AM ----------

Yeah, there was a discussion about this at page19-20.. but that was NF1 base.. up until now tamirda still using NF1 in his ROM.. slim80 edited it to NG2

And yes i think its s5 framework. Thats what i saw in the page
[Android Apps and Games] AL_IRAQI:
Error

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:163)
at brut.androlib.Androlib.build(Androlib.java:185)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:159)
... 4 more
[Android Apps and Games] radz_:
Does that mean i cant use this MOD? :(
[Android Apps and Games] pas2001:
Hey test this man...http://www.mediafire.com/download/bpub9uu5l7rdw6g/radzmin.rar
[Android Apps and Games] radz_:
Ok.. will try
[Android Apps and Games] radz_:
Brother, this one works.. however im missing icons, and i see an additional "private mode" which i dont have that one with my original systemui.. is this my systemui? Can you make the may systemui like this..

Heres my original systemui.

https://mega.co.nz/#!YF8gybrK!juRV4ETRZ_mahG7oXLt6HITVHDQzTxTna4V8-wr8INY
[Android Apps and Games] pas2001:
I surely make from your systemui mate. I cant test it work or not or miss or add any icons . I use 9500.

For process I use framework of s5 @ friedrich420 give me.

You worry that tamirda use different base from your rom but this framework dont extract from tamirda rom too.

The s4 rom for many now have s5 mod so I find use this framework can go on.
[Android Apps and Games] radz_:
I see, wierd.. im thinking why my other icons are gone and i dont know what are those icon. but for now i will be using the one that you gave..

mate thank you very much.. good job.. you guys are so cool very helpfull
[Android Apps and Games] pas2001:
Well and wierd also.

Btw you have the screen what your lost icon?

It mean change to stock or it absolutely lost. And it important?
[Android Apps and Games] radz_:
One that i've notice "reading mode" is gone i cant remember the other icons.. but i think 5-6 icons are gone.. not that important i think for me.. i cant even remember what are those..:D

Its just great when everything is in the right place, for easy access.. this what i have now.
[Android Apps and Games] *wii360*:
Hey guys, I'm playing with new battery style and want to know what do you think?
[Android Apps and Games] gvmiguez:
It doesnt work because freezing it with Titanium the host file is not restored to default and blocking is still working. AdAway is like a host editor
[Android Apps and Games] rakesh.bidadi:
I AM USING NOTE 4 N910U , 3mint battery is not working properly, not able to update it please share me the link for the update of based on the latest SWEET ROM V 18 COJ2 5.1.1
[Android Apps and Games] gharrington:
There is no version special for any rom the app is the same for all roms. You most likely have it as a system app use Es file Explorer to delete the old

Apk and swap out the new one in its place.
[Android Apps and Games] ATGkompressor:
What ad blocker are you guys using? The one I use is a lean mean ad blocking machine and goes undetected in every app I've ever used. Besides gharrington is right...disable it, use the app and viola. Small price to pay for such an app as this.
[Android Apps and Games] al50:
Thank you gharrington. I sent you a PM. Thank you :):good:
[Android Apps and Games] grzegorz354:
[MENTION=4619873]gharrington[/MENTION]

Hey

3minit Battery stopped working
[Android Apps and Games] gharrington:
The screen shot you attached is telling you how to fix it. It has not stopped working you just need a new version.
[Android Apps and Games] gaww:
Where do we get the latest?
[Android Apps and Games] bx10r:
https://github.com/gharrington/3Minit_Battery_Mod/blob/master/3MinitBatterySettings.apk

Sent from my Sic 6
[Android Apps and Games] gaww:
Thanks - I had gotten to github from a different link and it did not get me to the right place. Now if only i could get it to work - i froze AD Blocker but still get the popup say to disable .
[Android Apps and Games] al50:
You don't freeze the ad blocker, you have to go into the app and disable it...freezing doesn't do anything because the app has already done it's job for blocking...freezing it only keeps you from being able to use it...
[Android Apps and Games] gaww:
I also tried disabler Pro ?
[Android Apps and Games] gharrington:
Go here and press disable ad blocking button
[Android Apps and Games] 0DegreeCod3r:
I can't find the apk download neither github does have the actual download or I'm just not doing something right lol
[Android Apps and Games] gharrington:
Go to pages #1 of this thread and download the zip the app is there also
[Android Apps and Games] 0DegreeCod3r:
Do we have to do the compile steps?
[Android Apps and Games] gharrington:
No not for this update
[Android Apps and Games] 0DegreeCod3r:
Worked thanks
[Android Apps and Games] al50:
[MENTION=4619873]gharrington[/MENTION], did as you asked..Thank you:):good:
[Android Apps and Games] Jayster0966:
Can anyone who has the skill be able to help me figure out how to apply this in a TouchWiz Note 7 port for Note 4? Attached is the link needed for the files required. I have tried a couple of times and can't seem to get it to work. Seems to have gotten way more complicated than back in the LP days.

Thank you in advance for any help.

https://www.dropbox.com/s/o3zmfudw7784yk3/XROM NOTE7 Port N4.rar?dl=0
[Android Apps and Games] gaww:
Buy the $2 version on play store.
[Android Apps and Games] Jayster0966:
I have the paid apk for a long time. Just cant seem to figure out how to insert the proper code in the xml files. Tried like 4 time and keep getting recompile failures.

:confused:
[Android Apps and Games] cerj:
Have you tried compiling without the 3minit Battery xmls, just to see if the stock apk will decompile and compile without error? If the stock apk will compile, try grabbing a UI for your device that already has the working 3minit and compare to what you are doing
[Android Apps and Games] 0DegreeCod3r:
All you had to do is

Download the new one

unzip and install the settings apk only like a normal app once you extract it
[Android Apps and Games] Jayster0966:
Thanks for the tips. Finally got it to work after following other examples. :good:
[Android Apps and Games] davidisflash:
Anybody get this working on the S7 (not the edge) for any Exynos - based phone with locked bootloader such as Verizon US S7 (G930V), ATT, etc? I have flashed the engineering root image so that the phone's rooted, but the smali folder is missing in SystemUI.apk. I saw a few posts back that someone said they didn't have to update smali files. I'm confused because I thought that this tool requires that the 3 3minit smali files be copied to the specified already existing folder.

I think this ROM might be ODEX. I've tried a few posted deodex tools for Marshmallow but they aren't working. Any ideas? I don't want to flash the modded SystemUI.apk without copying over smali as I'm afraid it'll mess up my rom.
[Android Apps and Games] DaOldMan:
Your rom is odexed. It means the smali part is in a folder with .odex postfix. You need a deodexed rom where the apk has resources and also smali in the same file. Sometimes even in odexed rom the systemui is deodexed, but it looks like it's not your case. Don't try to mod without the smali as it will never work. Smali is the code comming from java.

Phronesis team member
[Android Apps and Games] davidisflash:
Thanks. Anyone find a reliable deodex tool for a marshmallow system ui apk?
[Android Apps and Games] emanoj.i9103:
Latest apktool works even for Android N.