[MOD][ATT][4.4] Remove AT&T & add battery % on status bar - Moto X Themes and Apps

I did this for myself, and thought I would share. I don't like the AT&T branding on the status bar, and I wanted to enable the 'built in' battery percent. I like to learn, so rather than use xposed framework, I built a flashable zip to change the status bar via SystemUI.apk.
WARNING: I AM NOT RESPONSIBLE IF YOU MESS UP YOUR PHONE
Prerequisite:
ATT Moto X running stock official 4.4 kitkat (140.44.5)
safestrap TWRP (for those who don't have an unlocked bootloader, thanks Hashcode)
backup all of your data in case something goes horribly wrong
Instructions:
using your choice of file manager, backup /system/priv-app/SystemUI.apk and /system/priv-app/SystemUI.odex
Download or copy flashable zip (below) to sdcard
Reboot to safestrap TWRP recovery
flash zip file
It is not my intent to entertain every "can you change the color" or "can you do this for my provider", etc.
Below are the 'broad strokes' of how I did this in linux: (Each of these steps below require various skills, and my intent is not to do too much 'hand holding.')
first deodex SystemUI.apk & .odex (I used android kitchen with latest smali/baksmali and api level 19, thanks dsixda)
--
DUMP AND DECOMPILE SYSTEMUI:
make sure java 7 is installed
download/extract apktool_2.0.0b7.jar (thanks connor tumbleson)
move /system/framework/framework-res.apk to apktool directory
move deodexed SystemUI.apk (from above) to apktool directory
install framework: java -jar apktool_2.0.0b7.jar if framework-res.apk
dump SystemUI.apk: java -jar apktool_2.0.0b7.jar d SystemUI.apk
--
REMOVE AT&T FROM STATUS BAR:
edit this file: SystemUI/res/layout/status_bar.xml
search for the line with this info: android:id="@id/onsText"
change the end to: android:maxLength="0"
--
CHANGE BATTERY TO INCLUDE PERCENT
Follow this post: http://forum.xda-developers.com/showthread.php?t=2533912&highlight=bold (thanks, homeslice976)
--
RECOMPILE AND COPY EXISTING SIGNATURE:
recompile: java -jar apktool_2.0.0b7.jar b SystemUI -o SystemUI.apk
move META-INF structure and AndroidManifest.xml from inside the original SystemUI.apk to the new SystemUI.apk (I used 7z)
--
CREATE FLASHABLE ZIP WITH NEW SYSTEMUI
you can use mine as a template and just replace my SystemUI.apk under /system/priv-app
TWRP/CWM flashable zip: http://www.androidfilehost.com/?fid=23212708291682729
(Deletes /system/priv-app/SystemUI.odex and replaces /system/priv-app/SystemUI.apk with my deodexed and modified version.)

Do you know how to make an Xposed module that does the same thing? I'm only interested in getting rid of the carrier label

natezire71 said:
Do you know how to make an Xposed module that does the same thing? I'm only interested in getting rid of the carrier label
Click to expand...
Click to collapse
MotoXposed does, but it doesn't work on KitKat

mandrsn1 said:
MotoXposed does, but it doesn't work on KitKat
Click to expand...
Click to collapse
I know. He told me he was going to make MotoXposed open source. I'm just waiting.

Thanks so much for this

natezire71 said:
Do you know how to make an Xposed module that does the same thing? I'm only interested in getting rid of the carrier label
Click to expand...
Click to collapse
I've put a simple Xposed module together that removes the carrier text.
Code:
package com.penree.android.xposed.hidecarriermotox;
import android.widget.TextView;
import de.robv.android.xposed.IXposedHookInitPackageResources;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.callbacks.XC_InitPackageResources;
import de.robv.android.xposed.callbacks.XC_LayoutInflated;
/**
* Created by drudge on 12/6/13.
*/
public class RemoveCarrier implements IXposedHookInitPackageResources {
private static final String PACKAGE_NAME = "com.android.systemui";
private static final String LAYOUT_NAME = "status_bar";
private static final String TEXT_VIEW_NAME = "onsText";
@Override
public void handleInitPackageResources(XC_InitPackageResources.InitPackageResourcesParam resparam) throws Throwable {
if (!resparam.packageName.equals(PACKAGE_NAME))
return;
XposedBridge.log("Attempting to hook status bar layout");
resparam.res.hookLayout(PACKAGE_NAME, "layout", LAYOUT_NAME, new XC_LayoutInflated() {
@Override
public void handleLayoutInflated(LayoutInflatedParam liparam) throws Throwable {
TextView statusBarOnsText = (TextView) liparam.view.findViewById(
liparam.res.getIdentifier(TEXT_VIEW_NAME, "id", PACKAGE_NAME));
if (statusBarOnsText != null) {
XposedBridge.log("Setting max width to zero");
statusBarOnsText.setMaxWidth(0);
} else {
XposedBridge.log("Couldn't find onsText text view");
}
}
});
}
}

npenree said:
I've put a simple Xposed module together that removes the carrier text.
Code:
package com.penree.android.xposed.hidecarriermotox;
import android.widget.TextView;
import de.robv.android.xposed.IXposedHookInitPackageResources;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.callbacks.XC_InitPackageResources;
import de.robv.android.xposed.callbacks.XC_LayoutInflated;
/**
* Created by drudge on 12/6/13.
*/
public class RemoveCarrier implements IXposedHookInitPackageResources {
private static final String PACKAGE_NAME = "com.android.systemui";
private static final String LAYOUT_NAME = "status_bar";
private static final String TEXT_VIEW_NAME = "onsText";
@Override
public void handleInitPackageResources(XC_InitPackageResources.InitPackageResourcesParam resparam) throws Throwable {
if (!resparam.packageName.equals(PACKAGE_NAME))
return;
XposedBridge.log("Attempting to hook status bar layout");
resparam.res.hookLayout(PACKAGE_NAME, "layout", LAYOUT_NAME, new XC_LayoutInflated() {
@Override
public void handleLayoutInflated(LayoutInflatedParam liparam) throws Throwable {
TextView statusBarOnsText = (TextView) liparam.view.findViewById(
liparam.res.getIdentifier(TEXT_VIEW_NAME, "id", PACKAGE_NAME));
if (statusBarOnsText != null) {
XposedBridge.log("Setting max width to zero");
statusBarOnsText.setMaxWidth(0);
} else {
XposedBridge.log("Couldn't find onsText text view");
}
}
});
}
}
Click to expand...
Click to collapse
No way--dood. This is awesome. I'll give this a whirl. Thank you!

npenree said:
I've put a simple Xposed module together that removes the carrier text.
Click to expand...
Click to collapse
Is anybody else getting a 404 error for the download?? That is really odd.

mandrsn1 said:
Is anybody else getting a 404 error for the download?? That is really odd.
Click to expand...
Click to collapse
Yeah I'm getting a 404 as well. This was my first post so not sure if that is related? Trying again.

Thank you dude. I'll be giving this a go for my Vzw Dev edition.

npenree said:
Yeah I'm getting a 404 as well. This was my first post so not sure if that is related? Trying again.
Click to expand...
Click to collapse
Really odd. I have no idea. I am getting 404s on both...

mandrsn1 said:
Is anybody else getting a 404 error for the download?? That is really odd.
Click to expand...
Click to collapse
npenree said:
Yeah I'm getting a 404 as well. This was my first post so not sure if that is related? Trying again.
Click to expand...
Click to collapse
mandrsn1 said:
Really odd. I have no idea. I am getting 404s on both...
Click to expand...
Click to collapse
I gotcha guys.
Dev told me to post it for you guys because he wasn't allowed to post links (new member).
HideCarrierMotoXposed Module
Download it here

Thank you OP. I did this on my Verizon Dev edition and it looks great.
Edit: I was looking at your updater_script and correct me if I'm wrong but shouldn't
"ro.product.device" look for "ghost" instead of "xt1058"?
Sent from my XT1060 using Tapatalk

chaoslimits said:
Thank you OP. I did this on my Verizon Dev edition and it looks great.
Edit: I was looking at your updater_script and correct me if I'm wrong but shouldn't
"ro.product.device" look for "ghost" instead of "xt1058"?
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I remember that change. When I ran the script for the first time, it errored out saying something like: "This is for ghost devices, this is a: xt-1058". I didn't troubleshoot it, I just changed the line to "xt-1058" and it started working on my phone.

Ctrl-Freak said:
I remember that change. When I ran the script for the first time, it errored out saying something like: "This is for ghost devices, this is a: xt-1058". I didn't troubleshoot it, I just changed the line to "xt-1058" and it started working on my phone.
Click to expand...
Click to collapse
Could you send me the software you used to decompile the apks?

natezire71 said:
Could you send me the software you used to decompile the apks?
Click to expand...
Click to collapse
Apktool 2.0.0 b7 or b8 decompiles the APKs. That's what I used in recreating this mod on Vzw model.
Sent from my XT1060 using Tapatalk

chaoslimits said:
Apktool 2.0.0 b7 or b8 decompiles the APKs. That's what I used in recreating this mod on Vzw model.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I know--you sent it to me. Now I can't get apktool to work at all.

natezire71 said:
I know--you sent it to me. Now I can't get apktool to work at all.
Click to expand...
Click to collapse
Still having the installation issues? Maybe try pulling the updated aapt from the jar? Sorry I'm a windows user only.
Sent from my XT1060 using Tapatalk

chaoslimits said:
Still having the installation issues? Maybe try pulling the updated aapt from the jar? Sorry I'm a windows user only.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I know. That's why I was asking da OP. I appreciate your help. I've already put in the newest aapt too.
---------- Post added at 02:24 AM ---------- Previous post was at 02:21 AM ----------
chaoslimits said:
Still having the installation issues? Maybe try pulling the updated aapt from the jar? Sorry I'm a windows user only.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
Could you do me a solid and send me the decompiled SystemUI.apk and a decompiled framework-res.apk? I needed it for Gravitybox's Dev.

natezire71 said:
Could you do me a solid and send me the decompiled SystemUI.apk and a decompiled framework-res.apk? I needed it for Gravitybox's Dev.
Click to expand...
Click to collapse
You got me working this early in the morning, a thanks click would be nice :crying:
http://www.twitch.tv/bifuteki
Edit: Too early: http://www.mediafire.com/download/4kor7n7xzkxkof6/Dumped+Apks.zip

Related

[Tutorial] How to add CRT TV off effect:

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.

[Q] framework-res.apk problem

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.

Question regarding PhoneWindowManager.java

first of all, i am not sure whether should i ask this question so sorry if i posted at the wrong place.
I wish to modify my Search Button, as you can see here
and found out that i have to edit platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
but I have no idea where to find the file, can anyone of you tell me where to locate the file?
need to decompile apk using apktool? If yes, then which file? etc etc
reference : [HOWTO] Remap hardware button to ICS recent apps
Mr-YC said:
first of all, i am not sure whether should i ask this question so sorry if i posted at the wrong place.
I wish to modify my Search Button, as you can see here
and found out that i have to edit platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
but I have no idea where to find the file, can anyone of you tell me where to locate the file?
need to decompile apk using apktool? If yes, then which file? etc etc
reference : [HOWTO] Remap hardware button to ICS recent apps
Click to expand...
Click to collapse
The path looks like a source code file, and not an APK you can decompile to edit...
'platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java'
You'll need to download the Android source and edit the file. More information about downloading and compiling source can be found here:http://forum.xda-developers.com/showthread.php?t=1505006
The reference page has a link to the MOD that you can download and flash via recovery.
DennisBold said:
The path looks like a source code file, and not an APK you can decompile to edit...
'platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java'
You'll need to download the Android source and edit the file. More information about downloading and compiling source can be found here:http://forum.xda-developers.com/showthread.php?t=1505006
The reference page has a link to the MOD that you can download and flash via recovery.
Click to expand...
Click to collapse
Or he could use Virtuous Ten Studio to get the java source code from an apk or jar file (for this mod, the file should be android.policy.jar)
Jonny said:
Or he could use Virtuous Ten Studio to get the java source code from an apk or jar file (for this mod, the file should be android.policy.jar)
Click to expand...
Click to collapse
you way seems to be easier so i tried yours first. hope i did everything right.
i tried using Virtuous Ten Studio to edit system/framework/android.policy.jar by creating New Jar-Project and everything succeed
i got a long list of .smali but i don't know how to edit =(
mainly because i was expecting .java file... lol
really need some help here...
EDIT: found PhoneWindowManager.class but couldn't find APP_SWITCH in it
PhoneWindowsManager.class is indeed the correct file, however it is different for each ROM
reference page works ONLY for CM9.
from what i understand, android.policy.jar of ViperS is much more complicated as it combined with its own unique Venom Tweaks
so, thank you for your help and hope m0narx or shinzlon notice this thread and give me some hint as i realized "tweak_longpress_search" is missing from the file, and i am clueless as how to call and create new function in that file.
if anyone know please tell me the answer as well =)
Mr-YC said:
you way seems to be easier so i tried yours first. hope i did everything right.
i tried using Virtuous Ten Studio to edit system/framework/android.policy.jar by creating New Jar-Project and everything succeed
i got a long list of .smali but i don't know how to edit =(
mainly because i was expecting .java file... lol
really need some help here...
EDIT: found PhoneWindowManager.class but couldn't find APP_SWITCH in it
Click to expand...
Click to collapse
if you want the java source code I think you need to hunt around in the options, im pretty sure I saw something about getting java source code out of an apk/jar file
yes, PhoneWindowsManager.class is a product from ticking "Generate Java Code" and have to go through JavaSrc\com\android\internal\policy\impl to get to that
so i am pretty sure PhoneWindowsManager.class in ViperS rom is the same as PhoneWindowsManager.java in CM9 as it contain information on longpress behavior and etc
for example:
Code:
/*
static void access$300(PhoneWindowManager phonewindowmanager, long l)
{
int i = android.provider.Settings.System.getInt(phonewindowmanager.mContext.getContentResolver(), "tweaks_longpress_home", 0);
if (i != 0)
{
if (i != 1)
{
if (i == 2)
phonewindowmanager.startCustom(l);
} else
{
phonewindowmanager.takeScreenshotS(l);
}
} else
{
phonewindowmanager.startRecentTasks(l);
}
return;
}
*/
is the matched with the following attachment
but this segment of code is comment-ed out for don't know what reason, really need help from the dev team

[GUIDE][MOD] Enable navigation bar 4.2.2

This is a quick dev guide to enable navigation bar for S4. Tested on I9505 but should work here also.
Decompile SystemUI.apk go to res/values/drawables and add:
Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.
Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.
Now use any buil.prop editor and add line:
Code:
qemu.hw.mainkeys=0
You can also enable it now through framework-res method.
Reboot and your done.
Please hit thanks and give credits.
There is no values folder in res.
Sent from my GT-I9500 using Tapatalk 2
adichandra said:
There is no values folder in res.
Sent from my GT-I9500 using Tapatalk 2
Click to expand...
Click to collapse
Have you decompiled systemui.apk ? Or you have just opened the apk file?
Sent from my Octa Core S4
Just opened the apk. I dont have any idea how to decompile that. Any guide?
Can you just serve the zip that i can easily flash in cwm?
Sent from my GT-I9500 using Tapatalk 2
systemUI
I have found this but when I click it the installation window opens. So should I proceed there? Please if you could add a few more steps to explain then noobs like us will be able to follow.
Thanks
ok now i know we have to use apktool etc. Most people couldnt get it working so what would be the best tool?
gharrington said:
This is a quick dev guide to enable navigation bar for S4. Tested on I9505 but should work here also.
Decompile SystemUI.apk go to res/values/drawables and add:
Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.
Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.
Now use any buil.prop editor and add line:
Code:
qemu.hw.mainkeys=0
You can also enable it now through framework-res method.
Reboot and your done.
Please hit thanks and give credits.
Click to expand...
Click to collapse
Wonder how to do it if my rom is odexed ?
I dont think this thread is supported anymore
WOW!
This worked exceptionally well on my T-Mobile GS4 (M919).
I'll slip a thanks your way!
Please can you give details step by step for apks to use to compile and decompile etc for us simple people who want the navigation keys.
Thanks
Use this tutorial http://forum.xda-developers.com/showthread.php?t=2195680
For odexed rom don't care about odex file as you won't need to change smali files.
Styrke said:
Use this tutorial http://forum.xda-developers.com/showthread.php?t=2195680
For odexed rom don't care about odex file as you won't need to change smali files.
Click to expand...
Click to collapse
Can you post a pre-made SystemUI?
arian44 said:
Can you post a pre-made SystemUI?
Click to expand...
Click to collapse
Bump that...Tried figuring out decompiling myself, but it's a nightmare.
Tried decompiling and then following the instructions. Lots of hang ups. Isnt there an easier way?
Is there an easy way? Thanks
Enviado desde mi GT-I9500 usando Tapatalk
arian44 said:
Can you post a pre-made SystemUI?
Click to expand...
Click to collapse
I would second that as a request.
eldecanopy said:
Is there an easy way? Thanks
Enviado desde mi GT-I9500 usando Tapatalk
Click to expand...
Click to collapse
Add this to the end of the build.prop file in system/
qemu.hw.mainkeys=0
You have to use an alternate launcher though, but it works.
rohan999 said:
Add this to the end of the build.prop file in system/
qemu.hw.mainkeys=0
You have to use an alternate launcher though, but it works.
Click to expand...
Click to collapse
This used to work very well with S3 but did not work on i9500 S4. I'll try again.
I dont know how I changed permission but on S4 its showing read only and does not take changes . Can you please guide as to how you changed to read-write for build prop
No that doesnt work. Says systemUI has stopped. I remember that from last time and tried again through rom toolbar
can i use this method on 4.3 rom?
Maybe this should help....
http://forum.xda-developers.com/showthread.php?t=2014062
or maybe this, (this one is for ics but refer to the decompilation and recompilation using apk tool)
http://rohan999.wordpress.com/2012/03/31/how-to-enable-on-screen-ics-keys-on-any-ics-rom/

Here are VZW Note 4 APK's qmg, webp converted to png's for themeing. Updated 11-1

I am starting a list of stock Verizon Note 4 complete APK's with all QMG, WEBP & ASET images converted to PNG's for your themeing enjoyment!!! These are also Deodexed and Zip Aligned.
Downloads:
SystemUI.apk
framework-res.apk
twframework-res.apk
ClockPackage.apk
InCallUI.apk
SamsungIME.apk
SecCalculator2.apk
SecContacts_Note_USA.apk
SecEmail_K.apk
SPlanner.apk
SecMms_Cherry.apk
Do you have the boot animation?
Sent from my SM-N910T using Tapatalk
This is for the DE phone?
When you say boot animation. What are you looking for?
Sent from my SM-N910V using Tapatalk 2
These converted system apk's will work with retail or DE. But you will need root first.
Sent from my SM-N910V using Tapatalk 2
Hey EMS,
How did you manage to get the files to recompile with the .9's?
Mine wont recompile if I use the conversion tool unless I rename all of the .9.png files.
9 png's
tdunham said:
Hey EMS,
How did you manage to get the files to recompile with the .9's?
Mine wont recompile if I use the conversion tool unless I rename all of the .9.png files.
Click to expand...
Click to collapse
I use a program called Batch Photo and run all png images through it before I build. I copy the pngs to the program, then I add the filter HUE. I set the values all to zero and run the batch. It cleans up any 9 png problems.
Works every time!!
EMSpilot said:
When you say boot animation. What are you looking for?
Sent from my SM-N910V using Tapatalk 2
Click to expand...
Click to collapse
Im looking for the files to overwrite mine so I can have Verizon when I boot up.
Sent from my SM-N910T using Tapatalk
Stock Verizon Note 4 Bootanimation
charlieb620 said:
Im looking for the files to overwrite mine so I can have Verizon when I boot up.
Sent from my SM-N910T using Tapatalk
Click to expand...
Click to collapse
Here is the Verizon Note 4 stock bootanimation zip: http://d-h.st/Dlr
I assume this it what you want?
Nevermind Question
I got it all figured out, dude thanks for converting all these, I do know how to do the conversions if you ever need help with picconv....I uploaded a modded SecMms_Cherry.apk in your ROM forum with modified text bubble colors and additionally the preview bubbles to match
---------- Post added at 02:35 AM ---------- Previous post was at 02:04 AM ----------
EMSpilot said:
I use a program called Batch Photo and run all png images through it before I build. I copy the pngs to the program, then I add the filter HUE. I set the values all to zero and run the batch. It cleans up any 9 png problems.
Works every time!!
Click to expand...
Click to collapse
So what values are you setting that keeps these .9.png's clean, I would like to test that out, if i edit the .9s in photoship, could I then run it through batch photo to repair the file? I have to rename the .9 to just png to import into photo shop and thats a pain in the ass
bdorr1105 said:
Nevermind Question
I got it all figured out, dude thanks for converting all these, I do know how to do the conversions if you ever need help with picconv....I uploaded a modded SecMms_Cherry.apk in your ROM forum with modified text bubble colors and additionally the preview bubbles to match
---------- Post added at 02:35 AM ---------- Previous post was at 02:04 AM ----------
So what values are you setting that keeps these .9.png's clean, I would like to test that out, if i edit the .9s in photoship, could I then run it through batch photo to repair the file? I have to rename the .9 to just png to import into photo shop and thats a pain in the ass
Click to expand...
Click to collapse
drag png's to batch photo first page. Click next. Then click add filter and choose HUE leave ll values at zero. Click next and select use original folder for output. Then click process. That's it!!
We lucked out on the Galaxy S5.
We have an Android L leak and it still retains the png's.
So even if they decide to compress the final version, we've already gotten a head start.
What are you using to convert these to png then to deodex and zip align? I would like to also work on a bootanimation.qmg and I am not sure how to extract the pngs from the qmg as well as the desc.txt to get the proper frames...any help if you don't mind
You ^^^ back of the bus. It's not polite to ask for updates.
tdunham said:
You ^^^ back of the bus. It's not polite to ask for updates.
Click to expand...
Click to collapse
Who asked for an update?
bdorr1105 said:
Who asked for an update?
Click to expand...
Click to collapse
Sorry about that. Somehow I responded to the wrong thread. My apologies.
tdunham said:
Sorry about that. Somehow I responded to the wrong thread. My apologies.
Click to expand...
Click to collapse
no problem man
EMSpilot said:
These converted system apk's will work with retail or DE. But you will need root first.
Sent from my SM-N910V using Tapatalk 2
Click to expand...
Click to collapse
Hi all friends!
Help me with wbp format i trying everything but cant make transparent background to this format what i should do?
Thx
Breakcore_Rush said:
Hi all friends!
Help me with wbp format i trying everything but cant make transparent background to this format what i should do?
Thx
Click to expand...
Click to collapse
Have you tried converting the file you want to alter to png first?
Requires deleting the original wpb file, inserting the converted one and recompiling the apk so it recognizes the png too.
tdunham said:
Have you tried converting the file you want to alter to png first?
Requires deleting the original wpb file, inserting the converted one and recompiling the apk so it recognizes the png too.
Click to expand...
Click to collapse
Thx mate for fast reply i will try.
UPDATE
yes its works I have no words to express my gratitude to you thanks=))!

Categories

Resources