[Q] XML edits don't work in SystemUI.apk - Android Q&A, Help & Troubleshooting

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.

Related

Status Bar Help

Hey everyone,
I am currently working on brightening up the status bar a little bit and adding some color however I cannot locate a resource I need. Does anyone know how to change the background of the status bar? See where the red arrow is point in the image:
Edit: The image is statusbar_background.9
It's in framework-res.apk > res > drawable-hdpi
And the image is called "statusbar_background.9.png". Even though it's a .9 you don't have to resign the status bar bg. But that's the only exception.
sorry, (basic question) I was going to try and do something simular to this also and I was wondering how I can resign these files and how I would install the new framework-res.apk?
I made myself a rom a while ago on my eris but I have forgotten most of the stuff on resigning apk's and making packages to flash and such.
thanks in advance,
ljbaumer
ljbaumer said:
sorry, (basic question) I was going to try and do something simular to this also and I was wondering how I can resign these files and how I would install the new framework-res.apk?
I made myself a rom a while ago on my eris but I have forgotten most of the stuff on resigning apk's and making packages to flash and such.
thanks in advance,
ljbaumer
Click to expand...
Click to collapse
Resigning file you'd need Eclipse, or you can use Xeudoxus's xUltimate draw9patch resign tool. Send me a PM if you need more info.

[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] Manually Deodex and Odex back -help needed

Love the write up here: http://forum.xda-developers.com/showthread.php?t=1208320
Trying to follow it and I keep getting the device to boot, however, the Settings icon (Settings.apk and Settings.odex) are what I modified on an Asus Transformer Prime. I do believe it has to do with signature check. I compared the HEX of the files using Beyond Compare and the signature, which I believe is in the first few lines, is completely different than original. Also, I had to add a few .jar's from the /system/framework of the Transformer Prime's system in order to get it to deodex and odex properly.
Am I missing something? Could the signature be copied via a hex editor instead of using the dd command. If so, which HEX is start and end position? Isn't there a trailer as well that needs removed??
Please help if you have any idea about ODEX vs DEODEX. I prefer ODEX which is why I am trying to modify manually and put back. Plus, I learn more this way, which is +1....even though, it's alot more work, I don't mind.
Has anyone ever used this method? I don't want a completely DEODEXED ROM, in fact, I would prefer if NONE of it was DEODEXED which is why I am doing it the hard way Any help is much appreciated.
bump....need an answer please guys...
older thread but I'm bumping this because I'm running into a similar issue. I prefer most of my rom to be odex apart from settings, systemui, framework-res, and my services.jar.

[Q] Question for DNA themers

Hi guys,
I've been doing quite a bit of research and also quite a bit of trial and (all) error. I am currently trying to replace the battery icons in my current SystemUI.apk with battery icons from another SystemUI.apk (both DNA, of course). From what I read, it looks like I need to decompile the SystemUI.apk, but it appears that apktools currently does not work with the DNA. I have also tried just extracting the apk files using winrar, and then just copying the files over, but when I do that I the stat bar disappears and everything is black. I'm curious how you guys are managing to make basic mods like battery icons and transparent stat bar on the home screen when using Nova. I've read that the transparency needs to be done by editing a couple xml files, but the one in res/values is only available when you decompile.
As always, any tips or guidance would be warmly welcomed and greatly appreciated.
Thanks,
Steve
Use 7 zip to drop the new images into the zipped system UI then it will ask you to update archive and say yes. Then flash system ui.
That's the short version.
Do I actually need to flash, or can I just adb push while mounted in recovery?
Thanks,
stevedub40 said:
Do I actually need to flash, or can I just adb push while mounted in recovery?
Thanks,
Click to expand...
Click to collapse
You can do that as well, my main point was to use 7-zip, for image replacing I personally use zipthemer so I can use my theme on any rom, Each time I install a new rom i just need to run zipthemer on my phone and flash the zip it makes, and walah, themed to my liking.

Theming help

Hello people, before we start i am new to android so i am not up to speed with everything yet. I need some help trying to change the settings background from white to either a picture or transparent.
I am using using the Xtrestolite rom for my G925F but would like to change the settings background. I have used various xposed mods to try to achieve this but non seem to work, wanam xposed, xbackground, gravitybox.
Next i used Tickle my Android to decompile the framework, systemui and tw_framework apks from the rom. From the guides i have read i think i should be looking for tw_background_holo_dark.xml but i cant find this file anywhere or a .png version (i guess these guides are for older android versions).
So i have edited various other files that i think relate to the settings background, active_background.xml, active_background_holo_dark.xml to transparent and solid colors and others but nothing affect the settings background. I also tried deleting the xmls and replacing them with .pngs of the same names and in different drawable folders.
I used Tickle my Android to make zips to flash and also put the edited framework apk back in to the rom folder and flashed the full rom but nothing works.
So before i waste a few more hours i will ask for a nudge in the right direction if anyone can help. Thank you

Categories

Resources