[MOD] Data2SD (Enhanced) - I/O Fix

Mistar Muffin

Senior Member
Aug 11, 2009
291
413
0
Starting to get everything set up again, but I have another noob question. I'm running the latest official CM10 nightlies. Do I have to keep reflashing the CM10-Data2SD after each CM10 update?

Also, has anybody been able to mount their full sized SD card in the dock with this mod on CM10?
Yes, each CM10 nightly will replace the files that have been modded. You will need to reflash the data2sd conversion zip after each nightly. Also, each data2sd conversion zip is based on a particular version of each ROM. The only one in the OP for CM10 is the cm-10-20121029-NIGHTLY. You might flash this to later nightlies without issue, provided there are no major changes to framework-res.apk or the kernel. The best course of action would be for me to post a data2sd mod for each CM10 nightly. The process for modding the files is involved, so I'm not certain a nightly schedule is feasible for me. That said, I will do my best to post regular updates.
 
  • Like
Reactions: psych2l

bradslinux

Senior Member
Oct 2, 2009
110
52
0
Somerset
Brad,

Firstly, it's possible that TWRP is the cause of some of your problems. Scott, the author of CleanROM told everyone to use CWM due to TWRP not properly processing the commands to disable journaling. I would switch to that and then follow these troubleshooting steps..
Thanks for the quick reply.
I'm at work now...I'll flash CWM when I get home this evening. I kind of suspected TWRP with the E: mount errors it is throwing out. I don't know if the bug is related to the issues, but it doesn't inspire confidence.
I look forward to getting this up and running. GREAT WORK!

Cheers,
Brad
 

hobs0n

Senior Member
Jun 25, 2007
418
5
0
42
Muppsala
Just a quick newb question, it is normal to take a long time making an ext-4 partition?? Its been working for around 20mins now and its on 45%.
 

denpri

Member
Nov 10, 2007
19
5
0
Just a quick newb question, it is normal to take a long time making an ext-4 partition?? Its been working for around 20mins now and its on 45%.
If you're on Windows 7 and using the MiniTool Partitiion Wizard, "Yes", it does take a long time. Haven't timed it but a full 64GB format on my setup probably takes 15-20 minutes.
 

hobs0n

Senior Member
Jun 25, 2007
418
5
0
42
Muppsala
Ok then I know, thanx for the replies :)

Im planning on installing this mod using TWRP, is that no idea, do I have to install CWM?? Since you are NOT saying anything about journaling in this new guide Im not planning to be forced to use it. Im now running CleanRom 2.2 and plan to install 2.3 before installing this mod. Will this work?

EDIT: Hepp doesnt seem to work :/ I was formatting and partitioning the SD (Samsung class 10 32gb) following your guide. Put the sd card in and rebooted to TWRP, wiped using cache, dalvik cache and system. Installed the data2sd cleanrom 2.3 and rebooted it. Now it hangs at the startup.. What to do?

EDIT: Not even the latest TWRP, 2.3.1.0, is supposed to work with this mod??
 
Last edited:

Mistar Muffin

Senior Member
Aug 11, 2009
291
413
0
Ok then I know, thanx for the replies :)

Im planning on installing this mod using TWRP, is that no idea, do I have to install CWM?? Since you are NOT saying anything about journaling in this new guide Im not planning to be forced to use it. Im now running CleanRom 2.2 and plan to install 2.3 before installing this mod. Will this work?

EDIT: Hepp doesnt seem to work :/ I was formatting and partitioning the SD (Samsung class 10 32gb) following your guide. Put the sd card in and rebooted to TWRP, wiped using cache, dalvik cache and system. Installed the data2sd cleanrom 2.3 and rebooted it. Now it hangs at the startup.. What to do?

EDIT: Not even the latest TWRP, 2.3.1.0, is supposed to work with this mod??
Make sure you have installed the FULL CleanROM 2.3 before applying the data2sd mod. If that still fails, switch to CWM.
 

bradslinux

Senior Member
Oct 2, 2009
110
52
0
Somerset
Brad,

Firstly, it's possible that TWRP is the cause of some of your problems. Scott, the author of CleanROM told everyone to use CWM due to TWRP not properly processing the commands to disable journaling. I would switch to that and then follow these troubleshooting steps.

1) Boot into CWM recovery.
2) Flash mount-data2sd.zip
3) Factory reset (wipes /data and /cache)
4) Format /system
5) Flash CleanROM 2.3 ROM package
6) Flash one of the data2sd conversion zips for CleanROM 2.3
7) Boot into Android - Done

Also, the sdcardi folders and symlinks are created by the kernel init in the ramdisk. They should be created if you flashed my the correct zip for your ROM.
Worked a charm, THANKS! I also discovered I had a flakey microSD to USB adaptor....go figure. Up and running now....a Ti restore JOY!
Any idea when you can implement the USB mounting to CleanRom? I saw that note that it was CM10 only atm....just curious.

Thanks for this!

Brad
 

hobs0n

Senior Member
Jun 25, 2007
418
5
0
42
Muppsala
Make sure you have installed the FULL CleanROM 2.3 before applying the data2sd mod. If that still fails, switch to CWM.
What do you mean with full cleanrom 2.3?? I thought of doing it like this with TWRP (since i really dont wanna go back nontouch CWM)

1. do a complete wipe/factory reset

2. install cleanrom 2.3

3. install cleamsy kernel

4. follow the instructions on this: http://forum.xda-developers.com/showpost.php?p=32973032&postcount=3

5. install the data2sd mod

6. do a wipe/factory reset again

is this the correct order and way to do it?

EDIT: untill data2sd mounts the ext4 partition, it wouldnt be visible to the phone?
 
Last edited:

Mistar Muffin

Senior Member
Aug 11, 2009
291
413
0
Worked a charm, THANKS! I also discovered I had a flakey microSD to USB adaptor....go figure. Up and running now....a Ti restore JOY!
Any idea when you can implement the USB mounting to CleanRom? I saw that note that it was CM10 only atm....just curious.

Thanks for this!

Brad
Glad it worked! I've officially thrown in the towel on the sdcardi USB support on CleanROM. I don't know if it's changes by ASUS or by Scott, but it just does not work. I was able to figure CM out because I could look at the source code on Github and trace the exact changes needed. We don't have source for the stock ROM and I haven't been able to fix it without.
 

dan.kels.r

Senior Member
Jun 25, 2010
537
52
0
38
Okinawa
Sorry, another clean rom question

i wiped the crap out of tablet and sd card and started as fresh as it gets. partitioned sd card properly, wiped internal memory and flashed clean rom 2.3 and let it boot to welcome screen. hold power button down and reboot to recovery (latest twrp as suggested by scrosler now) flash the mod to get datatosd and clemsyn2.2 and then reboot. when it powered on windows is seeing 18.0 of 18.0gb free on internal memory and the proper amount on the external memory. is this an issue or did i fudge it up anyway?
 

Pretoriano80

Senior Member
Jun 9, 2010
3,181
2,870
253
i wiped the crap out of tablet and sd card and started as fresh as it gets. partitioned sd card properly, wiped internal memory and flashed clean rom 2.3 and let it boot to welcome screen. hold power button down and reboot to recovery (latest twrp as suggested by scrosler now) flash the mod to get datatosd and clemsyn2.2 and then reboot. when it powered on windows is seeing 18.0 of 18.0gb free on internal memory and the proper amount on the external memory. is this an issue or did i fudge it up anyway?
AFAIK on CleanRom Data2SD you can't see your internal storage in Windows,someone correct me if i'm wrong.BTW my experience with Mini Tool Partition Wizard was very bad,and everytime i used that software to partition the MicroSD i ended-up with bootloops,only Gparted worked fine for my Sandisk Ultra 32GB Class 10.Now i only need to figure why the heck this card score so low with Data2SD.

EDIT: Those 18GB you are seeing are from the FAT32 partition on your MicroSD,at least i guess so.
 
Last edited:
  • Like
Reactions: dan.kels.r

dan.kels.r

Senior Member
Jun 25, 2010
537
52
0
38
Okinawa
having some trouble with space as i cant account for where it has gone. this mod seems to be hiding the (internal?) memory from being seen in windows at least. but my antutu is about to break 15k. i/o is definitely 150 points higher

Could anyone that is on CleanRom 2.3 with Data2SD/Clemsyns ver 22 kernel post some new benchmark scores??
 
  • Like
Reactions: jokapo

dan.kels.r

Senior Member
Jun 25, 2010
537
52
0
38
Okinawa
where can it be seen at? i looked using the built in file exporer and on right i see the same two memory devices as windows with the addition of USBdisk1 (because its plugged in maybe?) but when i click it nothing happens.

AFAIK on CleanRom Data2SD you can't see your internal storage in Windows,someone correct me if i'm wrong.BTW my experience with Mini Tool Partition Wizard was very bad,and everytime i used that software to partition the MicroSD i ended-up with bootloops,only Gparted worked fine for my Sandisk Ultra 32GB Class 10.Now i only need to figure why the heck this card score so low with Data2SD.

EDIT: Those 18GB you are seeing are from the FAT32 partition on your MicroSD,at least i guess so.
 

Pretoriano80

Senior Member
Jun 9, 2010
3,181
2,870
253
where can it be seen at? i looked using the built in file exporer and on right i see the same two memory devices as windows with the addition of USBdisk1 (because its plugged in maybe?) but when i click it nothing happens.

Look for /sdcardi with your file explorer,it should be there.Maybe nothing happends becaus it's empty.
 
  • Like
Reactions: dan.kels.r

jokapo

Senior Member
Mar 15, 2009
288
28
0
having some trouble with space as i cant account for where it has gone. this mod seems to be hiding the (internal?) memory from being seen in windows at least. but my antutu is about to break 15k. i/o is definitely 150 points higher
I cant see the picture.

Antutu gave me 14761 without using data2sd so im curious what total scores are right now

Thanks any way :)