[Galaxy Tab 2 Themes and Apps] txr33:
I have had some people asking how to get the Samsung Ripple Lockscreen working so I thought I would add a small guide here how to do it so it can be done to any JB Samsung based ROM for both 31XX and 51XX tab 2s as has been tested on both. Tested on 4.1.2 but not on 4.1.1 but should still work for that too. This is the first how to I have done so sorry if it is not very good

Prerequisites

Deodexed Jelly Bean Samsung Based Rom

Apktool

Text Editor eg notepad++

Knowledge how to decompile and build apks and jars

You will need two files from the system/framework of your rom

1.framework-res.apk

2.services.jar

Framework-res.apk Changes

Decompile framework-res.apk

Navigate to folder framework-res/res/values

Open bools.xml in a text editor

look for

<bool name="config_isWaterRippleEnabled">false</bool>

and change to

<bool name="config_isWaterRippleEnabled">true</bool>

That is all for the framework-res.apk so build framework-res and copy across the META-INF folder from your original framework-res.apk to the newly compiled framework-res.apk and that is ready to go.

This will now give you the option in lockscreen settings to select ripple effect but depending on the base your wallpaper may be hidden with ripple effect enabled so to fix that you need to mod services.jar

Services.jar Changes

Download the attached WindowAnimator.zip

Extract WindowAnimator.smali from zip

Decompile services.jar

Navigate to smali/com/android/server/wm

Replace WindowAnimator.smali with the one attached

That is all that is needed for services.jar so build services.jar and it is ready to go

This will make your wallpaper visible when ripple lockscreen is selected.

Put the files in a flashable zip and flash in cwm or twrp recovery, push to system/framework or copy into system/framework which ever you prefer doing, personally I always just flash them in custom recovery so you can use the attached zip and and place your modded files inside and flash if you wish

Note

Same WindowAnimator.smali can be used for both 31XX and 51XX I have used it in both my roms for 31XX and 51XX

Ripple Lockscreen does not work with live wallpaper set as lockscreen wallpaper

This is only for Deodexed Samsung Based Jelly Bean roms

Feel free to include this in your rom just give credits.

How To Have Transparent SystemUI For 31XX

All changes are done to SystemUI.apk so you need to decompile it and apply the following changes below

Open res/layout/twsuperstatusbar.xml

Change this

android:background="#ff000000"

To this

android:background="#00000000"

Then open res/values/drawables.xml

Change this

<item type="drawable" name="status_bar_background">#ff1e1e1e</item>

To this

<item type="drawable" name="status_bar_background">#00000000</item>

This is for full transparent status bar but you can change the colour code in drawables to any shade of transparency or another colour if you want

This is all that is needed to have the status bar show transparent

To have a transparent background for the pull down or to have any picture you like these changes are required.

Open res/layout/twstatusbarexpanded.xml

Change this

android:background="@drawable/notification_panel_bg"

To this

android:background="@drawable/tw_notification_panel_bg"

Download the attached png called tw_notification_panel_bg.png and add it to res/drawable-mdpi

This is all that is needed to make the drop down window transparent or to any picture you like.

If you want other parts set to transparent as well in the dropdown for example the notifications title, where the date is etc you will need to

Open res/layout/twstatusbarexpanded.xml

Look for all

android:background="#colorcode"

Change to this

android:background="#00000000"

If you want to change the quick settings buttons background then you need to edit the png labelled tw_quick_panel_quick_setting_button_bg_normal.9 to a transparent one as well as for the tw_status_bar_close_off.png and tw_status_bar_close_on.png they can be changed to a transparent image as well so you will pretty much have a full transparent SystemUI