Howto install DATA2SD: Guide


  1. droidzone

    droidzone Well-Known Member



    Using Sibere

    Advertisement
    beeflin likes this.
  2. droidzone

    droidzone Well-Known Member

    Reserved for FAQs

    NOTE: As you read some of the posts in this thread, you may come across issues that I faced and description thereof..

    Please Note: THESE ISSUES I FACED WERE HARDWARE BASED AND HAVE NOTHING TO DO WITH DATA2SD AS SUCH.

    Data2SD cant wreck your hardware.. The worst it can do is to make you do a Recovery wipe and reinstall a Rom..But don't we "Rooters" do that every other day? ;)
    dtortora likes this.
  3. EddyOS

    EddyOS Well-Known Member

    Far too much work just to save a few MB on app data...I'll be leaving this well alone

    you should have disclaimer in red saying don't do this if you're in any way unsure how to fix it should it go wrong
  4. droidzone

    droidzone Well-Known Member

    Well, I was so sick of Android telling me that I dont have enough free space. MTD partitions too seemed a bother. The rewards (huge internal memory) won me over..

    I added a Caution message...
  5. SUroot

    SUroot Well-Known Member Developer

    When i did this, it was about a quarter of the commands as that

    Ps my screen shots are better ;)
  6. droidzone

    droidzone Well-Known Member


    :) True..Had to add the busybox part, and the partition part..

    Yes, I had to reduce the size..The shots actually increased the width of the forum window..
  7. SUroot

    SUroot Well-Known Member Developer

    I'll.post tonight what commands I used...

    What's your quadrant score now?
  8. droidzone

    droidzone Well-Known Member

    1254..A worthless Class 4 Card..
  9. SUroot

    SUroot Well-Known Member Developer

    I got 2500 with a class 4. Did you sync off?

    Also you did a swap?
  10. droidzone

    droidzone Well-Known Member

    Sync On
    and Swap+

    Guess that's the root of my performance issues..
    Trying again today..With sync off, swap off and Class 2.. :D
  11. SUroot

    SUroot Well-Known Member Developer

    Sync off should just be a case of pushing edited script

    No swap would mean to start again or at least re create the ext file
  12. EddyOS

    EddyOS Well-Known Member

    Caution message is spot on - just hope people actually read it!!!
  13. SUroot

    SUroot Well-Known Member Developer

    It's certainly daunting. 6 months ago I would have left this thread straight after joining it.

    More complex than mtd layouts. Honestly wouldn't recommend for newbies
  14. Rastaman-FB

    Rastaman-FB Well-Known Member

    why do you have swap? desire has plenty of ram
    also you should have more of a boost than that even without sync (from what ive read)
  15. droidzone

    droidzone Well-Known Member

    :D

    Not a big fan of MTD. Maybe it works well for deodexed ROMs but Stock Roms are usually huge..Not much can be taken from /system

    I wonder too. Will take off Swap and Sync next time and see. Though this is going to be Class 2, I dont expect improvements.

    By the way, Android Application manager has a definite lag.
  16. Rastaman-FB

    Rastaman-FB Well-Known Member

    try the test commands for sync just to see if it makes improvement to that!!!
    personally i hate swap, it lags in most cases.
    only reason i had it on my galaxy 1 is because it had low memory
  17. SUroot

    SUroot Well-Known Member Developer

    OK,

    this is EXACTLY what I did, nothing else. Although I already have e2fs on defrost.

    Each line is a separate command, waiting for the prompt to return after each.

    **obviousely there are certain assumptions about the location and name of your Busy box, ADB and data file.

    Code (Text):
    1. cd\
    2.  
    3. cd\android-sdk-windows\tools
    4.  
    5. adb shell
    6.  
    7. mount /system
    8.  
    9. mount /data
    10.  
    11. mount /sdcard
    12.  
    13. exit
    14.  
    15. adb push c:\01data /system/etc/init.d/01data
    16.  
    17. adb push c:\busybox-armv6l /system/xbin/busybox
    18.  
    19. adb shell
    20.  
    21. chmod 755 /system/xbin/busybox
    22.  
    23. cd /
    24.  
    25. mount /dev/block/mmcblk0p2 /sd-ext
    26.  
    27. dd if=/dev/zero of=/sd-ext/ext2 bs=1048576
    28.  
    29. chmod 777 /system/xbin/busybox
    30.  
    31. /system/xbin/busybox mke2fs -m 0 -F -L userdata /sd-ext/ext2
    32.  
    33. mkdir /sd
    34.  
    35. chmod 777 /system/xbin/busybox
    36.  
    37. /system/xbin/busybox mount -o loop /sd-ext/ext2 /sd
    38.  
    39. cd /data
    40.  
    41. cp -a * /sd
  18. droidzone

    droidzone Well-Known Member

    Hmm..I guess Sibere added a lot of code later..
  19. SUroot

    SUroot Well-Known Member Developer

    Yes looks like it. No idea what all that extra stuff is. This works for me though. No need to over complicate it if it works.
  20. droidzone

    droidzone Well-Known Member

    Hey..About the Big boost Sibere talks about. He says to remove sync from the script. Which script? How?
  21. droidzone

    droidzone Well-Known Member

    What I meant is, if I type just:

    without a sync, is that permanent? Or does the boost disappear when I reboot? How do I make it permanent? Add to an init script?
  22. SUroot

    SUroot Well-Known Member Developer

    Open 01data as text file. Literally remove "sync," from script.

    Should be able to do this locally if you now have s-off.
  23. droidzone

    droidzone Well-Known Member

    Thanks dan.. :)
  24. SUroot

    SUroot Well-Known Member Developer

    No worries matey
  25. turbohobbit

    turbohobbit Well-Known Member

    :eek:

    Ain't that the truth. But then 3 months ago I had an unrooted, Orange-branded Desire, and now I have a rooted, custom-ROMed, modded-radio, overclocked Desire. Maybe small successes have emboldened me, but I'm interested to learn more now.

    Although I'll probably wait until I've saved up a bit more cash in case I do something I'll regret ;)

Share This Page