[GUIDE][MOD][Holo]Change colour of Battery Chart and Application Bar - Galaxy Y GT-S5360 General

Le Holofy​
Disclaimer:
I do not hold responsibilty for any mishap that may or may not happen to your device by trying of this modification. By trying this mod, you agree that you and you only are responsible for any harm done to your phone, society, or UNESCO
Though this guide is made for Gingerbread, the exactly same method will work in ICS, JB, Kitkat. Though on ICS+, Application Bar already is Holo Blue and nothing needs to be changed there​
Holofy Battery Chart
Original:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Modded:
1. First decompile your Settings.apk
2. Go to /smali/com/android/settings/fuelgauge/BatteryHistoryChart.smali
3. Chart Background
Search for
Code:
iget-object v0, v0, Lcom/android/settings/fuelgauge/BatteryHistoryChart;->mBatteryBackgroundPaint:Landroid/graphics/Paint;
You should see code like this below:
Code:
move-object/from16 v20, v0
const/16 v21, 0x[b]ff[/b]
const/16 v22, 0x[color=red]80[/color]
const/16 v23, 0x[color=green]80[/color]
const/16 v24, 0x[color=blue]80[/color]
IMPORTANT: Read carefully, this will not be explained again in this guide!
Combining the bold and red, blue, green code, we get ff808080, which is the hex code for grey color of the battery chart background
More conceptually
alpha (Meaning the transparency, ff means completely opaque, 00 means completely transparent)
red
green
blue
Since, the code is ff808080
ff(opaque)+red(80)=green(80)=blue(80) makes a grey color. This is how a hex color code works!
Now, we will make it translucent holo blue, hex color 7c33b5e5
So, replace ff by 7c, 80 by 33, 80 by b5, and 80 by e5
Final code will look like this:
Code:
move-object/from16 v20, v0
const/16 v21, 0x[b]7c[/b]
const/16 v22, 0x[color=red]33[/color]
const/16 v23, 0x[color=green]b5[/color]
const/16 v24, 0x[color=blue]e5[/color]
Similarly, we can break any hex code.
Eg:
fff7ab17 is color code of orange
We'll follow same routine throughout this guide.
4. We had changed the battery chart background in previous step, now we will change
Good Lining
Good Lining is the green lining on the border of battery chart showing the battery is above 30%(I guess) and there is nothing to worry about.
Search for
Code:
iget-object v0, v0, Lcom/android/settings/fuelgauge/BatteryHistoryChart;->mBatteryGoodPaint:Landroid/graphics/Paint;
You should see code like this below:
Code:
move-object/from16 v20, v0
const/16 v21, 0x[b]80[/b]
const/16 v22, 0x[color=red]0[/color]
const/16 v23, 0x[color=green]ff[/color]
const/16 v24, 0x[color=blue]0[/color]
Combining the bold and red, blue, green code, we get 800ff0, which is the hex code for green color of the good lining
We change it to ff33b5e5 for uniform look of Holo Battery Chart, you can change it to any color you want​
Warn Lining
Warn Lining is the yellow lining on the border of battery chart showing the battery is below 30% and there is something to worry about.
Search for
Code:
iget-object v0, v0, Lcom/android/settings/fuelgauge/BatteryHistoryChart;->mBatteryWarnPaint:Landroid/graphics/Paint;
You should see code like this below:
Code:
move-object/from16 v20, v0
const/16 v21, 0x[b]80[/b]
const/16 v22, 0x[color=red]ff[/color]
const/16 v23, 0x[color=green]ff[/color]
const/16 v24, 0x[color=blue]0[/color]
Combining the bold and red, blue, green code, we get 80ffff0, which is the hex code for yellow color of the warn lining
We change it to ff33b5e5 for uniform look of Holo Battery Chart, you can change it to any color you want​
Critical Lining
Critical Lining is the red lining on the border of battery chart showing the battery is below 15% and to stop plying Ingress and grab a charger as soon as possible.
Search for
Code:
iget-object v0, v0, Lcom/android/settings/fuelgauge/BatteryHistoryChart;->mBatteryCriticalPaint:Landroid/graphics/Paint;
You should see code like this below:
Code:
move-object/from16 v20, v0
const/16 v21, 0x[b]c0[/b]
const/16 v22, 0x[color=red]ff[/color]
const/16 v23, 0x[color=green]0[/color]
const/16 v24, 0x[color=blue]0[/color]
Combining the bold and red, blue, green code, we get c0ff00, which is the hex code for red color of the critical lining
We change it to ff33b5e5 for uniform look of Holo Battery Chart, you can change it to any color you want​
Charging Lining
Charging Lining is the green lining on the border of battery chart(and below on the charge bar too) showing the battery is charging and compensating the juice Ingress drained.
Search for
Code:
iget-object v0, v0, Lcom/android/settings/fuelgauge/BatteryHistoryChart;->mChargingPaint:Landroid/graphics/Paint;
You should see code like this below:
Code:
move-object/from16 v20, v0
const/16 v21, 0x[b]80[/b]
const/16 v22, 0x[color=red]0[/color]
const/16 v23, 0x[color=green]ff[/color]
const/16 v24, 0x[color=blue]0[/color]
Combining the bold and red, blue, green code, we get 800ff0, which is the hex code for green color of the charging lining
We change it to ff33b5e5 for uniform look of Holo Battery Chart, you can change it to any color you want​
5. Our work is complete . Save the file
6. Recompile the Settings.apk
Push the app in system. If the Settings app doesnt appear in App Drawer, hot reboot via EPM or:
Code:
adb shell killall system_server
7. Enjoy ​
Holofy Application Bar
Original:
Modded:
1. Decompile your Settings.apk
2. Go to /smali/com/android/settings/applications/LinearColorBar.smali
3. Search for
Code:
.method private updateIndicator()V
You will see code like this below:
Code:
.locals 12
.prologue
const v11, 0xa0a0a0
const/4 v3, 0x2
const v10, -0x5f5f60
const/4 v1, 0x0
First we see a0a0a0, which is hex code of grey colour, which we have to change to holo blue, so we replace it by 33b5e5
Second code is 5f5f60, which, unfortunately, is not a normal hex code but an inverse hex code. Consider this table:
NEW: Or try this app by me, much much easier - Invertase
We re-invert the inverse hex code to original form by this table, which comes out to be a0a09f, which again is grey and we have to convert it to holo blue, but we cannot just write 33b5e5 there, we must first invert it through that table.
Inverted code of 33b5e5 : cc4a1a
So, we replace 5f5f60 by cc4a1a
Final code will look like this:
Code:
.locals 12
.prologue
const v11, 0x33b5e5
const/4 v3, 0x2
const v10, -0xcc4a1a
const/4 v1, 0x0
4. Search for
Code:
iget-object v9, p0, Lcom/android/settings/applications/LinearColorBar;->mColorGradientPaint:Landroid/graphics/Paint;
You will see code like this below:
Code:
new-instance v0, Landroid/graphics/LinearGradient;
sub-int v2, v8, v3
int-to-float v4, v2
const v5, 0xa0c0a0
const v6, -0x5f3f60
First we see a0c0a0, which is hex code of green color, which we have to change to grey, so we replace it by a0a0a0
Second code is 5f3f60, which is inverse hex code of a0c09f, which is again green colour which we have to change to grey colour a0a09f
Inverted code of a0a09f : 5f5f60
So we replace 5f3f60 by 5f5f60
Final code will look like
Code:
new-instance v0, Landroid/graphics/LinearGradient;
sub-int v2, v8, v3
int-to-float v4, v2
const v5, 0xa0a0a0
const v6, -0x5f5f60
5. Search for
Code:
invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V
You will get 3 results
First one will look like this:
Code:
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/settings/applications/LinearColorBar;->mPaint:Landroid/graphics/Paint;
move-object v3, v0
const v4, -0x5f5f60
[i]invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V[/i]
See just above the searched code, it is 5f5f60, which is again inverse code of grey, so we replace it by inverse code of blue, which is cc4a1a
Final code will look like
Code:
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/settings/applications/LinearColorBar;->mPaint:Landroid/graphics/Paint;
move-object v3, v0
const v4, -0xcc4a1a
[i]invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V[/i]
Second one will look like this:
Code:
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/settings/applications/LinearColorBar;->mPaint:Landroid/graphics/Paint;
move-object v3, v0
const v4, -0x5f5f60
[i]invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V[/i]
See just above the searched code, it is 5f5f60, which is again inverse code of grey, so we replace it by inverse code of blue, which is cc4a1a
Final code will look like
Code:
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/settings/applications/LinearColorBar;->mPaint:Landroid/graphics/Paint;
move-object v3, v0
const v4, -0xcc4a1a
[i]invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V[/i]
Third one will look like this:
Code:
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/settings/applications/LinearColorBar;->mPaint:Landroid/graphics/Paint;
move-object v3, v0
const v4, -0x5f3f60
[i]invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V[/i]
See just above the searched code, it is 5f3f60, which is again inverse code of green, so we replace it by inverse code of grey, which is 5f5f60
Final code will look like
Code:
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/settings/applications/LinearColorBar;->mPaint:Landroid/graphics/Paint;
move-object v3, v0
const v4, -0x5f5f60
[i]invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V[/i]
6. You can change these colours to any one of your choice, it up to you.
Save the file when you are done
7. Recompile Settings.apk and push it in system
If it does not appear in App Drawer, hot reboot your phone wither by EPM or by this command:
Code:
adb shell killall system_server
8. Enjoy ​
I am attaching the final smalis so you can compare changes
View attachment smali.zip

Wow Areeb! Very nice guide. :good:

Nice Guide Areeb

Cool! Make more guides like this one. :thumbup:
Sent from my GT-S5570I using xda app-developers app

Awesmoe guide bro... Keep it up..
Sent from my GT-S5830i using Kitkat Evolution Mod

nice guide bro !

Whats up with the internal memory?

markjerald said:
Whats up with the internal memory?
Click to expand...
Click to collapse
Well, I feared someone would have asked what's up with my battery
The internal memory is the courtesy of Cronmod script by croniccory, modified a little bit by me

nice guide Man,
i will it give a go, Well Done! :good::good::good:

cool !! \m/

Thanks for this brilliant guide sir can you make a tut also for the green line in battery usage into holo one ?

paul222008 said:
Thanks for this brilliant guide sir can you make a tut also for the green line in battery usage into holo one ?
Click to expand...
Click to collapse
Those are pngs if I'm not wrong
But let me confirm it in some time.

Yes that is a png. app_gauge.9

I have to admit this looks amazing and many thanks for the tutorial, but being lazy as I am (aka stuck at work) is there any way to create a flashable zip of this procedure?

SeVIIn said:
I have to admit this looks amazing and many thanks for the tutorial, but being lazy as I am (aka stuck at work) is there any way to create a flashable zip of this procedure?
Click to expand...
Click to collapse
Sir, that would be incompatible with not even every device except one but even on ROMs
I was thinking of creating a Xposed Module but :curses: exams came and I can't do it, so sorry, but there is no generalised way of doing it except for modding it manually

Worked flawlessly. Great straight forward walk thru. Thanks for the guide.
Edit:The values are different on jellybean for the apps part as it is already holo themed. If you want to change them to another color, follow the first steps of the O.P. The follow the rest but the values will be const v6, -0xff6634. Those are the values that are already holo if you wish to change them Note that they are also inverted
Sent from my Galaxy Note II

Congrats, u are featured on portal!
Sent from my GT-S5570I

iamareebjamal said:
Sir, that would be incompatible with not even every device except one but even on ROMs
I was thinking of creating a Xposed Module but :curses: exams came and I can't do it, so sorry, but there is no generalised way of doing it except for modding it manually
Click to expand...
Click to collapse
Oh please make a xposed module as not everyone is as good with this things...
Sent from my GT-I9300 using Tapatalk

Nice mate :good: Hope there will be a module for xposed like this one.

Is there any reason why this wouldn't work on a Touchwiz 4.3 rom? I'm using a Verizon Galaxy S4 with Hyperdrive Rom and I followed your guide to the letter. But when I try to recompile I just get a ton of errors. I installed the framework (framework-res and twframework-res) and still I can't get it to recompile. What am I doing wrong?
I've tried using standard apktool, then I tried the Android apktool where it is all automated. Wouldn't work with either one. I have a bit of experience using apktool but I can't figure this out. Maybe it's something Touchwiz related? Touchwiz always seems to mess up mods that work on other phones/roms. Thanks for this awesome guide though!

Related

[MOD] [LIH/LJ1/LJ2/LJ4/LJ5/LK4/LKC deodex] back/menu long press kills foreground app

Thanks to Sorg, Poppuri, Pako, Wanam.
2 level reboot menu from Wanam also included.
The mod actually developed by sorg and implemented into poppuri ROM with 2 another mods. One of them is too complicated idnd changes whole logic of hard buttons behavior. I just separated it from another ones.
Warning:
Installing of this mod will:
1. Remove another hard keys related mods like volume long press etc.
2. Remove old TV effect.
I dislike this mods, so they are not implemented.
3. Replace power menu with one from WanamLite ROM.
If you need tis mods, please ask autors of mod or ROM for implementing this one or do it yourself.
v2 Update.
Always vibrate, also if nothing killed.
Kills launchers.
Excluded App list:
com.android.providers.applications
com.sec.android.app.clockpackage
com.sec.android.widgetapp.alarmclock
com.sec.phone
com.android.settings
com.android.defcontainer
com.android.contacts
com.sec.android.app.factorymode
v3 - Will not kill launchers, but always provide feedback
To implement into another ROM/file:
1. Decompile android.policy.jar (both from attachment and from your ROM).
2. Copy PhoneWindowManager$BackLongPress.smali into
\android.policy.jar.out\com\android\internal\policy\impl\
3. Merge changes from \android.policy.jar.out\com\android\internal\policy\impl\PhoneWindowManager.smali to your file.
You can use original file from LIH ROM to find differences.
4. Recompile.
hi, just flash the zip in cwm? Criskelo I LIH.?
You can.
Make backup first.
Better - ask Kriskello for implementing this mod.
It simple.
I hope that will work.
---------- Post added at 08:17 PM ---------- Previous post was at 08:13 PM ----------
So I already have and it seems fully functional, many thanks for your work, it's ok
Doesn't work in my custom LIH rom.
well i don.t have a notebook or a desktop system in the next few days,and i really like this feature...so can someone compile one for wanam 4.0 XXDLJ1?tx
Work in omega 29
Enviado desde mi GT-I9300 usando Tapatalk 2
Work on hyper light DLJ1 1.1.5
finally I don't need to install jkay
Tap talk killed now with kill back key
Envoyé depuis mon GT-I9300 avec Tapatalk
You may name my babies
Insert coin 2.0.0 XDLID. works perfectly, wanted this so long. if i could thousand thank i would
akelon said:
Work in omega 29
Enviado desde mi GT-I9300 usando Tapatalk 2
Click to expand...
Click to collapse
I tried on omega 29 and its not worked any solution will be appriciated. Thanks..
There is no differences in android.policy.jar between LIH and LJ1.
So, the mod should work on LJ1.
akelon said:
Work in omega 29
Enviado desde mi GT-I9300 usando Tapatalk 2
Click to expand...
Click to collapse
Have you recompiled it or just flashed it directly?
I am on Omega v29 and it didn't work after flashing. Could you please share the modded file? Thanks in advance.
tczhang said:
Have you recompiled it or just flashed it directly?
I am on Omega v29 and it didn't work after flashing. Could you please share the modded file? Thanks in advance.
Click to expand...
Click to collapse
Worked here on v29. Just flashed
Sent from my GT-I9300 using Xparent Green Tapatalk 2
d8389 said:
To implement into another ROM/file:
1. Decompile android.policy.jar (both from attachment and from your ROM).
2. Copy PhoneWindowManager$BackLongPress.smali into
\android.policy.jar.out\com\android\internal\policy\impl\
3. Merge changes from \android.policy.jar.out\com\android\internal\policy\impl\PhoneWindowManager.smali to your file.
You can use original file from LIH ROM to find differences.
4. Recompile.
Click to expand...
Click to collapse
Plz give us the guide about "the changes of PhoneWindowManager.smali"
androidphone2012 said:
Plz give us the guide about "the changes of PhoneWindowManager.smali"
Click to expand...
Click to collapse
You should add
Code:
.field private final mBackLongPress:Ljava/lang/Runnable;
.field public mBackLongPressed:I
somewhere in
# instance fields
---
Code:
new-instance v0, Lcom/android/internal/policy/impl/PhoneWindowManager$BackLongPress;
invoke-direct {v0, p0}, Lcom/android/internal/policy/impl/PhoneWindowManager$BackLongPress;-><init>(Lcom/android/internal/policy/impl/PhoneWindowManager;)V
iput-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPress:Ljava/lang/Runnable;
in
Code:
.method public constructor <init>()V
i do it in another similar group
---
in
Code:
.method public interceptKeyBeforeDispatching(Landroid/view/WindowManagerPolicy$WindowState;Landroid/view/KeyEvent;I)J
I increased number of registers by 1 (not sure it's necessary)
and after something like
Code:
const-string v41, "RemoteException when showing recent apps"
move-object/from16 v0, v40
move-object/from16 v1, v41
invoke-static {v0, v1, v10}, Landroid/util/Slog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
goto :goto_521
.line 3110
.end local v10 #e:Landroid/os/RemoteException;
:cond_532
add
Code:
const/16 v40, 0x4
move/from16 v0, v21
move/from16 v1, v40
if-ne v0, v1, :cond_569
.line 2281
if-eqz v9, :cond_556
if-nez v30, :cond_55f
move-object/from16 v0, p0
const v1, 0x0
iput v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPressed:I
if-nez v22, :cond_569
iget-object v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPress:Ljava/lang/Runnable;
iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;
invoke-static {}, Landroid/view/ViewConfiguration;->getGlobalActionKeyTimeout()J
move-result-wide v2
const-wide/16 v4, 0x5
mul-long/2addr v2, v4
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
goto :goto_569
:cond_556
move-object/from16 v0, p0
iget-object v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPress:Ljava/lang/Runnable;
iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
:cond_55f
move-object/from16 v0, p0
iget v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPressed:I
if-eqz v1, :cond_569
const-wide/16 v40, -0x1
goto/16 :goto_ad
:cond_569
:goto_569
check also for conflicting goto & cond
d8389 said:
You should add
Code:
.field private static final LONG_PRESS_TIMEOUT:I = 0x190
somewhere in
# static fields
---
Code:
.field private final mBackLongPress:Ljava/lang/Runnable;
.field public mBackLongPressed:I
somewhere in
# instance fields
---
Code:
new-instance v0, Lcom/android/internal/policy/impl/PhoneWindowManager$BackLongPress;
invoke-direct {v0, p0}, Lcom/android/internal/policy/impl/PhoneWindowManager$BackLongPress;-><init>(Lcom/android/internal/policy/impl/PhoneWindowManager;)V
iput-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPress:Ljava/lang/Runnable;
in
Code:
.method public constructor <init>()V
i do it in another similar group
---
in
Code:
.method public interceptKeyBeforeDispatching(Landroid/view/WindowManagerPolicy$WindowState;Landroid/view/KeyEvent;I)J
I increased number of registers by 1 (not sure it's necessary)
and after something like
Code:
const-string v41, "RemoteException when showing recent apps"
move-object/from16 v0, v40
move-object/from16 v1, v41
invoke-static {v0, v1, v10}, Landroid/util/Slog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
goto :goto_521
.line 3110
.end local v10 #e:Landroid/os/RemoteException;
:cond_532
add
Code:
const/16 v40, 0x4
move/from16 v0, v21
move/from16 v1, v40
if-ne v0, v1, :cond_569
.line 2281
if-eqz v9, :cond_556
if-nez v30, :cond_55f
move-object/from16 v0, p0
const v1, 0x0
iput v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPressed:I
if-nez v22, :cond_569
iget-object v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPress:Ljava/lang/Runnable;
iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;
invoke-static {}, Landroid/view/ViewConfiguration;->getGlobalActionKeyTimeout()J
move-result-wide v2
const-wide/16 v4, 0x5
mul-long/2addr v2, v4
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
goto :goto_569
:cond_556
move-object/from16 v0, p0
iget-object v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPress:Ljava/lang/Runnable;
iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
:cond_55f
move-object/from16 v0, p0
iget v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPressed:I
if-eqz v1, :cond_569
const-wide/16 v40, -0x1
goto/16 :goto_ad
:cond_569
:goto_569
check also for conflicting goto & cond
Click to expand...
Click to collapse
Thanks, but PhoneWindowManager.smali in Nexus S differs from SGS III Could you give me some tips?
d8389 said:
Thanks to Sorg, Poppuri, Pako, Wanam.
2 level reboot menu from Wanam also included.
The mod actually developed by sorg and implemented into poppuri ROM with 2 another mods. One of them is too complicated idnd changes whole logic of hard buttons behavior. I just separated it from another ones.
Click to expand...
Click to collapse
also working on CheckROM 5.5 DLIB!
@D8329,can you make Pin Code Unlock without pressing OK button mod too ?
works perfectly on foxhound 1.0

[Tutorial] Sense 5 Prism Mods [All Themers Post your Prism Mods]

Hey what's up everyone? I've just picked up my One & started modding right away. Here's some mods you can do to Prism.apk ( Sense Launcher ).​
first off you need to learn to use apktool or apkmanager, google search & learn how to mod apps first.
First mod is a custom image as your app drawer background
Decompile prism.apk and go to​
res/layout/all_apps_pagedview.xml
look for this line
Code:
<com.htc.launcher.pageview.AllAppsPagedView android:id="@id/all_apps_paged_view"
add a background tag like this
Code:
<com.htc.launcher.pageview.AllAppsPagedView android:background="@drawable/appdrawer_background" android:id="@id/all_apps_paged_view"
next put your custom image named appdrawer_background.png into the drawable-xxhdpi folder & recompile your apk
*****************************************
Next is Transparent app drawer background
This one is kinda difficult, but there is an easier method posted here http://forum.xda-developers.com/showpost.php?p=40555206&postcount=16
thanks Ajthescot for sharing
4.1.2 method
decompile Prism.apk and go to /smali/com/htc/launcher
find Launcher.Smali
and look for this method
Code:
.method public updateWallpaperVisibility(Z)V
.locals 8
const/4 v3, 0x0
const/high16 v2, 0x10
iget-boolean v4, p0, Lcom/htc/launcher/Launcher;->m_bAttached:Z
if-nez v4, :cond_1
const-string v2, "Launcher"
const-string v3, "updateWallpaperVisibility - not attached"
invoke-static {v2, v3}, Lcom/htc/launcher/util/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
return-void
:cond_1
invoke-virtual {p0}, Lcom/htc/launcher/Launcher;->isAddToHomeVisible()Z
move-result v4
if-eqz v4, :cond_2
const/4 p1, 0x1
:cond_2
if-eqz p1, :cond_3
move v1, v2
:goto_1
invoke-virtual {p0}, Lcom/htc/launcher/Launcher;->getWindow()Landroid/view/Window;
move-result-object v4
invoke-virtual {v4}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;
move-result-object v4
iget v4, v4, Landroid/view/WindowManager$LayoutParams;->flags:I
and-int v0, v4, v2
if-eq v1, v0, :cond_0
const-string v4, "Launcher"
const-string v5, "updateWallpaperVisibility: %s"
const/4 v6, 0x1
new-array v6, v6, [Ljava/lang/Object;
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v7
aput-object v7, v6, v3
invoke-static {v4, v5, v6}, Lcom/htc/launcher/util/Logger;->i(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
invoke-virtual {p0}, Lcom/htc/launcher/Launcher;->getWindow()Landroid/view/Window;
move-result-object v3
invoke-virtual {v3, v1, v2}, Landroid/view/Window;->setFlags(II)V
goto :goto_0
:cond_3
move v1, v3
goto :goto_1
.end method
delete this entire method, next use notepad ++ to search for
Code:
updateWallpaperVisibility
remove all lines containing that
example :
Code:
invoke-virtual {v0, v4}, Lcom/htc/launcher/Launcher;->updateWallpaperVisibility(Z)V
next go to Launcher$20.Smali
and again search for
Code:
updateWallpaperVisibility
remove all lines like this
Code:
invoke-virtual {v0, v4}, Lcom/htc/launcher/Launcher;->updateWallpaperVisibility(Z)V
next go to Launcher$24.Smali
do the same as the above file
next go to Workspace.smali
do the same as the above two files
last file in smali is
DragLayer.Smali
search for this
Code:
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 5
const/4 v4, 0x0
const/4 v3, 0x0
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const/4 v1, 0x2
new-array v1, v1, [I
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_naTmpXY:[I
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_resizeFrames:Ljava/util/ArrayList;
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_dropAnim:Landroid/animation/ValueAnimator;
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_fadeOutAnim:Landroid/animation/ValueAnimator;
new-instance v1, Landroid/view/animation/DecelerateInterpolator;
const/high16 v2, 0x3fc0
invoke-direct {v1, v2}, Landroid/view/animation/DecelerateInterpolator;-><init>(F)V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_cubicEaseOutInterpolator:Landroid/animation/TimeInterpolator;
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_dropView:Lcom/htc/launcher/DragView;
iput v4, p0, Lcom/htc/launcher/DragLayer;->m_nAnchorViewInitialScrollX:I
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_anchorView:Landroid/view/View;
iput-boolean v4, p0, Lcom/htc/launcher/DragLayer;->m_bHoverPointClosesFolder:Z
new-instance v1, Landroid/graphics/Rect;
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_rectHit:Landroid/graphics/Rect;
const/4 v1, 0x1
iput-boolean v1, p0, Lcom/htc/launcher/DragLayer;->m_bHotseatVisible:Z
const/high16 v1, 0x3f80
iput v1, p0, Lcom/htc/launcher/DragLayer;->m_fBackgroundAlpha:F
new-instance v1, Landroid/graphics/Rect;
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_rectBackground:Landroid/graphics/Rect;
new-instance v0, Lcom/htc/launcher/FillColorFastBitmapDrawable;
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v1
const v2, 0x7f020002
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object v1
check-cast v1, Landroid/graphics/drawable/BitmapDrawable;
invoke-virtual {v1}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;
move-result-object v1
const/high16 v2, -0x100
invoke-direct {v0, v1, v2}, Lcom/htc/launcher/FillColorFastBitmapDrawable;-><init>(Landroid/graphics/Bitmap;I)V
invoke-virtual {p0, v0}, Lcom/htc/launcher/DragLayer;->setBackground(Landroid/graphics/drawable/Drawable;)V
invoke-virtual {p0, v4}, Lcom/htc/launcher/DragLayer;->setMotionEventSplittingEnabled(Z)V
return-void
.end method
look for the line I have marked here & change it as I have Told
Code:
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 5
const/4 v4, 0x0
const/4 v3, 0x0
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const/4 v1, 0x2
new-array v1, v1, [I
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_naTmpXY:[I
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_resizeFrames:Ljava/util/ArrayList;
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_dropAnim:Landroid/animation/ValueAnimator;
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_fadeOutAnim:Landroid/animation/ValueAnimator;
new-instance v1, Landroid/view/animation/DecelerateInterpolator;
const/high16 v2, 0x3fc0
invoke-direct {v1, v2}, Landroid/view/animation/DecelerateInterpolator;-><init>(F)V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_cubicEaseOutInterpolator:Landroid/animation/TimeInterpolator;
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_dropView:Lcom/htc/launcher/DragView;
iput v4, p0, Lcom/htc/launcher/DragLayer;->m_nAnchorViewInitialScrollX:I
iput-object v3, p0, Lcom/htc/launcher/DragLayer;->m_anchorView:Landroid/view/View;
iput-boolean v4, p0, Lcom/htc/launcher/DragLayer;->m_bHoverPointClosesFolder:Z
new-instance v1, Landroid/graphics/Rect;
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_rectHit:Landroid/graphics/Rect;
const/4 v1, 0x1
iput-boolean v1, p0, Lcom/htc/launcher/DragLayer;->m_bHotseatVisible:Z
const/high16 v1, 0x3f80
iput v1, p0, Lcom/htc/launcher/DragLayer;->m_fBackgroundAlpha:F
new-instance v1, Landroid/graphics/Rect;
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
iput-object v1, p0, Lcom/htc/launcher/DragLayer;->m_rectBackground:Landroid/graphics/Rect;
new-instance v0, Lcom/htc/launcher/FillColorFastBitmapDrawable;
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v1
const v2, 0x7f020002
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object v1
check-cast v1, Landroid/graphics/drawable/BitmapDrawable;
invoke-virtual {v1}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;
move-result-object v1
>>>>>>>>> const/high16 v2, -0x100 <<<< Change from ORIGINAL VALUE to this const/high16 v2, 0x0 >>>>
invoke-direct {v0, v1, v2}, Lcom/htc/launcher/FillColorFastBitmapDrawable;-><init>(Landroid/graphics/Bitmap;I)V
invoke-virtual {p0, v0}, Lcom/htc/launcher/DragLayer;->setBackground(Landroid/graphics/drawable/Drawable;)V
invoke-virtual {p0, v4}, Lcom/htc/launcher/DragLayer;->setMotionEventSplittingEnabled(Z)V
return-void
.end method
Next on to the easy part
res/layouts/feed_view.xml
top line add a background tag like this
Code:
<com.htc.launcher.feeds.view.FeedScrollView android:background="@drawable/blinkfeed_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
add blinkfeed_background.png in drawable-xxhdpi set as you like (mine is solid black)
res/layout/all_apps_pagedview.xml
look for this line
Code:
<com.htc.launcher.pageview.AllAppsPagedView android:id="@id/all_apps_paged_view"
add a background tag like this
Code:
<com.htc.launcher.pageview.AllAppsPagedView android:background="@drawable/appdrawer_background" android:id="@id/all_apps_paged_view"
next put your custom image that is set to your desired level of transparency named appdrawer_background.png into the drawable-xxhdpi folder.
last thing is find automotive_common_app_bkg_top.jpeg & make it 100% transparent & save as a png, then delete the jpeg copy out of the apk
*
For 4.2.2 you can use my method above or Aj's method, both work fine BUT you need to add a tiny bit more code to make it look 100%
go to smali/com/htc/launcher/pageview/AllAppsPagedViewHost.smali find line 85 where it says
Code:
const/high16 v2, -0x100
change it to
Code:
const/high16 v2, 0x0
now recompile your app & Enjoy your transparent app drawer
**************************************************
Next mod, have 7 pages set for use
first go to res/layout/Workspace_page_thumbnail_container.xml
add this to it twice
Code:
<include layout="@layout/workspace_page_thumbnail" />
<include layout="@layout/workspace_page_thumbnail" />
next go to Workspace_pages.xml
add this
Code:
<include android:id="@id/cell0" layout="@layout/workspace_screen" />
and
Code:
<include android:id="@id/cell5" layout="@layout/workspace_screen" />
Next go to res/layout/workspace_page_protected.xml
add this
Code:
<include android:id="@id/cell5" layout="@layout/workspace_screen" />
next go to res/values/ids.xml
add this
Code:
<item type="id" name="cell5">false</item>
next go to smali/com/htc/launcher/model/PagesManager.Smali
find this method & change it as I have marked
Code:
.method private constructor <init>(Landroid/content/Context;)V
.locals 2
const/4 v1, 0x0
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
iput v1, p0, Lcom/htc/launcher/model/PagesManager;->m_nHomeIndex:I
<<<< const/4 v0, 0x6 <<<<< original value const/4 v0, 0x4 >>>>>>>>>>
iput v0, p0, Lcom/htc/launcher/model/PagesManager;->m_nPageCount:I
iput v1, p0, Lcom/htc/launcher/model/PagesManager;->m_nFeedIndex:I
const/4 v0, 0x1
iput v0, p0, Lcom/htc/launcher/model/PagesManager;->m_nWorkspaceId:I
sget-object v0, Lcom/htc/launcher/model/PagesManager$DefaultViewMode;->Feed:Lcom/htc/launcher/model/PagesManager$DefaultViewMode;
iput-object v0, p0, Lcom/htc/launcher/model/PagesManager;->m_defaultViewMode:Lcom/htc/launcher/model/PagesManager$DefaultViewMode;
const/4 v0, 0x0
iput-object v0, p0, Lcom/htc/launcher/model/PagesManager;->m_Handler:Landroid/os/Handler;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lcom/htc/launcher/model/PagesManager;->m_observerList:Ljava/util/List;
iput-object p1, p0, Lcom/htc/launcher/model/PagesManager;->m_context:Landroid/content/Context;
new-instance v0, Landroid/os/Handler;
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
iput-object v0, p0, Lcom/htc/launcher/model/PagesManager;->m_Handler:Landroid/os/Handler;
return-void
.end method
next method
Code:
.method public getMaxPageCount()I
.locals 1
const/4 v0, 0x7 <<<<<<<< change from const/4 v0, 0x5 >>>>>>
return v0
.end method
next go to smali/com/htc/launcher/model/WorkspaceConfiguration.smali
find this
Code:
.field public static final DEFAULT_PAGE_COUNT:I = 0x4
change it to this
Code:
.field public static final DEFAULT_PAGE_COUNT:I = 0x6
find this
Code:
.field private static final MAX_PAGES:I = 0x5
change it to this
Code:
.field private static final MAX_PAGES:I = 0x7
Now find this method & change it as I have marked
Code:
.method public constructor <init>()V
.locals 2
const/4 v1, 0x0
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
<< const/4 v0, 0x6 <<<< original value is this const/4 v0, 0x4
iput v0, p0, Lcom/htc/launcher/model/WorkspaceConfiguration;->m_nPageCount:I
iput v1, p0, Lcom/htc/launcher/model/WorkspaceConfiguration;->m_nHomeIndex:I
iput v1, p0, Lcom/htc/launcher/model/WorkspaceConfiguration;->m_nFeedIndex:I
return-void
.end method
last method for this file
Code:
.method public getMaxPageCount()I
.locals 1
const/4 v0, 0x7 <<<< Change from original of const/4 v0, 0x5 >>>>>
return v0
.end method
last edit go to smali/com/htc/launcher/Launcher.smali
change this
Code:
.field static final SCREEN_COUNT:I = 0x5
to this
Code:
.field static final SCREEN_COUNT:I = 0x7
recompile your apk & enjoy 7 pages of widgets
That's all I have for now, I'll update the thread as I learn more
CREDITS
Onepagebook
*Ajthescot
​
Thanks, a lot of people don't like to share their knowledge these days
Rayford, will you theme an upcoming Viper Rom ?
PS: Please do !
Great job!!!!!
nice bro, there are still a lot
I just got my home pages turned to 7..
Should you need to declare drawable ID in public.xml for the appdrawer back ground?
Onepagebook said:
nice bro, there are still a lot
I just got my home pages turned to 7..
Should you need to declare drawable ID in public.xml for the appdrawer back ground?
Click to expand...
Click to collapse
Share your findings on the apk, I'll add it to the op And no need to add any public id, it will build it's id when it compiles.
rayford85 said:
Share your findings on the apk, I'll add it to the op And no need to add any public id, it will build it's id when it compiles.
Click to expand...
Click to collapse
YGPM bro
Kevin & Nick @ it again love you guys, and as always love your work.
yeah..still more to come, I receive lots of help from Nick and my TW friend, ici, as well. Thanks buddy
added a mod to have 7 pages set for widgets etc. instead of the default 5. Thanks to Onepagebook.
wich programs we need to decomplie apk ?
I like to have trasparent prism for my ARHD rom and read your instruction ....
I don't think to be able
but ... wanna try
hope you help me
tks mate
jonata said:
wich programs we need to decomplie apk ?
I like to have trasparent prism for my ARHD rom and read your instruction ....
I don't think to be able
but ... wanna try
hope you help me
tks mate
Click to expand...
Click to collapse
I'm not gonna teach you how to do it.
No one taught me. You just gotta keep messing with it till you figure it out. Here is a link to get you started http://forum.xda-developers.com/showthread.php?t=1891686 thats just one guide, google search for other ones. There all over the web.
rayford85 said:
I'm not gonna teach you how to do it.
No one taught me. You just gotta keep messing with it till you figure it out. Here is a link to get you started http://forum.xda-developers.com/showthread.php?t=1891686 thats just one guide, google search for other ones. There all over the web.
Click to expand...
Click to collapse
ok , try to learn
lex_is300 dased14 and myself have done the transparent app drawer we have taken some slack for not releasing it yet but we were trying to perfect it before releasing.
5x6 layouts needed a bit of dimen tweakage to stop icons overlaping dock icons
the custom bg did not fill dock area if you have trans dock
thats fixed.
i shall post my method here in a few as lex_is300 and dased14 have different setups.
in the meantime
heres my dock setup
i use 5 icons plus appdrawer icon
increase docked icon count
my layout
values integers.xml
Code:
<integer name="hotseat_cell_count">5</integer>
changed to
Code:
<integer name="hotseat_cell_count">6</integer>
values/dimens.xml
reduce padding
Code:
<dimen name="button_bar_width_left_padding">16.0dip</dimen>
<dimen name="button_bar_width_right_padding">16.0dip</dimen>
changed to
Code:
<dimen name="button_bar_width_left_padding">2.0dip</dimen>
<dimen name="button_bar_width_right_padding">2.0dip</dimen>
move dock icon position
values integers.xml
Code:
<integer name="hotseat_all_apps_index">4</integer>
changed to
Code:
<integer name="hotseat_all_apps_index">5</integer>
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ajthescot said:
lex_is300 dased14 and myself have done the transparent app drawer we have taken some slack for not releasing it yet but we were trying to perfect it before releasing.
5x6 layouts needed a bit of dimen tweakage to stop icons overlaping dock icons
the custom bg did not fill dock area if you have trans dock
thats fixed.
i shall post my method here in a few as lex_is300 and dased14 have different setups.
in the meantime
heres my dock setup
i use 5 icons plus appdrawer icon
increase docked icon count
my layout
values integers.xml
Code:
<integer name="hotseat_cell_count">5</integer>
changed to
Code:
<integer name="hotseat_cell_count">6</integer>
values/dimens.xml
reduce padding
Code:
<dimen name="button_bar_width_left_padding">16.0dip</dimen>
<dimen name="button_bar_width_right_padding">16.0dip</dimen>
changed to
Code:
<dimen name="button_bar_width_left_padding">2.0dip</dimen>
<dimen name="button_bar_width_right_padding">2.0dip</dimen>
move dock icon position
values integers.xml
Code:
<integer name="hotseat_all_apps_index">4</integer>
changed to
Code:
<integer name="hotseat_all_apps_index">5</integer>
Click to expand...
Click to collapse
Thanks for sharing. I'm real curious to see how you guys did the app drawer transparent. It was a nightmare to figure out
Sent from my HTC One using xda premium
credits to lex_is300 dased14 and myself we have had transparent app drawer for couple of weeks but wanted to perfect it more before releasing it
like the op we all have different methods but this is my personal take on it.
this is my edits based on 5x6 app drawer
all dimen edits are based on this
if you use this mod please give credits to lex_is300 dased14 and myself
layouts .xmls​hotseat.xml
Code:
<ImageView android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="@dimen/button_bar_height_without_padding" android:src="@drawable/home_nav_bg" android:scaleType="fitXY" />
to
Code:
<ImageView android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="@dimen/button_bar_height_without_padding[COLOR="Red"]2[/COLOR]" android:src="@drawable/home_nav_bg" android:scaleType="fitXY" />
all_apps_paged_view.xml
Code:
<com.htc.launcher.pageview.AllAppsPagedViewHost android:id="@id/all_apps_paged_view_frame" android:layout_width="fill_parent" android:layout_height="fill_parent"
to
Code:
<com.htc.launcher.pageview.AllAppsPagedViewHost android:id="@id/all_apps_paged_view_frame" [COLOR="red"]android:background="@drawable/custom"[/COLOR] android:layout_width="fill_parent" android:layout_height="fill_parent"
values xmls​this edits fills the dock area with the custom bg for those with trans dock.
dimens.xml
Code:
<dimen name="button_bar_height_without_padding">55.0dip</dimen>
to
Code:
<dimen name="button_bar_height_without_padding">[COLOR="Red"]0.0dip[/COLOR]</dimen>
add this new line
Code:
<dimen name="button_bar_height_without_padding2">55.0dip</dimen>
styles.xml​<style name="DropTargetBar">
add this
Code:
<item name="android:background">#98000000</item>
edit to suit your level of transparency​
smali​
com/android/htc/launcher
line numbers based on vts layout
Draglayer.smali
line 195 on 1.28 base
or line 156 on 1.29.401.12 base
const/high16 v2, -0x100
change to
const/high16 v2, 0x0
launcher.smali
line 21566 on 1.28 base
or line 15353 on 1.29.401.12 base
const/high16 v2, 0x10
change to
const/high16 v2, 0x0
line numbers may change on different versions of prism​
drawables xxhdpi​
add
custom backgound named custom.png
edit to your desired transparency
edit
automotive_common_app_bkg_top
to desired transparency this is blinkfeed and appdrawer clock bg
change home_nav_bg.jpg to home_nav_bg.png and edit transparency​
if using 5x6 appdrawer you are gonna have an ugly mess of icons overlapping with tranparent docks.
values dimens.xml​
Code:
<dimen name="config_allAppsTabbedPageLayoutPaddingTop">18.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingBottom">4.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingLeft">0.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingRight">0.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingTop_alt">35.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingBottom_alt">10.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingLeft_alt">0.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingRight_alt">0.0dip</dimen>
<dimen name="page_view_icon_cell_width">75.0dip</dimen>
<dimen name="page_view_icon_cell_height">90.0dip</dimen>
to
Code:
<dimen name="config_allAppsTabbedPageLayoutPaddingTop">18.5dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingBottom">35.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingLeft">16.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingRight">16.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingTop_alt">35.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingBottom_alt">50.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingLeft_alt">30.0dip</dimen>
<dimen name="config_allAppsTabbedPageLayoutPaddingRight_alt">30.0dip</dimen>
<dimen name="allapps_edit_layout_page_spacing">100.0dip</dimen>
<dimen name="page_view_icon_cell_width">85.0dip</dimen>
<dimen name="page_view_icon_cell_height">87.0dip</dimen>
now the text may be overlaping or cut off screen
edit to your suited size
Code:
<dimen name="shortcut_label_l">12.0sp</dimen>
mine i have set to
Code:
<dimen name="shortcut_label_l">8.0sp</dimen>
Ajthescot said:
lex_is300 dased14 and myself have done the transparent app drawer we have taken some slack for not releasing it yet but we were trying to perfect it before releasing.
5x6 layouts needed a bit of dimen tweakage to stop icons overlaping dock icons
the custom bg did not fill dock area if you have trans dock
thats fixed.
i shall post my method here in a few as lex_is300 and dased14 have different setups.
in the meantime
heres my dock setup
i use 5 icons plus appdrawer icon
increase docked icon count
my layout
values integers.xml
Code:
<integer name="hotseat_cell_count">5</integer>
changed to
Code:
<integer name="hotseat_cell_count">6</integer>
values/dimens.xml
reduce padding
Code:
<dimen name="button_bar_width_left_padding">16.0dip</dimen>
<dimen name="button_bar_width_right_padding">16.0dip</dimen>
changed to
Code:
<dimen name="button_bar_width_left_padding">2.0dip</dimen>
<dimen name="button_bar_width_right_padding">2.0dip</dimen>
move dock icon position
values integers.xml
Code:
<integer name="hotseat_all_apps_index">4</integer>
changed to
Code:
<integer name="hotseat_all_apps_index">5</integer>
Click to expand...
Click to collapse
really beatifull !
my compliments ...... love this trasparent navbar !
nice work on the 5 icons dock ..
are those showing also on locksreen ???
Dougi said:
nice work on the 5 icons dock ..
are those showing also on locksreen ???
Click to expand...
Click to collapse
thanks bud lockscreen is still only 4
Ajthescot said:
thanks bud lockscreen is still only 4
Click to expand...
Click to collapse
thanks for the reply...
Sssuupp my men Ray how are you , nice OP there
Ray , do you think there are still M10 in sense 5 ??? i thought no, but after searching, reading and understanding the new sense 5 files , i'm now sure there are M10 files....
what do you think ?? .. ( this question goes out to all themers and advanced users.. )

[HOW-TO][CWM]"Accurate" Data Icons for TMo-based stock roms

Howdy folks -
After numerous folks asked about having icons that showed the actual connection type on T-Mobile stock roms (here in particular) I decided to take a crack at figuring something out for my little concoction of a rom called Tweaked. While what is in Tweaked has a small difference from what I discuss here, the underlying changes are largely the same. What follows is a hopefully adequate guide for what I ended up doing - one that will hopefully allow others wanting to tinker on their own as opposed to use the tinkerings of others.
That being said, the original request was for 2 flashables - so I will post those here. In an attempt to make things as "painless" as possible (with pain being defined as "messes up my theme images"), the zips posted are vrtheme-style and will not change and images or xmls - just flash in recovery
[size=+1]Jedi Master 13[/size] STANDARD
Download md5 C7D3CD3550938F930AE343E591112F15
[size=+1]Jedi Master 13[/size] AOSP THEME BY FOREVERLOCO
Download md5 1E1CE78803D58BBECB7937174428AE7F
If you are more interested in taking a crack at doing the mod yourself - read on
Also - I should put out the disclaimer that I haven't tested these... so tread cautiously and make a backup before flashing!
Let me know if there are any issues.
[size=+1]How to do my particular twist on the data icon mod[/size]
Alright, first off this is NOT the only way to do things - it just happens to be the way I did it. This does not make it better/worse than other approaches - do what works for you. For example, if you are comfortable using apktool or one of the front-end ui interfaces for apktool like apkmultitool or the like - great, you will be fine (just decompile and recompile the entirety of SystemUI.apk).
That being said - if you are following this a bit closer to what I've laid out you will need a few things up front for this guide to be of any use. Again - there are several ways/methods/tools that can be used to go about this process - what follows is just what I tend to use.
Ok, so this guide uses/requires the following:
Ability to use baksmali/smali
WHAT I USE:
- I have to use a Windows environment for work, so for better or worse I tend to stay there. To emulate the land o' linux, I use CygWin - there are better methods/tools I am sure, but this is the one I use based on previous non-android exposure to it.
- I also use the baksmali-1.4.2.jar and smali-1.4.2.jar (off-topic: looks like some nice changes in store for the 2.0 beta ) from here.
NOTE: To use the jars above you need to have java installed, though I believe you can use the "standard" java that is often already on a machine.
Ability to extract/replace files within an apk
WHAT I USE:
- Really this is just a fancy way of saying you need some sort of archiving utility to extract/replace the classes.dex you will pull from SystemUI.apk. I tend to use JZip or 7zip myself.
Ability to view/edit text files
WHAT I USE:
- Notepad++ is awesome. That is all.
Ok - now for the fun stuff
First you will need the SystemUI.apk (located in /system/app) for whatever UVBMB4-base rom you are using. Once you have that - open up the apk and pull out the classes.dex. To avoid any sorts of path issues, make a directory wherever and drop the classes.dex and the two .jars (baksmali and smali) into it. Now fire up CygWin and cd yourself to the directory where all that now resides.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once there, do this:
Code:
java -jar baksmali-1.4.2.jar -a 16 -o /Path/to/the/directory/outSysUI/ classes.dex
This is basically saying "use this baksmali jar file and decompile this android 4.1.x classes.dex file and dump the output/decompiled stuff into the /Path/to/the/directory/outSysUI/ directory." You will of course need to edit things depending on where that directory (the one w/ classes.dex and the 2 jars) is.
There should now be a folder called outSysUI in the directory - go to it and then go to /com/android/systemui/statusbar/policy and open NetworkController.smali.
Ok, before getting into the code part of what I did, I thought I would offer a little background that explains my thinking behind getting this working.
In the NetworkController.smali I noticed there were a bunch of update...DataNetType()V methods, so I traced their calls back to a method called getUpdateDataNetType()V. It was there I saw that the method basically tests what network you are on, and based on that it calls a method that then uses/calls the appropriate icons to display. Given that, I looked around for an update...DataNetType()V sort of method that used the H (referenced as DATA_H here) icons, and while there were a few the method I really landed on was the updateDataNetType()V method. This appeared to be a general sort of call when no other carrier was detected (felt "AOSP"-ish), and more importantly it had the H icon references in it. I then looked at the TMobile one (updateTMoDataNetType()V) to see how it was structured, and noticed it was a wee bit simplified as far as some of the checks that were done compared to the more general method I was looking at - I also paid particular attention to the bits that call up the LTE relevant icons in the TMo-based method.
I decided to copy the general method to use as a base, and then trimmed out some of the unneeded calls based on their absense from the TMo-based method. I then edited/worked in the LTE icon calls (changing a DATA_ call and some resource ids at the appropriate pswitch location) from the TMo method to make a new method. That last part was a little tricky, but I just compared the pswtich calls at the end of both methods to figure out where the LTE call was in the TMo method and where it should go in the new method.
If interested in taking a crack at crafting it on your own - have at it! Make sure to pay special attention to how the TMo method calls the lte icons (there are some resource id calls that need to be transferred over You can always use the below for reference as well!
Below is the method I cobbled together. Paste it in it's entirety right above this line:
Code:
.method private final updateTMODataNetType()V
New method:
Code:
.method private final updateAccTMODataNetType()V
.registers 8
.prologue
const v6, 0x7f0200a3
const v5, 0x7f020096
const/4 v4, 0x0
const v3, 0x7f0a0069
const v2, 0x7f020097
.line 1423
iget v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataNetType:I
packed-switch v0, :pswitch_data_12c
:goto_12
return-void
.line 1528
:pswitch_13
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_G:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1530
const v0, 0x7f0200a0
iput v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1531
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a0068
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto :goto_12
.line 1434
:pswitch_2c
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_G:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1436
iput v4, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1437
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a0068
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto :goto_12
.line 1444
:pswitch_42
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_E:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1446
const v0, 0x7f02009f
iput v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1447
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a006d
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto :goto_12
.line 1454
:pswitch_5b
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_3G:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1455
iput v2, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1456
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1462
:pswitch_6f
iget-boolean v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mHspaDataDistinguishable:Z
if-eqz v0, :cond_8d
.line 1463
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_H:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1464
const v0, 0x7f0200a1
iput v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1465
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a006a
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1468
:cond_8d
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_3G:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1469
iput v2, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1470
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1477
:pswitch_a1
iget-boolean v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mHspaDataDistinguishable:Z
if-eqz v0, :cond_bf
.line 1478
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_H_PLUS:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1479
const v0, 0x7f0200a2
iput v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1480
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a006a
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1483
:cond_bf
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_3G:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1484
iput v2, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1485
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1493
:pswitch_d3
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_1X:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1495
iput v5, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1496
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a006c
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1503
:pswitch_ea
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_1X:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1505
iput v5, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1506
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a006c
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1516
:pswitch_101
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_3G:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1517
iput v2, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1518
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1522
:pswitch_115
sget-object v0, Lcom/android/systemui/statusbar/policy/TelephonyIcons;->DATA_LTE:[[I
iget v1, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mInetCondition:I
aget-object v0, v0, v1
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataIconList:[I
.line 1523
iput v6, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mDataTypeIconId:I
.line 1524
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContext:Landroid/content/Context;
const v1, 0x7f0a00b6
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/android/systemui/statusbar/policy/NetworkController;->mContentDescriptionDataType:Ljava/lang/String;
goto/16 :goto_12
.line 1432
:pswitch_data_12c
.packed-switch 0x0
:pswitch_2c
:pswitch_13
:pswitch_42
:pswitch_5b
:pswitch_d3
:pswitch_101
:pswitch_101
:pswitch_ea
:pswitch_6f
:pswitch_6f
:pswitch_6f
:pswitch_13
:pswitch_101
:pswitch_115
:pswitch_101
:pswitch_a1
.end packed-switch
.end method
The last little bit of code editing is to replace the call to the original TMo data icon method with the new one. This call can be found in
Code:
.method private getUpdateDataNetType()V
Just search for
Code:
updateTMODataNetType()V
and replace that call with
Code:
updateAccTMODataNetType()V
(or whatever you end up calling it).
So for a more exact visual:
Instead of
Code:
invoke-direct {p0}, Lcom/android/systemui/statusbar/policy/NetworkController;->updateTMODataNetType()V
it now says
Code:
invoke-direct {p0}, Lcom/android/systemui/statusbar/policy/NetworkController;->updateAccTMODataNetType()V
Now save the NetworkController.smali and return to CygWin. Type the following:
Code:
java -Xmx1024M -jar smali-1.4.2.jar -a 16 outSysUI/ -o classes.dex
This is basically saying "using up to this much memory (1024M), use the smali-1.4.2.jar file to compile the contents of the outSysUI/ directory into a 4.1.x classes.dex file."
You then take that newly compiled classes.dex and drop it back into SystemUI.apk. Then you can push/flash the apk and blammo you are all set
Hope this helps folks
I know I say it often, but there are so many ways to go about this - what I showed was just one way (and it could be convoluted for all I know lol). Also - don't take anything I say as "concrete must-be-true" facts - I am often wrong and if so feel free to (constructively) point it out This is all about learning after all, right?
You the man bro!! Thanks so much for sharing your knowledge.
Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
thank you so much for sharing :good:
Awesome, appreciate your work!
Sent from my SGH-T889 using Tapatalk 4 Beta
As I don't like making edits directly to the various system APKs, here's a version using Xposed.
NOTE: This does NOTHING if you don't have the framework installed. http://forum.xda-developers.com/showthread.php?t=1574401
Install the framework, following the directions in that thread. Once you have that working, install this module. It should give you a notification that the module isn't enabled. Select it, then enable the module and reboot. It seems to be working fine here, but I don't have LTE so there might be issues with that. I do get H, H+, and 3G so far. The code is basically what is in the OP, modified for reflection as required. I'll push the source to my github in a bit. Thanks go to dwitherell, this module is just a port.
This is currently only tested on MB4. It should work on most any TMO ROM. It only overrides the Tmobile specific method, so international ROMs, other carrier ROMs, AOSP, are probably not going to work. Most of those seem to have the "correct" icons anyway. TMobile just likes to call everything faster than Edge "4G". I doubt it will cause any problems in those cases, it will probably just fail to load, not finding the method to override.
If there end up being a lot of questions etc, I'll make a new thread so we don't hijack this one. There's not much to it, so I don't expect much for issues. Please don't post questions about this module to the framework thread I linked above.
ttabbal said:
As I don't like making edits directly to the various system APKs, here's a version using Xposed...
Click to expand...
Click to collapse
Nice job! If for nothing else than to learn something new I should really look into doing little things like this (with "this" referring to what is in the OP) using xposed... It would take some learning though... I feel like I've stumbled upon how-tos on the topic, but @ttabbal if there are particulars you found useful and feel like sharing (with "sharing" being more accurately defined as "supporting my laziness about doing a search at the moment")... feel free to PM me
dwitherell said:
Nice job! If for nothing else than to learn something new I should really look into doing little things like this (with "this" referring to what is in the OP) using xposed... It would take some learning though... I feel like I've stumbled upon how-tos on the topic, but @ttabbal if there are particulars you found useful and feel like sharing (with "sharing" being more accurately defined as "supporting my laziness about doing a search at the moment")... feel free to PM me
Click to expand...
Click to collapse
I totally get being lazy. The code is in my repo now. It's much like the code you posted, the big difference is that you don't have access to the actual member variables and such directly. So you have to access them via Reflection. Using tools like VTS to decompile the classes to java style code helps a lot. Then you just adjust it a little to make reflection calls rather than direct like you do with smali. The biggest thing I like about this stuff over smali edits is that you can add/remove whatever you like as a user without affecting anything else, as mods tend to be self-contained.
https://github.com/travistabbal/XposedMods/tree/master/DataIconsFix
Hope it helps, comparing what I have to what you did should make it pretty clear. For Xposed itself, they provide some nice tutorials for the basic setup to build a module. It's not that much really, just a couple properties in the manifest and a text file in /res.
Ahhhh.... So it was in systemui and not framework-res! Network control Smali huh? I remember that one when I was doing those throttle hacks and from some themeing. It makes sense now. Thanks for the how to! And thanks for mentioning Tweaked ROM. It is so awesome with all the visual options. Tsm parts reminds me of CM6 with all the ui options before the simpler systemui theme apks. Love having the option to change slight things here and there. Feeds my ocd very nicely lol! I ended up pairing it with saber kernel from ptmr (for CPU/GPU OCing UVing, voodoo sound, and Trickster Mod support), for ever loco's AOSP theme (with a few of my own modded/added images for total awesomeness), and a few of my standard system works, init.d scripts, build.prop edits. I don't think I'll ever switch ROMs again until we at least get a stable, solid 4.2.2 ROM I bet international with get one shortly after the Note 3 is released. This baby with keep me happy until then... thanks again for pointing me in the right direction and showing your work on the icon mod! I know you added it on 2.1 but it's nice to know how you got there
---------- Post added at 11:29 PM ---------- Previous post was at 11:22 PM ----------
ttabbal said:
I totally get being lazy. The code is in my repo now. It's much like the code you posted, the big difference is that you don't have access to the actual member variables and such directly. So you have to access them via Reflection. Using tools like VTS to decompile the classes to java style code helps a lot. Then you just adjust it a little to make reflection calls rather than direct like you do with smali. The biggest thing I like about this stuff over smali edits is that you can add/remove whatever you like as a user without affecting anything else, as mods tend to be self-contained.
https://github.com/travistabbal/XposedMods/tree/master/DataIconsFix
Hope it helps, comparing what I have to what you did should make it pretty clear. For Xposed itself, they provide some nice tutorials for the basic setup to build a module. It's not that much really, just a couple properties in the manifest and a text file in /res.
Click to expand...
Click to collapse
Wow! That sounds very useful! Might try it for any future edits. And yeah, xposed modules are too difficult from what I've read also. I just haven't had any good ideas on what to make atm... Might make one soon for the hell of it. I just don't have the time I used to, unfortunately.
I can confirm that the xposed module I posted works properly with LTE.
As it's really just a port of the code dwitherell posted, I don't see any reason his wouldn't.
ttabbal said:
I can confirm that the xposed module I posted works properly with LTE.
As it's really just a port of the code dwitherell posted, I don't see any reason his wouldn't.
Click to expand...
Click to collapse
Yep, I don't think it's official yet but LTE testing has been going on in my area - all good on my end as well Thanks for the xposed feedback!

[MOD][HOW-TO] Fully disable app verification (FOR USER APPS)

Now there are guides out there that will disable signature checking (such as THIS one)
But no guides (as far as I know) show you how to FULLY disable signature checking...including for user apps that have been modified and so had their original signatures broken
Here I will show you how to do just that :good:
Let's get started.
You will need the following:
core.jar from your rom (use core-libart.jar if you are on Lollipop)
services.jar
apktool/baksmali+smali
Click to expand...
Click to collapse
[SIZE=+1]Part 1: Allows installing apps with broken/mismatched signatures [/SIZE]
[SIZE=+1]Modding core.jar (or core-libart.jar if on Lollipop)[/SIZE]
Decompile core.jar and navigate to java/security
Open MessageDigest.smali and find the following method
Code:
.method public static isEqual([B[B)Z
At the beginning you will find code like this:
Code:
const/4 v1, [color=red]0x0[/color]
array-length v2, p0
Change the 0x0 to 0x1 so that it becomes
Code:
const/4 v1, [color=blue]0x1[/color]
array-length v2, p0
Now save and close MessageDigest.smali
In the same directory, open Signature.smali
Find the method
Code:
.method public final verify([B)Z
Find this code at the very end of the method:
Code:
invoke-virtual {p0, p1}, Ljava/security/SignatureSpi;->engineVerify([B)Z
[color=red]move-result v0[/color]
return v0
Change the move-result v0 to the following:
Code:
invoke-virtual {p0, p1}, Ljava/security/SignatureSpi;->engineVerify([B)Z
[color=blue]const/4 v0, 0x1[/color]
return v0
Now find the method
Code:
.method public final verify([BII)Z
Scroll to the end of the method and find this code:
Code:
invoke-virtual {p0, p1, p2, p3}, Ljava/security/SignatureSpi;->engineVerify([BII)Z
[color=red]move-result v0[/color]
return v0
And replace it with this:
Code:
invoke-virtual {p0, p1, p2, p3}, Ljava/security/SignatureSpi;->engineVerify([BII)Z
[color=blue]const/4 v0, 0x1[/color]
return v0
Now save and close Signature.smali
Recompile core.jar (core-libart.jar for Lollipop)
Click to expand...
Click to collapse
[SIZE=+1]Now move on to step 2[/SIZE]
[SIZE=+1]Part 2: Allows installing older versions on top of newer versions[/SIZE]
[SIZE=+1]Modding services.jar[/SIZE]
Decompile services.jar and navigate to com\android\server\pm
Open PackageManagerService$InstallParams.smali and find the following method
Code:
.method private installLocationPolicy(Landroid/content/pm/PackageInfoLite;I)I
Scroll down until you find code that looks like the following
Code:
if-nez v7, :cond_1
iget v7, p1, Landroid/content/pm/PackageInfoLite;->versionCode:I
iget v8, v3, Landroid/content/pm/PackageParser$Package;->mVersionCode:I
[color=red]if-ge v7, v8, :cond_1[/color]
const-string v4, "PackageManager"
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;->()V
const-string v7, "Can\'t install update of "
And change the highlighted part above to this (register numbers may vary, but just make sure that you change it to if-ge vXX, vXX)
Code:
if-nez v7, :cond_1
iget v7, p1, Landroid/content/pm/PackageInfoLite;->versionCode:I
iget v8, v3, Landroid/content/pm/PackageParser$Package;->mVersionCode:I
[color=blue]if-ge v8, v8, :cond_1[/color]
const-string v4, "PackageManager"
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;->()V
const-string v7, "Can\'t install update of "
Recompile services.jar. This is conjunction with disabling signature checking in services.jar (shown here for example) allows you to FULLY disable ALL app verification. Mod away :victory:
Click to expand...
Click to collapse
[SIZE=+1]Note that this mod also lets you install unsigned versions over other current versions, as well as installing older versions on top of newer versions of an app[/SIZE]
Nice man!!!
Thanks,
Chaz187
Sent from my SPH-L900 using Xparent UIS Tapatalk
A1 dude thanks
Sent from my One using Xparent Red Tapatalk 2
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nice. Did your brain explode today from all the genius it possessed? Lol. May give this a try tomorrow. Hangouts update killed me...
[email protected]'$ [email protected]@XY- eliminate white backgrounds and any form of ics/holo blue.
Cnex, you sir, are just awesome!!!!!
Dude you rock man!
Thanks so much for this.
Very nice sir
Sent from my SCH-I545 using Xparent BlueTapatalk 2
Epic guide
Sent from my One X using Tapatalk
Mod updated...accidentally left out the second part :silly:
@tdunham @Chad The Pathfinder...if you guys have already implemented, sorry but add the second part
CNexus said:
Mod updated...accidentally left out the second part :silly:
@tdunham @Chad The Pathfinder...if you guys have already implemented, sorry but add the second part
Click to expand...
Click to collapse
2 parts? This is getting out of hand. Lol
[email protected]'$ [email protected]@XY- eliminate white backgrounds and any form of ics/holo blue.
Thebear j koss said:
2 parts? This is getting out of hand. Lol
[email protected]'$ [email protected]@XY- eliminate white backgrounds and any form of ics/holo blue.
Click to expand...
Click to collapse
Lol but it's an easy edit
This is it though :thumbup:
Thebear j koss said:
2 parts? This is getting out of hand. Lol
[email protected]'$ [email protected]@XY- eliminate white backgrounds and any form of ics/holo blue.
Click to expand...
Click to collapse
my head is ready to explode lol
Thanks a ton, and thanks for the help Cnexus. Works as described.
Great mod man, this is actually pretty great!
Any way to make a flashable zip?
Md4 Rooted Modded....... Flawless
Robalboa said:
Any way to make a flashable zip?
Md4 Rooted Modded....... Flawless
Click to expand...
Click to collapse
Impossible as every ROM has different jar file mods.
[email protected]'$ [email protected]@XY- eliminate white backgrounds and any form of ics/holo blue.
Just updated to TW 4.4.2 and am wondering if this method would help with Google Play Services not playing nicely with some of my TBO themed apps?
Sent from my SPH-L710 using XDA Premium 4 mobile app
marcran75 said:
Just updated to TW 4.4.2 and am wondering if this method would help with Google Play Services not playing nicely with some of my TBO themed apps?
Sent from my SPH-L710 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Nope. It's caused by something in Google itself. Signatures are an easy fix as most of the time original signatures are used. The problem lies between gmail and the new updated Google settings.
[email protected]'$ [email protected]@XY- eliminate white backgrounds and any form of ics/holo blue.
CNexus said:
Mod updated...accidentally left out the second part :silly:
@tdunham @Chad The Pathfinder...if you guys have already implemented, sorry but add the second part
Click to expand...
Click to collapse
Hello Sir i have a problem with lewa rom.
When i try this method http://forum.xda-developers.com/showthread.php?t=1698352
my phone starts to bootloop and as you mentioned in the second part there is no such code that matches in the method
Here is the method
Code:
.method private installLocationPolicy(Landroid/content/pm/PackageInfoLite;I)I
.locals 8
.parameter "pkgLite"
.parameter "flags"
.prologue
const/4 v5, 0x2
const/4 v4, 0x1
.line 5949
iget-object v2, p1, Landroid/content/pm/PackageInfoLite;->packageName:Ljava/lang/String;
.line 5950
.local v2, packageName:Ljava/lang/String;
iget v0, p1, Landroid/content/pm/PackageInfoLite;->installLocation:I
.line 5951
.local v0, installLocation:I
and-int/lit8 v6, p2, 0x8
if-eqz v6, :cond_34
move v1, v4
.line 5953
.local v1, onSd:Z
:goto_b
iget-object v6, p0, Lcom/android/server/pm/PackageManagerService$InstallParams;->this$0:Lcom/android/server/pm/PackageManagerService;
iget-object v6, v6, Lcom/android/server/pm/PackageManagerService;->mPackages:Ljava/util/HashMap;
monitor-enter v6
.line 5954
:try_start_10
iget-object v7, p0, Lcom/android/server/pm/PackageManagerService$InstallParams;->this$0:Lcom/android/server/pm/PackageManagerService;
iget-object v7, v7, Lcom/android/server/pm/PackageManagerService;->mPackages:Ljava/util/HashMap;
invoke-virtual {v7, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/content/pm/PackageParser$Package;
.line 5955
.local v3, pkg:Landroid/content/pm/PackageParser$Package;
if-eqz v3, :cond_46
.line 5956
and-int/lit8 v7, p2, 0x2
if-eqz v7, :cond_56
.line 5958
iget-object v7, v3, Landroid/content/pm/PackageParser$Package;->applicationInfo:Landroid/content/pm/ApplicationInfo;
iget v7, v7, Landroid/content/pm/ApplicationInfo;->flags:I
and-int/lit8 v7, v7, 0x1
if-eqz v7, :cond_3b
.line 5959
if-eqz v1, :cond_36
.line 5960
const-string v4, "PackageManager"
const-string v5, "Cannot install update to system app on sdcard"
invoke-static {v4, v5}, Landroid/util/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I
.line 5961
const/4 v4, -0x3
monitor-exit v6
.line 5994
:goto_33
return v4
.line 5951
.end local v1 #onSd:Z
.end local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:cond_34
const/4 v1, 0x0
goto :goto_b
.line 5963
.restart local v1 #onSd:Z
.restart local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:cond_36
monitor-exit v6
goto :goto_33
.line 5988
.end local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:catchall_38
move-exception v4
monitor-exit v6
:try_end_3a
.catchall {:try_start_10 .. :try_end_3a} :catchall_38
throw v4
.line 5965
.restart local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:cond_3b
if-eqz v1, :cond_40
.line 5967
:try_start_3d
monitor-exit v6
move v4, v5
goto :goto_33
.line 5970
:cond_40
if-ne v0, v4, :cond_44
.line 5972
monitor-exit v6
goto :goto_33
.line 5973
:cond_44
if-ne v0, v5, :cond_4b
.line 5988
:cond_46
monitor-exit v6
.line 5991
if-eqz v1, :cond_59
move v4, v5
.line 5992
goto :goto_33
.line 5977
:cond_4b
#calls: Lcom/android/server/pm/PackageManagerService;->isExternal(Landroid/content/pm/PackageParser$Package;)Z
invoke-static {v3}, Lcom/android/server/pm/PackageManagerService;->access$2000(Landroid/content/pm/PackageParser$Package;)Z
move-result v7
if-eqz v7, :cond_54
.line 5978
monitor-exit v6
move v4, v5
goto :goto_33
.line 5980
:cond_54
monitor-exit v6
goto :goto_33
.line 5985
:cond_56
const/4 v4, -0x4
monitor-exit v6
:try_end_58
.catchall {:try_start_3d .. :try_end_58} :catchall_38
goto :goto_33
.line 5994
:cond_59
iget v4, p1, Landroid/content/pm/PackageInfoLite;->recommendedInstallLocation:I
goto :goto_33
.end method
I dont know how to take logcat when phone is bootlooping so i am sorry for that but i hope that you can help me.

[XT1033][STOCK] Imaged battery moto g

IMAGED BATTERYMOD
MOTO G XT1033 ASIA
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BATTERY BLUE WHITE TEXT
GLOWING BATTERY
I have created the base ..
now its your turn to mod and come up with different battery mods
always give credits
PRESS THANKS IF YOU LIKED MY WORK
HOW THINGS WORK
ADAPTED FROM ORIGINAL POST
I basically used files from Android 4.3 to make Image theme on Stock XT1033.
I have modded PhoneStatusBar.smali.
used BatteryController.smali from Android4.3.
msim_status_bar.xml for imageview of @id/battery
AREA OF INTEREST :
PhoneStatusBar.smali line no : 8520
Code:
.line 1190
new-instance v0, Lcom/android/systemui/statusbar/policy/BatteryController;
iget-object v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;
invoke-direct {v0, v2}, Lcom/android/systemui/statusbar/policy/BatteryController;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryController:Lcom/android/systemui/statusbar/policy/BatteryController;
[color=red]iget-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryController:Lcom/android/systemui/statusbar/policy/BatteryController;
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
const v4, 0x7f07002d
invoke-virtual {v0, v4}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
invoke-virtual {v3, v0}, Lcom/android/systemui/statusbar/policy/BatteryController;->addIconView(Landroid/widget/ImageView;)V[/color]
.line 1194
iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mIsMultiSimEnabled:Z
if-eqz v0, :cond_3e
.line 1195
new-instance v0, Lcom/android/systemui/statusbar/policy/MSimNetworkController;
IMPORTANT FILES :
ORIGINAL PHONESTATUSBAR.SMALI
​
BASED ON THE BEAUTIFUL WORKS OF MASTER @Ticklefish
And thanks to the guy who sent me SystemUI from JB4.3 !!
sidharth.gtm said:
THIS IS HALF BAKED ONLY FOR DEVELOPMENT (REGULAR USER PLZ DONT DOWNLOAD)
I basically used files from Android 4.3 to make Image theme on Stock XT1033.
I have modded PhoneStatusBar.smali.
used BatteryController.smali from Android4.3.
End Result :
some how this mod does not shows network icons
FILES : IMAGED BATTERY
AREA OF INTEREST :
PhoneStatusBar.smali line no : 8520
Code:
.line 1190
new-instance v0, Lcom/android/systemui/statusbar/policy/BatteryController;
iget-object v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;
invoke-direct {v0, v2}, Lcom/android/systemui/statusbar/policy/BatteryController;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryController:Lcom/android/systemui/statusbar/policy/BatteryController;
[color=red]iget-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryController:Lcom/android/systemui/statusbar/policy/BatteryController;
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
const v6, 0x7f07002d
invoke-virtual {v0, v6}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
invoke-virtual {v3, v0}, Lcom/android/systemui/statusbar/policy/BatteryController;->addIconView(Landroid/widget/ImageView;)V[/color]
.line 1194
iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mIsMultiSimEnabled:Z
if-eqz v0, :cond_3e
.line 1195
new-instance v0, Lcom/android/systemui/statusbar/policy/MSimNetworkController;
Removing red lines and compiling again bring backs the Network icon (Signal Cluster)
IMPORTANT FILES :
ORIGINAL PHONESTATUSBAR.SMALI
MODIFIED PHONESTATUSBAR.SMALI
Click to expand...
Click to collapse
Hmm..smali. Yuck.
I'll be honest, I don't know what's caused this. My understanding of smali is only about 10% or so.
But I can make a suggestion. If removing the red lines solves the issue, it's worth finding out if you actually need to remove all of them.
So remove the first red line, recompile, see what happens. If you get a FC or your statusbar goes wrong, remove the second line instead, recompile and see what happens then.
Tedious but that way you can narrow down precisely which bits of code are causing your signal icons to vanish. Then you'll be that bit closer fo working out what to do about it.
@sidharth.gtm
try do not delete red lines and do some changes:
#if-eqz v0, :cond_3e
see what happend
S0bes said:
@sidharth.gtm
try do not delete red lines and do some changes:
#if-eqz v0, :cond_3e
see what happend
Click to expand...
Click to collapse
Did not help !
Ticklefish said:
Hmm..smali. Yuck.
I'll be honest, I don't know what's caused this. My understanding of smali is only about 10% or so.
But I can make a suggestion. If removing the red lines solves the issue, it's worth finding out if you actually need to remove all of them.
So remove the first red line, recompile, see what happens. If you get a FC or your statusbar goes wrong, remove the second line instead, recompile and see what happens then.
Tedious but that way you can narrow down precisely which bits of code are causing your signal icons to vanish. Then you'll be that bit closer fo working out what to do about it.
Click to expand...
Click to collapse
Thanks Sir !
I was finally able to make this mod working !
Thanks for your support !!
nice job mate :good: , was waiting for this ever since i got moto g , now i can mod battery icon to xperia z2
sidharth.gtm said:
Thanks Sir !
I was finally able to make this mod working !
Thanks for your support !!
Click to expand...
Click to collapse
Anytime
Which line(s) did you end up removing?
Sent from my C6603 using Tapatalk
Ticklefish said:
Anytime
Which line(s) did you end up removing?
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Sir ,
i changed
Code:
const v6, 0x7f07002d
invoke-virtual {v0, v6}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->fin
move-result-object v0
TO
Code:
const v4, 0x7f07002d
invoke-virtual {v0, v4}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->fin
move-result-object v0
Frankly speaking sir , i dont come from programming background.. everything i have learnt here is from you and your guides ..
sidharth.gtm said:
....
Click to expand...
Click to collapse
awesome work bro can u add speed to the statusbar to this mod? and upload the systemui i like the speed thing.
sidharth.gtm said:
Sir ,
i changed
Code:
const v6, 0x7f07002d
invoke-virtual {v0, v6}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->fin
move-result-object v0
TO
Code:
const v4, 0x7f07002d
invoke-virtual {v0, v4}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->fin
move-result-object v0
Frankly speaking sir , i dont come from programming background.. everything i have learnt here is from you and your guides ..
Click to expand...
Click to collapse
Interesting, I wonder why that worked...hmm...
I did study software engineering but that was a long time ago and I'm a bit out of date. Smali still puzzles me..lol
Good to see you got it working, I'm going to have to try this on the Sony Xperia KK rom. That's got a partial xml solution, because Sony did things a little differently, but it'd be nice to get it working fully.
Guess I'll be learning from you.
Oh, and you need to edit the op. It's still asking about the signal cluster..
moded to xperia z2 icons
XT-107 said:
moded to xperia z2 icons
Click to expand...
Click to collapse
Thats awesome .. plz share pngs
sidharth.gtm said:
Thats awesome .. plz share pngs
Click to expand...
Click to collapse
here
took so much time to rename/edit .
XT-107 said:
here
took so much time to rename/edit .
Click to expand...
Click to collapse
i will integrate it to Og battery mod
no need to edit and rename
sidharth.gtm said:
i will integrate it to Og battery mod
no need to edit and rename
Click to expand...
Click to collapse
nice , but that zip has every icon , signal/wifi/navbar/battery icons .
Not compatible with 4.4.4
getting system.ui force close issue.
i try to port this mod in 4.4.4 as you said where you did changes i did the same but i end up with systemui force close. can you suggest me how can i port this. please i need this mod ):
w arun kumar said:
i try to port this mod in 4.4.4 as you said where you did changes i did the same but i end up with systemui force close. can you suggest me how can i port this. please i need this mod ):
Click to expand...
Click to collapse
Gravity box supports battery icon change now similar to cm11 feature. No need to mod this anymore
Sent from XT1033 India

Categories

Resources