Thread Status:
Not open for further replies.
  1. Check out our companion app, Forums for Android! Download from Google Play

Root JIT and Smooth Scroll Fix

Discussion in 'Android Devices' started by eklipze, Aug 26, 2010.

  1. eklipze

    eklipze Member
    Thread Starter
    6

    Aug 25, 2010
    7
    1
    6
    Las Vegas, NV
    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.
     

    Advertisement

  2. RedFury

    RedFury Well-Known Member
    18

    Aug 11, 2010
    60
    13
    18
    Male
    Systems Engineer
    Illinois
    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.
     
  3. Trident

    Trident Well-Known Member
    333

    Jan 20, 2010
    3,035
    2,307
    333
    I wear many hats
    Virginia Beach, VA
    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
     
    Robo1007 and GRZLA like this.
Tags:

Share This Page

Loading...