Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,599 Members 38,348 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
dhiru1602
Old
(Last edited by dhiru1602; 7th June 2011 at 04:20 AM.)
#1  
dhiru1602's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 11,549
Posts: 1,643
Join Date: Aug 2010

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

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.
The Following 106 Users Say Thank You to dhiru1602 For This Useful Post: [ Click to Expand ]
 
KyojinKun
Old
#2  
KyojinKun's Avatar
Member
Thanks Meter 67
Posts: 48
Join Date: Aug 2010
Hum, thanks a lot! I was on that for weeks now, but never could make it usable. Good Job!
 
mariotme
Old
#3  
mariotme's Avatar
Senior Member
Thanks Meter 370
Posts: 2,029
Join Date: Feb 2011
Location: Amman
Superb job!!!! Working nicely :)

Sent from my GT-I9000 using XDA App
 
xan
Old
#4  
xan's Avatar
Recognized Developer
Thanks Meter 456
Posts: 1,399
Join Date: May 2006
Location: Crack-ow

 
DONATE TO ME
Does this work for the browser?
(Guess not, because it has its 'own' scrolling algo... Doesnt hurt to ask though )
Feeling like translating something? here you go
Voltage Control Lite/Extreme 4.9.8 *Siyah support + Profiles + Widget + CPU history*: -> Take control of your OC/UV for Galaxy S OC kernels. Android Market / YAAM
ExTweaks / ExTweaks Plus 0.20 *Universal Tweaks Interface frontend for Siyah kernel*

14apr: [Froyo]Insane OC/UV kernel K13E
What is your OC result?
 
dhiru1602
Old
(Last edited by dhiru1602; 8th April 2011 at 11:46 PM.)
#5  
dhiru1602's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 11,549
Posts: 1,643
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by xan View Post
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.
The Following User Says Thank You to dhiru1602 For This Useful Post: [ Click to Expand ]
 
Jobiza
Old
#6  
Jobiza's Avatar
Senior Member
Thanks Meter 59
Posts: 428
Join Date: Oct 2010
Amazing! Thank you man!

Sent from my GT-I9000 using XDA Premium App
 
jenicekk
Old
#7  
jenicekk's Avatar
Senior Member
Thanks Meter 185
Posts: 249
Join Date: 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.
 
dhiru1602
Old
#8  
dhiru1602's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 11,549
Posts: 1,643
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by jenicekk View Post
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: [ Click to Expand ]
 
secreetadm
Old
#9  
secreetadm's Avatar
Senior Member
Thanks Meter 9
Posts: 137
Join Date: Nov 2010

 
DONATE TO ME
Good job.. Ill try soon..

---
SGS I9000 • XXJVK • Juwe's 3.1
my gadget spesification's

  • SGT-P6800
  • DXKL3 Firmware + DXKL3 Modem
  • 2.6.36 DXKL3 Rooted Kernel
  • Standard Samsung ROM + TouchWiz Launcher
  • PowerAMP


my gadget metamorph
 
racerboy3801
Old
#10  
racerboy3801's Avatar
Senior Member
Thanks Meter 185
Posts: 1,514
Join Date: Aug 2010
WOW!
thankyou so much, will implement this in lucid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes