[Q] [q] rom toolbox - Sprint Samsung Galaxy S III

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?

Related

[Q] adding battery % mod to existing theme

I've been reading the theme guides and, time permitting, would like to start playing around. I've been comparing files from the stock theme template to crakes battery percent mod found here: http://forum.xda-developers.com/showthread.php?t=793805&highlight=battery+mod and have been trying to figure out how to use it in another theme. Is it as simple as adding the extra stat_sys_battery_#.png's or does something else have to be done to the framework-res.apk to get the phone to point to the added pngs? I hope thats understandable, thanks in advance for your help all!
amosher13 said:
I've been reading the theme guides and, time permitting, would like to start playing around. I've been comparing files from the stock theme template to crakes battery percent mod found here: http://forum.xda-developers.com/showthread.php?t=793805&highlight=battery+mod and have been trying to figure out how to use it in another theme. Is it as simple as adding the extra stat_sys_battery_#.png's or does something else have to be done to the framework-res.apk to get the phone to point to the added pngs? I hope thats understandable, thanks in advance for your help all!
Click to expand...
Click to collapse
If your theme has 1% intervals already its just a matter of swapping the png files. If the theme don't your gonna have to devompile the apk and edit 3 xml files then recompile
Sent from my SPH-D700 using XDA App
okay, ya thats what i was wondering. any help on the xml files to edit and how? i've got apk manager and have it decompiled, i dont see anything that jumps out.
EDIT: okay i've got in the drawable folder stat_sys_battery, stat_sys_battery_charge, stat_sys_battery_charge_err_vinsq, stat_sys_battery_charge_vinsq, stat_sys_battery_vinsq. my guess is its 3 of those, i guess i can just compare the stock theme with the stock battery mod to see what to do.
amosher13 said:
okay, ya thats what i was wondering. any help on the xml files to edit and how? i've got apk manager and have it decompiled, i dont see anything that jumps out.
EDIT: okay i've got in the drawable folder stat_sys_battery, stat_sys_battery_charge, stat_sys_battery_charge_err_vinsq, stat_sys_battery_charge_vinsq, stat_sys_battery_vinsq. my guess is its 3 of those, i guess i can just compare the stock theme with the stock battery mod to see what to do.
Click to expand...
Click to collapse
You can do that but do you know how to add a line to an xml file
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
You can do that but do you know how to add a line to an xml file
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
in general, yes, but i may not know how for these purposes. what might i be missing?
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
art3mis-nyc said:
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
Click to expand...
Click to collapse
very interesting, i'll certainly check that out. though i am interested also in learning how to do it myself, but that looks pretty cool!
art3mis-nyc said:
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
Click to expand...
Click to collapse
Thee problem with this is if there's any edited .9 pngs in the theme the out come is ****
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
Thee problem with this is if there's any edited .9 pngs in the theme the out come is ****
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
so how about this: i pull the xmls from crakes framework-res.apk (do i need anything from twframework-res.apk?), recompile into the framework-res.apk from the theme i'm hacking, then dump the pngs into drawable-hdpi from the % mod i want to include and just make sure theres an image for each line in the xmls. sound good?
amosher13 said:
so how about this: i pull the xmls from crakes framework-res.apk (do i need anything from twframework-res.apk?), recompile into the framework-res.apk from the theme i'm hacking, then dump the pngs into drawable-hdpi from the % mod i want to include and just make sure theres an image for each line in the xmls. sound good?
Click to expand...
Click to collapse
Sounds great but just remember if your theme has any edited .9.pngs you will get errors with the framework.
What there are you trying to edit?
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
Sounds great but just remember if your theme has any edited .9.pngs you will get errors with the framework.
What there are you trying to edit?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
basically i want to work in a battery % mod into the theme from AOSP Magic (partially just to see if i can do it ). when you say "has any edited .9.pngs" do you mean if i edit any? or if the theme contains any that are already edited.
amosher13 said:
basically i want to work in a battery % mod into the theme from AOSP Magic (partially just to see if i can do it ). when you say "has any edited .9.pngs" do you mean if i edit any? or if the theme contains any that are already edited.
Click to expand...
Click to collapse
If the theme has any edited already out if you edited any
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
If the theme has any edited already out if you edited any
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
ya i'm a little confused at that point on how i'd handle that. anywhere i can read up on that?
so basically if the theme i want to mod has .9.pngs that were edited from stock, when i decompile and recompile with the new xmls its going to break something? if so, what would i do? use the battery % mod theme and dump the drawable-hdpi folder into the apk after?
amosher13 said:
ya i'm a little confused at that point on how i'd handle that. anywhere i can read up on that?
so basically if the theme i want to mod has .9.pngs that were edited from stock, when i decompile and recompile with the new xmls its going to break something? if so, what would i do? use the battery % mod theme and dump the drawable-hdpi folder into the apk after?
Click to expand...
Click to collapse
What I do is modify the xml files ona stock framework. Make all the changes I need then recompile. Once compiled its a matter of dragging and dropping the pngs
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
What I do is modify the xml files ona stock framework. Make all the changes I need then recompile. Once compiled its a matter of dragging and dropping the pngs
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
gotcha, perfect thanks!

[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

XML file that controls Signal Strength Bars?

Does anybody know which file(s) generate the signal strength indicator in the status bar?
I am running the Redemption ROM, and really want to 6 bar strength indicator in Redemptive rEVOlution, but I have a couple of problems with rEVOlution that I can't get rid of, so I can't use it.
It's services.jar
It's located in /system/framework/
Be careful though, it controls other things as well.
I suggest you do a nandroid backup and then push the file using adb. That way if it doesn't work you can always fall back.
I have done this with skyraider3.5 with no issues so you should be fine.
sent from my HTC Incredible
Rooted - S-off - 2.15 radio
Skyraider 3.5 RULES!
Whats so great about the 6bar vs 4bar? Is it just really just aesthetics?
gadget! said:
It's services.jar
It's located in /system/framework/
Be careful though, it controls other things as well.
Rooted - S-off - 2.15 radio
Skyraider 3.5 RULES!
Click to expand...
Click to collapse
.
Thanks, I was hoping it was just gonna be one of the xml files in the framework-res.apk.
As to what's do great about the 6 bar meter, I don't know, I just know I want it.
I mean in all reality you could just edit the four .png of the 4bars into .png of the 6bars, only thing is you have to take out two files so say you'd make 4 bar1 into 6 bar1 4bar2 into 6bar3 ect.. I've done it to do the opposite haha I did it to get 4 bars instead of 6. but the true way is to edit the .xml and I have no experience with that at all. sorry.
Well, pushing the services.jar to the framework directory just threw my phone into boot loops, so that aint gonna work.
Anyone know which XML file and or png's I need to swap out or add.
The problem with just adding png files is that it's not really gonna give correct indications.
gadget! said:
It's services.jar
It's located in /system/framework/
Be careful though, it controls other things as well.
I suggest you do a nandroid backup and then push the file using adb. That way if it doesn't work you can always fall back.
I have done this with skyraider3.5 with no issues so you should be fine.
sent from my HTC Incredible
Rooted - S-off - 2.15 radio
Skyraider 3.5 RULES!
Click to expand...
Click to collapse
You need to edit HtcCdmaStatusBar.smali, which is deep within services.jar. You need to decompile classes.dex within services.jar using baksmali and go to /android/server/status/ and then edit HtcCdmaStatusBar.smali in several places, recompile with smali and put the new classes.dex back in services.jar and then push that to your /system/framework/.
Or.......you could pull the services.jar from IncROM beta4 which is posted a page or two from the end of the thread .... unless lou has something other than the power widget mod it should work just fine for ya
Sent from IncROM
True story, lllboredlll is the man. End story.
sk806 said:
You need to edit HtcCdmaStatusBar.smali, which is deep within services.jar. You need to decompile classes.dex within services.jar using baksmali and go to /android/server/status/ and then edit HtcCdmaStatusBar.smali in several places, recompile with smali and put the new classes.dex back in services.jar and then push that to your /system/framework/.
Click to expand...
Click to collapse
Just to add to this...if you fail to edit statusbaricon.smali also the 6 bar edit will never show more than 4 bars of signal
Sent from IncROM
lllboredlll said:
Or.......you could pull the services.jar from IncROM beta4 which is posted a page or two from the end of the thread .... unless lou has something other than the power widget mod it should work just fine for ya
Click to expand...
Click to collapse
That threw the phone into boot loops too. But, now I have another ROM to try anyway.
lllboredlll said:
Just to add to this...if you fail to edit statusbaricon.smali also the 6 bar edit will never show more than 4 bars of signal
Sent from IncROM
Click to expand...
Click to collapse
Oh, yeah! Forgot about that. thanks.
mark-in-dallas said:
That threw the phone into boot loops too. But, now I have another ROM to try anyway.
Click to expand...
Click to collapse
I have had the same issue, that's why I put up instructions. If you want, you can email me the services.jar in question, and I'll mod it for you.
PM me if interested.
Steve
mark-in-dallas said:
That threw the phone into boot loops too. But, now I have another ROM to try anyway.
Click to expand...
Click to collapse
sorry i assumed it would work....since we both utilize evo framework-res.apk and both have the power widget mod... sorry about that
Someone posted the 6 bar signal mod in the Redemption thread here: http://forum.xda-developers.com/showthread.php?t=768626&page=165. I flashed it last week and it's working good on Redemption 2.2.
sk806 said:
Oh, yeah! Forgot about that. thanks.
I have had the same issue, that's why I put up instructions. If you want, you can email me the services.jar in question, and I'll mod it for you.
PM me if interested.
Steve
Click to expand...
Click to collapse
Thanks so much, I had just pulled my services.jar and was going to upload it and send you a download link, when I saw the post below.
tweebee said:
Someone posted the 6 bar signal mod in the Redemption thread here: http://forum.xda-developers.com/showthread.php?t=768626&page=165. I flashed it last week and it's working good on Redemption 2.2.
Click to expand...
Click to collapse
Works great, thank you!
Can anyone tell me the exact code I need to add?
mark-in-dallas said:
Thanks so much, I had just pulled my services.jar and was going to upload it and send you a download link, when I saw the post below.
Works great, thank you!
Click to expand...
Click to collapse
Cool. Glad you found something that works.
gmichaelow said:
Can anyone tell me the exact code I need to add?
Click to expand...
Click to collapse
Code for what?
mark-in-dallas said:
Code for what?
Click to expand...
Click to collapse
To htccdmastatus.smali and statusbaricon.smali?
I've done this with skyraider before, but now I am on cyanogen. Is there any way to get 6 bars on aosp roms?
Sent from my ADR6300 using XDA App

[REQ]% Battery Mod Only

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!

HTC Sense battery mod

Looking for the HTC battery mod. I had it on LJC then I odin'ed back to stock to do the MA7 update and lost it I didn't save it on my hard drive either. Searched and searched and now I can't find it. Hoping someone has it saved and can link me/upload it!!
**EDIT**
Found all the .png files necessary to do the mod by searching the GS3 forums. Open SystemUI.apk and place them in the res/drawable-xhdpi folder.
Re: Request: HTC Sense battery mod
kalapa said:
Looking for the HTC battery mod. I had it on LJC then I odin'ed back to stock to do the MA7 update and lost it I didn't save it on my hard drive either. Searched and searched and now I can't find it. Hoping someone has it saved and can link me/upload it!!
Click to expand...
Click to collapse
Morphology has it bro. I'm pretty sure u can flash it with ma7. Mack did. Just flash the updater. Then morph away. I love sense. I love there battery mod too. Lol
Sent from my SPH-L900 using xda app-developers app
Haven't looked too much at morphology but I don't want to download an entire theming mod.. all I want is the Sense battery.
I found all the correct .png images from the S3 forums, but MA7 doesn't seem to work the same way as LJC did.. in LJC(unless I'm mistaken) you could just decompile SystemUI.apk, replace the battery .png files in the res/drawable-sw720dp-xhdpi folder with the modded battery images, recompile, and you'd be good to go. Now that doesn't seem to work. SystemUI reloads as if no changes were made.
Re: Request: HTC Sense battery mod
kalapa said:
Haven't looked too much at morphology but I don't want to download an entire theming mod.. all I want is the Sense battery.
I found all the correct .png images from the S3 forums, but MA7 doesn't seem to work the same way as LJC did.. in LJC(unless I'm mistaken) you could just decompile SystemUI.apk, replace the battery .png files in the res/drawable-sw720dp-xhdpi folder with the modded battery images, recompile, and you'd be good to go. Now that doesn't seem to work. SystemUI reloads as if no changes were made.
Click to expand...
Click to collapse
Goes in drawable-xhdpi and there is no need for compiling to replace those pngs
kalapa said:
Looking for the HTC battery mod. I had it on LJC then I odin'ed back to stock to do the MA7 update and lost it I didn't save it on my hard drive either. Searched and searched and now I can't find it. Hoping someone has it saved and can link me/upload it!!
Click to expand...
Click to collapse
I like your clock and weather widget. What app are you using for both?
fryingpan0613 said:
Goes in drawable-xhdpi and there is no need for compiling to replace those pngs
Click to expand...
Click to collapse
ahh, yes, I had the wrong folder. That got it to work. Thank you sir! and yeah I just added them to the folder using 7zip.
mranonymous said:
I like your clock and weather widget. What app are you using for both?
Click to expand...
Click to collapse
That's Beautiful Widgets
Success! Going to update OP with the files I used for anyone else who wants to do this.
Tahnks:good:
Can we flash in the recovery
Sent From Galaxy Super Note 2

Categories

Resources