Problem modifying the call answer or decline slider - Atrix 4G Q&A, Help & Troubleshooting

Hi,
I am a novice in Theming skills. I have just started with the basics. I was trying to modify the unlock slider and call answer/decline slider.
I am running GingerMod#5 with the stock motoblur theme.
I changed the following images in framework-res/res/drawable-hdpi
jog_tab_bar_left_end_confirm_gray.9.png
jog_tab_bar_left_end_confirm_green.9.png
jog_tab_bar_left_end_confirm_red.9.png
jog_tab_bar_left_end_confirm_yellow.9.png
jog_tab_bar_left_end_normal.9.png
jog_tab_bar_left_end_pressed.9.png
jog_tab_bar_right_end_confirm_gray.9.png
jog_tab_bar_right_end_confirm_green.9.png
jog_tab_bar_right_end_confirm_red.9.png
jog_tab_bar_right_end_confirm_yellow.9.png
jog_tab_bar_right_end_normal.9.png
jog_tab_bar_right_end_pressed.9.png
zz_moto_jog_tab_bar_down_begin.9.png
zz_moto_jog_tab_bar_down_end.9.png
zz_moto_jog_tab_bar_down_mute_begin.9.png
zz_moto_jog_tab_bar_down_vibe_begin.9.png
zz_moto_jog_tab_bar_left_begin.9.png
zz_moto_jog_tab_bar_left_end.9.png
zz_moto_jog_tab_bar_right_begin.9.png
zz_moto_jog_tab_bar_right_end.9.png
zz_moto_jog_tab_bar_right_mute_begin.9.png
zz_moto_jog_tab_bar_right_vibe_begin.9.png
zz_moto_jog_tab_bar_up_begin.9.png
zz_moto_jog_tab_bar_up_end.9.png
and few more for the slider. The unlock slider changed but the call answer/decline slider is still the blur one. Can someone point out to me which file to change? or am I changing the wrong ones.
Also, I wanted to modify the notification bar background at the top. So I tried modifying the following files. This does not work. Please point me to the correct file/configuration.
status_bar_header_background.9.png
zz_moto_status_bar_homescreen.png
zz_moto_status_bar_normal.png
Note: I have been careful with 9.png thing. The framework-res.apk decompiles and compiles properly i.e without error. framework-res.apk installs properly and there is no bootloop till now. Already tried wiping cache.
Thanks
Anupam

The answer and end call sliders are in the phone.apk status bar is in systemUI.
Sent from my MB860 using Tapatalk

Related

[Q] Need help modifying framework-res.apk or twframework-res.apk and services.jar

Hello, maybe this is the wrong thread but i seem to not be getting any help over at Q&A's... I'm porting a theme from the captivate forums and for some reason my dropdown notifications have a transparent background and the text is black as well for any popup window like when you long press the homescreen to get widgets, and wallpaper chooser, so i think i need to modify either the framework-res.apk or the twframework-res.apk but don't kno exactly what file to modify to either get the text to white or get a background on those things... if anyone would advice me i'd appreciate it... thanks
Also if anyone could guide me into modifying the services.jar to change the clock color i would also appreciate it...
THIS IS THE LINK TO WHAT IM WORKING ON
danalex0829 said:
Hello, maybe this is the wrong thread but i seem to not be getting any help over at Q&A's... I'm porting a theme from the captivate forums and for some reason my dropdown notifications have a transparent background and the text is black as well for any popup window like when you long press the homescreen to get widgets, and wallpaper chooser, so i think i need to modify either the framework-res.apk or the twframework-res.apk but don't kno exactly what file to modify to either get the text to white or get a background on those things... if anyone would advice me i'd appreciate it... thanks
Also if anyone could guide me into modifying the services.jar to change the clock color i would also appreciate it...
THIS IS THE LINK TO WHAT IM WORKING ON
Click to expand...
Click to collapse
you need to edit the .xml files.
for notification you need to edit statubar_expand.xml and files that has similar name to that xml. dont exactly remember what its called.
its in framework-res.apk/res/layout
the notification pulldown background is in
twframework-res.apk/res/drawable-hdpi
eunkipark92 said:
you need to edit the .xml files.
for notification you need to edit statubar_expand.xml and files that has similar name to that xml. dont exactly remember what its called.
its in framework-res.apk/res/layout
the notification pulldown background is in
twframework-res.apk/res/drawable-hdpi
Click to expand...
Click to collapse
Well for the notification pulldown background ive got the one i wanted... what im referring to is when u have a notification, for instance you downloaded something from the market and u get successfully downloaded that one notification has no background it is set to transpare t and the letters are black so i can really read what it says...
anybody wishing to help?
If it is an image you need to edit to be non-black/transparent the file I think you're looking for is called "status_bar_item_background_normal.9.png"
Change that to a totally opposite color and see if that's it?
If you mean editing the color of the letters then I do not know what to edit in the .xml file.
Hope I helped!
How can I modify the XML files? 'cause when I extract them from apk file, all of them are protected, I can't read any codes. Can anyone show me how to fully unprotected them?
P/s: I always get this error "An invalid character was found in text content. Error processing resource..." whenever I open xml file with IE.
vnthantai said:
How can I modify the XML files? 'cause when I extract them from apk file, all of them are protected, I can't read any codes. Can anyone show me how to fully unprotected them?
Click to expand...
Click to collapse
^^ +1.....
danalex0829 said:
^^ +1.....
Click to expand...
Click to collapse
they must be decompiled with apk manager
additionally when you recompile make sure to check the log as there will be several images that will be renamed from. 9.png to png you must use the draw9patch program found in the tools folder of the android ask to 9patch these images otherwise your apks will not compile correctly. Im on my phone now so I can't provide the necessary video link how ever simply go on youtube and search how to use draw9patch there is a very good beginners explanation (2 part) of what a 9 patch is and how to use the 9 patch utility
Sent from my AXURA powered Vibrant
are all of images in "res/drawable-hdpi" folder 9.png formated files? or just some of them?
vnthantai said:
are all of images in "res/drawable-hdpi" folder 9.png formated files? or just some of them?
Click to expand...
Click to collapse
it varies, they can be in any folder really, but generally speaking that is where you will find most of them. Just check the logs and you will know exactly where to find them and what they were named.
was anyone able to figure out to edit services.jar in order to change clock color?
aamir123 said:
was anyone able to figure out to edit services.jar in order to change clock color?
Click to expand...
Click to collapse
Here you go man. http://forum.xda-developers.com/showthread.php?t=940692
That thread will explain that part. Be careful with it though, and make a backup cas if you mess it up you'll get a boot loop as I did
am trying to edit the framework-res.apk
am trying to change the images of the slider (jog_dial_bg_rev.png) but when i save it and then install or move the .apk to system/framework folder
the phone crashes? has this got anything to do with the MD5?
all i wanna do is change the slider image based on the CM7 pro v20 ROM
my reason is because the black shadow covers the incoming call number
kashem58 said:
am trying to edit the framework-res.apk
am trying to change the images of the slider (jog_dial_bg_rev.png) but when i save it and then install or move the .apk to system/framework folder
the phone crashes? has this got anything to do with the MD5?
all i wanna do is change the slider image based on the CM7 pro v20 ROM
my reason is because the black shadow covers the incoming call number
Click to expand...
Click to collapse
Instead of extracting, Just open it with winrar or 7zip and drag and drop image in the 7zip window.
Sent from samsung vibrant

[Q] Notification Bar Modding

Hello all,
I am modding my notification bar but I am not getting the expected results. So far I have done:
* Deodexed my Atrix
* Copied the framework-res.apk to my computer
* Changed the images using UOT Kitchen
* Confirmed the imagens where changed, opening the framework-res in my computer.
So far, so good. But when I put the framework-res back to my phone I can see the notification bar black (the new color I have selected), with all text colors I set but all the icons still with the default ones, except the battery one. How should I proceed to change this stock Blur icons? I have looked everywhere and I have not found anything about it.
Thank and Regards
Ps: My Atrix is Retail Brazilian.
before trying that you should download the app "widgetsoid" it lets you customize the app bar to your liking.
try a different set of icons, im using the gingerbread set and it works perfectly
Are you just copying and pasting the new framework-res over the old one or flashing it with CWM?
You need to flash with CWM.
I was just copying it over and rebooting the cellphone. I will test also with CWM!
Thanks everyone for the help

[Q] Lock screen problems on TSM Resurrection - framework-res.apk

I absolutely love the SGSII lockscreen on TSM Resurrection. But instead of AM/PM being displayed properly next to the time, I get Jan./Feb. instead. Looks like something inside the XML files inside framework-res.apk is messed up. I tried decompiling the APK and removing the AM/PM references in res/layout/zzz_keyguard_screen_clock.xml, but when I try to recompile and boot, the phone will get just hang at a black screen after the boot animation.
Any help would be appreciated.
Thanks.
sujaanj said:
I absolutely love the SGSII lockscreen on TSM Resurrection. But instead of AM/PM being displayed properly next to the time, I get Jan./Feb. instead. Looks like something inside the XML files inside framework-res.apk is messed up. I tried decompiling the APK and removing the AM/PM references in res/layout/zzz_keyguard_screen_clock.xml, but when I try to recompile and boot, the phone will get just hang at a black screen after the boot animation.
Any help would be appreciated.
Thanks.
Click to expand...
Click to collapse
it would actually be a resource id in android.policy.jar in one of the sgs2 lockscreen files....if i get a chance this week or next ill flash the rom and edit the file
No sweat, I know this is pretty far down on the list of priorities. If I can somehow figure it out before you do I'll post the file here. Thanks for the pointer. Trying to understand how this stuff works a little better...
OK, after decompiling android.policy.jar, I need to edit UnlockClockGB.smali to fix the AM/PM, but I don't know enough Java to figure out what's going on in there. I only know Python. I'd just remove the AM/PM reference, but don't know which method to change to remove it.
Just for your information, I'll keep working.

[Q] Transparent notification background? (not dropdown window!)

I'm trying to figure out how to make the text of each notification in the dropdown window appear on a transparent background. I've figured out how to adjust everything else (toggle, status bar, and dropdown background transparency), but I simply cannot for the life of me figure out how to make the notifications actually have transparent backgrounds.
Is this not something modifiable from SystemUI.apk?
I've gone through a heck of a lot of .png files and looked through quite a few .xml files. Just can't figure this out.
edit: this part of the notification bar: http://s15.postimage.org/y8ad3u917/Screenshot_2012_10_03_17_59_49.png (from a different phone)
I've gone through a bunch of the SystemUI.apk files already, and now I've started going through framework-res.apk files. I can't compile framework-res.apk properly (not sure how to set two dependencies in apk multi-tool), so I've just been dropping files into the .apk and overwriting the originals.
In any case, I've made the following files transparent and still had no luck making the notification backgrounds transparent at all:
- notification_bg_low_normal.9.png
- notification_bg_low_pressed.9.png
- notification_bg_normal.9.png
- notification_bg_normal_pressed.9.png
Of course, those files aren't referenced by any of the .xmls in framework-res, but I thought I'd give it a shot. In fact, I have no idea what is actually being referenced for those backgrounds.
I opened up status_bar_latest_event_content.xml to see where it went, and it ends up pointing at transparent color values for non-pressed/focused notifications.
My completely unfounded and wild guess at the moment that the black background is a horrible mix of the #FF00FF00 and #FFFF00FF colors that are referenced in two separate places (the former is in colors.xml, the latter is in status_bar_latest_event.xml), but that would be ridiculous, since the latter never seems to reference the former. Argh.
Very confused.
Hi, u say u have figured most of the things in editing the system ui can you please help me?
I am trying to change the background in the notification pull down, i decompiled the systemui.apk i tried changing some images but when i put it back into my phone nothing happens
I can't find the correct file to change.
And i read somehwere that i have to change something in the xml file also to change the target to an image rather than a colour
The xml file is pointing to a colour (black)
How do i make it target to a image and after that where do i place the image file
I am running cm10
Btw i am sorry i couldnt answer ur question i just cannot find an answer to my question searched every where on xda, also the tutorial which are there, are for gingerbread.
Thankyou
I still need help figuring out the answer to this problem. Got horribly sick recently and haven't been able to put any more effort into figuring it out on my own, yet.
Help, please!
=======
Droidvenom said:
Hi, u say u have figured most of the things in editing the system ui can you please help me?
I am trying to change the background in the notification pull down, i decompiled the systemui.apk i tried changing some images but when i put it back into my phone nothing happens
I can't find the correct file to change.
And i read somehwere that i have to change something in the xml file also to change the target to an image rather than a colour
The xml file is pointing to a colour (black)
How do i make it target to a image and after that where do i place the image file
I am running cm10
Btw i am sorry i couldnt answer ur question i just cannot find an answer to my question searched every where on xda, also the tutorial which are there, are for gingerbread.
Thankyou
Click to expand...
Click to collapse
This is for stock, so I don't know if it will work in CM10. I somehow doubt it, but here's how it works in stock:
Decompile your SystemUI.apk and find the file "tw_status_bar_expanded.xml". It's in the res\layout folder.
Second line in the file should start with this:
Code:
<FrameLayout android:id="@id/notification_panel" android:background=
Replace whatever follows the android:background part with the file you want to use.
So, for example, if you changed status_bar_expand_default.png in the drawable-xhdpi folder into your background image, you'd write this (obviously without the red color):
Code:
android:background=[COLOR="Red"]"@drawable/status_bar_expand_default"[/COLOR]
and the full line would look like this:
Code:
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/status_bar_expand_default" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
I suggest you use a 9patch image for your background, so it expands and shrinks without getting stretched, but you can experiment with that yourself. The image I used in my example (status_bar_expand_default.png) is unused by the system, as far as I know, so it's a convenient image to use.
Bumping this again, still wondering.

[Q] XML edits don't work in SystemUI.apk

Hey all. I am new to xml editing and am aware that this can be done via xposed framework and such but I want to learn to do things on my own.
I was trying to simply center the status bar clock and after multiple attempts with the clock location not changing via the xml edits, I decompiled, changed only the clock text hex color value, recompiled, installed, and even that didn't change. What could be causing this, and where is SystemUI.apk reading from if not from the edited /res/layout/status_bar.xml?
The device, for reference, is a Galaxy S4 rooted running Safe Strap, but I have tried modding the SystemUI.apk on the stock/rooted slot as well as a rom on a safestrap slot.
Thanks in advance.
Bump. Is there no one who has themed 4.3 that can chime in? Simple xml edits should work but i have tried everything i can think of and researched extensively. I am perplexed. Any help appreciated. Thanks in advance.

Categories

Resources