yashsingh1/xdaforums huggingface dataset:
[One (M7) Themes and Apps] nightrainbow:
Hey homeslice,

how about changing just the color of the battery?

From white to green

Is that possible???

I can do it myself, i just dont know where to look/

Nevermind I found it

It's on res/values/attrs.xml
[One (M7) Themes and Apps] Spannaa:
It's in \res\values\arrays.xml - I changed mine to blue

<integer-array name="batterymeter_color_levels">
<item>4</item>
<item>15</item>
<item>100</item>
</integer-array>
<array name="batterymeter_color_values">
<item>#ffff3300</item>
<item>#ffff3300</item>
<item>#ff33b5e5</item>
</array>

You could also change a couple of things in \res\values\colors.xml

<color name="batterymeter_frame_color">#6633b5e5</color>
<color name="batterymeter_charge_color">#ff33b5e5</color>
[One (M7) Themes and Apps] vandyman:
Thanks, I will give it a try. :good:
[One (M7) Themes and Apps] Danish2980:
omni-4.4.2-20131215-m7ul-NIGHTLY

Cant get it to work on this rom..(See title)

Omni already has a mod like this in the rom, only problem is the text is white but always readable..

Cant get Android Multitool to compile my modded systemUI..

I get this error from the program:

..\Decompiled_apk\SystemUI\smali\com\android\systemui\BatteryMeterView.smali[371,4] -256 cannot fit into a nibble

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/BatteryMeterView.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:337)

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

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

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

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

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

I know this program has nothing to do with OP, but hey there must be some smart people in here ;)

Help is much appreciated..
[One (M7) Themes and Apps] homeslice976:
What's your line 371 of batterymeterview.smali say?
[One (M7) Themes and Apps] Danish2980:
This: const/4 v7, -0x100

Forgot to change it to this: const/16 v7, -0x100

Nevermind my stupidity :)

Thank you for the quick response..
[One (M7) Themes and Apps] Spoonk:
Samsung Galaxy SII, Pound ROM CM11 KK 4.4.2

[MENTION=2389354]homeslice976[/MENTION]: Hi, if you're still modding people's SystemUi, kindly asking you if you can mod mine to revert it back into white percentage text because now it's black but I really like the white text showing slowly when battery goes down...

I can't find the proper lines to edit...

This systemui.apk is from Pound ROM, CM11, kk 4.4.2.

Thanks in advance!
[One (M7) Themes and Apps] champstar:
I have an HTC one At&t - cm11 rom

which battery_apk should I use. I've seen a few posted in this forum, and would like to avoid installing the wrong one.
[One (M7) Themes and Apps] ramd4n:
thanks mate
[One (M7) Themes and Apps] itamarkaslassy:
note updates

Changing the systemUI.apk might cause a problem with OTA updates?
[One (M7) Themes and Apps] Darktrooper:
Color Battery Icon

Hy

Great Tutorial.

Sorry for my bad english

I have a question. Seeking entries for the battery icon color.

I have already replaced the png's and the entries in the array and color xml's. Do not have an effect.

Does anyone know where I can change this? Here are a Screenshot
[One (M7) Themes and Apps] Spannaa:
It is in \res\values\arrays.xml - the third item of the batterymeter_color_values array

<integer-array name="batterymeter_color_levels">
<item>4</item>
<item>15</item>
<item>100</item>
</integer-array>
<array name="batterymeter_color_values">
<item>#ffff3300</item>
<item>#ffff3300</item>
<item>[COLOR="Red"]#ffffffff[/COLOR]</item>
</array>

For it to work, you need to include your recompiled resources.arsc in SystemUI.apk
[One (M7) Themes and Apps] Darktrooper:
THX

But have no Effects :(
[One (M7) Themes and Apps] Spannaa:
Strange - it worked fine for me...
[One (M7) Themes and Apps] nickefor:
Hello, can you please tell me which lines i should edit in order to completely hide the battery icon.

In 4.4 things are different i can't seem to do the right modifications.

Thank you
[One (M7) Themes and Apps] thinh182009:
howto use apktool ver... ????????
[One (M7) Themes and Apps] yerkil:
In android 4.3 I just reemplace original systemui.apk for another one that was modified and It ran in all nexus 4 in 4.3, it was so easy. why not the same method in 4.4? The way you explain is too much for me,

This is my systemui.apk, nexus 4 with android 4.4, If you could mod for black and sans-serif,bold it was great. Thanks a lot.
[One (M7) Themes and Apps] pepitoff:
[MENTION=2389354]homeslice976[/MENTION] is it possible in CM11 LX KitKat anzu to change battery frame color to white and inside collor to green.

Or...is it possible to pull new battery png files and made xml files to work with the icons

My goals is to changing battery icon to looks like this one in attachment.

Original icon on KitKat is sooooo ugly :rolleyes:
[One (M7) Themes and Apps] Alan-B:
Hello,

Thank you for the tut.

But I can not do it, but the battery remains mainly white text% is yellow and I can not find how to put red or black!

SystemUI S4 4.4.2 GT-I9505.

Thank you to specify what change!

1 - how to have the text% not yellow but red

2 - how to get the battery in blue

Sorry for my English ..
[One (M7) Themes and Apps] :
great guide!
[One (M7) Themes and Apps] Steve-x:
Used this guide on my Moto X running 4.4.2. Method 1 results in yellow battery text, method two worked perfect, thank you for the great tutorial!
[One (M7) Themes and Apps] Vaga Liki:
Also, [MENTION=2389354]homeslice976[/MENTION] how did you add the upload/download indicators on the WiFi icon? Can you enable it for the 4g (LTE) icons?
[One (M7) Themes and Apps] vyaskd:
This is not working on moto g stock 4.4.2

Any help plz.
[One (M7) Themes and Apps] alen1901:
Is there a way to make color changes to white when battery is empty under 55%? It would be easier to read.

Sent from Pure Nexus 5
[One (M7) Themes and Apps] androidsupersu:
Change the TextColor from the battery %
[One (M7) Themes and Apps] alen1901:
That changes color for overall battery. I want it to be black when battery is =<55% and white when >55%.

Sent from Pure Nexus 5
[One (M7) Themes and Apps] androidsupersu:
If i use method one i got a yelow color, if i use method two i get an kompiling error :/

using Note II with KitKat 4.4.2 NC2
[One (M7) Themes and Apps] sidharth.gtm:
for person using this mod with Moto G and Moto X

for :

iget-object v6, p0, Lcom/android/systemui/BatteryMeterView;->mTextPaint:Landroid/graphics/Paint;

const/4 v7, -0x1

change to :

const/high16 v7, -0x1000000

[MENTION=2389354]homeslice976[/MENTION] : Plz add it main post.

& thanx for this awesome guide.
[One (M7) Themes and Apps] ketron:
Guys, this doesn't work for me, what Im doing wrong?

I copy SystemUI.apk and framework-res to PC, then install framework and decompiling SysytemUI with apktool. Change parametrs wirh method 1, without "high". After it I'm building new apk, copy META-INF and Androidmanifest in new apk with WinRar, pushing it to device, making chmod 644 for it, and reboot. And nothing changed! Still no % ! :( Any advices or ideas?

Moto X xt1053 with stock 4.4.2 rom, if it helps.
[One (M7) Themes and Apps] Mr.Wolf:
I found here that:

const/high16 v7, -0x100 = const v7, -0x1000000 = FF000000

"const/high16 v7, -0x100", gave me compiler error, so I used "const v7, -0x1000000" and it works in nexus5.
[One (M7) Themes and Apps] Marília de Oliveira:
Help me

Well I installed a font more it bugou the symbol of percentage rather than getting the icon percentage>% after I installed the font the icon was just as pictured

how can I fix this?
[One (M7) Themes and Apps] UnicoIjo:
can you share your 1.5.2 ? i want to modify my systemui.apk.. tia :fingers-crossed:
[One (M7) Themes and Apps] Spannaa:
Try looking in The first post in the apktool thread ;)

Sent from my GT-I9300...
[One (M7) Themes and Apps] UnicoIjo:
Thanks Spannaa

but when i decompile it always got this error

"Can't find framework resources for package of id: 2. You must install proper fra

mework files, see project website for more info.."

even i already install the framework-res.apk

using this code: " apktool if framework-res.apk "

then decompile code : " apktool d SystemUI.apk "
[One (M7) Themes and Apps] Spannaa:
You should really ask this in the apktool thread with more info:

Device, rom, apk you're trying to decompile, full error log etc.
[One (M7) Themes and Apps] crownvn:
happened same situation above although I took from my ROM ,apk (this rom is running normally .dont know why? :crying:
[One (M7) Themes and Apps] Spannaa:
If it's exactly the same situation, look in the apktool thread for the solution ;)
[One (M7) Themes and Apps] crownvn:
Hi,

I do same as this thread

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

Do title :

2. How to Decompile and Recompile *.apk file

at d. step after key in code "apktool d Settings.apk" it appear "Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.." :confused:
[One (M7) Themes and Apps] Spannaa:
Sounds like you've not installed all frameworks.

It's really nothing to do with this thread so, if you can't find your answer by searching, you should ask in the apktool thread giving all of the necessary info:

Device, rom, apk you're trying to decompile, full error log etc.

Sent from my GT-I9300...
[One (M7) Themes and Apps] emmantot:
will this work on jellybean rom?
[One (M7) Themes and Apps] Spannaa:
No.

JellyBean uses pngs images for the battery icon.

Sent by bacon...
[One (M7) Themes and Apps] lingfude:
Great guide.

This MOD would be complete if it had an option to Enable/Disable the battery% in Settings>Battery menu or Settings>Display menu. :D
[One (M7) Themes and Apps] lingfude:
I successfully made this MOD in my KK SystemUI.apk, I changed the text color to black, and it works but with a little problem.

I activated the percentage text like this:

const-string v7, "status_bar_show_battery_percent"

const/4 v8, [B]0x1[/B]

The problem is that the percentage text doesn't appear until I enable it with the app battery.percent.apk.

Any idea what might be wrong?

By the way, I used method 2.

EDIT: Solved.
[One (M7) Themes and Apps] QundA:
try any app
[One (M7) Themes and Apps] Alex-V:
works even on s6 edge (android lollipop 5.0.2)...all you must change is

const/16 v23, -0x1

to

const/high16 v23, -0x1000000

to the op.....thx so much
[Galaxy S 4 Q&A, Help & Troubleshooting] asia559571:
I've been trying to find a transparent multiwindow side bar mod for my 19500 4.3 Samsung stock that works but with no luck, so I had the thought of making one myself with APKTOOL or in Virtuous 10, as a noob I,m at a loss as to which resource or xml file I should be looking for, I really want to do this because it would be start to learning something more about Android other than just using an android, (and it would be more Phun). So!...Please can someone point me in the right direction or lead me me the way to someone here on XDA that would be willing to help.

Many Thanks and Kind Regards to All.:confused:
[Galaxy S 4 Q&A, Help & Troubleshooting] laerteeduardo:
I am novice in relation to android, what is the last version of Crash rom for Galaxy s4 i9505G ?
[G2 Q&A, Help & Troubleshooting] brickwall99:
Even with a custom ROM and after wiping data the most I've seen available is 24GB. Where is this 8GB of memory going to? Possible to make it available to use?
[G2 Q&A, Help & Troubleshooting] craigbailey1986:
The phones have partitions. Thus 8gb is set aside for the system. The only way to get it back Is to change the partitions.
[G2 Q&A, Help & Troubleshooting] garywojdan81:
Don't think that's possible with a locked bootloader.
[G2 Q&A, Help & Troubleshooting] brickwall99:
Okay, that makes sense, but what in the world do they need 8GB for? Is it possible to unlock the bootloader and get this space back? I'm assuming it's been done on other phones.
[G2 Q&A, Help & Troubleshooting] bweN diorD:
well the stock rom in nearly 2g compressed, i dont know what it is broke down and installed.

as for the bootloader, i doubt anyone is even trying to unlock it since we have loki support.
[G2 Q&A, Help & Troubleshooting] rebar71:
Also, one thing to remember is that you don't really get 32gb from a 32gb piece of memory. Formatted, it is 29.7gb.

I think there's 24.3gb usable, so LG has taken 5.5gb. For what? I dunno. But I think it's still less than Samsung takes.

I don't think there's 5.5gb of data there. Maybe there's a couple gb held in reserve for OTA updates...?
[G2 Q&A, Help & Troubleshooting] Steamer86:
Almost clean stock. Sounds about right to me.
[G2 Q&A, Help & Troubleshooting] robogo1982:
The amount of reserved space depends on the filesystem used.
[Nexus 4 Q&A, Help & Troubleshooting] robertoo24:
Hello friends!

Yesterday I tried to flash latest PSX build and it failed, I got error message in recovery. After that I got into bootloop, then I did factory reset, which didn't help. I was trying to use wugfresh tool to 'flash stock and unroot' and it comes with 'archive does not contain boot.sig, error: out of memory'. I have no idea what to do. I heard that I should manually install boot by fastoboot in cmd, but my cmd doesn't reconize fastboot.

Sorry for my poor english.
[Nexus 4 Q&A, Help & Troubleshooting] jschur1:
Try Wugfresh's nexus root toolkit to restore your phone. It worked for me...
[8125, K-JAM, P4300, MDA Vario General] AlexL:
Hey Guys,

Do you know if anyone has defined what each of the files are in the Extended ROM for the T-Mo Vario? And if so could you point me in the direction.

Thanks,

Alex
[8125, K-JAM, P4300, MDA Vario General] saman-cz:
You can extract cab files by yourself and look what each of them contains. For extracting cabinet you can use for exapmle Wince cab manager app.
[8125, K-JAM, P4300, MDA Vario General] ccsnet:
I think the poster means not just file names but what they can do... I can access the ROM but only guess what each one does.

The read me just gives the file names and thats it.

Terran

PS I'm intrested too
[8125, K-JAM, P4300, MDA Vario General] saman-cz:
i didn't mean to guess what cab does according to its name, but to extract files from each cabinet and look on them.

Most of them includes only some settings to the device's registries.

For example, CAB-Customization-TMCZ-Wizard-01-04-03Oct05 includes 4 files:

CeSettup.dll

CheckFiles.exe

Customize.lst

Platformxxx.reg

By looking into the Platformxxx.reg you can easily see this cab sets MMS and GPRS..
[8125, K-JAM, P4300, MDA Vario General] AlexL:
Thanks for the input. Although I believe there is probably some uneeded files in there, my device has been running smoothly, so I will probably just let it be until I hear otherwise.

Cheers
[G2 Q&A, Help & Troubleshooting] equake:
What LTE bands does the VZW edition (VS980) support?

I know it supports the Verizon bands like 13 and AWS but does it support additional bands.

The Galaxy S4 VZW edition supports other bands such as 1,2,17,20.

My 2 cents
[G2 Q&A, Help & Troubleshooting] War-Rasta:
That would be LTE700 (B13) and LTE1700/2100 (B4).

You can find more info here http://pdadb.net/index.php?m=specs&id=4726&c=lg_vs980_g2
[G2 Q&A, Help & Troubleshooting] equake:
Thats just the spec sheet but there should be inclusion of other bands for either domestic or global support like all the other phones.
[G2 Q&A, Help & Troubleshooting] War-Rasta:
Nope, that's all there it to it (for LTE that is). There are other bands for GSM as well as UMTS but those are separate. For LTE, the Verizon version only supports those 2 bands. That's what I've found on that and other sites.
[Galaxy Note 3 Q&A, Help & Troubleshooting] ItsMeOk:
Don’t know what will end up being useful info so here goes. I had 1000 songs on my 32 GB sd card and was able to use the built in music player and MusiXmatch to play. Then I updated the MP3’s with embedded cover art and lyrics. Things were still good. Then I installed MXvideo, podcast addict, instagram. Then I copied about 2GB of 12 video files and was playing those with MXvideo. I changed quite a few settings in MXvideo and podcast addict.

Now I went back to MusicXmatch and Music player and my 1000 songs are not shown. They are still there in My files and if I click on them they play with the music player from the sd card. If I try to play a previously created playlist or recently listened to it tells me can’t play that audio type. If I copy a file from the sd card to phone it will be added to the library and play. If I try to go to a folder on the sd card from with in a music app it doesn’t seems to recognize that there is an sd card.

Steps taken

Reboot

Remove SD card, reinsert, reboot

Cleared all default apps that I thought had anything to do with audio

Uninstalled all recent apps

Thought it was something try to take over the playing of .mp3’s but they play fine if on phone

Stumped!
[Galaxy Note 3 Q&A, Help & Troubleshooting] ItsMeOk:
.nomedia file

Ok so I noticed a .nomedia file on the root of the sd card. Evidently, this stops all apps from scanning this or sub folders.

So I deleted it BUT this doesn’t clear the problem. I unmounted SD card, cleared cache, reboot, etc. trying to get the apps to rescan.

What I had to do was unmount, pull card, reboot without card and then insert.

Still don't know what app put that file there.

Hope this helps someone else someday.
[G2 Q&A, Help & Troubleshooting] yyz123:
So when you go into your contacts list, the first one listed is "Me". If I try to click on myself I get the following message (screenshot) every time. However if I click and hold, I can go in and edit my personal details. Just wondering if this is normal?

View attachment 2402276
[G2 Q&A, Help & Troubleshooting] yyz123:
Re-attaching screenshot... don't know why it didn't work before.
[G2 Q&A, Help & Troubleshooting] ndnesh:
I get the exact same issue! Just got the phone today and went through setting it up and wanted to check my contact info, and got the same crash each time.

Can anyone shed a light on this?
[G2 Q&A, Help & Troubleshooting] ndnesh:
Bumping! i am still facing the same issue. Please help!
[G2 Q&A, Help & Troubleshooting] lingarajug:
do a factory reset and if it does not help clear defaults and cache the next time.
[G2 Q&A, Help & Troubleshooting] ndnesh:
Hmmm ya factory reset may work. Don't want to go through setting everything up again just for this. Everything else is working for now so I'll wait till I get the 4.4 update
[G2 Q&A, Help & Troubleshooting] robogo1982:
Make a backup of your contacts (or not, if they are stored on Google), find the Contacts app and clear cache and data. Reboot phone, try Contacts again.
[G2 Q&A, Help & Troubleshooting] ndnesh:
It worked! thank you! cant see my Google+ profile in this though!

EDIT:

To provide an update, looks like the Google+ integration is doing something. As soon as my google+ profile got connected to my local profile, i am again getting the same error.
[G2 Q&A, Help & Troubleshooting] JeffreyNijnatten:
Same problem here :/
[Nexus 5 Q&A, Help & Troubleshooting] Deleted member 4738840:
Hi guys, on my Nexus 5 Okay Google works all the time, except for the fact I've never seen it say to say Okay Google on the widget. Should I worry or it might be better, so everyone will not know to always mess with my device and I? I also know I have the latest Google Now.
[Nexus 5 Q&A, Help & Troubleshooting] Deleted member 4738840:
And yes the mic is filled in
[Nexus 5 Q&A, Help & Troubleshooting] Devilicus:
I'm not 100% sure but I THINK that it stops saying that on the widget after you've used the "OK Google" command for the first time. Mine had that same message at first but it vanished after I actually used it
[Nexus 5 Q&A, Help & Troubleshooting] Deleted member 4738840:
Oh true maybe, I don't really remember seeing it. Maybe I was too excited and used it right away ?
[Nexus 5 Q&A, Help & Troubleshooting] Devilicus:
Yeah I was wondering about it too lol for some reason I enjoyed having the little animated text reminder on the widget
[Nexus 5 Q&A, Help & Troubleshooting] Deleted member 4738840:
Yes a little reminder once in awhile would not hurt
[LG Optimus G (International)] dgaa1991:
hey i have just rooted my phone but if i suddenly choose to install a new rom in the future, will i still have the memo function ?
[LG Optimus G (International)] kimitza:
..............................have you unlocked the bootloader too?please do it as fast as you can,if you don't want to get into "certificate security error".

If you flash a custom rom based on LG firmware,yes you have all the functions. If you flash a CM based rom,no,you will lose every LG goodies. You decide what you want/need.

Consider this the first and last warning about unlocking the bootloader.I will ignore any other discussion on this matter.i don't like repeating myself.
[LG Optimus G (International)] dgaa1991:
the bootloader is alredy unlocked :) but thx for the answer.

and another newbie question - how can is ee if it is the same firmware as lg ?

i have rooted and oc´de my other htc incredible s, so i am not completly new
[LG Optimus G (International)] kimitza:
We have only 3 roms based on lg fw. Look on faq. Come on guys,think a litle. Do you think you are the first to have this phone?this questions have already been answered.

Sent from stock LG E975/smart phones,dumb people.
[LG Optimus G (International)] deardailyvn:
u have to unlockbootloader by freegee on playstore. and do guide about that rom of thread that u want to flash.
[Sony Xperia P, U, Sola, Go] Ramy.a:
Hi...

my cam was working so great until i restart my Xperia P ...then when i try to open it ,It says

i have tried to flash the cam again ..and open it in safe mode but nothing seams to work :(

Im on

room : moonbreaker v3.5

Kernel : Phantom PowerSaver

rooted....unlocked bootloader....
[Sony Xperia P, U, Sola, Go] maanleo:
try installing third party app from playstore like Camera MX, if that doesn't help try flashing stock ROM.
[Sony Xperia P, U, Sola, Go] Ramy.a:
i have already done that ...is there any other solution than flashing a room !!!

i saw at other Xperia there r a fix for that but didnt found for my Xperia p :(:mad:
[Sony Xperia P, U, Sola, Go] tharansakthi:
Don't worry, just flash the cybershot zip (link given in MoonBreaker thread, in add on section), wipe cache, wipe cache partition, boot, go to settings - apps - all - find camera(cybershot) click, clear data. Your camera must work now, if not post back with more details
[Sony Xperia L] sshivampp:
http://xdaforums.com/showthread.php?t=2418240
[Sony Xperia L] Soumitra.5693:
Just a guess, but i think it might be about dual booting :confused:
[Samsung Infuse 4G] magicninja:
Ok heres the situation.

I had broken the sim card holder on my phone and it wasn't able to get repaired so I figured I'd buy another phone on ebay that had a busted screen and I would just switch the mother boards around.

I ended up getting the phone and heres the problem.

My motherboard, the one with the broken sim tray works fine with the broken screen but when I try the new motherboard with my good screen phone it doesn't work.

What it does is it takes about 15 minutes to boot from the samsung screen and then it just freezes at the unlock screen where <I am not able to slide. The touch screen doesn'tm work.

Any ideas people? Ican touch the home key etc and they light up but thats about it.
[Samsung Infuse 4G] top-dog:
Sounds like the digitizer isn't recognizing the touch. Double check the 4 connections. There may also be a problem with the circuit board you purchased - perhaps there was more at fault than just the busted screen (waterdamage?).
[Samsung Infuse 4G] magicninja:
when i got the phone i tested it and the screen works.
[Samsung Infuse 4G] jkakkanad:
Are the screen revisions the same? There's a rev 6.0, 6.1 and 6.2 for the Infuse. A mismatch might be the issue.