webOS Nation Forums >  Homebrew >  webOS patches > [PATCH] Mojo Smooth Scrolling for 2.2.x
[PATCH] Mojo Smooth Scrolling for 2.2.x

  Reply
Like Tree2Likes

 
LinkBack Thread Tools Display Modes
Old 10/28/2011, 10:59 AM   #1 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default [PATCH] Mojo Smooth Scrolling for 2.2.x

After using bright2k's Mojo Smooth Scrolling patch on a 2.1 device, I decided it was time the Pre3 got some of that non-choppy love. Attached is a version for devices running 2.2.x, enjoy

Update: Now available in Preware! Search for 'Mojo Smooth Scrolling'.

Update 2: Now available for Touchpad.
[PATCH] Mojo Smooth Scrolling for 3.x
Attached Files
File Type: patch Mojo Smooth Scrolling.patch (4.4 KB, 25 views) Email Attachment

Last edited by ShiftyAxel; 10/31/2011 at 07:30 AM.
ShiftyAxel is offline   Reply With Quote
Liked by sketch42 and everythingsablur like this.
Old 10/29/2011, 01:56 PM   #2 (permalink)
Member
 
Join Date: Oct 2011
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

THX
Justinsky is offline   Reply With Quote
Old 10/31/2011, 01:34 AM   #3 (permalink)
Member
 
Join Date: Sep 2011
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what are Mojo apps?
PMartinez527 is offline   Reply With Quote
Old 10/31/2011, 07:28 AM   #4 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

Most non-3D apps for webOS phones are made with Mojo, it's the framework that provides UI elements such as buttons, lists, text boxes etc. All the stock apps (Phone, Browser, Calendar, etc.) are Mojo.
__________________
Stuff and Things that I had a hand (or two) in:
WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!)
Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches.

If you like any of the above and are feeling generous, why not ? :]
ShiftyAxel is offline   Reply With Quote
Old 10/31/2011, 08:01 AM   #5 (permalink)
Member
 
Join Date: Oct 2011
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ShiftyAxel View Post
Most non-3D apps for webOS phones are made with Mojo, it's the framework that provides UI elements such as buttons, lists, text boxes etc. All the stock apps (Phone, Browser, Calendar, etc.) are Mojo.
what "snap" are you referring to?
jdmst77 is offline   Reply With Quote
Old 10/31/2011, 08:12 AM   #6 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

Open the Contacts app, then very slowly try to scroll up with your finger. Notice how the list doesn't move for the first few mm or so, and then suddenly 'snaps' to your finger position before beginning to scroll smoothly. That's what this patch eliminates.
__________________
Stuff and Things that I had a hand (or two) in:
WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!)
Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches.

If you like any of the above and are feeling generous, why not ? :]
ShiftyAxel is offline   Reply With Quote
Old 10/31/2011, 08:33 AM   #7 (permalink)
Member
 
Join Date: Oct 2011
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ShiftyAxel View Post
Open the Contacts app, then very slowly try to scroll up with your finger. Notice how the list doesn't move for the first few mm or so, and then suddenly 'snaps' to your finger position before beginning to scroll smoothly. That's what this patch eliminates.
got it, thanks. I'll install and review
jdmst77 is offline   Reply With Quote
Old 10/31/2011, 05:54 PM   #8 (permalink)
Forum Moderator
 
Achill3s's Avatar
 
Join Date: Jul 2009
Posts: 2,999
Likes Received: 59
Thanks: 262
Thanked 539 Times in 392 Posts
Default

No Touchpad support?
__________________
Achill3s' Palm Pre: Modded and patched to death!!
Achill3s is offline   Reply With Quote
Old 10/31/2011, 06:53 PM   #9 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

...Please read the OP. Update 2: Now available for Touchpad.
ShiftyAxel is offline   Reply With Quote
Thanked By: Achill3s
Old 10/31/2011, 08:59 PM   #10 (permalink)
Member
 
Join Date: Apr 2007
Location: in
Posts: 188
Likes Received: 15
Thanks: 72
Thanked 31 Times in 18 Posts
Default

Quote:
Originally Posted by ShiftyAxel View Post
Most non-3D apps for webOS phones are made with Mojo, it's the framework that provides UI elements such as buttons, lists, text boxes etc. All the stock apps (Phone, Browser, Calendar, etc.) are Mojo.
The phone app on the Pre3 has been rewritten using Enyo. Just thought will mention.
sara.ramli is offline   Reply With Quote
Old 11/08/2011, 11:03 PM   #11 (permalink)
Member
 
Join Date: Sep 2011
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

will this patch conflict with Increase Touch Sensitivity & Smoothness patch?
PMartinez527 is offline   Reply With Quote
Old 11/09/2011, 02:15 AM   #12 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

No, they compliment eachother quite well
__________________
Stuff and Things that I had a hand (or two) in:
WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!)
Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches.

If you like any of the above and are feeling generous, why not ? :]
ShiftyAxel is offline   Reply With Quote
Old 11/09/2011, 10:42 PM   #13 (permalink)
Member
 
The Bard's Avatar
 
Join Date: Jul 2007
Location: 泗水 , 印度尼西亚
Posts: 684
Likes Received: 48
Thanks: 137
Thanked 30 Times in 27 Posts
Default

Hi all!

Yesterday I tested Increase Touch Sensitivity & Smoothness patch + Mojo smooth scroll + Mojo FPS booster on my Pre3. Before that I use buttah and no problem at all.

That 3 combo patches really freaks me out! my Pre3 super fluid, and no jitter at all. Browsing much enjoyable. But... I don't know what happen with my Pre3, battery drain much much faster then I just use buttah. In idle state, before I install that 3 combo patches, 1 hour only drain 2%. Now it drain twice to three time faster. Around 5-6%.
I don't know if this is because of these awesome patches. Now I tried to uninstall them, and back to Buttah again, lets see if the battery drain still happened.

Anyone have some problem with me?
The Bard is offline   Reply With Quote
Old 11/10/2011, 06:25 AM   #14 (permalink)
Member
 
checkmate's Avatar
 
Join Date: Mar 2005
Location: Southampton, UK
Posts: 810
Likes Received: 39
Thanks: 16
Thanked 37 Times in 18 Posts
Default

Quote:
Originally Posted by The Bard View Post
Hi all!

Yesterday I tested Increase Touch Sensitivity & Smoothness patch + Mojo smooth scroll + Mojo FPS booster on my Pre3. Before that I use buttah and no problem at all.

That 3 combo patches really freaks me out! my Pre3 super fluid, and no jitter at all. Browsing much enjoyable. But... I don't know what happen with my Pre3, battery drain much much faster then I just use buttah. In idle state, before I install that 3 combo patches, 1 hour only drain 2%. Now it drain twice to three time faster. Around 5-6%.
I don't know if this is because of these awesome patches. Now I tried to uninstall them, and back to Buttah again, lets see if the battery drain still happened.

Anyone have some problem with me?
I've also noticed double the battery drain since installing Mojo Smooth Scrolling. My Pre3 didn't even make it to 20:30 yesterday, whereas it usually has 10-15% left by midnight. I've uninstalled the patch for now to see if it helps - I'll update when I know more.
__________________
HP Pre 3 (UK)
checkmate is offline   Reply With Quote
Old 11/10/2011, 09:29 AM   #15 (permalink)
Member
 
The Bard's Avatar
 
Join Date: Jul 2007
Location: 泗水 , 印度尼西亚
Posts: 684
Likes Received: 48
Thanks: 137
Thanked 30 Times in 27 Posts
Default

Quote:
Originally Posted by checkmate View Post
I've also noticed double the battery drain since installing Mojo Smooth Scrolling. My Pre3 didn't even make it to 20:30 yesterday, whereas it usually has 10-15% left by midnight. I've uninstalled the patch for now to see if it helps - I'll update when I know more.
I uninstall all new 3 patches and back to buttah, now Pre3 back to normal condition. No battery drain fast again.

I'll wait for next better release , keep up the great works!!
The Bard is offline   Reply With Quote
Old 11/10/2011, 04:47 PM   #16 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

I'm afraid there won't be a 'better release', the patch is as good as it's going to get. If you increase the FPS (Mojo FPS Booster, Increase Touch Sensitivity and Smoothness) then the Pre will run faster and consequently draw more power. If you want both smoothness and battery life, i suggest you look into the Screenstate CPU Governor and Undervolting.

Also fyi, Mojo Smooth Scrolling won't increase battery drain, so feel free to keep that one installed.
ShiftyAxel is offline   Reply With Quote
Old 11/10/2011, 07:02 PM   #17 (permalink)
Member
 
checkmate's Avatar
 
Join Date: Mar 2005
Location: Southampton, UK
Posts: 810
Likes Received: 39
Thanks: 16
Thanked 37 Times in 18 Posts
Default

Quote:
Also fyi, Mojo Smooth Scrolling won't increase battery drain, so feel free to keep that one installed.
Actually, that is the only thing I've uninstalled and now I'm back to over 20% battery left at the end of the day. Definitely did something to my Pre3 I'm afraid....
__________________
HP Pre 3 (UK)
checkmate is offline   Reply With Quote
Old 11/10/2011, 11:17 PM   #18 (permalink)
Member
 
The Bard's Avatar
 
Join Date: Jul 2007
Location: 泗水 , 印度尼西亚
Posts: 684
Likes Received: 48
Thanks: 137
Thanked 30 Times in 27 Posts
Default

The problem is battery still drains fast even in idle condition. No card opened.
The Bard is offline   Reply With Quote
Old 11/11/2011, 06:43 AM   #19 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

Here's a breakdown of exactly what those patches do:
Increase Touch Sensitivity and Smoothness
-Reduces Drag Radius
-Increases Drag Event Poll Speed (more events/second, smoother scrolling)
-Increases the LunaSysMgr target FPS to 100, 60 while under stress
-Increase LunaSysMgr's CPU Sharing priority, making the phone focus more on drawing the ui.

Mojo FPS Booster:
-Increases Mojo's target FPS to 60

Mojo Smooth Scrolling:
-Changes Mojo's 'mousedown' (finger down) event from touch.down to touch.move, thus skipping the part of the drag-scroll code that causes the page to 'jump' when your finger leaves the dragRadius.

FPS Booster and Touch Sensitivity both cause the device to attempt to render more frames, whereas Smooth Scrolling modifies a Mojo event that doesn't even fire unless you try to drag scroll. I'm pretty sure that's not what's causing your drain.

Edit: Have you overclocked your Pre, by any chance? The biggest cause of battery hit on mine is the 1.9Ghz Screenstate governor, I've found.
__________________
Stuff and Things that I had a hand (or two) in:
WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!)
Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches.

If you like any of the above and are feeling generous, why not ? :]
ShiftyAxel is offline   Reply With Quote
Thanked by calroth, mafia, Ognen, Ubuntite
Old 11/11/2011, 06:47 AM   #20 (permalink)
Member
 
checkmate's Avatar
 
Join Date: Mar 2005
Location: Southampton, UK
Posts: 810
Likes Received: 39
Thanks: 16
Thanked 37 Times in 18 Posts
Default

I might try installing the Mojo Smooth Scrolling patch again just to test, but as I said, upon removal previously my battery drain issue completely disappeared.
checkmate is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0