Partition SD Card Help - Hero CDMA Q&A, Help & Troubleshooting

Hey guys,
Sorry to ask, and forgive me for been dumb, not really a Linux user here.
I need help with some details. I have my Hero - rooted with 0.7 Fresh 8GB SD on it.
What is the advantages of partitioning your SD - let's assume :
Swap-size = from 32mb to ummm 1024MB
Ext2-size = from 512mb to ummm another 1024mb.
Is there any standard procedure/requirement for this.
Also, let's assume I did this and this the following :
SD: ext2 to ext3
Can anyone put this in English language for me
I did all of this and was hoping that my phone would reflect a different internal memory size, but it still shows what I had before. I also noticed under "computer management that my SD got reduced by the amount I specified earlier from HTC Recovery mode.
Many thanks in advance

There are 2 different methods for setting up Apps2SD the most common method does not show any reflection in your About Phone screen. The other UNIOn method does, but i have seen very few people use this and I have not clue how to do it. No big deal either way you do it.
If you load the newest recovery from AMON_RA you can specify the size of your partitions. It seems like you are probably using this.
If you ever fill up a 1 gig swap someone wrote a very badly handled program in terms of memory. Swap = Linux version of the Windows Page file. The more you have doesn't necesarily mean the phone will move faster, it just means you have more room to grow. you are still using RAM for programs currently in USE. Swap just holds the stuff out of RAM until it is needed.
ext2 to ext 3: Ext3 from what I understand is just adds journaling and does its own repairs/checks. Stops you from waiting around while ext2 fixes itself if something bad happens.
I am sure someone can correct me if I am wrong on any of this.

Related

Jesus freak 1.5 apps to sd help?

i just installed jesus freak 1.5. i also purchased a 16gb micro sdhc card. I would like to know how to get apps to sd running correctly. I have followed another method and messed up the sd card. so i purchased a brand new one and before i even take it out of the package, i would like to talk to someone that has had sucesssful experience.
Thanx in Advance
A2SD in a Nutshell
the essence of apps2sd is:
1) creating a vfat/fat32 partition for storing user data
2) creating a second partition, ext2 to hold your apps and caches
3) creating directories within the ext2 partition on the SD to house your caches and apps
4) copying your apps and caches to the SD within the appropriate directories on the ext2 partition
5) rebooting within recovery console and deleting the original app and cache directories, AND
6) symbolically linking the ext2 apps/cache folders on the SD to the appropriate system partition folder names
7) rebooting to android and testing apps to determine which need to be reinstalled or reconfigured
your ext2 partition need not be very large relative to the volume of the SD; half a gig is normally adequate
pre-requisites:
you will need regular access to an OS that supports the ext2 filesystem, like linux. this is important because if your ext2 partition ever becomes damaged, the linux system has the tools to fix the ext2 filesystem errors.
you will need to know the commands for creating partitions on your SD
you should know how to use ADB to connect to your G1's shell, though this is optional
you need to know how to (re)boot to the recovery console and use its shell
you need to be familiar with the commands required to copy directories, create and delete directories, and create symbolic links
There are other Threads that have other programs and tutorials, but I used this one the other day on a JF 1.5 and it worked well.
http://forum.xda-developers.com/showthread.php?t=512743
Only issue I had was I had to move JF Updater back to Phone from SD , but that could have been a glitch when the phone checked for an update. The two apps used AppstoSD2 and a2sd pretty much do everything for you , very minimal command line required on your part.
Only thing to make it better would be an interface to either move the apps back to phone or integrate it so it would ask you when you install an app where to put it. But I am very happy with it. 16GB might be over kill , I have a 8 GB but they say not to go over 1.5 GB with the Ext2 partition, so while you will have 6.5 ( relative ) GB of space for Movies,Images, MP3's, Uninstalled apps, you are really limited to the 1.5GB for apps , well plus internal phone memory I guess. But for phone apps that's probably way more than enough.
question: how do you partition a 16gb sdcard? all the numbers and all that. ive done an 8 gb sd card and that was easy cause i was working with mb's. now with gb im lost. i got to parted and i typed up print and got 16.1gb if you could help me with the numbers for fat32,ext2/3,linux-swap. i would greatly appreciate it...
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Do no more then 512 MB for your ext2(3,4) partition
Follow this guide for the card partitioning. Flash CM's rom and it will do apps2sd for you automatically.
Your other card is most likely not all lost and could be salvaged still, I would look into it if I was you, 16gb cards are not cheap.
And for the last time: it is Jeusus FREKE not Jesus Freak, Have some respect for the one who layed the foundation for us, at least enough to spell his name correctly.
AdrianK said:
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Click to expand...
Click to collapse
I second that, and also jf won't be doing ROM any more :[
http://jf.andblogs.net/

tutorial link please

FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
There is a sticky post in this section. I found it in less than 2 seconds. without searching.
blackinches said:
FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
Click to expand...
Click to collapse
Example for 8GB card.
Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7622
mkpartfs primary ext2 7622 8134
mkpartfs primary linux-swap 8134 8166
quit
upgrade_fs
recovery
NOTE: this will reformat your entire card, so i suggest you back up your files.
and btw tell me the size of your sd card and i will type up the code for you...
use this method to tell me your exact size
go into recovery via home+power
go to console
pres enter
type:
parted /dev/block/mmcblk0
print
i am pretty sure you can see what number represent your total card size.
Easier Way!!!
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
andy_lowe02 said:
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
Click to expand...
Click to collapse
well i wouldnt say ur way is easier... it does require using a computer, mine uses the phone.. and mine is simply typing what u see.
Also im pretty sure you need to use linux-swap and not linux-swap2
(i think 2 works but im not sure that its recommendable sicne the rom cookers themeselves use 1)
I would also use the method brian posted. its much more effective
thanks guys, i got adds2sd working and everything. on a 1gb right now until my new 4gb class 6 comes in this week.
i haven't done the swap things yet as i'm not sure of them just yet. i've learned quite a bit over the last week without trying to bug too many people on the forum. your replies are MUCH appreciated.
what is the different between ext 2/3 and linux-swap? i'm running my current 1gb 514mb fat32 and 445mb ext3.
ext3 has journaling which reduces corruption a lot. linux-swap is used as virtual memory.
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
although i'm running .999 when i press the camera button it open a box with a 'To:' entry and 3 button 'open', 'call', and 'send'.
i've looked in the settings to see if i can change what the camera button does(want it to open the camera like before obviously) without any luck..
any idea?
Click to expand...
Click to collapse
any ideas?
thanks again
blackinches said:
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
Click to expand...
Click to collapse
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
AdrianK said:
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
Click to expand...
Click to collapse
oh boy, i tried to avoid the adb stuff as i had a few problems with it. wonder how it got 'changed'.
i'll give it a try sometime.

how do you properly setup partitions on sd card?

I am wondering when setting up your sd card in revovery with partitions what people recommend as settings. from what I've found I've read the you should set up the linux swap 32mb, but I've read to just make one ext. or to make three, and the rest fat32. I am just trying to get a little clarification. Also I read to make the ext. 512mb. should they all be 512mb, or is one ext. enough?
dude... ext3 refers to the type of ext... there are ext2 and ext3 and ext4... some ROMs just require a different type... if you are using RA recovery, there is a tool that auto partitions for you. If you arent really sure what to use, use that.
bad post
sorry my bad
hurrycaine3000 said:
I am wondering when setting up your sd card in revovery with partitions what people recommend as settings. from what I've found I've read the you should set up the linux swap 32mb, but I've read to just make one ext. or to make three, and the rest fat32. I am just trying to get a little clarification. Also I read to make the ext. 512mb. should they all be 512mb, or is one ext. enough?[/QU( for me anyway)
If you've googled, am sure there are endless pages and forums on this topic.
But these days many of us are using the recovery method that the above poster mentioned, it's so much easier and quicker. I wouldn't bother with swap, dont think its needed. 512mb is more than sufficient and 1 ext part is enough. (for me anyway)
oh and remember to backup your sdcard first before partitianing, otherwise you'll lose everything on it.
Click to expand...
Click to collapse
Stea1thmode said:
hurrycaine3000 said:
I am wondering when setting up your sd card in revovery with partitions what people recommend as settings. from what I've found I've read the you should set up the linux swap 32mb, but I've read to just make one ext. or to make three, and the rest fat32. I am just trying to get a little clarification. Also I read to make the ext. 512mb. should they all be 512mb, or is one ext. enough?[/QU( for me anyway)
If you've googled, am sure there are endless pages and forums on this topic.
But these days many of us are using the recovery method that the above poster mentioned, it's so much easier and quicker. I wouldn't bother with swap, dont think its needed. 512mb is more than sufficient and 1 ext part is enough. (for me anyway)
oh and remember to backup your sdcard first before partitianing, otherwise you'll lose everything on it.
Click to expand...
Click to collapse
Thank appreciate it
Click to expand...
Click to collapse

Amon RA v1.2.2 Please help partitioning and loading rom) aka fresh install

Hello this is droidfreek and i am new to rooted phones. I am using t mobile g1 black
I am currently using a 1GB memory card and i would like a step by step guide to partitioning it and installing the ROM kind of like a fresh install but i would like to have more internal memory if you can do the math and all it would be a great help. I am tying to use Amon Ra v1.2.2(part sd :fat32+ext2+swap)
Can you also make one for a 4GB memory card
the size of the memory card doesnt change how to partition it... and well, there are plenty of tutorials out there already on how to flash a ROM.
And partitioning, well, thats really straightfoward with amonra's recovery.
Uuuuhhh... Why are you using Amon_Ra 1.2.2? Use the latest (http://forum.xda-developers.com/showpost.php?p=4647751&postcount=1). It works like a charm, except for reading corrupted sd cards. Well, nothing is good at. I need a new SD card. Sorry. I'm ranting now. Just use the latest.
Ty but just to verify does this whole partition thing work on a 1gb card
One gig is going to be a little small, but you can do it. 96 mb swap is preferred, and 512 mb for ext is also pretty good. It's going to be tight, but you can do it. Is this a class six? My class 2 only worked for about a month doing this. I'm not sure if its related, but...
blackjackboy said:
One gig is going to be a little small, but you can do it. 96 mb swap is preferred, and 512 mb for ext is also pretty good. It's going to be tight, but you can do it. Is this a class six? My class 2 only worked for about a month doing this. I'm not sure if its related, but...
Click to expand...
Click to collapse
Can u please guide me step by step
How do you tell what class it is
DroidFreek said:
Can u please guide me step by step
Click to expand...
Click to collapse
Boot into recovery, select "partition sd card" menu and follow on-screen prompts. This doesn't get any easier then that.
i tried it and it worked
do i need to install aps to sd
some roms either have that included already (you will need ext3 or ext4 depending on what the rom specifies) and you dont have to do anything for it except flash the rom.
other roms might have it as an option, and you just convert the ext2 to ext3 or ext4. For example, CSDI has it as an option and can either be enabled or disabled through supsetup.
Ok I've partitioned and loaded the rom and my phone is complete but I still. Have 32mb in my settings for internal and I set it to 96 even when I download my apps I still get low space do I need apps to sd or do I have to convert ex3 to ex4
I would like it to give me my full 96
If you have 32MB on a clean install then that's all you're going to have. What SPL do you have? Also, type
busybox df -h
in your terminal and post your output for us.
I don't know how to tell what kind of spl
But here is the output
My busy box kmoo sd Details $ su# busybox df -h Filesystem*************** Size***** Used Available Use% Mounted on tmpfs******************* 47.8M**** 12.0K**** 47.8M** 0% /dev tmpfs******************** 4.0M******** 0***** 4.0M** 0% /sqlite_stmt_journals/dev/block/mtdblock3 AO
So what do I do next

[Q] EXT2 cache partition a big fail for me !! :mad::mad::mad::mad:

Does anyone out there know what causes 4EXT CWM and Amon Ra all (with custom tools) all to fail in regards to seeing a formatted cache partition on EXT-2.
I have DONE EVERYTHING I can possibly think of, from using Gpart in Ubuntu, to the phone itself. Many times in the past I have made it would just leave my 2 Gig cache partition empty because NOTHING works EVER!...
Did I miss something, can you even have 4 separate functional partitions with the Nexus 1 ?
The closest I have come to something really functional is with 4EXT, it seems to go through all the stages but when I check alignment I only get the first 2 partitions (fat-32 and EXT-1) EXT-2 says it is unformatted for some odd reason! This has been performed using a full card wipe on an external source. Even still everything is seems to go as planned until I check the card. With 4EXT I attempt to force a ext3 or 4 format and it restarts the recovery ! When I check A2SDGUI it says I only have 15 megabytes for cache.
I have used black rose and set it to 220/15/201 (dla5244), tried the latest versions of 4EXT and wasted many hours before posting...
CAN ANYONE HELP !!
Download SD Formatter from here, run the program and choose under Options:
FORMAT TYPE: FULL (OverWrite)
FORMAT SIZE ADJUSTMENT: ON
This will format your µSD (be sure to backup your important stuff). When finished, try to make an ext4 partition with 4EXT recovery. You only need one ext4 partition (so no 2nd) and no swap.
Thank you for the fast response but I have tried that. Except I want this phone to work optimally and I have figured everything else out so it is hard to settle for mediocrity. I mean I know that 1 SD-EXT partition works... Even 1 + fat32 and SWAP but I can NEVER have the phone identify the SD-EXT2 partition... no matter what... In partition magic (terrabyte bootit) and of course Gpart in Ubuntu all indicate that everything is great. Except the phone doesn't use the partition and like I was saying before the 4EXT shows it as unformatted after it's format. When I force a format on the partition the software reboots !?!... And if I leave it claiming it's unformatted even though we may think it is, QND's MIUI can only see 15 megabyte cache partition !
But then why not just go back to stock roms and one partition? To your point it's hard to step back and use something less inclined for performance when it should work ? no ?
I know I am a NOOB BUT I also know that it seems like no one out there can offer CLOSURE on the matter. like "ohh that's because the N1 cannot identify a EXT2 partition" or "ohh... that's your SD card's fault it isn't aligned right etc."
I mean I can see others have had this problem and gave up, I don't want to give up unless it is a limitation of the hardware (?sd card?)
Another way to look at it is although beautiful and helpful for most... 4EXT should be focused on getting that to work, I would think... To your point everyone is confused and shouldn't have more than 2 partitions ? Doesn't seem right to me.
Anyways if you have any other ideas OR anyone else can think of a solution lets do it I want to invest time into this and make it work !!
Sincerely! !
Why should you have more than 2 partitions on your µSD? 1 fat32 for your pictures and videos and stuff, and if you don't have enough space for your apps, 1 ext4 for A2SD (maximum 1GB).
Swap is not necessary and in fact slows your system down. A thread about swap is somewere to be found here.
And why the 2GB cache partition? You already have a 15MB cache partition on your phone.. 220/15/201.
You really don't need more than 2 partitions on your µSD.
?
I am willing to accept that you are right that it isn't needed. But I am not using A2SD, I am using XPART. According to the guides I am read, the best way is with 3 or 4 partitions (Swap being the option). The Cache partition on the other hand makes sense because even with titanium backup I can see my 60 or so apps are storing a couple hundred megs in cache. So this way a dedicated partition for processing things once instead of multiple times would provide the fastest solution. Being that the n1 is not the top performer anymore (still my fave though ), any extra speed should help when I am using my phone day to day.
The QND MIUI mod by jbbandos has the following about XPART :
"You can use it with one FAT32 and one ext4 partition, as A2SD, which seems to be the more stable setup, but the recommended setup for speed is one FAT32, one large ext4 (for your data partition), one smaller ext4 (cache), and a swap partition. I'm not that much of a fan of a swap partition, as I am always afraid it will wear out the SD card precociously, but most people report it working well, and I prefer the single ext4 for stability, but YMMV. "
you can read more here :
http://forum.xda-developers.com/showthread.php?t=1084726
.......
Anyways that is what I want, and I will invest the time to get it. I believe that 4EXT is primarily in development to perform this function. But I have a problem, with the results. I realize that it may not be necessary but I would like to know the WHY as to why this doesn't work.
AS ALWAYS thank you for you help none the less..
Never used XPART, I didn't know they recommend this. I never used apps to ext scripts longer than a few days.
This is because I'd rather install 10 crappy apps less, than having a slower system. Then again, if I would use an apps to ext script, I would definitely go for stability .
Unfortunately I don't know what you could do now..
I found my previous QND build with XPROT using blackrose was good for like 7 months !!! I just wanted to update and get it working properly. I would HIGHLY recommend it as you phone sees like 1 gig of internal mem so all apps that have widgets are useful and don't need to go to SD. In my opinion it was more stable than stock !!! Honestly, great tool.
OH yeah and it is also much faster I have found !

Categories

Resources