Guide on data2ext!

Re: Help please data2ext.;)

Ext3 is safer than ext2 and ext4 is safer than ext3. I have ext3 and my phone locked up during an update to an app when Link2SD was updating the links and after a battery pull, I had to repair the sdext partition with e2fsck and restore and rebuild the links. It may not have happened with ext4. the reason it is slower is it keeps information to correct and recover.
 
Re: Help please data2ext.;)

Remember when flashing a rom update or another rom, you will need to titanium backup the apps+data, erase the sdext partition (format), flashing new rom (and gapps), reboot, start steps for data2sd before restoring apps, data2ext --enable, reboot, use titanium to restore..

Quick question(s) about the bolded instructions:
Does this mean setting up a partition and running the commands to reformat/resize again (see Exhibit A)? That would be a major pain in the ass, and it would also mean I have to transfer all of my files onto the computer and back, which would also be a major pain in the ass. Does this also mean I can no longer dirty flash (clear cache and install the new update and gapps)?

Exhibit A:
Code:
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -yf /dev/block/mmcblk0p2
tune2fs -o journal_data_writeback /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/mmcblk0p2
 
Quick question(s) about the bolded instructions:
Does this mean setting up a partition and running the commands to reformat/resize again (see Exhibit A)? That would be a major pain in the ass, and it would also mean I have to transfer all of my files onto the computer and back, which would also be a major pain in the ass. Does this also mean I can no longer dirty flash (clear cache and install the new update and gapps)?

Exhibit A:
Code:
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -yf /dev/block/mmcblk0p2
tune2fs -o journal_data_writeback /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/mmcblk0p2

Is this to wipe then restore the app in the dataext. Nice should post it on The stickie

Sent from my LG-LS670 using Tapatalk
 
Re: Help please data2ext.;)

Quick question(s) about the bolded instructions:
Does this mean setting up a partition and running the commands to reformat/resize again (see Exhibit A)? That would be a major pain in the ass, and it would also mean I have to transfer all of my files onto the computer and back, which would also be a major pain in the ass. Does this also mean I can no longer dirty flash (clear cache and install the new update and gapps)?

Exhibit A:
Code:
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -yf /dev/block/mmcblk0p2
tune2fs -o journal_data_writeback /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/mmcblk0p2
I'm a little confused by this. So anytime that I want to flash a new update to a rom that means I have to erase all the data, remake partition, reformat etc. in order to use data2ext? Seems like a pain :-\
 
Re: Help please data2ext.;)

ok so i tried it and when i did the first command I got
C:\>cd\Program Files\Android\android-sdk-windows\platform-tools

C:\Program Files\Android\android-sdk-windows\platform-tools>adb shell
# mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs 1.41.10 (10-Feb-2009)
Could not stat /dev/block/mmcblk0p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
#

what am i doing wrong
 
Re: Help please data2ext.;)

ok so i tried it and when i did the first command I got
C:\>cd\Program Files\Android\android-sdk-windows\platform-tools

C:\Program Files\Android\android-sdk-windows\platform-tools>adb shell
# mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs 1.41.10 (10-Feb-2009)
Could not stat /dev/block/mmcblk0p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
#

what am i doing wrong

Make sure that you made a partition from advanced recovery with no swap. Then continue with the steps you were doing.
 
Re: Help please data2ext.;)

I didn't wipe my cache, but yep!

Considering how many people using this mod are using Ath3nos and blarf's cm7, should we post these instructions on that thread as well? I'm probably not the only one that got confused by this.
 
Is anybody having problems installing. Data2ext on cm7

Sent from my LG-LS670 using Tapatalk
 
Re: Help please data2ext.;)

I haven't tried, from the reading of it this might be a bit much for me right now, and from the looks of it many others too.

Would someone mind making a flashable zip to do this? Toss it up on the Market, if you want. I'll donate a couple of bucks to it.
 
Last edited:
Re: Help please data2ext.;)

how bad is it if you remove the flash from your phone after you have enabled data2ext? can you still unmount the sd? will it still work at all? (sometimes i want to put the flash directly in my laptop to transfer files, or what if the flash dies, can you still make a phone call from your contact list?)
 
Re: Help please data2ext.;)

how bad is it if you remove the flash from your phone after you have enabled data2ext? can you still unmount the sd? will it still work at all? (sometimes i want to put the flash directly in my laptop to transfer files, or what if the flash dies, can you still make a phone call from your contact list?)

By "flash" I'm assuming you mean sdcard. You wont be able to use your apps if you remove it. As in your games and additional apps. Everything else will work.
 
Re: Help please data2ext.;)

So if I'm understanding correctly, I can:

  1. Wipe Cache
  2. Flash Rom/Gapps
  3. Reboot
  4. Flash Data2Ext
  5. Reboot
  6. Data2Ext--Enable
  7. Enjoy?

Ok so i am coming over from reborn rom because i want 1gb of internal memory.
So now do I just flash CM7 --> flash Gapps --> flash data2Ext ?
How do you Enable Data2Ext ?

So i dont have to do all this stuff here below.
And what is all this stuff that is in other peoples post in this thread?
C:\Program Files\Android\android-sdk-windows\platform-tools>adb shell
# mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs 1.41.10 (10-Feb-2009)
Could not stat /dev/block/mmcblk0p2 --- No such file or directory

Thanks in Advance
 
Re: Help please data2ext.;)

Ok so i am coming over from reborn rom because i want 1gb of internal memory.
So now do I just flash CM7 --> flash Gapps --> flash data2Ext ?
How do you Enable Data2Ext ?

So i dont have to do all this stuff here below.
And what is all this stuff that is in other peoples post in this thread?
C:\Program Files\Android\android-sdk-windows\platform-tools>adb shell
# mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs 1.41.10 (10-Feb-2009)
Could not stat /dev/block/mmcblk0p2 --- No such file or directory

Thanks in Advance

You do the ROM first (including gapps). Reboot.
Once that is done:
1. partition your sdcard from advanced menu in recovery (to preferred size)
2. Data2ext CyanogenMOD - UPDATE 26/01/11 - xda-developers

I use ext4 and it works great! :D Good luck. If you follow those steps exactly as I have listed and exactly as the data2ext is listed, you will have no problems. :)
 
  • Like
Reactions: blackops1125
Re: Help please data2ext.;)

Is there a minimum class for the sd card that this will work for? I have a 16gb sd card, it's a class 4. Is that enough?
 

Trending Posts

Forum statistics

Threads
956,457
Messages
6,968,329
Members
3,163,550
Latest member
jimmyrichard