[REQ]% Battery Mod Only - Samsung Galaxy Nexus

Hi All,
So I have made a few changes to my SystemUI.apk.
There is one thing missing however, a % for the battery.
I would love to include this one: http://forum.xda-developers.com/showthread.php?t=1400114
When I flash it however, I lose all my other mods (obviously).
I have tried removing some things, but I am really unsure what I need for JUST the battery.
If someone could provide me with this I would be very thankful.
Thanks in advanced,
Gavin

Easy peasy, its just a matter of replacing images in your SystemUI.apk
That is if it shows battery percent already.
Just OPEN the SystemUI.apk (not extract) with for example 7-zip, then browse to: res\drawable-xhdpi
Replace the images with the ones you want, and then just close 7-zip.
Look here:
http://forum.xda-developers.com/showthread.php?t=1431618

itdemo said:
Hi All,
So I have made a few changes to my SystemUI.apk.
There is one thing missing however, a % for the battery.
I would love to include this one: http://forum.xda-developers.com/showthread.php?t=1400114
When I flash it however, I lose all my other mods (obviously).
I have tried removing some things, but I am really unsure what I need for JUST the battery.
If someone could provide me with this I would be very thankful.
Thanks in advanced,
Gavin
Click to expand...
Click to collapse
Link me to your SystemUI apk and I'll do it for you
Sent from my Galaxy Nexus using xda premium

EDIT: Got it to work. Found out the ROM I am using already has the XML file set-up for increments.
So it was just a handy copy&paste job.
Thanks again guys!

Related

[Q] How to merge several framework mods?

I'm building my own ROM, and I'm using a modified framework with some mods, but now I want to add a battery mod to that. But the battery mods are always shared in the framework file itself, which makes it impossible to merge with an existing framework, or am I wrong?
Can someone please tell me how I add a battery mod to an already modified framework file?
Thanks.
Isn't anyone going to tell me how to do it?
spasms said:
Isn't anyone going to tell me how to do it?
Click to expand...
Click to collapse
The best thing to do is flash and existing rom or theme. Then apply then apply any battery mod, then copy framework to your workspace and simply replace the image files with the ones that you want. There are advanced tutorial to do this from scratch but inless you have alot of timw and are confident with xml's it might not be a good option.
Hope this helps.
Dan
Sent from my GT-I9000 using XDA App
If all you want is just the battery mod then you can try this site
http://circle.glx.nl/
You can upload the framework-res.apk from your theme and upload it to the site.
on the end which rom do we have to choose???
I changed the Battery Icon, and Some Icons, but which rom do I have to choose on the end when I upload my framework.
I can choose between Sense Rom ( not Leoroid ), Leoroied, some other, HTC HD Rom ???
Depends on the ROM you use... Probably Sense ROM (Not LeeDroid v2.2).
I tried doing the above and it seems circle.glx.nl breaks something inside the framework file I upload causing it to fail.
I wouldn't mind manually doing it, but I can not find any source files to the battery mods, all that is there are ready made frameworks (which are useless to me) and the kitchen website.
Someone tell me how to do it from scratch please.
You dont choose a rom at the end but rather upload your own framework via the browse button. I found the editing the notification in the kitchen kills the framework for the Galaxy S as well....
mrwookie6379 said:
You dont choose a rom at the end but rather upload your own framework via the browse button. I found the editing the notification in the kitchen kills the framework for the Galaxy S as well....
Click to expand...
Click to collapse
That is what I did. I just need to know which files are actually changed without spending hours using diff.
Battery mod makers could easily post the images/xml's they use so I can add it to my framework manually.
spasms said:
That is what I did. I just need to know which files are actually changed without spending hours using diff.
Battery mod makers could easily post the images/xml's they use so I can add it to my framework manually.
Click to expand...
Click to collapse
What battery mod/style are you after and I'll post the images for you?
I'm after GS Blue from: http://forum.xda-developers.com/showpost.php?p=8965042&postcount=1149
I saw some modders put their sources up which is very nice, but I don't really fancy those mods

[MOD REQUEST] Remove Power Off Confirmation Popup

Hi.
Just wondering if it's possible for me to remove the Power Off popup which appears just before the phone restarts, goes into recovery etc.
I'm not shy with having to alter files either, so whatever it takes I'd like to know...
This is for a Deodexed JVT 2.3.5.
Thanks in advance.
are you using an app to get to recovery,download,etc...?
You can get it from my Mod, get stock files and comare the files to see what is changed.
Have fun.
playerzking said:
are you using an app to get to recovery,download,etc...?
Click to expand...
Click to collapse
No, I'm actually using the mod by Perka, but it might be an old version.
Perka said:
You can get it from my Mod, get stock files and comare the files to see what is changed.
Have fun.
Click to expand...
Click to collapse
Cool I'll take a look. If you could tell me the files that are changed that would narrow it down a little for me.
OK I did a file compare and there are WAY too many files which are different (including the framework-res.apk file).
Can you please narrow it down for me.
Worked it out finally.
Can you please explain how did you do it?
Thanks!
I just took Perka's advice and it worked out.
The files that needed editing are in the android.policy.jar file located in /system/framework/
I compared Perka's android.policy.jar file against mine and updated GlobalActions files that are associated with the Reboot, Shutdown etc.
It's not too hard especially if you have some kind of programming background.
My next project is to work on the 10 lockscreen mod.

Is there a guide for Soft Key modding?

It looks like all the mods I've seen are speific to certain ROMs. It's not just the version numbers (4.0.1, 4.0.2, etc.), but different ROMs built from different sources seem not to be compatible with each other as far as the mods go.
I'd like to have permanent Menu buttons and a search button in the bottom nav bar, but because of all the incompatibilities, I'm having a hard time finding the correct modded versions (I'm using P3Drod's 4.0.3 Tranquilice right now). So, I would like to be able to make my own softkey mod for whichever ROM I happen to be running. It looks like it's controlled by the SystemUI.apk file in /system/apps, and I tried decompiling it using APK Tool, making some changes to the XML files inside, and then recompiling it. But when I push it back ot the phone and reboot, the nav bar disappears altogether (along with the wallpaper), so I'm sure that I'm doing something wrong.
So, is there guide anywhere for modding SystemUI.apk to change the softkeys?
there's a few threads around here about that, use search.
/me sent this from a i9250 using Tapatalk
Just so you don't have to search here's a guide.
Grab the SystemUI.apk from the ROM you are currently on. Using WinRAR open the SystemUI.apk and drag the "res" folder out of it (Put it on the Desktop or something). Go into the res folder, then go into Drawable-XHDPI and the 2 things you need to modding the softbuttons are the following images:
"ic_sysbar_highlight.png"
"ic_sysbar_highlight_land.png".
Edit them 2 to what color you want, put the res folder back into the systemUI.apk and flash it.
Done.
Actually that doesn't help me -- I don't want to change the graphics, I want to change the behavior actual softkeys. I want to add a search key, and make the settins keys permantnely displayed. Tere are alreday a few mods like that available, but no for all the ROMs, so I'd like to be able to do one myself.
i'm curious of this too, because theres nothing made for what i specifically want my keys to be.
i've been desperately asking for a version with menu on both sides that only shows up when needed and then back, home, recent, search. and i've gotten ignored everywhere i've requested it.
and just as you, i can't find any guide to do it myself.
+3, there are no guides available I'd like to add the search as I am on tranq v5. I have figured out other systemui mods but I cannot takle this one
Sent from a full AOSP GNex via Tap
Sry to interupt. So if i want to change the graphics of the ROM I am currently on, I just need to open the zip file of my ROM in winrar, extract the systemui.apk and open that in winrar, too. Then I can replace the images in the res-> drawable HDPI folder by simply dragging my icons in there using winrar. Then just close Winrar and put the whole thing on my device ( the whole rom or just the systemui.apk? )
After that all I have to do is flash it using cwm? apply update from sd card or what?
Sry that i ask for detailed steps, but i am new to costumizing android -.-
NitrozKC said:
Just so you don't have to search here's a guide.
Grab the SystemUI.apk from the ROM you are currently on. Using WinRAR open the SystemUI.apk and drag the "res" folder out of it (Put it on the Desktop or something). Go into the res folder, then go into Drawable-XHDPI and the 2 things you need to modding the softbuttons are the following images:
"ic_sysbar_highlight.png"
"ic_sysbar_highlight_land.png".
Edit them 2 to what color you want, put the res folder back into the systemUI.apk and flash it.
Done.
Click to expand...
Click to collapse
This is for changing the background highlight.
There are also files in the drawable xhdpi that corresponding to the actual symbols. Replace these and flash the rom
-So..find prefered symbols(.png files called ic_sysbar_back) there will be nine of them
-grab a rom you want to flash( can be the same rom you are on.)
-use winrar or 7zip to get into the rom and go to systemui.apk/re/drwablexhdpi
-drag and drop new symbols file in( it will replace)...if you dont believe me you can organize the file by date an there will now be 9 folders with current date.
close it up and flash the rom via your favorite way.
this is how i did it. and there is at one guide out there...I used it.
have fun
bk201doesntexist said:
there's a few threads around here about that, use search.
/me sent this from a i9250 using Tapatalk
Click to expand...
Click to collapse
Why? This post was not essential. Did not provide any info. Just being a troll.
Why has xda gotten so hostile? Because you aren't newbs anymore? I guarantee at one point you were. Just love when people use their knowledge just to look down at people...
Sent from my Galaxy Sexus using xda premium
Nordpolcamper said:
Sry to interupt. So if i want to change the graphics of the ROM I am currently on, I just need to open the zip file of my ROM in winrar, extract the systemui.apk and open that in winrar, too. Then I can replace the images in the res-> drawable HDPI folder by simply dragging my icons in there using winrar. Then just close Winrar and put the whole thing on my device ( the whole rom or just the systemui.apk? )
After that all I have to do is flash it using cwm? apply update from sd card or what?
Sry that i ask for detailed steps, but i am new to costumizing android -.-
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1406930&highlight=soft
Mikey1022 said:
http://forum.xda-developers.com/showthread.php?t=1406930&highlight=soft
Click to expand...
Click to collapse
Thank you very very much^^
kgbrown247 said:
+3, there are no guides available I'd like to add the search as I am on tranq v5. I have figured out other systemui mods but I cannot takle this one
Sent from a full AOSP GNex via Tap
Click to expand...
Click to collapse
P3Droid said that he'll include the modded keys in Tranq v6. But I'd still like to know how I can do it myself.
as would i. i've searched and there is no guide anywhere in this forum about how to modify the soft keys.
only guides are for skinning. But if you want to make your own setup your screwed or have to figure it out on your own from scratch.
neok44 said:
as would i. i've searched and there is no guide anywhere in this forum about how to modify the soft keys.
only guides are for skinning. But if you want to make your own setup your screwed or have to figure it out on your own from scratch.
Click to expand...
Click to collapse
I as well would love to be able to add extra buttons to the soft key bar. I truly think this is where the Galaxy Nexus will shine.
Personally, I think that Back -- Home -- Search is the best implementation. Then long press on home for the MultiTasking/Recent menu, and long press on search for voice actions. But like the OP, I haven't found this implementation for AX10M ROM (Only AOKP) so I'm just sitting, waiting, wishing for a dev to pick it up. It doesn't seem too hard, so I don't think I'll be waiting long.. Just wish I could help in some way...
+1
10 char
Just wrote one up for everyone
Tut
http://rootzwiki.com/topic/13730-how-to-softkey-mod/
And here is 55 different soft key mods I've created and in op is two more links for 402 and 403 stock rom mods
http://rootzwiki.com/topic/12333-mod-axi0m-21-softkey-1-mods-55-and-counting/
Sent from my Galaxy Nexus using Tapatalk
@runandhide05 thanks for the tutorial. I'll try it out sometime tomorrow.
Soft Key & Status Bar Disappear
I got a problem on my nexus after modding system icon by replace the System UI from UOT Kitchen. My 3 soft key n da status bar are gone, only home screen left......
is there any one can help me out, tell me how to fix it???
Thank you very much
RyanJai said:
I got a problem on my nexus after modding system icon by replace the System UI from UOT Kitchen. My 3 soft key n da status bar are gone, only home screen left......
is there any one can help me out, tell me how to fix it???
Thank you very much
Click to expand...
Click to collapse
You'll have to place your original apk back. UOT isn't currently compatible with ICS. It will build a zip for you, but is based on gingerbread
Sent from my Galaxy Nexus using xda premium

[Q] [q] rom toolbox

i have GS3 running on BLAZER 1.9 ROM and I cannot change the battery icon. eveyrtime i pick the theme, it says it installed and it still shows the current ROM battery icon instead of the one i downloaded. Ive looked online and found different statements:
1. When you change the battery you need to use one in 1% increments or it will act funny
2. pull them out of the framework-res.apk or SystemUI.apk (depending on which one your ROM is grabbing them from, mostlikely SystemUI.apk) and drop them into your ROM. Only rule is if your current ROM is using say 100 battery pngs, then you need to replace it with 100 pngs or it will mess up the battery meter.
i need help with step by steps plz!!!
ugore said:
i have GS3 running on BLAZER 1.9 ROM and I cannot change the battery icon. eveyrtime i pick the theme, it says it installed and it still shows the current ROM battery icon instead of the one i downloaded. Ive looked online and found different statements:
1. When you change the battery you need to use one in 1% increments or it will act funny
2. pull them out of the framework-res.apk or SystemUI.apk (depending on which one your ROM is grabbing them from, mostlikely SystemUI.apk) and drop them into your ROM. Only rule is if your current ROM is using say 100 battery pngs, then you need to replace it with 100 pngs or it will mess up the battery meter.
i need help with step by steps plz!!!
Click to expand...
Click to collapse
Go to uot kitchen... You can get batteries done for ICS there. You need your framework-res.apk, SystemUI.apk, and twframework files to upload to the site once you pick what battery mod you want.
Sent from my SPH-L710 using xda premium
Naddict said:
Go to uot kitchen... You can get batteries done for ICS there. You need your framework-res.apk, SystemUI.apk, and twframework files to upload to the site once you pick what battery mod you want.
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
can you provide me step by steps plz?
ugore said:
can you provide me step by steps plz?
Click to expand...
Click to collapse
http://uot.dakra.lt/kitchen/
click on battery mod tab, it is pretty straight forward from there. Read a little, pick the mods you want, upload your files, let the mod bake, pick it up. Use it.
Also, these just got uploaded in the dev thread..http://forum.xda-developers.com/showpost.php?p=32028440&postcount=5
and here is a link to my post with a bunch too. http://forum.xda-developers.com/showthread.php?t=1862428
Naddict said:
http://uot.dakra.lt/kitchen/
click on battery mod tab, it is pretty straight forward from there. Read a little, pick the mods you want, upload your files, let the mod bake, pick it up. Use it.
Also, these just got uploaded in the dev thread..http://forum.xda-developers.com/showpost.php?p=32028440&postcount=5
and here is a link to my post with a bunch too. http://forum.xda-developers.com/showthread.php?t=1862428
Click to expand...
Click to collapse
thanks alot man very helpful. i will def check it out. Also, that first link you provided those icons can be found on kitchen site?

[Q] Edit system/framework/services.jar

Can anyone fill me in on details of how to edit java executable files? I would like to remove the GPS icon from the notification bar in the ROM I am using and the best I could come up with is this: The file I need to change is in system/framework/services.jar
Better yet, does anyone have a flashable zip with an edited services file that has no GPS icon? I would like one that works with Sense 3.0 ROMs.
If you use gimp or photoshop its pretty easy just make the GPS.png file or what ever its named in the framework-res.apk and make it transparent.
Then zip the app and sign it with a META-INF signer.
Sent from my EVO using xda premium
Or you could replace the picture itself with an empty picture so that when GPS is on and so are other radios, there won't be a random empty space there. Also, to explain how to edit the "java executable", let me explain how java works
So the reason that java is great is that its cross platform. But how? So when a .jar file is created, that's actually not 100% compiled itself, its more like 60/70% of the way there. And that's where the JRE comes in. When you open a .jar file, the code is compiled the rest of the way into bytecode that the specific OS its running on can interpret.
So there is really no such thing as a "java executable". The "jar" format is basically just a ZIP file with partially compiled code, so what you need to do is extract all the files from it (use 7Zip or something) and then get a .class decompiler (I recommend JD-GUI, its free and one of the best out there. It also has an option to decompile all the files into .java files and packages it into a .zip) and then just look at the source code. The problem is to find where exactly the GPS icon is set up, because when you decompile it, its going to be a huge mass of folders and folders and folders of files
Sent from my PG06100 using xda premium
lreyes said:
If you use gimp or photoshop its pretty easy just make the GPS.png file or what ever its named in the framework-res.apk and make it transparent.
Then zip the app and sign it with a META-INF signer.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Thank you very much for your reply. The information I originally found pointed me in the wrong direction. I found the images I want to edit in the data\sysapp\SystemUI.apk\res\drawable-hdpi. There are five .png files all starting with names like sym_gpsone_0_sprint.png. I've included some below.
All of the other modifications I have made to the ROM I am running involved using m10 and the fusion.apk or the Idlescreen_Base.apk. I know how to make those changes work on my phone. If I alter the .png images in the SystemUI.apk, I know how to zip it again, but I could use some instructions on how to sign it with a META-INF signer.
HopHead68 said:
Thank you very much for your reply. The information I originally found pointed me in the wrong direction. I found the images I want to edit in the data\sysapp\SystemUI.apk\res\drawable-hdpi. There are five .png files all starting with names like sym_gpsone_0_sprint.png. I've included some below.
All of the other modifications I have made to the ROM I am running involved using m10 and the fusion.apk or the Idlescreen_Base.apk. I know how to make those changes work on my phone. If I alter the .png images in the SystemUI.apk, I know how to zip it again, but I could use some instructions on how to sign it with a META-INF signer.
Click to expand...
Click to collapse
Let me get on my comp and I'll link you
Sent from my PG06100 using xda premium
Task Accomplished
CNexus said:
Let me get on my comp and I'll link you
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Thank you everyone who replied and tried to help me out. After searching around some more, I managed to make the modifications work.
Damn, ain't things easy once you know what you're doing? Anyhow, the results are below. No more GPS icon whether the GPS is on or off now.
Thanks again.
If anyone wants a brief tutorial just ask and I'll be glad to help.
HopHead68 said:
Thank you everyone who replied and tried to help me out. After searching around some more, I managed to make the modifications work.
Damn, ain't things easy once you know what you're doing? Anyhow, the results are below. No more GPS icon whether the GPS is on or off now.
Thanks again.
If anyone wants a brief tutorial just ask and I'll be glad to help.
Click to expand...
Click to collapse
Dude. So sorry, completely forget to post after telling you
But anyway, the process is explained in the following thread, as well as how to make a flashable zip in case anyone else is interested
Link: http://forum.xda-developers.com/showthread.php?t=1611615
But again, so sorry about that
Sent from my PG06100 using xda premium
CNexus said:
Dude. So sorry, completely forget to post after telling you
But anyway, the process is explained in the following thread, as well as how to make a flashable zip in case anyone else is interested
Link: http://forum.xda-developers.com/showthread.php?t=1611615
But again, so sorry about that
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
No worries at all. Before you put this up, I figured it out. Part guidance, part stumbling though the dark and some luck led to success.
Thanks for the help.
Cheers.

Categories

Resources