[Samsung Galaxy Nexus] 00McD00:
​

Here is a compilation of many mods which I have been using for myself which I thought the community might be interested in. Please bare in mind that I am not the original creator of many of these and credits follow below. I am merely collecting them all together so they are handy for those who want them.

Of course I am open to new/not included ones, so please post and alert me to them and I will update as regularly as possible. Enjoy!

THANKS TO

:

-Jjdoctor (XDA)

-CrushedD (RootzWiki)

-Snow02 (RootzWiki)

-PvyParts (XDA)

-ArrTooDeeToo (RootzWiki)

-He_stheone64 (XDA)

-Fergie716 (XDA)

-Altimax98 (RootzWiki)

Volume-rocker screen-wake

-decompile android.policy.jar and open KeyguardViewMediator.smali

-search for "WakeKeyWhenKeyguard"

-scroll down a bit and delete the two lines that start with "0x18" and "0x19"

-save and recompile

Faster soft-key UI

-decompile SystemUI.apk and navigate to smali>statusbar>policy and open KeyButtonView.smali

-search for "setDuration(J)" and there should be two instances

-in first instance find the line above it, starting with "const-wide/16 v1", change to "0x28" for medium fast or "0x0" for instant

-in second instance find the same line and change to "0x80" for medium or "0x0" for instant

-save and recompile

Get framework-res.apk to recompile

*this is hella time consuming, but gotta do what you gotta do*

-decompile framework-res.apk and then recompile without making any changes

-take note of every values folder which a plurals file gives an error from

-now navigate to each of those specific values folders and open the plurals.xml

-find line 79 (using Notes++) and add a 2nd "%" to the second "%d" so it looks like this: <item quantity="other">%d of %%d</item>

-save each one and recompile when all completed

Change carrier label (both notification pulldown and lockscreen)

-decompile framework-res.apk and navigate to res>XML>eri.xml

-search for line starting with "64 Verizon Wireless"

-change the "Verizon Wireless" to anything you want, max 16 characters

-it must be 16 characters, so fill in missing characters with spaces on either side

--Example: " Galaxy Nexus " needs 2 spaces on either side to be correct

-save and recompile

Adding MIUI battery bar and remove stock battery

-decompile SystemUI.apk and navigate to res>layout>status_bar.xml

-add this line to the bottom:

<com.android.systemui.statusbar.BatteryBar android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="1.0px" />

-should look like this:

</LinearLayout>
<com.android.systemui.statusbar.BatteryBar android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="1.0px" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>

-now, in the same file, find the line starting with "<ImageView android:id="@id/battery"" and add "android:visibility="gone"" to the end of it

-now navigate to smali>com>android>systemui>statusbar and drop the 3 smali files in there from the attached zip from folder named "MIUI Battery Bar"

-save everything and recompile

-download the BatterBarSettings.zip, extract the apk, and install as you would any other apk to enable and customize the battery bar

Replace "recents" with "search" and add long-press recents to home button and long-press voice search to search button

-decompile SystemUI.apk and navigate to res>layout>navigation_bar.xml

-search for "android:id="@id/recent_apps"" should be 2 instances

-for first instance, replace entire line with:

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="80.0dip" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_search" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:keyCode="84" systemui:glowBackground="@drawable/ic_sysbar_highlight" />

-for second instance, replace entire line with:

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_search_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:keyCode="84" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />

-now search for "android:id="@id/home"" should be two instances, in both find and delete "systemui:keyRepeat="false""

-now navigate to res>values>public.xml

-search for "ic_sysbar_recent" change to "ic_sysbar_search" and right below it change "ic_sysbar_recent_land" to "ic_sysbar_search_land"

-finally find some icons you want and replace them in res>drawable-xhdpi and you can delete the recents ones too

-save everything and recompile

Center lockscreen slider and clock

-decompile framework-res.apk and navigate to res>layout

-drop in the two files from the attached zip from folder named "Center Lockscreen" overwriting old ones

-recompile

1% battery increments

-decompile SystemUI.apk and navigate to res>drawables

-drop in the two files from the attached zip from folder named "Percent Battery" overwriting old ones

-now find whatever battery images you want and place them in res>drawable-xhdpi

-recompile

Change color of statusbar clock and date

-decompile SystemUI.apk and navigate to res>values>styles.xml

-for clock, search for "

TextAppearance.StatusBar.Clock" and date search for "

TextAppearance.StatusBar.Date"

-under each, find the line starting with "

android:textColor" and change the hex value to whatever you want

--example, "fffffff" would be white

-save and recompile

Change color of soft-key background

-decompile SystemUI.apk and navigate to res>layout>navigation_bar.xml

-find the line that starts with "<com.android.systemui.statusbar.phone.NavigationBarView" (should be second one)

-fine "android:background="#ff000000" and change the hex color to whatever you want

--example, "ffffffff" would be white

-save and recompile

Launcher2 modifications

-I'm not actually going to type all of this out because a fantastic guide has already been put together to hide the search bar, increase number of rows, and increase/decrease number of screens. It can be found HERE.