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.
Related
First off this is for people that know how to decompile/compile apk's..
What this is = Watch here
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
6: Profit...
~~~~~~~~~~~~~~~~~~
How to change the statusbar color:
1: Decompile SystemUI.apk
2: Edit the file \smali\com\android\systemui\statusbar\Clock.smali
3: Search for the line with ->setTextColor comment it and the line above out with a # infront of the two lines.
4: Compile the SystemUI.apk
5: Decompile framework-res.apk and edit the file \res\values\styles.xml
6: Find the style name 'TextAppearance.StatusBar' and change the textColor item to the color you want
7: Compile framework-res.apk
8: Profit More.
These guides will work with about any 2.3 rom out. Thanks to various sources for help on finding these..
(Will add more to this later)
do you have the compiled version of the CRT TV effect?
I will post a version later as the one I got is tweaked and would more and likely cause you guys bootloops.
I decompiled framework but I don't have a values folder in res. Am I missing something? Thanks!
dubntz said:
I decompiled framework but I don't have a values folder in res. Am I missing something? Thanks!
Click to expand...
Click to collapse
are you sure you "decompiled"? or just extracted?
I used APK Manager. Does that not decompile it?
c19932 said:
are you sure you "decompiled"? or just extracted?
Click to expand...
Click to collapse
Going to update my guide so people know to decompile and not extract
I used APK Manager. Does that not decompile it?
Click to expand...
Click to collapse
if you used the decompile option it should have.
Yeah, I just extracted and did not decompile it. Now that I did it right I see the file. Thanks for the help! Much appreciated!
I'm a little curious. Chris mentioned they left the screen-off animation disabled because of issues they were having. Have you experienced any issues at all?
tweezit said:
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
6: Profit...
Click to expand...
Click to collapse
What would you suggest to look into if the setting is already set to false?
Have you got this to work for Cm7 yet?
Sent from my LG-P999 using XDA App
Thanks! Now I gotta reflash 2.3 so I can try to get the status bar vanilla.
MWBehr said:
I'm a little curious. Chris mentioned they left the screen-off animation disabled because of issues they were having. Have you experienced any issues at all?
Click to expand...
Click to collapse
Yes on some roms you will get wake lag bad & others it will work fine.. On the 2.3 leak it will go to a black screen for a while. (that's due to 2.2.2 drivers though from what I can tell.)
Have you got it to work on cm7?
Is it possible to clarify what framework-res.apk is referred this tutorial?
I read these posts and seems like it has not mentioned so far. However, in my case (i am running MoDaCo Fr16 CR) after decompiling framework-res.apk i cannot see that config inside res->values->bool.xml.
Maybe i'm missing something
Thanks in advance.
name="config_annoy_dianne"
lol, just thought that was amusing. let's not annoy dianne.
anyways,trying this now on bionix.
i'm no expert at decompiling etc. just figured it out today lol. i'm pretty positive i did it correctly using apktool. however, after copying the compiled apk back to phone, it just hangs at a black screen on reboot. maybe i did it right and it's just not compatible with bionix? i did read on the apktool site that it won't be signed after recompiling. is this why it won't work? anybody successful here?
crazythunder said:
name="config_annoy_dianne"
lol, just thought that was amusing. let's not annoy dianne.
anyways,trying this now on bionix.
Click to expand...
Click to collapse
Bionix? For the g2x?
Sent from my HTC Vision using XDA Premium App
drewtang said:
Bionix? For the g2x?
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
shhhh, it's a secret.
crazythunder said:
shhhh, it's a secret.
Click to expand...
Click to collapse
Ahhhhhhh I WANTS IT.
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
Ok im getting pretty good at editing frameworks and finally got a working theme for bionix!!! I think it looks pretty good, it gives Bionix Frost a cooler look!!! but let me know what you guys think. The pics will be posted in a minute.
Stuff Ive Themed So Far:
Nuke Green Status Bar
Themed Drop Down Menu w/New Icons,Transparent Background and Custom Galaxy Tab!!
Download and Slider Bars are Themed
Pop Up Menus Glow
Usb icons Are Changed
Lockscreen Themed
Like everybody else says im not responsible for bricks!! I have had this theme all day testing with no problems but this is just version 1 ill be adding more to the theme as i go. Also note i had a force close of titanium backup right after pushing the files not sure why just rebooted and never had a problem again and yes titanium back still works perfect i checked.
Just unzip and push both files to system/framework then reboot.
Heres the pics enjoy
Looks good. Look in res/layout/status_bar_expanded.XML to find the lines for the white background on your notification pulldown. ;-)
Sent from my LG-P999 using XDA App
krylon360 said:
Looks good. Look in res/layout/status_bar_expanded.XML to find the lines for the white background on your notification pulldown. ;-)
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Thanks krylon360!! Hey do you know any good xml editors for beginners that are free?
Notepad++ is what we all use
Sent from my LG-P999 using XDA App
krylon360 said:
Notepad++ is what we all use
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
ok got it and tried for awhile but still cant figure out what to change to get rid of the white background its kinda confusion to look at for the first time. Could you tell me what i need to change? Heres a pic below, is it suppose to look as confusing as it does or am i not doing it right,lol? thanks
in the 3rd pic u can change the white in uot kitchen
lenny hodapp said:
in the 3rd pic u can change the white in uot kitchen
Click to expand...
Click to collapse
I know uot gives the option becuase i made those white parts black it even shows it in the preview but when i cook it, it changes to white. Im try to find it in the drawable-hdpi file to change it manually.
Sent from my SGH-T959V using XDA App
Bryanb82 said:
ok got it and tried for awhile but still cant figure out what to change to get rid of the white background its kinda confusion to look at for the first time. Could you tell me what i need to change? Heres a pic below, is it suppose to look as confusing as it does or am i not doing it right,lol? thanks
Click to expand...
Click to collapse
you have to decompile framework-res.apk in order to convert the xml's from binary to text, then recompile once done.
the drop down menu runs from twframework-res.apk and framework-res.apk. i don't know which changes it so i always cook the status bars the same in both files. i think if u try again u should get in done in uot kitchen.
krylon360 said:
you have to decompile framework-res.apk in order to convert the xml's from binary to text, then recompile once done.
Click to expand...
Click to collapse
Thanks krylon im gonna try that!! Thanks
lenny hodapp said:
the drop down menu runs from twframework-res.apk and framework-res.apk. i don't know which changes it so i always cook the status bars the same in both files. i think if u try again u should get in done in uot kitchen.
Click to expand...
Click to collapse
Yeah i always cook both files the same way i just think theres something diffrent about the bionix frameworks? would stock kd1 frameworks work on bionix? Im probably just going to edit the xml and be done with it. Thanks for the freedback.
krylon360 said:
you have to decompile framework-res.apk in order to convert the xml's from binary to text, then recompile once done.
Click to expand...
Click to collapse
Ok krylon i decompiled it with apk by putting the framework-res.apk in the "place-apk-here-for-modding" folder then hitting decompile then it decompiled it to the projects folder then i changed the status_bar_expanded but how do i compile it back?? apk ask me for a project number and the only one that shows up is the original apk??? Also i added a pic below let me know if i changed the right thing. I circled the color code that changed it to black #0000 it was originally #FF000 wich i think is white right?? thanks for helping this noob out
How do I install this theme I tried using CWM and it did not work
ak4life23 said:
How do I install this theme I tried using CWM and it did not work
Click to expand...
Click to collapse
unzip and copy both frameworks files to your sd card then using super manger or root explorer copy and paste to system/framework then reboot.
Sent from my SGH-T959V using XDA App
Anybody happen to know how to change the icon of the Dark Market? I have extracted the apk and placed my icon in replace of all the shopping carts pngs, replaced the edited apk with the one in /system/app. Tried to installed, but it failed and said "Application Not Installed". However when exit root explorer and open Dark Market the icon has not changed but the icon within the app has changed to my icon. Anybody know what I am doing wrong? Not signed correctly or what? Maybe there is an easier way to edit the apk?
UPDATED/Solved:To do... Extract the Vending.apk from /system/app place on sdcard by copying it not moving it. Open Vending.apk with 7zip: If you want all the internal icons changed as well replace "ic_menu_bag_market.png", "ic_menu_market_focused.png", "ic_menu_market_normal.png", and "ic_menu_market_pressed.png" within the "drawable-hdpi" folder with you icon of choice. Be sure to follow the dimensions of the image you are replacing. In this case they are all: 72x72. For changing the external icon that appears in your app drawer and on your home screen replace "ic_launcher_marketplace.png", and "ic_launcher_marketplace_apps.png" within the "mipmap-hdpi" folder. Make backup of Vending.apk within /system/app in case you messed something up. After replacing all those files push the apk back into /system/app overwriting the original Vending.apk (be sure you backed it up before doing this), exit root explorer or whatever app you happen to be using, and the app should of updated to the icons you changed them to.
the answer to your question is in the rom Vahalla thread that you origonally posted this in..
RaverX3X said:
the answer to your question is in the rom Vahalla thread that you origonally posted this in..
Click to expand...
Click to collapse
Not really, how do you change the icon then?
Sent from my SGH-T959V using XDA App
Sario27 said:
Not really, how do you change the icon then?
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
replace the icon thats in the drawable-hdmi folder with the one u want and push the vending apk back..
RaverX3X said:
replace the icon thats in the drawable-hdmi folder with the one u want and push the vending apk back..
Click to expand...
Click to collapse
Did that and rebooted still shows shopping cart...
Sent from my SGH-T959V using XDA App
Sario27 said:
Did that and rebooted still shows shopping cart...
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
make sure ur not using a theme that is changeing the icon...?
RaverX3X said:
make sure ur not using a theme that is changeing the icon...?
Click to expand...
Click to collapse
I'm currently using the GingerGreen Theme. How would I make sure the theme isn't changing the icon, and also prevent it from doing so?
RaverX3X said:
make sure ur not using a theme that is changeing the icon...?
Click to expand...
Click to collapse
Went through the zip file of the theme pack and couldn't find any of the dark market icons in the apks...
Figured it out... Didn't change the icons in the "mipmap-hdpi" folder. Thanks for your help!
Sario27 said:
Figured it out... Didn't change the icons in the "mipmap-hdpi" folder. Thanks for your help!
Click to expand...
Click to collapse
welp there u go sorry i dont have that vending apk so hey well glad its sorted for u at least i got u on the right path
RaverX3X said:
welp there u go sorry i dont have that vending apk so hey well glad its sorted for u at least i got u on the right path
Click to expand...
Click to collapse
Definitively haha well learned a lot along the way that is for sure. Thanks RaverX3X.
Sario27 said:
Definitively haha well learned a lot along the way that is for sure. Thanks RaverX3X.
Click to expand...
Click to collapse
np anytime
Yo,
Old thread, but I just wanted to add my observations on this.
I did the exact same thing (as you edit on the OP) yesterday -even before I found your thread- and it did cause one or two glitches.
What I've noticed is that after modifying the markert icons (and 2 notification bar ones) of the new Market version I've found here, the Market would now display extra tabs which I couldn't see before.
I could see the "Top Paid apps", "Top Grossing" and 1 or 2 more similar tabs regarding paid apps. The thing is that I'm currently in China and those usually don't show up since they are somehow blocked here. Once I'd browse through those new tabs and scrolled down, they just became white pages. I've also tried updating an app and that worked fine and the modded notification icons also showed up properly. But I didn't like to get 3 or 4 blank pages like that and I've finally reverted to the original Market.
So yes, it works but modding Vending.apk without an official signature might modify its behavior/options so just be warned... I didn't check the logcats but seeing all that, makes me think that fooling around with the apk might create invisible problems that I don't really want to get just for a simple appearance change or two...
I know that the softkeys can be changed to display words instead of the icons. I have found some images that have them as such but can't seem to get to work when using the custom framework maker. Am I missing something or does anyone have text image files that will work.
Tybo611 said:
I know that the softkeys can be changed to display words instead of the icons. I have found some images that have them as such but can't seem to get to work when using the custom framework maker. Am I missing something or does anyone have text image files that will work.
Click to expand...
Click to collapse
are the imgs u have to replace them pngs? easiest way is to rightclick framework-res.apk and open with 7zip. then drang new pngs over ones in assests folder.
then try and drag that new eddited apk into framework maker. to make a package to flash.
not sure if tb101s themer has to be editted for ec09 but ive been having trouble with 5.5 and ec09
im in chat right now if u want a hand to hold
http://forum.xda-developers.com/showpost.php?p=10422177&postcount=1
ciscogee said:
are the imgs u have to replace them pngs? easiest way is to rightclick framework-res.apk and open with 7zip. then drang new pngs over ones in assests folder.
then try and drag that new eddited apk into framework maker. to make a package to flash.
not sure if tb101s themer has to be editted for ec09 but ive been having trouble with 5.5 and ec09
im in chat right now if u want a hand to hold
http://forum.xda-developers.com/showpost.php?p=10422177&postcount=1
Click to expand...
Click to collapse
won't that create a 7zip file? that was the only problem i had with the themer, everything worked to remove the ticker history and weather. no fc's..yet.
Well the softkeys have to be alighned. Open existing PNGs in paint or whatever and alighn new ones and save. Then run themer.
Sent from my SCH-I400 using xda premium
thank you, checked the sizeds and they were different. now stuck at the decomling stage in themer.
Your making it way more difficult than it should be lol.
Look for older soft keys posts in our theme section.
There are easier ways in there. No decompile needed for softkey.
Sent from my SCH-I400 using xda premium
ciscogee said:
Your making it way more difficult than it should be lol.
Look for older soft keys posts in our theme section.
There are easier ways in there. No decompile needed for softkey.
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
Thanks you for your help. Finally got the text softkeys working.
huge thanks to ciscogee for his help, and trailblazer for the themer. screen shot is attached
CISCO! is your computer unpacked finally?
pattielipp said:
CISCO! is your computer unpacked finally?
Click to expand...
Click to collapse
no i wish. been a bumby road past month. trying to grab it in next couple weeks. just using phone and gf laptop. no cygwin no linux, minor apk editting when i can.