Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
BMXJeff
Old
(Last edited by BMXJeff; 9th February 2012 at 10:00 PM.)
#1  
BMXJeff's Avatar
Member - OP
Thanks Meter 77
Posts: 98
Join Date: Jul 2010
Wink [GUIDE] How to setup A2SD WITHOUT flashing a fresh ROM

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
Attached Files
File Type: zip 40ad2sdx-a2Recovery.zip - [Click for QR Code] (156.3 KB, 714 views)
The Following 5 Users Say Thank You to BMXJeff For This Useful Post: [ Click to Expand ]
 
BMXJeff
Old
#2  
BMXJeff's Avatar
Member - OP
Thanks Meter 77
Posts: 98
Join Date: Jul 2010
Default Update...

Quote:
Originally Posted by uzi2 View Post
You can,save a lot of time by creating the EXT4 partition with minitools partition wizard as it won't delete the data already on the FAT32 partition.

Sent from my Xoom

This will make the above procedure a hell of a lot faster!

Here is a link to the Minitool Partition Wizard download
The Following User Says Thank You to BMXJeff For This Useful Post: [ Click to Expand ]
 
geenyous
Old
#3  
geenyous's Avatar
Recognized Themer
Thanks Meter 824
Posts: 1,588
Join Date: Oct 2007

 
DONATE TO ME
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
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.
htc ONE X - Glamour Grey
HTCDev Unlocked - HBOOT 1.39 - TWRP 2.4.4.0
OrDroid 14.0.0 - stock kernel - CPU Variant 2

One X AOSenseP JB Theme for any Sense ROM
One V AOSP ICS Theme for myONEv/Sense 4.0

Wiki for NexusHD2 ICS CM9!

Best way of syncing between pcs, the internet and your phone: Get Dropbox!
The Following User Says Thank You to geenyous For This Useful Post: [ Click to Expand ]
 
BMXJeff
Old
#4  
BMXJeff's Avatar
Member - OP
Thanks Meter 77
Posts: 98
Join Date: Jul 2010
Quote:
Originally Posted by geenyous View Post
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
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?
 
vasil.domuschiev
Old
#5  
Junior Member
Thanks Meter 4
Posts: 29
Join Date: Oct 2010
Location: Sofia
The whole procedure is much more simple that it seems like in the guide (very good guide also).
I did use the same script and it works perfect.
The Following User Says Thank You to vasil.domuschiev For This Useful Post: [ Click to Expand ]
 
Dam4rusxp
Old
#6  
Member
Thanks Meter 35
Posts: 79
Join Date: Aug 2010
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.
A doesn't hurt.

Phone: HTC One S
ROM: Cyanogenmod 10 Nightly
Recovery: TWRP

RIP HTC HD2
The Following User Says Thank You to Dam4rusxp For This Useful Post: [ Click to Expand ]
 
BMXJeff
Old
#7  
BMXJeff's Avatar
Member - OP
Thanks Meter 77
Posts: 98
Join Date: Jul 2010
Quote:
Originally Posted by vasil.domuschiev View Post
The whole procedure is much more simple that it seems like in the guide (very good guide also).
I did use the same script and it works perfect.
Thank you, your right about it being easier than it looks. My aim was to make sure inexperienced users don't get stuck
 
BMXJeff
Old
#8  
BMXJeff's Avatar
Member - OP
Thanks Meter 77
Posts: 98
Join Date: Jul 2010
Quote:
Originally Posted by Dam4rusxp View Post
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
Old
#9  
Junior Member
Thanks Meter 4
Posts: 11
Join Date: Mar 2010
Thanks, worked for me!
 
ponn
Old
#10  
Junior Member
Thanks Meter 4
Posts: 11
Join Date: Mar 2010
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.

The Following User Says Thank You to ponn For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
a2sd, ad2sdx, cm9, data2sd, hd2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...