yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] carl1961:
Thanks [MENTION=4619873]gharrington[/MENTION], I just had to bust it open to see how you did it! ;)

this is on OP

android:layout_width="wrap_content" and android:layout_height="wrap_content"

I see you removed and

android:layout_width="wrap_content" and android:layout_height="wrap_content"

was that a typo error on OP? or is it you just had to do that for this LG G2 lite LGSystemUI.apk

---------- Post added at 06:50 PM ---------- Previous post was at 06:46 PM ----------

you need to post SystemUI.apk, framework-res.apk and you might need some other resource dependent files if your Samsung or LG

Samsung (framework-res.apk, twframework-res.apk)

LG (framework-res.apk, lge-res.apk, com.lge.app.floating.res.apk)
[Android Apps and Games] NadMaj:
[MENTION=4619873]gharrington[/MENTION]

i think we should have a post (maybe post #3) dedicated for existing modded systemUI's to avoid redundancy in requests/help.. that'll help unclog the thread as well..
[Android Apps and Games] gharrington:
Here try this mate.
[Android Apps and Games] gharrington:
Yes already on it mate but can some people help gather???
[Android Apps and Games] gharrington:
Just had to change some differences for LG mate.
[Android Apps and Games] carl1961:
where to gather too?

here is working STOCK NC2 AT&T Note 3

also Downloading battery works with no issue's
[Android Apps and Games] carl1961:
Great I hope it works for the LG G2 mini, It might be the first!
[Android Apps and Games] badkill:
thank you very much, here attached the 2 files, I have a Samsung

framework-res.apk and twframework-res.apk

thanks ;)
[Android Apps and Games] ammar1514:
thanks dude it works!! :good:

did you just add the line instead of replacing? and used different 4dip for margin start?

attached is a working systemui for i9100 (S2) PACrom android 4.4.3
[Android Apps and Games] gharrington:
No other lines were changed too compare to your original to see all changes mate.
[Android Apps and Games] pas2001:
OK.... All guys users and dev. that have the worked systemUI.apk already. Now I request your helps to help other users and help us not to do repeated jobs. Please send your worked systemUI.apk and detail of your devices , your rom (Base too) and other that need to clarified(by pm).I will collect and post in the #3 post for our friends to be shoped....Thank If you post in thread it will scroll up and up and disappear from seeing.

pas2001

---------- Post added at 08:12 AM ---------- Previous post was at 07:42 AM ----------

And where systemUI? Please pack in 1 package...Tell your rom , device again. Thank.
[Android Apps and Games] badkill:
both files are in one package

The package contains: framework.rar

SystemUI.apk and

framework-res.apk
[Android Apps and Games] pas2001:
Yes thank will look asap.

---------- Post added at 08:26 AM ---------- Previous post was at 08:18 AM ----------

In case you shared already. Please send pm to me and tell number of your post.

When I ready to gathering all will look again. Thank.
[Android Apps and Games] AL_IRAQI:
I'll sent my modified systemui later today :)

Sent from my GT-I9500
[Android Apps and Games] JoHnNYBlaZE716:
I seem to be having problems with apktool and cannot recompile without errors. I was wondering if someone would be willing to try to incorporate this mod into my systemui? If so I'll post my systemui when needed. TIA

http://i1370.photobucket.com/albums/ag261/Droid716/IMG_20140615_114712_zpsf390205f.jpg
[Android Apps and Games] pas2001:
Thank and sorry cant press thank button[emoji6]

It allowed for 8 thanks a day.

---------- Post added at 09:55 AM ---------- Previous post was at 09:51 AM ----------

Paste needed files and detail here. We will do the best.

If who didn't recieve response for a long time. Please understand. We may missed or forgot . Try paste again.
[Android Apps and Games] carl1961:
I ran out of thanks to, so I use xda tap talk to give you thanks. ;)
[Android Apps and Games] pas2001:
Thank it can.
[Android Apps and Games] JoHnNYBlaZE716:
which files do you need me to post?
[Android Apps and Games] pas2001:
And what file you have problem?[emoji4]

---------- Post added at 10:31 AM ---------- Previous post was at 10:20 AM ----------

HEY in zip i find no twframework res

Only framework res and systemui

BTW in rom have s5 mod?
[Android Apps and Games] badkill:
Sorry, I forgot to attach the file but here attached twframework.apk

https://mega.co.nz/#!R9AgTKgY!yREcAT7ERKGQ9lI7Sn_MZVmgIxGV7sBlq1FgdY1Dzdo

And I have no mod s5 in ROM, this stock
[Android Apps and Games] pas2001:
Then try this.http://www.mediafire.com/download/xxm3xesmvv9rmf0/SystemUIbadkill.rar

Please report . If work I will mark as for I9505 Goldeneye rom V.37

---------- Post added at 12:20 PM ---------- Previous post was at 12:03 PM ----------

[MENTION=3494999]Richcar[/MENTION] [MENTION=3243353]mydonose[/MENTION] [MENTION=4278949]Romcrazguy[/MENTION] [MENTION=5140419]radzmin[/MENTION] [MENTION=4395082]NEXT14[/MENTION] [MENTION=5132538]DroidX77[/MENTION]...Your mod app work well right?

Your mod app still in my mediafire folder but save in your name .

So please contact me to know which device you asked me mod and which rom it is . I can't remember them.:eek:
[Android Apps and Games] badkill:
Everything works fine, thank you very much for your time and help :)
[Android Apps and Games] pas2001:
I make temporary INDEX at post#10 to some start. Hope it will good rearrange soon.
[Android Apps and Games] NEXT14:
:good: Everything works fine, thank you very much for your time and help :good:

Samsung Galaxy S 4 i9505

Rom: ~BoBCaTROM_v13 ~KK 4.4.2

Theme: BlackandColors*NEW V5. KK 4.4.2**ONLINE**
[Android Apps and Games] DaOldMan:
Will send mine for n8000 in the evening. It has other fixes as well ?
[Android Apps and Games] skrapmetal:
I wonder why my systemui force closes after install. Am I doing something wrong on my end?
[Android Apps and Games] DaOldMan:
Okay here is a link to my mod for n8000. You can take the files from it for anyone to use. It's for Gnabo Rom 5.5 N8000 only:

http://xdaforums.com/showthread.php?p=54549108
[Android Apps and Games] pas2001:
Xcuse me what your rom name? i will share in index post It BobCatRom V13 I9505 ?. Thank

---------- Post added at 02:07 PM ---------- Previous post was at 02:03 PM ----------

Thank very much for response sir.

---------- Post added at 02:13 PM ---------- Previous post was at 02:07 PM ----------

I cant search back to your earlier posts mate. Would you have chance to tell the detail , the process you do please?
[Android Apps and Games] NEXT14:
allright
[Android Apps and Games] pas2001:
Then thank It place in post 10 now
[Android Apps and Games] -SAM-:
recompile error

Please Help i am unable to recompile systemui

device- tab 2 p3100

rom- cm 11

C:\Users\Shivam joshi\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:\Users\Shivam joshi\apktool1.5.2\SystemUI\res
/values-mcc???-mnc11
invalid resource directory name: C:\Users\Shivam joshi\apktool1.5.2\SystemUI\res
/values-mcc???-mnc7
invalid resource directory name: C:\Users\Shivam joshi\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\APKTOOL7361426444707579217.tmp, -0, arsc, -I, C:\Users\Shivam joshi\apktool\
framework\1.apk, -S, C:\Users\Shivam joshi\apktool1.5.2\SystemUI\res, -M, C:\Use
rs\Shivam joshi\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\APKTOOL7361426444707579217.tmp, -0, arsc, -I,
C:\Users\Shivam joshi\apktool\framework\1.apk, -S, C:\Users\Shivam joshi\apktoo
l1.5.2\SystemUI\res, -M, C:\Users\Shivam joshi\apktool1.5.2\SystemUI\AndroidMani
fest.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\APKTOOL7361426444707579217.tmp, -0, arsc, -I, C:\Users\Shivam joshi\apktool\fr
amework\1.apk, -S, C:\Users\Shivam joshi\apktool1.5.2\SystemUI\res, -M, C:\Users
\Shivam joshi\apktool1.5.2\SystemUI\AndroidManifest.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] *wii360*:
Here you go,

I have 2 S2 systemUi moded.

One for omega rom v24

One for Goa rom v7

http://www.mediafire.com/?wf99owmd3aqg2
[Android Apps and Games] NEXT14:
thx

but: but write the theme "BlackandColors * NEW V5. KK" added because without which it would have been easier. With the theme everything is a little different and is not easy to make a change
[Android Apps and Games] pas2001:
You mean this theme make some affect to mod right?
[Android Apps and Games] NEXT14:
yes the theme changed a lot and not only the design
[Android Apps and Games] Vagelis1608:
It works! Thanks a lot! :D

EDIT: Screenshot:

Sent from my D620R [Stock 4.4.2]
[Android Apps and Games] Droidcore:
Sorry forget say thanks :) and give you thank button :D
[Android Apps and Games] ammar1514:
here is a screenshot of the changes that were made by gharrington incase anyone might be interested
[Android Apps and Games] The Sickness:
i9505 GNF1 SystemUI.apk

[MENTION=5282154]pas2001[/MENTION] here is my SystemUI.apk for the i9505 GNF1.

Anyone may use it if needed.

Link to my rom is GNF1 V3

Link to SystemUI is here
[Android Apps and Games] -SAM-:
i am still unable to recompile systemui
[Android Apps and Games] The Sickness:
Have you tried to decompile then recompile with NO edits?
[Android Apps and Games] skrapmetal:
I installed the app first and opened it. Then I went into recovery and flashed systemui. Rebooted... and it force closes. I tried it again this time installing it manually through root explorer, fixed permissions and it still force closed. I did notice the new files you sent me were smaller than what I uploaded. Maybe that's why it didn't work?

Here's my files again. I am on a S4 L720 on the SOKP 4.4.4 rom. Link to ROM: http://xdaforums.com/showthread.php?t=2724848
[Android Apps and Games] ammar1514:
try to make the changes like in the screenshot and see if that works or post your status_bar.xml
[Android Apps and Games] carl1961:
I looked and yours for Him it is not the same,

also the SOKP 4.4.4 rom has a customized circle battery code . when I saw that I quit LOL
[Android Apps and Games] skrapmetal:
No hope for me eh? Lol
[Android Apps and Games] carl1961:
if you can get a unmodified systemUI for the SOKP that would help

also I could not get apktool 1.5.2 to decompile, I did get TickleMyAndroid apktool_1.SlimRoms.KitKat to decompile your SystemUI.apk
[Android Apps and Games] gharrington:
I am at work now but is you upload your unmodified status_bar.xml I will mod for you later.
[Android Apps and Games] gharrington:
If you want to fix for him now see these 2 lines:

<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.0" android:layout_height="0.0" android:singleLine="true" systemui:batteryView="statusbar" />

Change them as above the add the bottom ≤MinitBattery line from op directly under it. Make sure it does not contain the Id="battery" part
[Android Apps and Games] gharrington:
Yes but width and height in BatteryCircleMeter needs dip after 0.0 or you will get compile errors
[Android Apps and Games] DevilDog512:
Good lord man! You guys are hero's with the support. I've never seen anything like it! Where do you see this project going forward? Is it possible to make an all in one app or would that require way too many variables?
[Android Apps and Games] skrapmetal:
You said it. I've only been a part of one other group who helped out like this. Very impressive and appreciated!
[Android Apps and Games] carl1961:
Yep I had that error. You got the eyes of eagles ;)

I had lot's of trouble recompiling so here is the only one that I could get to recompile. I have no way to test.

looks like [MENTION=4619873]gharrington[/MENTION] to do
[Android Apps and Games] pas2001:
This for [MENTION=5751011]skrapmetal[/MENTION] ? If test and worked please report so I will gather to post 10. Thank [MENTION=3271517]carl1961[/MENTION]
[Android Apps and Games] gharrington:
I have thought about making all in one but it would have been easier with older firmware but too many variables now yes. I have many ideas but will see where it goes new update not too far away.
[Android Apps and Games] skrapmetal:
Phenomenal job! It works! Changes immediately to another battery. I love it! Devs really should bake this into all new kit kat ROMs to give full customization. Thank you guys so much for taking out time to help me. I'm truly grateful. By the way, do you have a donate link?
[Android Apps and Games] pas2001:
Please confirm your debice and rom by detail thank.
[Android Apps and Games] skrapmetal:
Sprint SGS4 L720

Rom: SOKP-MS-04-KK444

Works perfectly. Thank you!
[Android Apps and Games] Pain-N-Panic:
Please help

I've been trying to get this mod to work for about a week now. I'm on a Nexus 5 running Dirty Unicorns 4.4.4 kitkat. It has an already heavily modded systemUI with a few battery icons in the "dirty tweaks" option in the settings menu. ApkTool 1.5.2/1.5.3 WILL NOT decompile my systemui or install my framework since they are heavily modified. I got my hands on the custom slim bean 2.0 beta apktool that bypasses the errors I received with my other apktool. My framework installs, my systemui decompiles and I make the mods per the OP to the T. When I decompile this is the error that I receive:

systemui\smali\com\android\systemui\statusbar\policy\MinitBattery$1.smali[24,4]

Error for input '.parameter': Invalid directive

systemui\smali\com\android\systemui\statusbar\policy\MinitBattery$1.smali[40,4]

Error for input '.parameter': Invalid directive

systemui\smali\com\android\systemui\statusbar\policy\MinitBattery$1.smali[41,4]

Error for input '.parameter': Invalid directive

systemui\smali\com\android\systemui\statusbar\policy\MinitBattery$1.smali[40,15]

mismatched input '"context"' expecting END_METHOD_DIRECTIVE

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

: com/android/systemui/statusbar/policy/MinitBattery$1.smali

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:342)

at brut.androlib.Androlib.buildSources(Androlib.java:303)

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

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

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

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

C:\apktool>

Obviously it does not like the modded smali files that I put into the policy folder. ANY HELP appreciated. I love this rom (best on the N5 for sure) but I would really love to use this mod as I am a huge fan of battery icons. I dont care if I have to tear this ROM down to its roots and adjust whatever is needed, I'll do it =)

** Also, when I installed this app, all I did was install it like a regular APK file. Do I need to move it to a specific path such as system\app?
[Android Apps and Games] gharrington:
Upload the your SystemUI.apk and ALL the .apks from your ROMS framework folder and I will see what I can do...
[Android Apps and Games] Pain-N-Panic:
uhhh you're awesome! I only have one apk from the framework folder, its the framework-res.apk. Trust me I already exhausted that route of possibly missing another apk in the framework folder.
[Android Apps and Games] skrapmetal:
I've been playing with this app for over an hour. Its great! Only suggestion I have maybe for a future release would be the ability to control the speed of the charging animation. 10/10 so far!
[Android Apps and Games] Pain-N-Panic:
Here they are, my framework-res.apk (only apk in the framework folder) and my systemui.apk. Thank you VERY much!
[Android Apps and Games] gharrington:
To be sure this is the only .apk in your framework folder??
[Android Apps and Games] Pain-N-Panic:
Yup....its the only one.

Also, after some googling of the error I received I came to a post that stated this:

"It sounds like the smali files were produced by baksmali 1.*.

There were a handful of changes in the format between 1.* and 2.*. To convert the smali to the new format, you can assemble the old smali files with smali 1.4.2 (https://code.google.com/p/smali/downloads/detail?name=smali-1.4.2.jar), and then disassemble with the latest baksmali."

I went to that link but have no idea how to use the smali 1.4.2 to convert the smali files on your mod folder to the "newer" version..
[Android Apps and Games] gharrington:
I will do when I reach home mate.
[Android Apps and Games] carl1961:
you use smali to decompile and recompile

attached is what I put together and use when I need to change smali versions

I had a guide but cannot find it lol, and the one I had online I cannot get it to download from where I had it

Edit: [MENTION=5188663]Pain-N-Panic[/MENTION] found my missing file http://www.mediafire.com/download/a6e09trswf8a3n3/jar_file_decompile_and_compiler_with_tutor.zip
[Android Apps and Games] pas2001:
We've thought about it. But need proper time. It many idea from gary brain...
[Android Apps and Games] talkingmonkeys:
Will definitely be adding this to my systemui and more than likely baking it in my rom to replace an older mod ?

Awesome work looking forward to trying this out.
[Android Apps and Games] carl1961:
also do the

3Minits quicklaunch panel
[Android Apps and Games] gharrington:
Done mate enjoy.

How to:

1. Install framework files manually to get around that apktool error. (Could use your slim bean 2.0 beta to do)

2. Use apktool 1.5.2 to decompile

3. Make edits as per op

4. Recompile using apktool 1.5.2 and copy over AndropidMainifst.xml and META-INF folder.
[Android Apps and Games] gharrington:
Sure on left hand side just under my avatar. Glad it works mate.
[Android Apps and Games] Pain-N-Panic:
THANK YOU!

However I'm not quite sure what you did to get it to work....what do you mean exactly by installing the framework "manually?''
[Android Apps and Games] radz_:
[MENTION=5282154]pas2001[/MENTION] yes mine works great... ROM Emperium V8.0 XXUGNG2
[Android Apps and Games] gharrington:
When you install a framework using "apktool if framework-res.apk" etc all it does is takes the resources.arsc from the framework-res.apk, zips it and copy`s it to the apktools framework folder. So to do manually all you do is take it from the apk, zip it yourself and move it to the folder.

Then there is no need to install with apktool and it eliminates the error you were getting :).

Hope it helps you in the future mate.
[Android Apps and Games] pas2001:
Thank and please confirm your device too.
[Android Apps and Games] AL_IRAQI:
if i make modified systemui for AOSP roms

do i have to update it every nightly ?
[Android Apps and Games] DaOldMan:
Yes because the nightly will overwrite the modified SystemUI

Thomas
[Android Apps and Games] AL_IRAQI:
i know that but i can use older systemui :D
[Android Apps and Games] DaOldMan:
Yes you can. I prefer to mod the new one for the rom to be perfect

Thomas
[Android Apps and Games] Pain-N-Panic:
Nice! That helps a ton! Oh and by the way the modder systemui you gave me worked like a charm. I'm gonna try to do it myself later tonight with your instructions to see if I can duplicate it, just for practice! Thanks again!

And to be clear, I can do ALL of this using apktool 1.5.2 even though I'm on KitKat 4.4.4?
[Android Apps and Games] carl1961:
Not that easy. gharrington, said you have to manually add resources.

For example:

Unzip framework-res.apk with 7-zip

Make a folder called 1 , copy resources.arsc to the folder 1.

Go inside folder 1 right click the resources.arsc and select 7-zip and add to resources.zip

Now rename resources.zip to 1.apk.

Copy 1.apk. to

C:\users\your name here\apktool\framework folder.

Do same for

twframework-res.apk. but to 2.apk

Any other resources would go to 127.apk

What ever way you make the resource files must go to C:\users\your name here\apktool\
[Android Apps and Games] AL_IRAQI:
now thats right or i should change second line too ?
[Android Apps and Games] slim80:
Samsung Galaxy S4 KitKat 4.4.2.
[Android Apps and Games] AL_IRAQI:
Samsung Galaxy S4 i9505 NG4 4.4.2 :)
[Android Apps and Games] AL_IRAQI:
I edit only first line and Systemui fc :(

Sent from my GT-I9500
[Android Apps and Games] gharrington:
Edit second line so height and width both = 0.0dip and remove the android: Id="battery" from the top line (minitbttery line) that's causing the fc
[Android Apps and Games] AL_IRAQI:
i changed it and im still getting fc

can you please edit it for me or anyone :D

im using carbon rom 3/08 nightly

Thanks :)
[Android Apps and Games] gharrington:
I am at work now but please uplaod stays_bar.xml unmodded and I will fix and upload when I get home.
[Android Apps and Games] AL_IRAQI:
ok, Thanks again :)
[Android Apps and Games] pas2001:
Thank mate and where the post of your worked systemUI?.... I am in process of collect all the mod to the index . :D
[Android Apps and Games] gharrington:
Here you go mate. Make sure you have app installed and the smali files in the correct folder...
[Android Apps and Games] DaOldMan:
Dear [MENTION=4619873]gharrington[/MENTION],

Could you change the mod so the size of the battery will resize the status bar hight instead of cropping the battery image? That would be perfect together with the possibility to resize the battery. There is a need to resize the battery more then 30% on my tablet. Also a tablet layout for the control program would be nice.

Thanks a lot for you time

Thomas
[Android Apps and Games] gharrington:
I have already added more size settings for next release mate.
[Android Apps and Games] metalfan78:
[MENTION=5282154]pas2001[/MENTION], thank you. I will try to get the mod working later today and give your battery a test. Thanks!
[Android Apps and Games] ksr007:
Yes ! Very slowly .

---------- Post added at 09:32 PM ---------- Previous post was at 09:27 PM ----------

I want add all batt icon into Offline tab because i have 32gb storage, Space is not a problem . Can you show me how to do that with all your battery icons ?

Slowly speed download really a problem with me and others people .
[Android Apps and Games] pas2001:
For me use about 2 minutes with wifi so It may cause from speed of internet in each area I guess.

And about wanting all bat you choose to be permanently stored in your space please wait for reply from [MENTION=4619873]gharrington[/MENTION] the app creator.

But in my opinion I think this is convenient for me cos normally I dont change style often in real life . Although now I must change every time I upload new type for testing( today 2 times). But I still think gary decision is right.It only my private opinion.