yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] davidisflash:
To recompile yes, I'm using it. But to deodex an odexed apk?
[Android Apps and Games] The Sickness:
http://xdaforums.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
[Android Apps and Games] DaOldMan:
I agree, I use this one as well it's a really good tool :).
[Android Apps and Games] apknl:
[MENTION=4619873]gharrington[/MENTION] - I am using custom Rom RR with 3minit framework support baked in the Rom . I installed both MinitBatteryResources apk and 3minit battery application both free and paid one but in both the situations only icons in folder offline were only successfully applied and the rest of the icons gets stored but when I click on apply it does not get applied. Can you please guide in case if I am missing anything in getting applied? Thanks in advance .
[Android Apps and Games] serch826:
Are you kidding? decompiling works fine , but compiling no, you get lots of error , as well as deodex Android N, yet no supported, can not deodex FaceLock and Connmetrics apks.
[Android Apps and Games] davidisflash:
Thank you for this. Surprised someone wouldn't want to pay the small fee for the hard work you've done. You could easily charge more for the app considering how nice it is plus the forum support you provide. Thanks for the great work :good:
[Android Apps and Games] gharrington:
Depending on the errors you just need to find a work around for it.
[Android Apps and Games] apknl:
I am using custom Rom RR with 3minit framework support baked in the Rom . I installed both MinitBatteryResources apk and 3minit battery application both free and paid one but in both the situations only icons in folder offline were only successfully applied and the rest of the icons gets stored but when I click on apply it does not get applied. It seems OP is not interested in responding about this issue. Can anybody please guide in case if I am missing anything in getting applied? Thanks in advance .
[Android Apps and Games] gharrington:
Did you try changing the default save location?
[Android Apps and Games] apknl:
No. It shows /storage/emulated/0. Is default storage location should be /storage/emulated/0. Is my understanding correct?

BTW I just uninstalled and reinstalled and rebooted couple of times and then I see it is working as it is supposed to be. Thanks for responding [MENTION=4619873]gharrington[/MENTION] and I must admit it is a very cool and funky app .

Edit: I also noticed that whenever I change Themes (currently using CMTE) , Icon gets restored to my preselected offline icons and then when I am applying the icon from the Stored Icons one , it is not getting changed.Only offline icons gets applied. Is this the bug already known? At present I changed Theme and now I am stuck with the old issue meaning I am unable to apply and change battery icon. Any suggestion to fix this issue?

Also I noticed that there were 2 folders - 3Minit Downloads and 3Minit Battery Icons. The files are in 3MinitDownload folder but there are no files in 3MinitBatteryICons folder and as such I guess that is why I cannot check the box of Custom Battery. Do I need to do anything for 3MinitBatteryICons folder or is it not necessary ?
[Android Apps and Games] avivasaf:
Will this work on android N, if yes how to install it?
[Android Apps and Games] Mentalmuso:
It works on N, you need to follow the guide to decompile and edit systemui

? --->
[Android Apps and Games] aalupatti:
The battery meter inside the icon is very tiny. Any way to fix it

Using it on N6p

Colorable battery.

The battery meter size is okay with other icons other than the colorable section.
[Android Apps and Games] gharrington:
Use the latest smali files
[Android Apps and Games] gaww:
I tried getting the paid version - server error??
[Android Apps and Games] tflux99:
how to get it to work on note 7 with hydra rom v1.15 iam new to that compiling stuff 4 android i came from a note 4 with kitkat 4.4.4 there this mod works fine but on my new note 7 how to do it pls help i like this mod way better than lazy stock battery icons i also own the paid version from play store i had this running on my note 4 :)
[Android Apps and Games] SugBritt:
I would really love to use this in my edge 7 with Note 7 port.. but looking at the op and trying to understand.. I'm really sorry to not being that good so i can do all that ? Is it any easier way to get it working? Any twrp zip anyone have to share? (If it's possible to flash 3minit ofc?)

Like the new ui of your app..☺
[Android Apps and Games] ryan42680:
My friend, god bless you and your family, this must be hard to answer all those questions, i have read all your answers and man! too much complications answering people because they all ask the same question, mostly, anyway i wanted to thank you for your work and time to bring the best of our devices, so, thank you.

My very best regards.
[Android Apps and Games] hilems:
I have the same problem with my note 10.1 tablet :(
[Android Apps and Games] jeanluc1701@hotmail.com:
if this app compatible with Tab S2 t817w8
[Android Apps and Games] GayCasper:
Can anyone tell me what to do to get the battery icon to go away so I can use the 3mint only.
[Android Apps and Games] thoiloidainhan:
Your ROM gotta have support for no battery icon feature
[Android Apps and Games] gaww:
Or an Xposed module...
[Android Apps and Games] anandmore:
Here is the link to my video on 3minit Battery Mod Installtion (MM) -

[YOUTUBE]inIIvV4yzVA[/YOUTUBE]​
[Android Apps and Games] zmoz:
How to uninstall 3 minit?

Отправлено с моего SM-G925F через Tapatalk
[Android Apps and Games] Pavamarea:
Me too want to know how i revert back my system UI in Asus Zenfone 2 Z00A.

The user IZI.Xav posted in Zenfone 2 forum a way to install it, but not posted the way to uninstall.

Thanks.
[Android Apps and Games] thereassaad:
How u added it in ur ui , simply revert ( redo ) ur edited to old that's it simply
[Android Apps and Games] Pavamarea:
I installed flashing it with TWRP. I didn't find any uninstaller that can be flashed.

And i didn't edited nothing, the zip flashed edit all automatically. If you know where i can go in system to edit to revert back, I would be grateful ! :good:
[Android Apps and Games] xSilas43:
Read the OP install instructions and do the opposite.
[Android Apps and Games] Thebear j koss:
Reflash your ROM, or flash the SystemUI of your ROM. Or install your backup you made in recovery before installing 3 Minit Battery.

Thebe?r'$ NeXu$
[Android Apps and Games] Pavamarea:
That's the problem, there's no instructions or tool to revert back in OP.
[Android Apps and Games] xSilas43:
When modding one should always make backups. Removing this is as simple as restoring your stock SystemUI.apk
[Android Apps and Games] Pavamarea:
I put back the stock systemUI.. I extracted from the stock Rom zip,. But the system UI crashed.
[Android Apps and Games] xSilas43:
youll need to uninstall the 3minit apps as well then reboot to recovery and wipe cache + dalvik/art
[Android Apps and Games] gharrington:
Just dirty flash your rom
[Android Apps and Games] Pavamarea:
I will try. Thanks.
[Android Apps and Games] gharrington:
Thanks mate very good. I will add to op.
[Android Apps and Games] Francescorm76:
Paid version not new update?

Inviato dal mio SM-G935F utilizzando Tapatalk
[Android Apps and Games] tonypro79:
Help, Z2 4.4.4

<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" layout="@layout/signal_cluster_view" />
<LinearLayout android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="7.0dip" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/status" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:id="@id/battery_meter" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:layout_gravity="center_vertical" android:id="@id/battery_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stamina_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/somc_sys_powersaver" />
</LinearLayout>
<FrameLayout android:id="@id/battery_percent" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.sonymobile.systemui.statusbar.BatteryImage android:layout_gravity="start|center" android:id="@id/battery_percent_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
</LinearLayout>
[Android Apps and Games] Akuma991:
Help with CM13 for Note 3

Apologies if this has already been asked. I've searched through the whole of this post and cannot find an answer.

I'm trying to install 3minit battery but the line <android:id="@id/battery is missing from both status_bar.xml and system_icons.xml.

I'm guessing someone has managed to get this to work a cm13 rom for the Note 3, so if anyone can give me some pointers, it would be much appreciated.

Thank you in advance.
[Android Apps and Games] serch826:
delete
[Android Apps and Games] GjorgiDxc:
Okay guys, so I tried to decompile the SystemUI.apk, but the smali folder is empty. I'm on Nexus 5 with Nougat. ROM link: http://xdaforums.com/google-nexus-5/orig-development/wip-aosp-7-0-0-nexus-5-t3457442

This is what I got when I decompiled. I'm on Mint 18 if that helps.

gjorgi@gjorgi-Inspiron-3521 ~/Desktop/APKTOOL $ apktool d SystemUI.apk
I: Using Apktool 2.1.0 on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/gjorgi/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
Exception in thread "main" org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile: Invalid magic value: 64 65 78 0a 30 33 37 00
at org.jf.dexlib2.dexbacked.DexBackedDexFile.verifyMagicAndByteOrder(DexBackedDexFile.java:157)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:70)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:96)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:106)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:78)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:74)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:37)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:94)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:131)
at brut.apktool.Main.cmdDecode(Main.java:163)
at brut.apktool.Main.main(Main.java:81)
[Android Apps and Games] xSilas43:
Have you setup the framework for apktool?
[Android Apps and Games] gvmiguez:
First you have to change this lines:

android:layout_width="0.0dip"@dimen/status_bar_battery_width" android:layout_height="0.0dip"@dimen/status_bar_battery_height"

To:

android:layout_width="0.0dip" android:layout_height="0.0dip"
[Android Apps and Games] gharrington:
Have you added the smali files in the correct place? If you think you have done all steps correctly get me a logcat (lots of tuts here on XDA or Google it) and I can helo you more.
[Android Apps and Games] galaxyuser88:
Yes i have. Ill try to pull log via adb since i can not get to the screen to launch logcat..

Thank you for the help, and your great mods you do for all theses phones.
[Android Apps and Games] galaxyuser88:
here is the logcat logfle
[Android Apps and Games] motoelliot:
Will this work on HTC A9?
[Android Apps and Games] Pain-N-Panic:
Will the tutorial for completing this mod on MM work on Android N?
[Android Apps and Games] xSilas43:
yes
[Android Apps and Games] gharrington:
From the logcat it seems you have not installed MinitBatteryResources.apk
[Android Apps and Games] galaxyuser88:
Thank you, I did have it on my phone i just forgot to install it.. Thank you.. works great now.. Senior moment on my part.. LOL
[Android Apps and Games] Pain-N-Panic:
Thank you sir! Haven't had this mod running since my Nexus 5. Hopefully I can get it up and running on my 6p.
[Android Apps and Games] GayCasper:
Has anyone made a flash version where I just flash it to my ROM?
[Android Apps and Games] Pain-N-Panic:
So I can't deodex my systemui on Android 7.0 is there a working baksmali/smali that's compatible with Android N? Don't see how I'll be able to make the correct modifications to my systemui unless the app is deodexed. Thanks!
[Android Apps and Games] Blackball:
Take a look to this thread :

http://xdaforums.com/showthread.php?t=3452712
[Android Apps and Games] serch826:
SuperR kitchen has all you need for that
[Android Apps and Games] Pain-N-Panic:
Thanks. Worked perfectly. Still have no idea how he did it. And from what I have read, super r kitchen is only for Linux machines....I only have windows.
[Android Apps and Games] Blackball:
You should change to linux ;)
[Android Apps and Games] Pain-N-Panic:
Lol for Android modding it would definitely be worth it.
[Android Apps and Games] Mentalmuso:
I haven't been on windows for a while but have you tried sva deodex tool?

Also things are slightly different in N but not by much, what device are you trying to mod?

---------- Post added at 06:12 PM ---------- Previous post was at 06:10 PM ----------

A flashable version for your particular device would be found in your devices forums.
[Android Apps and Games] gharrington:
Virtual machine or like me dual boot
[Android Apps and Games] Pain-N-Panic:
I have not. I used a deodex tutorial I found in the Android software forum. I downloaded the latest smali/baksmali from jesusfreak as well and had no luck

I'm on the Nexus 6p. I was given a link to someone who completed the mod for my device so I have it up and running. I'll check out that tool though as I would like to be able to do it myself for future updates.
[Android Apps and Games] Suraj Pandey:
Awesome work
[Android Apps and Games] LithiumAce:
Hello there,

I installed the app, for me it's possible to pick the offline battery indicator(s) and they show but not the one I downloaded, can't find what the problem is, any idea to help me out.

Thank you!
[Android Apps and Games] Lmax579:
For some reason, when I decompile systemui.apk, I don't see the smali folder
[Android Apps and Games] gharrington:
Your apk is not deodexed
[Android Apps and Games] Lmax579:
Oh, so do I decompile then deodex or deodex then decompile?
[Android Apps and Games] Pain-N-Panic:
You would need to deodex first, decompile, make the necessary modifications, recompile, push to phone and set permissions.
[Android Apps and Games] Lmax579:
I'm rooted stock, so how would I deodex the stock rom?
[Android Apps and Games] Pain-N-Panic:
Too much to describe in this thread. Search XDA, there are multiple guides on using smali/baksmali or oat2dex.
[Android Apps and Games] Thebear j koss:
May not have to deodex the whole rom... Try just deodexing system ui. Also most stock roms come odexed or deodexed. Depending on your android build there are many tools /different methods on how to deodex. Changes to file structure in 5.0 and after require a different method than 4.4 and below...

Thebe?r'$ NeXu$
[Android Apps and Games] Lmax579:
I'm on MM..... I hope I don't mess it up lol
[Android Apps and Games] iceman1177:
Hello guys,I don't understand why is not work this update mode.I have S4 Thor room MARSMALLOW 6.0.1.Any advance well be apreciate.Thanks in advance.
[Android Apps and Games] Thebear j koss:
Make a backup in recovery. Worst that will happen is you bootloop or get system ui f/c's on reboot and you have to restore your backup. Believe me i tend to mess up 3 or 4 times when I mod things before getting it right. Guide and simplicity of how to by the devs make it as easy as possible for anyone that can decompile and recompile an apk. The code just needs to be added to smali in the right place and it should all be fine. Most would post their mods and you would have to add it manually to the smali file yourself, this is all already done for you. Just drop it in the right directory in smali, no stupid typo mistakes like i usually do. Lol

Thebe?r'$ NeXu$
[Android Apps and Games] Lmax579:
LOL thanks bro I appreciate it
[Android Apps and Games] Pain-N-Panic:
Thebear is correct, you should only have to deodex the systemui. Im running stock Android N which is an odexed rom however my systemui is deodexed. The dev who did it for me used super R kitchen to deodex it on a Linux machine. Rom kitchens are a little out of my league so I was not able to deodex Android N systemui.
[Android Apps and Games] serch826:
You need to modified the system_icons file
[Android Apps and Games] DaveKing:
Thanks. Just a question. Does it only change the battery, or will mess with other icons? Thank you very much!
[Android Apps and Games] serch826:
This Line is just for the battery icons
[Android Apps and Games] DaveKing:
Sorry again, but I don't have any /smali folder. Do I have to create it in Android /root or inside the systemUI.apk? Thanks in advanced.

EDIT: I saw that if I don't have the smali folder in systemUI.apk it means that it's not deodexed? Is that it? There is a easy way to deodexed systemUI.apk? Is it possible?
[Android Apps and Games] serch826:
That's correct, deodexing the SystemUI isn't a problem, the problem depend if the Rom is Odex or Deodex
[Android Apps and Games] DaveKing:
well, so my rom is not deodexed, I changed the SystemUI.apk, deoxed it, and after paste it I have the UI system error. Even if I put the original SystemUI.apk and Framework-res.apk back on the /system/** folder. I'm confused...
[Android Apps and Games] Pain-N-Panic:
How did you deodex your systemui? Are you on Android N?
[Android Apps and Games] DaveKing:
Sorry. I'm on 6.0.1, ROM Moonwalker for z5. I deodexed the SystemUI with apktool. And used the framework-res in order to deodex. The weird thing is that after paste the modded SystemUI I have the SystemUI forceclose. After reboot, didn't have any forceclose, but neither systembar or the navigation bar was available. But no forceclose. Then I tried to call back the originals framework and systemUI that I backup up and the forceclose error came back again... Sorry forgot to logcat it. Now I'm again on fresh Rom install. :good: Thanks for helping.
[Android Apps and Games] Pain-N-Panic:
PM sent.
[Android Apps and Games] aalupatti:
[MENTION=4619873]gharrington[/MENTION] I am learning to build roms.

I wanted to add your mod to the rom.

Will cherry-pick the commits in this link ( https://github.com/gharrington/3Minit_Battery_Mod ) give me 3minit battery in the rom ?

Thanks
[Android Apps and Games] Mentalmuso:
I think something has changed with the October Nexus updates, SystemUI crashes and am wondering if it has something to do with the smali. I can modify xml and SystemUI doesnt crash, though when i add the smali to the apk that crashes it all up in my face.

--->
[Android Apps and Games] Thebear j koss:
Need more info. Did you update to Nougat builds? If so i am not sure if this will work yet.

How has it come this far? I am embarrassed to be an American...
[Android Apps and Games] gharrington:
If you modified the xml file and not add the smalis your SystemUI would crash because it would look for the MinitBattery smali file and it wont exist.
[Android Apps and Games] gharrington:
This question is a bit generic! Are you compiling from source of just deodexing a stock rom and adding your stuff? Either way cherry picking that will NOT add the battery mod to your rom.
[Android Apps and Games] aalupatti:
Compiling from source. What would be the way to add this mod into the Rom while building.

PS. I am building for nexus 6p and building purenexus rom

Thanks

Sent from my Nexus 6P
[Android Apps and Games] Thebear j koss:
Doesn't [MENTION=4395895]BeansTown106[/MENTION] build pure nexus for the 6p? For including 3 minit into any rom, just need to read the op of this thread for instructions.

How has it come this far? I am embarrassed to be an American...
[Android Apps and Games] aalupatti:
Thanks for taking time to write this reply.

1- I make personal builds of roms. PN is my favorite one.

2- The OP does not mention how to include the mod while compiling a rom. The process mentions how to make a mod after compiling the rom.

3- Well I am sorry that u fee embarrassed. Try to be proud about ur country :fingers-crossed:
[Android Apps and Games] Thebear j koss:
1. Got ya. I am a PN fan as well just was a bit confused about if he had concentrated on something else.

2. OP does say something about baking into ROMs here-

Github link attached too. Unfortunately it is a closed source project, so building from source isn't a choice.

3. The state of the U.S. is horrendous, with no silver lining to be found anywhere. Things are going to be getting way worse as our political leaders have done nothing but try to destroy their opposition instead of looking out for and working towards our best interests. And have you seen our Republican nominee for president? I'm with the rest of the world just pointing and laughing at our stupidity...

How has it come this far? I am embarrassed to be an American...
[Android Apps and Games] Mentalmuso:
It's not that I'm afraid. It's directly related to the very latest October nougat build for Nexus 6p and 5x. Neither systemui from those builds.. NBD90X and NBD90W work after modding the XML and adding the smali. I suppose it could be an apktool issue not smaliing properly. Whereas I had no issues with the September builds. Sorry if there's no usable info,

? --->

---------- Post added at 10:54 PM ---------- Previous post was at 10:49 PM ----------

3minit battery has been working on my Nougat rom builds since it was released for Nexus 6p. The latest October build not so much. Simply modding system UI has somewhat become a little more difficult, decompiling and recompiling work fine, and I used to just drag the meta-inf and Android manifest over from the original apk to the modified apk but that doesn't work anymore either, but copying the modified XML over from the modified apk to the original works. It must be a signing thing..

? --->
[Android Apps and Games] Thebear j koss:
The official nougat builds weren't released until october is my understanding, as most roms have just released their official rom builds, like Pure Nexus by Beanstown. There is some new signing securities put in place by Google, but i am not too sure what devices and builds these will affect. I know the apktool dev and another dev for tickle my android were looking into these signing ssues...

How has it come this far? I am embarrassed to be an American...
[Android Apps and Games] aalupatti:
[MENTION=2477527]mrjaydee82[/MENTION] has made a 3minit mod for purenexus rom nougat version . Works well for me.

http://xdaforums.com/showpost.php?p=69050724&postcount=814
[Android Apps and Games] ninestarkoko:
My contribution regarding Sony Xperia Z5 line: the mod works well but in system_icons.xml you need to modify the line with

"@id/somc_battery"

To decompile/recompile SystemUI.apk correctly i used TicklemyAndroid http://xdaforums.com/show....php?t=1633333 , you first need to install framework-res.apk and SemcGenericUxpRes.apk taking them from the framework folder of your /system partition.
[Android Apps and Games] Thebear j koss:
I wasn't saying it can't be added in, it can be added onto almost any ROM. He wants to build it into the PN ROM through source which can't be done as it is a closed source mod. But as it says in the OP there is no problem adding into already made ROMs if you give credit and thanks. I've had it on PN since december, but i added it myself following the easy step by step instructions.

How has it come this far? I am embarrassed to be an American...