Faster apps


Last Updated:

  1. jakax

    jakax Active Member This Topic's Starter

    Joined:
    May 7, 2010
    Messages:
    32
    Likes Received:
    27
    Here is an improved version of dalvik:

    Download libdvm.so from Sendspace.com - send big files the easy way

    You should feel most of your apps faster (except the ones that do read/write on storage, which are slow).

    Remember to use AutoKiller or to change your memory management settings (default ones tend to make the phone slow after using some apps) otherwise the system will deal with memory most of the time.

    Note: It is NOT dalvik with JIT (it requires to regenerate all framework files, which are not provided here).

    This has to be installed in /system/lib (you must be root to install it).

    Boot in recovery
    (backuping your original libdvm.so: adb pull /system/lib/libdvm.so ./)

    adb remount
    adb push libdvm.so /system/lib/
     

    Advertisement
    DaSchmarotzer and turkievicz like this.
  2. gil1

    gil1 Active Member

    Joined:
    Feb 28, 2010
    Messages:
    25
    Likes Received:
    8
    Nice, thanks!
    I pushed the file and the phone boots normaly, every feels faster although benchmark show same results as before.

    Edit:
    Running Galaxo 1.6.3.2
     
  3. FadeFx

    FadeFx Well-Known Member

    Joined:
    Mar 4, 2010
    Messages:
    183
    Likes Received:
    12
    i guess that means to rebuild dalvic cache, eg delet all content from data/dalvic-cache and then reboot (first boot will take some time then)...
     
  4. tomas.splatch

    tomas.splatch New Member

    Joined:
    Apr 26, 2010
    Messages:
    4
    Likes Received:
    0
    I installed successfully, but cant really say if there is any difference (Galaxo 1.3.2). What exactly changed? Where does this file come from?
     
  5. jakax

    jakax Active Member This Topic's Starter

    Joined:
    May 7, 2010
    Messages:
    32
    Likes Received:
    27
    Yes, somehow.
    What needs to be done, is to regenerate odex files in /system (framework & apps).
    For /data/dalvik-cache, that would be done automatically, based on original apk files.
     
  6. jakax

    jakax Active Member This Topic's Starter

    Joined:
    May 7, 2010
    Messages:
    32
    Likes Received:
    27
    You should ;)
    It does not provide support for profiling & debugging (skip anything related to it).
    It has been compiled from Android SDK (donut) and optimized.

    Are you sure you did not repush the original file by backuping first ?
     
  7. tomas.splatch

    tomas.splatch New Member

    Joined:
    Apr 26, 2010
    Messages:
    4
    Likes Received:
    0
    thanks for your answer. Well I guess it is faster after all :)
     
  8. Rastaman-FB

    Rastaman-FB Well-Known Member

    Joined:
    Sep 11, 2009
    Messages:
    6,113
    Likes Received:
    1,010
    done this, tested with galax0 1.6.3.2 . apps seem faster
    cannot install autokiller as for some reason if autokiller is on then i get system hangs in galax0

    no biggie though as drakaz timings are uber aggressive anyway
     
  9. Broomfundel

    Broomfundel Active Member

    Joined:
    Oct 24, 2009
    Messages:
    39
    Likes Received:
    0
    For some reason, it fails to rebuild all apps if you clear dalvik-cache. Which would be just anoying but Superuser is one.

    Thats on Glax0 1.6.3.2 and Ive tried several times now.

    Anyone else getting this?
     
  10. jakax

    jakax Active Member This Topic's Starter

    Joined:
    May 7, 2010
    Messages:
    32
    Likes Received:
    27
    With the dalvik version provided here ?
     
  11. Broomfundel

    Broomfundel Active Member

    Joined:
    Oct 24, 2009
    Messages:
    39
    Likes Received:
    0
    Yes, only with the new one. I have tried several times.
     
  12. jakax

    jakax Active Member This Topic's Starter

    Joined:
    May 7, 2010
    Messages:
    32
    Likes Received:
    27
    I have used this version of dalvik over 1 week and I can find dex files generated during this time. (stock samsung firmware)
    But I did not try to clear the cache.
     
  13. Broomfundel

    Broomfundel Active Member

    Joined:
    Oct 24, 2009
    Messages:
    39
    Likes Received:
    0
    I think it may be a flase alarm, went back to an earlier image with nandroid. Still Glax 1.6.3.2 with IK5 Baseband, which has been the best combo for me with all 1.6 builds. The only difference between the two that I am aware of is the fact I had metamorphed framework-res.apk. Can not see how one would stop the other, but this time on the older build, redid all apps, including the oh so important superuser.apk

    Cant see the link, but what the hell, it definately feels faster.

    Thanks
     
  14. jakax

    jakax Active Member This Topic's Starter

    Joined:
    May 7, 2010
    Messages:
    32
    Likes Received:
    27
    Modifying framework-res.apk prevents dalvik from generating dex files in dalvik-cache.
    As this file is in the framework, when dalvik tries to generate a dex file for a new/updated app, it gathers all dependencies (framework files are almost always in) and will find there is a mismatch.
     
  15. cbfatw

    cbfatw Member

    Joined:
    Mar 18, 2010
    Messages:
    7
    Likes Received:
    0
    thanks a lot!
    I tried this in Galaxo 1.6.3.1,
    seems more smooth than original 1.6.3.1
     
  16. fanky168

    fanky168 New Member

    Joined:
    May 21, 2010
    Messages:
    3
    Likes Received:
    0
    To make JIT workable,
    can i use rootexplorer to just replace libdvm.so and libnativehelper.so in */system/ lib, and then delete */data/dalvik-cache ?

    because,i do the same work in this thread :http://androidforums.com/samsung-i7500/83565-faster-apps.html

    so i tried it in galaxo 1.6.3.3, just replace libdvm.so and delete dalvik-cache,but sucess .

    sorry my English!
     
  17. bresslau

    bresslau Well-Known Member

    Joined:
    May 6, 2010
    Messages:
    53
    Likes Received:
    5
    I believe that the best solution now involving dalvik (whatever that is ;) is described in this new thread, right?
    Dalvik (Froyo) with JIT for Donut

    Can somebody with a bit more understanding on this issue confirm my assumption?

    Cheers!
     

Share This Page

Loading...