• 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.
Hroark, The version I will put out in the morning has the following minor change from what you did:



I left in both mount commands. With it like this, stl13 mounts like normal.
If someone doesn't have a partitioned SD card, the mmcblk0p2 mount fails and things continue like normal.
If the mmc mount succeeds, the mount point supersedes stl13 and though both remain mounted, everything points to the sdcard so all is good :)


i tried doing this a couple of days ago, and did not quite work for me

i noticed both partitons were mounted

the weird thing that happend is the desktop icons disapeared
 
i tried doing this a couple of days ago, and did not quite work for me

i noticed both partitons were mounted

the weird thing that happend is the desktop icons disapeared

That's strange, according to normal Linux rules, it should have worked just fine.
you sure you weren't comparing the result of /data being the internal storage and a blank /data when it suddenly became the external media?

I started from clean, so I expected to add icons to my desktops. I should see what happens when I reboot
 
Not sure if this will happen to anyone else, but just thought I should put it out there. Currently tesing KoumaKernel Version of this mod and if you do a factory reset after this has been installed it breaks the symlinks. It's happened to me twice.

I've been trying to get my T.B. pro to work without force closing. I did a factory reset, followed by the dalvik, then completely reflashed Rom, booted once full. Then I rebooted into CWM, did a factory wipe and dalvik wipe again, flashed the koumkernel mod, rebooted phone. It booted up fine, so I rebooted into CWM did another factory wipe and Rebooted. The phone rebooted fine, but when I went to menu/setting/storage it told me I had 0.88mb internal storage left. That's with barebone Rom, and kernel mod. Going to keep trying though.
 
Not sure if this will happen to anyone else, but just thought I should put it out there. Currently tesing KoumaKernel Version of this mod and if you do a factory reset after this has been installed it breaks the symlinks. It's happened to me twice.

I've been trying to get my T.B. pro to work without force closing. I did a factory reset, followed by the dalvik, then completely reflashed Rom, booted once full. Then I rebooted into CWM, did a factory wipe and dalvik wipe again, flashed the koumkernel mod, rebooted phone. It booted up fine, so I rebooted into CWM did another factory wipe and Rebooted. The phone rebooted fine, but when I went to menu/setting/storage it told me I had 0.88mb internal storage left. That's with barebone Rom, and kernel mod. Going to keep trying though.

You sure it did not say .88GB?

It sometimes reports in those units. I would think if it were .88 MB you would see painfully slow response and excruciating lag , if not freeze.
 
2nizfo4.jpg
 
42576d07-bac2-7281.jpg


16GB card. With 1 GB sd-ext. Obviously a lot of CWM backups on SD. LOL.

Got system font set large for bad eyes. LOL. Need it in Braille really. Or a dog that can read it to me.
 
soooo.. if i got a bigger sd card do i need to wipe and reinstall or can i just pop in the card and partition it?

Make sure you are on the latest version of CWM Recovery.

All the stuff that would normally be on your internal data partition is on that sd-ext partition now. All your user apps, data and Dalvik cache. Make a CWM backup. This will back that sd-ext up to your old SD along with everything else on the phone.

Then make a backup of your old SD card to your PC. This will back up the FAT partition, including that CWM backup. But it will not save the EXT4 sd-ext to your PC.

Flash kernel for normal use. Kouma has one that works for both scenarios. So if your have that one you are good either way.

Put the new and bigger SD into your phone and do a factory reset. Then boot into CWM and create and format the new sd-ext.

Boot phone and connect to laptop. Copy old SD backup to new SD. Disconnect phone. New sd-ext is still empty.

Restore CWM backup. Reboot
You should be fine.

Someone please correct any mistakes in those instructions.

The kernel thing is a little tricky to me at this time.
 
Sigh.... This came first. if you read through the thread, you'll even find the version of KoumaKernel with this mod included that Hroark made and put out before I included it in my own

Don't worry Kouma. Steve Jobs got the credit for Xerox think tank research to make the Mac. His dieing wish was to ruin Android via Copywrite Infringement. Ironic and sad on some level.

Take the credit. You and Hroark know what each of you have done.

The rest of us have benefited from it greatly. Thank you both.

Use your hypnotic powers to get Hroark to post a link to this thread on the OP of the CM7 thread next to the one for his standard non sd-ext kernel.

Marketing is important too.
 
Make sure you are on the latest version of CWM Recovery.

All the stuff that would normally be on your internal data partition is on that sd-ext partition now. All your user apps, data and Dalvik cache. Make a CWM backup. This will back that sd-ext up to your old SD along with everything else on the phone.

Then make a backup of your old SD card to your PC. This will back up the FAT partition, including that CWM backup. But it will not save the EXT4 sd-ext to your PC.

Flash kernel for normal use. Kouma has one that works for both scenarios. So if your have that one you are good either way.

Put the new and bigger SD into your phone and do a factory reset. Then boot into CWM and create and format the new sd-ext.

Boot phone and connect to laptop. Copy old SD backup to new SD. Disconnect phone. New sd-ext is still empty.

Restore CWM backup. Reboot
You should be fine.

Someone please correct any mistakes in those instructions.

The kernel thing is a little tricky to me at this time.


With koumas version you cannot do a factory wipe from CWM after the kernel is installed or it will not mount sd ext, I do not know if it is the same with the CM7 kernel. I would partition and setup sd card before flashing. Then after flashing you just have to restore your sd-ext from your backup and reboot, this way you know all of your symlinks are preserved. Correct me if I have anything wrong. I am not on CM7 so I havent been able to see if it is the same.
 
with this method by hroark, and kuma's rework of it there should be no system links.

the kernel is mounting the sdext as /data.

The actual /data internal partition is not being used at all.

What would be interesting (though getting it done would be a nightmare) would be to get the actual /data partition and the /sdext to be a raid setup, Not mirrored or back up but just a large single disk, or so the kernel would see it that way.

So your 160mb or so added to say a 512mb ext becomes 672mb
 
with this method by hroark, and kuma's rework of it there should be no system links.

the kernel is mounting the sdext as /data.

The actual /data internal partition is not being used at all.

What would be interesting (though getting it done would be a nightmare) would be to get the actual /data partition and the /sdext to be a raid setup, Not mirrored or back up but just a large single disk, or so the kernel would see it that way.

So your 160mb or so added to say a 512mb ext becomes 672mb


Took the thought right out of my brain.
 
with this method by hroark, and kuma's rework of it there should be no system links.

the kernel is mounting the sdext as /data.

The actual /data internal partition is not being used at all.

What would be interesting (though getting it done would be a nightmare) would be to get the actual /data partition and the /sdext to be a raid setup, Not mirrored or back up but just a large single disk, or so the kernel would see it that way.

So your 160mb or so added to say a 512mb ext becomes 672mb

RAIDs are usually handled at the controller level, not the system level.

There is a software solution for linux, dunno if it can be compiled with EABI and run on ARM.

Here's a How-To for anyone interested:
The Software-RAID HOWTO
 
Since it's internal, maybe a more robust ROM to begin with would be a good option. Bind stl12 and 13.
inigo

Now THAT is a great idea. Combining the internal data with the sd-ext only adds a small amount to the data and to me seems trivial unless maybe with a 2GB SD.

Basically doubling the size of the ROM area is major. You could run all your apps internal if you only had a few. Factory reset would not remove them. Of course all apps well not run system. But, many will.
 
Now THAT is a great idea. Combining the internal data with the sd-ext only adds a small amount to the data and to me seems trivial unless maybe with a 2GB SD.

Basically doubling the size of the ROM area is major. You could run all your apps internal if you only had a few. Factory reset would not remove them. Of course all apps well not run system. But, many will.


Not just that, it would make it easier to port Roms that take a larger system partition, I.e. ICS. The stock ICS Rom is to massive to fit on our phones to begin with. But someone please correct me if Im wrong, but if we could set up a RAID between the system and the internal data partition (if possible) and use the new modded kernels to use the sd-ext as the data partition, would this make porting larger Roms like ICS a bit easier?
 
Don't worry Kouma. Steve Jobs got the credit for Xerox think tank research to make the Mac. His dieing wish was to ruin Android via Copywrite Infringement. Ironic and sad on some level.

Take the credit. You and Hroark know what each of you have done.

The rest of us have benefited from it greatly. Thank you both.

Use your hypnotic powers to get Hroark to post a link to this thread on the OP of the CM7 thread next to the one for his standard non sd-ext kernel.

Marketing is important too.

Kouma is not a kernel thief, he is a god damn fricken wig snatcher.

We went to the recent Liza Minelli concert, and he thought it would be funny to snatch my wig off and run away

You wait, I will get even
 
Status
Not open for further replies.
Back
Top Bottom