Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,470 Members 41,522 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] H+ Icon for HSPA+ and HSPAP network for Android 4.2.2

Tip us?
 
rollon76
Old
(Last edited by rollon76; 12th February 2014 at 05:50 AM.)
#1  
Member - OP
Thanks Meter 122
Posts: 90
Join Date: Apr 2011
Location: Moscow
Default [MOD] H+ Icon for HSPA+ and HSPAP network for Android 4.2.2

Im separated icons for HSDPA and HSPA+ networks
Now it shown H or H+ in status bar according to the network types
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-02-11-23-54-58.png
Views:	413
Size:	34.9 KB
ID:	2573674   Click image for larger version

Name:	Screenshot_2014-02-11-23-58-29.png
Views:	326
Size:	19.9 KB
ID:	2574614  
Attached Files
File Type: apk SystemUI.apk - [Click for QR Code] (5.15 MB, 110 views)
The Following 4 Users Say Thank You to rollon76 For This Useful Post: [ Click to Expand ]
 
old.splatterhand
Old
#2  
old.splatterhand's Avatar
Recognized Contributor
Thanks Meter 1,595
Posts: 2,653
Join Date: Nov 2010
Location: Saturn III

 
DONATE TO ME
Quote:
Originally Posted by rollon76 View Post
Im separated icons for HSDPA and HSPA+ networks
Now it shown H or H+ in status bar according to the network types
Can you share with us, which files you have edited to get it work?
Main Devices:


- HTC One (M8)
S-Off | Insert Coin | ElementalX | TWRP

- HTC One SV
Index Thread: Search and find all what belongs to HTC One SV

Other devices: HTC Desire S | Asus TF 101 | HTC HD mini
 
rollon76
Old
(Last edited by rollon76; 12th February 2014 at 07:28 PM.)
#3  
Member - OP
Thanks Meter 122
Posts: 90
Join Date: Apr 2011
Location: Moscow
Quote:
Originally Posted by old.splatterhand View Post
Can you share with us, which files you have edited to get it work?
Many.Its a animated icons

Replace in \SystemUI\smali\com\android\systemui\statusbar\pol icy\HtcGenericNetworkController.smali

.line 1507
:cond_44
sget-object v0, Lcom/android/systemui/statusbar/policy/HtcTelephonyIcons;->HTC_DATA_H:[I
to
sget-object v0, Lcom/android/systemui/statusbar/policy/HtcTelephonyIcons;->HTC_DATA_HPLUS:[I
then copy png and xml files from zip and recompile
Attached Files
File Type: zip SystemUI_H+_Icon.zip - [Click for QR Code] (54.8 KB, 52 views)
The Following User Says Thank You to rollon76 For This Useful Post: [ Click to Expand ]
 
old.splatterhand
Old
#4  
old.splatterhand's Avatar
Recognized Contributor
Thanks Meter 1,595
Posts: 2,653
Join Date: Nov 2010
Location: Saturn III

 
DONATE TO ME
I mean only the H+ Icon, not the others (animated).
So, it is more than on 4.1.2...
Main Devices:


- HTC One (M8)
S-Off | Insert Coin | ElementalX | TWRP

- HTC One SV
Index Thread: Search and find all what belongs to HTC One SV

Other devices: HTC Desire S | Asus TF 101 | HTC HD mini
 
dmonium
Old
#5  
dmonium's Avatar
Senior Member
Thanks Meter 156
Posts: 217
Join Date: Dec 2007
Location: Ambato

 
DONATE TO ME
Default H+ Icon for HSPA+ and HSPAP network for Android 4.4.2 for HTC ONE

H+ Icon for HSPA+ and HSPAP network for Android 4.4.2 for HTC ONE (tested ViperOne 6.2.1 1.54.401.5)



How to:
First make a backup
1. Decompile your SystemUI.apk
2. Navigate to smali/com/android/systemui/statusbar/policy/HtcGenericNetworkController.smali
3. Find the method .method private final updateDataNetType()V
4. Find the smali code (Line 5497)

if-nez v29, :cond_25
sget-object v29, Lcom/android/systemui/statusbar/policy/HtcIcons;->HTC_DATA_H:[I


5. Replace HTC_DATA_H by HTC_DATA_HPLUS

if-nez v29, :cond_25
sget-object v29, Lcom/android/systemui/statusbar/policy/HtcIcons;->HTC_DATA_HPLUS:[I


6. Recompile the file and replace in the phone
7. Enjoy it
8. Click thanks button

9.
Quote:
Originally Posted by rollon76
Credits to rollon76 by the Idea
ζΦ®d Đα®k ĐmΦηiμm.ςΦm

HTC One - 801s 64GB Black
ROM = ViperOne 7.0.1 with spanish translation and more features DEVELOPED by myself
Base: 6.09.401.5
Android: 4.4.3
Sense: 6



HTC One X STOCK DEODEX Base 4.19.707.3
----DISCONTINUED
HTC Wildfire S EQDKP 5.0 Sense 3.5 - GB2.3.5 & Dmonium ONE RING LockScreen
HTC Wildfire DK Custom Froyo V4.7
HTC Touch HD Energy™ 6.5 & Dmonium Windows 7 Theme
HTC Touch P3450
The Following User Says Thank You to dmonium For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes