[Q] framework-res.apk modifying problem - LG Optimus 2x

Hi to everyone i have this problem:
I use this rom
http://forum.xda-developers.com/showthread.php?t=1019818
and i am trying to make some changes to framework-res.apk
I pull it out and changed some pngs.
When i push it back and restarted my phone i show the new theme but when i unlock the phone i am having a persistent fc from fonts.apk and the only solution is to pull the battery out and do a nandroid restore..
What i did exactly:
pulled out framework-res.apk with root explorer
I changed the pngs through 7zip
I pushed the new framework-res.apk back and gave the right permissions
An other thing is that when i tried to do the whole proccess through apk-manager i had a lot of .9 pngs errors.Is this a reason for the fonts.apk to fc?
I am new at this and i need your help
Thank you for your time
[SOLVED]

How did you solve it? Might help others.
Sent from my LG-P990 using Tapatalk

Related

Change taskbar color

Hi Guys,
is it possible to change android (magic) taskbar color/theme for the device without root access?
I don't like the boring white, I want black taskbar with white font.
any suggestion will be appreciated .
thanks
I would like the same my device is rooted though
Draxter said:
I would like the same my device is rooted though
Click to expand...
Click to collapse
dont think it is possible if you aren't rooted. If you are rooted open up the update.zip file you are using as your rom using 7-zip, go to where framework drawable folder is. Open status bar and change its colour, drop it back in and resign app. There are instructions how to do this in themes section of Dream.
http://forum.xda-developers.com/showthread.php?t=473580
http://forum.xda-developers.com/showthread.php?t=471586 I use post number 6 the way i do it.
I'm using the Vodafone rom... I don't think I can get my update.zip from that? I rooted my device with haykuro's stuff in this tutorial.
http://android-dls.com/wiki/index.php?title=Magic_Rooting
I want to keep my Dutch XT9 so I can't flash anything else but smartphone france or my stock vodafone...
all the drawables should be in the root-me rom. open it and have a look for them.
But if they aren't I will brick my device by flashing a wrong framework...
no you wont. All you do is open it and drop in the .pngs you want, then resign it. they will be there in the rom- if not look at one of the other roms- Rogers, or daldroid will have them.
If it does go in to boot loop reboot into recovery and flash the last working rom you have until you figure out what went wrong. The only thing you are changing is the pngs. you shouldnt go intoa bootloop doing this- i have done a heap of theming for myself for the G1 and each time i got a boot loop it was cos i was playing around with services.jar and xml files. each time i just rebooted into recovery and reflashed previous working rom.
The thing is, I don't know which ROM I have... I have rooted my magic by using the android-dls tutorial with haykuro's stuff. There are still some vodafone relics left. I still have the vodafone shortcut, and i still have support for Dutch XT9.
http://android-dls.com/wiki/index.php?title=Magic_Rooting
I haven't made a Nandroid backup and I don't know how to make a backup either so... There is only one alternative, flashing Smartphone France firmware, it has Dutch support. I wouldn't mind trying out that one but that'll be the first time that I flash firmware onto my Magic so I'd like some guidance on MSN with that
Drawer
Im looking for the application drawer button in the res folder that is inside framework... found the status/notification bar and all icons but can't seem to find the app drawer button... i want to change it to a darker grey and make the notification bar black...
the app drawers are in launcher.apk
Easiest/safest way of changing the graphics I have found was to:
1. Connect your phone via USB and make sure you have the drivers installed
2. do adb remount
3. Do a adb pull on /system/framework/framework-res.apk for example
4. Open the apk with something like winrar etc
5. Locate the png files you want to change and extract them
6. make modifications to the files
7. pop back to the apk
8. do an adb push of the file back to the device
I've done this with fairly few apk's such as the launcher.apk and framework-res.apk and never had to resign the file =o)
The advantage is that you are using the file from your phone that you know works =o)) certain apk's don't even need a restart such as the Launcher.apk, I did alot of modding with the app drawer without ever needing to restart the phone.
This is good for changing the images but things like changing the clock color is ALOT harder, it requires you to edit the services.jar file with a hex editor =o(
Hope this helps.
Draxter said:
the app drawers are in launcher.apk
Click to expand...
Click to collapse
Ok, i did find the file in the launcher.apk, i edited it and all the other files and now need to resign in linux... was looking for the SignApk.jar in the SDK and didn't find it... also tried JF's testsign.jar and didnt work... can anyone point me in the right direction so i can resign the file using test keys in linux.
Thanks,
If you just changed the png's you shouldn't have to resign it
fxn said:
If you just changed the png's you shouldn't have to resign it
Click to expand...
Click to collapse
What about the hour and date font in the status bar... if i change the notification area to black it wont automatically switch to white text... do you know where i can find the parameters to change it?
Some of the text like notification texts etc are held in framework-res.apk xml files in the drawable folder if I remember correctly.
The clock is the difficult one as it is inside services.jar file, its a serious pain in the back side, the dream forum has more info about it but it involves opening up files in hex editor and changing the hex code directly there
I'll be having a look at this and see if I can make step by step guide of this but it is seriously a pain!
Any idea which XML's in framework-re.apk (or other location) hold the various notification font colour(s)?? I can't seem to find it.

Black Screen after applying Theme

well guys, i edited the framework-res.apk, resigned it and put it back into the rom (bluemagic) but unfortunately it shows the bootscreen (after splash1) and then the screen just gets black. well. i don't know why, i´ve checked the files twice and it still not works.
any suggestions?
alutastisch said:
well guys, i edited the framework-res.apk, resigned it and put it back into the rom (bluemagic) but unfortunately it shows the bootscreen (after splash1) and then the screen just gets black. well. i don't know why, i´ve checked the files twice and it still not works.
any suggestions?
Click to expand...
Click to collapse
Did you place it back into the update.zip file, resign and flash that or did you push framework-res.apk to /system/framework directory?
Also... your edits in framework-res.apk, did they consist of changes to any 9.png files? Editing those files (the 9.png) can cause problems. The best way to edit those files are from source and then either export the edited files using Eclipse or make the apk file using Ubuntu from the source.

Removing Download & recovery from the menu

Hi ..can anyone tell me which file should I edit to remove "Download" & "Recovery" from power button options as I wanted to install either Darkys 10 RC5 or GingerCriskeloV45 to a friend of mine phone. And I don't want her go into those two by mistake.. Thanks in advance..
P:S I do have some knowledge about programming..
there are three files involved in this matter if are not familiar with compile and decompiling jar files just try to find the deodexed/unmodified files of your rom and replace(replacing may cause some other functions to be disabled). if you know bout compile/decompile then this thread is the clue
http://forum.xda-developers.com/showthread.php?t=811532
the files which has to be modified are:
framework-res.apk, framework.jar , android.policy.jar located in /system/framework
if you want to replace just replace framework.jar and android.policy.jar do not touch framework-res.apk
Thanks heaps mate... I'll try those as soon as I get home..

[Solved][Q] need help trying to theme omfgb battery

i am trying to theme the battery for omfgb. i have pulled the framework-res.apk, extracted it, replaced the images, zipped, signed, zipaligned, and pushed it back to the phone (using both adb push and in update.zip form) and the new images will not display. i still get the stock battery images. after i pushed to the phone and let it restart i re-pulled the apk and extracted it and the same images i put in there are still in the apk so i'm not sure why they wont show up, and yes they have to same name as the ones they replaced. i didn't optimize the images does that matter? if not has anyone else ever run into this problem and solved it before? i would really like to solve this so any help would be greatly appreciated
Your doing way to much. All you have to do is extract the framework, edit images, and then just push the framework. You dont need to zipalign, sign and all that nonsense.
thanks that worked like a charm.
Glad to help
Okay, my phone theme-tweaking ended in the days of Windows Mobile and .dlls.....I'd love to tweak a few things like battery images. I have taken the framework-res.apk and opened its contents, but I am unable to find images pertaining to the battery.
I've also been unable to find a thread detailing the different files responsible for the different graphic elements in Android........maybe it's all in this one file.
If anyone has a tip or two, that would be great.
thanks
Look in the drawable-hdpi folder
Sent from my SCH-I500 using XDA Premium App

Phone is in a bootloop --> HELP

hi there..
small problem:
i modify my systemui.apk and framework.apk with uot, and replace this two files without to flash, after reboot the phone stay in a bootloop. i forget to save the original files but overwrite them..
can somebody here with root upload his original systemui and framework.apk so i can try to push it over adb to start my phone again??
please, befor i go sleeep.. otherwise i didnt have a alarm clock to stand up in the morning..
thank you!!!!!
^^ this is the reason I dont mess with what shouldnt be messed with lol

Categories

Resources