FORUMS

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

116 posts
Thanks Meter: 132
 
By rollon76, Senior Member on 11th February 2014, 08:15 PM
Post Reply Subscribe to Thread Email Thread
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:	674
Size:	34.9 KB
ID:	2573674   Click image for larger version

Name:	Screenshot_2014-02-11-23-58-29.png
Views:	585
Size:	19.9 KB
ID:	2574614  
Attached Files
File Type: apk SystemUI.apk - [Click for QR Code] (5.15 MB, 385 views)
Last edited by rollon76; 12th February 2014 at 05:50 AM.
The Following 4 Users Say Thank You to rollon76 For This Useful Post: [ View ]
 
 
12th February 2014, 06:04 PM |#2  
old.splatterhand's Avatar
Recognized Contributor
Flag Saturn III
Thanks Meter: 1,796
 
Donate to Me
More
Quote:
Originally Posted by rollon76

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?
12th February 2014, 07:12 PM |#3  
OP Senior Member
Flag Moscow
Thanks Meter: 132
 
More
Quote:
Originally Posted by old.splatterhand

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, 178 views)
Last edited by rollon76; 12th February 2014 at 07:28 PM.
The Following User Says Thank You to rollon76 For This Useful Post: [ View ]
12th February 2014, 07:24 PM |#4  
old.splatterhand's Avatar
Recognized Contributor
Flag Saturn III
Thanks Meter: 1,796
 
Donate to Me
More
I mean only the H+ Icon, not the others (animated).
So, it is more than on 4.1.2...
14th May 2014, 05:16 PM |#5  
dmonium's Avatar
Senior Member
Flag Ambato
Thanks Meter: 219
 
Donate to Me
More
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

The Following User Says Thank You to dmonium For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes