• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root JIT and Smooth Scroll Fix

Status
Not open for further replies.

eklipze

Lurker
Hey guys
Originally this was posted in the Velocity ROM thread but I'm sure most Ally ROMs will be able to benefit from these fixes:

The following will enable JIT and tweak your windowsmgr to allow for smoother scrolling.
-----------------------------
Using ADB pull your build.prop:

abd pull /system/build.prop

add this line to the end of the file:
windowsmgr.max_events_per_sec=60

This will enable smoother scrolling.

Next, find the following line to enable jit:
#dalvik.vm.execution-mode=int:jit
and uncomment it by removing the # before it

Save the file and push back to /system/build.prop

reboot and your phone should be a little more responsive

I was having some permission denied errors when pushing the build.prop back via adb, so here's what i did:
(this part is optional, if your phone pushes the build.prop fine, then don't worry about this)

adb shell
su
mount -t rfs -o remount,rw /dev/stl5 /system
cd sdcard
busybox cp -R build.prop /system
mount -t rfs -o remount,ro /dev/stl5 /system
sync
reboot

-----------


**to those having trouble w/ the busybox command, make sure the build.prop is in the sd card, the sd card is not mounted in the computer, and you are in the adb shell of the phone

also, make sure you are cd into /sdcard/ and can see build.prop in the root of your sdcard with ls

then try to

busybox cp -R build.prop /system


alternatively if that doesnt work maybe try adb push build.prop /system/build.prop


Tested on Velocity 0.1.1 but may work with other ROMs.
 
Sorry to do this but the jit command your unquoting does nothing.

As far as the smooth scroll, i havent seen a noticable change since using it.
Will continue to try with it.
 
Guys.. this does not work. Don't you think if it were that easy, I would have already done it?

Enabling JIT require making a port of the JIT Compiler and including it in the curent Dalvik VM and then editing the build.prop.

Enabling Smooth Scrolling is a very tricky procedure as well and certainly not just a build.prop edit.

Sorry to burst this bubble..

/Closed
 
Status
Not open for further replies.
Back
Top Bottom