yashsingh1/xdaforums huggingface dataset:
[Moto X Themes and Apps] chaoslimits:
I don't know but it should be. You'll have to change some images. When you switch to standard icons, the icons become gray instead of white. But all the images you need should be in the systemui. If you have issues you can PM me the framework and systemui and I'll take a look.
[Moto X Themes and Apps] ManHands:
Non-dev and slapmymoto rooted. So I don't have the ability to flash this in TWRP. If I replace while Android is running, what are the negatives of losing my user account? Can't it just be added again on reboot? Or am I overlooking something?

Or is there an easier way to go about replacing framework-res.apk in my situation?
[Moto X Themes and Apps] SovietKommando:
This is amazing and works perfectly! Thank you so much!

Can I make one little request though? Any chance we can get a version that says "LTE" instead of "4G", like CM11 has?
[Moto X Themes and Apps] chaoslimits:
I don't know of another way to do it if you don't have TWRP (I would have suggested trying adb sideload in recovery). There are no permanent side effects; you just have to redo your accounts.
[Moto X Themes and Apps] thekendog:
So will I notice any difference by not having an odexed SystemUI?
[Moto X Themes and Apps] chaoslimits:
I didn't notice any difference. There's an Odex version if that's your thing. I'm not sure if the Odex version works on ART but the deOdex version will not.
[Moto X Themes and Apps] thekendog:
Which folder are the status bar icons in? I was going to replace the GPS and 4g icons with the new location and LTE ones but can't figure out which folder to look in.
[Moto X Themes and Apps] chaoslimits:
drawable-xhdpi
[Moto X Themes and Apps] remicks:
Have any of you people with locked phones even tried flashing this with Safestrap or did you just assume it doesn't work? Because everyone said SS doesn't work at all on kitkat but I debunked that myth last night for Hashcode.

Sent from a White Moto Xposed
[Moto X Themes and Apps] phositadc:
Why flash? Just install using adb. No need for ss.

Sent from my Nexus 7
[Moto X Themes and Apps] cabraswell:
Does the SystemUI_VZW_AOSP_Odex.zip file include only the 4G icon fix and remove the data icon while connected to wifi?

I'm on a VZW BL locked X and I don't care about the battery % and I don't need tethering. I'm just wanting to make sure I get the right file. I'm assuming the top two files are de-Odexed and can they be used on a BL locked X?
[Moto X Themes and Apps] chaoslimits:
Use the de-Odexed version, it should work just fine. The Odex version is just a test version.

That's the version that I use; Odex version was made to test with ART.
[Moto X Themes and Apps] cabraswell:
Worked like a charm! Great work!
[Moto X Themes and Apps] thekendog:
So I hate to make a request... Say no if you don't want to do it Chaos... Is it possible for you to make a version with the LTE icon and the new location icon in the status bar as well as the normal battery without percentage? I looked through things but there are so many files that I didn't know which ones to replace.
[Moto X Themes and Apps] ManHands:
Love to see this as well.
[Moto X Themes and Apps] cabraswell:
I really need to take the time to learn how to do this as I'd like the LTE icon instead of 4G and I don't care for the battery %. I'd also like the 4 bar signal instead of the 5 bar but I know this stuff takes a lot of time and I don't expect someone to do it for me.

I really like what you've done here though. Kudo's to all involved!
[Moto X Themes and Apps] cabraswell:
Ok. I've extracted the apk using apk multi tool, edited the images I'd like to have edited, and zipped the apk back up using apk multi tool. What other steps do I need to complete to make this ready to push to my phone?
[Moto X Themes and Apps] raddacle:
Can't seem to get this to work, I'm using complete stock. I've tried both versions of the manual install as I have a locked bootloader and can't flash it.
[Moto X Themes and Apps] chaoslimits:
Once you've re-created your APK, open the original SystemUI.apk and your modified version and copy the following items into your new version:

META-INF & AndroidManifest.xml

After doing that, you can push the modded file to your phone, fix permissions, and reboot.

What are you trying to install? Are you using ART?
[Moto X Themes and Apps] cabraswell:
I may sound like a rookie here (and I am) but wouldn't I move the META-INF and AndroidManifest.xml files before I recreate the APK? Could someone point me to a guide to use for this type of stuff? I feel like I'm asking too many questions here. Thanks!
[Moto X Themes and Apps] ManHands:
Alright, I felt like a douche requesting certain things. So I spent last night learning to mod SystemUI. Successful in getting rid of VZW's 4G LTE icon in the status bar. However like the OP mentioned, replacing the three values from "true" to "false" leaves the mobile indicator gray. Do I need to change color values to get this to display in white, xml that needs to change, or do I need to somehow modify a png?

Also, I was able to .odex my modded SystemUI.apk. I followed the guide here. The script moves the files into system/app. So I just had to move them to system/priv-app and fix permissions. For grins, I enabled ART after all of this... and no issues.
[Moto X Themes and Apps] chaoslimits:
Thank you for that odex link. I've tried other methods which seem to break ART. I actually have this one set up to go but never actually odex'd with this program :silly:

About the gray image issue, the white images are still in the folder (I think they are called "wide"). You can make a copy of those images, rename them to match the gray ones, then replace and rebuild the apk. You can actually do this without apktool and just use 7zip. Replacing images does not require the apk to be decompiled.
[Moto X Themes and Apps] ManHands:
No problem. I had to do some things to get it working correctly as noted in the "Important note", and had to install busybox too. But in the end, an already built script works for me until I can figure out the actual commands.

Excellent, I'll give that a shot. My ultimate goal is to have a center clock, circle battery, and LTE vs 4g signal. I'd like to do this by modding SystemUI vs Xposed Framework, so I can still take advantage of ART runtime. I'll report back w/ results. If anybody can point me to where this info can be modified, feel free to share:D I'll report back w/ results.
[Moto X Themes and Apps] chaoslimits:
Mine fails at adb remount. Do you have AndroidSDK installed? I only have Minimal ADB and Fastboot on my current machine.
[Moto X Themes and Apps] ManHands:
I do have Android SDK installed, but I don't think that's the issue. I had to install the app linked from this thread
[Moto X Themes and Apps] raddacle:
I'm trying to install the SystemUI manually to have the 4G symbols be replaced with the stock layout.And nope, still running Dalvik.
[Moto X Themes and Apps] chaoslimits:
Thanks man. Unfortunately I run into the same error; SystemUI has a fit as soon as you touch resources.arsc. This was the only odex method I hadn't tried :(

Insecure adb is nice :)

And I'm guessing you have a Vzw phone.

Use the deOdex file (first one in the download list)

dump it into /system/priv-app

rename your original files to SystemUI.apk.bak and SystemUI.odex.bak

rename the mod version to SystemUI.apk

set permissions rw-r-r

reboot.

If that doesn't work, something may be different on your phone.
[Moto X Themes and Apps] raddacle:
Worked flawlessly this time, thanks!!
[Moto X Themes and Apps] ManHands:
Do you have busybox installed? Not sure if that makes a difference. Honestly, I may not be of great help. I literally just learned how to do a lot of this in the last month. A lot of my knowledge is coming from users like yourself.

One thing I just noticed in the OP is that I didn't deodex like you did from the get go. Is this needed? I simply just decompiled, made modifications, and recompiled.
[Moto X Themes and Apps] chaoslimits:
I've tried that before (not deodex'ing the apk) and still had the same issue. As soon as I touch resources.arsc phone goes ape****. Maybe you can try odex'ing my mod and see if it works? I might be screwing up something on my end.

Also, I'm guessing you already did this, but for anyone attempting to Odex, the script has to be modified to point to /system/priv-app instead of /system/app. :good:
[Moto X Themes and Apps] sfetaz:
Wanted to let people know with regards to the tether framework file. I used es file explorer to backup my framework-res.apk and pasted the modified one into system/framework. The phone immediatly attempted to soft reboot then went black. I attempted to reboot phone but screen would go black every time it reached the verizon logo. I used fastboot to push the 4.4 system.img file to get back to being able to boot device. Doing that I lost root. Going to try to redo slap my moto from scratch and hoping I can get root back.
[Moto X Themes and Apps] chaoslimits:
I'm guessing you weren't able to set permissions first?

I think you could have left the phone alone and tried to fix it via adb. Normally, when I replace files via a file explorer, I put the file in another part of /system, fix permissions, then overwrite...

I hope you made a backup :(
[Moto X Themes and Apps] sfetaz:
No backup I am running a verizon non dev moto x, is there a way to backup and restore backups with a locked bootloader?
[Moto X Themes and Apps] chaoslimits:
That's unfortunate; I feel bad about this. For some reason, tapatalk did not alert me of your posts in the other thread. I think adb could have fixed this. I don't know of a way to backup without custom recovery.
[Moto X Themes and Apps] sfetaz:
Nothing to feel bad about, we all take risks doing anything involving root access. I was able to copy and paste to my laptop all the files I need anyway and I dont mind doing rsd and rerooting. I am curious though how you think ADB could have fixed this. When I was in fast boot the adb devices command did not show any devices connected. Is there another way to use adb commands on the device with a locked bootloader if you cannot boot into the system?
[Moto X Themes and Apps] chaoslimits:
When the phone soft rebooted, it was probably still connected to the PC. Maybe you could have used adb to fix permissions then reboot.
[Moto X Themes and Apps] sfetaz:
Well I had the write protection off mod so I am stuck without root until jcase updates his root method it appears. Does anyone know if any root methods will still work for 4.2 roms, or does the write protection mod prevent rerooting on any rom root method? My most important usage for rooting is tethering, so any rom would do. If not I just will hope jcase releases the updated slap my moto soon.
[Moto X Themes and Apps] c1nd3r:
chaoslimits... How can you test this, before and after knowing it actually works. Is there a test procedure?

The reason I ask is that how does an unlocked version of this phone with a non-native chip would react to this? What I mean is that a Tmo version on an Orange network.
[Moto X Themes and Apps] imodipods:
I used the script that you linked with my original SystemUI.apk and .odex and the modded apk as the SystemUI.apk provided in the OP. When I move the new files into priv-app and reboot, I no longer get the error that systemui is crashing but the status bar and navbar disappear. BTW I am on ART. Am I doing something wrong?
[Moto X Themes and Apps] ManHands:
I ran the script in Davlik, then selected ART as runtime and rebooted.

---------- Post added at 11:45 AM ---------- Previous post was at 11:37 AM ----------

Change the following flag to false and LTE shows instead of 4G.

<bool name="config_show4GForLTE">true</bool>
[Moto X Themes and Apps] ManHands:
Let me know if these work for you.
[Moto X Themes and Apps] chaoslimits:
You know what, my bad. I'm talking about a different mod than the one in this folder. The mods that I uploaded in this thread will work fine in ART.

I was trying to Odex another mod that I had running on my phone lately. See here: http://xdaforums.com/showpost.php?p=48451249&postcount=155

This mod requires additional folders in /smali and new code in status_bar.xml.

The new code in /smali fails to execute on ART and that's what I've been trying to fix (I thought I was Odex'ing it wrong).

Yes that switch will show LTE instead of 4G. Didn't see that question earlier sorry.

Edit: The "LTE" behaves the same way as the 4G symbol; it disappears when connected to WiFi.

Edit1: When I have time (this weekend) I'll probably clean up the OP with links to Odex and DeOdex versions of the most popular mods (if I haven't gotten back to you about a request and you haven't done it yourself). I'm going to be shifting to text battery after that :p
[Moto X Themes and Apps] hlaalu:
Hey Chaos, thanks for the awesome work!

After reading your edit for tethering, we just have to flash framework-res_VZW_Tether.zip and the phone is good to go? Do we still need to make a backup and set permissions? Many thanks!
[Moto X Themes and Apps] chaoslimits:
1. Always make a backup!

2. Just flash and you're good to go. Works with inbuilt app and 3rd party apps.
[Moto X Themes and Apps] nhizzat:
Ran into the same issue. Already back up and about to root 4.4 again.

So what do you recommend for locked bootloader Moto Xs?

Copy modified framework-res.apk to /system/app/ using Root Explorer or adb push framework-res.apk /system/app

Use Root Explorer to edit permissions or chmod 644 /system/app/framework-res.apk

Make a copy of the existing framework-res.apk or adb pull framework-res.apk

adb shell

su

Copy framework-res.apk from /system/app to /system/priv-app or mv /system/app/framework-res.apk /system/priv-app/framework-res.apk

adb reboot
[Moto X Themes and Apps] sfetaz:
I cannot use adb push to system no matter what I try, it says I do not have permissions to do so. None of the mount system as rw commands work, except if I go into adb shell, then choose, then use a command to mount system as rw. But I do not know how to push files in adb shell, and if I exit the shell I appear to lose root/super user access via adb. Doing research it appears that adb root or remount commands do not work on a secure kernel, but I have a locked bootloader so I cannot install a different one. I will try to do things from the device itself but hoping I don't have any booting issues from doing that way again.

Edit - Got it working, but I think your instructions might be a little off. You say to move the modified framework file, after setting proper permissions, to /system/priv-app. I did this and rebooted. Did not work, still got subscription message. So I did what I did the first time (where I forgot to set correct permissions the first time) and pasted the file into system/framework and overwrote the file. This cause my phone again to appear to soft reboot then go black. I held the power button for a little while, then let go and held it again to turn on phone. This time phone booted fine, and native tether turned on without issue, no subscription message.

Thanks for all the help!
[Moto X Themes and Apps] chaoslimits:
Slight changes (I'll add this to the OP). I'd probably do something like this:

adb push c:\android\apktool\out\framework-res.apk /sdcard/

adb shell

su

/system/bin/mount -o remount,rw /system

cp /sdcard/framework-res.apk /system

chmod 644 framework-res.apk

mv /system/framework/framework-res.apk /system/framework/framework-res.apk.bak

mv /system/framework-res.apk /system/framework/framework-res.apk

reboot
[Moto X Themes and Apps] hlaalu:
I simply flashed the tether file and it works like a charm! You're awesome chaos for making it so easy :)
[Moto X Themes and Apps] kuz142:
[MENTION=2439340]chaoslimits[/MENTION]

Here they are. If it's not too much trouble, would you mind please taking a look and seeing if you can easily mod the signal bars to get rid of the custom carrier icons? Thanks so much! I'm still running 4.2.2, the OTA camera update, not kitkat, so you probably can leave the stock gray colors, no need to make them white
[Moto X Themes and Apps] chaoslimits:
Attachment invalid. You'll need to send me the framework-res.apk, systemUI.apk and systemUI.odex.

Edit: Got the first two now :D
[Moto X Themes and Apps] kuz142:
last one up too, sorry about that :)
[Moto X Themes and Apps] zhp pilot:
I have done many mods and themes for many roms, phones, etc but I'm at a loss here.

Where are the battery images now located? Lol
[Moto X Themes and Apps] chaoslimits:
Well this one isn't going to be as easy to do as 4.4; Moto didn't build in a quick way to revert back to stock. I'll look for another way to do it but I have to test in 4.4 since I no longer have 4.2.2. I'll let you know if something comes up.

/systemui.apk/res/drawable-xhdpi/

Moto uses the images with 5bar in the name.
[Moto X Themes and Apps] zhp pilot:
The battery, not the signal indicator.
[Moto X Themes and Apps] kuz142:
You know what, don't worry about it. I'll update to 4.4 soon I think so you don't need to waste your time. Thanks so much!
[Moto X Themes and Apps] chaoslimits:
Ooops sorry. There is no image resource for battery in 4.4. I believe it's "painted" on to the status bar (that's why the battery percentage mod works). I'll link the source info if I find it again.
[Moto X Themes and Apps] kuz142:
Where exactly is the bools.xml file you mentioned? I've unzipped SystemUI.apk and framework-res.apk and searched through them but can't find it. Attached are the files I'm working with, from stock rooted T-Mobile 4.4. Thanks!
[Moto X Themes and Apps] chaoslimits:
You cannot find the xml after unzipping SystemUI.apk. You need to decompile it with apktool (i use this) or try AndroidMultitool. Read up on "How to decompile an apk".
[Moto X Themes and Apps] kuz142:
Thanks, will do.

How can I tell which icons are being used for network signal indicators? I need to know what to rename the white icons to, but here are so many I don't know which are the ones currently in use
[Moto X Themes and Apps] Kittiesoncrack:
Would you be able to do this for Sprint, X1056 variant?
[Moto X Themes and Apps] chaoslimits:
The images used have "5bar" in the name.

What exactly do you want done?
[Moto X Themes and Apps] Kittiesoncrack:
native tether, Im been looking all over the place and none of the ones that are posted work with 4.4
[Moto X Themes and Apps] chaoslimits:
You tried the one in this thread:

http://xdaforums.com/showthread.php?t=2443562

Check the OP. Let me know if it works out. I cannot test since I'm on VZW. Make a backup first plz (you're responsible for your own device).
[Moto X Themes and Apps] Kittiesoncrack:
this didnt work, I think its cause the apk that the OP modded was from 4.2.2 and Sprint may have changed some things.
[Moto X Themes and Apps] chaoslimits:
Check the OP of this thread. I uploaded a file for you to test.
[Moto X Themes and Apps] kuz142:
So sorry to bug you again, I'm really trying to learn how to do this on my own! But I run into errors while trying to recompile, and even after thoroughly googling and trying multiple methods, I can't get it to work. Would you mind looking at my edits and if there are no problems there, trying to recompile from your machine? Here are my (hopefully correctly) edited files, original ones are back a few posts. I am on 4.4 now. Thank you so much!
[Moto X Themes and Apps] chaoslimits:
What is the error?
[Moto X Themes and Apps] chaoslimits:
Why are you touching public.xml. You should not be doing that.

Copy the "wide" original symbols into a temporary directory, rename them to match the grey symbols then overwrite the grey symbols.
[Moto X Themes and Apps] kuz142:
no i actually didn't! just the bools.xml and deleting/renaming the bars pngs in drawables

edit: ohhhh i shouldn't have deleted the files there right? it looks like all the errors refer back to the images i deleted...
[Moto X Themes and Apps] chaoslimits:
Yeah no delete required. Just overwrite the grey images.
[Moto X Themes and Apps] kuz142:
How can I overwrite them without getting this error again, because that will delete them anyways right?
[Moto X Themes and Apps] chaoslimits:
Download my mod, decompile it and look at the images side by side. You'll see that there are no grey images in my mod. I copied the original white icons and overwrote the grey ones. The total number of images stays the same.
[Moto X Themes and Apps] kuz142:
Thank you again so much for all the help!
[Moto X Themes and Apps] Kittiesoncrack:
is that for me to flash through Custom Recovery, because im only rooted, I dont have a custom recovery installed
[Moto X Themes and Apps] chaoslimits:
You can extract it and manually install. If you replace framework-res.apk while the phone is on, you will lose all your accounts (google, email, etc) and have to re-add them. If you intend to do this, make a copy of your original framework, copy the new one into /system, set permissions, then overwrite the original in /system/framework-res.apk
[Moto X Themes and Apps] Kittiesoncrack:
Okay, so I did and systemUI was crashing so i rebooted. after that, everything was working and I can turn tethering on and connect to it but nothing is loading. I used my iPad and my laptop. it will connect but nothing will actually load.
[Moto X Themes and Apps] kuz142:
Mods for TMo

[MENTION=2439340]chaoslimits[/MENTION]

Thanks to all your help, I finally succeeded in modding my SystemUI and getting rid of the ugly custom carrier icons! On the TMo ROM I didn't actually need to do any drawables edits, it defaulted to 4 bar KitKat white icons. I also made a second version that displays E, H, and LTE icons instead of the 3G and 4G ones. (Just changed these 3 values in bools.xml along with the 3 you mentioned in the OP):

<bool name="config_hspa_data_distinguishable">false</bool>
<bool name="config_show4GForLTE">true</bool>
<bool name="config_hspap_data_distinguishable">false</bool>

I've tested both of these on my phone by manually replacing SystemUI.apk and changing permissions with a root file explorer. I want to help out anyone else who wants to do the same mod, so I made them into flashable zips by using yours for VZW and just replacing the apk there with my modified ones. I can't test flashing them though because I don't have a custom recovery. I don't think there will be any problems, but you have more experience with this than me. If you think they will work, feel free to add them to the OP; like I said, I just want to share this.
[Moto X Themes and Apps] FSXv13:
I can only get the tether to work if I leave the .odex alone. If I remove it or rename it, it stops working. Any ideas?
[Moto X Themes and Apps] chaoslimits:
framework-res.apk is not odex'd. :confused:
[Moto X Themes and Apps] phositadc:
Chaos, quick question. I might try to mod the system ui on a droid mini. Is the systemui.apk the only file that needs to be edited? Or does something need to be done to framework-res.apk as well?

Also, is deodexing a requirement? Or did you just choose to do that as an option?

This would be my first foray into modding but this thread has enough info that I might give it a go.
[Moto X Themes and Apps] tiaoalvino:
Request for Brazilian Retail Version

Hi! At first place, congratulations for this great mod.

It is possible to make a version of the signal status bar icons for the brazilian retail version, to the icons looks like the Nexus 4/5 icons?

Today, they are like this:

I wanted to they look like this:

Any way to help me? Thank you very much!
[Moto X Themes and Apps] chaoslimits:
SystemUI.apk is all you need to touch. Also, deodexing isn't a requirement, just remember to create a new odex file with the auto odexer linked in this thread (search for it).

Cannot see your images.

Edit: It depends on how Moto made the SystemUI.apk; it's a little different between carriers. Decompile with apktool and take a look. You can upload framework-res.apk, systemUI.apk, and systemUI.odex and I'll take a look later today when I'm less busy.