I found a guide in the general section here that shows how to setup your sdcard with two ext3 partitions a swap partition and the normal one. I followed the guide pretty close except I named my three new partitions ext3-1 ext3-2 and swap, respectively. However I have noticed since downloading a few different gingerbread roms that none of the roms will allow me to mount any of the ext partitions, I tried mounting them in recovery and get an error. Just curious as to what could be the issue, I used mini tool partition wizard home to create the layout. Anyone have any ideas as to why I cant get access to the newly created ext partitions?
Sent from my HTC Glacier using XDA App
Related
Did not get any help in cyanogenmod thread, so creating a separate thread here.
I am in trouble. After I updated my ROM to cyanogenmod 3.6.7.2 (with his recovery image 1.3.1 and latest radio) I get a message saying: "Removed SD Card" in the notification and I am getting force closes in apps which access sd card.
Why did it remove my sd card? I have the following partition structure"
c (formatted fat32) 2GB - this is what used for upgrading the radio and rom.
83 (formatted ext4) 6GB
c (formatted fat32) 7GB
82 (mkswapped) whatever left off from 16GB card.
Is this structure causing the issues? I used Linux 2.6.30 and e2fsprogs 1.41.7 to format ext4 and dosfstools 3.0.2 to format fat32 FSs.
I ran fix_permissions from recovery console because I was getting FCs in powermanager (which logs files on SD card).
Also, if I boot into the recovery console, I can mount /sdcard and it automatically mounts the first fat32 partition on /sdcard. I can 'fdisk -l' and see all my partitions are there. So, its not a hardware issue. Some sort of chicken&egg because of apps2sd.
I just mounted the partition2 (which is ext4) in recovery console and I can see there are "app app-private dalvik-cache lost+found" folders on it. So, it looks like normally initialized.
Does anybody know what's going on here? Appreciate your help!
It's the same response you've been getting in the other section.
Try backing up your data on your computer, and completely formatting your card to fat32.
From there, instead of making the partitions on the computer, use the Recovery Console (accessed from Cyano's Recovery) and re-create the partitions as you like.
Ok, I delete the 3rd and 4th partitions, and it seems to be working fine now. So, it seems like there is an assumption about the partition structure in the code somewhere.
devsk said:
Ok, I delete the 3rd and 4th partitions, and it seems to be working fine now. So, it seems like there is an assumption about the partition structure in the code somewhere.
Click to expand...
Click to collapse
So you are all good now?
What exactly did you do? Just remove the 3rd & 4th partition, without formatting?
akapoor said:
So you are all good now?
What exactly did you do? Just remove the 3rd & 4th partition, without formatting?
Click to expand...
Click to collapse
Yeah, I just removed the 3rd and 4th partitions from recovery console and the card is recognized and working fine. Now, I need to find out why is it hard coded like that.
It seems like something doesn't like more than 3 partitions on the SD card. I now have 3 partitions with 'c' (fat32), '83' (ext4) and 'c' (fat32) codes and it seems to work fine.
An ext partition of more than 1.5gb can cause problems
Most roms will not work with the way you had it set up (at least not well)
They follow a 3 partition scheme as such
FAT32 > EXT > SWAP
B-man007 said:
An ext partition of more than 1.5gb can cause problems
Most roms will not work with the way you had it set up (at least not well)
They follow a 3 partition scheme as such
FAT32 > EXT > SWAP
Click to expand...
Click to collapse
I've heard this repeated elsewhere but nobody ever actually says what the problem is with partitions greater than 1.5gb. I'm very curious to know, because I haven't noticed anything wrong.
Except that /sdcard won't automount if my sd card has 4 partitions defined on it. As soon as I mark the 4th one empty and reboot, it's fine again. But that has nothing to do with the size of the ext fs on partition 2. Something with vold is funky, because I can mount /sdcard manually from adb.
Hi guys. sorry if im being ignorant but i cant seen to find a proper guide on how to partition my class 6 sd card correctly.
i have rav1.2.0g recovery image which alows me to partition the card 3 ways but it doesnt seem to be right. is the card after partitioning meant to be assigned different drive letters? or is it only meant to show as one complete partition. also, do i partition after flash or before?
sound like an idiot but id like to be sure what im doing
any help appreciated. thanks
bump!! no takers?
in rav 1.2.0g, all you would have to do is select from the two format options in the image... you can either select from fat32 + ext + swap for apps2sd, or just plain fat32 if you do not want to utilize apps2sd (some roms do not support installing without apps2sd)...
i can verify that it works just fine for both format options...
If you're using Windows, you will still only see one drive and it will probably still have the same drive letter.
2 of the 3 partitions are formatted in a format Windows does not understand (ext3 and Linux swap) so it does not present them in Windows Explorer. If you use some sort of partition editing program you will be able to verify the partitions exist and are the right size etc. If you've used amon_ra's recovery tool to partition your SD card you should be OK, it's what I used and it worked perfectly for me.
Hello mate,
I am trying to boot Debian on WF.
My phone has been rooted by now, and i need help regarding mounting the partitioned fs.
Here's what i have on my SD:
1) 950MB ->Fat32.
2) 750MB -> Ext3
3) 150 -> Swap.
Now linux requires a partition to be ext formatted, which i have done by now. But i have no idea on how to mount the ext3 fs on htc wf.
I tried the procedure via recovery mode->partitioning-> mount /sd-ext/ but dint worked.
Would you please tell me how can i mount it by using Ubuntu. I am not a avid windows user and many tutorial relating to apps2sd are based upon windows, which isnt possible for me.
Also, how can i know the directory address of the filesystems i have generated. like, /dev/sd2 etc.
Hey guys - i just bought an awsome SDCard, a 32GB class 10. just put it in ma HD2 trying to partition it in recovery mode - but after partitioning, the phone (through titanium backup) the phone only sees the fat32 partition and not the sd-ext partition. now i'v tried using PC Software to partition and the tutorials all over but that doesnt help either.
what am i missing? i need help
Hi,
Did you partition in CWM with 1024M and 0 swap ?
simple idea/rule of thumb; class 10 cards are **** and you don't notice an increase in file transfer due to the limitations of the phone itself
Install ubuntu on your windows pc using the wubi installer (google is your friend here), it's very simple to do. Once you have ubuntu linux installed, go into the software center and search for 'partition manager' or 'partition editor'. Then install it. It should be listed in system tools as GParted. Plug in your sd card thru a card reader or a digital camera or another phone, and unmount it in gparted. Then create a new ext4 (probably 1 gb/1024mb) all the way to the right side of the space shown for the card in GParted. Then when finished click apply changes near the bottom of the GParted window. Done
Your phone won't show you that it sees the ext partition, that's all done behind the scenes. The only way to know is to install apps, and watch the system memory in settings/storage. If your memory goes down significantly as you install apps, something has gone wrong. If it only goes down a little (maybe 1-2 mb) after installing a bunch of apps, then all is well and working properly.
Sent from my HTC HD2 using XDA App
@ Malybru - no, my partition is 2048MB Ext - 256MB swap.
@huggs - that is strange because before i had an 8GB class 4 memory card - i had created a 1024MB partition and when i ran titanium backup - you could see the sd-ext partition below SDCard and Internal Storage
additionally, with the new cardz during every data wipe it skips the SD-ext saying that it cant find it - which never happened with the old card so thats why i believe that there isnt one
Weird. I've used quite a few different roms and have never seen the ext partition in storage settings. Wish I could tho.
Sent from my HTC HD2 using XDA App
huggs said:
Weird. I've used quite a few different roms and have never seen the ext partition in storage settings. Wish I could tho.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
its not that you could see it in storage settings.. but you could see it in titanium backup and you can mount it in recovery mode
Oh, I didn't know that about Titanium, thanks. I'm gonna have to take a look, for curiosity sake if nothing else
Sent from my HTC HD2 using XDA App
i'm facing a big problem - apparently if i install an application and reboot -the app is gone.. i've partitioned this darn card so many times and the partition still isnt recognized
Vylle said:
i'm facing a big problem - apparently if i install an application and reboot -the app is gone.. i've partitioned this darn card so many times and the partition still isnt recognized
Click to expand...
Click to collapse
ok, i've realised that im not the only person who his having problems with A2SD on anything larger than 16GB.. i want to know if there is anyone who has successfully partitioned a 32GB Card with an ext3 partition.. I spent alot of money on this card and its really messed up that i cant use it!!
need help still
Q&A for [30 OCT 2012][DEV] NativeSD Rom Boot Script for HD2
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [30 OCT 2012][DEV] NativeSD Rom Boot Script for HD2. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Unexpected end of archive
File: adbfixed_ramdisk_NativeSD_AOKP.zip
Archive seems to be corrupted.
rebgershon said:
Thanks for your speedy reply.
I have some further questions though:
1. which 'recovery' do you mean and where will I find Titanium backup and tytung tool?
2. I have downloaded the paragon software to copy the sd card contents which I will try to do now. However, what are the 'normal' methods used to resize as I mentioned in my previous post that the ext4 partition seems fixed when using the mini tool partition software?
TIA,
Geoff.
---------- Post added at 10:05 AM ---------- Previous post was at 09:59 AM ----------
Robbie,
I have put the sd card into the slot on my computer (which is a year old HP laptop) and also tried in a USB port but the Paragon software is not recognising the card at all, with only the c drive being shown. However, I am able to see the contents of the fat32 partition of the SD card through explorer as normal. Am I doing something wrong??
Click to expand...
Click to collapse
Which recovery did you use to install the rom? does it have facility to backup ext partitions? I know macs18max edited SDrecovery can do this from the first post here http://forum.xda-developers.com/hd2-android/nand-dev/nov-17-2015-kernel-3-0-101-t3251438 others can too.
titanium backup can be found in play store, free and paid versions. haven't used it myself for a while and only used free one. people on this forum swear by it though.
tytung's NativeSD backup might have to be searched for, I'm afraid.
Don't know why your ext partition is not showing up. What rom(s) are you using?
magldr or clk?
Sounds like you will have to use a backup method from the phone as opposed to pc, to store the contents on your FAT partition, then move/copy them to pc.
does this make sense?
Robbie P said:
Which recovery did you use to install the rom? does it have facility to backup ext partitions? I know macs18max edited SDrecovery can do this from the first post here http://forum.xda-developers.com/hd2-android/nand-dev/nov-17-2015-kernel-3-0-101-t3251438 others can too.
titanium backup can be found in play store, free and paid versions. haven't used it myself for a while and only used free one. people on this forum swear by it though.
tytung's NativeSD backup might have to be searched for, I'm afraid.
Don't know why your ext partition is not showing up. What rom(s) are you using?
magldr or clk?
Sounds like you will have to use a backup method from the phone as opposed to pc, to store the contents on your FAT partition, then move/copy them to pc.
does this make sense?
Click to expand...
Click to collapse
Thanks again Robbie. Tis whole thing gets wierder as follows:
I'm using Nexus HD2 Jellybean-CM10_V1.3a as the rom. In the recovery directory of the SD card there's the Jellybean rom as mentioned, clrcad (dated 8/7/2010, haret, initrd.zip, startup text document & zImage (dated 5/9/2012).
There's also a NativeSD directory with the same files as the recovery directory.
Running Haret from the recovery directory takes me to 4EXT Recovery v2.2.7 RC5.
It also shows: E: can't find misc
E: failed to find "cache" partition to mount at "/cache".
In the info section it lists the sd-ext partition ext4 1012MiB free 135.5mb, sdcard fat32 14175 MiB free 8.0gb.
Attempt to backup fails as can't find cache partition, boot, recovery logs on E:
I loaded the Paragon software on my newer laptop but no ext partition was found. I then loaded the Paragon software on an older laptop and hey presto the partition was there. I tried to back this up on the pc but had repeated problems with files not being read. Then suddenly the ext partition disappeared on the pc but phone booted into Android-phew!.
I tried on the 1st pc and suddenly it recognised the ext partition. I tried backing up the partition but again had read problems. The fat32 partition backed up without 1 error.
So where do I go now? I don't want to loose the data in the ext partition but don't seem to be able to backup. Any suggestions welcome.
Geoff.
rebgershon said:
Thanks again Robbie. Tis whole thing gets wierder as follows:
I'm using Nexus HD2 Jellybean-CM10_V1.3a as the rom. In the recovery directory of the SD card there's the Jellybean rom as mentioned, clrcad (dated 8/7/2010, haret, initrd.zip, startup text document & zImage (dated 5/9/2012).
There's also a NativeSD directory with the same files as the recovery directory.
Running Haret from the recovery directory takes me to 4EXT Recovery v2.2.7 RC5.
It also shows: E: can't find misc
E: failed to find "cache" partition to mount at "/cache".
In the info section it lists the sd-ext partition ext4 1012MiB free 135.5mb, sdcard fat32 14175 MiB free 8.0gb.
Attempt to backup fails as can't find cache partition, boot, recovery logs on E:
All the above is normal for NativeSD, your sdrecovery doesn't allow for backing up the ext partition
I loaded the Paragon software on my newer laptop but no ext partition was found. I then loaded the Paragon software on an older laptop and hey presto the partition was there. I tried to back this up on the pc but had repeated problems with files not being read. Then suddenly the ext partition disappeared on the pc but phone booted into Android-phew!.
I tried on the 1st pc and suddenly it recognised the ext partition. I tried backing up the partition but again had read problems. The fat32 partition backed up without 1 error.
So where do I go now? I don't want to loose the data in the ext partition but don't seem to be able to backup. Any suggestions welcome.
Geoff.
Click to expand...
Click to collapse
perhaps paragon wasn't the best choice for backing up. Try the recovery linked-to above, put it on your sdcard and run haret from its folder (you might have to change the folder name so that it is not the same as your other recovery folder). then select backup, then scroll down to sdext, tick it and swipe, it should copy to your FAT, and it seems you have plenty of space there. I haven't tried this backup method, which is why I said use 2 methods to backup. the more the merrier.
There are free sms, phone and app backup applications such as superbackup in playstore.
There was also a way to copy the whole sdcard as an image, partitions included, I will have a look for it.
Robbie P said:
perhaps paragon wasn't the best choice for backing up. Try the recovery linked-to above, put it on your sdcard and run haret from its folder (you might have to change the folder name so that it is not the same as your other recovery folder). then select backup, then scroll down to sdext, tick it and swipe, it should copy to your FAT, and it seems you have plenty of space there. I haven't tried this backup method, which is why I said use 2 methods to backup. the more the merrier.
There are free sms, phone and app backup applications such as superbackup in playstore.
There was also a way to copy the whole sdcard as an image, partitions included, I will have a look for it.
Click to expand...
Click to collapse
Robbie thanks again.
I downloaded the recovery folder from your link but there's only 2 files in it namely initrd.gz and zImage, there's no haret. I have copied the haret, clrcad & startup text files files from the old recovery directory but it just hangs on running haret.
Geoff.
Sorry Geoff, I am not giving you very good advice. That recovery has a 3.0 kernel in it, and won't boot from haret. Am working ATM, will reply later.
Robbie P said:
Sorry Geoff, I am not giving you very good advice. That recovery has a 3.0 kernel in it, and won't boot from haret. Am working ATM, will reply later.
Click to expand...
Click to collapse
Hi again Robbie,
I have good news and bad!!
I managed to eventually get the Paragon software to recognise the ext4 partition on my new laptop. What's odd is that the ext4 partition is listed under the name of the c drive. I then unmount and remount the ext4 with a new drive letter and I can then read/write. So having managed to mount, I was able to copy off all the files from the FAT32 & ext4 partitions to my hard disk. That's the end of the good bit.
As its 3 years since I did the last Jellybean install, I'd forgotten what to do and kept seeing posts about magldr and custom radio roms. I tried to boot into magldr on the phone while doing the sd card backups but it wouldn't go into it. I had assumed I must have installed it when I did the original SD rom install and I then wrongly assumed I needed to reinstall the HSPL4 and custom radio roms to get it on again. The former was ok but the latter caused the phone to hang on reboot at the HTC logo. At this point I went to the bootloader screen but after having the 4 colour screen I then got the white screen with blue writing for updating the rom from an sd card (there must have been an unzipped rom on the card). I mistakenly hit the install rom button and this erased all the phone's data before I'd had chance to use SD Backup, a programme I hadn't bothered using since long before I converted to Android.
I then looked back in my old bookmarks and came across a facebook guide to the Native SD installation which didn't mention magldr at all and it was at this point that I realised I'd not previously loaded it on the phone, although I did eventually manage to get it on after downgrading the HSPL to 2.08 and successfully flashing the custom radio only to be permanently booting into magldr-so I again reflashed the stock rom to get rid of it! What a waste of time!!
Having backed up the sd card partitions, I erased the partitions and made a new ext4 of 3gb and copied back the files to both partitions. I tried to boot the haret in the native SD folder but the phone hung at the HTC logo and then rebooted itself back into windows. I tried installing the jelly bean rom as an update using ext4 recovery but no joy. I tried wiping the ext4 partition and reformatting with EXT4 recovery then installing the rom as a new install which then booted into Android ok after which I overwrote the ext4 files with the previously saved ones. Now I get a boot into the CyanogenMod screen but no further even after waiting 30 mins. I also tried using NAtiveSD onetouch recovery to try and make a backcup of the old system and then restore over the new install (but not the boot files) but again I just get the hung CyanogenMod screen.
So do you have any idea of how I might get a successful boot with my old data? Perhaps I'm missing something else in the overwrite/restore process but I can't see what.
Any further help would be grateful-perhaps you have forum contact who might be able to help as well.
TIA,
Geoff.:crying: