FIX H+ Icon for HSPA+ and HSPAP network for Android 4.4.2 for HTC ONE
(tested ViperOne 6.2.1 1.54.401.5)
{
"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"
}
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.
rollon76 said:
Credits to rollon76 by the Idea
Click to expand...
Click to collapse
Original post http://forum.xda-developers.com/showthread.php?p=52653329
Related
You may want to clear the battery fully charged notification when phone is on dock, or it doesn't go away even if unplugged. This mod fixes these.
NOTE: I didn't remove the notification, because I think it a better solution to leave the user this option rather than completely removing it.
* baksmali classes.dex in SystemUI.apk
* open com\android\systemui\statusbar\policy\StatusBarPolicy.smali
* search for "iget v3, v2, Landroid/app/Notification;->flags:I" at around line 1824
* remove the following 3 lines:
iget v3, v2, Landroid/app/Notification;->flags:I
or-int/lit8 v3, v3, 0x2
iput v3, v2, Landroid/app/Notification;->flags:I
* save, smali, and update apk
Now you know the trick. SystemUI would make the full charge notification as on-going (flags = flags|0x2), and we simply convert it back to default.
{
"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"
}
Feel free to add in your ROM but please give proper credits.
Changing the date format
I own the VZW variant of the phone, but it seems this file is the same with all variants.
This mod will achieve this:
{
"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"
}
Method 1
1. Locate DateView.smali in smali\com\android\systemui\statusbar\policy
2. On line 262 delete
Code:
invoke-static {v0}, Landroid/text/format/DateFormat;->getLongDateFormat(Landroid/content/Context;)Ljava/text/DateFormat;
3. Add
Code:
const-string v4, "EEEE, MMM d, yyyy"
invoke-static {v4, v3}, Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;Ljava/util/Date;)Ljava/lang/CharSequence;
4. I prefer the "Day of week, Month (short), Day (w/o leading 0), Year" format, but you may choose to format it how you wish. Use this to help you with formatting.
Method 2
If you already like the way I've formatted the date. You can simply replace your DateView.smali with mine and compile your SystemUI.
Changing the date format
I own the VZW variant of the phone, but it seems this file is the same with all variants.
This mod will achieve this:
{
"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"
}
Method 1
1. Locate DateView.smali in smali\com\android\systemui\statusbar\policy
2. On line 262 delete
Code:
invoke-static {v0}, Landroid/text/format/DateFormat;->getLongDateFormat(Landroid/content/Context;)Ljava/text/DateFormat;
3. Add
Code:
const-string v4, "EEEE, MMM d, yyyy"
invoke-static {v4, v3}, Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;Ljava/util/Date;)Ljava/lang/CharSequence;
4. I prefer the "Day of week, Month (short), Day (w/o leading 0), Year" format, but you may choose to format it how you wish. Use this to help you with formatting.
Method 2
If you already like the way I've formatted the date. You can simply replace your DateView.smali with mine and compile your SystemUI.
{
"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"
}
XT907 44DPI NAVIGATION BAR
- THREAD CLOSED
DOWNLOAD & INSTALLATION
+STOCK DEODEXED 98.30.1 ONLY
+DOWNLOAD
+COPY THE MOD ZIP TO SDCARD
+BOOT TO RECOVERY
+INSTALL THE MOD ZIP
+WIPE CACHE / DALVIK
+REBOOT
MINI GUIDE
FRAMEWORK-RES / RES / VALUES / DIMENS
Code:
<dimen name="navigation_bar_height">[COLOR="Red"]48.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="red"]48.0dip[/COLOR]</dimen>
CHANGE TO ( OR WHATEVER VALUE YOU WANT )
Code:
<dimen name="navigation_bar_height">[COLOR="red"]44.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="red"]44.0dip[/COLOR]</dimen>
Not to hi-jack your thread, but check out "Xposed Framework". There is a module called "Gravity Box' (and probably a few others) that allow you to do this from a nice GUI. Best thing of all, only "root" is needed.
..........
MULTI-PLATLOGO
BROUGHT TO YOU BY YOU FRIENDS AT
POTATOINC
CREDITS
@ iamareebjamal
PARANOIDANDROID
PACMANROMS
adhi1419
POTATOINC
WHAT IS THIS?
It lets you select your desired Platlogo style
HOW TO USE
Install the app.
DOWNLOAD HERE
Select your desired Platlogo style.
You can taps the Android version in the app to test the Platlogo
or go to device info settings then tap on the Android version.
HOW TO ADD IN YOUR ROM
FOLLOW THE INSTUCTIONS IN THIS AWESOME THREAD.
ALSO PRESS THANKS TO HIM.
Once you edited the PlatLogoActivity.smali
replace
Code:
const-string v3, "iaj.areeb.jellybean"
const-string v4, "iaj.areeb.jellybean.PlatLogoActivity"
with
Code:
const-string v3, "com.potato.multiplatlogo"
const-string v4, "com.potato.multiplatlogo.PlatLogo"
then delete the other smali with PlatLogoActivity in name so
only PlatLogoActivity.smali will left.
SCREENSHOTS
{
"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"
}
TRIED AND TESTED ON PACMAN ROM 4.3