can u please help me how to replace png file on framework..i did not really know how to do that..
wanyakuza said:
can u please help me how to replace png file on framework..i did not really know how to do that..
Click to expand...
Click to collapse
inside a rom you would go to where the the png is, you edit it save it and overwrite the old one
wanyakuza said:
can u please help me how to replace png file on framework..i did not really know how to do that..
Click to expand...
Click to collapse
Since it is png you no need to decompile or recompile just use 7 zip or winrar and replace it. Make sure that the png you are replacing have same resolution and name
Sent from my GT-I9070 using Tapatalk
PradeepMurugan said:
Since it is png you no need to decompile or recompile just use 7 zip or winrar and replace it. Make sure that the png you are replacing have same resolution and name
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
i have decompile framework with apktool , but i don't know how replace the file..did i need go to drawable ldpi?? , after that what to do??
wanyakuza said:
i have decompile framework with apktool , but i don't know how replace the file..did i need go to drawable ldpi?? , after that what to do??
Click to expand...
Click to collapse
Use winrar and take out the file you want, edit it and drop it back in the same place you got it, when it promotes you,replace it
Trozzul said:
Use winrar and take out the file you want, edit it and drop it back in the same place you got it, when it promotes you,replace it
Click to expand...
Click to collapse
winrar or 7zip?? , what are in drawable ldpi actually? it's the actual file or new??
Use Winrar or 7zip it doesn't matters.
Ldpi folder contains image for low device resolution.
If you replaced nothing in this folder then it's the actual file but you should replace your image in the correct folder according to your screen resolution.
Sent from my HTC Sensation Z710e using xda app-developers appl
Related
In "framework-res.apk/res/layout" when I edit the "status_bar_expanded.xml",
even if I add one dot and delete it again and save the file, it doesn't work
anymore and it stucks on my bootanimation, and loops over and over.
I use "apk manager" for decompiling and compiling the framework-res.apk.
Does any one know what the problem is?
Thank you?
sohrab1985 said:
In "framework-res.apk/res/layout" when I edit the "status_bar_expanded.xml",
even if I add one dot and delete it again and save the file, it doesn't work
anymore and it stucks on my bootanimation, and loops over and over.
I use "apk manager" for decompiling and compiling the framework-res.apk.
Does any one know what the problem is?
Thank you?
Click to expand...
Click to collapse
what do you mean add one dot?
kay_kiat88 said:
what do you mean add one dot?
Click to expand...
Click to collapse
To the code obviously. ie he cant seam to save file without it breaking, even if removing what he added prior to saving.
TheATHEiST said:
To the code obviously. ie he cant seam to save file without it breaking, even if removing what he added prior to saving.
Click to expand...
Click to collapse
i know it's obviously to the code. upload your .xml let me take a look.
also ensure that the /(yourdirectory)/apktool/framework/1.apk where 1.apk is your original framework-res.apk and /(yourdirectory)/apktool/framework/2.apk where 2.apk is your original tw-framework-res.apk
statusbarexpanded
Hey
Do any know what @id/plmnLabel and @id/spnLabel refers to? Im speculating it has something to do with service provider.. Since the theme of framework is set to Black, the service provider text color is black as well, so ive made edits to
...Color=?textColorSecondary on both (removed Inverse) ive not tested this, maybe u have Kay?
biopsin said:
Hey
Do any know what @id/plmnLabel and @id/spnLabel refers to? Im speculating it has something to do with service provider.. Since the theme of framework is set to Black, the service provider text color is black as well, so ive made edits to
...Color=?textColorSecondary on both (removed Inverse) ive not tested this, maybe u have Kay?
Click to expand...
Click to collapse
nope i haven't tested it but u can read here: http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
android:id="@id/plmnLabel". This is the Carrier name
android:id="@id/spnLabel". This is the Provider name
this post is useful for froyo.
but i'm already on gingerbread. for gingerbread, read: http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
all working great ..
Tnx k - ur right still on froyo
kay_kiat88 said:
what do you mean add one dot?
Click to expand...
Click to collapse
I mean you even can't make a small change in that xml.
kay_kiat88 said:
i know it's obviously to the code. upload your .xml let me take a look.
also ensure that the /(yourdirectory)/apktool/framework/1.apk where 1.apk is your original framework-res.apk and /(yourdirectory)/apktool/framework/2.apk where 2.apk is your original tw-framework-res.apk
Click to expand...
Click to collapse
Here is my "status_bar_expanded.xml"
I just want to change some colors. I did the same thing for other xmls like
"status_bar_latest_event_content.xml" and it works perfectly, but for that
one, it stucks on my bootanimation. when I compile the xml I get no error
but I don't know what the problem is.
For that 1.apk and 2.apk, no I didn't do that.
I'll try it and report back.
sohrab1985 said:
Here is my "status_bar_expanded.xml"
I just want to change some colors. I did the same thing for other xmls like
"status_bar_latest_event_content.xml" and it works perfectly, but for that
one, it stucks on my bootanimation. when I compile the xml I get no error
but I don't know what the problem is.
Click to expand...
Click to collapse
If u use wrong definisions it wil stall.. What color is this in your file android:textColor="#ff7bad00" ?
After compiling did u copy the manifest and metainf folder to the new framework Res?
Sent from my GT-P1000 using XDA Premium App
biopsin said:
If u use wrong definisions it wil stall.. What color is this in your file android:textColor="#ff7bad00" ?
Click to expand...
Click to collapse
it's the color of operator name in status bar and that "clear" button, and I changed it to "#ff000000"
zenkinz said:
After compiling did u copy the manifest and metainf folder to the new framework Res?
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
Honestly, I don't know what those "manifest" and "metainf" are, because I changed some xmls and I'd had no problem with them, So I thought that's the way to compile and decompile framework-res.apk.
Could you plz tell me what should I do? Thanks.
sohrab1985 said:
Honestly, I don't know what those "manifest" and "metainf" are, because I changed some xmls and I'd had no problem with them, So I thought that's the way to compile and decompile framework-res.apk.
Could you plz tell me what should I do? Thanks.
Click to expand...
Click to collapse
I thought u already have this covered because it sounded like you have no problem with other XML except this.
But if u have not heard of the two files/folder I have hightlighted chances are you don't have them in your newly compiled apk which will cause bootloop.
After compiling ur apk you should see that meta-inf folder is missing. U need to copy that from the original API, along with manifest.XML to the new apk.
Sent from my GT-P1000 using XDA Premium App
zenkinz said:
I thought u already have this covered because it sounded like you have no problem with other XML except this.
But if u have not heard of the two files/folder I have hightlighted chances are you don't have them in your newly compiled apk which will cause bootloop.
After compiling ur apk you should see that meta-inf folder is missing. U need to copy that from the original API, along with manifest.XML to the new apk.
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
that's right, I've had no problem with any xmls without copying those files until now, but thanks to you I can edit this one, too.
Thank you so much.
Ok so I'm trying to make the menu font white so i can give it a black bg.
I decompiled xmls and all, did everything right BUT now when I go to recompile...
http://forum.xda-developers.com/showpost.php?p=14121644&postcount=196
Realorasz said:
Ok so I'm trying to make the menu font white so i can give it a black bg.
I decompiled xmls and all, did everything right BUT now when I go to recompile...
http://forum.xda-developers.com/showpost.php?p=14121644&postcount=196
Click to expand...
Click to collapse
Have you tried the UOT kitchen.....
http://uot.dakra.lt/
Or maybe this will help too....
http://forum.xda-developers.com/showthread.php?p=13874800
Good luck.
smartgardens said:
Have you tried the UOT kitchen.....
http://uot.dakra.lt/
Or maybe this will help too....
http://forum.xda-developers.com/showthread.php?p=13874800
Good luck.
Click to expand...
Click to collapse
Neither help, sorry. UOT can't change font colors in the menu and that cm7 thing is for images, again not for font colors in the menu.
Delete public.xml from res/values. It will regenerate while compiling.
Sent from my X10
realunited123 said:
Delete public.xml from res/values. It will regenerate while compiling.
Sent from my X10
Click to expand...
Click to collapse
Not helping.
Realorasz said:
Not helping.
Click to expand...
Click to collapse
What does it say? You deleted public.xml?
Sent from my X10
realunited123 said:
What does it say? You deleted public.xml?
Sent from my X10
Click to expand...
Click to collapse
Says something about 'declared here is not defined' at the end of every line
Whatever's happening I'm getting errors on everything no matter what I try and I'm following the instructions.
Try compiling it ignoring the error messages then from the compiled apk, extract the files you modified including png and xml files, then from the original apk open it with winrar and paste the files you extracted previously.
gil2004xp said:
Try compiling it ignoring the error messages then from the compiled apk, extract the files you modified including png and xml files, then from the original apk open it with winrar and paste the files you extracted previously.
Click to expand...
Click to collapse
Thing is its not compiling any apk.
Which tool are you currently using for compiling/decompiling?
Try extracting framework again, follow this
Yeah that is what I'm using.
Sent from my X10 TripNMiUI-IRIS
Hey buddy,
I've enabled the Old TV like animation on XXKP9. It was disabled by default, for development purpose i thought.
here's the sample video: http://www.youtube.com/watch?v=76XAZE6iV08
and here's the file:
View attachment framework-res.rar
remember:
-do what you wanna do, i'm not responsible for anything happen because of this file.
-Only for XXKP9
-Root first
-it was tested by me
nice dude
i like it
nurseto said:
Hey buddy,
I've enabled the Old TV like animation on XXKP9. It was disabled by default, for development purpose i thought.
here's the sample video: http://www.youtube.com/watch?v=76XAZE6iV08
and here's the file:
View attachment 644244
remember:
-do what you wanna do, i'm not responsible for anything happen because of this file.
-Only for XXKP9
-Root first
-it was tested by me
Click to expand...
Click to collapse
Can you post the edited file (Source)
because i have already edited the framework file so i cant replace it
i just pull framework-res.apk and extract it,
edit bool.xml in framework-res\res\values\bool.xml
and change value config_animateScreenLights to false
and compile again
that's it bro
nurseto said:
i just pull framework-res.apk and extract it,
edit bool.xml in framework-res\res\values\bool.xml
and change value config_animateScreenLights to false
and compile again
that's it bro
Click to expand...
Click to collapse
I cant find a file like that in framework-res.apk !!!
Cool.
Sent from my GT-I9003 using XDA App
vivekkalady said:
I cant find a file like that in framework-res.apk !!!
Click to expand...
Click to collapse
you must extract it using apk manager
and you will find many files extracted into folder
if you are using XXKP9, then just use my file, i've do it for you bro
nurseto said:
you must extract it using apk manager
and you will find many files extracted into folder
if you are using XXKP9, then just use my file, i've do it for you bro
Click to expand...
Click to collapse
I hav extracted the framework-res.apk file
i can see many files in that
but i cant find the file you have specified
tell me the correct location
i cant use your file because i have ported the overscroll effect to my phone by editing both framework.jar & framework-res.apk
awesome ..great job dude..been waiting for this 4 so long..!
nice work dude
nice work dude,but our framework size around 8mb but this one only 5?wat u did?
vivekkalady said:
I hav extracted the framework-res.apk file
i can see many files in that
but i cant find the file you have specified
tell me the correct location
i cant use your file because i have ported the overscroll effect to my phone by editing both framework.jar & framework-res.apk
Click to expand...
Click to collapse
you are using apk manager aren't you?
when extracting done, in your apk manager folder, you will find a folder named projects. in this projects folder you will find framework-res\res\values\bool.xml
bala242 said:
nice work dude,but our framework size around 8mb but this one only 5?wat u did?
Click to expand...
Click to collapse
yes i noticed that too
don't know why because i only edit one file
maybe apk manager (which compiling files into .apk) is the cause.
nurseto said:
you are using apk manager aren't you?
when extracting done, in your apk manager folder, you will find a folder named projects. in this projects folder you will find framework-res\res\values\bool.xml
Click to expand...
Click to collapse
Its Working Fine
Nurseto and vivek can u guys work together and put crt effect and overglow in the same mod.then it would be awesome.
Sent from my GT-I9003 using XDA App
rdr_m said:
Nurseto and vivek can u guys work together and put crt effect and overglow in the same mod.then it would be awesome.
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
i think framework.jar and framework-res.apk are independent
i've use vivek file and my file, it can work together
you can use vivek mod and my mod together, without interrupting each other
Great work dude
If this can be ported for the XXKB3, You sir are my hero. I want this so damned bad! GB is so dry! No themes makes it horrible to use :\ I hope in the future devs that Samsung will add the option to apply your own themes flawlessly and an option to select specific features. [CRT, Overglow]
Misledz said:
If this can be ported for the XXKB3, You sir are my hero. I want this so damned bad! GB is so dry! No themes makes it horrible to use :\ I hope in the future devs that Samsung will add the option to apply your own themes flawlessly and an option to select specific features. [CRT, Overglow]
Click to expand...
Click to collapse
Some said, this effect is hardcoded into the gingerbread itself.I don't think it will be easy to port Electron Beam Effect(this is how it named by android).
nurseto said:
Some said, this effect is hardcoded into the gingerbread itself.I don't think it will be easy to port Electron Beam Effect(this is how it named by android).
Click to expand...
Click to collapse
Lets just hope they don't turn into royal jackasses and remove it in the next release.
Ok so I just have a quick question about theming. How do I change the text color on the lockscreen? I'm pretty sure I have to edit one of the .xml files, but which one and how? And do I have to actually decompile the .apk to edit it or can I just pull it using 7zip and edit it that way? I already have edited the actual .pngs for the lockscreen, so if anyone can help me out with this it would be great. Oh and this is with the stock deodexed rom.
I'm not sure where its located but it will be an xml file and you will need to decompile wherever it lays. Try androidpolicy.jar and look in there..
Sent from my SPH-D700 using xda premium
travmofosho said:
I'm not sure where its located but it will be an xml file and you will need to decompile wherever it lays. Try androidpolicy.jar and look in there..
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
So it's not actually in the lockscreen .apk? I will look in the androidpolicy.jar. Also how would I go about decompiling it?
In which xml file of the framework-res.apk is the default wallpaper specified?? thanks in advance guys
yeshwanthvshenoy said:
In which xml file of the framework-res.apk is the default wallpaper specified?? thanks in advance guys
Click to expand...
Click to collapse
For what you need may I know.???...because if you want to replace it just replace the png in drawable-X/H/M/L DPI....
Crytech007 said:
For what you need may I know.???...because if you want to replace it just replace the png in drawable-X/H/M/L DPI....
Click to expand...
Click to collapse
i wanna give my own name to the wallpaper and also wanna make the app drawer transparent
there is no xml that defines it..the default_wallpaper.jpg gets picked automatically
just rename your wallpaper as default_wallpaper you wont need to edit XML then.
in cm7 , the default wallpaper is in drawable folder
Sent from my GT-S5670 using xda premium
speed_bot said:
there is no xml that defines it..the default_wallpaper.jpg gets picked automatically
Click to expand...
Click to collapse
okay so can i never give a rom something like gingerbread.jpg instead of default wallpaper.jpg or something like that??