• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Howto install DATA2SD: Guide

I'm still on data2sd. Stable as ever.

Only issues I have are sometimes I have to restore SD-EXT after flashing a new rom, due to corruption. But never corrupts in normal use.
 
I'm still on data2sd. Stable as ever.

Only issues I have are sometimes I have to restore SD-EXT after flashing a new rom, due to corruption. But never corrupts in normal use.

Dan,
Can you clarify the steps to go about while doing a Nandroid Backup, ROM install, and Nandroid Restore; while using DATA2SD?

Is there a difference from how we used to do it?

And specifically, suppose I backed up Nandroid of a ROM using DATA2SD, and then used a NonDATA2SD Rom (with A2SD+), would I be correct in doing the foll:


  • Backup Nandroid of the A2SD+ based ROM.
  • Change the 2nd partition (ext partition) back to FAT32, Format it;
  • Nandroid Restore the DATA2SD partition.
Is that all?
Or should we NOT do the regular Nandroid Restore, and do an advanced individual restore, omitting something?
 
Assuming you already have data2sd set up...


Download new rom.

Put busybox and 01data in relevant place.

Usual pre flash nandroid backup.

Flash rom. Thats it.

However, if you have any issues with data, in clockwork...

Backup and restore>Advanced restore>SD-EXT
 
Assuming you already have data2sd set up...


Download new rom.

Put busybox and 01data in relevant place.

Usual pre flash nandroid backup.

Flash rom. Thats it.

However, if you have any issues with data, in clockwork...

Backup and restore>Advanced restore>SD-EXT

Excellent..
And if I change my memory card?
 
Excellent..
And if I change my memory card?

Assuming you have already got a data2sd rom:

Insert Card

Mount as Mass Storage in recovery

Partition as required

Adb shell

mount /sdcard

may need -
mount /dev/block/mmcblk0p2 /sd-ext

dd if=/dev/zero of=/sd-ext/ext2 bs=1048576


then unmount, and restore in recovery

Backup and restore>Advanced restore>SD-EXT




That should be it. Just need to recreate the ext file on fat 32 and restore data to it.

I will be doing this shortly, but that should be all that is needed.
 
I'm getting a weird error in Step 3.
Trying
adb push c:\busybox-armv6l /system/xbin/busybox

Getting:
C:\Software\htc\android-sdk-windows\tools>adb push c:\busybox-armv6l /system/xbi
n/busybox
failed to copy 'c:\busybox-armv6l' to '/system/xbin/busybox': No space left on d
evice
 
I'm getting a weird error in Step 3.
Trying
adb push c:\busybox-armv6l /system/xbin/busybox

Getting:
C:\Software\htc\android-sdk-windows\tools>adb push c:\busybox-armv6l /system/xbi
n/busybox
failed to copy 'c:\busybox-armv6l' to '/system/xbin/busybox': No space left on d
evice


You mounted /system?
 
Yes I did. Something's up with busybox. It's not allowing me to copy busybox to /system/xbin..

Other commands are working fine.
 
To make ext4, what mods would I need to make in the following commands:

dd if=/dev/zero of=/sd-ext/ext2 bs=1048576
/system/xbin/busybox mke2fs -m 0 -F -L userdata /sd-ext/ext2

Do I replace both highlighted parts? Anything else?
 
I have no idea on that. Sibere has not yet fully detailed that one (although I read today he will be doing so shortly).

I still use ext2
 
I have no idea on that. Sibere has not yet fully detailed that one (although I read today he will be doing so shortly).

I still use ext2

Couldnt get over that error ("No space left"). :( Ended up leaving DATA2SD, for AuraxTSense with DATA2EXT..

After the first couple of reboots, the ROM works perfectly. Very few problems. A reboot occured while restoring Titanium apps even w/o data. Dont know what that was about..

Anyway, got bored of it, and installed the new ReflexTsense HD.. One word.. Wow! The ROM is just awesome.. No 720p vids..But otherwise, the experience is heavenly! :D
 
Someone suggested you put busybox in Rom and flash. Try that?

I did. Then I got the other msg about busybox which I posted at XDA:

Code:
Trying the foll in recovery:
adb push c:\busybox-armv6l /system/xbin/busybox

Getting:
C:\Software\htc\android-sdk-windows\tools>adb push c:\busybox-armv6l /system/xbi
n/busybox 
failed to copy 'c:\busybox-armv6l' to '/system/xbin/busybox': No space left on device
 
I forgot to mention that the version I'd flashed was old..Does not support the mk2fs function, or at least that was what mk2fs told me. Hence I flashed the busybox zip, then tried putting Sibere's newer busybox on top with adb push.

By the way, where does Leedroid install busybox? I couldnt find it in /system/xbin
 
I'm still on data2sd. Stable as ever.

Only issues I have are sometimes I have to restore SD-EXT after flashing a new rom, due to corruption. But never corrupts in normal use.

You have sync on?
What about swap?

I'm facing boot loops with both d2sd and d2xt..
Tired of repairing it constantly
 
No Sync, no Swap.

Some roms don't work with data2sd.

Hmm..
Finally got it stable on Neo's 7.9 A2SD+ version after editing out the 30a2sd.. Having Sync on..

Not one boot error so far.

I think DATA2EXT is dirty code.. Corruptible.. Sibere's is stable.. Only problem is unpredictability of whether the ROM is compatible or not.

Tried Aurax 7.9 A2SD- Works fine
ReflexTsense A2SD-Does not work.

It's a puzzle.
 
i did say i dont like the data2ext model, there are certain coders i dont trust on there and none of their work will be put on my phone
 
Indeed.

I only ever use Defrost though (I just love vanilla roms) and its my favourite.

Never got around using AOSP Roms..I miss the HTC Sync app..I'm addicted to the Outlook calendar prog, and cannot go about without syncing it at least once a day. Dont like Google Calendar :)
 
i did say i dont like the data2ext model, there are certain coders i dont trust on there and none of their work will be put on my phone

Yes, I seem to remember :)

Only reason I used it was because I'm a huge fun of Neo's roms, and since there's a version coming with built in DATA2EXT, and b/c I need more Internal space than MTD hacks can give me, I went for it.

Right now, I'm taking Neo's A2SD+ ROMS, manually editing out A2SD script and getting DATA2SD on them. Seems to work fine.
 
but the data2ext he uses is ownheres code which is flakey imo

That it is..

Wish there was an easy way to install DATA2SD on Neo's ROMS w/o having to worry about running the code each time though..

Tried Iinga's scripts based on Sibere, but at times it seems to go haywire
 
That it is..

Wish there was an easy way to install DATA2SD on Neo's ROMS w/o having to worry about running the code each time though..

Tried Iinga's scripts based on Sibere, but at times it seems to go haywire


Not sure what you're talking about.

Once you have created the ext file on your sd card (on any rom) using Sibere's process, all you need to do is put the busybox and 01data file in any other rom (providing the rom has tested with data2sd as working) and flash it.

If you're going between sense roms, or between AOSP roms, this should be fine.

Its just going from AOSP to sense or vice versa (when you would normally have to wipe) that this may not work. Although I think I have a work around for that (untested)
 
Back
Top Bottom