Post Reply

[MOD][PORT][04-16] Android 2.3 Overscroll Glow MOD for Galaxy S I9000 (Gingerbread)

OP dhiru1602

8th April 2011, 11:06 PM   |  #1  
dhiru1602's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 11,718
 
1,674 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Overscroll Glow MOD for Gingerbread Galaxy S I9000

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.

Quote:

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.

Quote:


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)

.line 666
.local v2, res:Landroid/content/res/Resources;
const v3, *Resource ID of overscroll_edge.png*

.line 667
.local v0, edge:Landroid/graphics/drawable/Drawable;
const v3, *Resource ID of overscroll_glow.png*

Quote:

For Users [DEODEXED XXJVK, XWJVB ROM ONLY]

ClockworkMod v3
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.

Quote:

Changing the Glow Color

Change the png's in framework-res.apk.
overscroll_edge.png
overscroll_glow.png

Compatible with Extended Power Menu!



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.

Quote:

Version History:
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

Quote:

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.
Last edited by dhiru1602; 7th June 2011 at 04:20 AM.
The Following 106 Users Say Thank You to dhiru1602 For This Useful Post: [ View ]
8th April 2011, 11:23 PM   |  #2  
KyojinKun's Avatar
Member
Thanks Meter: 67
 
48 posts
Join Date:Joined: Aug 2010
More
Hum, thanks a lot! I was on that for weeks now, but never could make it usable. Good Job!
8th April 2011, 11:30 PM   |  #3  
mariotme's Avatar
Senior Member
Flag Amman
Thanks Meter: 371
 
2,035 posts
Join Date:Joined: Feb 2011
More
Superb job!!!! Working nicely :)

Sent from my GT-I9000 using XDA App
8th April 2011, 11:31 PM   |  #4  
xan's Avatar
Recognized Developer
Flag Crack-ow
Thanks Meter: 456
 
1,399 posts
Join Date:Joined: May 2006
Donate to Me
More
Does this work for the browser?
(Guess not, because it has its 'own' scrolling algo... Doesnt hurt to ask though )
8th April 2011, 11:44 PM   |  #5  
dhiru1602's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 11,718
 
1,674 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by xan

Does this work for the browser?
(Guess not, because it has its 'own' scrolling algo... Doesnt hurt to ask though )

Nope. This MOD is only applicable to Scrolling Lists.
Last edited by dhiru1602; 8th April 2011 at 11:46 PM.
The Following User Says Thank You to dhiru1602 For This Useful Post: [ View ]
9th April 2011, 05:09 AM   |  #6  
Jobiza's Avatar
Senior Member
Thanks Meter: 59
 
428 posts
Join Date:Joined: Oct 2010
More
Amazing! Thank you man!

Sent from my GT-I9000 using XDA Premium App
9th April 2011, 09:23 AM   |  #7  
jenicekk's Avatar
Senior Member
Thanks Meter: 185
 
249 posts
Join Date:Joined: Nov 2010
dont work on DARSKYS v10 RC3 ROM in Contacts, SMS, and Phone DIALER, only works in Settings, but GOOD JOB Thanks very much.
9th April 2011, 09:29 AM   |  #8  
dhiru1602's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 11,718
 
1,674 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by jenicekk

dont work on DARSKYS v10 RC3 ROM in Contacts, SMS, and Phone DIALER, only works in Settings, but GOOD JOB Thanks very much.

I have clearly mentioned that in the OP. The Touchwiz Apps which have "Swipe to Message and Call Option" have the default scrolling, since they are a part of Touchwiz and not Stock Android.
The Following User Says Thank You to dhiru1602 For This Useful Post: [ View ]
9th April 2011, 09:45 AM   |  #9  
secreetadm's Avatar
Senior Member
Thanks Meter: 9
 
137 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Good job.. Ill try soon..

---
SGS I9000 • XXJVK • Juwe's 3.1
9th April 2011, 10:32 AM   |  #10  
racerboy3801's Avatar
Senior Member
Thanks Meter: 185
 
1,514 posts
Join Date:Joined: Aug 2010
More
WOW!
thankyou so much, will implement this in lucid

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes