[GUIDE] How to setup A2SD WITHOUT flashing a fresh ROM

BMXJeff

Senior Member
Jul 8, 2010
121
116
0
Romsey
After an hour or two of frustrating googling and thread sifting I managed to successfully setup A2SD to increase internal phone memory without affecting my current ROM and installed apps/data/settings. I thought I'd put together a clear and simple guide to save anybody else the pain and because I feel I owe the community for all the awesome ROMs and hacks my HD2 has been subjected to over the past couple of years!


Update: If you want to upgrade your ICS ROM rather than fresh install and maintain this A2SD script then see here


How to setup A2SD on the HD2 without flashing a new ROM and maintaining all apps, settings and data


1.) Copy the contents of your SD card to a PC so it can be restored later. Before doing anything like this I always make a backup of my current ROM using CWM recovery and you should too! Please search XDA if you are unsure on how to do this. There are other ways to back up your SD card and apps and tools that will do this for you but this is the easiest and most foolproof method.

2.) Reboot your phone into recovery. If you have MAGLDR then when your phone is off, hold power button until you see the MAGLDR menu and select option 8 for recovery using the volume buttons to scroll and call button to select

3.) Still using the volume and call/back buttons to navigate the menu, select ADVANCED and then PARTITION SD CARD. Select your ext partition size. 1024 seems a healthy size big enough for most people. I have read many warnings about using 2048 and above so I recommend only going as big as you need to. Select 0M swap and continue to partition. Please be aware that your SD card will be formatted so make sure you paid attention to step 1!

4.) Now you need to flash the script that will make this partition wizardry happen. Download 40ad2sdx-a2Recovery.zip and save to your PC. From the CWM recovery main menu, select MOUNTS AND STORAGE then MOUNT USB STORAGE with your phone plugged into the PC. Windows will recognize your phone as a USB mass storage device so you can copy the script (40ad2sdx-a2Recovery.zip) directly onto the SD card. Once copied, press the call button on the phone to unmount USB storage. Now, back to the main menu and select INSTALL ZIP FROM SD CARD then CHOOSE ZIP FROM SD CARD. 40ad2sdx-a2Recovery.zip will be the only thing in the list so select and install it

5.) To complete the setup of the script you need to fix permissions. Once again, CWM recovery does all the hard work for us so from the main menu simply select ADVANCED and then FIX PERMISSIONS

6.) Ok. The A2SD virtual internal phone storage is now setup but before you reboot the phone, you need to restore the contents of the SD card so that Android doesn't try and set up the SD card from scratch and inevitably cause issues with your apps. As in step 4 connect your phone to the PC as a USB mass storage device and copy the SD card backup you made in step 1 back on to your SD card. This may take a while depending on how much data you have. 4GB took just over an hour for me. Once complete select UNMOUNT on the phone

7.) Now for the moment of truth... Keep your fingers crossed and select REBOOT from the recovery main menu. If all went to plan everything should look exactly as it did when you left it. Go into SETTINGS/MANAGE APPS to see your shiny new internal storage size and no more complaints from Android about your internal memory being low.

8.) We're almost there. Although everything should now work perfectly and your internal memory has increased you will most likely find you have the low sound issue where media played from the SD card is very quiet. To solve this you simply need to fix permissions one last time. Boot into recovery as in step 2 and select ADVANCED and then FIX PERMISSIONS just as you did in step 5. Now reboot and enjoy!


WARNING

- This guide assumes you have recovery etc. installed (see my signature for the specs that worked for me)
- I have only tried this with tytung's NexusHD2-ICS-CM9 V1.2 so I cannot promise it will work with other ROMs although I don't see why not. Be aware that some ROMs are already DATA2SD enabled and will not require an additional script - do your research!
- I have written this guide with the intent of helping a few lost HD2 users and it's merely based on my experience. I hold no responsibility for you bricking your phone or any other damage caused
- I am not a DEV but a ROM dabbler; I did not write this script and can only thank the guys responsible for it
 

Attachments

Last edited:

geenyous

Inactive Recognized Themer
Oct 20, 2007
1,785
853
0
Shanghai
Additionally to using MTPW, format your SD with SD Formatter (to have it really nice and clean) and do all your operations with a SD card reader on your pc to make things even more faster :D
Plus, I think CWR only formats in ext3, not ext4 (which seems to be better)...
More info plus some other scripts in the Tytung Nexus CM9 wiki quoted in my sig.
 
  • Like
Reactions: BMXJeff

BMXJeff

Senior Member
Jul 8, 2010
121
116
0
Romsey
Additionally to using MTPW, format your SD with SD Formatter (to have it really nice and clean) and do all your operations with a SD card reader on your pc to make things even more faster :D
Plus, I think CWR only formats in ext3, not ext4 (which seems to be better)...
More info plus some other scripts in the Tytung Nexus CM9 wiki quoted in my sig.

Thanks for the tips, SD Formatter looks like a good idea.

I really need to find my mini-SD to SD adapter!


I have had no issues with ext3 so far, does anybody know the benefits of ext4?
 

Dam4rusxp

Senior Member
Aug 27, 2010
101
64
0
You should add another step that includes rebooting into recovery and fixing permissions a second time to fix the low volume issue. Aside from that thats the best guide on this subject I've read so far. Lets hope this will be a help to people switching to ICS roms without included Whatever2SD.
 
  • Like
Reactions: BMXJeff

BMXJeff

Senior Member
Jul 8, 2010
121
116
0
Romsey
You should add another step that includes rebooting into recovery and fixing permissions a second time to fix the low volume issue. Aside from that thats the best guide on this subject I've read so far. Lets hope this will be a help to people switching to ICS roms without included Whatever2SD.
Thanks, you're right about adding a step to cure the low volume issue. I will do that as soon as I get back on a PC.

All the guides I found before this were unnecessarily complicated and misleading. I hope this helps a few people
 

ponn

Member
Mar 1, 2010
11
4
0
As said, worked OK for me, but had low sound bug after that. Fixed permissions as you told and it was OK until next reboot. After reboot low sound was back.

Solution for me was to fix permissions twice.

1. Power off
2. CWM recovery and Advanced -> Fix permissions
3. Power off
4. CWM recovery and Advanced -> Fix permissions
5. Power off and boot

Now even after reboot low sound is not coming back.
 
  • Like
Reactions: BMXJeff

BMXJeff

Senior Member
Jul 8, 2010
121
116
0
Romsey
As said, worked OK for me, but had low sound bug after that. Fixed permissions as you told and it was OK until next reboot. After reboot low sound was back.

Solution for me was to fix permissions twice.

1. Power off
2. CWM recovery and Advanced -> Fix permissions
3. Power off
4. CWM recovery and Advanced -> Fix permissions
5. Power off and boot

Now even after reboot low sound is not coming back.

Coincidentally I updated the above guide explaining that you will need to fix permissions twice to avoid the low sound issue about 15 mins ago. See the final 'step 8'

Please can I ask you to have a quick look and confirm these steps make sense?

Thanks
 

BMXJeff

Senior Member
Jul 8, 2010
121
116
0
Romsey
How to upgrade your ICS ROM.... properly!

I had some trouble upgrading from 1.2 to 1.3 because I was trying to use WinRAR to insert the script into the zipped ROM and CWM kept erroring.

7-zip seems to do the job perfectly so once again, feel free to learn from my mistakes...




How to upgrade your ICS ROM and maintain amarullz script


1.) Back up current ROM and apps however you want. I recommend a backup of the ROM with CWM and a backup of the apps with Titanium Backup. You can also copy the entire contents of the SD card to a PC for a fool proof backup. This is only as a precaution in case all hell breaks loose!

2.) On your PC unzip the script 40ad2sdx from 40ad2sdx-a2Recovery.zip or download the attached file from this post and unzip

3.) Open NexusHD2-ICS-CM9_V1.3.zip with 7-zip (Google and download for free) and go to folder system/etc/init.d/ then drag and drop the unzipped file 40ad2sdx to the opened 7-zip window then close 7-zip

4.) Copy the modified NexusHD2-ICS-CM9_V1.3.zip to the phones SD card

5.) Boot into CWM and install the ROM. There is no need to wipe cache or dalvik cache

6.) Reboot and relax :)
 

Attachments

  • Like
Reactions: pa0l080

BMXJeff

Senior Member
Jul 8, 2010
121
116
0
Romsey
thnx buddy.... but i tried it on coredroid v3.7 for hd2.... it got stuck....... had to reinstall rom.......... any ideas

Sorry to hear you're having trouble but as stated I have only tried this on ICS ROMS CM9 by tytung V1-4.

I have not tried installing this script on a Gingerbread ROM such as coredroid v3.7. In fact, I never found the need for more internal memory when I was using Gingerbread ROMS.

On the coredroid thread it says:

"Can we use A2SD?
All CoreDroid builds use EXT partition to use as DATA USER and use some parts of SYSTEM. This was chosen this way cause it makes the build faster. You can always use APPS2SD from MARKET to save a little more space on Phone storage if its not enough for you"


This suggests to me that all you need to do is create the EXT partition using CWM and you're good to go but please do some XDA searching first

Good luck
 

BMXJeff

Senior Member
Jul 8, 2010
121
116
0
Romsey
Is this script working on urdroid sensational xl stock 3.5? Please advise....

Sent from my mighty HTC HD2

If you are referring to this ROM here:

http://forum.xda-developers.com/showthread.php?t=1275119

Then you do not need the script from my thread. It looks like ext partition support is included and mandatory from version 3.2 onwards. Please see threads specific to your ROM but as in my previous reply it looks like all you need to do is create an ext partition and you're done.

Please search XDA to confirm this as I have not used that ROM

Good luck