[Q] How can I know that which kind of partition I have (ext 2,3,4)? - HTC Pico (Explorer)

Can anyone please tell me how I can get to know which partition I am using.. I partitioned using ClockworkMod Recovery 5.0.2.8... So thats why I have no idea..! :S

I think that recovery will make an ext2 partition, but not 100% sure. Easiest way to check is probably to connect your micro SD card to your computer (in a card reader, I don't think it will work in the phone, although I'm not completely sure) and run a partition manager like MiniTool Partition Wizard (http://www.partitionwizard.com/free-partition-manager.html). It should show all drives connected to your computer, and within each drive, all the partitions, along with their format etc. Find the drive corresponding to your SD card (probably the only one with an ext partition) and look at the format of the ext partition.
This assumes you run Windows. If you run Linux, it should natively detect both partitions on the card, although depending on your distro it may or may not automatically mount them. I can't really help too much with that aspect of things, but I'd say if you are the sort to run Linux, you'll have a fair idea where to go from there.

SifJar said:
I think that recovery will make an ext2 partition, but not 100% sure. Easiest way to check is probably to connect your micro SD card to your computer (in a card reader, I don't think it will work in the phone, although I'm not completely sure) and run a partition manager like MiniTool Partition Wizard (http://www.partitionwizard.com/free-partition-manager.html). It should show all drives connected to your computer, and within each drive, all the partitions, along with their format etc. Find the drive corresponding to your SD card (probably the only one with an ext partition) and look at the format of the ext partition.
This assumes you run Windows. If you run Linux, it should natively detect both partitions on the card, although depending on your distro it may or may not automatically mount them. I can't really help too much with that aspect of things, but I'd say if you are the sort to run Linux, you'll have a fair idea where to go from there.
Click to expand...
Click to collapse
Okay thanks...
Sent from my HTC Explorer A310e using xda app-developers app

Related

How to back up the ext2 partion on sd card?

Hi,
I have sucessfully moved my apps and caches to my 1.6gb ext2 partiton on my 8gb sd card.
I would like to back up the ext2 partition in case my sdcard fails.
How do I do this in windows xp?
Thanks
I'd love to find out how to do something similar. I just got an 8 GB card that I'd like to replace my 2 GB card with, basically, I'd like to clone the whole thing over.
Anyone have any ideas? I can do XP or Linux, just curious what software would be able to do the best job of replicating the card from one to the other.
Attach the card to your computer with an adapter (not the phone as it will be mounted by android). Download and install ext2ifs from here. You will now be able to see the files on the ext2 partition and can copy/paste them to where ever you would like.
Thanks, but I've had no luck with ext2ifs and memory cards. They even address it in their troubleshooting section:
I have a device with a removable media, for example a USB memory stick, a Compact Flash Card, a magneto-optical drive etc., which has a partitioned format and has more than one partition. When I insert that media, a drive letter appears for the first partition, but not for all the remaining partitions of the media. When I open "IFS Drives" of the control panel, the considered device appears as a hard disk drive, but there is no partitioning scheme shown for it. How can I create drive letters for the remaining partitions of that removable media? (USB hard disk drives are not affected.)
There is an unsatisfactory answer only: it is not possible.
Windows creates (and deletes) all the drive letters for pure removable devices or removable medias itself. Because the Ext2 IFS software need not to create them, it intentionally does not show any partition scheme for that drive.
Windows creates a drive letter for the first partition of the considered media, but not for the remaining ones. (Windows NT4, 2000 and even XP behave the same way in that regard).
You will run into the same problem if you have a removable media partitioned with two partitions of the FAT type on a computer, which has not installed the Ext2 IFS software! So there is one straight advice only: do not use removable media with more than one partition with Windows.
I'm guessing (someone else could correct if wrong) that if I were to just do the basic copy from one card to another - that would suffice?
If I just took the card, created two partitions (FAT32 and EXT2FS) on the larger card, then copied over all the files in both - that would work just fine?
Strange, I've never experienced any issues with ext2ifs, but yes a simple copy paste of both partitions has been all i needed. Just make sure to copy any hidden files as well.
Can we back it up using Ubuntu Live CD and just upload them to a new sd cards ext2 partition?
yes, but you would need multiple card readers.
andonnguyen said:
yes, but you would need multiple card readers.
Click to expand...
Click to collapse
Why can't you save it to the hard drive, replace the sd card, access the ext2 partition and upload the files that you backed up?
Although I'm not very familiar with Ubuntu, when I tried it last time it didn't even allow me to have access to the app and app-private folders within the partition.
What do I need to do to be able to back it up to the hard drive so I can try to upload it to another SD?
Hi,
Thanks for the suggestion.
But when I installed the driver, I can still see just the fat32 partition not the ext2 partition.
I am using a sdhc usb card reader so it is not connected to the g1.
It is like the ext2 partition does not exist through windows xp.
But when I put the card back in the g1 the files are taking up space through ternminal emulator. So the ext2 partiton does exist but still not accessable through windows.
Any other ideas?
jsunkist146 said:
Attach the card to your computer with an adapter (not the phone as it will be mounted by android). Download and install ext2ifs from here. You will now be able to see the files on the ext2 partition and can copy/paste them to where ever you would like.
Click to expand...
Click to collapse
bestwebs said:
Hi,
Thanks for the suggestion.
But when I installed the driver, I can still see just the fat32 partition not the ext2 partition.
I am using a sdhc usb card reader so it is not connected to the g1.
It is like the ext2 partition does not exist through windows xp.
But when I put the card back in the g1 the files are taking up space through ternminal emulator. So the ext2 partiton does exist but still not accessable through windows.
Any other ideas?
Click to expand...
Click to collapse
what comes up when you use
"busybox df -h" in the terminal emulator?
make sure you see something like "/dev/mmcblk0p2 (partition size) (used) (available) (used %) "/system/sd"
If not then that's the problem.
Hi,
In my phone , I do have that ext2 line /dev/mmcblk0p2
size 1.4gb - used 49 meg - free 1.3 gb
sdcard line /dev/mmcblk0p1
size 6.2 gb - used 5.2gb - free 981 meg
Thanks for the reply.
Binary100100 said:
what comes up when you use
"busybox df -h" in the terminal emulator?
make sure you see something like "/dev/mmcblk0p2 (partition size) (used) (available) (used %) "/system/sd"
If not then that's the problem.
Click to expand...
Click to collapse
If you're on Linux it is trivial to get the files off, if you'd like to make an exact image you can use the dd command. I suggest grabbing a live CD, as it will be a much easier process than making windows see ext partitions.
crater said:
If you're on Linux it is trivial to get the files off, if you'd like to make an exact image you can use the dd command. I suggest grabbing a live CD, as it will be a much easier process than making windows see ext partitions.
Click to expand...
Click to collapse
I have the Live CD, but can you elaborate on the "dd command" exactly. I'm a Linux noob and wouldn't mind backing up the partition. Last time I tried, I couldn't even get permissions to open the files no less copy them.
Thanks.
Insert the two SD cards into USB SDHC card readers. Launch the free MiniTool Partition Wizard program. Copy the ext2 partition you want to transfer on the first SD card to an unallocated area on the second SD card. MiniTool Partition Wizard under Windows does "see" multiple partitions on a USB drive even though Windows doesn't assign letters to those drives and they are invisible in Windows Explorer.
To increase the size of the ext2 partition on either SD card, use the Linux program GParted. Boot up with the GParted Live CD/USB iso file. Run GParted to resize the ext2 partition. (MiniTool Partition Wizard can move but not resize an ext2 partition.)

Broken SD Card?

For the last 5 hours I have had hell with my sd card I redid my phone with JF new build and wiped out my 8gb class 6 a-data sd card but all of a sudeen it been acting weird
one thing is in paragon it shows the partitions still there (ext2) which takes up the whole card and should not, while windows shows its fat32, and i can access it in windows but it wont show up in in partition program nor delete
while when i mount it into the g1 (where it ask to mount or dont mount when plug it into pc) it instantly unmounts and i click mount again but just makes a noise and unmounts also saying its blank
now my 2gb chip seems to work fine (sometimes well if i unstall the drivers and let them re install then it works for a great amount of time), but this 8 gb,...well
what do you guys think? is it fixable? I can record video of it all (errors and stuff included) if u want
idk if its my chip, my phone or my pc can anyone help?
i think this has something to do with the way windows handles sd cards with no partition table. i assume you formatted the whole card to fat32 using a third party utility? that will totally confuse the system, because it cached a version of the partition table and now there's nowhere to find the new one. a quick solution is to use the build-in format tool to format your sdcard (right click on sdcard's icon and select format...). this should force the system to recalculate the size of the partition. then you have to unplug the card reader and plug it back in. now paragon should work.
billc.cn said:
i think this has something to do with the way windows handles sd cards with no partition table. i assume you formatted the whole card to fat32 using a third party utility? that will totally confuse the system, because it cached a version of the partition table and now there's nowhere to find the new one. a quick solution is to use the build-in format tool to format your sdcard (right click on sdcard's icon and select format...). this should force the system to recalculate the size of the partition. then you have to unplug the card reader and plug it back in. now paragon should work.
Click to expand...
Click to collapse
after a long while, finally got windows to format the whole thing to fat32, but yet still acting weird
what kind of card reader are you using? certain card readers has their own controller and do not allow you to partition properly.
but i am sure mountd in android will allow you full access to the sdcard when it's mounted.
also how much total space do you have in that fat partition after format? a full 8gb sd should have approx. 7.45GB actually space. if your partition table is correct, windows should only format the fat partition and give you a size smaller than 7.45G.
I strongly suggest you try again under Linux using the phone as reader. any livecd with a partition manager will perform much better than windows.
Well i try it both on my phone and a mem card reader, but once I put it on my phone it does not detect a sd card (my 8gb im trying to fix) while detects my fat32 2 gb chip
on my laptop and pc cant format nor delete that ext2 8gb sd card
BUT that 8gb ext2 card im trying to fix loads perfeclty and can access it on ubuntu so im guessing its not physically broken
tanner2007 said:
but once I put it on my phone it does not detect a sd card
Click to expand...
Click to collapse
What do you mean by "it", the GUI. How about doing an ls on /dev/block from the terminal on the phone to see what linux sees?
tanner2007 said:
on my laptop and pc cant format nor delete that ext2 8gb sd card
Click to expand...
Click to collapse
Hmm, what do you mean by delete the card? You can delete a partition, but not a card: I'm not sure makes sense.
tanner2007 said:
BUT that 8gb ext2 card im trying to fix loads perfeclty and can access it on ubuntu so im guessing its not physically broken
Click to expand...
Click to collapse
You say ext2, but yet above you claim to have reformatted as FAT. What does your ubuntu machine think it is? One way to tell is to mount it and try to set permissions on a file, if you can, it is not FAT.
What is your objective, do you want a FAT partition, an EXT2 partition, both?
Well I got it working guys, I dont know what was happening as I said before different programs where detecting different file systems, but soon as I found out how to do it ubuntu I saw it was working and erased the whole card (all partitions and everything)
and now it works again thanks guys ur tips helped

[Q] Unmodifiable microSD card

Hello everyone, it's been a while since I've this problem, and it's becoming frustrating, really.
Every modification I do to the microSD, such as copying files or deleting them, gets cancelled after an unmount.
Example, if I delete a file, it's deleted. As soos as I unmount the microSD (or unmounts by itself), the deleted file comes back, like nothing happened.
I've even tried formatting the microSD from a computer, first with Windows, but after a low level format, the content was back there! I tried then with an hard format, but it didn't even start. So I thought it was Windows' problem, and I've tried with a GNU/Linux application, GPartED. I was able to see both the partitions on my microSD, an EXT4 (1GB) and the FAT32 one. I was able to format the FAT32 partition, but when I tried to delete the EXT4 one, it gave me an unknown error. I've even tried deleting the whole Partition Table, but it couldn't. Files are still there.
Therefore, my phone is unusable, I can't install any app, they disappear after a while, I can't download anything, I can't take pictures or sync my music folder.
The problem is the same even when the microSD is plugged in my computer... It's a class 2 16GB microSD card... Please help
Take off and nuke it from orbit. Only way to be sure!
I would try formatting it from another PC before writing off the card, but failing that i would just replace it.
I've tried from other computers and in many other ways, but nothing. I've bought a class 6 microSD card, it seems like the old one was broken.
lol like the nuke it comment above
Yip, unfortunately all cards have a limited life span depending how much you write/read, i had one fail a while ago, nothing could be done so in the bin it went
first with gparted , recreate partition table ans after primary fat32 et one other primary ext4
second you mount ext4 partition of your external sd card automatically ??? !!! tell me how
Used HP USB Disk Storage Format Tool
srle.srki said:
Used HP USB Disk Storage Format Tool
Click to expand...
Click to collapse
very short answer
I presume hp usb disk storage is for windows PC to see usb devices ext4
question is how to see ext4 IN android dor data or applications
Chkdsk /r ?
Forever living in my Galaxy Ace using XDA App
chkdsk is not implanted on my SGS
but,
DF give a mounted partition /data/sdext2 from /dev/block/vold/179:10
and this is not visible (i think because it is mounted under data) from any android programme, even file manager, even ext4 extension tools from CF-root
so that's what i ask in this forum
enthalpie said:
chkdsk is not implanted on my SGS
Click to expand...
Click to collapse
This is probably one of the times where Windows is good for something techy .
Forever living in my Galaxy Ace using XDA App
EmoBoiix3 said:
This is probably one of the times where Windows is good for something techy .
Forever living in my Galaxy Ace using XDA App
Click to expand...
Click to collapse
??? explain

[Q] Questions About A "Read Only" Micro SD

A week or so ago, I flashed this ROM onto my phone. ([ROM] (v1.2.6_r2) Nexus AOSP Gingerbread 2.3.4 - Faux123 [Jun-26-2011] - http://forum.xda-developers.com/showthread.php?t=1068367&page=189)
I had to end up switching back to stock ROM. Ever since the flash back to stock, my memory card has been "locked"
In the process of flashing my phone back to stock, my external Micro SD card became locked to "Read Only". I cannot format or erase any of the content that was stored on my card during the flashings. It literally seems to be "LOCKED" onto the card.
I've tried the windows format option in the Device Manager. I've also tried the Windows Command prompts. NOTHING has worked. Formatting the card in my phone does nothing. No data gets erased.
With the card in my phone, I can access all my files (movies, music, pics, etc). But I cannot modify, delete, or add any new content! (Example, I cannot select my External SD as a valid storage location for new pics in the camera.)
Does anyone have any ideas on how to reformat this card to get it working for me again. It is a 16gig card. I hate to throw it out.
Thanks.
I would recommend trying Panasonic's sdcard formatter. It seems to be pretty good at formatting sdcards that other programs have trouble with.
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Another thing you could try, you can format your sdcard inside clockwork recovery mod. (Under the mounts and storage section if my memory serves)
mstrk242 said:
I would recommend trying Panasonic's sdcard formatter. It seems to be pretty good at formatting sdcards that other programs have trouble with.
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Another thing you could try, you can format your sdcard inside clockwork recovery mod. (Under the mounts and storage section if my memory serves)
Click to expand...
Click to collapse
yes thats good one ! +1
avetny said:
yes thats good one ! +1
Click to expand...
Click to collapse
Thank you for the suggestions
That did not work. I ran the SD formatter and the windows formatter and my content is STILL on the card.
CWM won't format the card either.
Any other ideas?
Did you try partitioning the card? Just one 16GiB FAT32 partition?
Joe-retired said:
Did you try partitioning the card? Just one 16GiB FAT32 partition?
Click to expand...
Click to collapse
Joe -
That is officially over my head.
How would I go about doing that?
Can you get the card replaced under warranty?
Since you tried formatting the sd card, I am assuming you have backed up everything on it.
As easy way is in Clockwork recovery mod choose -> advanced; then choose -> partition;
when prompted for a partition size for the ext partition choose the smallest, also the smallest for swap (I think you can choose 0 for this one) continue to follow prompts and the card will be partitioned.
One more thing to try if that doesn't work:
http://gparted.sourceforge.net/livecd.php
Go to this site, download the cd or usb disk version and boot off it. Now, plug your card into your computer (NOT through the phone, use a usb reader. If you don't have one, you can probably pick up a cheap one for around 10 bucks.), you may need to rescan the disks after you plug the card in, to make sure gparted sees it. Now, delete the entire partition, so there is no partition at all on the card.
Boot back into windows, plug the card in, try to format it again. I've seen this happen when you have a damaged mbr on the sdcard. Also, when you format in windows, (if your system will allow it), id try to format it to a 64k cluster size instead of 32k. (on a 16gb card 32k is the default cluster size.) It'll speed it up a bit. (not really needed, but a nice boost.)
The last thing you can try, if all else fails, boot into clockwork recovery (assuming you have it installed) and format the sdcard through there.
If all that fails, I'd say you have a bad card. But try those steps first, hate to see you throw the card away if it's still good. )

[Q] Is fat32 the only filesystem supported for microsd?

I tried formatting to ext4 and the phone did not recognize the card. Just wondered if anyone else had sucessfully tried any other filesystems?
Right now 64GB microsd's seem to be the best deal and name brand versions can be found as cheap as $20-25 where 128gb cards will still cost you $70+ and usually involve rebates at the lower end prices.
Exfat and fat32. I have mine formatted to fat32.
Sent from my Alcatel OneTouch Idol 3 using Tapatalk
Applications that can write to SD card can only write to a SD card format to FAT 32. The system file manager can write to Exfat, but that's it.
Still not all apps will have permissions. I can't get Utorrent to save to the ext sd for anything
Sent from my 6045I using XDA Free mobile app
jvs60 said:
Still not all apps will have permissions. I can't get Utorrent to save to the ext sd for anything
Sent from my 6045I using XDA Free mobile app
Click to expand...
Click to collapse
Syncthing is the same way...you should still be able to use the kitkat workaround though which is to save your files to a folder under the android\data\<appname> folder on the sdcard since each app has access to it's own data area.
I never knew about this workaround. So i create the folders on my ext sd card?
Sent from my 6045I using XDA Free mobile app
jvs60 said:
I never knew about this workaround. So i create the folders on my ext sd card?
Sent from my 6045I using XDA Free mobile app
Click to expand...
Click to collapse
Try this: http://www.instructables.com/id/How-to-bypass-Android-44-KitKat-external-SD-write-/
damn... i'll try that
how come the sdcard can't be used for anything
camera 360 can't use it to save, there's no option to choose applications installation on sdcard ect.
had to use link2sd to move almost all my apps without error
seriously now...
keyra74 said:
damn... i'll try that
how come the sdcard can't be used for anything
camera 360 can't use it to save, there's no option to choose applications installation on sdcard ect.
had to use link2sd to move almost all my apps without error
seriously now...
Click to expand...
Click to collapse
It can be used if you are rooted...requires adding a line to platform.xml. If you find the thread about what camera software to use I posted some instructions on how to fix it where 3rd party's can use the external sd...or you can google on "platform.xml android external sd".
http://forum.xda-developers.com/showpost.php?p=62100041&postcount=37
famewolf said:
It can be used if you are rooted...requires adding a line to platform.xml. If you find the thread about what camera software to use I posted some instructions on how to fix it where 3rd party's can use the external sd...or you can google on "platform.xml android external sd".
http://forum.xda-developers.com/showpost.php?p=62100041&postcount=37
Click to expand...
Click to collapse
thx i used the goold old sdfix app. it's normally for kitkat and we have to use some trick like that on lollipop bad alcatel bad
keyra74 said:
thx i used the goold old sdfix app. it's normally for kitkat and we have to use some trick like that on lollipop bad alcatel bad
Click to expand...
Click to collapse
Blame google, not Alcatel. The external sd card issue is due to Lollipop..
That app makes the same change...you can uninstall it after it modifies the file. Simpler for me to just edit the file and push the change.
I'm on exfat on a 64gb. Works fine.
The 200gb I had in my g3 worked just fine.
Just realized the card cost more than this phone...
scatoclysm said:
I'm on exfat on a 64gb. Works fine.
Click to expand...
Click to collapse
+1
My 32 gb HDSC card came formatted with FAT32. I preferred ExFAT, so I reformatted the card using Disk Utility on my Mac. The Icon 3 didn't recognize it until I reformatted back to FAT32. Maybe I should have tried formatting it on a Windows machine. I may try a 64 GB HDXC card that probably comes formatted with ExFAT.
maigre said:
My 32 gb HDSC card came formatted with FAT32. I preferred ExFAT, so I reformatted the card using Disk Utility on my Mac. The Icon 3 didn't recognize it until I reformatted back to FAT32. Maybe I should have tried formatting it on a Windows machine. I may try a 64 GB HDXC card that probably comes formatted with ExFAT.
Click to expand...
Click to collapse
Really not much of a benefit to exfat over fat32...especially if you set cluster size when formatting. I also read about some folks having permission issues writing to the exfat till they reformatted. The samsung 128GB I put in my idol3 worked like a champ.
NooB....Thank Google lollypop for sdcard problems. U can write to sdcard with some apps not all if the code is written for this.
It seems TWRP doesn't recognise exfat partitions if the sdcard doesn't contain a partition table (GPT works, I haven't tried old-style msdos partition table).
This could be partly explained by the fact that, without a partition table, the external sdcard is called /dev/block/mmcblk1 instead of /dev/block/mmcblk1p1
To put it another way, if you want your sd card to be both readable when the phone is normally booted AND when it's booted into TWRP, you have to make a GPT table on the sdcard, and create an exfat partition inside.
=> In windows, it just fell into place after messing around with it for a bit. Your mileage will vary, depending on if you had an msdos partition table, a pre-existing GPT partition table (easiest) or no partition table at all. I gave up trying to figure it out.
=> Under TWRP adb shell, using the image containing gdisk, I did it this way (data-destructive operation !) :
- Use gdisk to create a new GPT table on /dev/block/mmcblk1 (or /dev/sdX outside from adb shell)
- Also with gdisk, create a new partition (types 8300 or 0700 should do) on the device targeted previously
- Then, exit gdisk and use "mkfs.exfat -n extsd /dev/block/mmcblk1p1" (or /dev/sdX1 if you didn't do it from TWRP adb shell) to reformat the partition created previously to exfat format.
However => do NOT use mkfs.exfat command on the /dev/block/mmcblk1 device (or /dev/sdX), else you'll have to redo step 1 again
Also, under adb shell, make sure you don't accidentally wipe /dev/block/mmcblk0 device, else you'll brick your phone !
I hope this helps a few people
DarkZell666 said:
It seems TWRP doesn't recognise exfat partitions if the sdcard doesn't contain a partition table (GPT works, I haven't tried old-style msdos partition table).
This could be partly explained by the fact that, without a partition table, the external sdcard is called /dev/block/mmcblk1 instead of /dev/block/mmcblk1p1
To put it another way, if you want your sd card to be both readable when the phone is normally booted AND when it's booted into TWRP, you have to make a GPT table on the sdcard, and create an exfat partition inside.
=> In windows, it just fell into place after messing around with it for a bit. Your mileage will vary, depending on if you had an msdos partition table, a pre-existing GPT partition table (easiest) or no partition table at all. I gave up trying to figure it out.
=> Under TWRP adb shell, using the image containing gdisk, I did it this way (data-destructive operation !) :
- Use gdisk to create a new GPT table on /dev/block/mmcblk1 (or /dev/sdX outside from adb shell)
- Also with gdisk, create a new partition (types 8300 or 0700 should do) on the device targeted previously
- Then, exit gdisk and use "mkfs.exfat -n extsd /dev/block/mmcblk1p1" (or /dev/sdX1 if you didn't do it from TWRP adb shell) to reformat the partition created previously to exfat format.
However => do NOT use mkfs.exfat command on the /dev/block/mmcblk1 device (or /dev/sdX), else you'll have to redo step 1 again
Also, under adb shell, make sure you don't accidentally wipe /dev/block/mmcblk0 device, else you'll brick your phone !
I hope this helps a few people
Click to expand...
Click to collapse
Or just keep it formatted as fat32 and skip the above which was my choice.
Just my two cents - why would you want to format SD to ext4? Journaling filesystems don't work very well with flash drives, cells die much quicker.

Categories

Resources