yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] itrof61:
just to make sure I'm doing it ok, after creating the partition I just have to flash the CleanRom 3.0.3 data2sd patch for the CleanRom Inheritance 3.1?
[Asus Transformer TF700] buhohitr:
Ok, I found the best way to do this is using backup/restore method, which will keep the same setup with normal setup or with dat2sd setup and the nice thing is you can flipping between them and keeping your setup. Here is what I would do.

1. Do a normal setup of your new Rom (3.1), if you already there, just preoceed to next step.

2. Format micro sdcard with first partition fat32 with 4 or 5gb and the rest as second partion as ext4, both primary

3. Copy "mountdata2sd" and "Cleanrom_data2sd3.0.3" to the fat partition. Turn off you device

4. Insert micro sdcard then boot into twrp and do a backup of your setup to the fat32 partition which label as external in twrp

5. while still in twrp, flash mountdata2sd, the do a restore from the backup.

6. Now flash Cleanrom_data2sd3.0.3, then reboot.

Done with all your previous setup is now on data2sd.
[Asus Transformer TF700] schidddy:
U got a type on step 3 ;) i think i should be "cleanrom_data2sd3.0.3"

cheers
[Asus Transformer TF700] buhohitr:
+1, thanks, fixed.
[Asus Transformer TF700] itrof61:
Thanks a lot!! will try
[Asus Transformer TF700] itrof61:
I've tried all he steps but when restoring in TWRP it just hangs in restoring data, it does not proceed. Maybe restoring with CWM?
[Asus Transformer TF700] _that:
I had a similar issue with my private "all2SD" mod (hanging while writing), and it appears to be a hardware/kernel issue - my TF700 does not like my SanDisk 32 GB Class 10/UHS-I card. It works, but more slowly, with a Samsung 16 GB "plus" card. Other people have reported the UHS-I card works fine in their tablets.

Which microSD card are you using?
[Asus Transformer TF700] itrof61:
Im using a Kingston 16gb class 10 micro sd HC.
[Asus Transformer TF700] sbdags:
That's quite a cheaply made card. Does it actually achieve class 10 speeds? You might need something a bit more reliable like sandisk or Samsung.
[Asus Transformer TF700] stanglifemike:
I haven't tried to restore anything in Recovery since applying Data2SD, so I'm not sure how that would go. I just back up all of my apps' data with Titanium Backup anyways though, so I don't plan to restore anything in Recovery anyway. Only time I would is if a new version of a rom was borked and I had to Nandroid back to the previous version. (I run sbdags CleanROM Inheritance though, so I don't see that issue ever arising for me :D)

That said, I'm using a SanDisk 64GB UHS1 card and my tablet runs perfectly smooth on everything I've thrown at it. None of my games lag at all, and it is GREAT having that much storage available!! Increasing my storage space was the main reason I'm using this mod anyway. Everything was already smooth on CROMI!!
[Asus Transformer TF700] itrof61:
So how did you install your data2sd?
[Asus Transformer TF700] stanglifemike:
Used Gparted to partition my card. 10gb Fat32 and the rest ext4, flagged both as "boot". I didn't do a restore afterwards, so everything was a clean flash. Only restoring was some of my apps' data with Titanium Backup Pro. After partioning, I moved my TB backups from my 32gb card to the Fat32 portion of my freshly partioned 64gb card. Just followed the steps in the OP. Powered my Infinity off, inserted my freshly partioned 64gb card, booted to Recovery, wiped everything, flashed mount2sd, flashed CROMI 3.0.3,flashed CROMI 3.0.4 patch, flashed the CROMI 3.0.3 data file, rebooted to system. Everything has been running perfectly smooth for weeks now!!
[Asus Transformer TF700] buhohitr:
itro, what kind of sdcard you have? seems like the issue is your sdcard, you should able to backup and restore with your sdcard. If your sdcard is not working correctly, you're going to get bootloop, either during the install or later on. Please provide the model of your sdcard, and you may give it another try repartition and reformat your card with Gparted. If you can do backup and restore sucessfully with twrp, then you should be set!!
[Asus Transformer TF700] Unibrow:
Going to give this a whirl tonight, most likely; super pumped, hoping it truly makes a huge difference.
[Asus Transformer TF700] knefren:
?

I have C70KAS tablet, and tried these instructions with two different 32GB sandisk cards, TWRP and CWM recovery. Each attempt locks up recovering \data to the sd card. I can install data2sd from recovery, but android will continue to crash during initial configuration.

Woe is me, I guess... :confused:

Does anyone have a better recommendation of a sd card to use on a C70KAS version of this thing?

Thanks
[Asus Transformer TF700] buhohitr:
I would recommend Sandisk, class10, 30mb/s UHS-1.

http://www.amazon.com/SanDisk-micro...qid=1357769334&sr=8-5&keywords=sandisk+30mb+s
[Asus Transformer TF700] knefren:
Thanks for your reply, but just bought one of those on Amazon last week, in "frustration free" packaging, if that matters. It seems to be solid when it's formatted as FAT32, and I did a successful surface test in MiniTool Partition Wizard after I created the ext4 partition. Could it still be bad somehow?

Thank you.
[Asus Transformer TF700] buhohitr:
I believe that MiniTool is HIGHLY NOT RECOMMEND to create ext4 for the sdcard. You MUST use Gparted to create or format your sdcard or you may brick your sdcard if continue to mess around with Minitool or any Windows format base tools.
[Asus Transformer TF700] Slammin:
You actually can use MiniTool but I can guarantee you will have problems if you do not fsck the ext4 partition via adb shell before using it.

Incidentally, if you do encounter a bootloop weeks down the road, you can usually fix it by using adb shell to fsck again. I assume fsck will not find problems with the ext4 partition created via GpartD,
[Asus Transformer TF700] knefren:
I'm assuming you do this after you install mount-data2sd.zip. I'll try Gpartd as soon as I'm able

Thanks for the good info!

Edit - Used GPartD to create the ext4 partition, and everything went smooth as silk. Thanks again!
[Asus Transformer TF700] CeeJayII:
I'm posting this just in case anyone runs into the same problem I did. I flashed Cleanrom 3.1 with fsync disabled and seeder's mod endabled, rebooted, then flashed data2sd 3.3. Upon reboot, everything seemed fine but every time I pressed the power button the tablet would reset. I tried to restore nandroid backup and was bootlooped thereafter. I then decided to flash Cleanrom 3.1 again and was able to boot. Upon flashing data2sd, I was bootlooped again. I tried flashing cleanrom 3.3 then data2sd 3.3 and had bootloops. Basically, anything I did with data2sd caused a bootloop. In order to fix this I had to use Gparted to repair the ext4 partition on my microSD stick. Once I did this everything went back to normal. I'm not sure if it was fsync disable that corrupted my ext4 partition but I'm guessing it was the culprit. Hopefully this will save someone a headache in the future.
[Asus Transformer TF700] sbdags:
Let me check what is in the data2sd file. Sounds like it is based off 3.0.3 rather than 3.0.4.
[Asus Transformer TF700] steveman29:
Is there a modified version of clemsyn's last kernel version(700gpu) for data2sd? If not could you mistar muffin make one?
[Asus Transformer TF700] sbdags:
Unfortunately the data2sd3.0.3 file for CROMI overwrites my newer 3.1 framework (includes APM) with the older version that is not compatible. I've pm'ed Mister Muffin to see if he can rebase it. Until then you should flash the following to get it to work :)

cromi-3.1-data2sd.zip - 15.15 MB
[Asus Transformer TF700] CeeJayII:
Thanks for the quick reply and fix. Will flashing this data2sd overwrite Clemsyn's 700gpu kernel if I have it installed? Are there any cons to flashing this versus waiting for Mr Muffin?
[Asus Transformer TF700] sbdags:
No idea on mr muffin but yes this incudes what-ever-kernel was in data2sd3.0.3. if you have a better one just flash it after.
[Asus Transformer TF700] Slammin:
sbdags, which kernel does this one install?

edit: nvm, but I thought installing a different kernel after using the d2sd would install a non-d2sd kernel. For instance, I cannot install one of your kernels if I'm using d2sd, correct?
[Asus Transformer TF700] sbdags:
The same kernel that mr muffins patch installs - just checked its a modified stock kernel. He also has the clemsyn ones available in the OP. All I did was took the data2sd3.0.3 patch by mr muffin and replaced the framework-res.apk file with the correct one.
[Asus Transformer TF700] CeeJayII:
Just flashed your Odexed 3.1 with data2SD and Clemsyn's universal data2SD kernel. Infinity feels smoother than ever before, big difference between 3.4 on data2SD and 3.1 on data2SD. Good work man.
[Asus Transformer TF700] bluntman420:
I know this has probably already been said but I am kinda confused about the whole process. I want to start fresh with latest cromi, data2sd, and the 1.8 700gpu at 1450mv. Could someone please let me know the steps I should take. I am fine with the Sdcard formatting. Thanks!
[Asus Transformer TF700] aznmode:
Can you also patch the clemsyn650 to work with cromi 3.1? That one works with 3.0.4 but also gets the reboot when holding power button down. TIA. Or does it need to be a completely separate one for it cromi 3.1?

---------- Post added at 05:16 PM ---------- Previous post was at 05:04 PM ----------

If you've already formatted the micro sd and want to start clean here's what I did.

** do not reboot in between

In recovery do the mountdata2sd and then wipe: factory, cache, dalvik. (for a fresh clean slate)

Do mountdata2sd again and flash cromi 3.1

Then flash the 3.1 data2sd that sdbag just posted a page prior

Reboot and it will take you to the Welcome setup

If you want to restore a cromi3.1 back up (backup preferably be in the micro sd card)

** do not reboot in between

In recover do the mountdata2sd and then wipe: factory, cache, dalvik

Do mountdata2sd and do a restore, select the externalsd and go to the twrp folder where the back up is saved and then do a restore

Then flash the 3.1 data2sd that sdbag just posted a page prior.

Reboot and you should now see your previous backup restored but running off the ext4 partition.

Here's how I confirm I'm running data2sd mod (maybe theres a better way).

Settings > storage

I see my sdcard partition 1st, internal 32gb (27gb remaining) second

Lastly to use overclock kernel with cromi 3.1 just go back to recovery and straight flash the clemsynTFuniversal650GPUver7 in the 1st post.

Do not use any of the Clemsyn oc kernel in his kernel thread as those do not have the data2sd mod unless you want to revert back into booting from the internal sd.
[Asus Transformer TF700] bluntman420:
Thanks for the instructions aznmode.

Mistar Muffin, is there any way you could please modify clemsyn's latest 1.8ghz cpu 700mhz gpu at 1450mv kernel?

I have noticed a slight improvement in gpu intensive tasks and it is the kernel I would really prefer using. Thank you for the mod and the work you have put into it.
[Asus Transformer TF700] sbdags:
It should be OK now I've checked the installation files and they only flash the kernel and the CPU governors.
[Asus Transformer TF700] thrutheeyes:
Anyone got any benchmarks for tf300 with data2sd or something similar? Just want to see if there is an actually solid proof evidence.
[Asus Transformer TF700] aznmode:
I've tried it and seems to not affect the APM thus not rebooting but I do notice that with that kernel I dont see my internal 32gb and only see my 16gb ext4 and 16gb fat32 partition so its borking something or just not 100% compatible. Any ideas? When I go back to 3.1data2sd I can see my internal 32gb (27gb available) along with the other 2 partition.
[Asus Transformer TF700] smalis:
Dude, thank you for that. After trying to get this workig for weeks, this procedure did it. Definitely improves overall tablet performance.
[Asus Transformer TF700] llcooljayce:
Can anyone please provide me with updated instructions with links to files to download?

I am running at TF700T with CleanROM 3.1 Inheritance and Kernel 3.1.10

I am a bit confused with 91 pages of different comments and instructions ... can someone please point me in the right direction? Thanks!
[Asus Transformer TF700] bluntman420:
When i run androbench on my tf700t i score way above .2mb/s. sequential read=14 mb/s seq write=183mb/s random read=5.38mb/s random write 375mb/s.

I can consistently reproduce these results. Have asus starting shipping infinities with faster nand? And do i even need this mod with those speeds? Thanks.
[Asus Transformer TF700] buhohitr:
That because you have fsync disabled and the random write is just a bogus number.
[Asus Transformer TF700] bluntman420:
I see. So if i reinstall cromi and enable fsync i will get realistic results? Thanks.
[Asus Transformer TF700] sbdags:
Sorry I don't know. We need Mr Muffins help here.
[Asus Transformer TF700] Unibrow:
I tried partitioning the sd card in windows 7 and the tablet was bootlooping. Installed Ubuntu on on a usb drive and booted into Linux that way to partition the drive with gparted. Tablet still lags a little but it's substantially better, especially browsing.

Big thanks to you, Mister muffins

Should note I'm running the latest stable release of cyanogenmod
[Asus Transformer TF700] buhohitr:
Yes, it should. Without fsync disabled, you should see the random write speed of yur sdcard.

---------- Post added at 12:12 PM ---------- Previous post was at 12:09 PM ----------

Have you tried Cleanrom 3.1?? you shouldn't see lag in this rom.

---------- Post added at 12:22 PM ---------- Previous post was at 12:12 PM ----------

Did you read my instrustion? here you go again:

Originally Posted by buhohitr View Post

1. Format micro sdcard with first partition fat32 with 4gb and the rest as second partion as ext4, both primary

2. Copy "mountdata2sd" (http://d-h.st/pPe) and "Cleanrom_data2sd3.1" (http://d-h.st/vpC) to the fat partition. Turn off you device

3. Insert micro sdcard then boot into twrp and do a full backup of your setup to the fat32 partition which label as external in twrp

4. while still in twrp, flash mountdata2sd, the do a restore from the backup.

5. Now flash Cleanrom_data2sd3.1, then reboot.

Done with all your previous setup is now on data2sd.
[Asus Transformer TF700] llcooljayce:
Anyone know how long it should take to restore from the backup? I am sitting here at the 25 minute mark and the progress bar is stuck half way. The information provided is:
[Asus Transformer TF700] buhohitr:
It depended on how many apps you installed, took me 5min for about 50 installed apps. 645mb for System, 575mb for data and 8meg for boot. When you did the backup, did you left everything as default settings? I believe you should ony have the following checked in the backup menu: System,data and boot and "using external SD. Don't backup recovery and cache and don't enable compression.
[Asus Transformer TF700] llcooljayce:
I can't remember what I had checked off but I do remember checking off extra things. I am running up on the hour mark and stuck at the same place.

How bad of an idea would it be to restart the system and re-try the restore?
[Asus Transformer TF700] buhohitr:
Well it stucked, you need to power it down, boot back into recover and do the mountdata2sd then do the restore, but make sure only select System,data and boot see if that help.
[Asus Transformer TF700] llcooljayce:
So I erased the original backup using my desktop computer, turned off the TF700, inserted the MicroSD and backed up the data with default settings. I then flashed MountData2SD and tried to restore to the backup. I am now stuck but instead of at 50%, its more like 60% ... any ideas?

Also if I can't get it to work, is there anything I need to do to get everything back to normal (ie. boot into CleanROM without any hangover effects of my latest foray into improving the performance of the TF700)?
[Asus Transformer TF700] buhohitr:
OK, let try this see if the issue is with data2sd or something else. Turn off your device, boot into twrp and do a restore. See if that works. BTW what version of TWRP are you using?
[Asus Transformer TF700] llcooljayce:
It is TWRP 2.3.3.0

I assume I should be restoring from the backup I made the MicroSD?
[Asus Transformer TF700] buhohitr:
Yes from a good backup you just did for your O/S (the backup that you did BEFORE you mess around with data2sd). Also how did you format your micro sdcard and what tool did you use?
[Asus Transformer TF700] llcooljayce:
Restored just fine. Must be an issue with data2sd ... any suggestions?
[Asus Transformer TF700] buhohitr:
How did you format your sdcard??
[Asus Transformer TF700] llcooljayce:
Used MiniPartitionWizard

Partition 1: 4.36GB (FAT32)

Partition 2: 59.64GB (EXT4)

Both set as primary drives
[Asus Transformer TF700] buhohitr:
That's your problem right there. You must use Gparted. Minipartition tools seems to work but it doesn't. So try again with same setup just use the Gparted instead.
[Asus Transformer TF700] llcooljayce:
Is Gparted runable on Windows machines?
[Asus Transformer TF700] buhohitr:
No, you need to download Gpart image file then burn to your cd, then boot your pc using this cd. Alternatively, you can install it to your usb stick and bootup from usb stick or you can install ubuntu as a dual boot to your windows.(download the install file then run the install, it will automatically create a dual boot for your Windows PC)
[Asus Transformer TF700] llcooljayce:
Got it partitioned using Gparted. Running backup now ... I'll check in once I am done but I've got a good feeling about this! Thanks so much buhohitr!
[Asus Transformer TF700] buhohitr:
The worst may not be over yet, I found that twrp 2.3.3.0 is not as stable as 2.3.1.0. You may (50/50) have issue with /data/media parition..let hope NOT....will see!!
[Asus Transformer TF700] llcooljayce:
Looks like it worked. Backup, flash data2sd, restore, flash cromi, reboot.

I would expect that my quadrant scores should increase now? How else can I tell if I did everything correctly?

---------- Post added at 09:50 PM ---------- Previous post was at 09:47 PM ----------

My quadrant scores have declined.

With CleanROM on Balanced, I had a score of 4868 and on Performance I was at 6063.

With Data2SD on Performance, my score was 4444 ...

Any thoughts?

---------- Post added at 09:53 PM ---------- Previous post was at 09:50 PM ----------

Just re-ran Quadrant and the score is now 5678 ... maybe it takes some time to stabilize?
[Asus Transformer TF700] buhohitr:
Nice!! the only 2 things you need to verify is

1. Is it using your sdcard? (turn off your device, removed your sdcard, then boot up. It should failed with encryption error. Turn off, re insert the card, then reboot)

2. Journaling should be disabled.(connect your usb cable while the device is on, on your pc use adb and execute this command: tune2fs -l /dev/block/mmcblk1p2 | grep features then hit return, if you see the word "has_journal" then is not yet disabled, you need to disable it.
[Asus Transformer TF700] llcooljayce:
#1 is set up correctly

#2 - When I run the command 'adb tune2fs -l /dev/block/mmcblk1p2 | grep features', I get

'grep' is not recognized as an internal or external command,

operable program or batch file.

Running Windows 7
[Asus Transformer TF700] _that:
Type "adb shell", then Enter. Then you get the TF700's prompt. There type the rest starting with tune2fs.
[Asus Transformer TF700] llcooljayce:
C:\Users\llcooljayce>adb shell

root@android:/ # tune2fs -l /dev/block/mmcblk1p2 | grep features

tune2fs -l /dev/block/mmcblk1p2 | grep features

unknown option -- lBusyBox v1.20.2-linusyang (2012-08-12 21:41:27 CST) multi-call binary.

Usage: tune2fs [-c MAX_MOUNT_COUNT] [-i DAYS] [-C MOUNT_COUNT] [-L LABEL] BLOCKDEV

Adjust filesystem options on ext[23] filesystems

1|root@android:/ #
[Asus Transformer TF700] buhohitr:
Sorry, I though you are familar with this process. Here is the details:

Boot into TWRP (home screen) and then open a command prompt on your computer where adb is.

Type adb shell then hit enter,

then type

tune2fs -l /dev/block/mmcblk1p2 | grep features then hit enter
[Asus Transformer TF700] llcooljayce:
When I am TWRP, Windows doesn't recognize that the TF700 is connected ... any thoughts?
[Asus Transformer TF700] buhohitr:
You can do it with another method:

1) Boot into TWRP, then go to Advanced/Terminal Command

2) Navigate to the /dev/block folder and press "Select Folder".

3) Enter the following commands in the Terminal Command window from the thread you referenced:

4) tune2fs -l mmcblk1p2 | grep features

4) IF you don’t see “has_journal” in the resulting output, journaling is disabled.
[Asus Transformer TF700] llcooljayce:
has_journal shows up in the output. How dobi disable it?

---------- Post added at 10:55 PM ---------- Previous post was at 10:44 PM ----------

I tried following some XDA instructions but got some errors

http://i.minus.com/jboHHxY6TwL4Ox.jpg

What am I doing wrong?
[Asus Transformer TF700] buhohitr:
Go into TWRP and then open a command prompt on your computer where adb is.

Type adb shell and enter it then type the following commands one at a time.

or do the same in the twrp -> advance->dev->block

umount /data

umount /sdcard

e2fsck -f /dev/block/mmcblk1p2

tune2fs -O ^has_journal -c 1 -i 1d -m 0 /dev/block/mmcblk1p2

e2fsck -f /dev/block/mmcblk1p2

Watch out for the fourth line, after tune2fs, that is a capital O not a zero. The one further along the line is a zero.

To check if it has worked type the follwing:

tune2fs -l /dev/block/mmcblk1p2 | grep features
[Asus Transformer TF700] llcooljayce:
I get the response

Need terminal for interactive repairs.

After going through the steps I still have journaling enabled
[Asus Transformer TF700] buhohitr:
So you booted into twrp, then go to "advance"-> "Terminal Command" -> tab on dev folder -> tab on block folder ->tab on "select folder" button, then type in command line ONE by ONE. After each one after hit enter, you should see the result for each.
[Asus Transformer TF700] llcooljayce:
Followed your instructions above to a T but for some reason, when I run the e2fsck, I get the error 'need terminal for interactive repairs'. Here is the full output of the commands and their responses:

Sections in bold were the commands sent via the terminal
[Asus Transformer TF700] buhohitr:
If tablet is running, boot into TWRP. Navigate to the /dev/block folder. Only do the command once. Do not repeat them. The correct display should be:

/dev/block # umount /data

/dev/block # umount /sdcard

/dev/block # e2fsck -f /dev/block/mmcblk1p2

e2fsck 1.41.12 (17-May-2010)

e2fsck: need terminal for interactive repairs (just ignore this).

/dev/block # tune2fs -O ^has_journal -c 1 -i 1d -m 0 /dev/block/mmcblk1p2

tune2fs 1.41/12 (17-May-2010)

Setting maximal mount count to 1

Setting interval between checks to 86400 seconds

Setting reserved blocks percentage to 0% (0 blocks)

/dev/block # tune2fs -l /dev/block/mmcblk1p2 | grep features

Filesystem features: ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file ........

I never try this command with TWRP 2.3.3.0, I only can confirm with TWRP 2.3.1.0
[Asus Transformer TF700] llcooljayce:
Ran the commands again ... has_journal still shows up ... any other thoughts?

---------- Post added at 04:09 AM ---------- Previous post was at 03:59 AM ----------

I rebooted and re-ran the commands and somehow it worked!

THANK YOU SO MUCH buhohitr!

I really, really, really appreciate how much time you spent walking me through this! You are really a gift to XDA and what forums like this are meant to be!

THANK YOU!
[Asus Transformer TF700] lartomar2002:
I have been lurking in the background and following this also and I also would like to commend buhohitr for all that he has contributed to this thread. I learned a lot.
[Asus Transformer TF700] buhohitr:
Haha, are you CIA or FBI !! lol.

I thought you're going to ask me how can I re-enable journaling??!!!