• 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
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
 
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?
 
Nope just flash. Be running great for me. It seems like it combines the partition and system storage. Over all great
 
Nope just flash. Be running great for me. It seems like it combines the partition and system storage. Over all great

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?
 
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!

EDIT:
LOL. I just realized that I referred to my phone as a system. I guess it is.
 
will this eventually be available to non cm7 users? i am using ctmod, and would love to use this mod.
 
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.
 
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
 
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.
 
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
 
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)
 
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.
 
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
 
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
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.
 
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.


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.
 
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.
 
Status
Not open for further replies.
Back
Top Bottom