[Q] Running CM7 off NAND - anything to consider changing SD Card? - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi all.
I was given an HD2 running CM7 off NAND. It has a 2gb SD card in there, with around 400mb as ext3/ext4 partition.
I want to swap the 2gb for an 8gb card. Having not installed the ROM myself (and am not too familar with the process on the HD2), I'm unsure how to proceed.
Are there any files on the SD card that are likely to be needed for booting?
Can I just stick the new card in, use recovery to partition it and then remove the card - copy the old ext3/ext4 partition data over and it'll be happy?
Do I need to use recovery, can I just a Linux box to do that instead?

mr_arc said:
Can I just stick the new card in, use recovery to partition it and then remove the card - copy the old ext3/ext4 partition data over and it'll be happy?
Do I need to use recovery, can I just a Linux box to do that instead?
Click to expand...
Click to collapse
assuming you don't have a linux pc that can read ext partitions, id do it this way..
into cwm - full backup.
2gb card into card reader (or mount usb storage in android - or 'mounts and storage - mount sd card' in cwm) - copy off your whole fat32 partition - make sure you have hidden files set to show in windows explorer.
8gb card into phone, back into cwm, create the new ext partition.
8gb card back into card reader (or mounts and storage - mount sd card in cwm) and copy the fat 32 stuff back to the card.
into cwm - restore - advanced restore - restore the sd-ext partition only.

Thanks for the reply.
I do have a Linux PC to hand, and the HD2 doesn't have CWM on it.
So in the end, I used GParted to create a partition table that looked like the existing card and then copied the contents of the old card over. Phone booted up fine

Related

[Q] Backing up or Imaging SD card partitions

Has anybody succeeded in doing a backup/restore of the WP7 partition from a 2 partition (1 WP7 and 1 android) microSD card? What tools have you tried?
Would DD work? Trueimage? Ghost? Mac Disk Utility?
I want to setup my fresh WP7 partition the way I like it and then image it so I can restore to it if the current microSD starts having problems.
Greatly appreciate any help!
I did this in windows.
- Free up some space in your comp hard drive
- Go to Disk Management and shrink drive. (Free space should be equal to or greater than the SD card size)
- Install easeus partition manager
- Mount the SD card
- Right click on the partition on the SD card and choose copy.
- Choose the free space in the Comp's HDD.
- Repeat for all partitions that has to be copied.
Do the reverse when you want to copy back.
Does the reverse way also work with resizing the partition? On a larger SD card?
Thanks for the response! So the only way to copy would be to another partition? Is there a way to copy to an image file instead? And, have you successfully imaged it back onto the SD card?
I was able to successfully do this using DiskImage - a free download that I found here. I was able to save the entire SDCARD (not a single partition but the entire card) to an image file and then write to back onto another sdcard of the same size. It worked! I haven't tested this thoroughly so don't blame me if it doesn't work for you. If it does - please post here so others can benefit from your experience.
Yes its working...i have doen this 3-4 times...
I did that and i transfered my wp7 partition from a 8gb sd to another 16gb sd card...
Copy the partition to usb hd and then copy back to the new sd...
It works fine....And i have a backup of the partition in my USB sd.
My recomendation is not to mess with your computers hard drive...
Do this with an external usb hd..
Another free tool to use is the MiniTool Partition wizard from here
http://www.minitool-partitionrecovery.com/
colossus

[Q] Failed to setup APP2SD

Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
ackz said:
Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
Click to expand...
Click to collapse
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
d4rkkn16ht said:
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
Click to expand...
Click to collapse
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Did you make a backup of your sd before creating the sd ext partition
? Should be written in each tutorial concerning sd ext creation.
Otherwise your data is no more.
As already written, windows is not able to read a sd ext partition. its fully right, that your fat32 partition shows only 7gb, the other 1gb is used from the sd ext and not viewable by windows.
...to create a sd-ext very easy go into cwm-advanced-format sd card and chose 1gb ext 0 swap.
Sent from my HTC HD2 using XDA Premium App
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Try this :
Backup all data in your micro SD.
Open & boot your computer using Gparted Linux / Parted Magic Linux / any other linux that has GParted / Parted inside its LiveCD
Run Gparted.
Delete all partitions.
Options:
Create sd-ext partition using GParted :
Create 1 fat32 Partition (as Primary) & adjust the size to your liking
Create 1 ext3/ext4 (as Primary...check if your android kernel support ext4) & adjust the size to your liking (usually 1 - 2 GB is enough)
Create sd-ext partition using CW Recovery:
Create fat32 Partition (as Primary...use all space)
Boot HD2 into AD Recovery
Go to Advanced menu
Format & choose sd-ext partition options
Flash your fav. ROM
Notes:
I personally like Parted better than GParted as it's a lot quicker & more advanced options (GParted is only a front-end for Parted).
Parted is for advanced user & TUI.
If you want to try Parted,make sure you read the manual & understand everything related to your actions (open console / terminal & type : man parted)
Use Parted using Root access (open console / terminal & type : sudo parted).
Use it with caution as it can wipe all of your hard drive data !
For more info about Parted try this link :
GNU Parted

How to swap SD cards with apps on ext3 partition

I have the Optimus V and the 2GB micro SD that came with it. I want to swap to a new 8GB micro SD so that I can put more music on it. I've got a bunch of apps on the card (more than the internal memory can hold) in an ext3 partition using Link2SD. I'm running the 8/10 build of pure IHO/CM7.1 RC.
I think I can do it this way but I wanted to get some confirmation:
1.) Boot into recovery
2.) Make a backup (which I can confirm does back up the ext3 partition)
3.) Swap cards and partition the new SD card using recovery
4.) Copy all files from the old SD card's FAT32 partition to the new SD card's FAT32 partition using my SD reader on my PC
5.) Put the new card in the phone, boot to recovery, and restore
I think that'll put everything back where it belongs, but I would just like someone to confirm that for me. Thanks!
Should work. Would personally use gparted or similar to clone and resize the SD card partitions on PC.
Oh, yeah, gparted. I forgot i could get a livecd for that.
Question, though - if I use gparted to clone, I need to have both cards installed at the same time, right? I only have one SD/microSD reader (it has both slots but I can only use one slot or the other at a time, so I can't use one card in a micro-to-SD adapter). Can I use USB storage for one card and the reader for the other?
Never tried this. I have tons of SD card -> USB adapters around.
How to install all applications in to SD card. LG P500 is having only <200MB internal storage space. Can any one help me.
brijeshpraveen said:
How to install all applications in to SD card. LG P500 is having only <200MB internal storage space. Can any one help me.
Click to expand...
Click to collapse
take a look at the following and choose the one that suits you best:
http://forum.xda-developers.com/showthread.php?t=917377
http://forum.xda-developers.com/showthread.php?t=919326
http://forum.xda-developers.com/showthread.php?t=715940
http://forum.xda-developers.com/showthread.php?t=1042828

[Q] Change SD Card on a NAND Android HD2

Hey guys!
I'm finally upgrading from a 1GB sd card to a 32GB
My Leo has a NAND android installed and the sd card has a A2SD partition with tons of apps and a fat partition with some stuff in it.
Is is possible to change the card and still keep it working without having to reflash the whole thing? The remaining ~31GB will be used to - if possible - expand the fat partition for music and such.
Thanks for the help!
into cwm - full backup
via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
new card into phone
into cwm - partition the new card
in cwm - restore - advanced restore - restore only the sd-ext partition
via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
start phone.
fmmsf said:
Hey guys!
I'm finally upgrading from a 1GB sd card to a 32GB
My Leo has a NAND android installed and the sd card has a A2SD partition with tons of apps and a fat partition with some stuff in it.
Is is possible to change the card and still keep it working without having to reflash the whole thing? The remaining ~31GB will be used to - if possible - expand the fat partition for music and such.
Thanks for the help!
Click to expand...
Click to collapse
Im about to face same issue, and here is what i plan to do:backup all apps and their data with Mybackup app from Market, copy all files on my pc(the best would be sending all apps on phone storage and only backup data- this will wor for SURE), turn off phone, put new sd, set partitions as they were with CWM(i mean same ext size) and copy all files on just created partition. I hope this will work, i'll have chance to check by myself in a few weeks.
EDIT: Seems like solution was posted while i was writing, but that assured me that i my idea was good
Cheers
Sent from my HTC HD 2 using XDA
samsamuels suggestion seems the best way to go as long as your ext partition is mounted as(/at) "/sd-ext" there are other places where the ext can be mounted; link2sd for example mounts at /data/sd-ext2. But you'll know when you backup in CWM. A full backup will find the ext if its at /sd-ext and will back it up and you'll see it doing so.
Another option would be to backup the full card; FAT and ext partitions, either within a linux distribution; Ubuntu for example where ext partition is read as normal, or using an application within windows to read it link Linux Reader or Ext2explore, although I don't recall it being too easy to write back to ext while in windows.
Third option being to use something like Partition wizard which should allow you to simply copy the ext partition from one sdcard to the other. Haven't done this myself (yet) and not sure how the HD2 handles partitions that are not made by CWM but you should be able to wipe the new sdcard to unallocated memory then copy the ext and FAT partitions across then resize the FAT to the rest of the sdcard.
samsamuel said:
into cwm - full backup
via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
new card into phone
into cwm - partition the new card
in cwm - restore - advanced restore - restore only the sd-ext partition
via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
start phone.
Click to expand...
Click to collapse
Doesn't creating an EXT partition in CWM format the card? So won't the copying of the FAT32 files have to be done afterwards?
yea, hence
step 2 - via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
and
step 6 - via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
samsamuel said:
yea, hence
step 2 - via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
and
step 6 - via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
Click to expand...
Click to collapse
Oh sorry, need to improve my reading skills
samsamuel said:
into cwm - full backup
via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
new card into phone
into cwm - partition the new card
in cwm - restore - advanced restore - restore only the sd-ext partition
via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
start phone.
Click to expand...
Click to collapse
Awesome post, thanks
BTW back in cwm when I repartition the sdcard, can I change the sd-part size before restoring the sd-ext part?
yea, that shouldn't be a problem.

[Q] Rooted Nook Simple Touch, Help Partitioning micro SD card

Hi! Successfully rooted my Nook ST using Nook Manager, except I used a 32 GB micro SD card to do the rooting. After rooting, I ended up with two partitions on the SD card, Nook (239 MB) and Nook Manager (62.9 MB). I was wondering what I need to do to be able to utilize the rest of the space on the card? The reason I bought a 32 GB card was so I could store all my sideloaded books there, and now I find I'm just limited to the space/partitions showing up when I connect the nook via USB.
You need to repartition your card.
Partition Magic can do that.
If you want to use multiple partitions on the SD card (like 2 x 16 GB) you might want to look at:
http://forum.xda-developers.com/showthread.php?t=2184495
Renate NST said:
You need to repartition your card.
Partition Magic can do that.
If you want to use multiple partitions on the SD card (like 2 x 16 GB) you might want to look at:
http://forum.xda-developers.com/showthread.php?t=2184495
Click to expand...
Click to collapse
Thanks, will download a copy of Partition Magic later. I really am completely clueless when it comes to programming though. In fact, I'm only here because the folks at mobileread told me I'd probably have better luck having my question/s answered here than there. So just to confirm, I can repartition the drive using partition magic so I'll have one extra partition for the books I want to sideload, and I'm good to go already when I re-insert the SD card into the Nook? Or do I have to attempt the code that you gave in the thread you linked?
If you want to have a single FAT partition on your SD card you can do that without much change.
It comes down to whether you want to be able to pull the SD card and plug it into random desktops and things.
If you want to have multiple partitions or ext3 partitions you will have to use the new vold in the link above.
if used windows 7,8. Insert a memory card into the card reader. Go to cmd(administrator mode) and run command:
Diskpart
List Disk
Select Disk 1 (#select sdcard)
clean (#clean partition sdcard)
create partition primary
active
format fs=fat32 quick
assign (#run command if not view sdcard in mycomputer )
Renate, I tried to repartition my SD card, but got a "disk is not formatted, do you want to format it now?" message. So I had no choice but to do a data recovery using EaseUs Partition Master first, then went ahead and clicked format now. Then I tried using Minitool Partition Wizard (couldn't find a free version of Partition Magic) to create new partitions in the formatted SD card so that the NookManager partition would be larger (27 GB) while the NookBackup partition would be 2 GB. Except that I can't seem to create any new partitions at all. And I also have no idea how to restore the data I'd backed up earlier either.
Sorry, I missed seeing this come up when you posted it.
When your Nook asks you if you want to format you should say "No!".
It could be that it misidentified the situation.
In any case, you want to look closer before formatting anything.
Here's a gotcha.
If you are using ext3 and the internal clock has reset itself then the last mount will be in the future.
That makes things angry. Check that the date/time on the Nook is correct.
You can use gparted to give the card the partition layout you need (i.e. first NookManager partition is big, second NookBackup partition is only large enough to hold a backup), then write the first partition from NookManager.img into first partition of the card (you need to do something roughly similar to this. Then you can use gparted to set the "boot" flag on the first partition and use the card to backup&root your Nook. Then remove the "boot" flag, and keep using the card for storage (it's a bit messy to have both user&app files AND NookManager boot files in the same place, but if you only have one card, then this is inevitable - i haven't found a way to mount the second or the third partitions from the card). The card will act as normal storage device when flag is not set, and as NookManager bootable card when flag is set.

Categories

Resources