Clone SD card (with a2sd on)? - HTC Aria General

Question:
I've noticed I'm pretty much at my limit for space on my current SD card (like 80MB remaining on a 4GB!)...
I've ordered an 8GB card to replace this one... but how can I "clone" my current 4GB card (with a2sd partitions) and then copy it over to my 8GB card, without losing data, settings, apps, etc? Is there a way?
Thanks in advance.

Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.

Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!

gfinockio said:
Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!
Click to expand...
Click to collapse
Haha yeah, I think it's the easiest way to do it with Windows, since you can't read the ext partition from the computer. You could probably just copy the contents of both partitions through Linux if you're comfortable doing that.

Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...

jdwhite87 said:
Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...
Click to expand...
Click to collapse
Clockwork does not back up my ext partition. It can't mount it or anything. Not sure why. Might be because its ext4, but when I do nandroids the sd-ext backup always fails.
I have to use Ubuntu and mount as storage. Then both of my partitions mount on my computer and I can do as I please. For me this seems easiest anyway. Simple copy and paste and it can be done from a live cd for those that dont already have Ubuntu.
Sent from my cm7 Aria.

drumist said:
Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.
Click to expand...
Click to collapse
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?

gfinockio said:
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?
Click to expand...
Click to collapse
Partitions menu

CallMeAria said:
Partitions menu
Click to expand...
Click to collapse
What version has that menu option? I don't see it.

Interesting. I was sure you could format a card with ext partition through Clockwork but apparently you can't. You can do it through ROM Manager though, so I guess you may have to boot into the phone to get to it.
The programs on the ext partition won't show up yet of course. Don't be alarmed. Just partition the card through ROM Manager, then once you're done doing that, do the nadroid advanced restore. If there are any problems after a reboot (i.e., it didn't work correctly), go back and try doing the regular full nandroid restore.

gfinockio said:
What version has that menu option? I don't see it.
Click to expand...
Click to collapse
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.

CallMeAria said:
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.
Click to expand...
Click to collapse
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?

gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
someone recommended in another thread that when that happens you just pull out the battery and then use volume down+power to boot back into recovery and it should then work.
But the method I use is to do it from Ubuntu (a linux version). If you dont want to install Ubuntu on your computer you can make a bootable CD or USB drive with Ubuntu on it (directions for this are on the Ubuntu download page) and actually run Ubuntu from the CD/USB without ever installing it on your computer. From there you can use gParted to create paritions. And while I recommend making backups, gparted even allows you to resize and move partitions without deleting anything.

gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.

drumist said:
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.
Click to expand...
Click to collapse
I'm reverting back now, going to sleep on it, and then investigate formatting it via LiveCD tomorrow morning. It's been several years since I've had to go near anything Unix.

By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.

drumist said:
By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.
Click to expand...
Click to collapse
That got me thinking...Ive never had a problem adding an ext partition using Rom Manager. Ive done it to 3 SD cards now without a single issue. BUT, Ive also always done it while on cm6/7 which both came with Rom Manager pre-installed with the rom and quite a bit of integration with the rom manager app...just a thought...
EDIT: Scratch that, I used it for 2 SD cards, the 3rd was done with Ubuntu.

Here's my post from the other thread
jdwhite87 said:
Rom manager - partition SD card - choose your partitions. It will reboot into recovery and try but fail to partition your card. Pull battery. Replace battery - hold volume down and power. Wait for it to try and find the libde. Img then press volume down and it will highlight recovery then press power. It will boot into recovery and finish partitioning your card.
I think that's how I got it to work.
Click to expand...
Click to collapse
I did this with two different SD cards on fr008. Both were sandisks. One was a 16 gb class 4 and the other was an 8 gb class 6. I couldn't get gparted to partition the 8 gb for whatever reason. I didn't know what Ubuntu was when I partitioned the 16 gb

It seems like an oversight that maybe of the masses of people with Android devices that one day the general (non-xda) population would want a simple way to transfer their sd card data to a larger card...
I Imagine there are a bunch of people out there clueless.
Hell, I read XDA and there was still no clear simple way in this thread.
(I got here from a Google search for SD CARD CLONE)

Got it to work, finally. Required some back-and-forth with the Nandroid backups, but I have everything running off of my 8GB SD card now, without reinstalling!
Now, to sell off my 4GB card... anyone?

Related

Are there steps that need to happen when replaing an SD card on a custom ROMed phone?

Currently I have a Sprint HTC hero running MoDaCo v 2.2 (has A2SD included). My SD is partitioned with ext 2 and swap. If I was to get a larger SD card to replace the one that's currently in the phone, is there a way I can completely copy all the partitions from the old one to the new one without having to do any maintenance on through phone's recovery image? Or will there always be a few things that need to be done through the recovery image (re-partition the new card, etc)? Is this process listed somewhere already (changing SD cards)? Thanks.
You could use droid explorer, Linux, adb shell, or Android commander to pull the data from you extra and swap partition. Then format and push to your new card.
EasierLikeThis said:
Currently I have a Sprint HTC hero running MoDaCo v 2.2 (has A2SD included). My SD is partitioned with ext 2 and swap. If I was to get a larger SD card to replace the one that's currently in the phone, is there a way I can completely copy all the partitions from the old one to the new one without having to do any maintenance on through phone's recovery image? Or will there always be a few things that need to be done through the recovery image (re-partition the new card, etc)? Is this process listed somewhere already (changing SD cards)? Thanks.
Click to expand...
Click to collapse
You've got it backwards. You need to do EVERYTHING through the recovery image... don't know why you'd have a problem using it.
Make a Nandroid + EXT backup of the phone.
Turn on USB-MS, mount the phone on your computer.
Copy the contents of the sdcard to your computer, *including* the Nandroid backup.
Unmount the phone, turn off USB-MS.
Now power-off the phone.
Replace the sdcard, boot the phone back to recovery. Do NOT allow the phone to boot Android, all you'll get is endless FC errors and you'll have to reboot it again anyway.
Partition the new sdcard.
Turn USB-MS on, mount the phone on your computer.
Copy the sdcard files, including the Nandroid backup, back to the sdcard.
Unmount the phone, turn off USB-MS.
Now restore the Nandroid backup. This puts your apps back onto the EXT partition.
And now you can allow the phone to boot Android.
posguy99 said:
You've got it backwards. You need to do EVERYTHING through the recovery image... don't know why you'd have a problem using it.
Make a Nandroid + EXT backup of the phone.
Turn on USB-MS, mount the phone on your computer.
Copy the contents of the sdcard to your computer, *including* the Nandroid backup.
Unmount the phone, turn off USB-MS.
Now power-off the phone.
Replace the sdcard, boot the phone back to recovery. Do NOT allow the phone to boot Android, all you'll get is endless FC errors and you'll have to reboot it again anyway.
Partition the new sdcard.
Turn USB-MS on, mount the phone on your computer.
Copy the sdcard files, including the Nandroid backup, back to the sdcard.
Unmount the phone, turn off USB-MS.
Now restore the Nandroid backup. This puts your apps back onto the EXT partition.
And now you can allow the phone to boot Android.
Click to expand...
Click to collapse
I don't have a problem using it, its very robust and easy to decipher. I just wasn't sure what steps would go into changing SD cards and keeping everything the way they are. What you've described here is perfect. Thanks very much. Time for me to go get a bigger, higher classed SD card to replace this stock 2gb card. Thanks.

Can't Wipe SD Ext

Hey everyone,
I just rooted my Hero awhile ago and everything went fine... However, I tried to flash a ROM to it and something seems to have screwed up. It booted once, but it wasn't to the new ROM, it seemed like it was back to factory settings... and now it won't get past the initial HTC logo when I try to boot. I can reach the recovery, but I've tried wiping everything and restoring with Nandroid and still nothing.
I think the problem may be with the wipe. When I wipe data/factory reset, I get "No app2sd partition found. Skipping format of /sd-ext." I'm new at this but I've noticed most ROMs saying that sd-ext needs to be wiped. Is this why I can't boot the phone? Is there a way to fix this?
Thanks.
randomhodge said:
Hey everyone,
I just rooted my Hero awhile ago and everything went fine... However, I tried to flash a ROM to it and something seems to have screwed up. It booted once, but it wasn't to the new ROM, it seemed like it was back to factory settings... and now it won't get past the initial HTC logo when I try to boot. I can reach the recovery, but I've tried wiping everything and restoring with Nandroid and still nothing.
I think the problem may be with the wipe. When I wipe data/factory reset, I get "No app2sd partition found. Skipping format of /sd-ext." I'm new at this but I've noticed most ROMs saying that sd-ext needs to be wiped. Is this why I can't boot the phone? Is there a way to fix this?
Thanks.
Click to expand...
Click to collapse
Yes, that's way.
You need to wipe the ext partition -- most likely the partition that houses Apps2SD.
**This will ERASE everything on the SD Card. Before trying this, you need to back up your sd card (pictures, music, etc) -- meaning, copying all the stuff from the card onto your Desktop or somewhere on the computer before proceeding to the next step.
To do so; go into recovery and choose:
1. Partition sdcard
2. Partition SD
3. Press Home to confirm
4. Set Swap-size to 0 MB (Use trackball)
5. Set Ext2-size to 0 MB (Use trackball)
6. Fat32-size = Leave that to Remainder
7. Press Home to confirm.
This will FORMAT (erase) everything on your SD card, but not the phone. For good measure, I would wipe your phone and Dalvik once more before flashing the ROM again. After its done, you can reboot, mount your SD Card and copy what you saved to the desktop (or wherever) back onto the SD card.
If you want Apps2SD (I'll presume you have a regular 2 gig SD Card), then after wiping both your phone and Dalvik; you'll need to follow the steps above to wipe the Ext partition, but instead of setting your swap to 0, set it to 128. Then set your Ext2/3/4 to 1 Gig (1024 megabtyes) and leave the Fat32-size as Remainder. For larger cards, you can adjust the Ext/2/3/4 partitions to about half the size of your SD Card. (Ex. 4 gig card; set Ext to 2 gigs, leave Fat32 as remainder).
Good luck.
I'm not seeing the partition option, maybe I should've mentioned I'm in Clockwork Mod recovery. Under the partitions menu there is an option to format sdcard, will that have the same effect? I've tried format sd-ext, but of course it didn't work..
Edit: I've reformatted the SD card, but still can't boot, and am still getting the No app2sd partition found error when I select wipe data/factory reset. Is there a way to get to the partition sd option with this Clockwork Mod recovery?
randomhodge said:
I'm not seeing the partition option, maybe I should've mentioned I'm in Clockwork Mod recovery. Under the partitions menu there is an option to format sdcard, will that have the same effect? I've tried format sd-ext, but of course it didn't work..
Click to expand...
Click to collapse
Clockwork Mod? Can you please link where you got this? The only recovery ROM's I'm familiar with are RA 1.3.2, 1.5.2, 1.6.2, and Godspeed. I would highly advise installing the latest RA 1.6.2 or Godspeed recovery images, as the advise myself or anyone else gives you will pertain almost always to those recovery images.
The tutorial I was using to flash the ROM recommended using an app from the app store called ROM manager, which installed the Clockwork mod. I'm attempting now to get RA 1.6.2 on it instead.
What's the best way to install a new recovery ROM? using this one, I can get connect to the pc and get a command window open, but from there what I'm trying doesn't seem to be working.
Problems with sd card
this seems like a good place to ask..after trying to flash a new rom(aloysuis) i hung on the black htc screen. i abondoned that card, inserted my old, reflashed fixxxed on there and its fine. i put my other sd card in that wouldnt work, formatted and copied the working card contents back on it. running fixxxedsense my phone upon loading says "sd card removed, Insert a new one. plug it in and it doesnt give me an option to mount, but when im in recovery mode it lets me mount and see all the contents i put on there. Did i ruin my sd card r is there a problem with the partitions maybe?
thatdudepoops said:
this seems like a good place to ask..after trying to flash a new rom(aloysuis) i hung on the black htc screen. i abondoned that card, inserted my old, reflashed fixxxed on there and its fine. i put my other sd card in that wouldnt work, formatted and copied the working card contents back on it. running fixxxedsense my phone upon loading says "sd card removed, Insert a new one. plug it in and it doesnt give me an option to mount, but when im in recovery mode it lets me mount and see all the contents i put on there. Did i ruin my sd card r is there a problem with the partitions maybe?
Click to expand...
Click to collapse
It seems the partitions might be the problem.
**If you don't mind erasing everything on your "broken" sd card, please follow the steps below.
**This will ERASE everything on the SD Card. Before trying this, you need to back up your sd card (pictures, music, etc) -- meaning, copying all the stuff from the card onto your Desktop or somewhere on the computer before proceeding to the next step.
To do so; go into recovery and choose:
1. Partition sdcard
2. Partition SD
3. Press Home to confirm
4. Set Swap-size to 0 MB (Use trackball)
5. Set Ext2-size to 0 MB (Use trackball)
6. Fat32-size = Leave that to Remainder
7. Press Home to confirm.
Click to expand...
Click to collapse
After you've done this; your card will have nothing on it. You should be able to use the card again, I would try using it again and see if you can mount it; both in recovery and in regular phone mode.
pseudoremora said:
It seems the partitions might be the problem.
**If you don't mind erasing everything on your "broken" sd card, please follow the steps below.
After you've done this; your card will have nothing on it. You should be able to use the card again, I would try using it again and see if you can mount it; both in recovery and in regular phone mode.
Click to expand...
Click to collapse
yea i partitioned it, although it doesnt let me set size tho.its says its partition with no errors. it should be partitioned ive used this method every other time...oh im still using ra-heroc-v1.2.3
randomhodge said:
The tutorial I was using to flash the ROM recommended using an app from the app store called ROM manager, which installed the Clockwork mod. I'm attempting now to get RA 1.6.2 on it instead.
What's the best way to install a new recovery ROM? using this one, I can get connect to the pc and get a command window open, but from there what I'm trying doesn't seem to be working.
Click to expand...
Click to collapse
To install a custom recovery image:
1. Download either RA 1.6.2 or Godspeed recovery
2. Copy Recovery Image to your SD Card
3. Boot your phone into recovery mode
4. Plug your phone into your computer
5. Open command prompt and change directory your androidsdk\tools folder
6. Run the following command(s):
Code:
adb shell
$su (not required if you have root already)
#mount -a (You might get some error messages, [B]keep going[/B])
#flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
reboot recovery
After the reboot, you should the new recovery image installed.
thatdudepoops said:
yea i partitioned it, although it doesnt let me set size tho.its says its partition with no errors. it should be partitioned ive used this method every other time...oh im still using ra-heroc-v1.2.3
Click to expand...
Click to collapse
If you have a SD Card adapter or a card reader that can read mini-sd cards:
1. Plug your sd card into the reader/adapter; then to the computer
2. Right click on the removable drive in My Computer
3. Choose FORMAT
4. Quick Format is fine
5. After it's complete, close the window and test the card again.
If it fails again or gives error messages, you might have a bad card.
Okay, got the new recovery, partitioned and wiped everything, and am trying to flash the ROM again. Wish me luck
Okay, now I get past the HTC logo, and it seems to be loading the ROM, then it freezes. I've let it sit for around 5 minutes now with nothing, is this normal for the first load of a ROM or should I try to restore my backed up nandroid?
ClockworkMod has a problem with wiping ext. Amon_RA or GodSpeed should work fine.
randomhodge said:
Okay, got the new recovery, partitioned and wiped everything, and am trying to flash the ROM again. Wish me luck
Click to expand...
Click to collapse
Good luck, report back.
Edited the last post, but I'll repost for the new page:
Okay, now I get past the HTC logo, and it seems to be loading the ROM, then it freezes. I've let it sit for around 5 minutes now with nothing, is this normal for the first load of a ROM or should I try to restore my backed up nandroid?
randomhodge said:
Edited the last post, but I'll repost for the new page:
Okay, now I get past the HTC logo, and it seems to be loading the ROM, then it freezes. I've let it sit for around 5 minutes now with nothing, is this normal for the first load of a ROM or should I try to restore my backed up nandroid?
Click to expand...
Click to collapse
The first boot can take some time. With that said, 5-20 minutes is usually best to give the intitial boot. If it still isn't booting; redownload the ROM and try reflashing.
pseudoremora said:
To install a custom recovery image:
1. Download either RA 1.6.2 or Godspeed recovery
2. Copy Recovery Image to your SD Card
3. Boot your phone into recovery mode
4. Plug your phone into your computer
5. Open command prompt and change directory your androidsdk\tools folder
6. Run the following command(s):
Code:
adb shell
$su (not required if you have root already)
#mount -a (You might get some error messages, [B]keep going[/B])
#flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
reboot recovery
After the reboot, you should the new recovery image installed.
If you have a SD Card adapter or a card reader that can read mini-sd cards:
1. Plug your sd card into the reader/adapter; then to the computer
2. Right click on the removable drive in My Computer
3. Choose FORMAT
4. Quick Format is fine
5. After it's complete, close the window and test the card again.
If it fails again or gives error messages, you might have a bad card.
Click to expand...
Click to collapse
ok after trying to put the ne recovey on there i tried to go into the adb shell and it says
C:\android-sdk-windows\tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
error: device not found
C:\android-sdk-windows\tools>adb shell
error: device not found
Up and running! Thanks so much for your help
thatdudepoops said:
ok after trying to put the ne recovey on there i tried to go into the adb shell and it says
C:\android-sdk-windows\tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
error: device not found
C:\android-sdk-windows\tools>adb shell
error: device not found
Click to expand...
Click to collapse
Make sure you have Debugging mode on.
To do this (on the phone):
1. Menu
2. Settings
3. Applications
4. Development
5. Make sure USB Debugging has a check in it
Then run the commands again.
randomhodge said:
Up and running! Thanks so much for your help
Click to expand...
Click to collapse
No problem, glad eveything worked out.
pseudoremora said:
Make sure you have Debugging mode on.
To do this (on the phone):
1. Menu
2. Settings
3. Applications
4. Development
5. Make sure USB Debugging has a check in it
Then run the commands again.
No problem, glad eveything worked out.
Click to expand...
Click to collapse
yep its on
thatdudepoops said:
yep its on
Click to expand...
Click to collapse
Are able to run adb commands when your phone is booted into regular phone mode?
pseudoremora said:
Make sure you have Debugging mode on.
To do this (on the phone):
1. Menu
2. Settings
3. Applications
4. Development
5. Make sure USB Debugging has a check in it
Then run the commands again.
No problem, glad eveything worked out.
Click to expand...
Click to collapse
pseudoremora said:
Are able to run adb commands when your phone is booted into regular phone mode?
Click to expand...
Click to collapse
no it still says no devices

[Q] CM7 SD Boot - Can you expand EXT4

I've had a lot of success creating a bootable CM7 using the size agnostic preparation instructions. (Here) I want to keep the Nook at stock, for a variety of reasons. Anyway, I created a very nice installation on a 16gb uSD card and did a lot of work setting up LP+ and my hundred-odd android apps. (I also have an Evo 4G). I was fortunate enough to get a 32gb uSD at a great price and want to move my installation over to that. The most successful by making an image with the Win32DriveImage and flashing that back to the 32gb uSD card, which leaves a large area of un-partitioned space. I've tried a couple downloaded tools but have been unsuccessful. Is there a command I can use in Terminal Emulator to to do that? I know I can use the agnostic procedure to start from scratch, but I'd really hate to do that.
The only thing that would make starting over is if someone can point me to instructions that would allow me to have an installation that boots from uSD and has fully functional CWR and Rom Manager. I love how it works on my EVO to download and install updates with a couple clicks. (Everything I've tried there seems to mess with the core Nook).
Thanks a lot!
Rob
Use Minitool Partition Wizard, or another windows partition manager to expand the last storage partition.
LBN1 said:
Use Minitool Partition Wizard, or another windows partition manager to expand the last storage partition.
Click to expand...
Click to collapse
Thanks for the suggestion. I tried a few partition managers and run into the same problem including with MiniTool. It will start the process of expanding or copying and expanding in one step, but it will eventually say "file system error" just before it finishes. It suggests repairing the file system, but none of the tools can do this with the ext4 partition. Still trying though. Gonna give the Acronis partition manager a whirl.
bitbearmi said:
Is there a command I can use in Terminal Emulator to to do that? I know I can use the agnostic procedure to start from scratch, but I'd really hate to do that.
Click to expand...
Click to collapse
You can edit partitions with fdisk from the terminal emulator. I suggest googling, it's a pretty old school tool and isn't very friendly. You should easily be able to resize your "sd" partition with that. Actually more accurately you should be able to delete that last partition and then create a bigger one in it's place. won't keep your data, but you can just copy it over to your computer and resize, then copy back.
Another option would be gparted which comes with basically every live linux cd ever. That one can actually do true resizes and should handle ext4 partitions easily (it is a linux file system after all)
bitbearmi said:
The only thing that would make starting over is if someone can point me to instructions that would allow me to have an installation that boots from uSD and has fully functional CWR and Rom Manager. I love how it works on my EVO to download and install updates with a couple clicks. (Everything I've tried there seems to mess with the core Nook).
Click to expand...
Click to collapse
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Thank you so much. I think that will do the trick.
..rob
ylixir said:
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Click to expand...
Click to collapse
OK. All is well and the dual-boot solution is super-convenient. But I'm a little perplexed as to how to work with CWM in this environment. Ideally I'd like this to work just as it does on my EVO, Rom Manager lets me know there is a new version, I select it, it downloads asks if an want Gapps and backup (yes please) then it does its thing. Maybe that is way too much to ask. If so, then the main things I need to know are how to instal an updated build that I download separately? Do I just copy it to the root of the boot partition.
Sorry for being such a n00b with the nook. Its funny but I'm much more confident messing with my phone, which if bricked, is pretty catastrophic. (LOL)
The instructions for updating CM7 for the agnostic build is in the OP's post for that build.
"How to update to a new build:
put the new build you want to try on the first partition. (the name must be update-cm-*.zip or cm_encore_full*.zip or just update-*.zip)
Boot from the SDcard in the recovery mode (see above) and the new snapshot would be installed.
The partition layout would be preserved, filesystems are NOT reformatted, so your data should be safe."
Also, Easeus Partition Manager is supposed to be able to resize partitions w/o destroying data. YMMV, of course. I used it to extend ext 4 but prior to putting anything there.
Didn't have any luck with easus either, but ended up using a gparted boot which worked great. Normally I would use recovery nandroid to backup the rom before installing the updated, but when I did that by booting into alternate, I ended up backing up the nook rom to the root partition, so I think the safest thing to do is to use win32diskmanager to image the entire sd card.
ylixir said:
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Click to expand...
Click to collapse
So, just to make absolutely sure, if I already have CM7 installed on an SD card, which I've been using as a daily driver, installing apps, downloading Kindle books, PDFs, and the like, but I want to put CWMR onto the SD card, the steps you outlined should be OK?
NOTE: I know, I know, if I'm confused I probably shouldn't be screwing around with things...But the size-agnostic SD CM7 method was so bloodless that I thought the other stuff would be pretty easy to do. For whatever reason, adding stuff like the OC kernel and CWMR has been a little confusing.

[Q] Changing HD2 sd card problens

Hi, it my first postage. Sorry for my english, but, I am a brazilian and my english it's not so good!
Look I have flashed this Rom on my HD2
http://forum.xda-developers.com/showthread.php?t=1326217
and everything going fine.
But now I have a new SD card, and I have a problem:
When I try to start phone with a new card they don't start. I try to copy all archives to new card but isn't work. They stop on the HTC screen and freezing.
I think the NAND room don't need SD Card to work, I try to star without card and the problem is the same.
What I have to do???
Sorry for the noob question!
slashdilon said:
Hi, it my first postage. Sorry for my english, but, I am a brazilian and my english it's not so good!
Look I have flashed this Rom on my HD2
http://forum.xda-developers.com/showthread.php?t=1326217
and everything going fine.
But now I have a new SD card, and I have a problem:
When I try to start phone with a new card they don't start. I try to copy all archives to new card but isn't work. They stop on the HTC screen and freezing.
I think the NAND room don't need SD Card to work, I try to star without card and the problem is the same.
What I have to do???
Sorry for the noob question!
Click to expand...
Click to collapse
My friend, i advise you to start all over again from Zero
1- Format your SD card with Gparted . or using right click on SD partition .
2- Task29
3- Install MAGLDR
4- USB flusher and run DAF.exe to repartition your rom
5- go to AD Recovery > Advanced > Partition SD card > Select 1024 > Select Swap 256 > Flash your rom > Enjoy ( ihope so )
Remember the installation progress may tak up to 20 MIN so be patient >
Good luck
My recommendation would be to do a clean install.
- Format the new SD-card (fat32)
- Go into CWM
- Wipe data/factory reset
- Wipe cache partition
- Wipe dalvik cache
- Install rom with new SD-card in slot.
Hope I could be of help.
did you partition the first sdcard? If you did I think the other card wont work because it has to be repartitioned to the same size as the other sdcard??? Like when you use swap
Thank you guys!!!
Look if I make a clean install I lost everything I have in this phone Ok?! Or I have choices for don't lost the applications and customization's???
slashdilon said:
Thank you guys!!!
Look if I make a clean install I lost everything I have in this phone Ok?! Or I have choices for don't lost the applications and customization's???
Click to expand...
Click to collapse
thats right.
a solution could be:
get old sd card into phone and fire it up
when boot is finish check if everything is working
reboot into MAGDLR whith holding down the power button while phone starts
get use of entry name USB mass storage
start any partition tool you like and have a look if and how your old sd card is partitionated
press power button to get back to the MAGDLR menu
start AD Recovery to get into CWM
make a backup of your rom
copy the backup via mount usb storage to your pc
get the new sd card to your phone
get into MAGDLR menu and the start CWM
choose partition sd card and get the same ext partition size than on old sd card (new sd card will be formated and empty after this step)
copy the backup to your phone via mount usb storage(perhaps you have to build up some folders on your sd card to get CWM find the backup)
restore backup
do a fix permissions
reboot phone
its just a suggestion and not proved by me and never made this way.
morphtm said:
thats right.
a solution could be:
get old sd card into phone and fire it up
when boot is finish check if everything is working
reboot into MAGDLR whith holding down the power button while phone starts
get use of entry name USB mass storage
start any partition tool you like and have a look if and how your old sd card is partitionated
press power button to get back to the MAGDLR menu
start AD Recovery to get into CWM
make a backup of your rom
copy the backup via mount usb storage to your pc
get the new sd card to your phone
get into MAGDLR menu and the start CWM
choose partition sd card and get the same ext partition size than on old sd card (new sd card will be formated and empty after this step)
copy the backup to your phone via mount usb storage(perhaps you have to build up some folders on your sd card to get CWM find the backup)
restore backup
do a fix permissions
reboot phone
its just a suggestion and not proved by me and never made this way.
Click to expand...
Click to collapse
Look, if I make this, my new card is going to have 1GB, because of the my old card has partitioned with 1GB!!
hmm but i suggest that the Backup of the ext Partition can only be restored when the new Partition got the same size.
Perhaps you can try to get a software to copy data from old card, check size of data and than get the New one partitioned to smallest size and copy back the data.
Send from my HD2 via xda app

Help With MAGLDR Install

Hi Guys,
Back in April 2011 I bought a HTC HD2 phone off eBay and followed the instructions at http://forum.xda-developers.com/showthread.php?t=893948 and installed Android. I can't remember the ROM I installed.
Anyway, I now want to upgrade the phone to ICS.
I have gone to http://forum.xda-developers.com/showthread.php?t=1434860 and downloaded the ROM NexusHD2-ICS-CM9-HWA_V2.4.zip
Under the "Instructions" section, I clicked on mskip's guide which takes you to http://forum.xda-developers.com/showthread.php?t=1044830
This says that it assumes that MAGLDR is installed and if not, follow the guide at http://forum.xda-developers.com/showthread.php?t=893948
which is the thread I followed back in April 2011. I therefore assume I have it installed but not sure how to check. I decided to try to install it again, but I can't get WMDC to see it when I connect to my PC but I have downloaded HTCSync which can see it.
How do I get WMDC to see my phone so I can do an install (my PC is Win 7 64 bit) or how can I check it's already ok to go because of my install of the ROM back in April last year?
Also Since my PC is probably not the same as it was 15 months ago when I did the above flashing, I tried to install Radio. The link on that page doesn't seem to work, but I went to the link from my previous attempt ( http://forum.xda-developers.com/showthread.php?t=893948 ) and downloaded that Radio (Radio_Leo_2.15.50.14). I guess I'll need to install this at some point.
As for HardSPL, I somehow ended up at http://forum.xda-developers.com/showthread.php?p=5279234 but my phone's exactly the same as the screenshot at the bottom of the first post. I then ended up after some searching at http://forum.xda-developers.com/showthread.php?t=609477 and downloaded HardSPL 4. Since I can't sync using WMDC, I ended up successfully installing it by following the note at the bottom of the install instructions which read "You can also install HARDSPL by entering Bootloader mode manually, then running the HSPL4.exe program once you see 'USB' at the bottom of the tri-colour screen."
I think I'm starting to get lost trying to follow all these different threads etc and really would appreciate some help.
All I want to achieve is a nice ICS install that's stable and user friendly.
Thanks in advance.
1- You already have HSPL.
2- To check if you have MAGLDR (when booting up phone, hold "END" button) If a multi-option screen appeared, you have MAGLDR.
3- Next upgrade your radio, do so by booting in the bootloader and update normally (WMDC will not see your device, but you should be good to go as long as "serial" changes to "USB" on your phone.
4- Update/install CWMR.
5- Flash your ROM via option 8. AD recovery.
If you followed the original older guide, then you have all of the prerequisites and have installed the DFT Desire ROM. Just follow the second MSkip guide to flash CWM, repartition your SD card and flash NexusHD2. Just use the correct partition size which should be mentioned in the OP.
Nigeldg said:
If you followed the original older guide, then you have all of the prerequisites and have installed the DFT Desire ROM. Just follow the second MSkip guide to flash CWM, repartition your SD card and flash NexusHD2. Just use the correct partition size which should be mentioned in the OP.
Click to expand...
Click to collapse
Thanks.
At http://forum.xda-developers.com/showthread.php?t=1044830 I've got down to point 3. FLASHING A CWM (CLOCKWORK MOD) ROM and have done up to point 2 - wiping data/factory reset
Currently my ROM (NexusHD2-ICS-CM9-HWA_V2.4.zip) is on my PC and the phone doesn't show in Explorer, so I read a bit further down where it said:
HOW TO COPY FILES TO YOUR PHONE
NOTE: This can be used to copy music or data across to your Storage Card and for copying your CWM Rom (with .zip extension) to the Root of your Card for flashing
1. Connect your phone to your pc via the USB Cable
2. In the Clockwork Mod main menu select 'mounts and storage'
3. Go down to 'mount USB storage' and select
Note: The Storage Card will now appear as a drive on your pc
4. When finished copying files select 'Unmount'
Click to expand...
Click to collapse
After selecting "Mount USB", my phone says:
E: Unable to write to ums lunfile (No such file or directory)
Click to expand...
Click to collapse
and my phone still doesn't appear in Windows Explorer.
Other than removing the card and putting it into a reader and plugging the reader in to the PC, how can I get the phone to Mount USB?
Thanks in advance.
hi, check out the link below it might help
mengfei said:
hi, check out the link below it might help
Click to expand...
Click to collapse
Hi,
Thanks for your reply, but I can't see anything about mounting USB Storage. Am I missing something?
MadMax1412 said:
Thanks.
At http://forum.xda-developers.com/showthread.php?t=1044830 I've got down to point 3. FLASHING A CWM (CLOCKWORK MOD) ROM and have done up to point 2 - wiping data/factory reset
Currently my ROM (NexusHD2-ICS-CM9-HWA_V2.4.zip) is on my PC and the phone doesn't show in Explorer, so I read a bit further down where it said:
After selecting "Mount USB", my phone says:
and my phone still doesn't appear in Windows Explorer.
Other than removing the card and putting it into a reader and plugging the reader in to the PC, how can I get the phone to Mount USB?
Thanks in advance.
Click to expand...
Click to collapse
I've never actually tried to mount USB Mass Storage outside of running a ROM, I always use an SD card reader so I'm not too sure why it isn't mounting. Have you tried the USB Mass Storage option in the MAGLDR main menu instead? Also, be conscious of how you use your phone whilst in MAGLDR and CWM, as you can't charge the phone via normal methods. It shouldn't be too bad, as I've found battery drain in both to be minimal, but at the same time don't just leave it on for a few hours whilst you wait for a response or a download or something.
Nigeldg said:
I've never actually tried to mount USB Mass Storage outside of running a ROM, I always use an SD card reader so I'm not too sure why it isn't mounting. Have you tried the USB Mass Storage option in the MAGLDR main menu instead? Also, be conscious of how you use your phone whilst in MAGLDR and CWM, as you can't charge the phone via normal methods. It shouldn't be too bad, as I've found battery drain in both to be minimal, but at the same time don't just leave it on for a few hours whilst you wait for a response or a download or something.
Click to expand...
Click to collapse
Thanks. As soon as I went to USB Mass Storage, Windows installed driver and showed it in the Explorer window. It apparently needs to be formatted first, so whilst I look around and find out what format I should use, I'll put it on the charger as I've had it sitting at the menu option for the past 12 hours or so whilst waiting for a response.
MadMax1412 said:
Thanks. As soon as I went to USB Mass Storage, Windows installed driver and showed it in the Explorer window. It apparently needs to be formatted first, so whilst I look around and find out what format I should use, I'll put it on the charger as I've had it sitting at the menu option for the past 12 hours or so whilst waiting for a response.
Click to expand...
Click to collapse
Unless you mean an external battery charger, if you try to charge it it will just boot into magldr. I assume you mean which format type for the SD card right? That would be FAT32, and you can later create an EXT3 partition in CWM
Nigeldg said:
Unless you mean an external battery charger, if you try to charge it it will just boot into magldr. I assume you mean which format type for the SD card right? That would be FAT32, and you can later create an EXT3 partition in CWM
Click to expand...
Click to collapse
Yep, an external charger.
I had found via a quick search that FAT32 seemed to be the best. Out of curiosity, I've already done point 2 at http://forum.xda-developers.com/showthread.php?t=1044830 so when Windows does do the format, I assume it will be the remaining partition that was created (leaving the 1024M partition alone)? If so, do I need to manually set this 1024M partition of EXT3 or would that have been done as part of Step 2.
MadMax1412 said:
Yep, an external charger.
I had found via a quick search that FAT32 seemed to be the best. Out of curiosity, I've already done point 2 at http://forum.xda-developers.com/showthread.php?t=1044830 so when Windows does do the format, I assume it will be the remaining partition that was created (leaving the 1024M partition alone)? If so, do I need to manually set this 1024M partition of EXT3 or would that have been done as part of Step 2.
Click to expand...
Click to collapse
There is actually a quick way to check. In CWM, go to the wipe data option and wipe data. If the sd-ext is present, it will format it and you will know. If sd-ext is wiped then it will say "no sd-ext detected, skipping format of sd-ext" or something similar.
But when formatting the card using windows, it doesnt really remove the sd-ext partition. Just cleans the Fat32 partition
adil1508 said:
There is actually a quick way to check. In CWM, go to the wipe data option and wipe data. If the sd-ext is present, it will format it and you will know. If sd-ext is wiped then it will say "no sd-ext detected, skipping format of sd-ext" or something similar.
But when formatting the card using windows, it doesnt really remove the sd-ext partition. Just cleans the Fat32 partition
Click to expand...
Click to collapse
I went into "Wipe Data/Factory Reset" option and the following came up:
-- Wiping data...
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
No app2sd partition found. Skipping format of /sd-ext.
Formatting /sdcard/.android_secure....
Error mounting /sdcard/.android_secure!
Skipping format...
Data wipe complete
Click to expand...
Click to collapse
So I went back to the USB Mass Storage option to let Windows do the formatting. It only allowed FAT, NTFS or exFAT but no FAT32 option. Selected FAT and it said that Windows was unable to complete the format.
I've gone back to the instructions at http://forum.xda-developers.com/showthread.php?t=1044830 and started again at point 1 but still no luck. I hope that re-doing point 2 doesn't mean I've now got 3 partitions.
Since that didn't work I was having a look at the "Mounts and Storage Menu". Should I perhaps select "Format /sd-ext"?
Hi guys
Any further ideas on how to format my partition? Do I need to choose mount /sd-ext or format /sd-ext ?
Thanks
Hi Guys,
Whilst waiting for a reply on my USB issue, I thought I would try a few things.
I ended up getting an SD card reader and plugging the SD card into Windows to see if a format would work that way. It didn't.
I then opened Windows Disk Management system and it said the whole card was unallocated. When I right clicked on it, I was offered to create a "New Simple Volume". Since I'm only using a 1GB card, the maximum disk space in MB offered was 967 which I chose (basically the default).
In the "Format" section of the wizard I formatted it as FAT32 and left allocation unit size as default. I removed the tick from "Quick Format".
Thinking this was the solution to my problem, I put the card back in the phone. I also assumed that I would need to re-do everything at http://forum.xda-developers.com/showthread.php?t=1044830
Unfortunately I can only get to point 3.2 where I do a factory reset.
Is it possible that Step 2 where I partition the card is stuffing something up? If so, can I skip this part and just do Steps 1 and 3?
Thanks in advance.
Nigeldg said:
If you followed the original older guide, then you have all of the prerequisites and have installed the DFT Desire ROM. Just follow the second MSkip guide to flash CWM, repartition your SD card and flash NexusHD2. Just use the correct partition size which should be mentioned in the OP.
Click to expand...
Click to collapse
This is the correct answer, I agree....here is the older guide
http://forum.xda-developers.com/showthread.php?p=11097380
MadMax1412 said:
Hi Guys,
Whilst waiting for a reply on my USB issue, I thought I would try a few things.
I ended up getting an SD card reader and plugging the SD card into Windows to see if a format would work that way. It didn't.
I then opened Windows Disk Management system and it said the whole card was unallocated. When I right clicked on it, I was offered to create a "New Simple Volume". Since I'm only using a 1GB card, the maximum disk space in MB offered was 967 which I chose (basically the default).
In the "Format" section of the wizard I formatted it as FAT32 and left allocation unit size as default. I removed the tick from "Quick Format".
Thinking this was the solution to my problem, I put the card back in the phone. I also assumed that I would need to re-do everything at http://forum.xda-developers.com/showthread.php?t=1044830
Unfortunately I can only get to point 3.2 where I do a factory reset.
Is it possible that Step 2 where I partition the card is stuffing something up? If so, can I skip this part and just do Steps 1 and 3?
Thanks in advance.
Click to expand...
Click to collapse
OK so you're stuck on point 3.3? I.e. Actually locating the ROM and flashing it? I think what you're doing is copying the ROM over then partitioning. What you should have done is partitioned then copied the ROM over, as partitioning completely wipes the card.
Another possible problem with your method is that you only have a 1GB card, so if you select a 1GB EXT partition then you have no FAT32 partition, and as a result you won't be able to flash the ROM. Try using a 256MB EXT partition instead, and then flashing. Hopefully it will all work fine after that.
Nigeldg said:
Another possible problem with your method is that you only have a 1GB card, so if you select a 1GB EXT partition then you have no FAT32 partition, and as a result you won't be able to flash the ROM. Try using a 256MB EXT partition instead, and then flashing. Hopefully it will all work fine after that.
Click to expand...
Click to collapse
How embarrassing is it that I didn't pick up on this. I was blindly following the instructions and set my partition to 1024M when I've only got a 1GB card. Just excuse me for a moment whilst I slap myself up the side of my head.
OK, I'm back. Rather than reduce the size of the EXT partition, I might buy a bigger card anyhow to allow room for photos etc. I will let you know how I go tonight.
Hi Guys
I purchased a 4GB card today and just got home and the install as per the instructions ( http://forum.xda-developers.com/showthread.php?t=1044830 ) went without a hitch.
Amazing what you can do if you don't try to create a partition bigger than your SD Card. Still can't get over how I missed seeing the obvious.
Thanks to all the posters for your help.

Categories

Resources