Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,650 Members 39,591 Now Online
XDA Developers Android and Mobile Development Forum

[MOD]data2ext for CM7

Tip us?
 
daniel60104
Old
(Last edited by daniel60104; 23rd January 2011 at 08:44 PM.)
#1  
Senior Member - OP
Thanks Meter 77
Posts: 298
Join Date: Jul 2010
Location: Los Angeles

 
DONATE TO ME
Default [MOD]data2ext for CM7

Hey guys!

Just thought this would be handy for anybody with higher-class SD cards.

Keep in mind that I did NOT create the data2ext script, and BlaY0 from Legend forum was the one who came up with it in his roms, so kudos to him for making it

NOTE: a2ext and data2ext, choose ONE. You cannot run them together.

What is data2ext?
Similar to a2ext, where data/app were stored inside your ext partition of the SD card, data2ext stores the whole /data inside your ext partition.


What does that mean?
That means your internal storage will barely be used, and because nowadays higher-class SD cards runs faster than your internal memory, your phone will be able to crank out some insane benchmarks.

Requirements?
1. A good sd card with ext2/ext3 partition. suggested with at least 512MB of it (but not over 2GB, otherwise trouble will arise)
2. For now I think this will only work on the CM7 nightlies. I'll make one for CM6 if it is ever needed.

Instructions?
1. Flash it
2. Make your ext2 block size 4kb (done so by doing adb shell mke2fs -m0 -b4096 /dev/block/mmcblk0p2)
3. Go to your terminal emulator/adb shell to type data2ext --enable
4. Reboot
5. Wait some time. Files will be copied over, so the reboot will be slow.
6. Go check your storage and see how much you got :P

Since I was unable to run quadrant from cm7, here's the bench results done w/ 3rdsense:


I bare no responsibility for your phone breaking if you do decide to do this and something went wrong!

Enjoy.
Attached Files
File Type: zip data2ext_for_CM.zip - [Click for QR Code] (152.4 KB, 2528 views)
If you like my work, help me buy milk & chocolate
The Following 5 Users Say Thank You to daniel60104 For This Useful Post: [ Click to Expand ]
 
dbzfanatic
Old
#2  
dbzfanatic's Avatar
Senior Member
Thanks Meter 282
Posts: 1,063
Join Date: Jun 2010

 
DONATE TO ME
Ha, nice. I was waiting for something like this. Now I have a new ROM, new kernel, and new extension to play with. Gonna be a fun night. Thanks ^_^
 
Linnel
Old
#3  
Junior Member
Thanks Meter 1
Posts: 24
Join Date: Jul 2010
O.o I must say, this was the thing I was waiting for the first time I rooted my phone so long ago.

I thank you good sir, assuming this works
Curse you Vibrant.
 
dbzfanatic
Old
#4  
dbzfanatic's Avatar
Senior Member
Thanks Meter 282
Posts: 1,063
Join Date: Jun 2010

 
DONATE TO ME
It works just fine, I scored a 1641 on CM7 with miguel's new kernel OCed at 864.
 
SKAm69
Old
#5  
SKAm69's Avatar
Senior Member
Thanks Meter 60
Posts: 558
Join Date: Oct 2009
Can't enable data2ext. Although I type just like it wants.
 
purple1
Old
#7  
purple1's Avatar
Senior Member
Thanks Meter 40
Posts: 551
Join Date: Oct 2010
Location: Dallas, Tx
Can I use an 8gig memory card?

Sent from my T-Mobile myTouch 3G Slide using XDA App
 
daniel60104
Old
#8  
Senior Member - OP
Thanks Meter 77
Posts: 298
Join Date: Jul 2010
Location: Los Angeles

 
DONATE TO ME
Quote:
Originally Posted by purple1 View Post
Can I use an 8gig memory card?

Sent from my T-Mobile myTouch 3G Slide using XDA App
What matters is your sd card class, and the ext partition.
If you like my work, help me buy milk & chocolate
 
JDV28
Old
#9  
JDV28's Avatar
Senior Member
Thanks Meter 85
Posts: 645
Join Date: Aug 2010
Location: Chicago
if i have s-off (if its needed) how can I put that command into terminal emulator??
My Devices:

:: Grey Note II ~ Rooted ~
:::::: PAC_Man (4.3.1) || Jedi Master 18 (4.1.2)
:: LymeGreen Galaxy Gear ~ Rooted ~
 
dbzfanatic
Old
#10  
dbzfanatic's Avatar
Senior Member
Thanks Meter 282
Posts: 1,063
Join Date: Jun 2010

 
DONATE TO ME
You type it? you open terminal emulator and type it in?

The Following User Says Thank You to dbzfanatic For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes