The goal of this guide is to have everything you need to know to run data2ext on Reborn ROM, CM7 and it should work with any custom ROM with a compatible kernel.
If you have tried these instructions on another ROM let me know and I will update the list of what works and what doesn't.
Steps To Move /Data to SD-EXT
Steps To Move /cache/dalvik-cache to /data/dalvik-cache on SD-EXT
I didn't come up with any of these procedures, I just went through the process of doing this on my phone in CM7 and Reborn so I decided to post a consolidated set of procedures for everyone.
Tested Working ROM's
Reborn ROM
Drew Walton's CM7
thkraven's CM7
GRom
Does Not Work With
Stock Sprint ROM
Opti-ROM (Darktremor's app2sd is built in use that instead see instructions on the first post [ROM] Opti-ROM v1.1.1 built-in apps2sd and storage management!
If you have tried these instructions on another ROM let me know and I will update the list of what works and what doesn't.
Prerequisites
- one of the working custom ROMs listed above
- Xionia Recovery or ThunderC Recovery
- A fast SD card (preferably class 6 or higher and 8GB or larger, a quality class 4 will probably work too)
Steps To Move /Data to SD-EXT
- Backup your SD card if you have anything on it.
- Reboot into recovery and format your SD card.
Select Advanced and then Partition SD Card
For EXT partition choose 1024 MB, for SWAP choose 0 - Download data2ext zip and copy it to the root of your SD card.
Select the correct data2ext zipFor Reborn, GRom or other VD based ROM's with Picasticks Kernel use data2ext-V4-modified.zip For CM7 based ROM's use data2ext4-V4.zip - Boot into recovery and flash the data2ext zip.
- Reboot into the ROM and make sure SD-EXT is not mounted. From ADB shell run
Code:mount|egrep mmcblk0p2
Code:umount /dev/block/mmcblk0p2
- Format the ext partition by running these commands from ADB shell:
Code:mke2fs -m0 -b4096 /dev/block/mmcblk0p2 tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2 e2fsck -yf /dev/block/mmcblk0p2 tune2fs -o journal_data_writeback /dev/block/mmcblk0p2 tune2fs -O ^has_journal /dev/block/mmcblk0p2
- Activate data2ext by running this from ADB shell. Reborn/VD based ROMs will see some errors about modules already being loaded
Code:data2ext --enable
- Reboot, Restore your SD card contents
- Profit
Steps To Move /cache/dalvik-cache to /data/dalvik-cache on SD-EXT
- Mount the /system partition R+W with adb by running
Code:adb remount
- Using adb shell remove the script that moves /dalvik-cache to /cache.
For Reborn/GRom run the command
Code:rm /system/etc/mvdalvik.sh
Code:rm /system/etc/init.d/01mvdalvik
- Reboot into recovery and wipe the /cache
- Reboot, this will most likely take a while to rebuild the /cache and /dalvik-cache
I didn't come up with any of these procedures, I just went through the process of doing this on my phone in CM7 and Reborn so I decided to post a consolidated set of procedures for everyone.
Special Thanks to
TheGrammarFreak and a bunch of others at XDA-Forums
LG Optimus V Wiki
Takenover83 and other from Optimus V forums
babbyboy80 for testing on GRom
All the active users here who have worked to figure this out, especially: glitchsta, blackops1125, basketthis, Magicman08, lichan, acromack,
manny29
Last edited: