How do I enable swap space with Cyanogen 4.2.14.1? - G1 General

I had it setup before but I went back to factory defaults and cant remember how. I have a swap partition on my sd card. Thanks.

This should get you going:
http://forum.xda-developers.com/showthread.php?t=542899
L8r

check his wiki i followed those instructions no prob

Related

Partititoning my SD

I need help..i want to partition my sdcard so i can have more internal memory space..but i need partitoning for dummies and its confusing..can one one help..i areald have CyanogenMod 1.5r2 v3.4 with hero theme 1.2, etc. on my sd..can i keep all that and still partition my sd into EXT2
go to development forum and on 1st or 2nd page is SDPLIT..thread by MartinFick.
Its two steps, youll have to flash i either jf or dude 1.+ but im a dummy and ive successfully done it twice
Go to the thread and in the first post is a link "hot to for dummies" , thatll partition your card, i have actually put apps on my sd so i cant recommend a tutorial for that, but there are applications that do it depending on which build you use
big_d093 said:
I need help..i want to partition my sdcard so i can have more internal memory space..but i need partitoning for dummies and its confusing..can one one help..i areald have CyanogenMod 1.5r2 v3.4 with hero theme 1.2, etc. on my sd..can i keep all that and still partition my sd into EXT2
Click to expand...
Click to collapse
There is a tutorial with pictures here: http://www.allshadow.com/forum/viewtopic.php?f=9&t=5870 The program it describes, Paragon Partition Manager is what I use and it is quite handy.
Ok thanks I'm going to try it later tonight
can i use the partition professional edition 30 day trial or do i have to buy the full verison??
The trial version I believe is 100% fully functional so you shouldn't have any issues. Remember FAT32 for first partition then EXT2 or EXT3 for the second partition. I wouldn't make the second partition larger than 1GB personally too...
really easy tutorial with pics and everything
http://forum.xda-developers.com/showthread.php?t=523648

Help Request- Partitioning a 8GB SD Card for Mytouch 3g, Have Cyanogen 4.0.2

Hello XDA Developers.
I have hit a brick wall trying to partition my 8gb SD card for my MyTouch3g, and could use a little help, i can getting very frustrated and any help will be appreciated .
Questions:
1) Is there any way to partition the 8GB SD card on the computer, then just put it into the MyTouch3g?
2) How do i know what size partitions should be for my 8GB card?
I cannot get adb set up on the computer properly to do it, also many of the guides are for the G1 and involve typing things in the recovery console with the hardware keyboard.
I have googled for hours trying to find a guide specifically for partitioning with the Mytouch3g without using adb, but could not find one.
Side note: I rooted my phone using the 1touch method.
you can use Amon_Ra's recovery and it'll do it for you automatically.
http://theunlockr.com/2009/08/22/how-to-root-the-mytouch-3g-or-g1-in-one-click/
...
maybe dumb question, can i flash the Amon_Ra's recovery img after already having the cyanogen recovery img...or do i need to start with a clean slate?...and any advice if im using the stock 4gb SD card as far as partitioning/format for better performance?
i need help too...
please help a noob!!!
i'm in the exact same boat. using cyanogen 4.0.2 also and an 8gb sd card too.
please help...
Same
Yeah im worried about flashing another recovery image over the Cyanogen recovery image.
I rooted using the 1-touch method that auto installed Cyanogen Recovery image....dont know if flashing another recovery image would brick it or not
if you guys have the myTouch and unsure, unroot then root again using the Amon_Ra method on unlockr
http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
I use Amon_Ra's recovery and I know it does the partition for me automatically, but how do I know what size my partitions are ? For example, there are some roms that require 96Mb's for Swap...Any help will be greatly appreciated and thanx to all the Devs for their hard and continous work on the G1 and MT3G....
unk2009 said:
I use Amon_Ra's recovery and I know it does the partition for me automatically, but how do I know what size my partitions are ? For example, there are some roms that require 96Mb's for Swap...Any help will be greatly appreciated and thanx to all the Devs for their hard and continous work on the G1 and MT3G....
Click to expand...
Click to collapse
Did you ask this in every thread?............search please!!!!
Cyan's recovery should have an option to auto format your card
you can use Amon_Ra's recovery img without flashing it to your phone!
Just boot it, instead of flashing it.. and select the option to partition the sdcard and then reboot...
No changes to your phone... just a partitioned sdcard!
use the following commands with fastboot loaded on your phone (back + power)
fastboot boot your_recovery_img.img
Hope this helps
philicibine said:
you can use Amon_Ra's recovery img without flashing it to your phone!
Just boot it, instead of flashing it.. and select the option to partition the sdcard and then reboot...
No changes to your phone... just a partitioned sdcard!
use the following commands with fastboot loaded on your phone (back + power)
fastboot boot your_recovery_img.img
Hope this helps
Click to expand...
Click to collapse
does this really work? first time i have seen this reported. Have you done it? If you have could u give me some more detailed instructions on how to do it. Please and thank you. If this is a totally noob request I apologize,I am new to this.
Follow this guide and you can partition the card how you like.
http://forum.xda-developers.com/showthread.php?t=535914
It really is easy to do, just try.
Here's what I am doing. I'm a complete noob and it took days and days of tinkering and reading through this site to refine this. I've done it multiple times now with experimental ROMs and it works great for me.
Put your SD card in your computer's reader, or a 3rd party reader device. Copy all the files to your hard drive in a backup folder of some kind.
Go get GParted at http://gparted.sourceforge.net/
You can download the iso image. Use a program like http://www.imgburn.com/ to burn the iso image to a CD which will be bootable.
Once you have the Boot CD with GParted you can boot your computer up with it in the disc drive. Make sure your BIOS settings have the CD before your hard drive to check for boot sequence.
GParted will start up, I pick the defaults. It reads my SD reader with my 8GB Class 6 inserted. Make sure you select your SD card from the drop menu, the default is my computer hard drive which you don't want to touch!
I delete all the partitions on the card.
The first partition is your FAT32 and it will be the largest partition.
The next Partition you want to make is an ext2, ext3, or ext4 partition. I use ext3. I make this partition about 800 MB. This is where the Cyanogen ROM will copy your apps to automatically when it detects it.
The last partition is going to be a Linux Swap file and should be about 32 MB.
I've seen where some people use a 64 MB swap file but I think the general consensus of 32 is fine.
Once you are done, close out GParted and pull the CD out when it ejects your tray. When you reboot the computer without the CD in it, your Windows OS should boot right up like normal.
In Windows you should see the large FAT32 partition on your SD card. Windows won't see the ext3 or swap partitions. Copy your SD card files back to your SD card and eject the card.
When you put the card in your MyTouch3G, turn on the phone. Leave it alone when your screen comes up. The Cyanogen ROM will detect your ext3 partition and begin copying all your apps to it. At first it will look like you have no apps but they will begin appearing as they are copied to your SD card. It may take a couple minutes depending on how many apps you have.
The GParted CD is an easy way in the future to wipe out partitions on your card and set it up for you.

Apps 2 SD on Modaco 1.1 ROM

Hi there,
I've got everything working on my newly reflashed Sprint Hero. (Thanks to everyone that contributed to the gigantic thread....read all (currently) 28 pages...you guys made it easy).
My question is whether apps 2 sd is actually working?
I've put completely bare ROMs on my hero (reverted back to stock ROM, wiped it, wiped & partitioned the sdcard to fat32, ext2 & swap, then flashed with 1.1). I then go to install an app and it doesn't show up on the SD card and my internal memory decreases (indicating that its not on the SD card?)
Don't think I've missed any relevant details, but Im keen to get this working.
Any help would be greatly appreciated.
It sounds like you did everything correctly.
try this:
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/sd
ls
This should say:
[0;0mapp [0m
[0;0mapp-private [0m
as in /system/sd/app
/system/sd/app-private
then type:
cd /system/sd/app
ls
this should list the programs on the ext2 partition of your sdcard and, if you type:
cd /data/app
ls
you would still see the programs listed, but it is just telling you what you have installed they are not actually there, from what I understand.
Also, the internal memory on my phone also went down, but it went down 5 or so mb instead of 20 or so mb.
While I'm here would you mind telling me if when you said
dom2114 said:
(reverted back to stock ROM, wiped it,...
Click to expand...
Click to collapse
do you mean you reverted to a Nandroid backup then you performed a factory reset, and then flashed with 1.1, because I was wondering if this is possible?
hi there crake
really appreciate the detailed reply.
did everything you said and everything was exactly as you described, except that in /system/sd, i also have a lost+found folder
did the next 2 steps you outlined and yes, /data/app was a duplicate of /system/sd/app. I didn't realize that these were the locations (one being the actual location and the other being the 'symlink') of the ext2 partition.
One final question for you. How big was your fat32 partition? It didn't look like there was a way to control how big you want the fat32 partitions relative to the ext2 partition (& the swap partition...not sure what that is).
In answer to your question: yes, thats exactly what I did.
I wanted a 100% free implementation of modaco 1.1 (i.e. no apps etc). Here's what i did just FYI:
Flashed my nandroid backup back on
Hard reset it
Turned the phone on and just put my basic gmail/facebook login details in
Turned it off and decided to take another nandroid backup in case I wanted to go back to this state...(so I now have 2 nandroid backups)
Enabled USB transfer and copied this new backup off
Wiped the SD card & dalvik cache and then partitioned the card to fat32, ext2 and swap
Transferred the Modaco ROM to the SD Card
Flashed the phone w/ Modaco
End result was a 100% 'stock' Modaco ROM...if that makes any sense.
Appreciate an answer and any info as to the partition sizes.
EDIT:
Realized that this 'new backup' I performed (in the 4th step above) is useless if I end up wiping/repartioning the sdcard as this ROM refers to apps that the modaco ROM moved to the SD. These will obviously be removed after a format/repartition.
Thanks for the info, I used the 2gb (1.8-ish) sd card that came with my phone, after partitioning, the fat32 partition was somewhere around 1.4 gb. There was no option to modify partition size so I assumed it partitions the ext2 to a predetermined size and the rest is partitioned as fat32.
crake001 said:
Thanks for the info, I used the 2gb (1.8-ish) sd card that came with my phone, after partitioning, the fat32 partition was somewhere around 1.4 gb. There was no option to modify partition size so I assumed it partitions the ext2 to a predetermined size and the rest is partitioned as fat32.
Click to expand...
Click to collapse
I believe its around 450MB, mine is like 446MB as ext2, the rest of my 8GB sd card is FAT32. It automatically did this, but when I go to All Applications, Apps to SD isn't even listed as an installed application. I went to the market place and installed Apps to SD 2, and it told me I needed to read the tutorial (wtf ?).
So my guess is, the MoDaCo ROM does all the work for you that the Apps to SD program would normally do, and it just always saves it to your SD card.
simplyphp said:
I believe its around 450MB, mine is like 446MB as ext2, the rest of my 8GB sd card is FAT32. It automatically did this, but when I go to All Applications, Apps to SD isn't even listed as an installed application. I went to the market place and installed Apps to SD 2, and it told me I needed to read the tutorial (wtf ?).
So my guess is, the MoDaCo ROM does all the work for you that the Apps to SD program would normally do, and it just always saves it to your SD card.
Click to expand...
Click to collapse
Yeah, thats the conclusion I came to. In the adb shell, if you type apps2sd, something starts happening...Im not smart enough to know what though. Figured Id mention if someone wants to play around
Thanks you all for the info. This was exactly what I was looking for. Wanted to know the size of the ext2 partition and how to control it if we even could but looks like it's automatic as stated. Then to find a way to check to make sure the apps were getting installed on the partition.
I installed the MoDaCo 1.1 over top of all my apps/settings etc. I do have my SD card partitioned via my recovery image option.
What do I need to do to get all those apps over to my sd card and off my phone?

how to tell if my apps2SD is working/turned on

I'm on a 32b mytouch.
with AMON_RA 1.2.3 recovery and CM 4.2.13
I used the amon_Ra recovery to setup my card. wipe~> wipe Dxxxx~> format with ext 2 ~> convert ext2 to 3
From what CM site says it should work 100% on its own. I have a feeling its not the case with my phone, is there a way to confirm this.
Its automatic, theres a Apps2SD script in the rom that starts up on boot to activate the EXT. You can type df in terminal to see how much space is being used and some roms allow you to see secondary storage via settings which is EXT partition.
bowlofturtle said:
I'm on a 32b mytouch.
with AMON_RA 1.2.3 recovery and CM 4.2.13
I used the amon_Ra recovery to setup my card. wipe~> wipe Dxxxx~> format with ext 2 ~> convert ext2 to 3
From what CM site says it should work 100% on its own. I have a feeling its not the case with my phone, is there a way to confirm this.
Click to expand...
Click to collapse
Assuming you've partitioned your phone correctly, Cyanogen ROMS have an automatic apps2sd feature installed. Another very easy way to confirm is to go to select menu, settings, Sd card and phone storage, check how much internal phone storage you have. Then, go into market place, install a few random apps, go back to your sd card and phone storage and recheck your internal memory. If the number has decreased, then your apps are still being installed onto your internal memory and something isn't right.
when i pull out my SD card. should all my apps disappear?
i'm assuming it should, when i remove my SD all my apps are fully functioning.

[Q] Running out of space on dual boot sd card

Though I'm fairly techy, I'm a complete newbie when it comes to rooting.
Last night, I bought a Sandisk 8g card from Radio Shack. It came with an adaptor and cost about $7. I'm not sure of the class.
I had to follow bits and pieces from various threads because most were either outdated or left out important info.
Anyhow, I popped the adaptor in my HP laptop and wrote the card image to disk. Then I downloaded the latest CM10 nightly from 12/22 and I had to use an older gapps file because the latest one made the keyboard disappear.
So far things are working well except I'm already running out of space.
What am I missing?
affirmwealth said:
Though I'm fairly techy, I'm a complete newbie when it comes to rooting.
Last night, I bought a Sandisk 8g card from Radio Shack. It came with an adaptor and cost about $7. I'm not sure of the class.
I had to follow bits and pieces from various threads because most were either outdated or left out important info.
Anyhow, I popped the adaptor in my HP laptop and wrote the card image to disk. Then I downloaded the latest CM10 nightly from 12/22 and I had to use an older gapps file because the latest one made the keyboard disappear.
So far things are working well except I'm already running out of space.
What am I missing?
Click to expand...
Click to collapse
Boot into recovery by holding the n button while powering up. Choose recovery from the menu. When the recovery menu comes up choose format SD card. Process should fix remaining space on the SD card so apps can use it. Reboot when done.
I tried what you suggested, but when it boots into recovery, it runs a few commands and then just shuts down.
It never gave me an option to format.
I tried it again and it still didn't work, but this time I looked at the commands closely when it was rebooting in recovery mode and it said something about "your sd card appears to be formatted correctly".
So maybe that's why it didn't ask.
I was going to try to follow some instructions I found online about partitioning using Mini-Tool Partition Wizard but the instructions kind of fell flat because I couldn't understand them well enough to follow them.
I did see the Fat32 partition, which is the 4th partition, and it is 5.8 GB, but 0 used.
There are actually two Fat32 partitions...the other one is the 1st partition, and it is 204 mb, all used. That is where everything is and why my phone thinks I'm out of space but I don't know how to fix it.
Any ideas?
affirmwealth said:
I tried it again and it still didn't work, but this time I looked at the commands closely when it was rebooting in recovery mode and it said something about "your sd card appears to be formatted correctly".
So maybe that's why it didn't ask.
I was going to try to follow some instructions I found online about partitioning using Mini-Tool Partition Wizard but the instructions kind of fell flat because I couldn't understand them well enough to follow them.
I did see the Fat32 partition, which is the 4th partition, and it is 5.8 GB, but 0 used.
There are actually two Fat32 partitions...the other one is the 1st partition, and it is 204 mb, all used. That is where everything is and why my phone thinks I'm out of space but I don't know how to fix it.
Any ideas?
Click to expand...
Click to collapse
in CWM recovery you did not see/select Advanced at the bottom of the first menu and Partition SD card in the second menu? Usually that fixes the fat32 partition for access.
In the CyanoBoot Universal Bootloader, the menu options are:
Internal eMMC Normal
Internal eMMC Recovery
Internal eMMC Alternate
SD Card Normal
SD Card Recovery
SD Card Alternate
When I select SD Card Recovery it says,
"Loading from SD Recovery"...
Then it goes into some Linux commands
Then it goes black.
The end.
Anyhow, I figured out how to expand the space in the first Fat32 partition using the Mini-Tool software...the only thing that bothers me is that all the instructions keep talking about the last partition but on mine the last partition is the second Fat32 section that has the 5.8Gb of space and you can't adjust it.
But I can adjust the first Fat32 partition and extend it out so that it takes up almost all of the 5.8gb.
affirmwealth said:
In the CyanoBoot Universal Bootloader, the menu options are:
Internal eMMC Normal
Internal eMMC Recovery
Internal eMMC Alternate
SD Card Normal
SD Card Recovery
SD Card Alternate
When I select SD Card Recovery it says,
"Loading from SD Recovery"...
Then it goes into some Linux commands
Then it goes black.
The end.
Anyhow, I figured out how to expand the space in the first Fat32 partition using the Mini-Tool software...the only thing that bothers me is that all the instructions keep talking about the last partition but on mine the last partition is the second Fat32 section that has the 5.8Gb of space and you can't adjust it.
But I can adjust the first Fat32 partition and extend it out so that it takes up almost all of the 5.8gb.
Click to expand...
Click to collapse
You are not on a dual boot SD, you are on a single boot SD. It has the partitions set up so one rom can run there. Go to my tips thread linked in my signature and look at section B. You will learn a lot about the card.
Sent from my HD+ rooted stock using Tapatalk
Using the Mini-Tool software to expand the first Fat32 partition to use up some of the unused space in the last partition was the answer.
I could have expanded it to take up almost all of the 5.8GB, but I left half of the space intact because I wasn't sure if it was needed for something or not.
I then clicked "Apply" and waited for it to process (reformat?) the sd card.
Then I also went ahead and updated to the next CM10 nightly while I was at it since the sd card was already open on my laptop.
After that I popped it back in to my Nook, booted in recovery mode, it went ahead and installed the newest nightly, and I'm off to the races.
Thanks for your help.
affirmwealth said:
Using the Mini-Tool software to expand the first Fat32 partition to use up some of the unused space in the last partition was the answer.
I could have expanded it to take up almost all of the 5.8GB, but I left half of the space intact because I wasn't sure if it was needed for something or not.
I then clicked "Apply" and waited for it to process (reformat?) the sd card.
Then I also went ahead and updated to the next CM10 nightly while I was at it since the sd card was already open on my laptop.
After that I popped it back in to my Nook, booted in recovery mode, it went ahead and installed the newest nightly, and I'm off to the races.
Thanks for your help.
Click to expand...
Click to collapse
When you burned the SD image, did you use the rev 5 image from my updated installation instructions thread also linked in my signature? You need to because CM10 will display the wrong partition as sdcard (partition one instead of 4) if you use an older image. That may be why you were complaining about running out of space.
Sent from my Nook HD+ Running CM10 on SD

Categories

Resources