Easiest Way To Partition Your SD Card! - G1 Q&A, Help & Troubleshooting

Ok guys, i have been off the scene for a while and a lot of things have changed. First it was the apps2sd with only ext2 support, now there is a whole partitioning system in our recovery console which requires some knowledge. I have found a way that allows your to partition your SD Card (3 Partitions) in 3 SIMPLE steps!
NOTE: I AM NOT RESPONSIBLE OF ANY MISHAPS, BRICKS, BREAKS, WEAR, AND TEAR OF YOUR PHONE OR SD CARD
STEP 1: Install the New RA Recovery (MORE INFO) (Thanks Amon_RA!)
1. Download the recovery image -HERE and place it in the root of your sd card (root = not in any folders)
2. Install the new RA Recovery by Amon_RA (This was built on top of cyanogen's Recovery)
Enter terminal on your phone and type in the following commands:
Code:
su
flash_image recovery /sdcard/recovery-RA-dream-v1.3.2.img
STEP 2: Enter Recovery
1. Turn off your phone
2. Hold the home button and then hold down the power button untill you see the recovery menu
STEP 3: Partition
NOTE: THIS WILL ERASE ALL DATA ON YOUR SD CARD SO PLEASE BACK UP YOUR FILES!!!!
1. Scroll down to "Partition" and click on it
2. Select "Partition SD"
3. Set Swap size and EXT2 size
I suggest:
Swap: 96mb
EXT2: 512mb
4. You are done! Congrats
OPTIONAL 1: EXT2 to EXT3
1. Go back into the partitioning menu
2. Choose "SD: EXT2 to EXT3"
OPTIONAL 2: EXT3 to EXT4
1. Go back into the partitioning menu
2. Choose "SD: EXT3 to EXT4"
NOTE: I AM NOT RESPONSIBLE OF ANY MISHAPS, BRICKS, BREAKS, WEAR, AND TEAR OF YOUR PHONE OR SD CARD

Related

[Guide] Partition your Sd Card, Upgrade to Ext3, and Install Apps2SD

WARNING: DO NOT FOLLOW THE APPS2SD AS MOST ROMS ALREADY DO THIS FOR YOU.
If you do, it will break things.
-ivanmmj
Like My Guide(s)? Donate
Here we go!
Things you need:
A Rooted G1 Phone
Cyanogen ROM - Download v4.0.2
Cyanogen Recovery 1.4 - Download
Apps2SD - Download
Clean SD Card
Note: This will remove ALL files on your SD Card so please back it up
------------------------------------------------------------------------------------------------------------------
Install the New Recovery Image
Download the recovery image
Place the cm-recovery-1.3.1.img file in the root of your SD Card (Root = not in any folder)
Go back to your phone (Dont forget to unmount)
Open terminal and type in the following
Code:
su (wait for a screen to popup and press "allow")
flash_image recovery /sdcard/cm-recovery-1.3.1.img
------------------------------------------------------------------------------------------------------------------
Install Apps2SD
Download the Apps2sd apk from above
Place the apps2sd.apk on your sd card
Download a file manager like Linda or Astro from Market (They are both free)
Go to Settings > Applications and check the Unknown Sources button
Open up the file manager you just downloaded and find the apps2sd on your sdcard
Press on the app and install the Package Installer and press on Install
Apps2sd should now be installed
------------------------------------------------------------------------------------------------------------------
Partition Fat32/Ext2 with App2SD
Open up Apps2SD
It will show you a screen telling you that your card is not partition and you will have a sliding bar to choose the amount of space you want for an EXT2 partition
I suggest a max of 600mb for EXT2 space (I use 500mb)
Press Ok
You will get a Force Close screen DONT PRESS FORCE CLOSE PRESS WAIT
You will get a reboot message, Press Reboot
You now have a EXT2 partition
------------------------------------------------------------------------------------------------------------------
Upgrading your EXT2 Partition to EXT3
Note: You do need the Cyanogen Recovery image for this to work!
Reboot into Recovery (Home + Power)
Go to console (Alt+x)
Press Enter
Type the following in the Console:
Code:
upgrade_fs
Wait for it to finish
Congrats! You now have a Fat32/EXT3 partitioned Sd Card!
------------------------------------------------------------------------------------------------------------------
Installing the Cyanogen ROM with Auto Apps2SD
Download the ROM
Rename the file from cm-xxxxxxx.zip to update.zip
Place update.zip at the root of your sd card (Root = Not in any folder)
Reboot into Recovery (Home + Power)
Wipe (alt+w)
and Flash (alt+s)
Wait for it to finish and reboot!
------------------------------------------------------------------------------------------------------------------
Congratulations! You now have a Fat32/EXT3 Partitioned SD Card with auto Apps2SD enabled. You can check if you have both partitions in Settings > Sd Card and Storage. Remember, this is Auto Apps2SD, that means the everytime you reboot it will move all your installed apps to your sd card AUTOMATICALLY!
------------------------------------------------------------------------------------------------------------------
Format your EXT3 Partition (ADB is needed)
Code:
adb remount
adb shell
rm -r /system/sd/*
reboot recovery
then flash the update.
------------------------------------------------------------------------------------------------------------------
Here is another way to partition your sd card!
Note: You will need The latest CM recovery image
This guide will partition your SD card with 32 mb swap, and 512 mb EXT4 partitions!
WARNING! This will erase EVERYTHING on your SD Card!
Note: ADB Is needed for this script to work. If you dont have ADb working please read the ADB Sticky in the Q & A Forum
Step 1:
Download the necessary files HERE
Step 2:
Place the sdparted.sh file in C:\ Note: Do not place it in any folders!
Place adb.exe and AdbWinApi.dll in C:\Windows\system32
Step 3:
Run sdparted.bat
Thats it! All done!
Thank you 51dusty for the sdparted Script!
Batch file made by me!
Great guide...again =] But this way is MUCH MORE stable.
http://forum.xda-developers.com/showthread.php?t=534714
ya i know i saw that guide. I decided to put this one up becuase it uses minimal commands and doesnt involve a lot of terminal usage and stuff. Just another way to partition i guess.
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
lazee_smurf said:
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
Click to expand...
Click to collapse
yup! you are all good! 86mb for a cupcake rom is perfect! Congrats!
So what goes into the secondary storage because if I download something the internal space gets used
lazee_smurf said:
So what goes into the secondary storage because if I download something the internal space gets used
Click to expand...
Click to collapse
just reboot and your app will go to your sd card.
nephron said:
just reboot and your app will go to your sd card.
Click to expand...
Click to collapse
Thanks for the help!
Greetings
I knew it all could'nt go as smoothly as the new rom install ^_^
When I try to run apps2sd wether out of astro or from the app panel, it goes to a black screen, and thats it. The phone is not locked, I just hit home (after waiting for minutes for something to happen) and I'm back at my home screen.
I did'nt think I skipped any steps. Idea's ?
Thanks for the Sticky Guide
upgrading filesystem
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
maybeoneday said:
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
Click to expand...
Click to collapse
This is why you don't partition your sdcard using this. It works most of the time but not always. Wipe and reformat your sdcard. Then reflash ROM
pistol4413 said:
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
Click to expand...
Click to collapse
No you will not.
sweet
alritewhadeva said:
No you will not.
Click to expand...
Click to collapse
Sweet man thanx!
ext3 slowed my g1 down
I jus upgraded my partition using this guide and my fone seems WAY SLOWER. Is there anyway to downgrade safely back to ext2 without wiping the partion clean? Or do u recomed an app I already have an overclock app.
fixed problem!
I fixed the issue. Lol I feel kinda dumb. Just has to many processes running that where eating memory.
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
rushless said:
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
Click to expand...
Click to collapse
Apps2SD2 detects if your card has been formated with an ext2 partition. If not it will format your sd card for you therefor not needing a computer program. The new reocvery 1.3.1 allows you to run the upgrade_fs command to format the ext2 to ext3 and also has other features such as gparted and fix ext filesystem.
my question is this...I already have cyanogen's rom installed...I have been away from a computer and the internet for about a week so I'm still on 3.6.5...which is fine with me.
In Cyan's thread, he says:
DO NOT RUN ANY OTHER APPS2SD APPLICATIONS ON THIS BUILD. YOU WILL BREAK YOUR SYSTEM. THEY ARE NOT NECESSARY BECAUSE THIS ROM WILL DO A2SD AUTOMATICALLY AND BETTER!
Click to expand...
Click to collapse
however one of the steps to partitioning the sd card in this post is installing apps2sd..
i want to partition the card...but I don't want to break my system...am I missing something? clarification please?

[GUIDE] Downgrade, Root, Partition, Update SPL, and Install CyanogenMOD

This is a Detailed Guide on Rooting your phone and installing the new CyanogenMod Roms!
Like My Guide(s)? Donate
I am not responsible for any damage that is done to your phone. You have chosen to follow and read this guide.
Here we go!
Check if you have RC29 or RC7 (UK)
1. Go to settings
2. Press on "About Phone"
3. Scroll Down to "Firmware Version" if you have RC29 or RC7 please skip the downgrading part of this Guide. If you have RC30 or higher please follow the downgrading part of the Guide.
-----------------------------------------------------------------------------------------------------
Downgrade Your phone from RC30 or up to RC29 OR RC8 and up to RC7
1. Make sure you SD CARD is formated to FAT32. If it is FAT or FAT16, this will not work. So, if your SD Card is not FAT32, please format it now.
NOTE: Formating your SD Card removes all files. Please backup your files first!
2. Download the RC29 DREAIMG.nbh (USA) - HERE or RC7 DREAIMG.nbh (UK) - HERE
3. Unzip the file and place the DREAIMG.nbh in the root of your SD Card (root = not in any folder)
4. Unmount your phone from USB
5. Turn off your phone
6. Boot into your bootloader by holding the CAMERA button and the POWER button.
7. A gray screen should appear. Press POWER to start the downgrading process
8. Once its done, Press the Track Ball to continue
9. Reboot your phone by pressing Talk + Menu + Power
10. Go through the Setup Wizard as normal to setup your phone
11. Congrats! You have now Downgraded your phone to Firmware RC29/RC7. Please verify it in the "About Phone" section in your settings menu.
-----------------------------------------------------------------------------------------------------
Rooting Your Phone
1. Go to Settings > Applications and make sure Unknown Sources is checked
2. Open your browser on your phone and go to www.g1upgrade.com/root.apk
3. Once its down downloading, Long press on the apk and choose to install
4. Open the Root.apk app that we have just installed and Press on Download IMG and HardSPL files
5. Once it finished downloading, press on Home
6. Press Enter, Enter, and then type telnetd, then press Enter again
Note: Ignore the Contact search
7. Go back to the Root.apk and click on "Protect my Root"
Note: If it doesnt work, please reboot and try Step 6 again
8. Once you successfully protected your root Turn OFF your phone
9. Hold Home + Power to enter recovery, You will see a yellow sign.
10. Type Alt+l then Alt+s. Your phone will reboot a couple of times.
There you go! Your phone has now been successfully rooted!
-----------------------------------------------------------------------------------------------------
Install CyanogenMOD 4.0.1 (Stable)
1. Download CyanogenMOD 4.0.1 - HERE
2. Rename update-cm-4.0.1-signed.zip to update.zip and place it at the root of your sd card
3. Boot into recovery by pressing Home + Power
4. Type Alt+l then alt+w then alt+s
5. When its done it will ask you to reboot with Home + Back, if not reboot with Talk+Menu+Power
6. Done! You should now have a rooted G1 Phone with a custom Rom!
-----------------------------------------------------------------------------------------------------
Installing the CyangenMod Recovery IMG
1. Open up the Terminal App on your phone
2. Type in su then press on "Always Allow"
3. Type in the following:
Code:
cd /sdcard
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
flash_image recovery /sdcard/cm-recovery-1.4.img
4. Done! Easy as Pie
-----------------------------------------------------------------------------------------------------
Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd
Note: This will erase everything on your SD Card!
1. Turn off your phone
2. Enter recovery by holding Home + Power
3. Scroll Down and press on Enter Console or press alt+x
4. Press enter
5. Type the following according to your sd card:
1 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 600
mkpartfs primary ext2 600 996
quit
upgrade_fs
reboot recovery
2 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 1500
mkpartfs primary ext2 1500 1996
quit
upgrade_fs
reboot recovery
4 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 3500
mkpartfs primary ext2 3500 3996
quit
upgrade_fs
reboot recovery
8 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 7500
mkpartfs primary ext2 7500 7948
quit
upgrade_fs
reboot recovery
16 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 15500
mkpartfs primary ext2 15500 15948
quit
upgrade_fs
reboot recovery
OPTIONAL: Upgrade EXT3 Partition to EXT4 (Thanks david1171)
Code:
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -fpDC0 /dev/block/mmcblk0p2
6. Reflash your Cyanogen 4.0.1 Rom
-----------------------------------------------------------------------------------------------------
Flash the New RADIO and SPL
NOTE: Please read carefully before flashing! This could BRICK your phone!!!
1. Check if you have a PVT or DVT board
a. Power off your phone and enter bootloader (Camera + Power)
b. Check look at the top and see if it says PVT of DVT
2. If you have a DVT board YOU CANNOT CONTINUE BECUASE THIS WILL BRICK YOUR PHONE!
3. For all you luck PVT board people Download the following:
OTA Radio Update - HERE
Danger SPL - HERE
CyanogenMod 4.0.1 - HERE
4. Rename ota-radio-2_22_19_26I.zip to Radio.zip. Rename spl-signed.zip to SPL.zip. Rename update-cm-4.0.1-signed.zip to ROM.zip
5. Place the 3 renamed files at the ROOT of your SD Card
6. Enter Recovery (Home + Power)
7. Scroll down and press on "Apply any zip from sd"
8. Press on Radio.zip
9. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.
10. It will reboot back to recovery. Once it does, Scroll down and press on "Apply any zip from sd"
11. Press on SPL.zip
12. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.
13. It will NOT reboot into recovery. Your phone will be stuck on the G1 screen. Once it gets there, reboot your phone by pressing Talk+Menu+Power and then hold the HOME button to enter back into recovery.
14. Scroll down and press on "Apply any zip from sd"
15. Press on ROM.zip and let it install.
16. Reboot your phone to finish.
17. Congrats! You are all done! Enjoy your Rooted phone!
-----------------------------------------------------------------------------------------------------
Credit:
Cyanogen
Haykuro
youneek
saved for future posts
Very nice to have everything in one place and an updated guide for all the people who post on the forums thinking that all the stickied guides are outdated. I think I'm gonna unroot my spare g1 and follow this guide just for fun. Thanks again for your dedication to the n00bs and attempting to keep the threads uncluttered.
I vote for yet another sticky for nephron!!!
Thanks for the support hahahah . Im glad u like it
Great guide!
alritewhadeva said:
Great guide!
Click to expand...
Click to collapse
thanks bro! Glad u like it hahah
AUS htc dream
this doesnt work on the aus htc dream
when i press camera and power
i get error and Not Allow
how do i fix that?
tigerhalsey said:
this doesnt work on the aus htc dream
when i press camera and power
i get error and Not Allow
how do i fix that?
Click to expand...
Click to collapse
o dude use this DREAIMG.nbh
http://koushikdutta.blurryfox.com/G1/DREAMIMG-RC7.zip
Added UK DreamIMG.nbh to Guide
mkpartfs
Hello all,
I have had my phone rooted for about a month now and have been doing the basic hings like Tethering my phone. But i want to add the Hero Rom to my G1.-Everything works when i go through the steps except when you have to put in the mkpartfs... command-it comes back and says sh: mkpartfs: not found
does anyone know how to make this work or how to add mkpartfs to the phone or how to make it recognize it?
Thanks
usafunderdog said:
Hello all,
I have had my phone rooted for about a month now and have been doing the basic hings like Tethering my phone. But i want to add the Hero Rom to my G1.-Everything works when i go through the steps except when you have to put in the mkpartfs... command-it comes back and says sh: mkpartfs: not found
does anyone know how to make this work or how to add mkpartfs to the phone or how to make it recognize it?
Thanks
Click to expand...
Click to collapse
did you type parted /dev/block/mmcblk0 first?
david1171 said:
did you type parted /dev/block/mmcblk0 first?
Click to expand...
Click to collapse
ya make sure u type that first. Also make sure u are running this in the recovery console not in terminal. U need CM Recovery 1.3.1 and above for it to work...
parted /dev/block/mmcblk0
Yes, i typed parted /dev/block/mmcblk0 first-but still nothing.
What is cm recovery1.3.1 and im not typing it into terminal, im typing after you hit Alt-X.
I am obviously new at this but I recently rooted my US T-Mobile G1 phone and flashed CyanogenMod 4.0.1 and have Cyanogen's Recovery 1.4.
I formatted my 2GB SD card in FAT32 and I have backed up all my data.
I tried making a partition on my SD card and had messed up and had to format the card to make it work again.
I am having a few problems following the "Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd" guide...
#1 - When typing the code do I hit enter after every line I input?
#2 - Where it says "print (to verfiy we know what size card we are dealing with, the details should be straight forward)" do I type whats in parentheses?
Again I am new to this whole process so if anyone could help I'd greatly appreciate it.
vidac1rca139 said:
I am obviously new at this but I recently rooted my US T-Mobile G1 phone and flashed CyanogenMod 4.0.1 and have Cyanogen's Recovery 1.4.
I formatted my 2GB SD card in FAT32 and I have backed up all my data.
I tried making a partition on my SD card and had messed up and had to format the card to make it work again.
I am having a few problems following the "Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd" guide...
#1 - When typing the code do I hit enter after every line I input?
#2 - Where it says "print (to verfiy we know what size card we are dealing with, the details should be straight forward)" do I type whats in parentheses?
Again I am new to this whole process so if anyone could help I'd greatly appreciate it.
Click to expand...
Click to collapse
1) Yes hit enter after every line of code
2) Sorry for this, but LOL.....anyways, no you don't type whats in parentheses. The print command will tell you what partition format your sdcard has before you begin. If it looks like this....
Code:
print
print
Model: Unknown (unknown)
Disk /dev/block/mmcblk0: 7969MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
then your sdcard is virgin and has no partitions.
If it looks like this......
Code:
print
print
Model: Unknown (unknown)
Disk /dev/block/mmcblk0: 7969MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 7469MB 7469MB primary fat32 lba
2 7469MB 7969MB 500MB primary ext2
then you have a fat32 and a ext2 partition
Refer to this guide for any supplementary information that isn't included in nephron's guide (although his is pretty comprehensive)
http://forum.xda-developers.com/showthread.php?t=534714
usafunderdog said:
Yes, i typed parted /dev/block/mmcblk0 first-but still nothing.
What is cm recovery1.3.1 and im not typing it into terminal, im typing after you hit Alt-X.
Click to expand...
Click to collapse
Typing it after you hit Alt+X is only the correct place to execute the command providing you have Cyanogen's recovery image which replaces the default recovery image that comes with the phone. (when you boot up while holding down power+home) If you boot while holding those key combos and you get a yellow triangle with an exclamation point, you don't have cyanogen's recovery image. If you do have it, then you will see a ghostly android bot in the background and green text on the screen.
If you have cyanogen's recovery, I'm not sure what your doing wrong. If you don't have it, get it by following the steps entitled Installing the CyangenMod Recovery IMG in the OP of this thread. More info about cyanogen's recovery can be found below.
http://forum.xda-developers.com/showthread.php?t=523558
When I input "print" my card looks like this...
Code:
print
print
Model: SD SD2GB (sd/mmc)
Disk /dev/block/mmcblk0: 1996MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 66.0kB 1996MB 1996MB primary fat32 boot
Do I continue with the guide?
vidac1rca139 said:
When I input "print" my card looks like this...
Click to expand...
Click to collapse
Yes, you have a 2 gb card that has one fat32 partition.
Code:
parted /dev/block/mmcblk0
rm 1
mkpartfs primary fat32 0 1500
mkpartfs primary ext2 1500 1999
quit
upgrade_fs
reboot recovery
Also note that if you are using a recent CM build, which you are because you stated you have 4.0.1, then you don't need to do apps2sd, it is done automatically when you have a properly formatted ext2 or ext3 partition, which you are going to have after you follow the above steps
I went all the way through with the guide but when i did
"mkpartfs primary ext2 1500 1999"
I recieved the following -
Error: The location 1999 is outside of the device /dev/block/mmcblk0.
Is that ok or should I start over and try something else?
vidac1rca139 said:
I went all the way through with the guide but when i did
"mkpartfs primary ext2 1500 1999"
I recieved the following -
Error: The location 1999 is outside of the device /dev/block/mmcblk0.
Is that ok or should I start over and try something else?
Click to expand...
Click to collapse
sorry typo on my part....you should use 1996
You should really do some more reading into partitioning. It is quite clear that you are completely lost and just blindly following my responses which isn't a good thing. You should have some idea of the general commands we are doing here. These commands are fairly self explanatory. You should take a minute to look at the original output of the print command....This is exactly what you have according to your print command output...
Code:
Disk /dev/block/mmcblk0: 1996MB
1996mb means you have 1996mb available on your sd card, I inadvertently told you to input 1999mb because I simply copied it from the original post without paying much attention assuming you would figure it out. You really need to have a slightly better handle on this stuff before you continue.

Sudo-App2SD (IE: How to install /DATA to SD Card EXT2 Partition)

For those of us who want more space but want to use Myn's Warm Donut, here is how you install your data into the SD card Ext2 Partition.
First you must have your SD card formatted correctly, If you wish to format it a different way then use the following partition layout:
1: Fat32
2: Swap
3: Ext2 (512mb recomended)
You have to have all 3, otherwise it may not work.
Pro's
- More space
- Can still mount the card through the phone on the computer
- easy to switch between NAND and haret.exe
Con's
- Slower Access
- Can't remove the SD card
Required
- Micro SD card, obviously, any size.
- ADB Shell or if your VERY persistant you can do formatting all through the terminal on the phone
- Basic knowledge on how to use your computer, phone, and adb, i'm not here to hold your hand
FORMATTING
*WARNING*
BACK UP ALL DATA ON SD CARD, THIS WILL DELETE EVERYTHING ON IT.
Here's how to access adb shell and such http://forum.xda-developers.com/showpost.php?p=5544939&postcount=568
If you want to do it through adb with the phone booted or with the on phone console then skip steps 1 & 2, else skip step 2B
1 - Boot into the install console and go into recovery mode
2 - Connect your phone to your computer and go into ADB Shell
2B - Type 'su' [enter]
3 - Type the following
Code:
parted /dev/block/mmcblk0 [enter]
print [enter]
4 - Find the line that says "Disk /dev/block/mmcblk0: xxxxMB". Write this down!
5 - Delete all partitions then check to make sure they were deleted.
Code:
rm 1 [enter]
rm 2 [enter]
print [enter]
6 - Once the SD card is blank, create the primary partition. (This is the amount of space you want for your music, pictures, etc.)
Code:
mkpartfs primary fat32 0 XXXX [enter]
(XXXX = How many MB of storage you would like. Remember to leave 256-512 MB for your app partition, and about 64 MB for swap. You may need to put the number you wrote down for start in place of the zero if you are having trouble.)
7 - Create a swap partition. (Large sizes are unlikely to be useful, try 64MB or so.)
Code:
mkpartfs primary linux-swap XXXX YYYY [enter]
(XXXX = This will be the same XXXX number from step 6)
(YYYY = XXXX + [256 or 512] (or whatever size you want to make this partition)
8 - Create the ext2 (application) partition.
Code:
mkpartfs primary ext2 YYYY ZZZZ [enter]
(YYYY = This will be the same YYYY number from step 7)
(ZZZZ = The end of your SD card (the initial size you wrote in step 6)
9 - Exit parted and reboot then re-enter the install console.
Code:
quit [enter]
INSTALLING DATA
Once you have your card partitioned correctly then do the following to change /data
You must have space on the fat32 partition, 300~mb
1 - If you had the third option selected "( ) Data on Ext2 Data.img" then restore your Data.img to an andboot folder on your sd card.
2 - Load phone into the kernel install console.
3 - Ensure that your current data location is selected.
4 - Select option "5. Backup /data" and hit enter and wait for it to finish with no errors.
5 - Move up and select "( ) Data on SDCard Partition" and hit enter.
6 - Select option "6. Restore /data" and hit enter and wait for it to finish with no errors.
7 - Reboot phone and check the phone storage in the settings.
8 - Go on an installing spree with the market.
Note:
Formatting instructions taken from http://wiki.cyanogenmod.com/index.php/Apps2SD
Nice work man!!!
Thanks for documenting this.
I've linked this from Post 1 in the Warm Donut thread.
How do you enter the recovery console??
thebulletfromhell said:
How do you enter the recovery console??
Click to expand...
Click to collapse
Hold down the center button or vol up when you see the prompt while booting
That just say press enter to quit recovery mode. I just use that to mount the SD card.
thebulletfromhell said:
That just say press enter to quit recovery mode. I just use that to mount the SD card.
Click to expand...
Click to collapse
yeah when that message is on the screen just connect it to the computer and go into the adb shell
i've created fat32, swap and data partition |10k,3k,3k (roughly) is it ok?
Is there a way to do this in Windows using my card reader? This seems overly complicated.
slow88lx said:
Is there a way to do this in Windows using my card reader? This seems overly complicated.
Click to expand...
Click to collapse
no, it won't allow you to create multiple partitions on removable media.
mrkite38 said:
no, it won't allow you to create multiple partitions on removable media.
Click to expand...
Click to collapse
Windows doesn't support ext formatted partitions
mrono said:
Windows doesn't support ext formatted partitions
Click to expand...
Click to collapse
Right, but the installer will format them for you. You just need partitions. You could use diskpart to create the right structure on a hard disk, but not on a removable disk.
I don't even know where to begin with these instructions. What is "recovery mode"? What is "adb shell"?
slow88lx said:
I don't even know where to begin with these instructions. What is "recovery mode"? What is "adb shell"?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=5544939&postcount=568
mrkite38 said:
http://forum.xda-developers.com/showpost.php?p=5544939&postcount=568
Click to expand...
Click to collapse
First post updated
mrono said:
yeah when that message is on the screen just connect it to the computer and go into the adb shell
Click to expand...
Click to collapse
thanks. I just did it with the builtin term emu.
I used gparted to create the partitions, and I'm not sure if I did it right.
First I simply resized my existing Fat32 partition. Second, I created a 512MB ext2 partition. Third I created a 64MB ext2 partition.
I'm trying to install Android sys on NAND and data on SD ext2 partition. How will I know if it's using the 512MB ext2 partition instead of the 64MB one?
Also, any reason not to use ext3 or ext4?
Dukenukemx said:
I used gparted to create the partitions, and I'm not sure if I did it right.
First I simply resized my existing Fat32 partition. Second, I created a 512MB ext2 partition. Third I created a 64MB ext2 partition.
I'm trying to install Android sys on NAND and data on SD ext2 partition. How will I know if it's using the 512MB ext2 partition instead of the 64MB one?
Also, any reason not to use ext3 or ext4?
Click to expand...
Click to collapse
The installer looks at the partitions in order, from the 'left' side of the card. system can only go to the 2nd partition and data can only go to the third partition.
we don't have drivers for ext3/4 iirc
So, in gparted it was 6gig Fat32>512 ext2>64 ext2. Does that mean that the data is going onto the 64 MB ext2? Does having sys on NAND even use the 3rd ext2 for swap file?
Dukenukemx said:
So, in gparted it was 6gig Fat32>512 ext2>64 ext2. Does that mean that the data is going onto the 64 MB ext2? Does having sys on NAND even use the 3rd ext2 for swap file?
Click to expand...
Click to collapse
1. yes.
2. i'm not sure, i don't ever use swap.
mrkite38 said:
The installer looks at the partitions in order, from the 'left' side of the card. system can only go to the 2nd partition and data can only go to the third partition.
we don't have drivers for ext3/4 iirc
Click to expand...
Click to collapse
If install app is hardcoded for...
- Partition-1 is for Fat32
- Partition-2 is for EXT2 (System installation)
- Partition-3 is EXT2 (Data installation)
What partition number is for the Linux Swap?
Thanks...

[Q] Restore to stock -- stuck!

Sorry -- this is probably a silly question but I can't find the answer anywhere.
I need to do a full factory reset. When I do the 8 boot failure option, however, on the 9th boot it goes into clockwork recovery -- where I do a delete user data and factory reset (from the Clockwork menu). Once I reboot (and have to register again to get past the B&N process) I'm still rooted -- or at least I still have Superuser on the Extras menu.
I'm thinking I somehow need to get past Clockwork to do a true reset????
I'm also trying to do this, and having the same problems.
I used adb to set the 8 boot failure and got the boot failure screen as well. I followed the method from the 'restore to stock' thread (which you probably should have posted in, instead of making a new thread) and used the hardware buttons to wipe the rest. I also had some apps left like SU left over. Also I was on 1.0.1 which I manually put on (when I had a booting loop into clockwork (my own fault)). My NC came with 1.1.0, so the restore to stock didn't bring me back to what I bought the nook as.
That 9th boot attempt is supposed to re-image the system partition... having CWR installed on the internal memory must be interfering with that process..
If you want to go back to stock without root files or anything.. try the following -
*NOTE* You must use CWR 3.0.0.5.. 3.0.0.6 will format the partitions as EXT 4, which the stock OS and kernel do not support.
Here are the steps -
1. Download CWR for SD card .7 from this thread - http://forum.xda-developers.com/showthread.php?t=922870 (choose a size appropriate for your sd card)
2. Download Nook Restore 1.01 from this thread - http://forum.xda-developers.com/showthread.php?t=914690
3. Image CWR onto a sd card using WinImage if you're in windows or dd if you're using a mac or linux (In WinImage, you'd go to disk>restore virtual hard drive to physical) give it your sd card reader's drive letter and choose the image you downloaded in step 1)
4. Copy Nook Restore 1.01 from step 2 onto this SD card and eject it from your PC
5. Power off the Nook Color and insert the sd card into the slot
6. Power on the Nook Color and boot into CWR
7. Go to Mounts and Storage
8. Format System and Data
9. Go back to "Install Zip from SD Card on the previous menu by pressing the power button
10. Select "Install Zip from SD Card" and then "Choose Zip from SD Card" * If you get an error, you need to go back to mounts and storage and mount the sdcard*
11. Choose Nook Restore 1.01 and wait for the installation to complete
12. Go back to the main menu and choose wipe cache
13. Power off the Nook Color
14. Remove the SD card
15. Power on the Nook color
The nook should boot into the stock OS and ask you to go through the initial setup process again.
Hope this helps.

Simplified instructions for flashing "HC v4 eMMC 2nd ed" ROM

After successfully getting HC running on my NC, I recently helped a couple of co-workers do the same on theirs. In the process, I came up with a set of instructions that worked great for each of them, so I figured I'd share.
Please note that these are just a simplified version of what appears in the original thread here: [ZIP][DEV][ROM] HC v4 eMMC 2nd ed. - Flashable ZIP {02/21/11}. All I did was put all of the pieces together into one list.
Requirements to follow these instructions exactly:
2 GB microSD card for flashing the ROM
Another microSD card for everyday use (I refer to it as "your 8GB sdcard" below)
Linux workstation
Basic familiarity with linux command line
Here goes:
Delete any existing partitions on your 2GB SD card. An fdisk -l should show just /dev/sdx, no partitions (e.g. /dev/sdx1).
Download the 2GB bootable SD card image from here:
http://legacyschool.us.to/nookdev/clockwork/0.1-ext4/2gb_clockwork-0.1-ext4.tar.gz
MD5SUM:
598262de35053f2d34480175ac337d7c 2gb_clockwork-0.1-ext4.tar.gz
Decompress that file and dd the resulting "2gb_clockwork-0.1-ext4.img" to your 2GB sdcard. (The dd target should be /dev/sdx, not /dev/sdx1.) This is the card you'll use to flash images, recover from "bricked", etc. You'll only want to have this in your Nook if/when you want to boot from this card. Leave this sdcard connected to your computer for now -- you'll be copying a file to it shortly.
Download the HoneyComb installation zip from here:
http://www.multiupload.com/47M6MIFS9A
MD5SUM:
ac42f8ca2d04e15b8981593e60b0abc1 HC-v4-emmc-2nd-edition.zip
DON'T unzip HC-v4-emmc-2nd-edition.zip. Just copy it over to your 2GB bootable sdcard. Feel free to create a new directory for it; just remember where you copied it.
You're done prepping the 2GB card now. Unmount it, pop it into your Nook, and reboot the Nook.
When it boots, you'll be in ClockWorkMod recovery (CWM). This is where you install/backup/etc various ROMs (and sometimes applications). Navigate through the various menus using the up/down volume keys on the side of your nook. Press the "n" button on the front to execute whatever you have currently selected. Press the power button on the side to go "back".
In CWM, navigate to "mounts and storage". Format each of these:
/system
/data
/cache
Also in "mounts & storage", make sure /system and /data aren't mounted. (If you have the option to mount them, that means they're unmounted; and vice versa.) In the same way, make sure sdcard IS mounted.
Go back to the root of the CWM menu, then go to "install zip from sdcard", then "choose zip from sdcard". Navigate to wherever you saved HC-v4-emmc-2nd-edition.zip and select it. You won't see any progress, so just wait a while; around 10 minutes, I think.
Once CWM reports that the install completed, go back to "mounts and storage" and unmount the sdcard. Remove the 2GB bootable sdcard, insert your 8GB sdcard, and select "reboot" from CWM.
Your Nook will boot up running Honeycomb.

Categories

Resources