1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

[MOD] CM7 data to ext

Thread Status:
Not open for further replies.

Last Updated:

  1. hroark13

    hroark13 Well-Known Member Developer

    A lot of the posts in my CM7 thread are about apps 2 sd and S2E and links to SD and blah bla bla

    Some of these programs install complicated scripts or cause the system to have problems

    I would like some people who are running my CM7 BETA 4 to test my solution to this.


    It is best if you have a fast class SD card like 6 or better

    Back up your apps in Titainium or what ever you use

    Partition your sd card in CWM with a partition 1GB (or smaller) and 0 Swap


    After sd card has been partitoned, download this zip file and copy it to the sd card


    In CWM do a Factory wipe and then Install the zip

    What this is, is a change in the Kernel Ramdisk init.sph-m820.rc

    I removed

    mount ext4 /dev/block/stl13 /data wait nosuid nodev noatime nodiratime noauto_da_alloc

    and added

    mount ext4 /dev/block/mmcblk0p2 /data wait nosuid nodev noatime nodiratime noauto_da_alloc


    This MOD is in testing stage and I am not sure how well it will work, so please test and post your results

    If I have helped you, and you like my work, please click on the Thanks Button and give my thread a rating by clicking on the stars above.

    If you would like to buy me a beer cofee, you can click on the PayPal button


  2. lMonsterl

    lMonsterl Well-Known Member

    coolio. i'll let u know how it goes
    cheech11 likes this.
  3. TryingToRoot

    TryingToRoot Well-Known Member

    Hroark does this also move Davcache or just data?
  4. hroark13

    hroark13 Well-Known Member Developer

    it is the whole /data partition

    it does nothing with /cache partition

    like the OP says, this is for testing, not too sure how well it will work

    If you are using my CM7 beta 4, go ahead and test it and post your results

    edit : dalvic-cache is located on the /data partition
  5. wyelkins

    wyelkins Well-Known Member

    I downloaded this and will try it, but somebody else needs to go first. I got to have my phone working during the day. At night, no big deal as long as I can get it back fairly fast. I want to help.

    I may get my phone back down to Bare Bones stuff using no S2E and back that up with CWM and Kouma packer first.

    Any other special procedures necessary to easily flash back to CM7HF3?

    No reformatting of any partitions necessary to go back? I know they are already EXT4. Does the factory reset reformat screw this up still?

    Do you have an idiot proof method to switch the ramdisk back like it was?
  6. Rally 517

    Rally 517 Well-Known Member

    Nope just flash. Be running great for me. It seems like it combines the partition and system storage. Over all great
  7. wyelkins

    wyelkins Well-Known Member

    Cool. I will give it a shot sometime tonight.

    Since I already have a 1GB EXT4 partition do I have to repartition or can I just reformat it manually with CWM?
  8. hroark13

    hroark13 Well-Known Member Developer

    should be able to just use what you have
    wyelkins likes this.
  9. wyelkins

    wyelkins Well-Known Member

    Sir! This is Awesome! You are truly a f@@@ing Genius.

    My system says that I have 843 MEGABYTES Free!!

    So far everything runs great. Just did it this morning. Will see what happens.

    I bet you get some testers now!

    LOL. I just realized that I referred to my phone as a system. I guess it is.
  10. Heloguy

    Heloguy Well-Known Member

    will this eventually be available to non cm7 users? i am using ctmod, and would love to use this mod.
  11. wyelkins

    wyelkins Well-Known Member

    Been running with this all day. No problems at all. I usually keep my phone pretty Spartan. Very few apps. No or very few widgets. No Games. One launcher screen. Maybe a lot of stuff on the dock. I use the phone mostly for business. I am really not a big theme guy. But I got a lot of stuff backed up in case I need it.

    Shit...I had this thing loaded up with stuff I never use just for the hell of it. I even put some Bloatware back.

    I set up 4 pages full of widgets. And ran all day like that like a drunken sailor on shore leave. No problems that I can see. Nothing ever FCed Up.

    I could not stand all this conspicuous consumption, so I took off all the stuff I will never use.

    But I did leave the widgets. What the hell.

    This beats the hell out of A2SD, S2E, and even that mysterious magical thing known as Link 2SD. (I actually think that the last one is a placebo and is actually an Android Hello World Botnet.)

    EDIT: Sorry for the link joke. I know a lot of folks like it. It just did not like me.

    Need some real gamers to test this out with some memory hungry games.
    Bandaid likes this.
  12. hroark13

    hroark13 Well-Known Member Developer

    Kouma could make this in a matter of minutes and post it

    I dont want to put out a version of his kernel with this, I would rather him do it, I dont want to steal his thunder
    Koumajutsu and Heloguy like this.
  13. hroark13

    hroark13 Well-Known Member Developer

    The thing about this is it is clean and simple

    Those other apps use complicated scripts and setting to map and bind folders on the /data partiton to folders on the /sd-ext partiton and there is room for a lot of things to go wrong

    My solution is simple, does not require scripts, is pretty easy to set up, and seems to work good
    wyelkins likes this.
  14. wyelkins

    wyelkins Well-Known Member

    I was probably going something wrong but I tried to restore just the data partition after everything was done. I might have been picking the wrong CWM backup or something but it went through the motions. I could see app names flying by but when I rebooted, they were not there.

    So I said, to Hell with it and used my TB backups and market. ADW settings restored, but my screen layout did not.

    It only took a few minutes to get everything that I wanted back. Then I added all the other stuff for a while.

    I assume that of I do a CWM backup now and then used that one that it would restore the data properly. If I pick the right one, that is.
  15. hroark13

    hroark13 Well-Known Member Developer

    CWM maps data to stl13

    so it is restoring it to the proper place

    but when you boot the phone with my mod it is not mapping stl13

    this may cause a lot of confusion with people
    Twisted21 and wyelkins like this.
  16. wyelkins

    wyelkins Well-Known Member

    But a backup made now would restore properly?
  17. hroark13

    hroark13 Well-Known Member Developer


    it will backup your sd-ext partition which is really your new data partition
  18. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ Guide

    will this be any more stable with larger partitions than using a scripted method? Or is there still a cap you would recommend? (not that i have come ANYWHERE near maxing out the 1gb i have, just curious)
  19. wyelkins

    wyelkins Well-Known Member

    It is interesting to watch the difference when CWM backs up. It jumps past the data partition and cache and you can see your stuff coming from SD-EXT.

    Some internal memory is still used as you add apps? I know it does not have the links to SD-EXT like the others.
  20. hroark13

    hroark13 Well-Known Member Developer

    there really is no cap, I just recomended 1 GB because that is what I use, and have tested

    you can always try to go bigger and see what happens
  21. new optimus

    new optimus Well-Known Member

    I believe the larger the partition the slower the response, That is the only reason for a cap when most people will not fill up 1gb of space.
  22. wyelkins

    wyelkins Well-Known Member

    I could not do it and I tried. I did not try to load any big games. But truly, 500MB is probably more than enough for most people.
  23. wyelkins

    wyelkins Well-Known Member


    is anybody using this? It is excellent. I have had no problems.

    If not, someone please explain your concerns, so they can be addressed.

    Don't be shy. I was apprehensive at first and Hroark was kind of cagey on how well it would work, although I know that he knew. It is worth the minor effort.

    I spent much more time making unnecessary redundant backups than it took too install.

    Just backup and you will be alright.
  24. joefanelli

    joefanelli Active Member

    Mr. Hroark, If for some reason I wish to uninstall this mod how would I go about doing that sir?
  25. hroark13

    hroark13 Well-Known Member Developer

    if using CM7 flash just the kernel in CWM, I have a link for just the kernel in my CM7 thread, i think it is in post 3
    joefanelli and wyelkins like this.
Thread Status:
Not open for further replies.

Share This Page