• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [MOD] CM7 data to ext

Status
Not open for further replies.

hroark13

Android Expert
Recognized Developer
Jul 15, 2011
3,280
4,113
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.

IF YOU ARE USING AN OLDER VERSION THAN BETA 4 DONT USE 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

BACK UP YOUR SD CARD BEFORE YOU PARTITION IT, IT WILL BE ERASED

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

cm7d2x.zip

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


DO NOT USE ANY OTHER APP 2 SD, LINK 2 SD OR ANY OTHER APP/MOD LIKE THAT WITH THIS MOD

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

 
Hroark does this also move Davcache or just data?


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
 
Upvote 0
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?
 
Upvote 0
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.

Now..
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.
 
  • Like
Reactions: Bandaid
Upvote 0
will this eventually be available to non cm7 users? i am using ctmod, and would love to use this mod.

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
 
Upvote 0
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.)

.


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
 
  • Like
Reactions: wyelkins
Upvote 0
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


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.
 
Upvote 0
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.

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
 
Upvote 0
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

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)
 
Upvote 0
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)


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
 
Upvote 0
BUMP

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.
 
Upvote 0
Status
Not open for further replies.

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones