[Q] Before installing DarkTremor... SD backup? - EVO 4G Q&A, Help & Troubleshooting

I want to set up DarkTremor A2SD ...
Is there a way to resize my FAT partition non-destructively and add an ext3?
If not (which is probably the case) -- what is the best way to backup my FAT part on Mac? I was going to just create a DMG with Disk Utility, then restore the image after partitioning the SD card. Will this preserve my .android-secure and permissions and all that?
Thanks!

You are right indeed when adding ext 3 theres no way to avoid a wipe.. Unfortunately I'm not a mac user but to back up my sd all I did was create a new folder titled SD BACKUP to my pc and literally just dragged and dropped to ensure every file was there, then once I partitioned to ext 3 I just plugged right back in and enabled USB mount, dragged and dropped back to the SD for the final time and presto!

d0g said:
I want to set up DarkTremor A2SD ...
Is there a way to resize my FAT partition non-destructively and add an ext3?
If not (which is probably the case) -- what is the best way to backup my FAT part on Mac? I was going to just create a DMG with Disk Utility, then restore the image after partitioning the SD card. Will this preserve my .android-secure and permissions and all that?
Thanks!
Click to expand...
Click to collapse
GParted can do this.

Related

How to partition SD Card for Desire?

Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
Click to expand...
Click to collapse
Any chance we could have the GParted steps, I tried using it for creating the partitions (FAT32 then Ext2) and no matter what I did I got a Damaged SD error upon remounting it in the Desire.
I'm starting to think my card is bad!
Not in front of Linux right now, so this is off the top of my head. I'll post in the morning clear steps (better if used in card reader not using USB toggle on device)
Backup what ever is on your card first!
In the top right corner of GParted select your device and let it search for partitions on card
Unmount all partitions by right clicking on each partition and clicking unmount
Then delete those partitions by right clicking and selecting delete
(I normally apply those changes before proceeding by clicking the green tick, to make sure the partitions have cleared)
With the unpartitioned space, firstly create your FAT32 partition by right clicking and selecting FORMAT TO then FAT32 (MAKE SURE REMAINING SPACE IS IN FOLLOWING NOT PRECEEDING) then with the remaining space create your EXT2 partition exactly the same but obviously format to EXT2 and you could even add a small 32MB linux-swap partition but it's not necessary
Then apply the changes, if everything goes successfully and you are still getting remount errors, then try reflashing your ROM or a different ROM
(I'm assuming your rooted)
If you still have no luck, then your card is bad
I just found out that Clockwork can only handle ext3 partitions - at least my version (2.0.1.4). If I create partitions using ROM Manager, it creates a ext2-partition. Only after I changed it to ext3 using linux I could mount the partition in Clockwork and perform wipes and backups.
Don't know if or what I did wrong, but it certainly didn't work for me (tried with multiple versions of clockwork and several times).
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
d
Click to expand...
Click to collapse
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
jondalar said:
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
Click to expand...
Click to collapse
is your phone rooted or not?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- Ext partitions are only visible in Linux = Windows can't see it.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
Now the tutorials:
Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
For a great Linux GUI alternative, use Linux 'GParted' a GUI based partition editor. (Designed for and found standard in the GNOME desktop environment, but can also easily be install in other desktop managers such as KDE and others.) Backup your SD card before you start ! The following steps will wipe the contents !
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
This is what I've found so far, as the easiest method.
Another tutorial can be found under: http://androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
or
http://forum.xda-developers.com/showthread.php?t=534714 this is one way to do it.
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
chrysochire said:
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
Click to expand...
Click to collapse
By the way, if anyone reads this, I would love to make this topic a sticky, so as to answer all questions related to SD Cards...
chrysochire said:
CUT.....
Good Luck
Click to expand...
Click to collapse
Very nice guide. Thanks soo much for this explain.
Very cleary!
hi i am using GParted to partition ext3 for use with apps2d but i have tried several times without success
after booting up the phone, i see a blank sd card.. i.e. not mounted in my Desire..
wondering what i m doing wrong,, or is there another method to do it?
From the Clockwork Mod recovery, I cant partition the sd card too.. and have also tried without any success via the ROM Manager...
Warning! Noob question ahead:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
I'm completely new to all this (rooting, custom ROMs, A2SD etc.) but have managed to successfully root my HTC Desire (using unrevoked), install OpenDesire 2.3, and partition the SD card using ROM Manager. I rebooted and my installed apps are showing as being on the SD card in Settings > Applications > Manage Applications but with different names (e.g. instead of 'Titanium Backup' it's now 'com.keramidas.TitaniumBackup') and the icon is a default black Android/SD card rather than the app icon. When I go into the launcher my installed apps aren't there and they're not listed when I try to add a shortcut to the homescreen.
Have I done something wrong? Or is there an additional step I don't know about?
Ah, it looks like I did something in the wrong order - I'd already downloaded and installed Titanium, then moved it to the SD card under Froyo A2SD, then partitioned the SD card...
I reinstalled Titanium and everything's fine.
I am still interested in that:
mysteryfr said:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
Click to expand...
Click to collapse
Hi Guys,
I need some serious help. I have rooted the desire, flashed to leedroid 1.4c rom, but have been left with no SD Card and now I am trying to mount the sd card in the desire as it no longer recognises it...
i can have rom manager loaded but it can't see the sd card..
i dont have A2SD or partitions on the sd card, i can put the card in the laptop and write to it..problem is i am on a windows lappy so no linux..i know i can make a live cd but i'm not up to that..i dont think..
is there a guide i can have to get the sd card mounted on the desire running windows...i have got android sdk on the pc but i have nfi how to use that either...
all help appreciated...
XClemX Try this: (hopefully you've backed up your SD card to your PC!)
go to Settings, Sd & Phone storage,
click on format SC card.
That should get your card recognised.
Thanks Depaor,
The SD card isn't seen in that either...i'm attempting to make a gold card now to see if i can get it to work that way...fingers crossed...
is your card visible from card reader on pc, or from other phone?
If it is, just format it in FAT32 on your pc, and it will be fine... also, always check if phone is in "charge only" mode before disconnecting usb...
Will a non-rooted Android phone read a card formatted as ext3 or ext4? Just curious.

[Q]Changing SD card with EXT partition and keeping my programs

I want to change my SD card to a bigger one, but want to keep all the apps I've installed to the EXT partition. What's the easiest way to do that?
Also, I want to create a new EXT partition bigger than my previous 512MB one in anticipation of installing a Sense HD ROM. I used ROM Manager last time which was really easy but I seem to remember it only did partitions up to 512MB, and ideally I want a 1024MB one. What's the easiest way to do this? I have Clockwork recovery installed.
Thanks.
aljwatson69 said:
I want to change my SD card to a bigger one, but want to keep all the apps I've installed to the EXT partition. What's the easiest way to do that?
Also, I want to create a new EXT partition bigger than my previous 512MB one in anticipation of installing a Sense HD ROM. I used ROM Manager last time which was really easy but I seem to remember it only did partitions up to 512MB, and ideally I want a 1024MB one. What's the easiest way to do this? I have Clockwork recovery installed.
Thanks.
Click to expand...
Click to collapse
Use GParted Live CD, it's easy...just burn the .iso to a CD, boot it up, probably forcevideo to 1024 x 768 VESA and then create your fat32 followed by ext3.
To keep your SD card contents, just copy & paste the contents of the old SD to your desktop, then copy & paste to the new SD.
To restore all your apps, use something like Titanium Backup to backup before and restore after you partition your new card.
http://gparted.sourceforge.net/livecd.php

how to swap SD card and duplicate contents and partitions (A2SD+)?

Hi,
In the next few days, I will receive a new 8GB SD for my HTC Desire. But sice I'm using A2SD+, I'm wondering how I could migrate all the data + partitions to the news card? I'm aware I have to partition my new card first, but how is it possible to duplicate and copy the contents to my new card? I'm mainly concerned about the data on the 2nd partition, where all my apps are installed...
1.Do a nandroid backup of the existing rom with old card
2.Partition the new sdcard
3.Restore nandroid with the new sdcard
Nandroid will backup and restore the sd-ext partition also.
I would use gparted.
plug both sdcards in your PC
delete the partition on your new sdcard
copy both partitions over from your old sdcard
resize fat partition to fill the free space if your new sdcard is bigger
this way is quicker and easier in my opinion.
gparted is included in the ubuntu livecd if you've got one lying round. if not you can get a gparted live cd com the internets.
mercianary said:
I would use gparted.
plug both sdcards in your PC
delete the partition on your new sdcard
copy both partitions over from your old sdcard
resize fat partition to fill the free space if your new sdcard is bigger
this way is quicker and easier in my opinion.
gparted is included in the ubuntu livecd if you've got one lying round. if not you can get a gparted live cd com the internets.
Click to expand...
Click to collapse
imo its easer just to do a nandroid, put the new sd card in and use the advanced restore to restore the ext
thanks for the replies. So to partition, should I use the recovery to partition or can I use my computer (mac os x), since it's a linux partition that I need.
I didn't know that nandroid backup also backups my apps on the 2nd partition?
Is it also possible to use Titanium backup?
AndroHero said:
imo its easer just to do a nandroid, put the new sd card in and use the advanced restore to restore the ext
Click to expand...
Click to collapse
probably is, but i use linux on my desktop so its no hassle for me...
last time i did a nandroid of my ext partition i lost everything else on the partition (I use it for extra sdcard space and i've got debian installed there also.) the apps were saved but it didnt backup anything else on the ext partition, but i suppose this isnt a problem for most people.

upgrade to a new sd card

Hello Guys
Just received a new sd card for my desire but after searching the net how to copy all the content from my old sd card I couldnt find anything Im looking for which is why im making this topic.
Anyway I have an 8gb card with 1gb ext3, swap0, and willing to upgrade to 16gb ext4, do I just make the nand backup + ext and then restore it? or it wont restore because of the ext3 and ext4 ?
Regards
C.
ps. dalvik is also moved to sd card
ps2. ive accessed the OLD ext partition on my windows pc using the ext2read program and found 3 folders there, app, app=private and dalvik, so do I just copy those onto the new sd + all the files from fat32 partition onto the new one and will that work?
Hi,
Yes,
Imo could Linux do these tasks better but your option will do it also.
First make a nand backup and than cope the fat stuff to the new card and after that put the ext folders in your new ext partition.
Should work, be sure the kernel of your rom supports ext4
Kind regards
crendot said:
Hi,
Yes,
Imo could Linux do these tasks better but your option will do it also.
First make a nand backup and than cope the fat stuff to the new card and after that put the ext folders in your new ext partition.
Should work, be sure the kernel of your rom supports ext4
Kind regards
Click to expand...
Click to collapse
unfortunately i have no knowledge on linux at all so I guess I can only do it with windows
right, ill make a system nand and copy the files from fat 32 onto the new card and then copy the ext files and swap the cards, hopefully will work
http://baadnewz.lcdc.sk/Desire_HD_Base/InsertCoin/Addons
LINK THERE TO A REALLY GOOD EXT4 ALIGNMENT ZIP
Just create your partition as normal then flash the zip from recovery
rumbo575 said:
http://baadnewz.lcdc.sk/Desire_HD_Base/InsertCoin/Addons
LINK THERE TO A REALLY GOOD EXT4 ALIGNMENT ZIP
Click to expand...
Click to collapse
no idea what this is
Ive copied all the fat32 files and then restored the sd-ext and seems to be working, had few fcs so far but when I will have more time I will reinstall everything
Htc Desire
I think its tough task for me
No its not. Simple. Backup nandroid + ext, put new card in, format to fat32 + ext, nandroid restore. Copy old card fat32 contents to new fat32. Done.
Sent from my HTC Desire using XDA App
When upgrading sdcard I used PC software to backup whole partitons and then restore them to new sdcard. That was very succesful. I hope this will help)

How to backup and reformat an SD card with apps2sd?

Hi,
I'm running Cyanogenmod 7 on my HTC Desire with Apps2SD.
I was deleting an 800MB file off my phone when it was mounted on my PC and then my PC crashed mid-way through deleting the file and now I can't see the file that way being deleted but the space shows it's not deleted...
And I've also been getting a lot of "SD Card Damaged" notifications on my Phone (reboot fixes it) that were unrelated to the above.
So I wanted to reformat my SD Card (or fix disk errors or something).
I've got a 14GB FAT32 partition and and a 1GB Ext3 partition for apps.
Is it as simple as copying the contents from the FAT32 and Ext3 and then using gparted to erase and format a 1GB Ext3 and the rest FAT32?
(I'm running Linux - Ubuntu 11.04)
Should I do it by MicroSD>SD Card Adapter>PC
Or MicroSD>Phone>USB Cable>PC?
Thanks
Ano8 said:
Is it as simple as copying the contents from the FAT32 and Ext3 and then using gparted to erase and format a 1GB Ext3 and the rest FAT32?
Click to expand...
Click to collapse
Yes, it is.
Ano8 said:
Should I do it by MicroSD>SD Card Adapter>PC
Or MicroSD>Phone>USB Cable>PC?
Click to expand...
Click to collapse
Either would work fine, though I have heard of some folks having issues with the SD>Phone method...
What If I change the size of the Ext3 partition?
If I change it from a 1GB to a 700MB will it adjust and work fine?
Ano8 said:
What If I change the size of the Ext3 partition?
If I change it from a 1GB to a 700MB will it adjust and work fine?
Click to expand...
Click to collapse
Should be fine... as long as you don't require a 1gb partition on your rom
And I would do it by MicroSD>SD Card Adapter>PC
With a card reader micro sd card adapter, ubuntu sometimes complains the sd card is read-only. If it's so, start nautilus with root rights:
Code:
gksudo nautilus
Now you can copy the content.
Thanks, copying from SD Card now...
i made like this :
- make a nanroid Backup with your recovery
- save your FAT32 partition on your computer, don't forget Hiden files.
- format your SD as you want
- put your FAT32 from computer to SD
- restore your nandroid backup with recovery
- it's Done
t-minik said:
i made like this :
- make a nanroid Backup with your recovery
- save your FAT32 partition on your computer, don't forget Hiden files.
- format your SD as you want
- put your FAT32 from computer to SD
- restore your nandroid backup with recovery
- it's Done
Click to expand...
Click to collapse
Is it better to do it like that, than just copying the ext partition?
That / there is no "better" way. It's just an alternative.
yep, just an alternative for those who don't use Linux
t-minik said:
yep, just an alternative for those who don't use Linux
Click to expand...
Click to collapse
Oh, ok.
I am copying stuff back onto the SD Card now...
Stuck on Boot Loop Cyanogenmod 7
What did I do wrong?
nice information......................i have done it with my SD.................
mobileguy20 said:
nice information......................i have done it with my SD.................
Click to expand...
Click to collapse
What???!?
I have a boot loop now.
How do I fix?
Is there some sort of temporary files that could be deleted?
HELP!!!!!!!!!!
I can still go to Bootloader...
HELP!
What should I do?
I don't want to loose data!
Bump..........
Um - bad situation
Maybe you should try to reformat the card exactly as it was, play back the contents and pray.
You wrote, that you had a read/write error with a 800 MB file and multiple error messages.
I would have saved my data per Titanium and Nandroid, formated and make a fresh ROM install. But alas - that´s no option at the moment.
If the above doesn´t work maybe the folks in the CM7 section have an idea.
It won't even turn on with no SD Card in it.
What do I do?

Categories

Resources