yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] buhohitr:
You need to mountdata2sd first for everything(wipe,install ROM etc...), except for when you flash kernel.

---------- Post added at 03:14 AM ---------- Previous post was at 02:39 AM ----------

Yes, cromi does copy some apps to data, rule of thumb is flash mountdata2sd first.

---------- Post added at 03:21 AM ---------- Previous post was at 03:14 AM ----------

OK, I tested your new cm10.1 data2sd kernel and it's working and now about performance between cm10.1 + data2sd vs Cromi +data2sd, clearly cromi stills faster and smoother in both quadrant and visual inspection. I also found couple things that not as good as stock, for example there are 1 bar on the top and 1 bar on the bottom that make the screen smaller, flash is not working for flash sites (just locked up), I can't find developer options, so I can enable some options..but the browser is a major draw back for me since I watch a lot of stream movies from them.

Edit: I found how to enable Developer section by some help from some ppl here. Thanks. After enabled force GPU rendering and turn off all animation, cm10.1 is noticeable faster, but none of the flash supported browsers ( stock, boat, Opera etc..) are able to access 10 movie stream web sites (yes I did side load Flash)
[Asus Transformer TF700] Darnell_Chat_TN:
It would be good if a section relating to mountdata2sd was added to the OP.
[Asus Transformer TF700] Mistar Muffin:
For most ROMS which do not copy anything to /data, you would not need mount-data2sd unless you intend to wipe. For a ROM like CROMI where you have the AROMA installer that copies non-ROM applications like Dropbox or TitaniumBackup to the /data partition then mount-data2sd would be required.

Quadrant scores are so easily influenced as to be almost useless. I also run force GPU rendering and that's why I felt like CM 10.1 was faster+more fluid. The notification bar at the top in addition to the nav bar at the bottom is the new UI that Google has designed in 4.2. It's the standard AOSP interface going forward and personally I don't stress too hard over 20 extra pixels. I haven't used Flash since it was pulled from the Play Store by Adobe. It may not even be a fault of CyanogenMod that it does not work. It's been so long since it has been updated, it may not work on any 4.2 based ROM. Now that ASUS has updated us to 4.2 can anyone running stock try sideloading Flash and trying it in a compatible browser? That would be a far more fair comparison than CM 10.1 (Android 4.2) to CROMI (Android 4.1). Glad you found developer settings...I don't necessarily agree with Google's attitude in hiding it although it isn't very hard to enable.
[Asus Transformer TF700] focusbra:
steps

Hello guys,

How Do I know if my tf700t is running on my sd card ?

Anyone can send me a step by step to how install data2SD ?

1)Boot on TRWRP

2)erase internal data

3)Install cromi-3.2.x-data2sd

4) installCleanROM 3.4.7 Inheritance ODEX_Signed

5) boot

that is it ??

thanks once again everybody
[Asus Transformer TF700] Zogars:
I get "Encription unsuscefull" on android. what is wrong?

------

Update: I wrongformated the SD card.

Problem solved.
[Asus Transformer TF700] Darnell_Chat_TN:
Here's what you want to do:

Flash mount-data2sd.zip

Flash CleanROM 3.4.7 Inheritance DEODEX v2_Signed.zip

(if you want _that's latest Kernel) Flash that-data2sd-detect-6.zip

(if you want _that's latest Kernel) Flash that-kernel-10.4.4.25-6.zip

Enjoy!

If you want to do any wipes, you would do those after step #1.

You may have to search for the necessary files.

cromi-3.2.x-data2sd is obsolete.
[Asus Transformer TF700] callousparade:
um. wow. with fsync off and the data2sd mod i'm getting a 250000% (yes, two hundred and fifty THOUSAND percent) increase in random write speed.

I wouldn't believe me either, so screenshots

thanked and donated! simply incredible.
[Asus Transformer TF700] _that:
That's because with fsync off you are now benching your RAM instead of the SD card. :)
[Asus Transformer TF700] awilson77584:
Thanks for the earlier help. I have my tab up and running again. I have Cromi 3.4.7 odex with that6. The scard, SanDisk 32gb, is freshly formatted to fat32 and ext4 using gparted.

My first attempt to move to data2sd this time, I tried to flash mount-data2sd in recovery (TWRP 2.4.4.0) and I get a red "Failed".

Do I skip mount-data2sd and go to the that data2sd patch? Should the reboot after the patch take a while to copy the sdcardi to sdcardi?

Thanks!
[Asus Transformer TF700] _that:
I think it fails on a completely empty filesystem because there is no /media directory (for /data/media) yet. I never tried to start from scratch, I always copied my existing data partition to the sdcard manually.
[Asus Transformer TF700] SolidHelix:
What is the quickest way to determine if data2sd is set up and working correctly? My internal storage in system info is showing as 27gb. And external is showing as 16gb. Is this enough to know for sure its set up right?
[Asus Transformer TF700] _that:
In a root shell, type 'mount'. If it displays that data is mounted on /dev/block/mmcblk1p2, it is set up and working correctly. If it is mmcblk0p8, it is your internal storage.

If you don't have adb access to your device and no terminal emulator app, go install jackpal's terminal emulator from the Play store.
[Asus Transformer TF700] SolidHelix:
Thanks that's all I needed to know. Been away for quite a while
[Asus Transformer TF700] callousparade:
That makes waaaaaay more sense. Knew those numbers had to be lying to me.

Still. Incredibly snappy with no lag at all. Better than it was pre data2sd no doubt.

Question about fstrim though, now it always says 0bytes trimmed from /data and /cache (still getting normal numbers for /system)
[Asus Transformer TF700] BloomTwig:
Data2sd is working great. There is just the slight issue that I cant use google play at all.. I get error -24 and install fails.. any advice?

Edit: I am currently using _that 6 with data2sd detect.
[Asus Transformer TF700] awilson77584:
I did a little more research. fdisk says the partition table is not valid. I used gparted on a fedora laptop with a USB sd card reader. Should I try a mkfs directly or use parted on the cmd line?

Thanks!

~~~~~~~~~~

Disk /dev/block/mmcblk1p2: 23.4 GB, 23425597440 bytes

4 heads, 16 sectors/track, 714892 cylinders

Units = cylinders of 64 * 512 = 32768 bytes

Disk /dev/block/mmcblk1p2 doesn't contain a valid partition table

//edit Fedora 17 fdisk thinks the ext4 partition is ok and mounts it.
[Asus Transformer TF700] _that:
That is expected - you should only partition the whole block device, which is mmcblk1. :)
[Asus Transformer TF700] awilson77584:
I booted into recovery and attempted to execute the commands in the mount-data2sd updater-script and it fails on the umount -f /data.

Any thoughts?

Thanks!

dexter:android arw$ cat updater-script

ui_print("");

ui_print(" Mounting microSD as /data");

ui_print("**********************************************************");

ui_print("* Wiping /data or a factory reset will wipe the microSD! *");

ui_print("* Making a Nandroid backup will also backup the microSD! *");

ui_print("**********************************************************");

run_program("umount", "-f", "/data");

mount("ext4", "EMMC", "/dev/block/mmcblk1p2", "/data");

ui_print("");

ui_print(" Mounting internal as /emmc");

ui_print("**********************************************************");

ui_print("* Choose zip from internal will still be internal files! *");

ui_print("* Use !microSD link under internal zip to access microSD *");

ui_print("**********************************************************");

run_program("mkdir", "-p", "/data2");

mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/data2");

symlink("/data2/media", "/emmc");

symlink("/data/media", "/emmc/!microSD");

ui_print("");
[Asus Transformer TF700] _that:
How do you know that it fails?
[Asus Transformer TF700] BloomTwig:
Please help! I am stuck at the slow speed of the internal memory... Do you think I need to reformat the sd-card? The mod works, but I can't install anything from play store...
[Asus Transformer TF700] evilnick:
I've spent countless hours attempting to get this to work. Please can someone provide simple instructions to go from CM10.1 installed on the internal memory to CM10.1 with /data moved to the external microSD card?

My microSD card has a FAT32 primary partition of ~50GiB and an ext4 primary partition of ~14GiB. I've got backups of everything (apps/appdata). I'm happy with using either TWRP or CWM in recovery. I'm even happy using fastboot to recover.

Each time I have flashed the CyanogenMOD 10.1 - beta2 kernel image then rebooted either:

The CM logo displays, animates and then reboots. This then loops. OR

the CM logo starts to display (but really faintly, you can just about see the image onscreen) and then the tablet reboots. This then loops. OR

the CM logo displays, animates and continues seemingly for ever. I've left this on for 30 minutes.

I welcome any advice.
[Asus Transformer TF700] buhohitr:
1. Boot into twrp and create a nandroid backup of the normal cm10.1

2. Flash mountdata2sd.zip

3. In the wipe section- wipe cache, dalvik cache and internal

4. Do a restore of your cm10.1, once done flash cm10.1 beta2 kernel (data2sd kernel).

Reboot, done.
[Asus Transformer TF700] evilnick:
Those instructions worked perfectly. Thanks very much for the help.

Please can the first post be updated to include these instructions?
[Asus Transformer TF700] awilson77584:
:o I apologize to all. The mount-data2sd worked after I unchecked the verify signed zip option. I am very ashamed ... //sheepish grin
[Asus Transformer TF700] scott7seven:
does this stay each time u flash a update to cromi, or do u have to do it all over again?
[Asus Transformer TF700] buhohitr:
Mountdata2sd.zip must be flashed every time before you flashing rom. It will reset every time you do a reboot.
[Asus Transformer TF700] scott7seven:
reset every time i reboot?, how so, and even on a normal reboot that has nothing to do with flashing??
[Asus Transformer TF700] garbe90:
for me after flashing the data2sd 10.1 kernel the tablet go always in loop at bootanimation. I tried also with backup and restore but the result is always the same. suggestions?
[Asus Transformer TF700] anachronis:
Have you updated your bootloader? In my case that was the only reason for getting into bootloop.
[Asus Transformer TF700] garbe90:
I've tried with 10.4.4.25 or 10.6.1.14.4 bootloader and the device goes in bootloop everytime. :(
[Asus Transformer TF700] smalis:
Which kernel specifically? Please describe the exact sequence of steps you took to install data2sd.

---------- Post added at 09:59 AM ---------- Previous post was at 09:58 AM ----------

Not necessary on normal reboots. It is only necessary if you are already on data2sd and you want to flash something in recovery. mountdata2sd tells the recovery that you are using data2sd, so the flash goes to the proper location. On normal reboots, Android will already be setup to run in data2sd.
[Asus Transformer TF700] garbe90:
1. Boot into twrp

2. Flash mountdata2sd.zip

3. Wipe cache, dalvik cache and internal

4. Flash cm10.1, gapps and cm10.1 beta2 kernel

5. Reboot and bootloop. :eek:
[Asus Transformer TF700] smalis:
I do not use CM10.1, but I took a quick look at the kernel thread and it appears that the kernel does not support data2sd: http://xdaforums.com/showpost.php?p=39961395&postcount=147 If I am mistaken about this, please let me know.

For compatible ROM's and kernels that support data2sd, the procedure is:

1. Complete wipe

Boot into TWRP

Flash mountdata2sd.zip

Wipe cache, dalvik cache, factory reset and wipe system (this clears out the ext4 partition on the external card)

Reboot into TWRP (to clear out the mountdata2sd setup)

Wipe cache, dalvik cache, factory reset and wipe system (this clears out the system partition on the internal sd card)

2. ROM install

Flash ROM

Reboot into Android

Once tablet has booted into Android, let it sit for a few minutes

Reboot into TWRP

Flash data2sd kernel

Reboot into Android

You then should have a working data2sd setup
[Asus Transformer TF700] garbe90:
sorry guys.. I've tried every method that you have suggested me but now the cyanogenmod bootanimation load to infinite..
[Asus Transformer TF700] buhohitr:
Are you on the 4.1.1 or 4.2.1 bootloader?
[Asus Transformer TF700] garbe90:
4.2.1
[Asus Transformer TF700] buhohitr:
I don't think 4.2.1 is working with data2sd at the moment, (mountdata2sd is not working with 4.2.1). If you want to try you need to flash back 4.1.1, then the mountdata2sd will work.

Edit: I probably need to retest this cause this rom is changing every day and the data2sd kernel is not, also the kernel is based on the bootloader 4.1.1. I know that 4.2 kernel can be use on 4.1.1 but not the other way around. Also make sure you're using 4.1 version of Gapps.
[Asus Transformer TF700] garbe90:
I've flashed back to 4.1.1 but the result is the same. I'm thinking that maybe I've wrong to partition the microsd.

I did 2 partition: one ext4 set to active and the second 8 mb unformatted using the minitool partition wizard. I do something wrong?
[Asus Transformer TF700] buhohitr:
OMG!! are you still using the minitool!! please use Gparted. Minitool is the main cause of data2sd is not working.

Edit: you should give the first partition fat32 at least 5-10gb to store rom/kernel and twrp backup. The second partition should be the rest with ext4 and both should set as primary.
[Asus Transformer TF700] garbe90:
sorry.. :D tomorrow I'll try because it's too late and I don't want throw the tablet outside the window.. :D : D
[Asus Transformer TF700] watsonmf:
Once you get set up with Gparted it might be a good idea to download the 4/2 CM nightly rather than the lastest ones.

The Data2SD CM10.1 kernel was built from the 4/2 nightly and recently Dasunsrule has been merging some of the changes from the Asus 4.2.1 release.

I don't know for sure, but this definitely has the potential to cause some problems.
[Asus Transformer TF700] Pretoriano80:
The 4.2.1 bootloader doesn't break Data2SD, but change in the cm10.1 kernel could if the latest Data2Sd is not updated against CM10.1 sources in a long time. .Also i basically the opposite,you can run a 4.1.1 kernel on a 4.2.1 bootloader but not a 4.2.1 kernel on 4.1.1 bootloader.
[Asus Transformer TF700] garbe90:
:(:( it's not working.. I don’t know which way to turn..
[Asus Transformer TF700] buhohitr:
Like I said before, I only test cm10.1 dated 4-2-2013 with 4.1 gapps and 4.1.1 bootloader with cm10.1_beta2 kernel, since you're using the newer version of everything excepted for the data2sd kernel, things may not working right.
[Asus Transformer TF700] garbe90:
I've tested with same settings without gapps but the bootanimation is always in loading.. maybe I'm unlucky.. :(
[Asus Transformer TF700] kokoon:
Every single time that I've set out to install CM10.1 (rather than update it with the built-in updater), that same thing happened to me. No matter how much I was sweeping, erasing, formatting every single partition I could think of. I just couldn't figure it out, getting stuck at the bootanimation spinning CyanogenMod logo. But I always managed to make it work somehow in the end. No idea how, unfortunately. I was just trying more of the same and it started working at some point.
[Asus Transformer TF700] scott7seven:
i use the latest cromi...pretty new to roms but have a 64 gig mini ultra sd, class 10, and a 32 gig asus tf700t......i have quite a few big games, and sure will be additional things that r large in the future....i thought it would be better to use the bigger amount as my installable sd.............................my questions are........ it says u have to wipe and do a factory restore as i understand each time u flash an update to cromi or a rom, does that mean whatever on the internal sd will have to be backed up and restored every time, cause it will be wiped.....and does that same thing go for everything on the external sd, which sounds really time consuming?...............also, as iv heard, im assuming uwill no longer be able to use the internal sd for installs if you use data2sd, is that correct?......and is there really a big speed difference in using the class 10 as ur installable, as i have heard its faster then asus?
[Asus Transformer TF700] buhohitr:
1. When you do a factory reset all your application data will be wipe, but your download/storage will not (videos, music, pictures etc...).

2. Once on data2sd, you still can access your internal storage. If you decided to keep your download stuff on the internal, then you need to remember NEVER wipe internal or format sd while in normal setup (none data2sd setup).

3. Personally, I won't keep any good stuff on internal storage, because sometime you do need to wipe internal. So keep them on the external sdcard instead.

4. Data2sd is really stand out as far as storage is when you have a 32gb device and you can convert it to a 64gig device, but many ppl here would like to use the internal as well (greedy), then you need to manage both correctly or possible wipe all your stuff by accident. Must be careful.

5. Once you on data2sd, the O/S (rom/kernel/system apps) are still installed on the internal, only download apps/settings/app cache are using the external card. Once you go back to normal mode, you will be using your internal as usual.

Hope I answered all your questions.
[Asus Transformer TF700] scott7seven:
ok so you are saying once you switch to micro, you can only install apps there but still can use the internal sd for storage?.........and to be careful what you keep on internal sd if you do, cause sometimes u have to completely wipe it?......but whats on micro will always stay there even after a flash, and you wont have to reinstall those things or reput the data back on the micro?.......and what about the performance verses installing apps on micro and internal sd?........sorry for all the ?'s, just trying to understand......
[Asus Transformer TF700] buhohitr:
OK, on your micro, you have 2 partitions, the first one is used to keep your stuff (rom/kernel zip files, movies, photos, your backup etc..). This will stay, not matter what (unless you format the micro card). The second partition is acting just like your internal when you're using data2sd, so a wipe internal after you flashed mountdata2sd, will wipe the second partition of the micro card. If you didn't flash the mountdata2sd, when wipe internal, it will wipe your internal storage. So to be safe keep all your imporant stuff on the first parition of the micro sdcard. About performance, data2sd won't make your device faster, but smoother specially during multi tasking and the results depended on the kernel/scheduler/goveror settings.
[Asus Transformer TF700] scott7seven:
how big can my keep all partition beon micro, that i never have to wipe off when flashing??
[Asus Transformer TF700] buhohitr:
That depended on your style, like me I don't install 200+ applications on my tab, so I only need around 10gb for my OS and apps (second partition, ext4), the rest for storage (backup, zips, photos, musics etc...) which is partition1. Remember, 10gb is a lot for apps. For movie lovers, you should have a separate mini usb hard disk to keep all your movie like 300gb-500gb hard drive. It's not going to be enough if you want to keep them on 64gb internal or external.
[Asus Transformer TF700] scott7seven:
ok, i think i got it, i have some big installs like grand theft auto and other games that are close to 2 gigs each, so i guess i keep those on the partition of the micro that doesnt get wiped.....wont wiping the actual tablet during that process force games and appd to have to be reinstalled tho?...even tho the data stays on the card, seems should be some part of the install still on the tab, not sure......also, do u have to wipe if ur using cromi and data2sd, i know when i just flash cromi, u dont have to wipe?......i dont really keep movie backups, usually just watch netflix if im gonna watch on a tab
[Asus Transformer TF700] buhohitr:
1)factory reset, internal wipe or format sd will wipe all the user download apps (games and any apps you download from playstore).

2) Update from cromi 3.4.7 (JB 4.1.1) to the latest cromi 4.3b4 (JB 4.2) is highly recommended a factory reset, so games will be gone.

3) you should get a 64gb sandisk class10 card and you should should have plenty of space for both partitions. Remember if you backup all your apps with Titanium backup before you wipe, after a wipe, all you have to do is restore, it's that simple.
[Asus Transformer TF700] dj_ghosie:
Is there any chance to update the fix for the latest cm nights please? I've bought a brand new class 10 but released that it's not working on the new cm10.1

The slow I/o is really messing me up...
[Asus Transformer TF700] sirus20:
I've made a complete repartition of my sdcard. Now when I try to run adb shell from my pc and the tablet booted into twrp recovery 2.5.0 I can't execute the commands to disable journaling. It sees the device as 1234567890abcde I think but when I try to start the procedure it gives me something like #] <6n and nothing nothing else. Wtf is that?
[Asus Transformer TF700] buhohitr:
When you execute command "adb shell", you should get this:

#] <6n

Now you can type the these one at a time and hit enter after each line:

umount /data

umount /sdcard

e2fsck -f -p /dev/block/mmcblk1p2 (add -p for auto repair)

tune2fs -O ^has_journal -c 1 -i 1d -m 0 /dev/block/mmcblk1p2 (disable journaling)

e2fsck -f -p /dev/block/mmcblk1p2 (doube check make sure no errors)

tune2fs -l /dev/block/mmcblk1p2 | grep features (verify that journaling is disabled

If you don't the the word "has_journal' you did it!
[Asus Transformer TF700] redecal:
yes please! just bought 64gb class 10 only to find out it's not working on the latest CM 10.1 :(

will this mod be updated to latest CM?
[Asus Transformer TF700] watsonmf:
Hold off with requesting an updated cm10.1 data2sd until dasunsrule finishes merging all the changes. No sense in asking the OP to do the work twice.
[Asus Transformer TF700] aybesea69:
I've got this working now, and the tablet is very grateful for it, but I had to get creative to make it work. Just wondering if anyone knows what happened?

I got a class 10 64gb SanDisk card and used gparted (I'm a Linux guy anyway) to partition it with a 10gb FAT32 and a 54gb ext4 bootable.

Made a nandroid backup of my current CleanROM 3.7.4 boot, system & data partitions including_that v6 kernel installed.

Copied all image files and the nandroid backup to the FAT32 partition of the new SDCard using my Linux box.

Flashed data2sdmount, and restored the nandroid backup from the new SDCard.

Cleared cache & dalvik.

Booted up fine, but none of my data was there.

Checked for sdcardi, and it was there.

Repeated the restore and made sure data was checked. Still not there.

Used file explorer to copy all of sdcardi contents to sdcard0.

Rebooted.

All is good.

Any thoughts? As I say, I'm loving it. I just hate unexplained things.
[Asus Transformer TF700] anachronis:
Which one from the available kernels arę most stable? Im using hunds 2.2 and my tf700 is rebooting like crazy :/
[Asus Transformer TF700] ariadnejro:
In my opinion 2.0 is the most stable data2sd kernel.
[Asus Transformer TF700] anachronis:
You meandry hunds 2.0? Could you tell me where can i find archives of kernels?
[Asus Transformer TF700] callousparade:
so i was doing things too fast and made an idiot mistake. Trying to do a full clean wipe. Did a factory reset in TWRP of the internal /data, flashed mountdata2sd and did a wipe of the sdcard. So far so good.

Then i forgot to restart recovery so that mountdata2sd would go away. Flashed cromix 4.3, now i'm stuck in a permanent bootloop no matter what i do.

Did I just flash a rom to my micro sdcard? what the heck does that do and how do i make it go away?
[Asus Transformer TF700] _that:
No. To do that, you'd need to apply some other trick. :)

Which kernel are you using?