1. Check out our companion app, Forums for Android! Download from Google Play

Root Faster apps

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

  1. jakax

    jakax Active Member
    Thread Starter
    23

    May 7, 2010
    32
    27
    23
    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
    16

    Feb 28, 2010
    25
    8
    16
    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
    38

    Mar 4, 2010
    183
    12
    38
    Austria
    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
    5

    Apr 26, 2010
    4
    0
    5
    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
    Thread Starter
    23

    May 7, 2010
    32
    27
    23
    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
    Thread Starter
    23

    May 7, 2010
    32
    27
    23
    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
    5

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

    Rastaman-FB Well-Known Member
    313

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    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
    15

    Oct 24, 2009
    39
    0
    15
    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
    Thread Starter
    23

    May 7, 2010
    32
    27
    23
    With the dalvik version provided here ?
     
  11. Broomfundel

    Broomfundel Active Member
    15

    Oct 24, 2009
    39
    0
    15
    Yes, only with the new one. I have tried several times.
     
  12. jakax

    jakax Active Member
    Thread Starter
    23

    May 7, 2010
    32
    27
    23
    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
    15

    Oct 24, 2009
    39
    0
    15
    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
    Thread Starter
    23

    May 7, 2010
    32
    27
    23
    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
    5

    Mar 18, 2010
    7
    0
    5
    TW
    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
    5

    May 21, 2010
    3
    0
    5
    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
    16

    May 6, 2010
    53
    5
    16
    NRW, Germany
    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...