[MOD]Webkit browser accelerate

KnekKeR

Senior Member
Jan 8, 2010
71
12
0
I didn't make this, I just found it and put it in a flashable zip.
It was in the meXdroid Pre-Ghost Chili ROM, but for some reason not in the latest AIO version. I think it was also in the CM7 nightlies, but I'm not entirely sure.

Anyway, it just makes the webkit browsers(pretty much all browsers except Opera and Firefox) a little smoother, especially when pinch-zooming in.

I tested this working on CM7 nightly 204 and meXdroid Ghost Chili AIO.
It didn't work on MIUI and Sense ROMS. MIUI hanged at boot and Sense crashed the browser. You can try it if you want though.

Download:
http://www.multiupload.com/P4UCPVX4IY

The .zip flashes 2 files:
system/lib/libwebcore.so
system/lib/libwebkitaccel.so
 

KnekKeR

Senior Member
Jan 8, 2010
71
12
0
It's not smoother than Opera, but it's definitely an improvement.
Zooming out is still a little laggy like normal, and scrolling on large pages(like xda forums expanded view) is still laggy.
I wonder why they removed this from the CM7 nightlys though.
 
  • Like
Reactions: sino8r

shellin

Senior Member
Sep 4, 2010
81
7
0
When I first judged the performance, I was basing my observations on the YT video. Now, I'm running CM7 and using the stock browser.

- the stock browser seemed smoother than Dolphin HD, but yes, not as smooth as Opera. Rendering wasn't perfect on Opera 100% of the time though (the google mobile page comes to mind).
- it was definitely smoother than normal, mostly after the page finished loading. When the page was still loading, scrolling was still fairly choppy. But still definitely recommended for those not on Opera.

Sent from my HTC Vision using XDA App
 
  • Like
Reactions: rezapatel

ChronoReverse

Senior Member
Jun 14, 2010
1,359
247
0
Definitely some difference on CM7. Stability is noticeably lower though.

Still not at Opera's level =/

Vellamo shows that it's now running close to 60fps instead of 30fps

Sent from my HTC Vision
 

LikeaG2root

Senior Member
Apr 23, 2011
1,028
225
0
Orlando,FL
Definitely some difference on CM7. Stability is noticeably lower though.

Still not at Opera's level =/

Vellamo shows that it's now running close to 60fps instead of 30fps

Sent from my HTC Vision
I use stock browser on meXdroidmod ghost chili AIO. It is buttery smooth. Way better than the video posted above. I really can't imagine it being better cause its that smooth.

Sent from my HTC Vision using xda premium
 

KnekKeR

Senior Member
Jan 8, 2010
71
12
0
I actually used meXdroidmod AIO in the video. After I flashed gapps(non modded) it broke the theme.

Also, because all browsers on Android use the same webkit engine, I doubt one is smoother than the other. Because of this, this should work on all those browsers(incl. Dolphin HD).
With the exception of Opera Mobile and Firefox though. Those 2 use their own rendering engine.

Sent from my HTC Vision using XDA App
 
Last edited:
  • Like
Reactions: sino8r

sino8r

Senior Member
Sep 7, 2006
3,551
735
0
Birmingham, Alabama
Works great! They removed it from CM due to stability issues but honestly I rather deal with the occasional crash than slow browsing. For shame on all of you who didn't thank the guy for posting this! Wtf is wrong with you people?! Don't worry! I gave you 5 points to make up for it. Also, it only works on 2.3.4 and above...
 
Last edited:
  • Like
Reactions: KnekKeR

KnekKeR

Senior Member
Jan 8, 2010
71
12
0
Works great! They removed it from CM due to stability issues but honestly I rather deal with the occasional crash than slow browsing. For shame on all of you who didn't thank the guy for posting this! Wtf is wrong with you people?! Don't worry! I gave you 5 points to make up for it. Also, it only works on 2.3.4 and above...
Thanks :)
I haven't noticed any stability issues myself though, but I also rather have a occasional crash than the normal choppy browsing. I always had to use Opera, since the stock browsers were so horribly slow.
Let's hope IceCreamSandwich will be better. The ICS browser will supposedly have full hardware acceleration in the browser.

Also, I just tested this on my sisters' Nexus S, and it worked. Perhaps it works on more devices?
 

sino8r

Senior Member
Sep 7, 2006
3,551
735
0
Birmingham, Alabama
Thanks :)
I haven't noticed any stability issues myself though, but I also rather have a occasional crash than the normal choppy browsing. I always had to use Opera, since the stock browsers were so horribly slow.
Let's hope IceCreamSandwich will be better. The ICS browser will supposedly have full hardware acceleration in the browser.

Also, I just tested this on my sisters' Nexus S, and it worked. Perhaps it works on more devices?
Yeah, it should work for any phone with 2.3.4 and above. The latest CM Nightlies build 220 has a performance option to smooth scrolling in general. Combine with this and its pretty darn smooth. Opera is a great alternative but its rendering can be screwy sometimes. Plus, it always opens pages in overview which drives me nuts, lol! But ICS, we are ALL looking forward to. I was unaware that the browser would have full hardware acceleration. That's awesome! Our devices have a decent GPU and great CPU so we should be set!
 

KnekKeR

Senior Member
Jan 8, 2010
71
12
0
No, it also works on a Nexus S and probably more devices. But I'm not sure if the .zip will work on your device.
If it doesn't, you can just extract the zip and use adb to push "libwebkitaccel.so" and "libwebcore.so" to system/lib/.
 

Tommebaas

Senior Member
Jan 2, 2010
974
127
0
Yeah, it should work for any phone with 2.3.4 and above. The latest CM Nightlies build 220 has a performance option to smooth scrolling in general. Combine with this and its pretty darn smooth. Opera is a great alternative but its rendering can be screwy sometimes. Plus, it always opens pages in overview which drives me nuts, lol! But ICS, we are ALL looking forward to. I was unaware that the browser would have full hardware acceleration. That's awesome! Our devices have a decent GPU and great CPU so we should be set!
Where is that smooth scrolling option?
I can't find it.