SD Card Partitioning using Hero phone? - Hero, G2 Touch Android Development

Can someone plz walk me through how to partition my sd card using my phone - or how to do it on a Mac as I have no access to PC / Linux to partition the SD card.
I want to partition it so I can move may apps there.
My phone is rooted and running the Modaco 1.1 ROM
I have searched but all is still unclear
consider me a noob at doing this
cheers

Check out http://forum.xda-developers.com/showthread.php?t=512873

Is there anyway to parttion SDCard on Hero directly throught gparted like on G1. I've tried to boot Hero using Cyannogen Recovery 1.4 but it didn't worked!

spiderman_anhvu said:
Is there anyway to parttion SDCard on Hero directly throught gparted like on G1. I've tried to boot Hero using Cyannogen Recovery 1.4 but it didn't worked!
Click to expand...
Click to collapse
I followed this instruction and worked well
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/

Hi
This is my first post on these forums so hi all.
I partitioned my SD card last night using Os X Tiger. The way I did it was as follows:
- First off you need to download gparted live cd iso image from here
http://gparted.sourceforge.net/
- Create an live cd using the disk utility
- Once you have the live cd reboot your machine and hold the 'c' key. The cd should be in the machine before you reboot.
- You'll then boot into the gparted linux distribution where you can use it to partition your sd card. Gparted is very self explanatory.
I partitioned my card as follows:
1 Fat32
2 512mb EXT 3
3 32 mb linux-swap.
This partition is the same as Paul from MoDaCo
Cheers

Well I managed to make a Live ( Bootable ) CD with Linus & GParted on it.
I cpoied all the files from my SD card ( music etc. ) to my computer, then wiped the CD card on my Mac - then booted Gparted CD and partitioned my SD, into 700mb Ext3, and 6.5 gig Fat32.
I loaded all the files I had on the SD card onto the 6.5 gig partition.
Then put the now partitioned SD card into my phone, and restarted the phone.
But the phone hung on start-up not getting beyond the 'Hero' bit. Had to take out the battery, and when I started the phone without the card, it still hung. I had to do a Nandroid restore to get it back up and running.
So did the sd card damage the system? Any ideas how to get it working?
I'm running the latest Modaco ROM ( 1.4 ) and latest radio ( xxx31 ) on a rooted phone.

as soon as i finish compiling my gentoo box (i've changed pc, corei7 now ) i'll release an updated version of the recovery image with some new scripts and menu options (one for formatting the sdcard directly from the menu with some predefined values for swap and ext3 partition )

J-Zeus said:
Can someone plz walk me through how to partition my sd card using my phone - or how to do it on a Mac as I have no access to PC / Linux to partition the SD card.
I want to partition it so I can move may apps there.
My phone is rooted and running the Modaco 1.1 ROM
I have searched but all is still unclear
consider me a noob at doing this
cheers
Click to expand...
Click to collapse
how about using forum search, i found at the first try...

Care to share the link then , oh wise one -- how do you do it exactly?

This is where I'm up too
On Mac, with no PC access. Booting Mac with Linux CD running Gparted partitioning software.
No matter what I do I'm always running into the same problem. I start with a clean Dos (Fat) formatted 8gig sd card. In GParted I partition it into 3.
6.8gig Fat32 primary, ext3 800mb, and 50mb Linux Swap. I have tried various orders, with the last being as written above ( from Modaco Pauls suggestion ).
I have tried curing the problem by then mounting the sd card on my Mac OS X desktop, and using Disk Utility to format the 6.8gig partition ( from Stripealipe suggestion ).
All to no avail. The symptoms are:
Put formatted card into phone. Turn phone on. 'Hero' word appears, and it locks there. Have to remove battery to shut down.
Try to restart without a card. Same problem.
Try to start with second good ( unpartitioned ) card. 'Hero' word appears with chime. Little green guy wave at me from 'Hero' word. 'HTC' word appears with chime. Screen goes blank for 5 seconds - then back to 'Hero' word with little green guy.
What seems strange to me is that the problem goes from card to phone.
Only cure is a Nandroid restore.
ahhhhhgrrrrrr

I had the exact same problem just now, J-Zeus, but I seem to have fixed it by simply putting back the files that were originally on the SD card before the re-partitioning (I'd made a backup of those before starting the process) in the FAT32 partition and rebooting the phone. This time it showed the home screen after finishing the HTC logo part! I can't explain why this works though, since all of those files seem to be highly non-essential. It might also have been the last round of partitioning I did that did the trick, but that would just be weird since there shouldn't be any differences.
I started out partitioning the card with GParted Live, but after that failed I turned to Paragon Partition Manager (which subsequently managed to f*ck up the MBR on the drive that hosts my main OS, so I had a non-booting phone *and* a non-booting laptop on my hands; luckily the MBR was an easy thing to fix). The "app partition" is now formatted as ext3.
I still think something might've gone wrong somewhere, because it looks like some (or all, I'm not sure) of the apps I had installed from the market have disappeared from the app selection menu and from the "manage applications" list under Settings -> Applications. Supposedly they might be on the SD card now, I'll look into it some more tomorrow. At least the phone is working now, that's one step further.
PS I don't think I have the latest ROM btw, will fix that when I have time & report back if anything changes.

Related

Froyo A2SD+ SD card corruption

Tons of new ROMs coming out now based on OTA and adding A2SD+. But one big issue. Quite a number of people have reported problems with corruption of their SD cards when setting the Desire into Disk mode and connecting it to a PC. I've read it the first time here
http://forum.xda-developers.com/showpost.php?p=7463184&postcount=348
and I can confirm it is reproducible.
Regardless if connecting to Windows or Linux, the card gets corrupted. It does not matter if you properly eject the drive. The Desire will respond saying the SD card is Read Only, and the only thing that one can do is to repartition it to fix the card.
I don't know what A2SD+ application everyone uses in their ROMs but I expect it's all based on some common version like the one put in from ieftm. As this is a serious issue it would be great if all you ROM cooks could look into it and try to fix it. Alternatively it may be a good idea to produce non-deodexed versions that save a significant amount of memory when installed normally without A2SD+.
Thanks for considering
I have this problem aswell its a bit of a nightmare there are a few files on my sd card that I can't even delete using andexplorer or my pc. I think the only way would be to remove my card and format it. I have never had this problem before only when I started using the 2.2 rom.
Noticed it before, i took the SD card out and put it into a cardreader, couldnt do anything in windows, said it was read only. Access via USB cable worked though.
Not that much of a issue for me, I mainly transfer files via Wi-Fi anyway, but I guess thats the explanation for the read-only behaviour.
Happened to me today, however I restarted the phone and everything seems okay now... :/
edit: nope, connected the phone again, chose "charge only" and then disconnected. The notification about my card being corrupted occured again, tapped on it and it went away... Dont know what to think..
I have the same problem .. And now it seems like the SD card is totally corrupted. Its not even possible to do a format
Okay thats it... Doing the titanium backup, nand backup and flashing some rom w/o A2SD+... :/
Out of curiosity guys, did the corruption of the SD card occur to the stock SD card that came with the Desire? I had the same problem with the stock card..
It seemed to unmount 3 or 3 times over a week and the next thing I knew it totally died and could not even be reformatted.. Happened on stock 2.1 that came with my Desire.. after I swapped to me own class 6 8gb Transcend I never had the proble again.. Just gonna upgrade to 2.2 now.. *fingers crossed*
Oh and yes.. I use A2SD+ on Modaco's 3.1. But that was after that card got corrupted..
I'm using card that came with the phone.
I'm going to try another Froyo Rom, just OTA rom rooted and we'll see.
Edit: I made my ext3 partition with ROM manager, if it makes any difference...
God dammit!
http://forum.xda-developers.com/showthread.php?t=747480
Yes its the card that came with the phone .. but it happen after i created the 512MB EXT3 Partition ... and I'm running this ROM : http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=741775&highlight=official it doesnt even use A2SD+
I dual boot my pc with windows 7 & ubuntu.... windows 7 scan and fix has repaired mine numerous times
I have class6 A-DATA 8GB and no problem. But with my last G1 i haved same card and with swapping goes to hell... I now correctly unmounting and disconnecting mobile from PC, after i save from PC to card. Flash have problems with writing.
This looks like a serious problem - it happened to me twice already. Devs, please have a look at this!
I have also had similar experience, SD card corrupt, yes it was the original card that came with the phone, EXT2 partitioned and using APSD+
Now why this happend is a mystery, but something I noticed when I tried the SD card in the PC - it was recognized, but said it must be formated, so I tried but it only saw it as a 32mb capacity!!! (it still would not format though - failed format..and since is no longer reconized at all..)
But, this made me think it "MAY" be something to do with the fact that when I did the Ext2 partition I seem to remember it also created a 32mb swap partition, or using Ext2 instead of Ext3. I have since learnt that it is advisable NOT to created a swap partition, so with my new SD card, after more reading about Ext partitions etc, I have only created only the Ext3 partion as I understand this is better than Ext2 and is less prone to corruption, and no swap partition and have had no problem since!
See this excellent post :- http://forum.xda-developers.com/showpost.php?p=7458565&postcount=8
It would be interesting to have some input from one or two of the developers with knowledge in this field to get an idea why this happens, and how it can be prevented.
It is also possible the the SD card was going to become corrupt anyway... with or without the help of Ext? / APSD+ - it does happen!
delta-101 said:
I have since learnt that it is advisable NOT to created a swap partition, so with my new SD card, after more reading about Ext partitions etc, I have only created only the Ext3 partion as I understand this is better than Ext2 and is less prone to corruption, and no swap partition and have had no problem since!
Click to expand...
Click to collapse
my sd was corrupt using a 512MB ext3 partition without swap partition in SD card :/
Try in windows: start > run > chkdsk x: /f
where x = desire drive letter.
I believe i did this in recovery mode > mount usb.
That's what happens when you don't want to use Froyos own A2SD implementetion because "widgetz doesnt workzz on dat."
Apps are not meant to be on an external EXT partition.
Wait until ROMs like CM have built in A2SD+, these hacky shell scripts can cause serious problems for the SD card.
LeeDroid said:
I dual boot my pc with windows 7 & ubuntu.... windows 7 scan and fix has repaired mine numerous times
Click to expand...
Click to collapse
Windows can not access EXTx partitions. As such is unfortunately not possible that it could possibly repair a broken SD-ext partition A2SD+ uses.
delta-101 said:
I have also had similar experience, SD card corrupt, yes it was the original card that came with the phone, EXT2 partitioned and using APSD+
Now why this happend is a mystery, but something I noticed when I tried the SD card in the PC - it was recognized, but said it must be formated, so I tried but it only saw it as a 32mb capacity!!! (it still would not format though - failed format..and since is no longer reconized at all..)
[...]
It is also possible the the SD card was going to become corrupt anyway... with or without the help of Ext? / APSD+ - it does happen!
Click to expand...
Click to collapse
I can confirm the corruption without any APSD+ ROM
I had a Stock Orange FR 2.1 ROM, and the 4Gb card that came with the phone get corrupted definitively (recognized as a 32mb capacity too, it has something to do with the Cylinder-head-sector combination).
Anyway, I'm going to try APSD+ with a class 2 PNY 16Gb, and tell you then if I get a corrupted card.
FYI, the Sandisk warranty is applicable for the original card: replaced in 5 days
I got some problems too with corruped files on my SDcard and had to format it. I'm thinking that from now i'll only mount my card to pc in recoverymode... maybe that is safe to do?

[Q] 16 GB SD card not working at all.

Sorry to start a thread on an old topic.
I just ordered a Kingston Class 2 16 GB MicroSD card. Now when I remove my original card from my Desire, OR put in the new one (formatted), the phone doesn't boot up.
any solutions?
did you have apps2sd installed? if so, i think that's why
YEs, indeed I have Apps2SD+Root+custom ROM. Any solutions? The worrying thing is that the phone won't boot even without a card, let alone the new one.
I read somewhere that uninstalling all apps will solve the problem. Is that true?
well, all your apps that the phone thinks is on the internal memory is on the card.
now, last i heard, the phone will still boot if you wait long enough. start from scratch?
either that, or copy your old sd card to your new one (clone the whole thing, inc the ext3 partition)
Thanks, I tried cloning the card. It didn't work. How does one clone the EXT partition? Also, when you say 'it will start up eventually', how long is it supposed to take. I waited for 20 Minutes before giving up.
tommo123 said:
well, all your apps that the phone thinks is on the internal memory is on the card.
now, last i heard, the phone will still boot if you wait long enough. start from scratch?
either that, or copy your old sd card to your new one (clone the whole thing, inc the ext3 partition)
Click to expand...
Click to collapse
I'm also interested in how I could clone the EXT3 partition. Waiting long enough doesn't work for me, as it goes into a constant boot screen loop.
talhamid said:
Thanks, I tried cloning the card. It didn't work. How does one clone the EXT partition? Also, when you say 'it will start up eventually', how long is it supposed to take. I waited for 20 Minutes before giving up.
Click to expand...
Click to collapse
Use a live Linux CD like Ubuntu. Just Boot it up. Then Boot your Phone into custom recovery, mount your partitions and use Ubuntu to Backup your files. You can also use gparted (start it up by entering its name into the Linux console) for partitioning your new SD-Card (again, Phone booted into Custom Recovery). You may have to unmount from gparted first, in order to change existing partitions on the SD-card.
The command "dd" lets you easily backup and restore partition images. Google for specifics
as a windows user, (for my own future reference) would something like acronis work? make an image of the entire disk and restore onto a new one?

New SD Card

I am changing from the 4gb sd card that came with my desire to a 16 gb one.
How do i get all my data from the old sd card to my new ?
Thank you in advance
hcgl said:
I am changing from the 4gb sd card that came with my desire to a 16 gb one.
How do i get all my data from the old sd card to my new ?
Thank you in advance
Click to expand...
Click to collapse
connect the phone in "Disc Mode" copy all your data onto your computer, disconnect, change memory card to the new one, and copy and paste to the 16 gig.
Sorry I don't know any way of moving you games or apps when changing an SD card
hope this helps! good luck!
Wow, is it that easy, thanks a lot! Can someone help me about the games/apps ?
sorry to dig up this topic, but since I searched for it, here goes:
Same issue, I am changing from 8GB Micro SD to a 16GB micro SD, the catch: I am using A2SD+ and my previous 8GB has ext3 partition, so do I simply backup, change card and copy back the files or do I need to partition the new 16GB card like I did the old one, and then copy my backup?
if you want to save your ext as well, then this is best done via amon-ra recovery.
do a nandroid + ext backup of your rom with your old sd card.
put in a new sd card, formatted with ext, restore nandroid + ext then your rom and ext will be fine.
As for the fat you will have to copy as outlined above (via a pc).
Lennyuk said:
if you want to save your ext as well, then this is best done via amon-ra recovery.
do a nandroid + ext backup of your rom with your old sd card.
put in a new sd card, formatted with ext, restore nandroid + ext then your rom and ext will be fine.
As for the fat you will have to copy as outlined above (via a pc).
Click to expand...
Click to collapse
isnt it that the the nandroid backup will be stored in the SD? if so then after I do a nandroid backup, place the new blank SD and do a nandroid restore, then if it looks for any backup, then it wouldnt find anything because the old card isnt there?
sorry i suck at this...
cyberkamote said:
isnt it that the the nandroid backup will be stored in the SD? if so then after I do a nandroid backup, place the new blank SD and do a nandroid restore, then if it looks for any backup, then it wouldnt find anything because the old card isnt there?
sorry i suck at this...
Click to expand...
Click to collapse
The folder "clockworkmod" stores the Nand backups. You need to copy this to the root of your new sd card. This will be detected by Clockworkmod automatically
droidzone said:
The folder "clockworkmod" stores the Nand backups. You need to copy this to the root of your new sd card. This will be detected by Clockworkmod automatically
Click to expand...
Click to collapse
OMG droidzone you're everywhere! thanks a million man!
cyberkamote said:
OMG droidzone you're everywhere! thanks a million man!
Click to expand...
Click to collapse
Cheers
This is what I did them I got a new card, I had this in another post so just cut and pasted, my solution to moving to a new card. Bering a new member I can't post the link in here, but here is the copy of it here.
My setup, 2GB no class listed MicroSD, HTC Desire, Rooted with MoDaCo r9, with A2SD. All of my apps are on the MicroSD pretty much.
Well the MicroSD came in and I did what I know how to do, I used a cloning program that I use all the time for PCs, figured what the hell it should work.
- I plugged both of the MicoSDs using the SD adapter, then plugged the SD adapter into an SD to USB adapter and plugged them into the PC.
- I used Acronis True Image 2010 Acronis True Image , did an exact clone (called "Disk Clone" in the Acronis software), from my 2GB MicroSD to the 16GB MicroSD. Did NOT adjust any partitions or anything, had 14GB of free unused, unpartitioned space on the new card.
- Then I took the new 16GB MicroSD and plugged it back into my phone, booted, and it worked great, the phone can't even tell that it's a new MicroSD, shows same sizes and everything, as I didn't adjust any partition sizes yet.
- Then I took the MicroSD back out, plugged it back into the PC, then used another product of Acronis, called Disk Director Disk Director and then went in and expanded/resized the FAT partition to the full size, it used the free unused space to do that, and moved the partitions down the line and expands the FAT one in place.
- Plugged the card back into my phone, booted, worked great, got 15 GB plus of space now on the FAT partition. All the apps works, everything works great. It seems a little snappier and faster when loading apps now.
Side notes:
I just happened to have both of these products installed on my PC and use them all the time so that's what I used, but any Disk Cloning program that supports USB will work.
There is plenty of other "cloning" programs out there, like Norton Ghost - not free, some other pais ones. But also bunch free ones as well a list of them here , wiki list of them as well. Some of these programs are LiveCDs, which means you boot your PC of a CD and then you can edit HDs, also the USB Drives, other like Acronis will have a PC program as well a boot disk. With acorns I was able to use it just as a program no booting of a CD.
I personally have used this program called "hdclone" which is free, it has one limitations but it really is not a big deal in this case, it limits the copying to 1 GB per minute, hell for 16GB card thats 16 minutes !!! so not a limitation really. So do a exact clone using HDclone, don't resize the new SD just leave it as is, this worked for me, I think leaves everything exact as possible. Another free cloning program I have used in the past is DriveImage XML , so either of these will work to clone one SD to another. Now to resize, the product I use ALL the time to resize drives is "gparted", this one is a boot CD, so all you gotta do, plug in your SD card using the USB, boot of this small GParted CD, select your drive and then expand the FAT partition. Few extra steps with some free products but it works if you're not able to acquire Acronis.
Hope this helps, let me know if you have any questions or problems. Sorry for the long write up but haven't seen anybody describe doing this plus some people aren't as familiar with cloning HDs as others.
Help!
I just went in to recovery mode with CWM and did a Nandroid back up. Everything seemed to go well. Then i selected Reboot and now the phone is looping with the White HTC sreen and nothing else....... what should I do to fix it?
angusc said:
Help!
I just went in to recovery mode with CWM and did a Nandroid back up. Everything seemed to go well. Then i selected Reboot and now the phone is looping with the White HTC sreen and nothing else....... what should I do to fix it?
Click to expand...
Click to collapse
It's a known issue with Clockworkmod. Go back into Clockworkmod once again and restore the backup you just made. All will be well.
castro145 said:
This is what I did them I got a new card, I had this in another post so just cut and pasted, my solution to moving to a new card. Bering a new member I can't post the link in here, but here is the copy of it here.
My setup, 2GB no class listed MicroSD, HTC Desire, Rooted with MoDaCo r9, with A2SD. All of my apps are on the MicroSD pretty much.
Well the MicroSD came in and I did what I know how to do, I used a cloning program that I use all the time for PCs, figured what the hell it should work.
- I plugged both of the MicoSDs using the SD adapter, then plugged the SD adapter into an SD to USB adapter and plugged them into the PC.
- I used Acronis True Image 2010 Acronis True Image , did an exact clone (called "Disk Clone" in the Acronis software), from my 2GB MicroSD to the 16GB MicroSD. Did NOT adjust any partitions or anything, had 14GB of free unused, unpartitioned space on the new card.
- Then I took the new 16GB MicroSD and plugged it back into my phone, booted, and it worked great, the phone can't even tell that it's a new MicroSD, shows same sizes and everything, as I didn't adjust any partition sizes yet.
- Then I took the MicroSD back out, plugged it back into the PC, then used another product of Acronis, called Disk Director Disk Director and then went in and expanded/resized the FAT partition to the full size, it used the free unused space to do that, and moved the partitions down the line and expands the FAT one in place.
- Plugged the card back into my phone, booted, worked great, got 15 GB plus of space now on the FAT partition. All the apps works, everything works great. It seems a little snappier and faster when loading apps now.
Side notes:
I just happened to have both of these products installed on my PC and use them all the time so that's what I used, but any Disk Cloning program that supports USB will work.
There is plenty of other "cloning" programs out there, like Norton Ghost - not free, some other pais ones. But also bunch free ones as well a list of them here , wiki list of them as well. Some of these programs are LiveCDs, which means you boot your PC of a CD and then you can edit HDs, also the USB Drives, other like Acronis will have a PC program as well a boot disk. With acorns I was able to use it just as a program no booting of a CD.
I personally have used this program called "hdclone" which is free, it has one limitations but it really is not a big deal in this case, it limits the copying to 1 GB per minute, hell for 16GB card thats 16 minutes !!! so not a limitation really. So do a exact clone using HDclone, don't resize the new SD just leave it as is, this worked for me, I think leaves everything exact as possible. Another free cloning program I have used in the past is DriveImage XML , so either of these will work to clone one SD to another. Now to resize, the product I use ALL the time to resize drives is "gparted", this one is a boot CD, so all you gotta do, plug in your SD card using the USB, boot of this small GParted CD, select your drive and then expand the FAT partition. Few extra steps with some free products but it works if you're not able to acquire Acronis.
Hope this helps, let me know if you have any questions or problems. Sorry for the long write up but haven't seen anybody describe doing this plus some people aren't as familiar with cloning HDs as others.
Click to expand...
Click to collapse
what can i say? very detailed!
the only problem is that, I had to download Acronis product demos before I can do all these. I do imaging before but I dont resize EXT partitions...
ANyway Im still downloading..
Although I think it would help if anybody can post free and lighter (below 50MB, I guess) of softwares that can do USB cloning (disk cloning in general),..
I will post here my results..
HDclone is pretty small program and it should do the job.
Lennyuk said:
if you want to save your ext as well, then this is best done via amon-ra recovery.
do a nandroid + ext backup of your rom with your old sd card.
put in a new sd card, formatted with ext, restore nandroid + ext then your rom and ext will be fine.
As for the fat you will have to copy as outlined above (via a pc).
Click to expand...
Click to collapse
So far, this worked for me.
1. Backed-up my old 8GB card on my PC (the FAT partition).
2. Did Nandroid + Titanium Back up. (The Nandroid will backup the EXT partition)
3. Formatted the new 16GB with FAT32 on my PC
4. Resized the 15.++ GB of FAT32 to 14.XX GB so that the 1GB goes to the EXT3- I did this via a bootable GPARTED CD I got here: http://gparted.sourceforge.net/download.php
5. Copied the Clockwork MOD folder from my PC backup (see step 1) to my new 16GB card.
6. Inserted the new 16GB to my phone and booted into ClockworkMOD recovery
7. Did a NANDROID Restore.
8. After restore, I had to shut off my mobile and I removed the card coz I needed to copy back the whole FAT partition backup from step 1 to the new card.
9. Placed the new 16GB back and voila!
(NOTE: steps can be interchanged,for example, I think the copying of the FAT partition done in step 8 can be done after step 3 above.
Anyways, hope it helped.
!PANDA said:
connect the phone in "Disc Mode" copy all your data onto your computer, disconnect, change memory card to the new one, and copy and paste to the 16 gig.
Sorry I don't know any way of moving you games or apps when changing an SD card
hope this helps! good luck!
Click to expand...
Click to collapse
please bear with me, i am a newbie, have this unrooted desire froyo. i still have no plans of rooting it.
i also wanted to change the 2gig memory card to an 8 gig mem card. can i just follow the instructions above? is rooting really required for this?
thank you in advance for any help or step by step procedure.
Don't worry, you don't need root and it's really simple as copy and paste.
@3722 Huh?.. how can he carry out the above procedure without being rooted?
Sent from my HTC Desire using eMIUI
My reply is to the comment above my post (by nytevs), and he is using a standard froyo A2SD, no root, no ext partitions so it's just simple as copy/paste, just like it says on the quote that he is reffering to in his post (the quote from !PANDA).
3722 said:
My reply is to the comment above my post (by nytevs), and he is using a standard froyo A2SD, no root, no ext partitions so it's just simple as copy/paste, just like it says on the quote that he is reffering to in his post (the quote from !PANDA).
Click to expand...
Click to collapse
Oh i see....
Thanks for the reply

Unmounting SD card when Apps2SD is used

Hi all,
My Desire is rooted and running Leedroid 2.2a with an ext3 partition on my SD card for my apps and cache folders, using the default apps2sd setup with the ROM.
I recently had to re-flash my phone because lots of installed apps went missing; some of them had odd names (the com.android.x.x names) and then it got stuck in a boot loop because it couldn't read the SD card until I formatted it, well actually I had to destroy the ext3 partition. Now I wonder if its because the apps folder is on the SD card/ext3 partition and if I connect the phone to my PC to copy stuff to/from in disk mode it un-mounts the SD card, losing the apps folder and the cache folder.
So far, since flashing, I haven't installed half as much crap on my phone, or dismounted the SD card, but I am worried that it will start to cause problems with the phone if I need to connect via USB/disk drive mode.
Has anyone else had these problems, or know of a 'safe' way to unmount the card without corrupting apps?
cyberguru said:
Hi all,
My Desire is rooted and running Leedroid 2.2a with an ext3 partition on my SD card for my apps and cache folders, using the default apps2sd setup with the ROM.
I recently had to re-flash my phone because lots of installed apps went missing; some of them had odd names (the com.android.x.x names) and then it got stuck in a boot loop because it couldn't read the SD card until I formatted it, well actually I had to destroy the ext3 partition. Now I wonder if its because the apps folder is on the SD card/ext3 partition and if I connect the phone to my PC to copy stuff to/from in disk mode it un-mounts the SD card, losing the apps folder and the cache folder.
So far, since flashing, I haven't installed half as much crap on my phone, or dismounted the SD card, but I am worried that it will start to cause problems with the phone if I need to connect via USB/disk drive mode.
Has anyone else had these problems, or know of a 'safe' way to unmount the card without corrupting apps?
Click to expand...
Click to collapse
It shouldn't corrupt your EXT partition if you mount USB on your device.
AFAIK, if you mount USB, it will only mount the FAT32 partition, the EXT partition will still be available to Android.
Problem has occurred again. My battery went flat on Saturday so the phone turned off. Plugged it in on Saturday night, turned it on, and it stays at the "HTC" white background green text screen.
If I remove the card it boots fine. I mounted the SD card in Ubuntu and I can use the fat32 partition on the card, but the ext3 partition is empty, although if I right click on it and go to properties, it shows that there is 130mb in use on the partition. I cant do anything to the partition because Ubuntu throws some odd error about not being able to mount the partition because its in use, or some other paradoxical scenario...
Annoyed now. Anyone know of a fix? should I copy all the stuff I want off the card, repartition using gparted and try again? I used the ROM Manager app on the phone to prepare the card before. Could it have a bug?? the Ext3 partition is at the end of the drive space, after the fat32 partition. Should I make it the first partition?
Bit of a bump, but it seems I'm not the only one with this issue. Any help is appreciated...
I don't have the card with me now cos I'm at work so I cant do any more tests or try and find a solution.
Have you been able to find a resolution for this, I'm having this exact issue. While I suspect a reformat would address, I don't want to have to deal with this weekly.
No worries, you can mount them fine. but if you take out your sd card out of the phone and turn the phone on, it would turn on and go in a bootloop. but that was just for me.
This is used to happen to me. Stuck in HTC logo on white background. It turned out to be that my sd card was bad partitioned it corrupted.
I fixed it by destroyed all partitions and created only fat32. Then put it back to HTC Desire and had ROM Manager created new ext3 partition.
Sent from my HTC Desire using XDA App
I have been facing this issue ever since I started trying a2sd+ roms. I created a 1GB ext3 and apps will start disappearing every now and then. If I shutdown the phone and boot it again, then many apps will go missing.
I tried reformatting the sd, wipe and reinstall the rom but no use. Apps will keep disappearing on every reboot. At times all the installed application will be corrupted. i.e they will be listed in application manager as com.android.xx.xx with no icon. Some apps will have the icon and if i select them it will say the application is no longer available.
I have tried different roms with a2sd+ and still have the issue
I have tried different methods of partitioning.. Using acronis disk director in windows, using rom manager, using ubuntu live cd etc.. still the issue is present.
What makes it difficult is that sometimes the ext3 partition gets corrupted.. sometimes the whole sd ext3+fat32 gets corrupted, and I could not find what's wrong.
One final thing left to check is to try with a different sd card. If even that fails, then I have to go back to non-a2sd+ rom and live with low internal memory
Anyone faced this issue and found a solution, please share... I would be grateful...

[Q] How Do I Remove An Ext3 Partition From My Sd Card?

I was using my 4gb sd card for apps to sd for my previously-rooted android phone, and had about a 500mb of it partitioned to ext3. I have since unrooted my android phone and put it back to stock, but in doing so, I lost the recovery console that would allow me to unpartition my sd card. Is there a safe program that will recognize the ext3 partition and remove it?
Gparted. You can use a live cd or a VM.
Hi there. I downloaded a free program call minitool partition wizard. Do a google search for it (I can't post links)
It has worked well for me with my SD card partitioning.
Make sure you back up the contents of your SD card before removing the ext 3 partition as it will delete all the contents on it.
could you please elaborate a little as i am a noob. like whats gparted? whats a vm? whats the process of doing what i asked? thanks for the help.
I don't know if Windows recognises it at all but worth a try really. Gparted is a live cd tool that allows you make partitons on a storage device. I think that VM refers to a Virtual Machine, using something like VMWare or VirtualBox.
guys please help. i used these softwares but none of these is showing my ext3 partition in the program window. just a 3.22gb of one partition on phone. the 512mb of ext3 partion is still missing and i dont know where to find it.
Well, since you really don't need the ext3 partition anymore, you could format the whole SD card from windows (do a back-up of the content on the hdd before, though). Then in Windows (I'm guessing you're using windows ), with the phone connected in mass storage mode, right click on My Computer / Manage / click on Disk Management and you should see in the list of the drives your SD card (pay attention to the size). Right click on the 512 MB partition - Delete volume... After that you should create a new partiotion, format it as FAT32... Or you could delete all the partitions of the card and create a new volume.
Icysoul said:
Well, since you really don't need the ext3 partition anymore, you could format the whole SD card from windows (do a back-up of the content on the hdd before, though). Then in Windows (I'm guessing you're using windows ), with the phone connected in mass storage mode, right click on My Computer / Manage / click on Disk Management and you should see in the list of the drives your SD card (pay attention to the size). Right click on the 512 MB partition - Delete volume... After that you should create a new partiotion, format it as FAT32... Or you could delete all the partitions of the card and create a new volume.
Click to expand...
Click to collapse
i did that. in disk management i only see a 3.22gb partition. (i have a 4gb card, so i 512mb is still missing). i cannot find the 512mb ext3 partition anywhere. please can someone help me to find a software or any other method which will be able to detect the ext3 partition as well ?
The partition may be corrupted. You can still try to use Gparted live cd - google for gparted-live-0.7.1-5.zip . It can also be installed on USB flash, check their site for instructions. Restart your PC and boot from the CD or USB flash then check your sd card. If it still doesn't recognize the 512 partition, you might be out of luck.
Icysoul said:
The partition may be corrupted. You can still try to use Gparted live cd - google for gparted-live-0.7.1-5.zip . It can also be installed on USB flash, check their site for instructions. Restart your PC and boot from the CD or USB flash then check your sd card. If it still doesn't recognize the 512 partition, you might be out of luck.
Click to expand...
Click to collapse
how could the partition be corrupted because i was using the ext3 partition to install apps when i had root. it was only recently that i have to sell out my htc desire and i unrooted my htc desire. unroot procedure was done successfully but the card is only showing 3.22gb, i-e, 512mb is missing. this may become an issue if the buyer does not want to pay for a 4gb card with only 3.22gb of storage. it should be around 3.5-3.6gb
A partition may become corrupted if you remove the battery from the phone while the system is still running (i.e. writing data on the partition), it is not unheard of. Do try the gparted solution mentioned before, though.
Icysoul said:
A partition may become corrupted if you remove the battery from the phone while the system is still running (i.e. writing data on the partition), it is not unheard of. Do try the gparted solution mentioned before, though.
Click to expand...
Click to collapse
yes buddy i have tried the gparted solution you suggested before. even that is showing only 3.22gb of my sdcard and no mention of the 512mb ext3 partition. i dont know whether i am doing something wrong or what.... ???
Anyway, is there anyway i could recover that corrupt partition? Like can i ROOT my htc desire again and then try to format the ext3 partition from the recovery? i read somewhere there is a way to do that in recovery by giving some commands. and once i have recovered the ext3 partition space then i can UNROOT my htc desire again. DO YOU THINK IF I DO THIS ITS GONNA BE OF ANY USE? Please help me.
This might work since it worked for me. 4GB mysteriously disappeared from my 16GB card and neither Windows or gparted picked it up. The only way I was able to get it back was putting it in my phone and the Android picked it up. I did have to format my whole SD card but nontheless, I got all my space back. Hope this helps and if you have tried this then I can only guess that your SD card is buggered.
GoogleJelly said:
This might work since it worked for me. 4GB mysteriously disappeared from my 16GB card and neither Windows or gparted picked it up. The only way I was able to get it back was putting it in my phone and the Android picked it up. I did have to format my whole SD card but nontheless, I got all my space back. Hope this helps and if you have tried this then I can only guess that your SD card is buggered.
Click to expand...
Click to collapse
um actually, my sdcard IS in the phone this whole time as i dont have any card reader. i am connecting my phone with my pc in hard drive mode.
from within the phone, i have tried to format the sd card many times but the space does not go beyond 3.22gb..
Something seems to have messed the partition up. Have a look around on the web
Sent from my HTC Desire using XDA App
ok tell me if i root my cellphone again, will it help?
because there is a way to delete the ext3 partition from the recovery.
finally recovered my ext3 partition.
this is what i did.
1) rooted my phone.
2) enter into clockworkmod recovery
3) mount sd-ext (i guess it wasnt mounted that's why no app was recognizing it)
4) now windows was able to recognize the ext3 partition.
5) problem solved.
jamy_hallian said:
finally recovered my ext3 partition.
this is what i did.
1) rooted my phone.
2) enter into clockworkmod recovery
3) mount sd-ext (i guess it wasnt mounted that's why no app was recognizing it)
4) now windows was able to recognize the ext3 partition.
5) problem solved.
Click to expand...
Click to collapse
Oh man, I had EXACTLY the same problem and was driving me nuts. I searched high and low everywhere and couldn't find the answer. Thank you!
shaboobla said:
Hi there. I downloaded a free program call minitool partition wizard. Do a google search for it (I can't post links)
It has worked well for me with my SD card partitioning.
Make sure you back up the contents of your SD card before removing the ext 3 partition as it will delete all the contents on it.
Click to expand...
Click to collapse
this worked.. thanks a lot
i had the same issue as the OP
Use a card reader and MiniTool Partition Wizard.
Delete all partitions on the SD card and create a new one that fills the entire SD

Categories

Resources