1. Are you ready for the Galaxy S20? Here is everything we know so far!

Faster apps

Discussion in 'Android Devices' started by jakax, May 23, 2010.

  1. jakax

    jakax Newbie
    Thread Starter

    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/
     


    DaSchmarotzer and turkievicz like this.

    1. Download the Forums for Android™ app!


      Download

       
  2. gil1

    gil1 Newbie

    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

    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 Lurker

    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 Newbie
    Thread Starter

    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 Newbie
    Thread Starter

    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 Lurker

    thanks for your answer. Well I guess it is faster after all :)
     
  8. Rastaman-FB

    Rastaman-FB Extreme Android User

    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 Newbie

    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 Newbie
    Thread Starter

    With the dalvik version provided here ?
     
  11. Broomfundel

    Broomfundel Newbie

    Yes, only with the new one. I have tried several times.
     
  12. jakax

    jakax Newbie
    Thread Starter

    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 Newbie

    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 Newbie
    Thread Starter

    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 Lurker

    thanks a lot!
    I tried this in Galaxo 1.6.3.1,
    seems more smooth than original 1.6.3.1
     
  16. fanky168

    fanky168 Lurker

    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 Member

    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!
     
Loading...

Share This Page

Loading...