Works with all Gingerbread Firmwares.!!
I know many of you are desperate to have the Overscroll Glow effect for Gingerbread similar to the one in CM7 and stock Gingerbread. I have ported the Functions and Code required for the Overscroll Glow to Gingerbread Stock firmware XXJVK and XWJVB.
Note: Few Touchwiz apps that have "Swipe to Message or Call Feature" will have the default scrolling and this MOD doesn't take effect for such Scroll Lists, since this feature is a part of Touchwiz and not Stock Android. Its hardcoded directly in the APK and they would require appropriate edits which is not a part of this MOD. All the regular Android Scrolling Lists will have Overscroll Glow.
For Developers and Themers
There is an important thing to note. Some Touchwiz applications use calls to inbuilt scrolling functions, hence it is important to preserve the old functions so that scrolling in few TW Apps works fine. I have ported these new Scrolling functions from Nexus S ROM.
1. Extract the Classes.dex from framework.jar (Use a Framework.jar with Extended Menu as a Base)
2. Use baksmali to decode the DEX file to .smali files.
3. Download the ZIP package and extract the files inside android/widget/
4. Use smali to recode the edited .smali files to a DEX file.
5. Use a file manager to add the newly created DEX file to the framework.jar
6. Copy the framework.jar to your device and reboot.
If you are having issues with improper overscroll effect, You might need to change the Resource ID's for the Overscroll PNG Images
AbsListView.smali: (line 10884 and 10892)
.local v2, res:Landroid/content/res/Resources;
const v3, *Resource ID of overscroll_edge.png*
.local v0, edge:Landroid/graphics/drawable/Drawable;
const v3, *Resource ID of overscroll_glow.png*
For Users [DEODEXED XXJVK, XWJVB ROM ONLY]
Download the OverscrollGlow_CWM3 ZIP file and flash with ClockworkMOD.
Wipe Dalvik Cache and Reboot.
Only Compatible with CMW3.
Initial boot will take sometime. So please be patient.
Changing the Glow Color
Change the png's in framework-res.apk.
Odexed version of the MOD has been removed due to freeze issues encountered in some applications after applying the MOD. Strangely enough the the Deodexed version works perfectly. I have decided not to waste anymore time on the Odexed version. I recommend using Stock Deodexed Rom by [Ramad] for applying the MOD.
04162011-Added XWJVB Version built from Stock XWJVB Framework (Tested on Stock Deodexed ROM - Ramad)
04102011-Fixed Force Close issue with Email-Accounts Option
04092011-Fixed Force Close issue with Contacts-Display Options
READ THIS BEFORE YOU USE THIS MOD
Messing with the Framework.jar may make your device unbootable. Proceed with caution and have a backup always. Stop if you don't know what you are doing.
I have made dozens of changes and modifications in the .smali files, hence I am sure there would be some bugs in it. Although I accept no responsibility for your bricked or non functional device, you may post bugs in this topic. I will see to what I can do about it.
You may use this MOD however you like, but please give a credit and hit the THANKS button.