yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Gerxp:
Thanks gharrington, I will try this today.

Edit:

Black statusbar is gone but...no batteryicons.

I have tried with TickleMyAndroid and in CMD window.

But I'm sorry gharr, I dont see any 3Minit batteryicons appear on statusbar.

It just looks like my standard statusbar.

Sometimes it changes my background to a BIG "S" from Slimkat I guess.

Have I forgotten something? Its like I am at the wrong Batteryicon folder?

Also there is an X in Settings->Use battery from 3MinitBattery folder. I cannot tick the option. But the folder 3MinitBatteryIcons has alot icons in it. Still cannot tick.

Is it working at all on Kitkat 4.4.4? (SlimSaberKat)
[Android Apps and Games] oluwaponmile:
Thanks for the new smali files for the latest apktool_2.0.0rc2. I have been using the old smali files without success but it now works with the new files. Please note that the old files work well with apktool 1.5.2 but the old apktool can't decompile my framewrok file.

I am having same issue with the quicklaunch mod as well using apktool 2.0.0r2. Problem is the old apktool 1.5.2 can't decompile my framework.apk only the latest apktool can decompile it successfully but failed recompling. I am assuming it has to do with the smali files in the quicklaunch folder.

Is there an updated quicklaunch mod smali files for apktool 2.0.0r2?

Thanks
[Android Apps and Games] NeGriTa79:
No, these files are in a rom OnePlus One files... that I have posted were for a rom of the Galaxy S5 ...

I've tried all ... even apktool version 2 of the slimrom ... and used the file Smali for 2.0.0rc2 .... but I just can not recompile the file .... now I'm at work ... if I can spot the error logs tonight !!!!
[Android Apps and Games] taimon:
hi [MENTION=5171503]Dev.[/MENTION] 3minit battery can adjust distance between clock and phone signal same equal
[Android Apps and Games] Gerxp:
I have been trying for 2 days now...guess thats enough hehe...

Maybe Pas2001 or Gary likes to try?

Here are my files:

framework-res: https://www.dropbox.com/s/i3bjae5ardg6hk0/framework-res.apk?dl=0

SystemUI: https://www.dropbox.com/s/gmiv2huszv2n46c/SystemUI.apk?dl=0

I am running i9505 with SlimSaberKat 4.4.4.

Hope this helps.
[Android Apps and Games] gharrington:
Here mate.
[Android Apps and Games] Gerxp:
Tyvm Gary.

But sadly I have to inform you that I still do not get a 3Minit battery icon to see.

Firstly I restored my rom.

Then I installed 3MinitbatterySettings.apk.

Then I copied the SystemUI to root, changed to 644 and copied it to priv-app, overwriting. And reboot.

The SystemUI.apk and framework-res.apk are from a restored rom.

So, not sure what is wrong here. You have an idea?

Screenshot:

https://www.dropbox.com/s/4q22an62ornhg9a/Screenshot_2014-10-23-08-37-57.png?dl=0
[Android Apps and Games] gharrington:
Did you say it's for oneplus one?
[Android Apps and Games] Gerxp:
It is for the Galaxy S4 JFLTE i9505 running SlimsaberKat 4.4.4 by Kantjer

screenshot:

https://www.dropbox.com/s/yzror0gbwk40k1l/Screenshot_2014-10-23-09-30-44.png?dl=0
[Android Apps and Games] xtian0523:
still no luck after trying and trying....here is my result sir gharrington

1. decompile and recompile no error using apktool 1.5.0(TikleMyAndroid) and old smali's --> no result nothing happens on status bar

2. decompile and recompile no error using apktool 2.0.0rc2(TikleMyAndroid) and new smali's --> no status bar...

here is my framework-res.apk and SystemUI sir ----> http: / / d-h .st/ dpb (please remove space between the link sir unable to post it directly)

running Android 4.4.2 (stockrom)

i need your help to do this sir...thankyou in advance
[Android Apps and Games] pas2001:
What issues mate.

About icons i see in screen setting tab (in front checkbox) if you copy from download folder to use in 3minitbaticon folder you should change name of charge icons alittle cos it slightly different pattern(only charge icons)
[Android Apps and Games] Gerxp:
I dont see the icons that I apply.

I copied user icons from dowload to 3minibatteryicons.

Both 3minitbatteryicons and 3minit Download folders are on sdcard. I have not changed the location.

But I just dont see any icon that I apply.

Screenshots:

https://www.dropbox.com/s/sex8j78yai017d9/Screenshot_2014-10-23-12-33-11.png?dl=0

https://www.dropbox.com/s/hgombc10fg1yu6h/Screenshot_2014-10-23-12-33-24.png?dl=0

https://www.dropbox.com/s/qmy0xn7vfdxs0hs/Screenshot_2014-10-23-12-44-59.png?dl=0

https://www.dropbox.com/s/lw6vjg2nn8zmpyk/Screenshot_2014-10-23-12-45-15.png?dl=0
[Android Apps and Games] *wii360*:
it look like you have instelled the settings app but noch changet the systemUI.apk.

are you sure you overwrite the old systemUI with the moded, and set premissions to RW-R-R-, and finish with reboot???
[Android Apps and Games] Gerxp:
I overwrite with a filemanager...X-plore. It has root access and when I copy it to priv-app then is asks to overwrite. Permissions are set automatically, because when I check after copying, the permissions are set to 644 RW-R--R--

Lastly I reboot yes.

But is there a better way to copy it to prive-app? Then I will try that.

Edit: I think copy process is where it goes wrong indeed. Because file size doesnt change. I will try to delete SystemUI.apk first before copying. ...(thought I already tried that...zzzz)
[Android Apps and Games] *wii360*:
Maybe it's better to put the moded systemUi in a flashable zip.

I never heard b4 about your problem, sorry.

Gesendet von meinem GT-I9505 mit Tapatalk
[Android Apps and Games] Gerxp:
Thanks, yes I will try that because copy operation fail due to permissions denied....

Tho filemanager has root and write access....I tried with X-plore and ES File Xplorer...odd really.

I will try with flashable zip...thanks.

Edit: I just get SystemUI errors all over the place
[Android Apps and Games] carl1961:
[MENTION=5641271]Gerxp[/MENTION] battery installer with app (attached is without app) hope it works

3_Minit_Battery_Mod_SlimSaberKat_recovery_installer.zip
[Android Apps and Games] icedventimocha:
Just a shout out to [MENTION=4309610]NadMaj[/MENTION] the battery master. That's a lot of pngs bro lol.

Sent from my Blood Red HTC One M8
[Android Apps and Games] Gerxp:
It works!. The installer with app did it.

Thank you very much dude! You are my hero.

[MENTION=221114]carl[/MENTION]: Can you tell me which smali files did you use? And which apktool?

Did you something special to make it work?
[Android Apps and Games] Netuser:
Why my 3minit battery setting only show a very small number of battery in only offline and users. 15

All other folder are empty pass2001 etc are all empty

I am using GF 4.4.2 TW ROM on my S4

Thanks
[Android Apps and Games] kingalessandro:
It happened to me , I solved the problem when I installed last version of the app :)
[Android Apps and Games] carl1961:
I used TickleMyAndroid to decompile and compile, Same way as Video on OP. set video to highest res so you can see

I set apktool to "apktool_1.SlimRoms.KitKat.jar"

I use the first download zip with app in zip 3MinitBatteryModFiles2.2_MD5_2aaf0531d4b8c74b33aacdba79575221.zip.

I had some code examples saved from previous mods done by verious battery mods ( decompiled and copyed them) 3MinitBatteryMod_code.txt

in fact this is [MENTION=4619873]gharrington[/MENTION] code he did for someone way back at beginning of this thread

Mod Fix By	gharrington

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="4.0dip" systemui:batteryView="statusbar" />

<com.android.systemui.BatteryCircleMeterView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" systemui:batteryView="statusbar" />

<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="4.0dip" />

I only changed "0.33000004dip" to "1.0px"

Your Battery Code

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="1.0px" android:layout_marginStart="4.0dip" systemui:batteryView="statusbar" />

<com.android.systemui.BatteryCircleMeterView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" systemui:batteryView="statusbar" />

<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="4.0dip" />

So all credit to [MENTION=4619873]gharrington[/MENTION] I was just a copycat ;)
[Android Apps and Games] Gerxp:
Wow, kewl. Thanks a bunch. I am gonna copy you hehe.

Thanks to Gary and Pasc too!
[Android Apps and Games] carl1961:
[MENTION=5641271]Gerxp[/MENTION] when you compile SystemUI.apk select to use original sign key
[Android Apps and Games] Gerxp:
[MENTION=221114]carl[/MENTION]

If I do that then I dont have to copy AndroidManifest.xml and Meta-inf to the output apk right?

And how do I create flashable zip?

I do "5 - add system/priv-app to project [andoid 4.4]" ?

And after that "9 - create advanced zip file ? [android 4.1+] ?
[Android Apps and Games] carl1961:
Correct yes you don't have to dont have to copy AndroidManifest.xml and Meta-inf

I downloaded your rom zip and modified it you could just use this zip I gave you
[Android Apps and Games] Gerxp:
Hehe...yes I used your zip. Works perfect on my SlimSaberKat phone.

I just try to install it on my Carbon rom phone.

Maybe you like to try?

Here are my Carbon files:

framework.res: https://www.dropbox.com/s/ozeptdcebawwte3/framework-res.apk?dl=0

SystemUI.apk: https://www.dropbox.com/s/6f75jql40hhi6nc/SystemUI.apk?dl=0
[Android Apps and Games] NeGriTa79:
[MENTION=5282154]pas2001[/MENTION] and [MENTION=4619873]gharrington[/MENTION] Thanks for the help you have given me. Thanks to this post I figured out where I was wrong ... now to re-compile the systemui !!!!
[Android Apps and Games] singh_aman:
how to update ?
[Android Apps and Games] nicknacknuke:
blank statusbar ?

Hi.. tried this on Asus Zenfone 5,

First, i got SystemUI.apk AND SystemUI.odex,

I assumed i can just decompile the apk, modify it, then push back and also deleting SystemUI.odex ?

I also have 2 xml file related to statusbar in my decompiled SystemUI, asus-statusbar.xml, and regular statusbar.xml.

Change both files, add 3 smali files inside "policy" directory...

now the tricky part...

IF i recompile *using original signature* : i got error with KeyGuardTestActivty after reboot, then those infamous "unfortunately, " error.. with com.android.systemui.

IF i recompile with no signature at all, no errors on reboot, but my status bar is missing !
[Android Apps and Games] carl1961:
where is your rom thread? or if you can upload framework folder with all it's files and also your SystemUI.apk and odex, I can deodex for you and try moding
[Android Apps and Games] nicknacknuke:
Yeah, we've been trying to have admins create our own thread.. no luck so far.

Now that would be nice, however i'm on a slow connection right now to upload,

i will let you know when i uploaded it. Thanks a bunch !

---------- Post added at 11:17 AM ---------- Previous post was at 10:49 AM ----------

I've sent you the download link, can not post external links, haven't reached 10 posts.. lol..

let me know if you get it in your inbox :)
[Android Apps and Games] carl1961:
downloading cross your fingers :fingers-crossed:
[Android Apps and Games] nicknacknuke:
Woohow ! Thanks !

Btw, i'm on KK 4.4.2 if that matters..
[Android Apps and Games] carl1961:
[MENTION=3498114]nicknacknuke[/MENTION]

try this (this is not a installer) I could not find any install files for your phone to make installer, so you have to get it to your /system/priv-app folder and delete the SystemUI.odex file.
[Android Apps and Games] nicknacknuke:
No Luck :(

forced closed on com.android.systemui after reboot :(

however, i just found this : http://xdaforums.com/showpost.php?p=56272655&postcount=1452

Should I do those steps before modding ?
[Android Apps and Games] the_vanya1:
It will be nice if you add option for change battery to ctock image and new future - custom 3minit percentage
[Android Apps and Games] carl1961:
[MENTION=3498114]nicknacknuke[/MENTION]

Do you have 3minit battery installed? Did you set permissions on systemUI.apk?

Attached is deodexed files so maybe someone here can try Moding
[Android Apps and Games] carl1961:
Try this, I think I found mistake :silly:

EDIT: try recovery installer zip, if you have custom recovery on your phone
[Android Apps and Games] nicknacknuke:
somehow i can not directly push via adb to /system/priv-app ( I even login to shell and do mount -o remount,rw /system , still can not push to that directory ).

What i did was copy the SystemUI.apk to external sdcard first,

adb shell

su

remount,rw /system

delete SystemUI.apk & SystemUI.odex from /system/priv-app/

copy your SystemUI.apk from sdcard to /system/priv-app/

chmod 644 SystemUI.apk

reboot.

That should do it, right ?

I am trying your newest SystemUI.apk now..

---------- Post added at 02:42 AM ---------- Previous post was at 02:30 AM ----------

[MENTION=3271517]carl1961[/MENTION]

still got FC...

but this time, on boot i noticed there is "Android is optimizing ..." message.

I havent install any custom recovery here yet..

I still have the backup here to restore it..

so.. no problem.. it's ok.

I will try to search more in asus forums on how to deodex this one..

seems like it;s a bit different from others here

Thanks !!
[Android Apps and Games] carl1961:
you need a file explorer to change the permisions to 755

try ES File Explorer and on left slide tab and scroll down and check root

also you can use ES File Explorer to copy file from sdcard to /system/priv-app

also I downloaded UL_ASUS_T00F_WW_2_19_40_18 if you need me to deodex them but you need to soon as you can install a custom recovery
[Android Apps and Games] Jayster0966:
Would like to let others know that I was able to port this great mod to work with the latest ViSiON-X N3 INTL [N9005XXUGNI4] Note3 ROM. Thanks to [MENTION=4619873]gharrington[/MENTION] and the team for providing the means and the method for others to enjoy their work.

Link to the thread and the systemui can be foung here: http://xdaforums.com/showpost.php?p=56298842&postcount=6742

:good::highfive::good:
[Android Apps and Games] nicknacknuke:
rw-r--r-- --> this is 644, right ? :confused:

I was using root explorer, it can mount r/w as well by clicking a button..

but whenever i copy new SystemUI.apk to /system/priv-app/ , the force closed dialog pop up

almost instantly and keep popping up, makes it hard to tap anything else let alone change file permission.

That's why i choose doing it from adb shell.

Actually the latest version now is 2.20.40.9, you get this by accepting the OTA upgrade from phone.
[Android Apps and Games] carl1961:
correct I forgot about possable FC, I always used my recovery to install system apps

Yes I have latest ES Explorer but that one was hany on my PC already
[Android Apps and Games] raja_mastana:
I really love the 3minit Battery Mod app. After trying it - I can't go back to old style battery - which is so boring.

It is a must have app for me - Great work!
[Android Apps and Games] ExactSpy:
Hi You

I really like this app and have used, thank you for this helpful article.

Thanks You:good::good::good::good:
[Android Apps and Games] steveria79:
hi any idea we can change signal icons with a app !?nice idea
[Android Apps and Games] ted77usa:
Decompile SystemUI.Apk..... res/drawable-xxhdpi

EDIT: [MENTION=4943932]steveria79[/MENTION]

Pliz PM me If u need help with those status bar Icons. ....this thread all about 3minit battery icons.
[Android Apps and Games] steveria79:
I mine change the icons with app !? you make ??
[Android Apps and Games] tonyph33r:
i cant seen to recomplie due some type error

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:164)

at brut.androlib.Androlib.build(Androlib.java:183)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:228)

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:160)

... 4 more

i just upload my systemui.apk can someone mod for me thank you
[Android Apps and Games] silentattack:
Does it work with cm11?
[Android Apps and Games] ivanfix:
I try to give you a hand but I also have to give the file framework-res.apk and twframework-res.apk (if it exists in your rom) .

By the way what is the name of the rom?
[Android Apps and Games] ammarsg:
for me worked in my second phone i9100g sokp cm11 rom also
[Android Apps and Games] tonyph33r:
here my systemui and framework. i use note 4 tmobile rom FireKatn4DeodexV2
[Android Apps and Games] ivanfix:
Ok, it should work.

Download the .rar file, you will find the file Galaxy_S5_mod_SystemUI.zip to flash in recovery.

This file installs the modified SystemUI and also the apk of 3MinitMod . Now you can test if the mod works.

If it does not work (FC, bootloop , etc) you can flash the other file to restore the original SystemUI.

Let me know if it works. Hello !

https://www.mediafire.com/?2s22qixdxfhaflp
[Android Apps and Games] oluwaponmile:
Let us know if the mod by [MENTION=1089419]ivanfix[/MENTION] works for you. I have help created one for you as well but decided not to upload until you try the one from [MENTION=1089419]ivanfix[/MENTION]
[Android Apps and Games] tonyph33r:
its work perfect thank you ivanfix and oluwaponmile. but i have one question do you know why went i try to recomplie it give me those errors?
[Android Apps and Games] ivanfix:
I can not know because I do not know what you are doing.

I use the program TickleMyAndroid (with apktool v1.5.2 selected) to decompile and compile and follow the instructions at the first page.

Also take a look at the video.
[Android Apps and Games] Alan-B:
Hi,

??? Your file is not SystemUI S5 !!!!!! There are icons Chromium in the apk.. !!

NB: I also tried with the tuto with SystemUI of the NJ1 but I have just FC!!!
[Android Apps and Games] pratik_193:
is there any way i can get the default samsung note 3 battery icon ? reason i ask is because almost all the developers are not integrating 3minit mod in their rom's & i like the default battery icon...
[Android Apps and Games] pas2001:
Replace systemui with app from rom

Or stock systemui.
[Android Apps and Games] benefat:
3minit battery mode

Hello my friend,i try to put the mod on galaxy note 2 with 4,3 Huricane rom,i do all thinks right and when i flash the advanced zip from recovery,the phone boot and stay only at lockscreen.When i unlock it'doing reboot and reboot and reboot.and it can't start.If you can help me,what i do wrong,thank you
[Android Apps and Games] pratik_193:
any easier way ? can the default battery icon be added to 3minit app ?
[Android Apps and Games] pas2001:
The stock bat is code generated. We make as same as we can in many folder.

See in pas2001 and users folder. You may find some pieces look liked.
[Android Apps and Games] Alan-B:
Hi,

In the video, the codes are not similar that on the explanation of the front page!

I tested to compile SystemUI NJ1 of G900F but nothing works! FC on FC

What solution?

I work in Knox0X0 via OdinMobile

**

T'is is not sams !!!

<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
[Android Apps and Games] ivanfix:
You're absolutely right...

I left the wrong name "S5" on the zip to flash but it clearly was for the tonyph33r's rom and is not to be used on the Galaxy S5 . I will correct the file as soon as possible!

If you attach the three files (SystemUI.apk, framework-res.apk and twframework.apk) I can try to help you out, okay?
[Android Apps and Games] Gerxp:
Is there any difference in just copying SystemUI.apk to priv-app with a fileexplorer, or using SystemUI.apk in a flashable zip?

Or is that totally the same?
[Android Apps and Games] edzamber:
Its the same but with file explorer you need to change permissions into rw-r-r and reboot.

With a flashable Patch, permissions are set automaticly.
[Android Apps and Games] Gerxp:
After copying I instantly get systemui errors. That is already wrong right? It means that the SystemUI.apk is wrong right? So a reboot will not help.
[Android Apps and Games] edzamber:
It normal, you have to reboot.
[Android Apps and Games] ivanfix:
Have you installed the 3MinitBatterySettings.apk before replacing the SystemUI?

It's very important!
[Android Apps and Games] edzamber:
With flashable Patch you can install SystemUi + 3MinitBattery app in same time.
[Android Apps and Games] Gerxp:
Yes, but after copying to priv-app, systemui errors keep popping up.

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

?? Really? Are you sure?
[Android Apps and Games] edzamber:
Yes i'm sure.

Upload me your SystemUi and i 'll make a patch.
[Android Apps and Games] pas2001:
Make sure add 3 smali files in correct place.
[Android Apps and Games] gharrington:
You are using incorrect apktool version use 1.5.2 this has been covered many times in thread already mate. Guys please search thread before posting...
[Android Apps and Games] gharrington:
Working on new app and now using multi threading to download images for a faster result. Also changed to grid view I think it is much better.
[Android Apps and Games] pas2001:
Will be #112
[Android Apps and Games] mcnaught82:
Can you make this into a flash able zip for the AT&T S5?
[Android Apps and Games] G.M.L:
Where can we find these perfect battery icons except inside the apk to download it please??
[Android Apps and Games] mcnaught82:
Im using android multitool and it keeps failing

---------- Post added at 02:08 PM ---------- Previous post was at 01:44 PM ----------

I dont know whats wrong. I can recompile the apk without the smali files, when i insert the smali files, it fails
[Android Apps and Games] gharrington:
Multitool uses latest beta apktool not version 1.5.2 as covered in this thread many times mate.
[Android Apps and Games] mcnaught82:
Can you make me a flashable zip to use on the AT&T S5?
[Android Apps and Games] pas2001:
If you mean gary showed screen. It will available in new version mate. Be patient [emoji4]

---------- Post added at 07:41 AM ---------- Previous post was at 07:40 AM ----------

And how can you use if not mod systemui.
[Android Apps and Games] mcnaught82:
Got my friend to mod it for me and turned it into a flash able zip that works on the att s5
[Android Apps and Games] pas2001:
Flash zip to install app?

You may ask your rom dev first?

---------- Post added at 07:45 AM ---------- Previous post was at 07:44 AM ----------

What rom u use?
[Android Apps and Games] mcnaught82:
I will not share it without permission 1st
[Android Apps and Games] pas2001:
I mean ask your dev if he interesting to put this mod in rom.