unCoRrUpTeD DATA2EXT
&
A2SD BLASTER
&
A2SD BLASTER
DATA2EXT
What is data2ext?
data2ext was started as a way to move the entire contents of the data partition to an ext partition on the sdcard. It gives you a way to increase the size of your data partition and also increase benchmark scores. This should work on most phones as it detects the block location of the sdcard, regardless if it is /dev/block/mmcblk0 or /dev/block/mmcblk1.
SETUP
The following commands are optional and need to be put in before the 1st or 2nd boot
Make sure that the data partition is mounted before issueing the commands
Code:
adb shell
mount /data
Code:
echo "extA" > /data/.d2ext
In the future you can convert to ext3 or ext4 even after data is on the sdcard.
*Formatting the ext partition on first boot to ensure a clean and fresh filesystem
(Note: This does not need to be done)
Code:
echo "extA format" > /data/.d2ext
*Create a custom read_ahead speed for the sdcard.
(Info on what it does can be found here courtesy of brainmaster)
Code:
echo XXXX > /data/.sdrw
You will need your sdcard partitioned with at least 1 ext partition. Either you can do that through your recovery or go here to download a script that will repartition without loosing your fat32 contents.
WARNING:
Due to some changes made, you will need to either backup your apps and do a fresh install or install over my data2extV1 script. Do not try and use the a2sd-copy-and-blast method at this time.
Install on a ROM you are currently running that has a2sd or data2ext enabled:
1. Reboot into recovery
2. Flash a2sd-copy-and-blast.zip
3. Flash data2ext.zip
4. Once your phone has booted, reboot again (This is to limit the time of the first boot and the setup won't be complete until you reboot.)
Install on a ROM you are currently running that has my previous data2ext installed:
1. Reboot into recovery
2. Flash data2ext.zip
3. Reboot your phone.
Install on a ROM you are currently running that does not have a2sd or data2ext enabled:
1. Reboot into recovery
2. Flash data2ext.zip
3. Once your phone has booted, reboot again (This is to limit the time of the first boot and the setup won't be complete until you reboot.)
Install on a fresh intall of a rom:
(It doesn't matter if it has a2sd or not as this will remove all a2sd scripts if they are present)
1. Reboot into recovery
2, Wipe everything
3. Flash ROM
4. Flash data2ext.zip
5. Reboot
6. Once your phone has booted, reboot again (This is to limit the time of the first boot and the setup won't be complete until you reboot.)
[/SIZE]
A2SD-BLASTER
unCoRrUpTeD-a2sd-blaster.zip: Use this one to remove a2sd from the ROM if you are doing a fresh install or want to keep all data on your ext partition for data2ext
unCoRrUpTeD-a2sd-copy-and-blast.zip: Use this one if the ROM your are currently running is using a2sd. It will remove a2sd from it and copy all apps from the ext partition back onto your phone's /data partition.
Changelog
data2ext-V2.2:Fixed issue with V2.1 freezing on boot, due to deleting /system/bin
data2ext-V2.1:Added a check for those already using data2ext
data2ext-V2:included checks if the ROM has the needed files, included the option to change the format to ext3 or ext4 on first boot, added sdcard read ahead tweak. Reboot needed after any install, added custom_backup_list.txt for new installs or updates
a2sd-copy-and-blast_V2:changed to move data back to phone along with apps
data2ext-V1: 1st release
a2sd-blaster: 1st release
a2sd-copy-and-blast: 1st release
Attachments
-
160.8 KB Views: 628
-
908 KB Views: 523
-
160.8 KB Views: 754
-
989.4 KB Views: 768
Last edited: