Hello,
I wanted to change some colour in ICSSGS ICS Rom. So I pulled the framework-res.apk, decompiled it changed the pngs, compiled it pushed to sdcard and then moved with root explorer to /system/framework/... While copiing it shows that some application crashed but instead of the name appear random translations like "buscar" or just letters... Where is the problem to change some png files in the framework-res apk?
Can someone help me how to change these files?
Thanks
Related
Hey guyz. I have a Samsung Galaxy 5 (GT-i5503). I have installed froyo on it now from samfirmware.com. Right now I'm using a custom ROM from a guy named motafoca. I don't like the battery icons so I thought of changing it to the icons which indicated 1-100% and looked like the default one. So I pulled the framework-res.apk file from the framework directory and added the battery icons through 7zip. I also replaced the xml files in the drawable folder namely stat_sys_battery.xml, and two more files. After that the battery icon disappeared because I had the xml files from the battery mod. Figured out , it had got something to do with the xml file, I tried replacing the original files back but my phone got stuch in boot loop. So, I reflashed and its working now. After reading lot of information on this forum, I understood that we need to decompile the apk file so that we can edit the xml files. I did that and edited the xml files as necessary. Now, when I try to recompile the apk file with apk tool or apkmanager, I am getting an error saying the "Public symbol drawable/filename declared here is not defined" I am getting this error on many files including the ones that I have added. In one of the topics, somebody had suggested that we add the png files through 7zip without extracting the apk and then decompiling the apk so that the public.xml will autogenerate the ids for the new files, but that is not working. Can anyone help please? I am attaching the framework-res.apk file for reference.
Help!-
Sent from my GT-I5500L using XDA App
Bump!
Btw, did you ever get the answer?
Once you decompile the apk with apktool/apkmanager, and add your images and edited xml files, then you will need to delete res/values/public.xml; finally you can recompile the apk file and public.xml will be generated as it is building. Hope this helps.
I realize this is an old thread, but it appears the answer would still be appreciated.
I tried that, but it just gives me a bootloop.
Hi guys,
im currently using netdrg`s sense theme http://forum.xda-developers.com/showthread.php?t=1048792
Now i changed all the green elements of the framework-res.apk to blue. Ive done everything so far, but i have no clue how to edit the color of the progress bar. (the bar when u change the volume, download something and so on...)
Ive heard that u have to edit an xml file, but as i have no clue about editing these files, i want to ask for a little favour.
Ive attached the xml file, and the color which i will use is 1761ab (hex).
So ill thank the guy who will do this for me a thousand times and i can share the theme with you afterwards!
lg l
In order to edit this xml file you need to decompile framework-res.apk. You can use apk_manager. Once the framework has been decompiled you can easily change the hex color for the progress bar (remember that the first 2 digit are for alpha channel). After that you need to recompile the framework. Actually there is another way to do that, but it‘s a bit triky as you need to modify the xmls file by using an hex editor..
If you want i can modify and compile the xml attached for you! Let me know m8
hey, thanks for your answer.
I put the framework-res.apk in the "place here for modding" folder, opened the script and hit 9 to decompile.
Then i edited all the values in the xml file in the "projects" folder and saved it.
Now i compile it, delete the file i edited in the "keep" folder and that other file mentioned.
Now i tried to apply the compiled framework_res.apk back to the system which results in a bootloop, what am i doin wrong?
soulcrash said:
hey, thanks for your answer.
I put the framework-res.apk in the "place here for modding" folder, opened the script and hit 9 to decompile.
Then i edited all the values in the xml file in the "projects" folder and saved it.
Now i compile it, delete the file i edited in the "keep" folder and that other file mentioned.
Now i tried to apply the compiled framework_res.apk back to the system which results in a bootloop, what am i doin wrong?
Click to expand...
Click to collapse
Ok, you are getting close to the solution
Once you got the unsignedframework.zip inside the place-apk-here-for-modding folder, you have to do a little trick in order to get it working...
Unzip all the content of the "unsignedframework-res.apk". You should have 5 objects (3 folders, 2 files).
Zip these files with Winrar/Winzip (whatever) but you must choose "No compression (store)" method to zip it.
Rename this zip into "framework-res.apk".
Put it into an update.zip and it should be OK to flash trough the recovery mode.
keep me updated
i made one theme through UOT KITCHEN..n i flashed that zip n as i selected fonts the fonts changed but i doesnt look good in mobile as low resolution.. how to get back the original CM7 fonts?? i have uninstalled it but fonts remained as it..every other things changed.. but fonts didnt changed..i want to change the font..plz help..
you could just replace the /fonts folder inside your device from the flashable zip file from cm7
I've been looking into decompiled framework-res.apk , twframework-res.apk trying to change the default action bar background, but I had no success. Anyone have any clue? It would be really appreciated.
edit: the .png files are in framework-res under drawable-xhdpi folder.
hello Guys hope you can help me with an Problem:
I wanted to change the Colors of the Icons in the Status Bar so i copied over systemUI.APK to my PC via ES-Data Explorer.
I extracted the ZIP and Coloreed the Logos (Didnt change anything just Colored)
then i got 2 Framework APK ( com.htc.resources.APK and framework-res-htc.APK) and used this APK TOOL: Apktool if xxxx.APK (the two apks from framework)
then i decomiled the SystemUI.APK with APK Tool and replaced the ICONS (which i edited before from an usual extracted APK)
now when i want to compile it again it gives me an error at every Icon which i edited.
Hope oyu can help me, It worked on my samsung galaxy s2 though.
Ah And not to forget: Of Course im S-OFF and Rooted.
[IMG="Screenshot of the Logos and APKTOOL"]
http://www.fotos-hochladen.net/uploads/screenshot10lkbtp4izef.png
[/IMG]