Related
Hi all,
I have a big problem with my desire well my class 6 32gb kingston card I should say.
I don't seem to be able to create an ext partition, I tried rom manager, but it doesn't work because it doesn't create it. It actually creates a partition which can't be recognized by my pc, rom, clockword or amon recovery, neither clockword recovery no amon's recovery seem to be able to create a working one at the moment.
Then, I tried to do it via adb and parted but it says parted not found, I pushed parted to sbin via adb and i tried to do it there, it works fine for creating fat32 partitions but when it comes to ext3 it goes until the end and then says some bug has been found in parted.
Then, I used gparted, I created a fat32 partition and then a ext3 partition, it shows clearly that the partitions are there but neither my leodroid rom nor either of the recoveries can see it, when I try to wipe it, it says unable to format (file exists).
Then, I used minitools partition wizard but with no avail, neither the rom nor the recovery can read the ext partition.
Any help is appriciated.
shav4life said:
Hi all,
I have a big problem with my desire well my class 6 32gb kingston card I should say.
I don't seem to be able to create an ext partition, I tried rom manager, but it doesn't work because it doesn't create it. It actually creates a partition which can't be recognized by my pc, rom, clockword or amon recovery, neither clockword recovery no amon's recovery seem to be able to create a working one at the moment.
Then, I tried to do it via adb and parted but it says parted not found, I pushed parted to sbin via adb and i tried to do it there, it works fine for creating fat32 partitions but when it comes to ext3 it goes until the end and then says some bug has been found in parted.
Then, I used gparted, I created a fat32 partition and then a ext3 partition, it shows clearly that the partitions are there but neither my leodroid rom nor either of the recoveries can see it, when I try to wipe it, it says unable to format (file exists).
Then, I used minitools partition wizard but with no avail, neither the rom nor the recovery can read the ext partition.
Any help is appriciated.
Click to expand...
Click to collapse
are you creating an ext 4 partition with gparted? i had the same problem with clockworkmod, the file exists error, so i tried with the unbuntu live cd (ext 4) and got the same error, i deleted the partition and this time created an ext 3 instead and all worked fine, maybe theres a problem with clockwork and ext 4 partitions
believe me i have tried 4, 3 and 2 and none of them seem to be readable. It's driving my crazy. Any idea why parted is not on my rom? or is it just my particular device having this issue?
Thanks,
I am having a similar problem, would appreciate if someone can help
in my case I tried to partition the stock 4 GB SD card that comes with the Desire into 480 MB EXT2 partition and the rest into FAT32, for this i tried:
- ROM Manager but if failed to create the partition after going to recovery
- used EASUS partition manager from my Windows Vista laptop, and it seemed that the partition were correctly created
Then I proceeded to try to flash a couple of ROMS that are using A2SD (Leedroid 2.2e and 2.2f , Modaco R9) and in each time I got stuck in splash screen. I tried for many times then I decided to try with a ROM not using A2SD (pre-rooted stock HTC Froyo) and my Desire came back to life again.
The problem is that after that point my SD card was not recognisable at all by the phone although I could use it on the Windows laptop
I wonder if someone can explain in details the best way to format a SD card to be able to work with A2SD or A2SD+, preferrably from the phone itself (clockwork recovery) or from Windows PC application
Thanks
Gam
gamgoum said:
I am having a similar problem, would appreciate if someone can help
in my case I tried to partition the stock 4 GB SD card that comes with the Desire into 480 MB EXT2 partition and the rest into FAT32, for this i tried:
- ROM Manager but if failed to create the partition after going to recovery
- used EASUS partition manager from my Windows Vista laptop, and it seemed that the partition were correctly created
Then I proceeded to try to flash a couple of ROMS that are using A2SD (Leedroid 2.2e and 2.2f , Modaco R9) and in each time I got stuck in splash screen. I tried for many times then I decided to try with a ROM not using A2SD (pre-rooted stock HTC Froyo) and my Desire came back to life again.
The problem is that after that point my SD card was not recognisable at all by the phone although I could use it on the Windows laptop
I wonder if someone can explain in details the best way to format a SD card to be able to work with A2SD or A2SD+, preferrably from the phone itself (clockwork recovery) or from Windows PC application
Thanks
Gam
Click to expand...
Click to collapse
I have the same problem, can any one help??? I gave lots of money to buy that sd card but I cant use it the way I want :S
Take a Usb-stick.
! YOUR DATA FROM YOUR STICK WILL BE LOST, BACKUP BEFOR GPARTED INSTALL!
! BACKUP YOUR DATA FROM YOUR DESIRE SD-CARD, ALL DATA WIL BE LOST USING THIS METHOD!
Download gparted, install it using unetbootin.
start gparted form your usb-stick.
Remove all partitions in GParted from your desire sd-card.
create a new partition form about 1Gb ext-4.
then create a new partition (fat-32) that fils the rest of your sd-card.
Note: the ext-4 partition needs to be in front of the fat-32 partition.
restore your desire sd-card data.
I hope this helps!
Keon91 said:
Take a Usb-stick.
! YOUR DATA FROM YOUR STICK WILL BE LOST, BACKUP BEFOR GPARTED INSTALL!
! BACKUP YOUR DATA FROM YOUR DESIRE SD-CARD, ALL DATA WIL BE LOST USING THIS METHOD!
Download gparted, install it using unetbootin.
start gparted form your usb-stick.
Remove all partitions in GParted from your desire sd-card.
create a new partition form about 1Gb ext-4.
then create a new partition (fat-32) that fils the rest of your sd-card.
Note: the ext-4 partition needs to be in front of the fat-32 partition.
restore your desire sd-card data.
I hope this helps!
Click to expand...
Click to collapse
Thank you Keon91. Gonna try this cos been having mega probs.
duryard said:
Thank you Keon91. Gonna try this cos been having mega probs.
Click to expand...
Click to collapse
Have you got it working?
Yes Thanks. All sorted now
Hello
I am trying to align my FAT32 partition on my SD card as per:
dubdubdub.patriotmemory.com/forums/showthread.php?3696-HOWTO-Increase-write-speed-by-aligning-FAT32
I'm having issues completing the process because my SD card has a FAT32 partition followed by an EXT4 one, whereas the guide formats the entire SD as FAT32. I've tried heaps of different things to get it working, even doing it successfully on a 4GB flash drive which was fully FAT32, but I'm convinced having the EXT4 partition after is causing problems.
When I go to (W)rite the heads/sector changes to the partition I get this error:
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
No changes are made, not even after rebooting Linux.
Has anyone else had success with aligning their FAT32 partition with an EXT4 following it? I could try doing the entire SD card as FAT32, align it, resize it, and create an EXT4 after aligning it, but wasn't sure if this would work. I'll give it a try and see how I go.
I know its not helpful, but I was planning on doing this next time I flash a new ROM but haven't got around to it yet...
However, the link above which is clickable is here: http://www.patriotmemory.com/forums/showthread.php?3696-HOWTO-Increase-write-speed-by-aligning-FAT32
I imagine you need to change this bit:
Create a new partition that starts at cylinder 1 and ends at the end of the disk
to
Create a new partition that starts at cylinder 1 and ends at x from the end of the disk
where x is the size of the EXT partition you want to create
sadly it doesnt give the commands and i can't read the help here at work at the moment
I don't believe in such alignment.
Remove all partitions from gparted or windows disk management.
Download SD Formater utility from SD Card Association. And format your card. Full format.
Boot into gparted and shrink fat32 partition. Take note that there is 4MB in front of fat partition. Make sure it stay that way. In free space create ext partition. Use MB alignment in gparted.
That's all.
vr5411 said:
Use MB alignment in gparted.
Click to expand...
Click to collapse
I don't remember seeing that option?
what about the flashable ext alignment zip's?
Quick summary:
Recently got new SanDisk 16GB MicroSD and used CWM 5.0.2.0 to create a 1024mb ext partition. It says "successful" but I don't think it really did successfully create the ext partition. Tried to partition manually using 'parted' with no luck.
Any ideas/suggestions on how to partition properly?
Gory details...
Using HTC Desire GSM that is already S-OFF-ed and running InsertCoin 1.0.8 (on old 2GB sd card).
With arrival of new SD card I thought great, upgrade to InsertCoin 1.1.1 (was going to go for 1.1.3 but saw that it had a couple of problems)
Done it all before, easy enough I thought...
* Swap SD Cards
* Format SD with 1024mb ext, 0mb swap via CWM (originally using older than v5)
* Wipe settings, wipe cache, wipe dalvik cache
* Put Insertcoin zip onto sd card
* Install & reboot
Then it hung...forever on reboot (forever being 30min+)
Tried the above couple of times (eg. upgrade CWM) etc... and even tried putting the old 1.0.8 on - but still nothing just hung on boot screen. Put old SD card back in, and everything worked again (lost settings etc, but it booted up into Android)
So I started investigating and ended up looking into the partitioning of the new SD card....
Here is the output of "print" from "parted"
Code:
Model: SD (sd/mmc)
Disk /dev/block/mmcblk0: 16.3GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 15.3GB 15.3GB primary fat32 lba
2 15.3GB 16.3GB 1024MB primary
(note the missing 'ext3' under file system for partition 2)
So I then upgraded to latest CWM (as per their website) then tried the partition again... same result as above.
Then I went and followed manual partitioning tutorials (eg. http://forum.xda-developers.com/showthread.php?t=534714, and a couple of others on the web) and still "print" gave the above output.
With the manual partitioning, I thought, maybe it's just silently not showing ext2 but it really is ext2, will just upgrade it to ext3 and see if it'll show ext3...
So I ran "sdparted --upgradefs ext3" (for some reason upgrade_fs could not be found)... and that failed, giving:
Code:
checking script requirements...done
unmounting all partitions...done
you have chosen to upgrade /dev/block/mmcblk0p2 to ext3.
this action will NOT delete any data from sdcard.
do you want to continue? (Y/n) Y
adding journaling to /dev/block/mmcblk0p2.../sbin/e2fsck: Bad magic number in super-block while trying to open /dev/block/mmcblk0p2
/sbin/tune2fs: Bad magic number in super-block while trying to open /dev/block/mmcblk0p2
Couldn't find valid filesystem superblock.
done
So, now all I can think of is for whatever reason, the ext partition isn't being created properly on my sd card, thus the reason it is hanging on boot screen (read somewhere that if you don't have an ext partition, it will never get past boot screen).
Reason I believe the ext partition isn't being created properly is because in all tutorials they all have "ext2 or ext3" in the output. Even more so, checking my old SD card I get the following:
Code:
Model: SD 00000 (sd/mmc)
Disk /dev/block/mmcblk0: 2003MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 979MB 979MB primary fat32 lba
2 979MB 2003MB 1024MB primary ext3
(Note: old SD card has ext3... this was partitioned using CWM)
Am I missing something super obvious? or doing something wrong?
How am I meant properly create an ext3 partition (and make sure it has been created) on the SD card?
Any help would be greatly appreciated!!!
Thanks!!!
pyko
ps. not sure if this fits in this forum... but it is a question regarding my htc desire...
Try using Gparted, not parted.
gparted as in: http://gparted.sourceforge.net/
ie. a standalone application to partition the sdcard?
Indeed
10char
Or you can use this: http://www.partitionwizard.com/free-partition-manager.html You can create EXT4 partition without changing cluster size (which is why I ditched EaseUS).
Terepin said:
Or you can use this: <URL Removed for the sake of Humanity> You can create EXT4 partition without changing cluster size (which is why I ditched EaseUS).
Click to expand...
Click to collapse
or you can read my Sig
Gparted is the way forward, never fails ;-)
Sent from my HTC Desire using Tapatalk
Ok, it seems like using gparted failed
* Downloaded ISO, burnt to cd, booted up into gparted
* deleted all partitions on sd card
* allocated partition 1 as primary, fat32 (15gb)
* allocated partition 2 as primary, ext3 (1gb)
* apply
gparted went along it's merry way and said everything was created etc - but afterwards it shows a yellow triangle/exclamation "warning" icon next to ext3 partition.
Doing a check fails (error shows the same magic number problem as above) and that partition then becomes "unknown".
I tried formatting to each (ext2, ext3, ext4) but going back to parted and checking via 'print' none of them showed 'ext2/3/4 in the FileSystem column'
Note... ext3/4 both showed yellow warning icon, ext2 didn't (it seemed fine, but still didn't show up as ext2 in parted->print)
Any more ideas what is going on?
ps. using a mac, so can't use partitionwizard.
pps. took a screenshot whilst in gparted... but can't find the screenshot!
If you had a Windows pc I would recommend using h2testw.exe to run tests on the card. It would ascertain if there is a fault on it. I dont know if mac users have a wine equivelant to run .exe's?
Pulled out my old dell laptop and ran the check..
Indeed it seems like the disk is corrupted
Code:
The media is likely to be defective.
1.8 GByte OK (3808784 sectors)
13.3 GByte DATA LOST (28072432 sectors)
Details:56 KByte overwritten (112 sectors)
0 KByte slightly changed (< 8 bit/sector, 0 sectors)
13.3 GByte corrupted (28072320 sectors)
56 KByte aliased memory (112 sectors)
First error at offset: 0x00000000743c2000
Expected: 0x00000000743c2000
Found: 0x00000003ccef0000
H2testw version 1.3
Writing speed: 5.24 MByte/s
Reading speed: 6.27 MByte/s
H2testw v1.4
Is there a way I can fix it? This is a new disk btw
Where did you buy it?
That result to me makes me think its a fake. That its really a 2GB card rebranded and faked to look like a 16GB.
I ordered it from: http://www.crazysales.com.au/
In fact, sometime last year, I ordered both my HTC Desire and a 16GB SD card from them and both worked fine. Until couple months back the SD card suddenly died (completely dead - nothing would recognise it) so I asked for warranty.
After ~1mth, finally got the new replacement card (ie the one discussed in this thread). I guess so far, it seems to be a fake...
ps. the new replacement that they sent to me was not in its original packaging - it was simply placed in the case that I used to send the dead card.
I use 4EXTRecovery and works fine from recovery, easy and fast.
Not sure if that will help me unfortunately I do believe rootSU is right - it is actually a 2GB card made to look like a 16GB card.. the tests seem to indicate that, and I pulled in ~4GB worth of data to the card, the first ~1.8GB worked just fine and then afterwards all the files were corrupt.
Sent an email to crazysales ... now just waiting to see their response...
That is why you always should buy from trustworthy retailers.
flashed an update to a ROM earlier (which i believe was just coincidental timing) but it stock on splash screen, pulled the battery, booted back into recovery, got tons of e:mount/cache/recovery/ errors which were followed by ending destinations like lastlog, log, etc. cant mount emmc, sd card will not mount so i am stuck. i tried the sd card in the desktop which said it had to be formatted before using which i believe may be because of ext4 partition. so i used a old card which still would not mount in device, put a fresh copy of CWM5 (PB image) on the sd card, it saw and flashed it (so the problem isnt hardware related) but i still had the same issues. i am considering attempting a stock image. hoping that will get me running, root again and be back on tract in an hour. however before i make any steps i was hoping to get some input cause search feature turned up little on this except in forums for some other device (dont remember which). i dont feel their issues was mine. thanks in advance.
edit: decided to go ahead with the RUU, felt sure that would work. well it didnt. phone boots up and runs just fine with my stock ROM. no way of flashing mods, no custom ROMs, cant clear cash, mount emmc, something has to give or i will be having to trade phones sooner than later.
So now that you ruu'ed you flashed cw again and it still wont let you clear or flash anything?
cmlusco said:
So now that you ruu'ed you flashed cw again and it still wont let you clear or flash anything?
Click to expand...
Click to collapse
Correct. I did the ruu. Ran revoked, booted into recovery(which was the old 2.?.?, which had the same issues as before this ever happened. Saw somewhere about a freak error that has happened when attempting to flash ROMs that somehow deletes the main factory partitions. Kinda sounded like mine. But I can not mount, data, cache, SD card, emmc, datadata. I can mount system tho, which does no good. Bootloader sees SD card files so I don't have a issue with corrupt card. I am on stock now which is rooted but nothing is working right cause whatever is going on is infecting it across the board. Apps say installed but don't, not getting messages but can call. Very strange. I know I am too spoiled to live with this tho. Lol.
bump. cant believe nobody has even a suggestion.
shorty1993 said:
bump. cant believe nobody has even a suggestion.
Click to expand...
Click to collapse
What version of hboot are you on?
Have you tried flashing the newest clockwork thru hboot?
When you ruued did you use the PB31IMG.zip method or the exe pc method?
From what i understand your phone does boot but then things dont work right. You say that you cant mount anything but system, but that is only in recovery right? Obviously those partitions are being mounted when booting otherwise it wouldnt boot, so your partitions are probably fine. I would try flashing the latest cw thru hboot, and then see if you can mount and wipe the partitions. If that still dosent work i would then try flashing amon ra recovery thru hboot and see if the wipe and mount options work there.
cmlusco said:
What version of hboot are you on?
Have you tried flashing the newest clockwork thru hboot?
When you ruued did you use the PB31IMG.zip method or the exe pc method?
From what i understand your phone does boot but then things dont work right. You say that you cant mount anything but system, but that is only in recovery right? Obviously those partitions are being mounted when booting otherwise it wouldnt boot, so your partitions are probably fine. I would try flashing the latest cw thru hboot, and then see if you can mount and wipe the partitions. If that still dosent work i would then try flashing amon ra recovery thru hboot and see if the wipe and mount options work there.
Click to expand...
Click to collapse
i am hboot .92. i cant remember for sure what method i used for the RUU but i am abou to try both methods again to be sure no changes depending on which is used.
yes it will boot but only with the stock rom. using file explorers i cant see any contents of data (except lost & found folder), nothing under emmc, datadata, etc. the sd card wont mount in recovery (along with anything else) but will recognize in hboot. cache wont even mount. i had entertained the idea that since different partitions were saying cant mount, it may explain the reason the things arent running just right. i sure shouldnt see barely usable performance on a stock rooted ROM. i have got to figure this out cause new device isnt possible at the time and i cant pay a bill for this thing.
EDIT: i have also swapped over to amon RA recovery with the same results so its not a CWM issue.
just did the PB31IMG RUU. booted as normal (obviously didnt try many functions), ran unrevoked and when it booted into recovery i got the following automatically.
E:Cant mount /dev/block/mmcblk0p2
(file exists)
E:Cant mount CACHE:recovery/command
E:Cant mount /dev/block/mmcblk0p2
(file exists)
E:Cant mount CACHE:recovery/log
E:Cant mount /dev/block/mmcblk0p2
(file exists)
this is just a message right out of the gate. going into mounts will not allow any of these items to be mounted. if attempting to mount CACHE simple "error mounting cache" appears.
system will mount
data shows mounted (but not datadata)
sd card mounting error give the following
E:Cant mount /dev/block/mmcblk1p1 (or /dev/block/mmcblk1)
(no such file or directory)
error mounting sd card
i will attempt to run the RUU with the exe but dont expect different results. any thoughts would be great at this point cause i am all out.
no changes regardless of which method of applying RUU is used.
I got your message bud, buy unfortunately i don't have good news for you... Ive had the same thing happen to 2 of my dincs and it is a hardware problem. The only thing you can do is send it in for a refurb or insurance... Good thing is you can run the the stock ruu in the mean time but fixing it isn't going to happen... Sorry man wish I had better news for you good luck
Check this thread out.
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/page__st__20
Try going to page 3 as that's when your error starts.
Alternatively, let's try it this way first.
1. Go into recovery,use adb shell to shell into your phone.
2. Type parted /dev/block/mmcblk0
3. Type print.
4. Post output.
It should look like below:
Code:
(parted) print
print
print
Model: MMC HYNIX (sd/mmc)
Disk /dev/block/mmcblk0: 8095MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 8192B 797MB 797MB primary ext3
2 797MB 1007MB 210MB primary ext2
3 1007MB 8095MB 7088MB primary fat32 lba
Let me know from there so we can proceed.
tiny4579 said:
Check this thread out.
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/page__st__20
Try going to page 3 as that's when your error starts.
Alternatively, let's try it this way first.
1. Go into recovery,use adb shell to shell into your phone.
2. Type parted /dev/block/mmcblk0
3. Type print.
4. Post output.
It should look like below:
Code:
(parted) print
print
print
Model: MMC HYNIX (sd/mmc)
Disk /dev/block/mmcblk0: 8095MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 8192B 797MB 797MB primary ext3
2 797MB 1007MB 210MB primary ext2
3 1007MB 8095MB 7088MB primary fat32 lba
Let me know from there so we can proceed.
Click to expand...
Click to collapse
i will get this soon as i can steal the laptop charger back from my oldest girl. something i believe got jacked up on my desktop in the path environment so i have never been able to run ADB. guess it will be a long night of learning something new. thanks alot. verizon isnt willing to send me another device, already had 2 without an warranty. which is stupid to void my warranty over a account change only.
bad time of year for things to break.
shorty1993 said:
flashed an update to a ROM earlier (which i believe was just coincidental timing) but it stock on splash screen, pulled the battery, booted back into recovery, got tons of e:mount/cache/recovery/ errors which were followed by ending destinations like lastlog, log, etc. cant mount emmc, sd card will not mount so i am stuck. i tried the sd card in the desktop which said it had to be formatted before using which i believe may be because of ext4 partition. so i used a old card which still would not mount in device, put a fresh copy of CWM5 (PB image) on the sd card, it saw and flashed it (so the problem isnt hardware related) but i still had the same issues. i am considering attempting a stock image. hoping that will get me running, root again and be back on tract in an hour. however before i make any steps i was hoping to get some input cause search feature turned up little on this except in forums for some other device (dont remember which). i dont feel their issues was mine. thanks in advance.
edit: decided to go ahead with the RUU, felt sure that would work. well it didnt. phone boots up and runs just fine with my stock ROM. no way of flashing mods, no custom ROMs, cant clear cash, mount emmc, something has to give or i will be having to trade phones sooner than later.
Click to expand...
Click to collapse
because I use MIUI,I have no idea,I come here to learn lol.
tiny4579 said:
Check this thread out.
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/page__st__20
Try going to page 3 as that's when your error starts.
Alternatively, let's try it this way first.
1. Go into recovery,use adb shell to shell into your phone.
2. Type parted /dev/block/mmcblk0
3. Type print.
4. Post output.
It should look like below:
Code:
(parted) print
print
print
Model: MMC HYNIX (sd/mmc)
Disk /dev/block/mmcblk0: 8095MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 8192B 797MB 797MB primary ext3
2 797MB 1007MB 210MB primary ext2
3 1007MB 8095MB 7088MB primary fat32 lba
Let me know from there so we can proceed.
Click to expand...
Click to collapse
Model: SD SA08G (sd/mmc)
Disk /dev/block/mmcblk0: 7973MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 7973MB 7972MB primary fat32 boot, lba
(parted)
from the standpoint of someone far less knowledgeable than i would like to be,,,,,,,,,,,,it appears i have some things missing.
can someone please offer any idea why when doing a push of six files, five show up and one wont regardless of how many attempts. i have also went ahead and done a ruu and fresh root before i started the process of attempting the fix the partitions via the link in this thread. any opinions will be great.
excuse me for bringing this back from the dead but hoping possibly that at this point somebody can shed some additional light on the subject. in desperate need of getting this device running for the wife. where i stand currently is:
*the device is rooted but does not seem to have busy box installed.
*when sd card is inserted it immediately notifies that sd card is safe for removal (can not be mounted thru system menu either)
*in SD and storage info device does not recognize that there is internal memory available either.
all i am need of making this thing do basic functions. as of now files have no where to save (even temps) in order to update or almost anything productive useful. space is not even available to save contacts. this thread above includes all that i have attempted and the outcomes thus far. i would so very appreciative for any and all advice.
thanks in advance
chris
Hello!
While trying to install S2E i managed to partially ruin the functionality of my phone. I have an HTC Desire (GSM) running Cyanogenmod 7.1 stable release. I have S-off, root and ClockworkMod Recovery v5.0.2.0.
(I wanted to install a new SD card. In the process I managed to loose all my previous SD card data and I only have a 2 months old back-up from when I was running a different android version, so that will not be very helpful at recuperating many things, but even without the old SD card my phone was still operating correctly besides being unable to run the apps installed on the card. I presume this issue is unrelated to my current problem.)
Here is how I've think I've broken the phone:
- I used Gparted to format a new 8 GB microSD card (class 6) with 1 GB ext4 partition and a FAT32 partition.
- I installed S2E and checked all the options for the OS to use the external storage on the SD card partition.
- It turned out that my partition was not correctly identified by the OS (probably the issue was with using the built-in card reader of the laptop and not a stand alone USB card reader).
- I booted into Recovery Mode and re-formated the SD card with 1 GB of ext3, 32 GB of Swap and the rest as fat.
- After the restart the boot process took a very long time. When the OS finally booted I practically had a fresh install with none of my old settings available (shortcuts, wallpaper, apps etc.). Even the apps stored on the local memory disappeared (S2E, ROM manager, gmail, market etc.) and my home button no longer works. I am unable to receive phone calls since the phone automatically rejects incoming calls. I see incoming calls in the call log and I can make outgoing calls.
I presumed the issue is with mounting the sd-ext partition, but even if I tried to manually mount it after boot I see no change.
I followed these guides to install parted and use 32fsck to see if the partitions are corrupt. I think I have no problems.
Here are the code reports of running parted:
Code:
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Model: SD 00000 (sd/mmc)
Disk /dev/block/mmcblk0: 7965MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 6909MB 6909MB primary fat32 lba
2 6909MB 7933MB 1024MB primary ext3
3 7933MB 7965MB 32.0MB primary linux-swap(v1)
and e2fsck:
Code:
e2fsck /dev/block/mmcblk0p2
e2fsck 1.41.6 (30-May-2009)
sd-ext: clean, 1091/499712 files, 129331/999425 blocks
Here is my fstab as well:
Code:
/dev/block/mtdblock4 /cache yaffs2 rw
/dev/block/mtdblock5 /data yaffs2 rw
/dev/block/mtdblock3 /system yaffs2 rw
/dev/block/mmcblk0p1 /sdcard vfat rw
/dev/block/mmcblk0p2 /sd-ext ext3 rw
I presume that a fresh OS install will fix the issues. However I hope I can recover the settings stored on the ROM if I fix the sd-ext partition issue.
I will appreciate any suggestions you might have.
ps: adb push and fstab pull is working only when phone is in Recovery. If the CM7.1 is booted there is no fstab in /etc.
Had a similar issue sometime ago. Sorry to say couldn't fix it. In fact I would say the amount of time you spend trying to fix that issue will outway a fresh install.
If you can do a full backup still and save it to your pc you could do a fresh install and work on the issue without loss of phone functionality. Just my thoughts...
Thanks for your advice!
I ended up going for a fresh install with CM7.1 and S2E.
Thinks are ok now the only problem I have is that I don't see the 1 GB of available space reported correctly. Something like 152 MB is free and a negative value is reported as the used space. The CM option of using expanded internal storage is dimmed but I am not sure if that should be different.
mindcsrusher said:
Thanks for your advice!
I ended up going for a fresh install with CM7.1 and S2E.
Thinks are ok now the only problem I have is that I don't see the 1 GB of available space reported correctly. Something like 152 MB is free and a negative value is reported as the used space. The CM option of using expanded internal storage is dimmed but I am not sure if that should be different.
Click to expand...
Click to collapse
No problem. Glad you sorted the issue.
I know with a2sd using standard settings won't show the true size of the parition wont be reported. Something to do with the way it works. If it's working well and letting you install apps with no problems I wouldn't worry too much about