yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Alan-B:
Hi,

Hello,

I have to modify my systemUI for a TAB Android 5.0.2

But the taskbar it is put on the left! And not in the center!

What is the error?

*******

Thank you in advance

My system_Icones.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:alpha="@dimen/status_bar_icon_alpha" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="@dimen/signal_cluster_gap">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_gap" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/battery_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/battery_text_margin_top" android:alpha="@dimen/status_bar_icon_alpha" android:importantForAccessibility="no" android:fontFamily="sec-roboto-light" android:layout_marginStart="@dimen/battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="@dimen/status_bar_icon_alpha" android:layout_marginStart="@dimen/battery_icon_start_margin" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
[Android Apps and Games] eckocompile:
Thanks man!
[Android Apps and Games] revanthina:
Can u make for me sir

https://www.dropbox.com/s/smnilv4i59gjlkk/systemui.zip?dl=0
[Android Apps and Games] malbert16442:
[MENTION=4619873]gharrington[/MENTION]

THis no longer works for andriod 5.1.1 touchwiz s5
[Android Apps and Games] The Sickness:
Of course it does. I'm on 5.1.1 on the S6...

Look for:

SystemUI/res/values/system_icon.xml
[Android Apps and Games] malbert16442:
thats the problem

That location doesnt exist its

SystemUI/res/layout/system..

do you have the edits for it because somethings wierd happens when i compile apk it boots but at lockscreen it crashes and sytem ui goes on an endless reboot so i was like **** it apktool doesn't like my anyway
[Android Apps and Games] davidisflash:
malbert, I think the issue you are seeing is the same as me. Look at my post few posts back where I gave snippets from the file. With the CM12.1 nightly I was using, I think after July 9th they now have additional battery resources in the system_icons.xml file. I've tried different combinations of modding the file but keep getting the endless FC loop like you do.

If anyone can figure this out it would be of tremendous help. I'm a paid user of 3minit battery and really appreciate all the help you guys have provided thus far...would love to be able to keep using this with latest nightlies on CM12.
[Android Apps and Games] Drayspencer:
If you ever get it figured out please let me know. I have the paid version and would like to use the mod again. I am on Note 4 - cm-12.1-20150721-NIGHTLY-trltespr. Let me know how I can help.
[Android Apps and Games] Oohhlala:
this is whole line for showing battery in my status bar ( xperia device ) so what i have to change :confused:

<LinearLayout android:gravity="right|center" android:id="@id/battery" 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">
<ImageView android:layout_gravity="start|center" android:id="@id/battery_percent_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textSize="@dimen/battery_percent_text_size" android:textStyle="bold" android:gravity="center" android:layout_gravity="start|center" android:id="@id/battery_text" android:layout_width="@dimen/battery_percent_text_layout_width" android:layout_height="wrap_content" android:singleLine="true" android:layout_marginStart="@dimen/battery_percent_text_start_margin" />
</FrameLayout>
</LinearLayout>
[Android Apps and Games] pas2001:
I think follow this words " If you can't find similar values to" com.android.systemui.BatteryMeterView" look for the line that contains" android:id="@id/battery" and change this line instead." in OP it mean your uppermost line.
[Android Apps and Games] gharrington:
Change the line with Id=battery_icon mate. But ensure you give new line the same I'd.
[Android Apps and Games] Oohhlala:
before posted the question, i did following the guide ( change whole my line by OP's line ) and then i got FC

ok, i will try this way and change id in your line by "@id/battery_icon" :)

.
[Android Apps and Games] mcnaught82:
Anybody else here like the red and silver battery theme?
[Android Apps and Games] mcnaught82:
Here is the link for the Chrome and Red battery mod. After you flash this zip, Go to 3minit battery mod settings, and tick the box as shown in the picture, then select the folder where the icons are located. Thank you pas2001 for the mod. https://www.dropbox.com/s/7d1w22ottme0las/redchrome_bat_MOD.zip
[Android Apps and Games] -SAM-:
Please help unable to recompile systemui

Device - tab 2 p3100

rom - cm 11

C:\apktool1.5.2>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\apktool1.5.2\SystemUI\res/values-mcc???-mnc1
1
invalid resource directory name: C:\apktool1.5.2\SystemUI\res/values-mcc???-mnc7

invalid resource directory name: C:\apktool1.5.2\SystemUI\res/values-mcc???-mnc8

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\SHIVAM~1\AppData\Local\T
emp\APKTOOL2210167649016954755.tmp, -0, arsc, -I, C:\Users\Shivam joshi\apktool\
framework\1.apk, -S, C:\apktool1.5.2\SystemUI\res, -M, C:\apktool1.5.2\SystemUI\
AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
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.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:
\Users\SHIVAM~1\AppData\Local\Temp\APKTOOL2210167649016954755.tmp, -0, arsc, -I,
C:\Users\Shivam joshi\apktool\framework\1.apk, -S, C:\apktool1.5.2\SystemUI\res
, -M, C:\apktool1.5.2\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 19, --target-sdk-version, 19, -F, C:\Users\SHIVAM~1\AppData\Local\Tem
p\APKTOOL2210167649016954755.tmp, -0, arsc, -I, C:\Users\Shivam joshi\apktool\fr
amework\1.apk, -S, C:\apktool1.5.2\SystemUI\res, -M, C:\apktool1.5.2\SystemUI\An
droidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
[Android Apps and Games] NEXT14:
Hi there

two problems I have

first:

I have made all changes in the systemui and when I reboot my statusbar is completely gone.

I've tried TickleMyAndroid and since my statusbar disappears also completely

Can someone please help me?

second:

As I had 4.3 I have with "The Rome fumbler" aka "The Battery Icon Creator" my own battery-created as flash zip and I would love to get back to running on 4.4.2. Only when I flashe after me systemui crashes.

(the folder have been adjusted for 4.4.2)

NEXT14
[Android Apps and Games] pas2001:
What fone what rom?
[Android Apps and Games] NEXT14:
see signature down
[Android Apps and Games] gharrington:
Make sure you copy META-INF and AndroidManifest.xml from original apk to modded one.
[Android Apps and Games] NEXT14:
ok I'll try it again and will make sure exactly
[Android Apps and Games] NEXT14:
ok i tried it again and after the restart the systemui is stopped
[Android Apps and Games] pas2001:
Sorry tapatalk can't see signature up or fown.
[Android Apps and Games] NEXT14:
Samsung Galaxy S 4 i9505

Rom: ~BoBCaTROM_v13 ~KK 4.4.2

Theme: BlackandColors*NEW V5. KK 4.4.2**ONLINE**

link in text
[Android Apps and Games] pas2001:
You have only 1 problem mate. It is how to make 3minit can use in your fone.

If it solved. You can copy your icons ( if name stat sys battery xx and stat sys battery charge animxx) in 3MinitBatteryIcons folder in sdcard. Then you can choose as the above post #326.

For the mod systemui if want some help try paste your app here in this thread.
[Android Apps and Games] NEXT14:
here my systemui.apk
[Android Apps and Games] the_vanya1:
Can you add this functional http://xdaforums.com/showthread.php?t=2633378 to this mod?
[Android Apps and Games] pas2001:
send back via pm please test .

---------- Post added at 09:49 PM ---------- Previous post was at 09:47 PM ----------

what function?

battery folder?
[Android Apps and Games] the_vanya1:
Set battery text size

Choose any color battery

Show/hide battery text

Set mid battery value

Set low battery value

Set mid battery color

Set low battery color

Choose any color battery text

---------- Post added at 06:12 PM ---------- Previous post was at 05:52 PM ----------

I changed battery style and size, but in ... minutes battery changed to stock png, size dont changed (i use xposed framework)
[Android Apps and Games] bdorr1105:
I can definitely help with this I had it work on cm 12.1
[Android Apps and Games] bdorr1105:
Here give the attached SystemUI.apk a try..It should work, I have done this on Blisspop

Also, make sure you installed the MinitResources.apk, do not confuse that with the 3MinitSettings.apk from the market. I usually push that to system/app and obviously the SystemUI.apk is self explanitory....Let me know if it works
[Android Apps and Games] davidisflash:
Thanks! Did that resources apk change name? The one I've been pushing to my system/priv-app is the battery settings apk (maybe my version is way out of date)? In the how to in OP, I see link to the market app but not the batteryresources apk latest version. What am I missing?

Also my bet is that trying another ROM's systemUI apk will most certainly cause FCs...that's why I posted my own ROM's system apk and such to see if anyone could specifically help me edit its contents.
[Android Apps and Games] bdorr1105:
so you need to go to http://3minit.com/ go to downloads and download version 3.1 or click here to get the latest smali and Minit Resources apk...This is in addition to y ou installing the settings apk...You can get the latest free version of settings from the same page or by clicking Here

You do that, you will be all set
[Android Apps and Games] gharrington:
3Mnit Android Studio

http://xdaforums.com/android/apps-games/3minit-android-studio-mac-windows-soon-t3162639
[Android Apps and Games] davidisflash:
Thanks! I was missing that batteryresources apk. I only had the smali files in the package. I think I was using a smali package from many months ago so assumed I had everything since my mod still worked.
[Android Apps and Games] bdorr1105:
Glad everything is good to go now man....Enjoy
[Android Apps and Games] davidisflash:
My response was misleading I think. Yeah I was missing that apk but I haven't yet tried the mod again. I've been a little hesitant. Been on stock based ROM for awhile now with 3minit already baked in.

Still need to nandroid backup and try this at some point. Stock has been working great so need to find the motivation to ditch it lol :)

Will let you know once I try this again. I'm still convinced that starting on or day after 7/9 version of CM12.1, this is causing everyone headache. Before that date my mod worked fine with 3minit even without that apk so wondering while all of a sudden I would need that apk?
[Android Apps and Games] bdorr1105:
There is no reason to be worried. I been working fine on CM 12.1, have not had an issue yet....This 3.1 update requires the resources apk in additon with the settings, not sure how it ever worked unless you are using an older version. I would just back up and not look back. There is nothing to worry about
[Android Apps and Games] Drayspencer:
Could you mod this for me sir...cm-12.1-20150721-NIGHTLY-trltespr. The other you did for me stopped working once I flashed 12.1....TIA
[Android Apps and Games] davidisflash:
Thanks for uploading this. Once you have a working version I'll pull your apk and compare the mod changes to what I need since your cm12.1 apk will be very very similar (if not same as) mine for trltetmo.

---------- Post added at 10:30 AM ---------- Previous post was at 10:30 AM ----------

Thanks man. Yeah I may have just been lucky.
[Android Apps and Games] bdorr1105:
OK so when you flash the zip file it will install the Resourses.apk and Settings.apk (free version) and it will function right out of the box.

3Minit_Battery_cm-12.1-20150721-NIGHTLY-trltespr.zip - MD5: 42b85e8dbaaecb76f0ed89776e914197

Please report back what happens, I will use a different zip with an updater script. Please report back
[Android Apps and Games] Alan-B:
Re..

Anybody has not an idea for a solution to the centring ? :(

It is in the xml or in the .jar of 3Minit . . . . . . .
[Android Apps and Games] Drayspencer:
Awesome...works like a charm.....TYVM. You are always so helpful to us old folks that don't have a clue. :highfive:
[Android Apps and Games] davidisflash:
You guys are great :) Nice teamwork on this forum...one of the friendlier and cleaner ones on xda no doubt. 3 minit team, well done
[Android Apps and Games] bdorr1105:
Glad it works thanks for reporting back the results
[Android Apps and Games] Drayspencer:
I must agree with you!!!

No problem and TY again.........
[Android Apps and Games] quicktrap:
Hi, im using existenz y v2.0

i followed this instruction: http://xdaforums.com/showpost.php?p=61644056&postcount=1632

my problem is the battery icon color does not change, but when I pull down the notification and only when I do, that's when i can see that the supposed color is there.
[Android Apps and Games] davidisflash:
Guys it worked!!!!! I didn't have to do anything differently to mod the newer CM12.1 nightlies after 7/9...simply find the same battery/id line, change dip to 0.0 and add the additional line per gary's instructions. Nothing else needed like making sure that line is at the bottom of the file, nothing. My issue was simple: I wasn't using the latest 3minit 3.0 version package of smali files and battery resources apk. I made sure to install 3 minit pad from market, open it once, then install 3 minit battery resources file, THEN finally push the modded SystemUI to system/priv-app/SystemUI and change permissions to 644 before rebooting.

Thank you so much for your help! Back in action!
[Android Apps and Games] manuelmagix:
dual sim??

Enviado desde mi Aquaris M5 mediante Tapatalk
[Android Apps and Games] quicktrap:
Hi, nope, im not using dual sim. Using Xperia Z2 with Existenz 2.0 ROM. Thanks!
[Android Apps and Games] amazingpwnz:
[IMG="fix"]https://dl.pushbulletusercontent.com/Gfq9Le1uup1nn7mAwP1SApVKuRRUPOAe/Screenshot_2015-07-30-16-21-44.png[/IMG]

how can I fix it?

Samsung Galaxy note 2

All working except colourable. Always double percentage
[Android Apps and Games] pas2001:
Go to setting tab and set color of text to 00ffffff
[Android Apps and Games] murat_:
Which file i can flash note 3 n900 exynos?
[Android Apps and Games] brahma666:
how can I install on note 3, lollipop 5.0,

I can count on?

thx

jak mogę zainstalowac na note 3, lollipop 5.0,

mogę liczyć na pomoc?

dzięki
[Android Apps and Games] Cdmills:
I'm using alliance rom v1.2.1 on t-mobile note 3. Can anyone help with 3minit battery? My computer is broken so I can't decompile and compile as instructions say. Thank you in advance
[Android Apps and Games] revanthina:
Anyone can help me?
[Android Apps and Games] gharrington:
3Minit Android Studio

Windows version of 3Minit android studio is now released you can get it here
[Android Apps and Games] CovyPark:
Thanks!!!

I'll try it in my device
[Android Apps and Games] JMak00:
Im on a rooted lg g3 using android os 4.4.2. Is there still a free version of this to try? If not, do i simply dl and install the version from the play store?

Lastly, do i need a pc to use this battery mod or is it simply dl'ing and installing the play store version on my device?

Thanks in advance.
[Android Apps and Games] JMak00:
Sorry to say that this is an incredibly frustrating thread... I have been reading this thread for most of the day and still have yet to see a step-by-step to decompiling, recompiling, and pushing. Maybe this is basic 101 stuff, but perhaps a link to a solid thread with such steps would be helpful here. The actual changes are well explained...it's just getting into the process that is an unknown here to a relative modding noob.

I know I need akptool and the resources apk, but beyond that...completely lost.

Would appreciates some nooby help, if one of you would be willing to lend a hand.

TIA!
[Android Apps and Games] gharrington:
I can understand the frustration but there are already countless guides here on that stuff so I don't get into the habit of re writing stuff over again. Please use the search bar here on XDA you can also you my new tool to help I posted the link a few post back.
[Android Apps and Games] JMak00:
Thanks for the quick response. Are you referring to the 3minit studio? I followed the link...I have to suppose that this stuff is designed and instructions written for experienced users of which I am not.

Edit:

Okay, trying the studio route here...

DL'd and installed java 7.

Saw references in this thread to "framework" - where is that framework?
[Android Apps and Games] gharrington:
Depending on your device/firmware you will need framework-res.apk from system/framework folder in your device or from your rom zip. Also you may need another framework file for example Samsung device require twframework-res from the same folder.

Install it/them leave the tag blank for now you wont need to use it.
[Android Apps and Games] kevandang:
I did a search but nothing came up. Was wondering if their is a zip for 3minit already out their for Resurrection Remix 5.4.6 for the n900t?

Or if someone that would be willing to make a zip if I supplied the right files.
[Android Apps and Games] cdzo72:
It's not that easy... you haven't even read the OP... IF you had you'd know that.

There is probably a thread in your device's forum here at xda
[Android Apps and Games] skrapmetal:
Spent hours on this with no luck.

I am on SlimKat ROM

http://xdaforums.com/showthread.php?t=2561125

I am using Tickle My Android to decompile/recompile but I always get errors and have tried every apktool, even on Slimrom kitkat. Need a little help on what to try next, I have installed this on other ROMs before but this one isn't working. Thanks.
[Android Apps and Games] Ticklefish:
What errors are you getting?
[Android Apps and Games] skrapmetal:
I won't have access to my computer for the next two days but I will report back with my error log. Thank you.
[Android Apps and Games] Josephigloe:
Can someone help me and make me a flash able zip for 3minit i have tried over and over with no luck so if anyone would pleas help i downloaded my SYSTEMUI and Framework-res.apk

Thank you in advanced.

https://mega.nz/#!sFNikRpD!w0DSnRHfhhZM22Uk7zQh8nv2ZGYONP4lBuiDkNVL8wg

https://mega.nz/#!lZlwhIYC!QKgx4DXG5pYrE29gDM2NGhLHOQ9gz2RFlmrzvj_bRMc
[Android Apps and Games] ballerd:
Nice work dude appreciated
[Android Apps and Games] Mr_Happy:
Due to issues with my cm12s installation (touch screen partly not working) I switched to cm12.1 nightly. The thing I miss most (next to syncing fb contacts) is the batt mod. I found one that worked (partly), screen stayed black (except for the taskbar). Does anyone know a working version (or do I have to create my own)?
[Android Apps and Games] styropian:
Can someone please help me modify the system ui file for me. I tired but without lack.I'm getting no status bar after reflashing my modded systemui.

I want to run the battery mod in samsung galaxy s5 flashed with [5.1.1][Official][Nightlies]Team-Exodus for Bacon. Relase date: exodus-5.1-20150814-NIGHTLY-klte.

My original systemui and framework are:

http://www.megafileupload.com/9a5j/framework-res[1].apk

http://www.megafileupload.com/9a5l/SystemUI[1].apk

Thanks in advance !!!

Thanks
[Android Apps and Games] oO_CrunK_Oo:
Im facing this double battery icon issue.

Im running the aryamod 7.2 on my note 3 n9005.

Are there any quick solutions to fix that?
[Android Apps and Games] icedventimocha:
If you are using a colored variation, change the percent text color value to transparent, or text size to zero.
[Android Apps and Games] cebs:
I followed everything, but when i flash everything i got systemui stopped...

Tried using latest Tickle My Android, edited system icons xml and added smali files and nothing
[Android Apps and Games] gharrington:
Check your xml edits they must be exact also a logcat of the error would help us to help you look at catlog from the playstore
[Android Apps and Games] andee39:
Having problems changing battery icon. When I try to download it gets stuck on downloading. I'm running MOAR on S5. .

Thanks!
[Android Apps and Games] andee39:
Pls disregard. Working fine now.
[Android Apps and Games] carlitobahsoun:
hi....i got it work great theard.....1 question plz what to edit to remove the stock battery icon it show on status bar beside 3minit battery....thanks
[Android Apps and Games] gharrington:
You have missed one of the steps in the guide where it's say set height and width of stock to 0.0dip
[Android Apps and Games] carlitobahsoun:
i follow ur step in the website....and it work....but the icon....what line i missed to edit??? there was height and width that i edit it as ur guide ....are there another ???,
[Android Apps and Games] gharrington:
This part if step 3 if you have done this then there must be another line but I can't tell you what as it is rom/device/rom developer dependant
[Android Apps and Games] carlitobahsoun:
thanks dear....yes i done step 3.....so what line must be ????
[Android Apps and Games] gharrington:
As I said if you have properly done step 3 I can't tell you as it depends on the mods the rom developer has added on on the rom it's self paste the code from your system_icons.xml I will look at it
[Android Apps and Games] carlitobahsoun:
ok thanks in advance u are verry kind i will do it tomorow as now its 2,44 am in my country ....??
[Android Apps and Games] fong0319:
Can this use on S6 edge??
[Android Apps and Games] gharrington:
Sure can