Related
Please help me.
I can ' t partition my sd card . I ' m using CM 6.1 . I have tried
several methods, both ROM Manager and AppsToSd apps don ' t
do nothing when trying to perform the partitioning , after
requested reboot everything' s the same . Adb didn ' t work either ,
says not found . I even wiped and reflashed the Rom . What could
be wrong?
What do you mean 'everything is the same'? You can't see the ext partition, especially with windows and your phone won't list it anywhere.
KCRic said:
What do you mean 'everything is the same'? You can't see the ext partition, especially with windows and your phone won't list it anywhere.
Click to expand...
Click to collapse
Yes. I have flashed a2sd add on and when I try to enable it, both with adb or terminal, it says ext partition is not mounted.
Btw when attempting to partition with ROM Manager it assures that everything on sd will be erased but after a reboot, all the files are still on sd, nothing erased.
Well what I would suggest is using a program on your computer to partition the sdcard (pull the card out and put it in your pc) you don't have to pull it out and put it in your computer but it's a lot quicker. I can't remember what I used so you'll need to google it or search 'create ext partition' on here.
After that, install the package and run the commands, you should be set after that.
Ok I found Acroinis Disk Director Suite on my laptop and with its help deleted fat32 partition, created ext3 of 509 Mbs and linux swap about 40 mbs and finally fat 32 of the rest of a card ( it also creates an emprty piece of about 7,8 megabites that can't be added to any partition). BTw I don't know why but the card isn't recognized by windows in card reader anymore, only when usb disk drive mode. And it can't load update.zip when attempting to get to clockwork recovery ( I restored this file after partitioning). And when typing su cd /system/bin/ sh a2sd reinstall or a2sd cachesd in terminal or adb, in the end it says no ext partition mounted wtf? And btw built in function to format card does this: formats card deleting all partitions and creates a fat32 partition of about 7.4 gbs. I'm so confused... Maybe my card is screwed? I don't know , I spent much time trying to get this working, but nothing helps.
SKAm69 said:
Ok I found Acroinis Disk Director Suite on my laptop and with its help deleted fat32 partition, created ext3 of 509 Mbs and linux swap about 40 mbs and finally fat 32 of the rest of a card ( it also creates an emprty piece of about 7,8 megabites that can't be added to any partition). BTw I don't know why but the card isn't recognized by windows in card reader anymore, only when usb disk drive mode. And it can't load update.zip when attempting to get to clockwork recovery ( I restored this file after partitioning). And when typing su cd /system/bin/ sh a2sd reinstall or a2sd cachesd in terminal or adb, in the end it says no ext partition mounted wtf? And btw built in function to format card does this: formats card deleting all partitions and creates a fat32 partition of about 7.4 gbs. I'm so confused... Maybe my card is screwed? I don't know , I spent much time trying to get this working, but nothing helps.
Click to expand...
Click to collapse
ok.. here is how i did it and it was extremely easy.. assuming you have adb working since you are rooted and you have to do that with adb.. then, put your sdcard back in your computer, back up everything and just format the whole thing to FAT32 using that program you say you used... then put the clockwork update.zip back is your sd card (if you think your update.zip might be corrupted or something use this one and rename it to update) along with this other file just in case..http://www.mediafire.com/?bli1zubj8otlo00
then go into recovery and then into clockwork right? now here comes the adb part, plug in your phone and open the command prompt, type adb shell press enter, now type sdparted and press enter and you should get instructions now... if nothing happens when you type sdparted flash the just in case file in recovery BEFORE plugin the usb to the phone, after this do the adb part again.. follow instructions and you will be good to go
etu_aty said:
ok.. here is how i did it and it was extremely easy.. assuming you have adb working since you are rooted and you have to do that with adb.. then, put your sdcard back in your computer, back up everything and just format the whole thing to FAT32 using that program you say you used... then put the clockwork update.zip back is your sd card (if you think your update.zip might be corrupted or something use this one and rename it to update) along with this other file just in case..http://www.mediafire.com/?bli1zubj8otlo00
then go into recovery and then into clockwork right? now here comes the adb part, plug in your phone and open the command prompt, type adb shell press enter, now type sdparted and press enter and you should get instructions now... if nothing happens when you type sdparted flash the just in case file in recovery BEFORE plugin the usb to the phone, after this do the adb part again.. follow instructions and you will be good to go
Click to expand...
Click to collapse
After I type sdparted, it says not found. I wonder why
SKAm69 said:
After I type sdparted, it says not found. I wonder why
Click to expand...
Click to collapse
try typing sdparted -i
etu_aty said:
try typing sdparted -i
Click to expand...
Click to collapse
I get the same not found
SKAm69 said:
I get the same not found
Click to expand...
Click to collapse
ok so there is nothing else i can do for you bro, i explained as much as i could and gave you the links... sorry
etu_aty said:
ok so there is nothing else i can do for you bro, i explained as much as i could and gave you the links... sorry
Click to expand...
Click to collapse
Thanks anyway
Still being bothered by the issue though
have you tried this method??
http://forum.xda-developers.com/showthread.php?t=736601
Yes I have. It keeps saying not found. I think maybe its adb messed up.
etu_aty said:
ok so there is nothing else i can do for you bro, i explained as much as i could and gave you the links... sorry
Click to expand...
Click to collapse
Sounds like he's not using correct syntax.
CD to your androidsdk\tools folder in command prompt, then type adb shell and THEN do the commands that he told you to do.
I think he was just typing adb sdparted which doesn't work.
edit: Nevermind, my bad, I'm dumb and didn't read the post through thoroughly, you already told him to do adb shell and it didn't work.
MusicMan374 said:
Sounds like he's not using correct syntax.
CD to your androidsdk\tools folder in command prompt, then type adb shell and THEN do the commands that he told you to do.
I think he was just typing adb sdparted which doesn't work.
edit: Nevermind, my bad, I'm dumb and didn't read the post through thoroughly, you already told him to do adb shell and it didn't work.
Click to expand...
Click to collapse
Yeah but might be right. I've set up enviromental variables in my pc so I can run adb whenever and wherever I want without changing the dir. to the sdk one.. but let's assume he knows how to adb since he is rooted n_n
Perhaps you could tell us how you partitioned your sdcard?? Maybe he can do it that way.. who knows..
Sent from my T-Mobile myTouch 3G Slide using XDA App
etu_aty said:
Yeah but might be right. I've set up enviromental variables in my pc so I can run adb whenever and wherever I want without changing the dir. to the sdk one.. but let's assume he knows how to adb since he is rooted n_n
Perhaps you could tell us how you partitioned your sdcard?? Maybe he can do it that way.. who knows..
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Yeah good point, make sure you CD to the directory that contains adb, otherwise it will say not found
Sent from my T-Mobile myTouch 3G Slide
Hi .. it's sad day but i've decided to order a SGS2 and that means it's time to sell my orig AMOLED rocking htc desire ..
still questioning it , but, yeh ...
anyways figure if i sell i don't want some one harvesting passwords etc off the phone or card so whats the best sure fire way to scrub any sign of my data off the card?
obviously by formatting it?!
One way would be to delete everything then fill all available space and delete again.
Like this...
Format memory card and factory reset/wipe all data from recovery.
From terminal or adb type
su
cat /dev/zero > /sdcard/delete.me
rm /sdcard/delete.me
Then repeat if your extra paranoid.
Replace sdcard with data in the above commands to do phone memory, you could also do cache aswell if you wanted.
Edit: it will hang for a while when doing the cat command, just wait for it to tell you your out of space. PS. You will need root to do data, but not sdcard, if you don't have root factory reset then fill data with loads of Soundboards from the market or something.
Just simply format it dude.....
Sent from my HTC Desire using XDA App
cheers guys, yeh figured a Sd card format would do the trick but yep mostly concered with the internal storage.
will try via adb ..
A simple format will not do the trick guys!
Well, if you are paranoid, you could follow mercianary´s guide to clean the sd card. But secure deleting the internal memory will be a bit more tricky.
I think you should be able to fill up the data partition with zeros in recovery via adb shell with similar command like mercianary used to shred the sd card.
Use /dev/mtdblock5 (not shure about that) as target for the cat command.
After that the partition should be completly overwritten.
Formating a device is just like ripping the table of contents out of a book.
You won´t find something the easy way, but it´s still there!
So you would be able to copy an image of mtdblock5 to the sd card with the dd command, and later analyze it with some datarecovery tool / undelete tool or raw recovery or dump tool.
That was my initial thought, but last time I messed around with dev/block/mtd and such i give myself over 100mb of bad blocks, its probably unrelated but I wouldn't recommended it because of my experience.
'cat /dev/zero > /data/delete.me' works fine at filling data with zeros, just tested it
mercianary said:
That was my initial thought, but last time I messed around with dev/block/mtd and such i give myself over 100mb of bad blocks, its probably unrelated but I wouldn't recommended it because of my experience.
'cat /dev/zero > /data/delete.me' works fine at filling data with zeros, just tested it
Click to expand...
Click to collapse
But first you have to format /data so that it´s empty. Otherwise you won´t overwrite existing files with zeros.
Hi All,
I have a problem with my SD card. My phone doesn't recognise SD card after I created ext4 partition through partition magic on windows 7. Here is what happened.
- I have rooted desire running CM 7.0.3.
- I wanted to go back to Starburst 1.4 rom.
- I have class 4 16 gb sd card (fat + ext3) with 512 mb of ext3 and rest fat32 (this was when everything was running good)
- I flashed the new rom through CWM, but only got like 54 mb on sd left.
- So I manually formatted ext3 and changed it to ext4 using partition magic on windows 7 (connected sd card through a reader).
- After that I flashed the new rom, but still got the same size left.
- After that I went back to CM7.0.3 which is working fine for me.
However, at this time, my phone doesn't recognise my SD card.
- I saw that I can't format ext in recovery as i get this error
E:Can't mount /dev/block/mmcblk0p2(File exists)
Error mounting SDEXT: !
I believe I was able to install CM7.0.3 coz it was a small rom was fit directly into phone's internal memory.
At this time, I can't see my SD card on phone. Can't play music or install any files or anything.
Looking for some quick help.
Thanks,
Satyam
Hi,
I had the same problem.
I got someone to format my SD card in there phone, then reverthing worked.
Regards
Matt
topgunmatt said:
Hi,
I had the same problem.
I got someone to format my SD card in there phone, then reverthing worked.
Regards
Matt
Click to expand...
Click to collapse
Hi Matt,
So are you saying that you got your SD card formatted by someone else using Rom Manager ?
- As of now, when I click on the inbuilt ROM Manager in CM7, it says " The SD Card needs to be mounted to use ROM Manager!"
That means my SD card is abviously not read by my phone.
Looking for some help. I don't want to do something silly at this time.
Atleast, as of now my phone is not bricked and is working, just the SD is not.
Any suggestions/comments or link to my problem is more than welcome.
Thank You
Hmmm, i smell another usb brick here, we've had so many these days, and all by people using cwm and flashing gb sense roms...just to prove i'm right, can you connect the phone to your pc? If you're not able to do that, then u have 100% chance it's a usb brick.
OMG !! yeah you're right.. now when I connected my phone using a USB, it doesn't give me the option to "mount USB".
What do to from here ? I don't know what is a USB brick and am pretty poor with linux commands !!!
Plz help.. However I can see a a couple of ROMs through recovery mode in my SD card, but can't flash those which require an EXT.
Plz help !!!!!
sroy001 said:
OMG !! yeah you're right.. now when I connected my phone using a USB, it doesn't give me the option to "mount USB".
What do to from here ? I don't know what is a USB brick and am pretty poor with linux commands !!!
Plz help.. However I can see a a couple of ROMs through recovery mode in my SD card, but can't flash those which require an EXT.
Plz help !!!!!
Click to expand...
Click to collapse
Haha, calm down its'no biggie believe me
Here you can find a tutorial on how to fix it: http://forum.xda-developers.com/showthread.php?t=691639
Feel free to ask if you need further help (bus is farkin boring).
vnvman said:
Haha, calm down its'no biggie believe me
Here you can find a tutorial on how to fix it: http://forum.xda-developers.com/showthread.php?t=691639
Feel free to ask if you need further help (bus is farkin boring).
Click to expand...
Click to collapse
Hi,
Are you saying that formatting SD card and making fresh ext partition through a media reader will not help in this case ?
I am very confused so to say.. I read the link that you posted, it talks about CID which I'm not able to find.. Can't see that option in fast boot (recovery).
Is there some other way to fix all this ?
Any more tricks/ suggestions are more than welcome..
Please see detailed info about my issue in the post
sroy001 said:
Hi,
Are you saying that formatting SD card and making fresh ext partition through a media reader will not help in this case ?
I am very confused so to say.. I read the link that you posted, it talks about CID which I'm not able to find.. Can't see that option in fast boot (recovery).
Is there some other way to fix all this ?
Any more tricks/ suggestions are more than welcome..
Please see detailed info about my issue in the post
Click to expand...
Click to collapse
Nope: i'm sorry but there is no other way...the problem lies in the misc partition, and that one doesn't get touched by simply toying with your sd, it's on nand, and no rom flashing/nandroid restore can touch it either. This process is the only way to go. CID can be obtained via adb command, i hope you'll have it installed and set up correctly.
i just fixed my brick lol . i found out bcuz i coulnt enable bluetooth
vnvman said:
Nope: i'm sorry but there is no other way...the problem lies in the misc partition, and that one doesn't get touched by simply toying with your sd, it's on nand, and no rom flashing/nandroid restore can touch it either. This process is the only way to go. CID can be obtained via adb command, i hope you'll have it installed and set up correctly.
Click to expand...
Click to collapse
Hi,
Okay I get it.. I need to fix my nand partition, now question -
1) I can figure out the 1st step "Find out your CID. Go into fastboot mode, and do 'fastboot oem boot" - Nothing happens when I click on fast boot option in recovery mode. The other method CID generator also asks for CID.. how do I get that.. that's my biggest question.
2) How can I see the rom version.
I know, I might me sounding stupid, but I'm not a pro.. used to love flashing new ROMs earlier and this time I just messed it up.
Need some step-by-step help.. I might be asking for too much, but I trust this forum and believe Android has too many fans hooked to it.. so I will get some help
sroy001 said:
Hi,
Okay I get it.. I need to fix my nand partition, now question -
1) I can figure out the 1st step "Find out your CID. Go into fastboot mode, and do 'fastboot oem boot" - Nothing happens when I click on fast boot option in recovery mode. The other method CID generator also asks for CID.. how do I get that.. that's my biggest question.
2) How can I see the rom version.
I know, I might me sounding stupid, but I'm not a pro.. used to love flashing new ROMs earlier and this time I just messed it up.
Need some step-by-step help.. I might be asking for too much, but I trust this forum and believe Android has too many fans hooked to it.. so I will get some help
Click to expand...
Click to collapse
Also just want to let the forum know that I'm running a custom ROM (CM 7) and don't see the option of software info under Settings>About phone. Any other way to find out rom version ???????/
Ok, sorry man, i was out for a ride
To see the CID you have to type "fastboot oem boot" in the terminal, after navigating to the path where you have the sdk, for example:
"cd c:/sdk/tools"
"fastboot oem boot"
Then you should get all the info, together with the CID ofc...obviously you need to have adb installed and working in order to do that (there ia a lot of tutorials for that, just use the search function).
As to rom version, you don't need it, just download the mtd0.img, open it with the hex editor and mod it with your CID, then go for the next step
I dont believe you have bricked your phone, i think you have created a partition on it without making it a primary partition along with the fat32 parition.
boot into recovery and mount your SD card to your PC. Reformat the whole card and then it should work again, you may just be able to go into your partition software and amend to show 'primary' on each, if not read on. Couple of options then, download ROM manager from the market and reformat the ext3 using rom manger if not do it via your windows software but make sure both partitions are set to 'Primary'.
vis-tec said:
I dont believe you have bricked your phone, i think you have created a partition on it without making it a primary partition along with the fat32 parition.
boot into recovery and mount your SD card to your PC. Reformat the whole card and then it should work again, you may just be able to go into your partition software and amend to show 'primary' on each, if not read on. Couple of options then, download ROM manager from the market and reformat the ext3 using rom manger if not do it via your windows software but make sure both partitions are set to 'Primary'.
Click to expand...
Click to collapse
It's a usb brick, not a plain brick: when you plug it to pc the phone usually doesn't even light up the led.
sorry, i read that he had full use of his phone bar the SD card
- I saw that I can't format ext in recovery as i get this error
E:Can't mount /dev/block/mmcblk0p2(File exists)
Error mounting SDEXT: !
Click to expand...
Click to collapse
hi, seems you got bad partition on your sd card, since it s normal that you can't mount sd while plug on usb.
did you already put out your sd card out the phone and try to read it with a usb scard reader plug on your computer??
cid error mean you have messed-up your misc partition which is the one in your nand where the recovery is located... didn't see any error about this in your thread...
in the boot, should fail with error misc partiton cid unknown etc...
have a try about sd card reader it's easer than misc error fix
give a try on this site and try using gparted cd live... don't need to be expert in linux command (it s a graphical interface) should you know that FIRST FAT32 PRIMARY partition and LAST EXT3 (is less fast but really more stable and relyable fs) PRIMARY partition
hi, still me sorry for spamming, just found a nice TUT using gparted on xda http://forum.xda-developers.com/showthread.php?t=535914
fragargon said:
hi, seems you got bad partition on your sd card, since it s normal that you can't mount sd while plug on usb.
did you already put out your sd card out the phone and try to read it with a usb scard reader plug on your computer??
cid error mean you have messed-up your misc partition which is the one in your nand where the recovery is located... didn't see any error about this in your thread...
in the boot, should fail with error misc partiton cid unknown etc...
have a try about sd card reader it's easer than misc error fix
give a try on this site and try using gparted cd live... don't need to be expert in linux command (it s a graphical interface) should you know that FIRST FAT32 PRIMARY partition and LAST EXT3 (is less fast but really more stable and relyable fs) PRIMARY partition
Click to expand...
Click to collapse
Fixing misc doesn't take more than a minute if you have a working adb...repartitioning micro sd card takes loads of time instead, especially if it's big, coz you have to backup all of your data then copy them back, and that's a pain, especially if the sd isn't very fast.
Anyway you might be right there, just the other day a guy had a similar issue caused by multiple ext partitions not being recognized properly. I just thought it was a usb brick coz it's very common since the new gb sense roms rolled out and people started partitioning like crazy with cwm (which really SUCKS at that), and this either cause misc corruption or messed partitions on sd card: i'd suggest everyone to partition with amon them flash back any 3.0+ cwm to flash the rom, if you don't have the chance of using linux live cd (but you really should).
All sorted --------- RESLOVED !!!!
Okay Listen all Desire Owners-- I was able to fix this USB brick without having to go through all which was available on internet..
What I did -
1) Came home and formatted my EXT4 to ext3 and simply reflashed cm7 rom
All worked like charm - Now My SD card is mountable and works perfectly
Good for you
Anyway make sure you set up adb properly on your pc, it will save your life some day: it takes a while but it's worth it...i wouldn't get inti the rom flashing thing without it. Just a suggestion
Bests.
So today instead of formatting to fat32 i accidently formatted to ntfs and yes iv'e searched all over but all the apps say i need "modprobe fuse" and the incredible doesn't seem to have it :/
I really don't wanna move to my iphone so any help would be nice, thanks in advance
Danielombasa612 said:
So today instead of formatting to fat32 i accidently formatted to ntfs and yes iv'e searched all over but all the apps say i need "modprobe fuse" and the incredible doesn't seem to have it :/
I really don't wanna move to my iphone so any help would be nice, thanks in advance
Click to expand...
Click to collapse
Cant you just take out the sd and use a card reader and a pc to format it back to fat32?
cmlusco said:
Cant you just take out the sd and use a card reader and a pc to format it back to fat32?
Click to expand...
Click to collapse
the problem is i don't have one, oh well i think it's time to retire this phone :/
thanks cmlusco
Danielombasa612 said:
the problem is i don't have one, oh well i think it's time to retire this phone :/
thanks cmlusco
Click to expand...
Click to collapse
Well its up to you. You can get one of those adapters at walmart for like $3.
Danielombasa612 said:
the problem is i don't have one, oh well i think it's time to retire this phone :/
thanks cmlusco
Click to expand...
Click to collapse
Or learn some adb and format in recovery. I hate to see a phone given up on due to an issue reading a sdcard.
Also android has a format option in the storage menu. Have you tried that?
Sent from my Galaxy Nexus using Tapatalk 2
tiny4579 said:
Or learn some adb and format in recovery. I hate to see a phone given up on due to an issue reading a sdcard.
Also android has a format option in the storage menu. Have you tried that?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
i booted to cwm, couldn't format because the phone doesn't recognize it.
tired it from cm10.1 storage, no luck so idk anymore.
Try this:
1. Reboot into recovery.
2. Connect phone to PC (must have working adb)
3. Start->Run->cmd
4. Type adb shell where you normally would run adb.
5. mkdosfs -F 32 /dev/block/mmcblk1p1
Or simpler, did you try wiping external storage (in TWRP recovery) or a similar sdcard wipe in CWM?
tiny4579 said:
Try this:
1. Reboot into recovery.
2. Connect phone to PC (must have working adb)
3. Start->Run->cmd
4. Type adb shell where you normally would run adb.
5. mkdosfs -F 32 /dev/block/mmcblk1p1
Or simpler, did you try wiping external storage (in TWRP recovery) or a similar sdcard wipe in CWM?
Click to expand...
Click to collapse
adb keeps giving me "error device not found"
& i had cwm installed because i had to flash an unsigned zip T.T
ty anyways for your help guys!
p.s i've always loved your ROM's & kernels keep it up dude ^^
Danielombasa612 said:
adb keeps giving me "error device not found"
& i had cwm installed because i had to flash an unsigned zip T.T
ty anyways for your help guys!
p.s i've always loved your ROM's & kernels keep it up dude ^^
Click to expand...
Click to collapse
Do the commands in a terminal emulator app.
su
mkdosfs -F 32 /dev/block/mmcblk1p1
cmlusco said:
Do the commands in a terminal emulator app.
su
mkdosfs -F 32 /dev/block/mmcblk1p1
Click to expand...
Click to collapse
mkdosfs -F 32 /dev/block/mmcblk1p1: not found
thats what it says
Phone:
GN Toro (Verizon)
no OS currently installed!
TWRP 2.3.3 (I know, needs to be updated)
Skip to the bold text for the TLDR version.
So here's the story... I was going to flash the latest AOKP and decided that this time I would do things right! In the past I had almost always dirty flashed, but this time I was going to start clean and only restore data for a handful of apps. So I booted into TWRP and wiped cache, dalvik cache, system, and ..........internal storage! I went to flash the ROM I had downloaded and that's when I learned that I had made a huge mistake :crying:
So I've been doing a TON of reading; I think I've found a solution to my problem in this thread.
I know I can either use ADB push to reload the ROM or use ODIN mode to reflash (although I was unable to get ODIN to see my phone). My concern is that if I'm going to have any chance recovering my files, I need to avoid writing to /sdcard at all costs.
So here's my question, is there a way to get a binary dump of /sdcard aka /media/data without first installing android? I need to be able to do so from TWRP or fastboot. I have the GN toolkit but I don't see any way of doing this. I also have all the drivers installed and working (or so it seems) and ADB installed.
Sorry I misread. I'm not sure how you can recover from that.
I think you should be able to adb push a ROM to it. Flash it and it won't touch the contents of the SD card.
Sent from my Galaxy Nexus
Beezer80 said:
I think you should be able to adb push a ROM to it. Flash it and it won't touch the contents of the SD card.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Actually, this is exactly what I did. The new ROM wrote a directory structure and various files to /sdcard, hopefully none of those writes overwrote the data I'm trying to recover...
16GB thumb drive and USB OTG cable. Boot into recovery and use dd to dump the user data partition to the thumb drive.
Probably too late for that, since you've already written files to the partition.
cschmitt said:
16GB thumb drive and USB OTG cable. Boot into recovery and use dd to dump the user data partition to the thumb drive.
Probably too late for that, since you've already written files to the partition.
Click to expand...
Click to collapse
Ya know, I have a huge thumb drive and a USB-OTG adapter, I never even thought of this! Thanks, if I ever need to do this again I will try that.
I was able to recover most if not all of my pics (the only thing I cared about losing) using this guide I linked above.
Glad that method worked. It's kind of scary with GN having a single data partition and no ext sd. Coming from a device with separate /data and /sdcard partitions plus and ext sd, I miss being able to back things up onto the card.