What files i need modify to make a battery mod? - T-Mobile Samsung Galaxy S II SGH-T989

Hi guys, I want make the battery mod for my ROM, just want to know what files I need modify.
Thanks.
Sent from my SGH-T989 using XDA

bourdier said:
Hi guys, I want make the battery mod for my ROM, just want to know what files I need modify.
Thanks.
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
They'll be under /system/framework/framework-res.apk
You'll have to edit 1 or 2 things depending on where you're coming from. If your ROM already has a 1% battery mod (meaning it shows the percentage already), all you have to do is edit the image files it displays. They'll be under res > drawable-hdpi. I think there's ~206 relevant images for battery. If you don't already have a 1% battery mod (doesn't show percentage already), you'll have to also edit 2 xml files. They'll be under res > drawable and they're called stat_sys_battery.xml an stat_sys_battery_charge.xml
Good luck!

Actually my Ron don't have have the % ...
thanks, I'll tray...
Sent from my SGH-T989 using XDA

Just use UOT Kitchen. You pick the mod you want, then upload systemui.apk, framework-res.apk, and twframework-res.apk. Hit submit and it makes a flashable .zip for you.

Towle said:
Just use UOT Kitchen. You pick the mod you want, then upload systemui.apk, framework-res.apk, and twframework-res.apk. Hit submit and it makes a flashable .zip for you.
Click to expand...
Click to collapse
The easier way if you both A) are interested in using one of their pre made designs and not making a custom design and more importantly, B) not using any kind of mod or theme on your ROM. if you are using any kind of mod or theme, flashing that zip will override your theme because you're replacing the files that contain a large portion of your theme or mod

It's done, I made my custom design or not custom, take one from UOT but can't use any file from my actual ROM because always get error....
Here is the my screenshot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SGH-T989 using XDA

Sorry, wrong address
http://db.tt/aY2WKHfW
Hope work now.
Sent from my SGH-T989 using XDA

Related

[THEME][UPDATE 24.02.]BLUE/GREENglowHONEYCOMB Dialer ** PSD files FOR THEMERS **

BLUEglowHONEYCOMB
Hello I wan't share my work with XDA users and themers. Feel free to edit PSD files
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
GREENglowHONEYCOMB
INSTALATION
1. Download package you want to apply
2. Unrar on your PC or PHONE (inside: DialerTabActivity.apk +PSD)
3. Use root-explorer to copy .apk file to system/app/ (overwrite) remember to chose RO on top
4. DONE
DOWNLOAD
UPDATE2002 APK PSD
UPDATE2202 (APK+PSD)
BLUEglowHONEYCOMB2302normal (APK+PSD)
BLUEglowHONEYCOMB2302transparent (APK+PSD)
GREENglowHONEYCOMB2402normal (APK+PSD)
GREENglowHONEYCOMB2402transparent (APK+PSD)
Update 1st post
Thats nice but what is that phone
It looks nice.. Please tell me its going to get made.. I would love one of those!
use google "blue bee"
I like that interface too and I must told You, someone can make similar look on android. I'm not expert and don't have skills to do that
I like the dailer.. it fits my theme
Is there also a themed xda app or can anybody theme it?
Sent from my Galaxy S with Darky rom 9.2 using XDA App
Today I will update the dialer but before that can someone share with me icons from dialer ? I mean bottom 4 icons
I'm not able to upload the xda apkfile:S
I even couldn't do it from my phone too megaupload:$
But I found a link of a themed blue xda.apk: http://www.mediafire.com/?cvarec84dwe7px0
I hope you could use it or I hope that somebody else could help me with uploading
thanks in advance
Sent from my GT-I9000 using XDA App
would it be possible to make this transparent, but to keep the glow under the numbers and the lil honeycomb effect when a button is pressed?
Yes its possible but I don't have time and desire do that Maybe I try tomarrow.
Update in 1st post Its only PSD file of new look ease to edit all layer Hope some talented themer can use it.
Update in first post ****
wow, Blue Bee is perfect!!!
I need in my SGS I9000B...
Update in 1st post***
Update in 1st post***
Geen version added.
Can you made a multi DPI version?
i should give it a try ;D
thx!
If someone tell me how to make multi dpi I can try

Smali/baksmali help. Can't find file

I'm looking for some possible advice for adding extended toggles to an ics rom. Another thread may be better, but I thought I'd start on home turf.
What I'm looking for is statusbarservice.smali in any of the new ics systemui classes.Dex files. Either I am not following the directions correctly, or the classes.dex file for our new systemui is dif than before.
When I baksmali the classes.dex from systemui I look in smali/com/android/systemui/* and do not find the "status" folder that a lot of the "how to" tutorials direct you to, to add the necessary code to direct systemui to the quick panel settings. So long story long...anyone want to help me find the appropriate smali file to edit to get us some extended toggles? I can't find StatusBarService.smali in any of the new systemui apks. There are some similar smali files in other folders but I'm not sure where to start. When I open up the classes.dex files from other Samsung phones that have been modded(like the Note) I find the appropriate files. Any ideas/help? Thx in advance
Sent from my SPH-D710 using xda premium
check here http://forum.xda-developers.com/showthread.php?t=1612483
Madflapjack said:
check here http://forum.xda-developers.com/showthread.php?t=1612483
Click to expand...
Click to collapse
Thx, we got the Smali/baksmali thing down, it was just a matter of looking for a file that does not exist on our phone on ICS. Have figured out there's a new set of files that need to be modded, that was the issue. Its dif than the other GS2's and standard toggle mods, so its gonna be interesting the get working...
Sent from my SPH-D710 using xda premium
I know ICS is different so it's no surprise that you're running across something like that. The best suggestion I have is to search for that .smali file by name with whatever file browser you're using.
KCRic said:
I know ICS is different so it's no surprise that you're running across something like that. The best suggestion I have is to search for that .smali file by name with whatever file browser you're using.
Click to expand...
Click to collapse
Thx, after much time tracking down code(look at initial post date lol) we have toggles for ICS. Mods can delete if they want.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SPH-D710 using xda premium
help me
sleshepic said:
Thx, after much time tracking down code(look at initial post date lol) we have toggles for ICS. Mods can delete if they want.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Finally, how to made it? I can't find StatusBarService.smali in smali/com/android/systemui/statusbar. My phone is ICS 4.0.3

[Q] How do i put the wallpaper on the background?

Guys, could you direct me on putting such wallpaper like in the screenshot i posted below? Curious to do it. Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Im curious too.
Sent from my GT-I8150 using xda premium
First thing that came in mind was to edit the settings.apk file. Remember that this is only my theory, As I changed the wallpaper on my expanded-notification-bar with this method, do at your own risk.
decompress it, look for wallpaper value in the xml files, then look for a file with a same name on the res folder, rename your wallpaper-file to match the name of the black background file.
Don't recompile or anything, open up your original settings.apk using 7zip, overwrite the black-background file with your new-wallpaper file, put it back on your phone.
Sorry if it is unclear, I'm Nowhere near my PC
Have a good day!
Sent from my GT-I8150 using XDA
reidzeibel said:
First thing that came in mind was to edit the settings.apk file. Remember that this is only my theory, As I changed the wallpaper on my expanded-notification-bar with this method, do at your own risk.
decompress it, look for wallpaper value in the xml files, then look for a file with a same name on the res folder, rename your wallpaper-file to match the name of the black background file.
Don't recompile or anything, open up your original settings.apk using 7zip, overwrite the black-background file with your new-wallpaper file, put it back on your phone.
Sorry if it is unclear, I'm Nowhere near my PC
Have a good day!
Sent from my GT-I8150 using XDA
Click to expand...
Click to collapse
Shouldn't i look into framework-res for the wallpaper?
Btw, I saw a tutorial in XDA for Samsung Epic 4G but the regarding files are in res/values/styles.xml. But I have no idea what is the name for it in our Samsung Wonder.
HELP!
could you gave me the background wallpaper? thats really cool man!
oops, my bad. After looking at the framework-res files, it MIGHT be the menu_background.png, haven't tested it yet,though, had no spare time, sorry, and good luck
Sent from my GT-I8150 using XDA
SyzwnFrzRdz said:
Shouldn't i look into framework-res for the wallpaper?
Btw, I saw a tutorial in XDA for Samsung Epic 4G but the regarding files are in res/values/styles.xml. But I have no idea what is the name for it in our Samsung Wonder.
HELP!
Click to expand...
Click to collapse
The file name are same, but you need to decompile your framework-res.apk with apktool, not just extract it by using 7zip or winrar.
If you're extract framework-res.apk with 7zip or winrar, you are not able to get the values folder and the styles.xml inside.

AOSP navbar from Nexus on Stock?

I enable navbar on rooted Stock .55 adding line in build.prop buy i want AOSP keys.How i can replace sony navbar?
But this is AOSP nav bar. It's same as in Nexus.
Sent from my LT26i using xda developers-app
Looks different
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
darkmatthew said:
Looks different
Click to expand...
Click to collapse
You will have to replace some png files in the framework-res.apk of your rom. You can change it with winrar. First get those 3 pngs from the Nexus rom. Then open your framework-res.apk with winrar and search for the png in the drawable or minmap folder. Then rename the respective pngs of the Nexus icon to that of the Xperia icon and replace it in the apk.
darkmatthew said:
Looks different
Click to expand...
Click to collapse
Hi there! While I was trying to implement this for my rom, I found out which file to replace. Download this zip - http://www.mediafire.com/?758mnayrlt3dee4
It has the Nexus navigation icon bars. Open your SystemUI.apk with winrar and go to res/drawable-xhdpi and search for pngs which are ic_back.png, ic_home.png etc. Just replace these pngs with the ones in the downloaded zip and enjoy!
been looking everywhere for this..thanks bro :good:
[edit: can you help me out bro..i got the portrait icons good see]
[but then i found out in landscape it changes to the xperia navbar icons again]
[but what i wanted was this ]
['ve been looking for the files to replace in my systemui.apk and framework-res.apk but i just cant find them..can you point it out please?]
edit: check that, i found it..thanks for the tutorial anyway :good:
abcdjdj said:
Hi there! While I was trying to implement this for my rom, I found out which file to replace. Download this zip - http://www.mediafire.com/?758mnayrlt3dee4
It has the Nexus navigation icon bars. Open your SystemUI.apk with winrar and go to res/drawable-xhdpi and search for pngs which are ic_back.png, ic_home.png etc. Just replace these pngs with the ones in the downloaded zip and enjoy!
Click to expand...
Click to collapse
hhmm,nice mate...just want to ask something,i want to change the home stock icon launcher,were can I find it?
thanks button hitted

Window transition animation

OK I have a zip of a windows transiting animation zip... When I open it it says folders are res/anim and then there are a bunch of files in it... I'd like to change the files out so I can use the other transition...I tried zip themer and that did not work...what I am asking is does anyone know where this set of files/folder is located within system? If not any way I could get this to flash properly?
http://db.tt/U0q2d62i
That is the file in question
Sent from my Galaxy Nexus using Tapatalk 4 Beta
It is in the framework-res.apk (/system/framework/framework-res.apk).
You can either modify the framework-res.apk manually and use adb to push it back, or make an update.zip. You alternatively could make a zipthemer file and use it to flash it.
cupfulloflol said:
It is in the framework-res.apk (/system/framework/framework-res.apk).
You can either modify the framework-res.apk manually and use adb to push it back, or make an update.zip. You alternatively could make a zipthemer file and use it to flash it.
Click to expand...
Click to collapse
Ok the first idea you have honestly is way out of my league lol...alternatively I don't know how to turn it into a zip theme file...do you know more about that? I don't know much about code at all so if you do please dumb it down
Sent from my Galaxy Nexus using Tapatalk 4 Beta
goast said:
OK I have a zip of a windows transiting animation zip... When I open it it says folders are res/anim and then there are a bunch of files in it... I'd like to change the files out so I can use the other transition...I tried zip themer and that did not work...what I am asking is does anyone know where this set of files/folder is located within system? If not any way I could get this to flash properly?
http://db.tt/U0q2d62i
That is the file in question
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Click to expand...
Click to collapse
You could use rom toolbox lite (assuming you're rooted). I use it for animations and fonts when I'm not on sourcery rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
U.O.E.N.O
namtombout said:
You could use rom toolbox lite (assuming you're rooted). I use it for animations and fonts when I'm not on sourcery rom.
U.O.E.N.O
Click to expand...
Click to collapse
Worked....like a glove!!!!!!
Sent from my Galaxy Nexus using Tapatalk 4 Beta

Categories

Resources