Raid sd's? - HTC One VX

Is it at all possible, to raid the internal and external sd's to act as one hard drive? I don;t like the fact they are separated, i would rather have them as one single hard drive.

i have never heard of this on a Phone with Sdcard, closes thing to that would be Apps2sd card, which you partition the sdcad to ext4?(correct if wrong) and phone sees it as internal phone storage, which gives you a bigger amount to store data/ and still have a fat32 partition

ilostchild said:
i have never heard of this on a Phone with Sdcard, closes thing to that would be Apps2sd card, which you partition the sdcad to ext4?(correct if wrong) and phone sees it as internal phone storage, which gives you a bigger amount to store data/ and still have a fat32 partition
Click to expand...
Click to collapse
I could be missing something, but to me it looks like if you use any other filesystem than vfat (fat32), Android will claim its a blank memory card...
I tried both Ext2 and Ext4, have to mount it manual (which is working), tried updating the vold.fstab but it doesnt seem to work with other filesystems than factory default.
Would it be correct to assume that Android has its own way of mounting things rather than using the already existing functions in the kernel ?
If so, then it would probably be possible to make things like software raid but android would not be able to start it nor mount it during startup (vold.fstab)
Maybe someone can make sense of all this...

i know , there are some lines in the build.prop for a second sd card. maybe , changing does those lines to no . could make one sd for the system
maybe android 4+ need its cuz all of the new htc phones have them
i know this is off topic . on jmz rom totemc2 have the setting disappear from the try menu and quick settings . mine did

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?

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

<SOLVED> Connecting to PC via USB

Hey guys, Ive originally posted this elsewhere but got no answers.
When i connect my wildfire to my laptop and press "Turn on USB storage" my phone instantly reboots.
After many hours of research I have come to the conclusion that its because i have system apps on the SD card and when i try to connect the phone to the laptop it wants access to the SD card which is already used so it causes it to restart as it mounts the SD card.
Correct me if im wrong as i am far from knowledgable on this subject!
Anyway to move the system apps to the internal storage so i can connect because it means i cant change roms or add music etc.
Thanks in advance!
There are apps in the store that can dual mount the sd card. Should solve it if that's what is causing the problem.
Sent from my HTC Wildfire using xda premium
actually it can be noob question instead of constructive reply,but why the hell do you have system apps on sdcard,especially one which can cause what you said??
system partition and apps are not called system only for funyes,you can try to move some and watch if it works or what will happen,but i cant find any reason to do so...
reducing the amount of data (which actually means reducing size of your rom) on /system partition makes sense when you want to use custommtd for more space on /data partition for additional apps,what is usually done to use minimally or completely avoid app2sd(logic says it should also be slower,than having it in phone memory)
btw this way i am running cm7(150mb /system 10mb /cache and the rest about 300mb for /data) and erwins cm9(190 10 cca 260) and without few games i woudnt even need app2sd...
just my opinion and experience
I think they are on the sd card anyway because when I unmount it in the settings the phone also goes into a reboot
Solved! Downloaded the Dual mount widget from the play store and its solved the problem!
Many thanks!

[q] re-partitioning the glide

i was wondering, when we can get ASOP/AKOP or CM9/10 we can re-partition the glide to have only system partition and the extranal sd card can act as the internal one. we all know that the 8GB is not enough, especially with 2gb system and 6gb sd card - i have 2gb in system and 4gb in sd card - but if we can combine it to full partition then it will be more then enough as a basic install space - cos allot of apps can be moved to sd card and leave little room on the system partition.
It's already possible to change the mount points so that your physical sd card is mounted as /sdcard, and the internal storage takes its place at /sdcard/external_sd. It's a quick vold.fstab edit. You can see my post about it here, with a pre-modified file and a backup of the original.
You'll need root and busybox (or some form of file explorer with root permissions) to copy the file over, but it's pretty straightforward. As for repartitioning the internal storage to be used for /data, I've got no clue how to do that, but this is a reasonable enough workaround.
i know about that workaround but still there some side effects to it, like the usb mounting in the PC.
still i think its doable if creating aosp from source with cross with our ics source from samsung..
maybe a more knowledgeable dev can shed some light on the subject.
Changing the actual partitioning isn't something that's commonly done, as it can wreck compatibility with roms (including official updates) that expect things a certain way. The only issue in ICS with the vold.fstab edit is the internal memory isn't mounted on the phone at boot, you have to manually mount it any time you reboot. MTP file transfers work just fine (with your physical sdcard being labeled Phone and the internal labeled Card) as does the legacy USB Mass Storage mode.
If you really want to mess with it, look into partition editing using parted. This can go very very wrong, and may not work at all, so proceed with caution.
i see thanks for the info

Categories

Resources