[Q] No Partition Options - G2 and Desire Z Q&A, Help & Troubleshooting

YO!!
First off I want to say this site is dope and tons of help to match.
This has most likely been asked before, but..uh I dont see/get it.
I have been trying to create partition ext3-ext4 on my sd with absolutly no luck.
I've been readin this for days now and never seem to find a definitive answer.
Everyone says that while in recovery you have option to partion ext3-ext4, but I guess my phone is retarded for some reason. While in recovery(any version and its clockwork btw) if i go to partition sd, once in that menu it brings up 5 different sizes. I check the last one and then the second step is to pick the swap. After I check what I want for the swap it starts the partition. Nowhere in the recovery menus(anywhere) do i see any options for ext2-4(ext2, ext3, etc etc).
So my question is: If it's not there where do I find it or is there any other option and is it really worth it?
I know how to gpart (or whatever you call it) but not sure how to allocate the sizes. 32GB sd class4
I've finally figured out adb and flashed several times. Call me blind, call me crazy, call me stupid...just don't call me coffee.
any help would be great.
T-Mo G2 is the device.
ps. I guess I'll get this out of the way so i don't have to keep posting dumb questions. I notice when flashing roms and it goes to mount the sd-ext(might have that spelled wrong sorry) I always get an error saying unable to load dev/block/mmcblk1 not formating. Nothing happens and the roms still flash just fine(usually). I saw this question before but everything I read that was supposed to be a"fix" didn't work. I am assuming I'm getting this because my sd isn't properly partitioned. any help on this would swell as well
oh yeah and it's ENG S-Off and all that other jazz. Used the gfree/rage method
cheers

Theres an option in ROM Manager to partition your sdcard for you but I have never had any luck getting it to work.
Heres A LINK that will walk you thru partitioning your sdcard thru ADB, it works, I used it to partition my sdcard, Just remember the sdcard for the HTC VISION is at dev/block/mmcblk1, the instructions will tell you to partition dev/block/mmcblk0, but this is for a diffrent phone. You want to partition dev/block/mmcblk1.
WARNING: DO NOT TRY TO PARTITION dev/block/mmcblk0

thanks for the reply. I learned that last night, lol thats the one I learned from last night. Problem is I need some input on how much to allocate for each partition. 32GB card.
cheers

Are you trying to partition your sdcard for use with apps2ext? If so since you have such a high capacitiy sdcard I would partition it to 1024mb ext2, 32mb linux swap and the rest FAT32.
Just a side note, remember to remove the existing partiton (which is the stock fat32) before starting the partitioning process,
â– Command: rm 1 (deletes partition number 1)

so how to I get the ext4 partition? same as i did the first 3? the reason I ask is because I still dont have sd-ext after i partition with recovery. I want to move dalvic cache so that my widgets will work from sd card
If it helps im using GV1.5 rom with the proper recovery 3.0.0.5 ( which as I just noticed is now the new recovery rom manager wants you to flash...got tired of having to adb 3.0.0.5 everytime I wanted to test CM7 or GV1.5)
thanks

i just tried running the following in adb after card was wiped:
mkpartfs primary fat32 0 31712 that worked
mkpartfs primary ext2 31712 32736 and then got error saying:
The location 32736 is outside of the device /dev/block/mmcblk1
so i think the problem is my card is actually 29.9GB and since my math is crap I cant figure what esactly to put...

Just move your ext partiton a little lower, the same thing happened to me when I tried to partition at first, had to play with the numbers a little. You don't have to get the total card capacity filled with a card that big what's a few mb's.
Sent from my HTC Vision

maybe I should of asked this first.
My reasoning for doing this is I read somewhere that if you can upgrade to ext4 you would be able to run widgets off sd card because the phone thinks it's stll on the actual internal storage,
am I wrong?

There's only one rom that supports apps2ext , which is what your looking to do and that is Enoms rom, but there is also Darktremor's apps2sd mod in the dev section which will enable this on all roms, in either case you need a card partitioned to at least FAT/EXT2.
Sent from my HTC Vision

got it. after darktremors script while in shell i ran ap2sd cachesd and wa la.
thanks again

Related

Partioning SD Card

Sorry, done a search and looked through all posts but can't seem to find a guide to partition sd card for use with apps2sd.
My phone is rooted and have rom manager installed where it looks I can perform the partition. Can someone point me to a noobs guide to partition or give us a hand. I have read about all different extensions to make the partition to but have no idea what they all are. Any help appreciated.
Swap - 0
Ext3 - as little or as much as you wish (usually 512-1024mb)
FAT31 - the rest
obviously this will wipe the sd card, what about all backups etc. Do i just copy to pc then copy them back when partition is complete?
Yes, but remember you will have less space on for data since a part of it will be taken up by Ext3 partition.
no problem, cheers for that
Make this sticky!!!!!!!!!!!!!!
memphisuklf said:
Sorry, done a search and looked through all posts but can't seem to find a guide to partition sd card for use with apps2sd.
My phone is rooted and have rom manager installed where it looks I can perform the partition. Can someone point me to a noobs guide to partition or give us a hand. I have read about all different extensions to make the partition to but have no idea what they all are. Any help appreciated.
Click to expand...
Click to collapse
I've been trying to make this subject a sticky for a while.
I posted some tutorials in the Q&A Thread: See my post http://forum.xda-developers.com/showthread.php?t=713643 (bottom of the page)....
Good luck!
does rom manager create the partition as ext 3 as default?
ok, seems I now have a problem. Did partition through manager 512mb/0 swap seemed to work fine but now phone won't boot, stuck at htc white screen. Any ideas?
Edit
Ok booted after 4th time of pulling battery. Doesn't look like it partitioned though. on windows I only have H: with 3.18gb
I used the Android Recovery Menu from Paul's old rooting tutorial which let me partion the memory card easily.
gave up for now, will have a look later on but don't want to mess with it that much as i`m using my stock sd card
I think you already have A2SD installed. I used Rom Manager to do the partition too and it was straightforward. No problems with rebooting though. If you reinstall your apps now, and if you check with a system info apps, you will find that you now have loads of internal memory.
ah, ok got 115mb free after installs(Used to have 10mb). So the defrost rom i`m using will automatically use apps 2sd when a partition is found?
Thought I had to set this up with spare parts?
How come I cant see the partition through windows?
Windows doesn't recognise linux partitions. Check with Quick System Info if A2SD is working correctly.
haha, feel stupid now. Working fine when checked with quick system info. Cheers for all the help guys, much appreciated
memphisuklf said:
ok, seems I now have a problem. Did partition through manager 512mb/0 swap seemed to work fine but now phone won't boot, stuck at htc white screen. Any ideas?
Edit
Ok booted after 4th time of pulling battery. Doesn't look like it partitioned though. on windows I only have H: with 3.18gb
Click to expand...
Click to collapse
If u have 4Gb card and in windows you see only 3.2Gb partition, then i think you have ext partition there ok. Windows wont see your ext.
Rom Manager will make ext3 partition in the end of your sd card.
With 512Mb ext + 0Mb swap you will get fat32 partition + ext3 in your SD card.
Sent from my HTC Desire using XDA App
On a similar topic, if I install a 2.2 ROM with Google APS2SD and legacy APS2SD, do I only need to create a partition for the legacy version of APPS2SD? If I just wanted to use the Google version can I just leave the card as it is?
yep, no formatting is needed for google app2sd
Here's my experience to Partition the SD card.
1) I rooted my Desire with "UnrEVOked"
2) Flashed the phone with a ROM
3) Then I went to "Market" and download "ROM manager", which has an option to "Partition SD card".
4) Reboot
dexter9898 said:
Here's my experience to Partition the SD card.
1) I rooted my Desire with "UnrEVOked"
2) Flashed the phone with a ROM
3) Then I went to "Market" and download "ROM manager", which has an option to "Partition SD card".
4) Reboot
Click to expand...
Click to collapse
There is a related thread here: http://forum.xda-developers.com/showthread.php?t=731531
I developed the most common methods of partition your SD Card, and answered some questions and asked some additional ones.
I would very much welcome it, if anyone wants to participate in assembling the infos about SD cards....
Not the best guide but does work, you may need to adjust the figures depending on what size card you got.

Help with sd ext partitioning

Ok so this all started when I switched from Cyanogen to Fresh 3.2. I used Amon Ra's Recovery to wipe and because it said to so a full wipe I figured I had to wipe evey option on Amon Ra's Recovery including sd ext. When I did That I got and error that said "Error: run "wipe ext" from abd!". I read somewhere that that wasn't going to be a problem so I continued loading the rom and it booted fine. I ran into problems later on when I tried installing Backbreakers. I got an error in the notification bar that said "installation unsuccessful". I later got the same message when trying to install Angry Birds. I've learned from other threads that those games should work fine on Fresh's roms. I now have the newest Fresh rom and still have the same problem. Just recently I found out that I shouldn't have wiped sd ext partition if I didn't have one setup. Now, I never set one up myself, but maybe one was setup automatically through one of the roms I had used. Now I want to fix the problem with my Sd ext partition (I know I'm not using The term correctly because I no nothing about it) and find out what it does. If anyone could help me understand what an sd ext partition is and how to solve my problem I would be very thankful.
Sent from my PC36100 using XDA App
You can set it up in Ra recovery. It's very easy. Make sure you back up your sd card to your computer cuz partitioning will wipe it.
Download DarkTremor from HERE
Select Partition SD card from the recovery menu
The first option is for a swap file which we dont really need so set it to 0MB
The next is for your ext partition. 256MB should be plenty but if you've got a large SD card feel free to go higher.
After that's done, you can upgrade it from ext2 to ext3 which isnt necessary.
Boot up the phone or mount sd card from recovery and place the DarkTremor file you downloaded on your sd card and flash as you would a rom.
After the phone boots up you can open a Terminal Emulator and type:
su (then press enter)
You should see a # symbol. Now type:
a2sd cachesd
This will move dalvik cache to your sd card and free up even more memory. Just remember to wipe ext partition before flashing a new rom and I believe you'll need to flash the DarkTremor file again after you flash a new rom. Your ext partition will remain. Hope this helps. If you have any more questions most can be answered in the DarkTremor thread or feel free to PM me.
Wow thanks for the great info. I'm going to do this hopefully it will fix my problem. What is an sd partition for anyways or what does it do? I have the 6gb sd card that came with my evo goe much space should I put for my ext partition? Thanks for all of the help.
Sent from my PC36100 using XDA App
StrummingLevi said:
Wow thanks for the great info. I'm going to do this hopefully it will fix my problem. What is an sd partition for anyways or what does it do? I have the 6gb sd card that came with my evo goe much space should I put for my ext partition? Thanks for all of the help.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
The ext partition is a physical memory area in your sd card which is formated the same as the internal memory of the phone. Not like the rest of the sdcard. The limits are set on the rest of the card so the stuff in the ext with it's sequential byte order won't be over-written by the pc-like low-high byte order of the rest. Stuff can be logically assigned to the ext partition by the OS. At startup a find is issued on the partition, if it's there then automatically Fresh's / tremor's ap2sd "program" puts portions of applications on the sdcard. You can manually augment what gets put into the ext partition by issuing commands. Aps2sd was important on devices with limited internal memory.
StrummingLevi said:
Wow thanks for the great info. I'm going to do this hopefully it will fix my problem. What is an sd partition for anyways or what does it do? I have the 6gb sd card that came with my evo goe much space should I put for my ext partition? Thanks for all of the help.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Forgot to mention, its recommended you use a class 4 SD card or faster. I'm not certain what the consequences are but when I ran a2sd on my G1 with a class 2, the phone would crash.
Sent from my SUPERSONIC

[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.

[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"?

[Q] Moving to a new sd card

hello,
first of all i would like to point out that i have searched for this topic and have tried a few solutions, but it didnt work..
here it goes..
so im switching to a new sd, and just tried to swap the cards but when i do that im either stuck in bootloop,
or if i reflash i have nothing installed on the phone (and i dont mean apps, bcs there isnt a lot of them and i dont mind reinstalling),
for example when i press settings it says it is not installed lol..
there is also nothing on the homescreens, and when the screen locks i cannot unlock it bcs there are no buttons..
Its a 16GB class 6 card with a fat 32, and ext3 (1024mb), and a ext4 (768mb), as is requred by some roms (feel free to correct me if im wrong)
The formatting was done by minitool, as i cannot go into disk drive mode to do it with gparted (with the new card inserted almost nothing works)
the old one is a 4gig with a etx3(1024mb) and works normally when i put it back, although sometimes it needs reflashing..
i have tried mirroring the old cards folder to the new one, via sd card reader, but it doesnt solve the problem...it stays the same..
any and all help is appreciated
You should do a nandroid backup of your rom, copy entire FAT32 over to the new card and then do a nandroid restore.
dusty_m said:
Its a 16GB class 6 card with a fat 32, and ext3 (1024mb), and a ext4 (768mb), as is requred by some roms (feel free to correct me if im wrong)
Click to expand...
Click to collapse
It was used by scripts which are not developed for about a year and thus obsolete. No mainstream script requires that.
Thx (hvala
will try it later on today....do i need any ext partitions?
is ext3 enough?
dusty_m said:
Thx (hvala
will try it later on today....do i need any ext partitions?
is ext3 enough?
Click to expand...
Click to collapse
It is enough, but the question remains whether it will work if you used that same dual ext partitions setup on your old 4GB card. I'm not sure, but maybe someone could clarify that. Ext partition is needed, otherwise you'll end in a bootloop - especially if some vital parts of the rom were symlinked there.
I presume you have cwm recovery installed.
If so format your card with SDformatter V 3.1. TO FAT 32 with size adjustment on.
This will format all your card to fat32,
Put the card back in phone and partition the card from within cwm recovery,
Select size of ext partition (1024kb is usually big enough) select 0 for swap.
Ext partitions are used to save on internal memory by moving apps ( (and sometimes data and dalvik cache aswell) to the ext partition and using it as if it was internal memory.
Hope this helps...
i have used only ext3 on my old card...so i guess the same would work on the new one....
so if i got this right, i can restore the old rom via nandroid...and i guess flashing something else in the future should also work...
CWM Recovery is at version 5.0.2.6 at the moment this partitions sdext with ext3 which works fine on nearly all roms. There is a 4Ext Recovery available which can convert ext3 to ext4 if required, just do a search for it if you need it, but you should be fine with ext3.
i have AmonRA
edit: am i able to to the same with it?
i remember it has the format option in the menu...
also 1024kb?
i have 1024mb lol
Yea I presume so, I use cwm!. Just follow the instructions for your rom..and create the partition if required
The restore thingy didnt help, ima still stuck at boot logo, or if i try another restore, i manage to boot, but again nothing is installed (settings and stuff)
will try the reformat and see how it goes...
why cant i just flash a brand new rom to this empty card?

Categories

Resources