[Q] Desire SD partition for a2sd - Desire General

Need some pointers from anyone that may be able to help out... I'm a first time rooter/modder, and have successfully rooted and modded my Desire, but for the life of me can't seem to be able to partition my SD card - I thought that would have been the simplest part!
Here's the guff;
PC running Vista
HTC Desire
32GB SanDisk (a real one purchased from play dot com)
Rooted using Unrevoked
Running ClockworkMod 2.5.0.7
Running CyanogenMod 6.1.0 RC1 Desire
All working perfectly, no issues.
Then I got to the point where I need to partition the SD card with an ext partition to allow for a2sd. I've now spent four 2AM nights trawling and googling through the intermaweb trying to figure out how to do this with no luck.
I have had the card for a few months and have been using almost the whole 30GB of the card for storage on and off (transferring to and from in Vista), but I also recently ran verification tests to confirm that there are no bad sectors/issues with the SD.
I have unsuccessfully tried all of the following methods to partition the SD;
ROM Manager --> Partition SD Card --> 512MB ext, 32MD swap and the rest fat, along with a number of other combinations. I am using the premium version 2.5.0.7... ROM Manager goes through the process, looks like it's done it's thing and then reboots, but then doesn't actually create the partitions!
GParted Live CD. I boot using the live CD, but no matter what, the SD just doesn't seem to show up here for some reason - I'm not really sure exactly what state I should be putting the phone in to make it work here??
Android Device Bridge (ADB) using the console manager thing. I get issues with parted, but I think that was because it was needing the Amon-Ra recovery?
Amon-Ra recovery. I couldn't find the proper recovery to use, didn't know what to do with it, and then wasn't sure if I should be getting rid of ClockworkMod, so didn't manage to use this either!
The 'Quick System Info' app confirms the status as:
SD Card Storage: total 29.2GB, free 29.2GB
A2SD storage: "information not available"
Internal storage: total 148MB, free 44.48MB
System storage: total 250MB, 132MB
System cache: 40MB, 38.7MB
Any help would be super-duper appreciated, so thanks in advance for your responses!

I just installed a couple of apps (angry birds/XDA) and rebooted, now Quick System Info says:
SD card storage: total 29.2GB, free 29.18GB
A2SD storage: total 21.3MB, free 6.1MB???*****
Internal storage: total 148MB, free 40.1MB
System storage: total 250MB, free 132MB
Click to expand...
Click to collapse

I had faced similar issues as well. I finally used ubuntu live cd that is a free to download bootable iso image and used gparted that is available in that.
gparted live cd did not detect my SD but it did in ubuntu. You can also use it to mount and see the contents of SD and resize if required. I recommend you download it.

I used MiniTool Partition Wizard Home Edition to part my SD card.....
... actually setting up A2SD on CM6.0.1 alludes me....

I can't remember if cyanogen actually supports a2sd+ or not but make your fat32 partition FIRST then just make your ext3 and swap in ROM Manager
Sent from my HTC Desire using XDA App

Thanks for the replies! - will give the ideas a try next week when get home...
Sent from my HTC Desire using XDA App

Any luck with this?
I _still_ can't get A2SD working with CM6.1

As Gparted live cd was not detecting my SD, I followed vpraveenis' suggestion and used Ubuntu live cd and the Gparted that comes with that - this finally picked up my SD where the Gparted live CD wouldn't.
It showed me that the 'partition SD card' option in ROM manager was actually working, as the SD card was already partitioned with a fat32, 512mb ext and 32mb swap.
I repartitioned it using the Ubuntu live cd Gparted with fat32, 1024mb ext4 and 32mb swap just to see it anything different happened. Same issue. a2sd didn't work.
bugmenot (cyanogen forum) advised that installing Darktremor A2SD fixed their issues so I tried that - this also didn't seem to make any difference.
Looking around now, there seems to be a number of users asking the same question and not getting anywhere.
Could this be a cyanogen mod issue? My understanding is that a2sd is included in 6.1CR1, so it should be working.
I'm currently trying to sort out some of the latest nightly builds so see if I have any luck there. Any other insights would be appreciated.

i faced the same problems with you, but i have solved it.
First, you need to download the unvoked 3.14 << which is the older version
then dl the RA-Desire-Recovery
Using the unvoked 3.14 to custom the RA-desire recovery. (connect the phone to computer)
then boot into the recovery by holding vol - and power and partition here.
Finished~~~~

Related

Too many a2sd a2sd+ app2sd, really confused...

I'm really confused, first with all the different a2sd variants and ones that are made by Darktremor or other people or the FroYo version. This is as much as I know for this app.
Secondly, I really couldn't find any information on doing partitions manually or setting ALL partitions to ext since I have a linux box, I really don't care to use windows to copy over files or whatever. I have a VMware box to do that on my windows machine anyways.
Third, the ClockworkMod recovery has NO options to do the partition following Darktremor's faq, and I don't know if I should install another recovery after flashing my hboot to 0.93 S-OFF (Alpha)
Mind you I only had my android for about 6 days and this is my first one, so learning curve is hard.
Please help
1) the names can be confusing but old apps2sd is an ext partition on your SD card that appears to the system as internal storage. Froyo apps2sd is using Froyo to transfer mapps to the fat32 partition (normal partition) of your SD card. You just need to use context because people tend to use apps2sd for both.
2) you can use gepart to partition. You need a fat32 partition for apps to write to and for any personal data because Android looks to that partition for that kind of data. I have my SD card as 5 gb fat32 and 3 gb ext3. Fat32 goes first.
3) go to ROM manager. Partition SD card. Choose size....there is only 3 sizes though.
If anything I wrote is wrong I'm sure I'll be corrected.
Sorry to hijack the thread, but since this is related to a2sd in general I might as well ask it here. What's the effect of having a2sd+ on your battery? Would it lower battery life due to cache and apps being stored mainly on SD instead of internal memory? I observed that this was often the case when I store always-on apps on SD back on my old Windows device.
So no way of not using a fat32 eh?
It still seems I don't have much space left after using the Rom manager way. I have 120meg free on internal mem.
Could I just format using linux mkfs? I want to make the apps partition about 2GB to hold more apps. Though it seems some widgets can't take putting on SD card, it dissipates.
BriEE said:
So no way of not using a fat32 eh?
It still seems I don't have much space left after using the Rom manager way. I have 120meg free on internal mem.
Could I just format using linux mkfs? I want to make the apps partition about 2GB to hold more apps. Though it seems some widgets can't take putting on SD card, it dissipates.
Click to expand...
Click to collapse
Widgets must be installed on internal storage, or they wont work.
If you want an easy method to make a ext 3 partition use ROM manager premium from the Market. It will make you automatically an ext3 partition with a maximum of 512 mb which is enough (put swap to 0). Just keep in mind that first inside ROM Manager you need to select the option Flash ClockworkMod Recovery, and after that go to the SD partition option otherwise it wont work. And also remember you need to have the PREMIUM version otherwise it might not work
Now if you want to have more than a 512 mb you can use gparted. It is a livecd which means that can work on linux, mac or windows just reboot with the cd inside and is quite straightforward to use. Hope this helps.
Hello guys, any thought about that issue maybe?
http://forum.xda-developers.com/showthread.php?t=816098

partitioning SD card ext4

Hi guys
I just bought a new 16gb class 6 Adata SDHC card and need help partitioning it in this way [Fat + 1GB Ext4 + 0.3GB Ext4 + 0.1GB Swap] as this is required for RCSMixHD rom which i want to flash...currently i am on leedroid 2.2c app2sd+ and a 4gb class 4 card....tried googling but couldnt find anything that worked for me....also how do some guys keep changing roms ? this task seems so tedious
BTW i have tried ubuntu method, had a ubuntu 9.04 disc - booted with it and opened gparted, but gparted doesnt detect my SD at all...ubuntu detects it though
You only need one its much faster with it anyway I've done a couple of random reboot and all is super fast and stable
Sent from my HTC Desire using XDA App
ohh...i dint know, but dev of RCSmixHD suggests those partitions, also please suggest how to partition the memory card
Thank you
Just did it via GParted method. I alredy had an ext3, so i did not have to format the fat32 - just upgrade to ext4! I can tell it fast
Also if you use the data2ext, then it is better to have more partitions.
There is a post in RCSMixHD how to use GParted.
create a gparted boot disc [ i used magiciso] then turn off your pc. restart your pc and get into the boot mennu [its f2 for me] set your cd drive higher in the list then your hdd. save changes. restart with disc in drive. it will load linux. while it is still loading, atach your phone in disk storage mode. i found if i hooked in my phone whengparted was completely loaded, it owuldnt recognuze my phone but if i had my phone loaded and ready when gparted finally fished loading, it would recognize it right of the bat. creating partitions is easy to do. and i recommend rc mix hd. i use it myself and its the best all around hd rom i could find and the only 1 i havent tried yet is cool hd v2a.
gparted live disk worked...thank you guys
I have been trying gparted on my sd card for the whole day, it goes on well, but CWM say can't find ext partition?? What to do??
I am getting this error while D2ext rom in CWM recovery
"Can't mount /dev/block/mmcblk0p2
invalid argument
Error mounting SDEXT:! "
Any idea what to do??
hei shakeebkazia
take contact I can help you with those "normal" upload sits.
[email protected]

[Q] Help! partitioning ext3 / installing amonra

Hi all!
As a last resort i'll be asking my question here.
I'm currently running the stock 2.2 rom with root access and clockworkmod recovery. I've had this setup for a long time now. Today i got my 8gb class6 card and i thought i'd change to a Desire HD rom for a change.
So far (5 hours into the process), i've only managed to what seemed the easyest: ..partition my sd card!
I currently have the following:
7gb fat32
1gb ext2
32mb swap
I have tried everything i could find but i simply cannot get this thing to upgrade to ext3 and then ext4. I do not have a card reader at hand so i'll have to do it within the phone.
The problems i'm facing after struggling for 2 hours to get parted working:
- no upgrade_fs script.
- tune2fs giving a unknown command error
I've been playing arround with this for about an hour when i switched to trying to install AmonRA recovery as i read this could upgrade your ext partition aswell. Problems i faced when trying to flash this were:
- unrevoked: internal error, unable to unlock nand.
- flash recovery app: error running command.
- flash_image commands: whole bunch of write errors and in the end a no space left error.
- rom manager: alternate recovery's greyed out, even after countless reinstalls and 'flash clockworkmod first' -tricks.
- fastboot: remote: vertification error.
- terminal app: flash_image not found.
And probably a bunch more i forgot..
I'm thinking of simply installing a RUU and do the whole rooting process again, and then installing amonra. For now i've recovered a clockworkmod backup i made and put back my old sdcard.
I hope there's someone that can help me!
Kind regards,
Jeroen
Use something like gparted or Easus or what ever it's called to partition the SD card.
GoogleJelly said:
Use something like gparted or Easus or what ever it's called to partition the SD card.
Click to expand...
Click to collapse
Done this, but gparted only allows creation of ext2. The problem im having is upgrading it to ext3!
GParted allows to create all kind of EXT partition (including EXT3). Use the latest LIVE CD or USB version. I upgraded my EXT3 to 4 via GParted.
Sent from my customized HTC Desire using TTP
Oh i did not know that, i thought it only allowed up to ext2.
But dont you need a cardreader for that? Because i dont have one at hand right now
No, don't need a card reader. Best way is to boot into recovery and mount the SD Card. You can try via the Disk Drive option, but it gave me wrong readings (since the EXT partition was in use by the system), so not recommended.
Sent from my customized HTC Desire using TTP
Thank you!!!
I feel so stupid for struggling for hours yesterday. Only took me 5 minutes with GParted USB. Running the HD rom now!
I partitioned my SD with Amon Ra then selected ext2 to ext3, but it failed. When I moved the log to the SD card and read it on my PC it said there was no ext. I redid the partition, again with Amon Ra, then selected ext2 to ext3 and it worked. Just figured I'd let people know the ole try again method could work if you get here.
LostNomad311 said:
I partitioned my SD with Amon Ra then selected ext2 to ext3, but it failed. When I moved the log to the SD card and read it on my PC it said there was no ext. I redid the partition, again with Amon Ra, then selected ext2 to ext3 and it worked. Just figured I'd let people know the ole try again method could work if you get here.
Click to expand...
Click to collapse
In a couple of weeks, you will be posting about ext not working properly.
Only partition your sd-card with 4ext recovery or Gparted.

Partitioning Sd Card Problem

Hi,
I partitioned sd-card with several ways but my htc desire does not see the ext2/ext3 partitions.
the configuration is that
ClockWork recovery 2.5.0.7
CyanogenMod-7 for Desire GSM V7.0.0-RC1
16 GB Class 4 Toshiba micro sdcard
latest try to partition sd card is now : 13,91 fat32 primary
1024 ext2 primary - tried also ext3
My Htc desire shows me as : sd card Total space : 13,91 GB
internal storage Total space : 148 MB
the ways that I used:
-Gparted-Live - success to partitioning
-Pmagic 5.10 - success to partitioning
-sdsplit with android terminal : - unsuccessful to partitioning
the file exist but when I try : - &su
- #/data/sdsplit -nd -fs 14350M
it says me : the file not found
-MiniTool Partition Wizard Home Edition - success to partitioning
-I tried also flashing ClockWork recovery to amon-ra 2.0 with unveroked 3.2 for partitioning sd card but it says me "error: failed to get root. ıs your firmware too new?" - unsuccessful
What should I do?
Please help?
Your internal memory does not charge when using a ext partition/a2sd. So how do you know it's not working.
Sent from my HTC Desire using XDA App
I have AppsToSd tool installed and it always says me "it looks like your SD card isn't partitioned correctly..."
I do not know an other way if it's working...
That tool does not use the same a2sd solution, it uses the stock froyo one. You wouldn't need that tool if you were running a rom with a2sd / a2sd+
Sent from my HTC Desire using XDA App
ok,
What should I do so?
and how can I understand it's working?
grab an app called quick system info from the market and in the basic info tab it lists a2sd storage and internal storage.
You'll know its working when you install something and the internal storage doesn't drop by the size of the app you installed.
Also if you use Rom manager from the market (after you're rooted) that can create the next partition for you. Just back up your card first since it wipes it.
Sent from my HTC Desire using XDA App
Hth!
Sent from my HTC Desire using XDA App
this may sound stupid, but it happened to me.. When you create your partitions, are you making the EXT 2/3 first? it MUST be the first partition, wether it is listed as primary or not. I had sooo many fustrations till i figured out you must make the ext2/3 first, then the fat32 or whatever else.
Besides that.. WHY do you need a2sd? if you are using the CM7-RC1.. I'd recommend you use the CM7 HBOOT as well. that gives you a 300mb data which is tons of room.. just a suggestion.
Thank you nismoau,
I see the a2sd storage and it shows me the partition size but I installed some application from sd card and still drop the internal storage size.
what should be wrong?
mikeandjaimie thank you too
I need it because I want to install more applications. So How can I install CM7 HBOOT?
thanks...
lucky3664 said:
mikeandjaimie thank you too
I need it because I want to install more applications. So How can I install CM7 HBOOT?
thanks...
Click to expand...
Click to collapse
You have to go S-Off (with AlphaRev.nl 1.8) and there you can select to use the Cm7 HBOOT.
Sent from my customized HTC Desire using TTP
mikeandjaimie said:
this may sound stupid, but it happened to me.. When you create your partitions, are you making the EXT 2/3 first? it MUST be the first partition, wether it is listed as primary or not. I had sooo many fustrations till i figured out you must make the ext2/3 first, then the fat32 or whatever else.
Click to expand...
Click to collapse
On the contrary, fat needs to be first.
Sent from my HTC Desire using XDA App
Fat it is the first ext3 second partition
I see the a2sd storage and it shows me the partition size but I installed some application from sd card and still drop the internal storage size.
what should be wrong?
thanks...

[Q] Please help me partitioning my 4GB microSD card

Hello there! I hope that I am not annoying you, but I am having issues with partitioning my SD Card, that have not yet been discussed here, so a step by step guide would be highly appreciated, because otherwise I am just too stupid.
I have a fully unlocked HTC Desire with alpharev's S-OFF, most recent radio & stuff. Partitioning my SD with Clockworkmod Recovery 3.0.0.5 just won't work, it DOES something, but when plugging my Desire on my PC, it shows me ONE FAT32 partition, just as it was before, which takes up all the SD's space. Neither does it work with ROM Manager.
It got really weird when I manually partition it with GParted on my Ubuntu:
My Setup was:
1 FAT32 Partition, size: maximum what was left.
2 EXT4 Partitions, one 768MB, one 256 just as recommended for DATA2EXT HERE
No SWAP Partition.
Then my sdcard can't even be mounted by CWM-recovery - it says wrong parameter
I can still access it via 'mount usb storage', and fully access and format it in any way I like.
Any hints, step-by-steps or any help at all on how to correctly partition my sdcard? GParted there are settings like partition tables and stuff. what should I choose to make my SD Android-mountable??
EDIT: I think I got it. haven't yet tried it, but I think my fat pertition exceeded 2GB, gonna try later.
hy, don"t know really how it works with gparted (i m currently using amonRA which allows partionning sc card) but a single search with my friend... google gives me that result.
I think this could helps you considering your post.
http://forum.xda-developers.com/showthread.php?t=557590
have fun ;-)
CrisisCorE said:
Hello there! I hope that I am not annoying you, but I am having issues with partitioning my SD Card, that have not yet been discussed here, so a step by step guide would be highly appreciated, because otherwise I am just too stupid.
I have a fully unlocked HTC Desire with alpharev's S-OFF, most recent radio & stuff. Partitioning my SD with Clockworkmod Recovery 3.0.0.5 just won't work, it DOES something, but when plugging my Desire on my PC, it shows me ONE FAT32 partition, just as it was before, which takes up all the SD's space. Neither does it work with ROM Manager.
It got really weird when I manually partition it with GParted on my Ubuntu:
My Setup was:
1 FAT32 Partition, size: maximum what was left.
2 EXT4 Partitions, one 768MB, one 256 just as recommended for DATA2EXT HERE
No SWAP Partition.
Then my sdcard can't even be mounted by CWM-recovery - it says wrong parameter
I can still access it via 'mount usb storage', and fully access and format it in any way I like.
Any hints, step-by-steps or any help at all on how to correctly partition my sdcard? GParted there are settings like partition tables and stuff. what should I choose to make my SD Android-mountable??
EDIT: I think I got it. haven't yet tried it, but I think my fat pertition exceeded 2GB, gonna try later.
Click to expand...
Click to collapse
Not overly sure if this will help but .....
A long time ago when I first started tinkering with roms I tried partitioning my SD Card for Apps2SD but whatever I tried (Partition Magic, ROM Manager, GParted) it would get halfway through partitioning and then fail sometimes even leaving me unable to access the card from phone or PC. Spent several nights trying to sort problem then found out that some makes (possibly cheaper but think Transend are mostly the bad ones?) don't like being partitioned, why .... I have no idea. Anyway bought a new one 16gb Lexar Class 6 card which partition first time and had no problems since. Hope it helps and best of luck!
Are you to create "primary" partition or "logical"?

Categories

Resources