yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] sirus20:
The original zips in op did it by themselves. The one from sdbags don't know if it does it. If you make the process in the previous page there is a guide how to disable it on your own. You have to disable journaling either way because if you don't the speed difference is dramatic in random write speed.. 0.2_0.3 enabled goes to 0.8.0.9 disabled which is what we seek
[Asus Transformer TF700] ValVK:
Thanks for that sirus20!

I must disable journaling only via cmd or is here some flashable zip or script for it?

I have a problems with running adb shell if i'm in TWRP - i got always error-message,

Device is not connected (but it still connected via USB).

It's TWRP modded for data2sd Mods.

Thank you,

Val
[Asus Transformer TF700] Rickymax:
Problems here :(

I formatted my 32gb class 10 with gparted. First partition in EXT4 with 500Mb and the rest with EXT4 too. Both on logical (impossible to select primary as tutorial said, it was in grey...)

I put the cromi 3.2.x data2sd in my internal memory, flash this, and then I restart my tablet with an error

http://i3.photobucket.com/albums/y92/RickyMax/IMG_20130128_152023_zps0e5cdadb.jpg

I know that something I am doing is wrong but whas? Any help?? Thanks!!
[Asus Transformer TF700] steveman29:
Απ: [MOD] Data2SD (Enhanced) - I/O Fix

The first partition must be fat32 and the second ext4 and both primary. You are doing something wrong and it was gray.

Στάλθηκε από το ASUS Transformer Pad TF700T μου χρησιμοποιώντας Tapatalk 2
[Asus Transformer TF700] Rickymax:
Solved! thanks! I didnt know if its better with fsync in ON or OFF, which one to work with this mod? I have it disabled.

Now i am getting 13,07Mb/s in writting and 13.8 in reading, its good? I dont know stock values
[Asus Transformer TF700] steveman29:
Απ: [MOD] Data2SD (Enhanced) - I/O Fix

Fsync off is faster. Now for the speed it depends on your card. Which card are you using?

Edit: i saw in the previous post that it is class 10. I didn't do any testing with mine,but i think it should be faster in reading.

Στάλθηκε από το ASUS Transformer Pad TF700T μου χρησιμοποιώντας Tapatalk 2
[Asus Transformer TF700] buhohitr:
I never try the twrp version2 so I can't confirm if it's working correctly or not.

---------- Post added at 11:22 AM ---------- Previous post was at 11:21 AM ----------

With fsync off your reading for random write should be between 150-380 in performance mode.
[Asus Transformer TF700] steveman29:
random reboots

I have data2sd installed with clemsyn's kernel sand a sandisk 64 gb card. I have random reboots when reading or writing to the sd card. I have tried 2 different sd cards but the system is unstable. Does anybody have any suggestion or the same experience?
[Asus Transformer TF700] Unibrow:
I was having the same issue, more or less, but was running cyanogenmod. What I did was do a full system wipe, rom and all, and started from scratch. I had the rom I was using loaded with gapps on a separate sd card and loaded it on that way and swapped cards and did the data2sd mod afterwards.

What was happening was my system would basically bsod, even if it was sleeping and burn through the battery if I didn't notice it had happened to reset it myself or it would randomly just crap out and restart. I couldn't get 24hrs of uptime, and that was if I was lucky, though the problem would happen randomly and sometimes within minutes of each other.

Since doing a FULL wipe and not restoring all of my apps from titanium I'm now sitting at 2 days 6 hours of uptime and it's running great (knock on wood).
[Asus Transformer TF700] sirus20:
Fsync of when you use this model I think it's not making any difference. As for anyone that has problems start from scratch like op states through the gparted software and make sure you have journaling disabled. That may cause the instability issue
[Asus Transformer TF700] steveman29:
I am using cleanrom 3.2.1 but i tried many times a full wipe and restore. I even tried using my second microsd card. I am starting to consider the possibility that maybe it is happening because of the rom itself or because of the kernel.
[Asus Transformer TF700] smalis:
I ordered a 16 GB Sandisk Extreme Pro microsd card to replace the slower 32 GB class 10 card I am currently using. I am planning on formatting the new card with an 8 GB Fat32 partition and an 8 GB Ext4 partition. Currently, the Ext4 partition on the 32 GB card is 16 GB, with 13 GB free. I have seen advice to make the Ext4 partition as large as possible, but given the current state of my Ext4 partition, it seems that 8 GB will be more than sufficient. I am not really sure what people have on their Ext4 partitions that takes up more than 3 or 4 GB. Am I missing something here?
[Asus Transformer TF700] Unibrow:
are you restoring your apps afterwards via titanium? If so, try doing a full wipe and fresh install without restoring apps. I did that and only restored a few things (jelly defense, robotek, Anomaly KR and maybe one other app I had that I didn't want to lose) and seems good so far. Also, like you suggested, it could be the kernel. Perhaps just try it without Clem's kernel and see how it goes.
[Asus Transformer TF700] steveman29:
Απ: [MOD] Data2SD (Enhanced) - I/O Fix

Yes i am restoring apps with titanium backup. I guess i have to experiment with the stock kernel or without titanium backup and see what happens.

Στάλθηκε από το ASUS Transformer Pad TF700T μου χρησιμοποιώντας Tapatalk 2
[Asus Transformer TF700] Squawkt22:
Does anyone have a link to the Data2SD that worked with CleanRom 2.3? TIA
[Asus Transformer TF700] buhohitr:
Why you want the super old cleanrom 2.3? is it a typo? the latest is 3.2.1.

---------- Post added at 10:18 AM ---------- Previous post was at 10:12 AM ----------

Here is how to have a stable data2sd setup

1. use _that_stock kernel data2sd (compatibility with 64gb improved)

2. Make sure sdcard format with Gparted

3. Enabled fsync (since you are using _that stock kernel, fsync is enabled by default)

4. Make sure journaling DISABLED.
[Asus Transformer TF700] Squawkt22:
I use that build because it was the last ASUS base that allowed for HDMI cropping. Don't know why they removed that feature in the 10.4.4.20 base. I take it finding the zip for 2.3 would be difficult then?
[Asus Transformer TF700] buhohitr:
data2sd for Cleanrom 2.3

http://www.mediafire.com/download.php?o57879hgba71925
[Asus Transformer TF700] maxal:
Just installed the new twrp recovery which works with exfat4, so now when I do a backup it saves it to my exfat4 partion. When I did backups before it would save to the internal storage of my tablet.
[Asus Transformer TF700] dannyjk:
Ok i am confused now.

1)Flash mount-data2SD

2)Wipe cache/dalvik

3)Flash Cromi Rom and select _that nodpi kernel

3)Flash _data2sd_kernel(shouldn't i flash cromi3.2x-data2sd.zip fie before the _data2sd kernel??)
[Asus Transformer TF700] buhohitr:
No, you're right, the instruction is only specific for that user who already flashed cromi3.2x-data2sd. If you're a first time data2sd flasher, then your steps are correct. :))
[Asus Transformer TF700] smalis:
I am trying to replace my present external microsd card with a new Sandisk Pro UHS card, but having problems doing it. I did as follows:

Running CRI 3.2.1 ODEX with data2sd, I did a TWRP (2.4) backup to my existing external sdcard.

I formatted the new sdcard with GParted, 6 GB for the first Fat32 partition and the rest (~9GB) for the second Ext4 partition, setting it as boot.

I copied mount-data2SD, cromi3.2x-data2sd.zip and the nodpi_data2sd_kernel to the fat32 partition of the new sdcard. I also copied tthe TWRP backup folder from my present sdcard to the fat32 partition of the new card.

I turned the tab off and inserted the new card.

Booted to TWRP. Installed mount-data2SD. Wiped cache and dalvik.

Tried to restore the backup from the external card, but it would not restore - showed errors opening tar files.

I also tried installing CRI 3.2.1 ODEX from the external card after flashing mount-data2SD, but that also did not work - the tab would not start the AROMA installer, and restarted TWRP.

Any suggestions would be appreciated.
[Asus Transformer TF700] buhohitr:
I haven't try TWRP 2.4 yet, so I don't know your issue related to this or not. Best bet is reflash twrp 2.3.1.0 and see if it works. BTW, your backup was from twrp 2.3 or 2.4?
[Asus Transformer TF700] smalis:
2.4.

I'll try 2.3.1.
[Asus Transformer TF700] buhohitr:
Yep!, create a backup then try to restore, make sure everything is working first BEFORE doing data2sd stuff.
[Asus Transformer TF700] buhohitr:
Just check back with you smalis, are you able to do a sucessful restore with twrp 2.3.1.0??
[Asus Transformer TF700] smalis:
buhohitr, you are the best.

I am in the process of trying this:

remove external microsd

boot to TWRP

flash CROMI 3.2.1 ODEX (to internal sdcard, i.e., disable data2sd mod)

reboot

boot to TWRP

restore my backup (from internal card)

reboot

power off

insert UHS-1 external microsd

then, your procedure from earlier post:

1. Boot to TWRP recover and take a nandroid - backup to the micro SDcard

2. Flash zip mount-data2sd

3. Restore your previous backup

4. Flash data2sd_Cleanrom3.2.1 ODEX

flash no dpi kernel

reboot

I will report back shortly

---------- Post added at 09:15 AM ---------- Previous post was at 08:50 AM ----------

Still no luck.

The above did not work - when I did the restore, it was still looking for the external sdcard - got encryption error.

So I tried the following:

power off

remove external microsd

boot to TWRP

flash CROMI 3.2.1 ODEX (to internal sdcard, i.e., disable data2sd mod)

reboot

power off

insert UHS-1 external microsd

then, your procedure from earlier post:

1. Boot to TWRP recover and take a nandroid - backup to the micro SDcard

2. Flash zip mount-data2sd

3. Restore your previous backup

4. Flash data2sd_Cleanrom3.2.1 ODEX

flash no dpi kernel

reboot

everything seemed to go fine, but I got bootloops when i tried to reboot.

I can still re-insert my prior external microsd and run CROMI 3.2.1 with the data2sd mod, but cant seem to do it with the UHS-1 card.

I may try this procedure with another 16 GB microsd card I have lying around, to see if the problem is the UHS card, or something else.

BTW, the kernel I am flashing at the end is kernel-10.4.4.25-nodpi-data2sd.zip. That is the correct kernal for the UHS-1 card, yes? Also, FYI, I did update to the .25 bootloader a week or two ago.
[Asus Transformer TF700] buhohitr:
The eror indicated the issue is your sdcard. If possible reformat the card with GPARTED,(must use Gparted, nothing else) then it should work.
[Asus Transformer TF700] smalis:
I did use Gparted, but I will re-format and try again. We'll get it going sooner or later.
[Asus Transformer TF700] smalis:
Got it working, but rebooted and got bootloops.

Formatted the external microsd card again with GParted.

Booted to TWRP

Wiped everything

Flashed CRI 3.2.1 ODEX

Rebooted

Booted to TWRP

Tried to backup to ext card, but got an error (creating MD5 sum, I think) (BTW, this worked fine when I experimented with a spare non-UHS-1 sdcard - must have something to do with the UHS-1 card)

so, tried this:

Booted to TWRP

Flashed mount-data2sd

Flashed CR I 3.2.1 ODEX

Flashed data2sd_Cleanrom 3.2.x

Flashed kernel-10.4.4.25-nodpi-data2sd.zip

Rebooted and held my breath

And it booted to Android - I could see and access both sdcardi, sdcard0 and removable/microsd.

But, then booted to TWRP to disable journaling on the external microsd, and got bootloops when I rebooted.

I think TWRP is having a problem reading or writing to the FAT32 portion of the UHS-1 microsd - I cant seem to backup to it or, if I copy backup files to it, restore from it.
[Asus Transformer TF700] _that:
It may have the same problems that some of us had with Android with our UHS-1 cards before Asus released their kernel 10.4.4.25.

Someone should incorporate their workaround into TWRP's kernel, that should help.
[Asus Transformer TF700] smalis:
I was using kernel-10.4.4.25-nodpi-data2sd, but I see you have posted that-kernel-10.4.4.25-1-data2sd.

I will give it a shot.
[Asus Transformer TF700] buhohitr:
That's odd, I have no issue backing up to fat32 on sdcard. I just did it about 2 min ago and had no issue.
[Asus Transformer TF700] smalis:
You are using TWRP 2.3.1.0?

I just updated to 2.3.3.0, and will try again tonight.
[Asus Transformer TF700] buhohitr:
yes, 2.3.1.0.
[Asus Transformer TF700] _that:
That's a kernel for Android - a recovery comes with its own kernel.
[Asus Transformer TF700] smalis:
No, I understand that.

Anyway, I just tried it al again, and got the below error:

Reformatted UHS-1 external microsd card in GParted. First partition is 6 GB Fat32 and 2nd is ~9 GB Ext4, both primary, 2nd partition set with boot flag.

Powered off tab, inserted UHS-1 microsd card.

Booted to TWRP (2.3.3.0), disabled journaling on microsd card.

Wiped everything.

Flashed CROMI 3.2.1. ODEX

Rebooted and went through setup.

Booted into TWRP.

Tried to nandroid to external. Showed 6130 MB Free. Swiped to start. Backing up system took less than 2-3 seconds (it obviously did not actually backup anything), and I then got a "MD5 Error!" when it tried to generate an md5.

So, I tried to nandroid to external with the "Skip MD5 generation" option checked. This time, got the following error:

"E: Unable to create folder: /external_sdcard/TWRP/BACKUPS/015d2a508837fa07/2013-01-31--14-32-49 (errno=30)

E: Failed to make backup folder."

Any ideas?
[Asus Transformer TF700] sbdags:
Have you flashed the mod file for CROMI - you seem to be missing a step above:

cromi-3.2.x-data2sd.zip
[Asus Transformer TF700] _that:
Errno 30 is "read-only filesystem". Usually the filesystem is re-mounted read-only in case of file system corruption. From adb shell in your recovery, try running this:

umount /data

e2fsck /dev/block/mmcblk1p2
[Asus Transformer TF700] Pretoriano80:
Ok guys,i`ve been playing with Data2SD for two days now and so here are my results with a Sandisk Ultra 32GB Class 10 (UHS 1):

Androbench Random Write Performance

- Test were done with CleanRom 2.3 and CM10 nightly (30/10/2012)

- using EXT4 partition = 0,32 mb/s

- using EXT2 partition = 0.71 mb/s

Now,i don't know what's the difference between using EXT4 and EXT2 but i clearly had a performance boost when using the EXT2,so if someone have a good explanation about this,please let us know.

Benchmarks wise i was able to achieve 8570 points for I/O performance with Quadrant when using EXT2.

Normal use experience with Data2SD

Well,test were made with two custom roms so was really difficult to evaluate the real performance gain,but this tablet was flying,very nice performance and no issues,browser experience was almost like on my desktop.

The bad part comes when you try to move some files (pictures,backup data from games,movies ,heavy I/O activity in general) from PC --> MicroSD or Internal sdcard --> MicroSD ...well guys,in this case forget

about using your tablet while doing that,it will almost freeze.So basicaly,if you have this issue without Data2SD you will have it with it too.Even if you have a FAT32 partition on your MicroSD the results will still be the same when transfering large data over there.

I still need to decide if i will continue to use Data2SD but please share your experience with it,maybe with different MicroSD brands,capacity,etc...
[Asus Transformer TF700] _that:
Did you use ext4 with default options or without journal, to be more comparable to ext2?
[Asus Transformer TF700] Pretoriano80:
Default option,my understanding is that the files from the OP disable the journaling when flashing,but it doesn't (at least in my case) so i disabled journal manually and random write went from 0.32 to 0.72....
[Asus Transformer TF700] denpri:
Just checked & I had the same problem (i.e., had to disable journaling via Terminal Command in TWRP). Running CleanROM 2.3 with latest combined Clemsyn/Data2SD ZIP from Post #1.
[Asus Transformer TF700] hobs0n:
Argh Im confused and I need help. It seems I need to disable journaling to install data2sd. Ive searched and tried but I needeth helpeth :)

I read this thread and have tried to follow it. As far as I understood I have to download the adb android developer stuff, I searched for that and found this thread about it and downloaded the ADB + fastboot + drivers.zip and unzipped it. I tried installing thhe drivers, I guess its the "base system device" under "other devices" ? Windows 8 said it couldnt find any drivers in the "usb drivers" directory where I pointed. I tried typing "adb shell" then, it said it didnt find any device.

What to do??

EDIT: Btw, I made my usb stick bootable with Gparted and made the formating and partitions in there instead so I hope it should work now.
[Asus Transformer TF700] denpri:
Are you using TWRP as your Recovery program? If you are, you can use the Advanced/Terminal Command option to enter some of the commands listed in your first thread link. Here's what I did:

1) 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:

a) tune2fs -O ^has_journal -c 1 -i 1d -m 0 mmcblk1p2

NOTE: First “O” is Capital O and second “0” is Number 0. Also note that, unlike the thread description, you don't need to reenter /dev/block.

b) tune2fs -l mmcblk1p2 | grep features

4) IF you don’t see “has_journal” in the resulting output, I think journaling is disabled (per the referenced thread instructions)

If you're using CWM, I don't believe it has an option to directly enter terminal commands so you'll have to install the drivers/adb. There are several previous posts that describe how you can complete the installation process.
[Asus Transformer TF700] buhohitr:
I think it's better to install SDK. Just download SDK, run the install and select any packages with the name "android" in it (should be 2 I believe). The package installed sdk in this location c:\android-sdk

Once done open command prompt and navigate to this directory to use adb: c:\android-sdk\platform-toos\

---------- Post added at 12:40 PM ---------- Previous post was at 12:31 PM ----------

+1 thanks. OK here is my results on Cleanrom +Clemsy kernel: Yes, the enhance mod DID NOT disabled journaling. I'm on ext4 and my random write was .36Mb/s and sequencial read was 22Mb/s. After I disabled journaling, here is my results on ext4: random write=.66Mb/s and sequencial read=25.7Mb.s. So my conclusion is ext4 and ext2 probablly about the same, since the fluctuation is about .05MB/s. Note: I haven't test ext2 yet.
[Asus Transformer TF700] Mistar Muffin:
Were you using TWRP? I've seen where journaling is only reliably disabled by the zip when flashed with CWM.

See above.
[Asus Transformer TF700] Pretoriano80:
Tested with both TWRP and Touch CWM.
[Asus Transformer TF700] ailai55:
Hi, in the OP it says for ext4 journaling is disabled by default. right?

how do I check if it is disabled or not?

also, what's the difference of disabling journaling ? I heard it is not safe for data?

thank you .
[Asus Transformer TF700] buhohitr:
I can confirm that it did not disable journaling. I have to manually disabled. To check:

Go into TWRP and then open a command prompt on your computer where adb is.

Type:

adb shell and hit enter

type:

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

If you don't see has_journal in the output all is good.
[Asus Transformer TF700] poemadevil:
Using es file explorer I had the same issue. Went to settings->root settings and marked root explorer and up to rood. Then supersu asked for permission, granted and it works fine now..
[Asus Transformer TF700] keyhell:
Silicon Power MicroSDHC Class 10 - 16GB.

Sequential Read 9.77 MB/s

Sequential Write 7.63 Mb/s

Random Read 4.11 MB/s

Random Write 0.83 MB/s

Definitely better than before, but I'd like more. Could anybody suggest faster card.
[Asus Transformer TF700] hobs0n:
First, thanx for helping with this weirdo linux commands! =) Back in the days before windows 95, I used msdos tho but all my skillz with command lines has ended ;)

Yah mon, Im using TWRP, latest I think.

I typed that exact command, Im not supposed to use the dismount commands before? Anyway it said:

tune2fs 1.41.12

setting maximal mount count to 1

setting interval between checks to 86400 seconds

setting reserved blocks percentage to 0% (0 blocks)

Is that working?

Anyway, Ill try data2sd now :)

EDIT: I tried installing cleanrom 2.3-data2sd.zip in TWRP after doing that command you gave me.

it said:

formatting cache

mounting /system

extracting files

setting permissions

writing kernel

finished!

updating partition details...

E:unable to mount '/staging'

I recognise that last part so I guess its fubared now. which means something went wrong with that command you gave hehe.
[Asus Transformer TF700] denpri:
Couple of comments:

1) The tune2fs output you listed is the same as I got but the important step is to re-run the "tune2fs -l mmcblk1p2 | grep features" command and look for the absence of the "has_journal" string in the output. I've always run this "test" AFTER installing, reinstalling, etc. ANY ZIP that might change the kernel and/or Data2SD mods.

2) In general, after installing anything, I normally reboot & wait for the initial Setup screen, main screen, etc. THEN I reboot into recovery and look for the presence/absence of the "has_journal" string in the output.

3) Per other posts, I don't believe the "E: unable to mount "/staging" TWRP error message is related to this mod. According to these posts, it looks like it's a harmless, general error that does not affect anything and is supposed to be corrected in the next TWRP release.
[Asus Transformer TF700] Mistar Muffin:
OP updated with latest ROM and kernel mods.
[Asus Transformer TF700] psych2l:
YES I've been checking all day for this!!!
[Asus Transformer TF700] bradslinux:
Some observations about Data2SD and overclocking...please note these are MY observations on my device in my circumstances....YMMV

When I used the Mini Tool Partition Wizard; regardless of what recovery I had loaded....TWRP 2.3.1 or CWM, the Data2SD script would not disable journaling on the microSD and I had to disable it manually from ADB. I also think there are some stability issues that followed due to the microSD being formatted this way. I honestly don't think at this time that it matters which recovery is used. I prefer TWRP for it's feature set.

I fired up linux, (dualboot) and used GParted. On a totally wiped tablet, I did an ADB push to get the flashable files to the SDcard. From there I proceeded to get the system installed and wouldn't you know it....the Data2SD script was able to disable journaling on the fresh GParted formatted microSD card.

I then used the mount-data2sd.zip flash to use a TWRP recovery of "my system with my apps".

I then reflashed with the "new" 2 part Kernel and Data2SD script.....voila! Installed as it was meant to be by it's developer, running smooth like silk on glass.

I agree with the observations of others that this works best when the microSD card is formatted with GParted.

FWIW, I'm using a Sandisk Ultra 64GB Class 10 UHS1....the best random writes I have seen are around .9 to 1 MB/sec.

Asus should be ashamed of themselves.

On the Over Clocking front....and this is a lesson to me......

If you set your voltages too low ....it can cause an un-recoverable boot loop. ;).....then you get to do some work....

At this juncture, I am glad I don't have access to the bootloader. This makes the device fairly un-brickable. LOL

Thanks to Scott and Mista Muffin for making this a really awesome ROM!

Cheers,

Brad
[Asus Transformer TF700] crazyboyxx:
sequential read is a little bit slow, worse than original I/O or Sandisk Ultra SDHC ( ~25 mb/s)

but overall you got a pretty nice score on random write
[Asus Transformer TF700] bradslinux:
I like the Sandisk Ultra 64 GB Class 10 UHS1 cards. I'm sure the 32 GB version of the card is just as sweet. I'm having good experiences with mine so far. They aren't priced too badly either.

Cheers,

Brad