yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] smalis:
That's probably my fault, based on my earlier restoring my working install from my 32 GB non-UHS-1 microsd, which I believe uses the clemsyn kernel installed by sbdag's crom-3.2.x-data2d patch.

So, I did it all over again, with some progress. This time, the tab got past the bootloader screen to the boot animation for about 2-3 seconds (I am using the Nexus animation) before bootlooping. I pulled the last_kmsg file, and the dropbox link is below. I checked and it does show your kernel installed:

[ 0.000000] Linux version 3.1.10that1 (that@ws)

Here is what I did:

Booted Gparted, deleted both partitions, created both partitions. First one 6 GB Fat 32 primary, second one EXT4 with the boot flag

Booted to TWRP 2.3.1.0, wiped everything.

Installed CRI 3.2.1 ODEX from internal sdcard.

Flashed cromi-3.2.x-data2sd from internal sdcard.

Flashed _that-kernel-10.4.4.25-data2sd from internal sdcard.

Dropbox link: https://dl.dropbox.com/u/20053824/last_kmsg-2
[Asus Transformer TF700] _that:
OK, this time there are no messages about hardware problems in the log, but a kernel panic due to filesystem corruption. So if you started with a freshly formatted partition (formatted using gparted), it must have become corrupted while it showed the boot animation. Format the partition again using gparted (you don't need to re-flash anything) and try to get a log of that first boot.
[Asus Transformer TF700] smalis:
When you say "try to get a log of that first boot," do you mean that I should try to get to TWRP right after the first bootloop, then pull the last_kmsg file?

UPDATE: So I formatted the ext4 partition in Gparted and rebooted the tab. It booted to Android(!), and I am up and running with the Extreme Pro UHS-1 card. I can see and access sdcardi, so I believe that means data2sd is running.

I'm going to reboot a couple of times to see what happens. If it is stable, I would like to disable journaling and make sure that takes. I plan to disable journaling via the adb shell commands, i.e.:

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

I also want to make sure I can mount-data2sd in TWRP and backup to the fat32 partition.

Should I take any special steps before trying these things?
[Asus Transformer TF700] _that:
Exactly. Hold your finger ready near the volume button. :)
[Asus Transformer TF700] smalis:
Not sure if you saw my update:

UPDATE: So I formatted the ext4 partition in Gparted and rebooted the tab. It booted to Android(!), and I am up and running with the Extreme Pro UHS-1 card. I can see and access sdcardi, so I believe that means data2sd is running.

I'm going to reboot a couple of times to see what happens. If it is stable, I would like to disable journaling and make sure that takes. I plan to disable journaling via the adb shell commands, i.e.:

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

I also want to make sure I can mount-data2sd in TWRP and backup to the fat32 partition.

Should I take any special steps before trying these things?
[Asus Transformer TF700] lartomar2002:
I updated my TWRP to 2.4.0.0. Can I down grade to 2.3.3.x? I am not sure which TWRP 2.3.3 verzion you are using. Do you know where I can get the version you are using?
[Asus Transformer TF700] smalis:
Tablet is rebooting reliably, and I can access all partitions within android. But, when I try to backup to external in TWRP, it fails, saying the backup size of data.ext4.win is 0 bytes. No problem backing up to internal storage.

Second issue, I can't disable journaling. All the commands seem to run properly, but I still get "has_journal" output when I run "tune2fs -l /dev/block/mmcblk1p2 | grep features" Random write in Androbench is below .30

UPDATE: I am returning the Extreme Pro microsd card and am back to uusing my SanDisk Ultra 32 GB Class 10 microsd card. It was fun trying to get the Extreme Pro to work, but the Ultra is stable, works perfectly, and gives good Androbench random read scores (between .4 and 1). Not sure there would be a notable performance differenct between the two, and there is something to be said for stability.
[Asus Transformer TF700] anachronis:
I have just bought a 64gb sandisk class 10. (Really pricey stuff, hope its worth it)

I noticed that compared to first page instructions a few things have changed regarding this whole procedure (such as partitioning tool).

Could you show me where could I find the most updated version of these proceedings? I really wouldnt like to mess something up, since Im not really much of a progranist.
[Asus Transformer TF700] smalis:
I am using that-kernel-10.4.4.25-1-data2sd.zip, which tops out at 1.7 MHz. Is there a _that OC kernel modified for data2sd?

UPDATE: Found it. Just realized _that has a separate thread for his kernels.

http://xdaforums.com/showpost.php?p=37390637&postcount=2
[Asus Transformer TF700] pietpodlood:
Does it specifically need a class 10 SD card?

I know class 10 is the fastest but will a class 4 or 6 have a better or worse performance than without the mod. I'm only asking since I have an old 8GB class 6 memory card lying around. Will this be no good or is that still better than without the mod?
[Asus Transformer TF700] buhohitr:
Download androbench from here https://play.google.com/store/apps/...SwxLDMsImNvbS5hbmRyb21lZGEuYW5kcm9iZW5jaDIiXQ.. then run the micro benchmark test, see what kind of read/write results from your card!
[Asus Transformer TF700] _that:
Yes, in my kernel thread.
[Asus Transformer TF700] anachronis:
I have a problem with understanding certain instructions:

"3) Insert microSD into tablet and flash the data2sd conversion zip for your ROM. After booting back into Android, you should be greeted with the Setup Wizard" -> What does it mean? I honestly have no clue what should I actually do here. Should I restart my tablet and get into boot section (press F2 I suppose) and then somehow open data2sd conversion zip?

Is that one of these listed just below?

" CleanROM 3.1: http://d-h.st/XRg

CleanROM 3.0.3: http://d-h.st/LTd

CleanROM 2.6: http://d-h.st/Zp2

cm-10-20121125-NIGHTLY: http://d-h.st/sZE

cm-10.0.0: http://d-h.st/ClA

CleanROM 2.4: http://d-h.st/tkT

cm-10-20121109-NIGHTLY: http://d-h.st/Xy8

cm-10-20121105-NIGHTLY: http://d-h.st/4GO

cm-10-20121103-NIGHTLY: http://d-h.st/b0B

cm-10-20121102-NIGHTLY: http://d-h.st/eBw

cm-10-20121031-NIGHTLY: http://d-h.st/0ku

BakedBlack Bean 6 - 10/31/2012: http://d-h.st/Gdj

BakedBlack Bean 6 - 10/26/2012: http://d-h.st/6EC

cm-10-20121030-NIGHTLY: http://d-h.st/wMA

cm-10-20121029-NIGHTLY: http://d-h.st/k66

CleanROM 2.3: http://d-h.st/kgh "

I have a CROMI 3.2.1 atm. Which one of these should I download?

Also about kernel stuff: "The data2sd zips above come with a modified stock kernel for each ROM. If you want to use a custom kernel, I have modified the ones below. Flash these AFTER flashing the above data2sd zip your ROM". -> So that actually means that flashing data2sd will overrun the CROMI's files and I need another ones for kernel? At this moment, I am using a 1.8Ghz clemsyn one and I don't see this one within the choice of three given just below. Which one should be the most similar to than one?
[Asus Transformer TF700] sbdags:
None - download the one on page 2 of the CROMI thread and the that kernel form his thread :)
[Asus Transformer TF700] anachronis:
Ok, but how about other issues?

By page 2 do you mean page 1 with 'DOWNLOAD kernel installer v.1.8"?

Also, I am running ubuntu atm from a usb pendrive and I want to install gparted. I have an .iso file but it wont start installation. Is installing applications somewhat different on linux than windows in terms of .iso files?
[Asus Transformer TF700] _that:
ISO files are not installed, they are meant to be written to a CD. But since you are running Ubuntu anyway, you can simply run gparted in Ubuntu (maybe you have to install it first using the package manager).
[Asus Transformer TF700] anachronis:
I installed gparted using terminal command but it refuses to run so Im kinda stuck :/
[Asus Transformer TF700] _that:
Define 'refuses to run' - paste the error message you are getting.
[Asus Transformer TF700] airmark:
How can one make the internal storage space visible as a drive under Windows when running cROMi? Thanks.

---------- Post added at 07:20 PM ---------- Previous post was at 07:18 PM ----------

Also, maybe somebody (a mod?) should edit the first post to make it up-to-date, i.e. mention that mini tool doesn't work, update the kernels etc.
[Asus Transformer TF700] anachronis:
"Command unknown/unfound"
[Asus Transformer TF700] _that:
Try running it with sudo. If it still doesn't run, you didn't install it.
[Asus Transformer TF700] anachronis:
Do I have to download it first , or is it a preinstalled application in ubuntu?

The problem I have is that I cannot find any .exe file on this gparted iso zip when I extract it.
[Asus Transformer TF700] _that:
Wait, a few posts before you wrote "I installed gparted using terminal command " - I assumed that you already installed it.

Linux does not run .exe files. And again, if you are already running Ubuntu you don't need the iso file at all. Have you already tried to run "sudo gparted"?
[Asus Transformer TF700] smalis:
I know next to nothing about Ubunto and Linux, but in Windows, I burned this .iso file to a CD and and booted off it in order to run Gparted. .iso files are CD images, which have to be burned to a CD or virtual CD Drive in order to run whatever was imaged.

Source page for the .iso file is http://gparted.sourceforge.net/download.php
[Asus Transformer TF700] Slammin:
Seems like whenever I run e2fsck against /dev/block/mmcblk1p2 after my tab has been up for awhile, inode errors are detected and fixed. I have journaling disabled and fsync enabled. I use the terminal in TWRP while in recovery and the exact commands are:

umount /data

umount /sdcard

e2fsck -p /dev/block/mmcblk1p2

Can someone do the same and see if inode errors are detected and fixed? I haven't seen any ill effects, but I think it's because I fix them every few days, but in the past, I have twice run into a situation where a bootloop condition would crop up, forcing me to reinstall the ROM. I was not doing the fsck's back then and it seemed to take about 2 or 3 weeks before the bootloop would occur. I did use gpartd too.

Thanks!
[Asus Transformer TF700] Diogenes5:
I tried to upgrde my card to a new Samsung UHS-1 64 gb microsd card with twice the write/read (including all-important random-write/read) but it fails to be recognized by my system when I reboot after partitioning with gparted. Sucks. The random writes and reads were over twice as fast. Maybe asus will release a new kernel that can read/write to this bad boy.
[Asus Transformer TF700] buhohitr:
Did you try _that_stock_.25_data2sd kernel?? This new kernel does improved and supported more sdcards.
[Asus Transformer TF700] Diogenes5:
Yep. Weird. My card works when I boot up (I alraedy had a fully working install with my 64 gb sandisk class 10). However, when I enter my recovery (TWRP 2.3.1.0 specially modded to restore to extsd), it can't read off the "external" sd card. Makes restoring a big pain. I tried moving over the twrp backup and cleanrom zips to the ext4 portion of the sd card but recovery doesn't see the files still. Can someone update the newest version of TWRP for this mod? Maybe it has to do with the recovery since the sd card seems to work in android itself.
[Asus Transformer TF700] buhohitr:
I don't like to use the twrp version 2, it's not provide any benefit specially when you are flip flop between normal and data2sd mode. I have my first partition as fat32, and without any special twrp, I could backup and restore to this partition without any issue.
[Asus Transformer TF700] Diogenes5:
Could you go over the installation instructions for the latest non-modded twrp? I haven't installed data2sd without it in ages.
[Asus Transformer TF700] buhohitr:
http://xdaforums.com/showthread.php?t=1938129 start with section 2 and download the twrp version 2.3.1.0 (I'm using this one). Another way to install twrp is download gomanager from the market and install it using this app, but it probably already updated to version 2.4 and ppl complainted about this so not recommend to use it yet.
[Asus Transformer TF700] Diogenes5:
I already have 2.3.1.0 albeit the modded version from the 2nd post of this thread. Twrp refuses to mount the card but the os seems to handle it fine though the card was somewhat sluggish to begin with. I am doing a restore through titanium backup and nova restore instead and seeing what happens. Androbench is showing the exact same benchmarks between my 2 cards so far (sandisk versus Samsung).

When I first tested my Samsung it was a little faster. The Samsung has been through gparted a few times now as I tried to fix my problems with TWRP, so maybe that is why. both cards are formatted with a 49 gig primary fat32 and a 10 gig ext4 secondary partition table. I'll update more as time allows.
[Asus Transformer TF700] buhohitr:
With twrp version2, if you power off your device, wait a few second, then boot back into twrp, it may see your ext card again, may need to try a few times.
[Asus Transformer TF700] Diogenes5:
It never saw it in the first place. I was able to have it mount the micro-sd for a few seconds but when I tried reinstalling my cleanrom 3.2.1 zip, it would restart TWRP. The operating system sees my card and its 2 partitions fine so I think I may have to use nova launcher's restore feature along with titanium backup to restore in the future if I decide to keep the Samsung.

Benchmark-wise in androbench I am getting almost the exact same sequential read, sequential write, and random write as the sandisk. The random read is a little under twice as fast though. However, real-life performance seems to be better. My titanium backup batch restores would freeze many times with my sandisk; forcing me to reboot. I am almost never able to restore more than 100 or so apps on a clean install before the program freezes. The samsung restored all of my little over 300 apps without a hitch. Anecdotal and only a sample size of one but nice.

Hopefully more people get this card; the Samsung microsdxc 64 gb UHS-1 and can relate their experiences.

Given the minor performance gains, I may end up returning the thing.

edit; ended up returning the Samsung. Not working in recovery plus androbench and other benchmarking apps showed about the same results. Samsung felt a little better in use but that highly anecdotal and subjective.
[Asus Transformer TF700] snypa:
just wanted to say i am using the modded twrp with d2sd and cromi3.2.2 with _that's OC v2 kernel .... been working

fine for a few days ... with the new colour modz ( they are great -- luvn orange! ) ...

maybe start from scratch! it's good practice anyways... and the weekend is here! :)

ps- i use the sandisk 64 also - no probz ... i never disabled journaling or fsync though! ...
[Asus Transformer TF700] Darnell_Chat_TN:
Don't use MiniTool Partition Wizard

I've got a brand new 64GB class 10 Sandisk MicroSD card that was permanently damaged by MiniTool. Gparted cannot even see the card now, nothing can see it. It's 100% dead and useless now.

Would-a, Could-a and Should-a are still undefeated. I should have read more of this tread, to see the caution advised about MiniTool.

I totally agree that the OP should remove all mention of MiniTool. I was able to pull down a bootable image of Gparted tonight, burn a disk and boot into it. Anyone able to do what we're doing with a device has the ability to.
[Asus Transformer TF700] RaMcHiPTech:
Don't throw away the card go into disk management in windows and reassign a drive letter.
[Asus Transformer TF700] Darnell_Chat_TN:
This is not an option when Windows sees no media.

As I said Gparted can't see it. And from what I'm seeing Gparted is a far cry above and beyond Windows disk management.

It is what it is. Gparted thumbs up, MiniTool thumbs down!
[Asus Transformer TF700] smalis:
I had a problem with a microsd card that gparted could not see. I used minitool in windows to delete all partitions and then was able to recreate partitions in gparted.

Also, +1 on trying windows disk management. It should see the device and the partitions even if thed device does not show up in explorer.
[Asus Transformer TF700] Darnell_Chat_TN:
Dead is dead

The damage MiniTool did to my card is beyond what many of you seem to understand. (Which may also explain why some folks can't accept MiniTool can actually damage a card this badly.) This is not a situation where the card shows as some unallocated blob of space. There is nothing showing, no partition to delete, nothing at all. Imagine putting a flat piece of 100% plastic or paper in and the result you'd see would be nothing. It does not show at all. MiniTool cannot see it at all, Windows Disk Management cannot see it at all, Gparted cannot see it at all. It's as if nothing is inserted. But using any of my many other cards are seen with no issues. And I've check using a desktop, laptop and the TF700T its self. The card that has been damaged by MiniTool is nothing but a dead piece of plastic at this point.

All these tools are basically freely available. I recommend anyone needing to prep a card use Gparted as some others have suggested. And avoid using MiniTool as some others have already rightfully warned.

Thanks for trying to help, but this one is beyond a doctor's care. It's at the coroner and prepped for burial.
[Asus Transformer TF700] Sloneycomb:
Data2SD

Can someone please baby step me through this process? I've read the posts but I really do need to be carefully walked through it. I know the towel was thrown in on CleanROM but I figured since sdbags took over and he's still churnin' out data2sd versions with CROMI 3.2x that maybe it would work for me but I guess I'm just not understanding it the way it was written. Ain't no shame in my game though. I've already set my Class 10 SD card up with Mini Tool. I need help and I ain't afraid to ask:confused:. Thanks for your time and great efforts in making this OS faster.

TF700T Transformer Infinity
[Asus Transformer TF700] smalis:
First of all, you have to format the microSDcard with Gparted. Do not use minitool. You can create a gparted boot disk and boot with it to run it - do a google search to find the gparted iso.

Second of all, you may need to be on the 10.4.4.25 bootloader. Not sure if it is required, but it does not hurt to upgrade to it.

Then, I prefer buhohitr's procedure:

First, using TWRP, install CleanRom 3.2.2 normally on your tablet, reboot into it, and go through the setup. Power off the tablet.

1. Using Gparted, Format your microSDcard with first partition fat32 and the second partion ext4, with the boot flag.

2. Copy your required zip files onto the fat32 partition:

cromi-3.2.x-data2sd.zip

mount-data2sd.zip

that-kernel-10.4.4.25-1-data2sd.zip (or the overclock version, that-kernel-10.4.4.25-1-oc-data2sd.zip)

3. Insert the microSDcard and make sure it's working by boot into twrp. Tap on install and twrp should see all the previous copied zip files on the fat32 partion.

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.

buhohitr, please correct me if I have anything wrong here.
[Asus Transformer TF700] zenaxe:
I hope I'm not tempting fate by posting this but, FWIW, I did not see the stuff about minitool until today and I just recently did the data2sd thing using it with a brand new sandisk c10 card and minitool v7.7 (released 1/10/2013) under CROMI 3.2.2. with the _that kernel and it is working like a champ had no problems whatsoever getting it all setup.

If I ever have to reformat it, I'll probably use gparted just to be safe, though.
[Asus Transformer TF700] Skdi:
When installing this on cm10 can you update nightlies?
[Asus Transformer TF700] smalis:
I believe data2sd is only for CleanRom. I do not think it can be installed on CM10.
[Asus Transformer TF700] bradslinux:
android media scanner, data2sd and sdcardi

Hellooooo,

I had posed the question before, but it went unanswered. I'll pose it again, as I just loaded cromi 3.2.2 with data2sd and noticed that it was unresolved.

The problem is that the created sdcardi (internal sdcard mount point created by data2sd) isn't scanned by the Android Media Scanner Service for contained media, and apps that depend on that service can't show what IT doesn't see. Has anybody else seen this, does anybody care? It is the "deal breaker" for me with data2sd and a sour dissapointment for me as I really appreciate what this mod accomplishes.

Just curious,

Brad

EDIT:

I know there is a way to tell the Android Media Scanner Service to NOT look at a directory's contents, is there a way to tell the service TO look at a directory?

B
[Asus Transformer TF700] smalis:
How did you determine that the media scanner does not see sdcardi?

One workaround might be to use Quickpic as an alternative to the gallery app. On my device, quickpic sees the media on sdcardi.
[Asus Transformer TF700] Slammin:
Create a symbolic link to a name media scanner likes?
[Asus Transformer TF700] bradslinux:
I used an app to force the service to scan the device, I use Winamp for my music on the tab, Winamp gets its info from the scan service, it didn't see the .mp3 files located in sdcardi/music. I also tried MXPlayer and BS Player, they use the scan service as well. I can browse to the directory from the apps, but they don't see them natively. I suspect the reason Quickpic works is that it doesn't rely on the scan service to get it's data/meta data.

Brad

---------- Post added at 07:20 AM ---------- Previous post was at 07:17 AM ----------

OK, how to do this without breaking the symlinks created by data2sd. Isn't sdcardi actually a symlink pointing to the internal storage under /mnt?

I am pretty skilled at much of this, but in this area I lack the knowledge.

Brad
[Asus Transformer TF700] Sloneycomb:
Data2SD

Yeaah I did everything you said and TWRP states in the log Unable to mount external sdcard when I check it by tapping install. :confused:

I'm using a class 10 SD card as well. Would that be the issue?
[Asus Transformer TF700] smalis:
That procedure has worked for me multiple times. You may need to get assistance from buhohitr or _that, as they know more about the technical issues than do I.
[Asus Transformer TF700] Mistar Muffin:
Does the current mod work well with CROMI 3.2.2? If I need to do an update let me know. Also, in case anyone missed it, there are no CM 10.1 mods due to how different Android 4.2's files are to mod. It's certainly doable but I spent a good deal of time making the patch process semi-automatic so I could halfway keep up with all the new ROMs and kernels. It's not feasible for me to upgrade my scripts to successfully patch Android 4.1 and 4.2 files. CM 10.1 will get data2sd when ASUS updates the stock ROM to 4.2. This way I will only have to upgrade my script once and it will support both again.
[Asus Transformer TF700] sbdags:
I've already applied your mod to 3.2.2 :) the storage.xml part anyway. As I have not made any changes to the framework-res in 3.3 (soon to be released) could you host it as a 3.3 version as well please.

It's in my thread on page 2 :) Thanks
[Asus Transformer TF700] Mistar Muffin:
Done. I'm glad my info on storage_list.xml allowed you to make the modification yourself. It's nice to have some help!