Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP rollon76

11th February 2014, 09:15 PM   |  #1  
OP Senior Member
Flag Moscow
Thanks Meter: 128
 
107 posts
Join Date:Joined: Apr 2011
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:	530
Size:	34.9 KB
ID:	2573674   Click image for larger version

Name:	Screenshot_2014-02-11-23-58-29.png
Views:	433
Size:	19.9 KB
ID:	2574614  
Attached Files
File Type: apk SystemUI.apk - [Click for QR Code] (5.15 MB, 207 views)
Last edited by rollon76; 12th February 2014 at 06:50 AM.
The Following 4 Users Say Thank You to rollon76 For This Useful Post: [ View ]
12th February 2014, 07:04 PM   |  #2  
old.splatterhand's Avatar
Recognized Contributor
Flag Saturn III
Thanks Meter: 1,685
 
2,833 posts
Join Date:Joined: Nov 2010
Donate to Me
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, 08:12 PM   |  #3  
OP Senior Member
Flag Moscow
Thanks Meter: 128
 
107 posts
Join Date:Joined: Apr 2011
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, 94 views)
Last edited by rollon76; 12th February 2014 at 08:28 PM.
The Following User Says Thank You to rollon76 For This Useful Post: [ View ]
12th February 2014, 08:24 PM   |  #4  
old.splatterhand's Avatar
Recognized Contributor
Flag Saturn III
Thanks Meter: 1,685
 
2,833 posts
Join Date:Joined: Nov 2010
Donate to Me
I mean only the H+ Icon, not the others (animated).
So, it is more than on 4.1.2...
14th May 2014, 06:16 PM   |  #5  
dmonium's Avatar
Senior Member
Flag Ambato
Thanks Meter: 157
 
226 posts
Join Date:Joined: Dec 2007
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