yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] WHahn:
I've been trying to get this data2SD working multiple times now... always given up and tried again a view weeks later, because the tablet is soooo laggy!

after the great list copied from lmorel12 i am stuck with the first point....

GParted has finally worked. Set the boot flag on the ext4 partition and the first fat32 with 130mb hast the files and i see them in twrp.

when making the nandroid i can choose in the menu from:

"backup" and "backup to internal SD card" ...... when i choose "backup" it tries to back it up on the 130mb fat32 partition.

how do i get it to backup the file on the ext4 partition?? thanks so much for your help!

Action:

1. In TWRP, take a nandroid - backup to the external microSDcard

2. Flash mount-data2sd.zip

3. Restore the backup you just made

4. Flash cromi-3.2.x-data2sd.zip

Optional: flash that-kernel-10.4.4.25-1-data2sd.zip (or the overclock version, that-kernel-10.4.4.25-1-oc-data2sd.zip). I personally find the Clemsyn kernel flashed by cromi-3.2.x-data2sd.zip works fine.

5. Reboot - Done. You should see all your stuff, but now it's running on data2sd.
[Asus Transformer TF700] lartomar2002:
smails, Are these the steps you used to install data2sd using a SanDisk 64gb class 10 UHS-1 Micro SDcard? Did you diable journaling. Also, I have used the app GL to SD to move Gameloft and some other games large data files to the removable microsdcard which is the UHS-1 sdcard, should I not use that app anymore? I of course plan to transfer the files from that card to my pc before I format it.
[Asus Transformer TF700] MartyHulskemper:
Yes, these are the steps to install data2SD -- I followed exactly te same procedure (I know of no other way, hahaha!). :)

As for the game data symlinking app: I'd advise you against using it. The reasons are simple:

1) The most common reason for tranplsanting larger game data files to the SD card is storage concern -- we have none.Or, rather, you shouldn't have, unless you have 20 movies on any storage partition. ;)

2) The other consideration with our 700s is the microSD being faster than internal storage -- since with data2SD you'll already are storing your data on a faster card (actually the same card you would transplant to!), you'll actually have experience the (minor) performance impact of symlinking from one directory of your data partition (which is then on microSD already) to another on the same card. No use in doing that. ;)
[Asus Transformer TF700] lartomar2002:
What should I do with the game data already there? Do I delete it and re - download it after the swap? BTW, on the other thread and the question about Swiftkey, which kb do you use?
[Asus Transformer TF700] smalis:
Those are the steps I used successfully with this card: SanDisk Ultra 32 GB microSDHC Class 10 UHS-1 Memory Card 30MB/s http://www.amazon.com/gp/product/B007XZM6VG/ref=oh_details_o03_s00_i00?ie=UTF8&psc=1

I was not able to get it all working with the faster SanDisk Extreme Pro 16 GB microSDHC Class 10 UHS-I 95MB/s Memory Card http://www.amazon.com/gp/product/B008RJU3T4/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1

I did disable journaling. I do not know about the app GL to SD.
[Asus Transformer TF700] MartyHulskemper:
I'd wager MiniTool is your problem -- please, please, please, use gParted.

Can we not SOMEHOW add this to the first post? I've pm'ed the OP, but haven't yet gotten a reaction. If this goes on for another week, I'll set a mod on this. This is getting out of hand -- MiniTool is the devil as far as data2sd is concerned!

You could copy it over from /sdcardi (your internal storage) no problem -- that's what I did with app data (I hardly play games at all on my Infinity).

I use the dock, for my 700 has only come out of it less than a dozen times. ;) I find most soft keyboards very awkward to use on this size anyway: my father-in-law has a Samsung GTab 10 and I really hate to soft-type on it! Luckily, he has bought a Bluetooth keyboard so I can help him out without (or with less) frustration. ;)
[Asus Transformer TF700] FearlessSpiff:
Thanks! I once asked how to this for myself but didn't get an answer. Was it answered back sometime? Or did you find a tutorial?
[Asus Transformer TF700] borgmanjayce:
I'm using my netbook to create the partitions on my 64GB Sandisk MicroSD card and I've created two partitions; one of just under 50GB for things like videos and movies in NTFS format with the drive letter of F and a separate one of 10.45GB in ext4 format for the /data partition.

I was wondering if the ext4 partition is supposed to have a drive letter or not so it can be viewed in Explorer.
[Asus Transformer TF700] MartyHulskemper:
Nope -- that's a Windows thing, and Android doesn't dabble in drive letter assignments. You will never even see this partition under Windows, if all goes well. ;)
[Asus Transformer TF700] borgmanjayce:
That's good to know although I'm a bit worried that I've done it wrong in MiniTool even though I've read the instructions over and over.
[Asus Transformer TF700] smalis:
As has been said many times, use GParted instead of Minitool
[Asus Transformer TF700] lartomar2002:
Marty, I am just the opposite with the dock. It is very handy when wanting to use a regular sdcard, usb and when typing long emails and letters. Being retired I like kicking back in my recliner with the foot rest up and hold it with one hand, the dock is not very stable on my stomach. Anyways I am trying the Hackers kb and so far it is working great. Wish I knew how to have cut your reply to me out of the two part respose to me and BabelHuber so as to show I was responding to you and not trying to hijack the thread.:)
[Asus Transformer TF700] MartyHulskemper:
Oh, just click "Quote" and delete the most uninteresting passages (and get your own comments between quote tags if they're interjecting a sentence. The editing wouldn't leave too much in to quote all-in-all, but... it's possible. ;)
[Asus Transformer TF700] primaleph:
I believe this is what happened to me. How do I reenable journaling?
[Asus Transformer TF700] ariadnejro:
You need a computer running Linux.

Extract the MicroSD from your Infinity and insert it in the computer.

Find out the name of the ext4 partition, normally it will be /dev/mmcblk0p2.

Type the following commands in a terminal:

umount /dev/mmcblk0p2

e2fsck -f /dev/mmcblk0p2

tune2fs -O has_journal /dev/mmcblk0p2

e2fsck -f /dev/mmcblk0p2

You can check the journaling on/off status with:

tune2fs -l /dev/mmcblk0p2 | grep features

To reenable journaling use the same commands but with the line:

tune2fs -O ^has_journal /dev/mmcblk0p2
[Asus Transformer TF700] huppe:
Follow the link "TweakerL's" on my post you quoted. I only included init.cardhu.rc and fstab.cardhu changes like in the original.
[Asus Transformer TF700] FearlessSpiff:
Great thanks! Looks easy enough. Did you try to also move the cache to the external sd? What are/could be the speed improvements?

---------- Post added at 01:29 PM ---------- Previous post was at 01:25 PM ----------

I also saw this difference? What is in framework-res.apk what we are missing if we only change the mounting points?
[Asus Transformer TF700] huppe:
I did not. This was just something I did to prove myself I could do it. Really don't know how much moving the cache would help. I could try it out today and I have no idea about the framawork-res.
[Asus Transformer TF700] primaleph:
Are there any other disadvantages to leaving journaling enabled besides a loss of some speed? The data2sd guide makes it seem like disabling journaling isn't optional, which is why I did it in the first place.
[Asus Transformer TF700] huppe:
Just booted ALL2SD will see if there is any benefits from this :D
[Asus Transformer TF700] buhohitr:
You will double your random write speed when you disabled journaling. You can enable or disable journaling as you wish.
[Asus Transformer TF700] primaleph:
Will enabling journaling decrease the likelihood of errors on my ext4 partition? I assume that it will, but just checking.

It seem like Browser2RAM and data2sd do not play well together. I narrowed down my browser crashes to this combination. Now that I'm using data2sd with Browser2RAM disabled, my browser crashes are gone. Has anyone else experienced this issue? If so, it might be good to warn people in the main TF700 threads and CROMI not to combine them.
[Asus Transformer TF700] MartyHulskemper:
I'm definitely not saying this is not the problem you're having -- I believe you -- but I have been running Browser2RAM for a pretty while without any issues, be it on normal storage or with data2SD. Are you sure it's not a dirty flash or an issue with your memory card?
[Asus Transformer TF700] primaleph:
I doubt it. I just erased and repartitioned the card with GParted, and it isn't very old.
[Asus Transformer TF700] FearlessSpiff:
Any news? I just had a look at the cache partition. It seems to be pretty empty...
[Asus Transformer TF700] huppe:
Already buried this. Didn't get any noticeable performance boost and decided to try turning off the journaling. Even with journaling disabled the performance was poor when comparing to CROMI. I also started to experience random reboots quite frequently (surprise surprise) Now I am back on CROMI and Ubuntu dualboot and couldn't be happier and the 4.2 layout is just awful. I am happy Asus will give us a option to disable it when they release the 4.2.
[Asus Transformer TF700] ishbuggy:
I am having the same issue as primaleph. I cannot run the e2fsck linux commands though, because it is saying my partition is corrupted. I am worried about repartitioning and wiping my microsd in gparted again. I just bought this card, and the last one I tried ended up being unusabely broken. Are there any other steps I can take to make sure I don't end up with a dead microsd?

edit: the error I am getting when I attempt to run the commands is "couldn't find valid filesystem superblock"
[Asus Transformer TF700] _that:
On which Linux machine are you running e2fsck (on the tablet or on a PC?), and which command was it exactly?
[Asus Transformer TF700] ishbuggy:
On an ubuntu laptop running 12.10. The card was mounted at /media/username/9ca815c5-9f09-4fc7-8523-d40167fe40e8. This seemed kind of weird as a mount point, but I went with it. Also, before doing any of this I noticed that I could not write to the card, instead getting an error message stating it was mounted read-only. I ran the "umount <device>" command and it succesfully unmounted the device. Then I ran "e2fsck -f <device>" and it gave me the error:

"The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>

I then attempted to run the next command, "tune2fs -O has_journal <device>" but I got the "Couldn't find valid filesystem superblock" error.

I did notice however, that my device is no longer mounted as read-only for some reason, in both the 1st 800 MB fat32 partition and the 2nd ~31GB ext4 partition.
[Asus Transformer TF700] _that:
Did Ubuntu automount both partitions or only one? What is "<device>" exactly in your case?

What does fdisk -l <device-without-partition-number> say?
[Asus Transformer TF700] ishbuggy:
[/QUOTE]

Ubuntu automounts both partitions. I tried unmounting only the ext4, and also unmounting both. <device> refers to the mount point of the ext4 partition, in my case that long string of presumably hex or something?

fdisk -l <device-without-partition-number> returns "last_lba(): I don't know how to handle files with mode 40771" I am unable to quickly find information on that error.
[Asus Transformer TF700] _that:
That's not the device, that's the mount point. If you type "mount", you get a list of "<device> on <mountpoint> <options>". You need to specify the device for e2fsck and tune2fs.
[Asus Transformer TF700] ishbuggy:
Okay. /dev/sdb2 is the device. The e2fsck -f /dev/sdb2 commands returned permission denied while trying to open /dev/sdb2. You must have r/w access to the filesystem or be root. I tried sudo, but it returned /dev/sdb2 is mounted. e2fsck: cannot continue, aborting.
[Asus Transformer TF700] _that:
sudo -i

umount /dev/sdb2

e2fsck /dev/sdb2

...
[Asus Transformer TF700] ishbuggy:
e2fsck returns: clean, 11268/1896832 files (3.4% non-contiguous), 1172197/7586560 blocks

tune2fs -O has_journal returns: tune2fs 1.42.5 (29-Jul-2012)

Thanks for your help! I have reenabled journaling. Previously my infinity was stuck in a bootloop on the boot animation. Should I wipe my partitions and re-install CROMI before I use the microsd again for data2sd, or should I just plug it in and try to boot as if nothing happened?
[Asus Transformer TF700] _that:
Reinstalling CROMI has nothing to do with your microsd card, so if your installed kernel is data2sd-enabled, just plug it in and reboot.
[Asus Transformer TF700] ishbuggy:
I hate to be "that guy", but it seems to be in a bootloop again. The whole problem started when chrome crashed on my tablet a couple days ago. Everything froze until it restarted into a bootloop. I had data2sd and browser2ram running, if that even matters.

I finally got it working again by reinstalling CROMI and the 3.4.4 patch. No longer bootlooping. Thanks _that!
[Asus Transformer TF700] maframan:
Hi,

when update you this feature to work with clean rom 3.4.4?

BR

maframan
[Asus Transformer TF700] sbdags:
It already works with 3.4.4 .....
[Asus Transformer TF700] Darnell_Chat_TN:
So when I first setup Data2SD, there was a message box that said if I do a nandroid backup after setting up Data2SD that my ENTIRE MicroSD would be backed up. So if I went into CWM Touch and ran a backup, would it backup more than a Nandroid backup typically would? And if I ever wanted to restore that backup, it would only be usable in a Data2SD related restore right?
[Asus Transformer TF700] buhohitr:
That's correct. When you backup with data2sd setup, you're backing up the O/S that using data on your sdcard and all the data on your sdcard. When you backing up the NONE data2sd, you're backing up the O/S that using data on your internal memory and all the data in your internal memory. When you restore the data2sd backup, make sure you have a working fat32/ext4 micro sdcard and mountdata2sd first before you restore. If you restore a NONE data2sd, and you would like to use this for data2sd setup, first you need to mountdata2sd, do the restore then flash the data2sd zip, now you should have the NONE data2sd setup on your data2sd setup. Hope not too confusing!
[Asus Transformer TF700] lartomar2002:
Uh?:eek:;)
[Asus Transformer TF700] Darnell_Chat_TN:
I think I have it, I hope :D .

So a NONE data2sd nandroid backup can be used for either a NONE data2sd restore, or a data2sd restore if mountdata2sd is used first before the data2sd restore.

And a nandroid backup run with data2sd setup can be restored if mountdata2sd is run first. But that same backup cannot be used attempt a NONE data2sd restore can it? (I guess given we use a kernel that was modded for data2sd, it seems like a NONE data2sd restore of a full data2sd setup would not be a good idea.)

And a nandroid backup run with data2sd setup is not going to backup things in the "sdcard" folder(s) of the card, just the data items that are typically done with a nandroid backup? Only difference is its the data stuff that is on the SD card, right?

If that's alright, I think I'm looking at this the right way. Given the warning note, I just wanted to be sure I understood correctly.
[Asus Transformer TF700] buhohitr:
This is how I did it. I only have 1 backup which is NONE data2sd, restoring this to a normal setup is pretty straight forward. However if I want to restore to data2sd, I just flash mountdata2sd then flash the data2sd_kernel. This way you only need to maintain 1 backup which can be use for both and they are pretty much the same setup. The beauty is you only have one to manage and it can be use for either.
[Asus Transformer TF700] maframan:
When I try to install a CleanROM 3.2.2: http://d-h.st/sCa - WORKS WITH CleanROM 3.3! the table not start and i have to do re-install a rom, why?

BR

maframan
[Asus Transformer TF700] sbdags:
Because you are using the wrong file. Go to post 2 of the cromi thread and download the 3.4x version ;)
[Asus Transformer TF700] electriczbif:
Hi all,

I'm running CROMI 3.4.4 with data2sd and I'm having the following issue: After a few hours after I have installed the ROM (full wipe), the tabled begins to crash or lock, and this is happening with increasing frequency until after a couple of days the tablet is unusable. I have tried CROMI 3.3, 3.4.1, 3.4.3 and 3.4.4, with and without browser2ram and fsync, with and without ext4 journaling enabled, results were the same. Also I have tested wit 2 microSD cards: SanDisk Extreme Pro 8GB and Kingston Class4 8GB, same issues. If I power off the tablet and connect the card to a Linux computer, every time e2fsck finds errors on ext4 partition: (Deleted inode has zero time, Block/Inode bitmap differences, Free block/inodes count wrong, etc), so I'm almost sure that the system crashes are due to file system coruption. Any ideas what can cause this and how can I solve it?

Thanks!
[Asus Transformer TF700] maframan:
Thanks a lot. even using the correct file I can not get it to work can you tell me how to install it. I install using twrp recovery.

The step executed are:

Install via recovery the cleanrom 3.4.1 --> 3.4.2 --> 3.4.4 --> Data2SD for 3.4.4 cleanrom

Thanks for your help

BR

maframan
[Asus Transformer TF700] aicfan71189:
Sweet!!!

This is my score from androbench. I backed everything up to a usb device, reformatted my Sandisk Ultra 32GB microsd in G-Parted, booted into TWRP and did a complete wipe of everything, including system, internal storage, and data. I'm running CleanRom Inheritance 3.4.4 and Hundsbuah v.1.8.4 data-2-sd kernel. My best score for random write yet.
[Asus Transformer TF700] FearlessSpiff:
Reproducible? If yes: What card?

Thanks!
[Asus Transformer TF700] aicfan71189:
Just did it again this morning. Random write is at 1.15 mbs. Staying true to where it's at. It's a Sandisk Ultra Class 10 32GB micro sd. I partitioned in G-parted like this. Set up fat 32 partition first, 4GB primary, but I put it after the Ext4 partition. Then made Ext4 partition with the rest primary, set boot flag, and put it in the first spot. As I said before though, I but the bullet and completely went with a clean install and transferred no data. Feels so smooth now
[Asus Transformer TF700] timeline62x:
For all of you cleanrom users, how does this mod compare to fysnc? Or does your tablet run more smoothly with both mods?
[Asus Transformer TF700] jb71592:
SanDisk Ultra 32 GB MicroSDHC Class 10 UHS-1

This is the score I just tried after looking at yours, and I am VERY surprised at the write speeds.
[Asus Transformer TF700] sbdags:
You have fsync disabled which skews the results. ;)
[Asus Transformer TF700] MartyHulskemper:
I have both data2sd and fsync disabled -- the effect, I'd say from eyeballing, is additive (fortunately). ;)
[Asus Transformer TF700] seven2099:
so that Sandisk SD class 10 card is the best one to use? (I hear the Extreme Pro is amazing.. and people have been using it on this thread.. however I'd like to confirm before jumping on board as these are expensive)

Between these two, which should I get?

SanDisk Extreme Pro 16 GB microSDHC Class 10

or

SanDisk Ultra 64 GB MicroSDXC Class 10

If choosing the extreme pro, is there really that big of a difference?

-From this post: Extreme Pro 16Gb I see that using this card does not seem to give higher performance over the 64 gb card...

Additionally, I've considered modding my keyboard and embedding a 60gig SSD which i have lying around to a USB2.0 controller and making that internal.

Can anyone confirm if Data2SD mod works on external/USB mounted harddrives?

What would it take to make that work?

I have the engineering part figured out of fitting the SSD inside the keyboard space, however I want to make sure this stuff boots so i can move my Android partition onto that.
[Asus Transformer TF700] _that:
How would you connect it? To the USB port? Wouldn't you permanently lose the ability to connect external USB devices? Or instead of the full size SD card reader? Or is there a another unused USB port inside the dock?
[Asus Transformer TF700] seven2099:
Using hub. Its pretty easy to split that into 2 USB ports.

The only concern would be power draw so that would to be the roughest part.

Other than that, thats the easiest part... the hardest would be simply removing the SSD casing, finding solid points to mount the chipset inside and finding the smallest footprint USB-SATA chipset (it would probably be taken from an external casing kit) - however 2 USB ports might be needed to power the device (depending on the chipset)
[Asus Transformer TF700] smalis:
Works great for me with this card: SanDisk Ultra 32 GB microSDHC Class 10 UHS-1 Memory Card 30MB/s http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1

I was not able to get it working with the faster SanDisk Extreme Pro 16 GB microSDHC Class 10 UHS-I 95MB/s Memory Card http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1 . Many posts in this thread about my struggles with the Extreme Pro card.

But, YMMV.
[Asus Transformer TF700] balldeep:
does the op still support this thread?

Hello all!

I have been looking into utilizing this tool for one of the latest ROMS either CROMI or CM 10.1.

Is this thread still supported by the OP?

Does it work on CROMI 3.4.4 or CM 10.1, wouldnt want to try and hit a dead end on support.. Thanx!
[Asus Transformer TF700] sbdags:
If you check the CROMI thread you will see the latest files posted for this. Post 2

I don't think it has been updated for CM10.1 for a long time.
[Asus Transformer TF700] balldeep:
thanks! i will look into trying it in the next few days!
[Asus Transformer TF700] huppe:
I did one few weeks back. It's somewhere in this thread. It works but the overall the performance of cm10-1 is poor compared to CROMI so gave up on it.
[Asus Transformer TF700] MartyHulskemper:
I have the Ultra 64 (red/grey), and it works really well. I, too, have heard it mentioned that the faster cards are apparently unsupported at this moment in time -- makes it easy: working, and more storage. ;)
[Asus Transformer TF700] attunezero:
I tried to use MiniTool to format my microsd (sandisk 32gb class10) to use with CROMI and it did not work. System booted but quickly after it crashed and went into a bootloop. I fixed this by firing up an ubuntu live cd and repartitioning the card with GParted. Once I repartitioned with GParted I had no more issues. Maybe the original instructions should be revised if MiniTool does not work?
[Asus Transformer TF700] Gefjon:
I experienced the same using MiniTool. Have not yet tried with GParted though.
[Asus Transformer TF700] sbdags:
Agreed the OP, Mista Muffin should remove minitool from the original guide. Noone has ever got it to work properly after formatting with that and it can cause more permanent damage.
[Asus Transformer TF700] _that:
Now it would be interesting what exactly MiniTool is getting wrong. Is it the partitioning or the ext4 format?