im just wondering how i would go about creating a swap partition i read a lot of threads about it but most threads also talk about making a user.config thing and it kinda throws me off. Do i need to do the user.config. Also i am using a 8gb class 6 card 1.5gb is is my ext 2 partition. Is the swap partition just a partiton i can make upto 128mb and then set the swap with the swapper apk at 96mb swap. Also can i use paragon partition manager to do it but it only lets me do 128mb at the least i figure ill do it this way and then just set the swap at 96mb for mligns rom.Thanks
http://forum.xda-developers.com/showthread.php?t=534714
that should help you partition cards
you need the user.conf if your gonna use the swap/compcache...see your rom makers details on it and adjust accordingly
you can use swapper too but its better to use linux-swap through user.conf
ok this is how i did it i used paragon partioner and made a 150mb linux swap2 and then i used swapper to make the swap 96mb and the swappiness at 80 will work like that or no
i guess it should work fine....
im not sure if linuxswap2 is compatible
go to terminal and type in
su
free
Click to expand...
Click to collapse
what numbers are listed next to swap?
B-man007 said:
i guess it should work fine....
im not sure if linuxswap2 is compatible
go to terminal and type in
what numbers are listed next to swap?
Click to expand...
Click to collapse
ok i did that and this what i got
total: 248524 used: 87460 free: 161064
i dont think your swap is that big.....but it should be working lol
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
B-man007 said:
i dont think your swap is that big.....but it should be working lol
Click to expand...
Click to collapse
what do you mean its not to big its not at 96mb
noo......that says that its 248mb....lmao...are you sure you copied the right one?
ya right next to swap under total it says 248524 lol dang is there another way i can still do this.
lol not next to total...next to swap
i forgot how much ram the g1 shows, but it comes with 192mb
248-192=56
ya it says 248 but now im useing droidswap from the market and its reading 97mb lol by the way what backing swap is it the samething as swap
I would just flash the RA Recovery Image 1.2.3 which can be found in the development section. It has an option to to format and partition your SD with an FAT32, Ext3, and a Swap partition. It does it all on its own, just make sure you back up before.
ok then how do i get rid of the linuxswap2 partition i made because i think that is causing me the problems i think. And if i do this can revert back to cyangoens recovery and still keep the linux swap that ill make with ra recovery
yes you can but amon ra's recovery is just a modded version of cm-recovery1.4 with more options so there is no point in reverting
one thing is you can not type the recovery command in the console, you must type reboot to get out, here's the link to the image
http://forum.xda-developers.com/showthread.php?t=566669
what do you mean you cant type the recovery command in the console you have to reboot? also how do i delete my linuxswap2 partition
if you have no clue what i am talking about stay away from the console terminal in the recovery
just select the option to reformat on the list of commands in the recovery
gridlock32404 said:
if you have no clue what i am talking about stay away from the console terminal in the recovery
just select the option to reformat on the list of commands in the recovery
Click to expand...
Click to collapse
my bad lol i reread and understood what you said lol really busy studying for a test then working on the g1 lol so i wasnt all there lol but now i got everything setup tested and no htc loading screen for now lol hope it stays that way and im mlign 2.5.5 got the 96mb swap working so im good for now by the way what is the wrecking crew and thanks for everyones help
Related
ok so these forums have help me sooo much from rooting my g1 for the first time and upgrading my g1 to the max. But I've comed to a problem on partitioning my g1.
I am currently using cyanogenmod and I use amon ra's recovery 1.5.0 which I have found really easy to use.
So basically I'm trying to get a linux swap of 96mb and I belive a 512mb ext partition but when I do this on amon ra I chect on cosole by first typing su and then free to check my memory and my swap partition says 0? And I'm trying to see what I'm doing wrong?
What I basically do is I:
wipe
Format my sd via computer with swiss knife or bassic format tool
Plug in my card
Wipe again
Wipe ext partion
And then I do the ext/linux/fat32 partition thing
And then I do my flashing.
Am I doing something wrong? Or maybe taking too many steps? Lol
But if anybody could tell me what to do it would be good.
And again I don't mind starting out fresh.
I am going to assume your new...
And I am a bit of a smart a$$ so deal with it. It's also late and I'm hungry, so I'm a triple threat.
1. Welcome to the forums.
2. keep up to date on the programs...RA1.5.0 had a bug in it. It was replaced with RA1.5.1 in less than 8 hours.
Check for daily updates on everything you use.
3. Don't do it by hand...Amon RA 1.5.1 does all this for you. (has since like 1.3.9 I think)
Even walks you through it step be step.
Its under the heading PARTITION SDCARD (Can't miss it on the main screen. It's there on 1.5 too)
Know your Sdcard specs b4 proceeding.
It even upgrades your partitions...don't bother with apps2sd if your not on a class 4 or 6 card.
And yes you do want ext 4 if you have a class 4 or 6 card.
No I won't tell you how to tell the difference. Google will.
4. Not to sound like an a$$...oh wait I already put in that disclaimer...
Seriously are you learning about what your doing or are you following along blindly?
Just following along results in posts like "OMG I just F*ing Bricked my Phone trying that lame a$$ write up. How do I fix my phone!?!?"
Read up on the programs before you use them, and ask questions about how to do something before trying. Please.
Have a nice... ah who am I kidding...see ya!
Ok..
1. Thanks for the welcome
2. You didn't help much but still thanks.
3. I'm not that of a complete dumba$$ and I do try to stay up with the updates and stuff but I go to school full time and I work right after but thanks for the advise...
4. But what I was looking for was how to start out fresh with cyanogen and a partition on my phone because when I try it it doesn't show on console but the size on my sd does decrese.
But again thanks.
Ok..
1. Thanks for the welcome
2. You didn't help much but still thanks.
3. I'm not that of a complete dumba$$ and I do try to stay up with the updates and stuff but I go to school full time and I work right after but thanks for the advise...
4. But what I was looking for was how to start out fresh with cyanogen and a partition on my phone because when I try it it doesn't show on console but the size on my sd does decrese.
But again thanks.
Do you have a userinit.sh setup to activate the swap on boot? Otherwise, you can try entering "swapon" in a terminal window and then "free" to see if you now have swap being utilized. Just having the partition does not enable swapping.
If you want to try to re-partition it one last time, I wrote a very simple excel program that walks you through the partitioning. I boot into recovery, and go to console. From there, just type the text exactly as written. There are 2 variables that you will type in, the swap and the actual size of the card. By typing those in, it will update the spreadsheet with the correct values to input. I have formatted quite a few this way and never had a problem that wasn't due to a bad SD card.
Anyway, this is what it looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and the download link:
http://rapidshare.com/files/318493809/Partition.xlsx
I guess in my cranky state you missed my point.
There is no reason to do any of the partitioning on another computer, or by hand. Amon Ra's recovery image does that operation with a little interaction from you.
Basically it does what speed.racer's script does, and it's already on your phone.
As for not seeing the partition information...
A fresh partition has nothing on it, so you will get a 0 when looking to see how much data it is storing.
Look again after you have booted up to the home screen.
Does that help?
Well its been like about 2 hours since i did the repartition and im sure that it would of have had taken up mem by now but it says 0 0 0 and
When i do the swap on thin it says to set swap priority?
i'am on 2.2.1 stock rooted though....now i believe i made the mistake of moving apps to SD BEFORE partitioning so now i have like a TON of apps on my SDcard and like 20mbs of internal storage LEFT but then i partitioned my SDcard -____- lol a FAIL ...so should i delete all of my 171+ apps and THEN Repartition ?
You could just use a partition manipulation app rather than repartitioning. I recently did this using gparted on my linux workstation. Not sure of any free windows apps that do the same. If you are not running linux, you can always use a bootable USB img to make the changes.
parted (gnu.org/software/parted/)
gparted frontend (gparted.sourceforge.net)
Here are some tools to make life easier when dealing with bootable USB images and windows.
linuxliveusb.com
unetbootin.sourceforge.net
hmmm alright ill give it a shot thanks i've got windows though not Linux
If you don't have partition magic or another app installed to change partitions around, just use either linuxliveusb.com or unetbootin.sourceforge.net to create a bootable usb key that will let you resize your partitions. They don't install anything or make any changes to your hard disks.
question though bro if you go into the ROOT of a partitioned SDCARD how does it look? like is there a SPARE folder for the apps? if possible a screenshot?
I'm too new to the forums to post real links, but below is a screenshot of gparted showing my nexus one. I opened gparted and went to view and checking "Device Information"
For my current partition layout, which is just 1 big partition, I see everything that I have saved to the SD card. My apps get installed on /sdcard/.android_secure
yfrog.com/c8nexusonej
mattsalerno said:
I'm too new to the forums to post real links, but below is a screenshot of gparted showing my nexus one. I opened gparted and went to view and checking "Device Information"
For my current partition layout, which is just 1 big partition, I see everything that I have saved to the SD card. My apps get installed on /sdcard/.android_secure
yfrog.com/c8nexusonej
Click to expand...
Click to collapse
nice! im going to have to try this did u set it up the MANUEL WAY?
I'm using the standard froyo apps2sd.
alright iam actually having some problems with partitioning..... i was able to to get up to HERE....but now what??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What distribution are you booting? There should be a menu with gparted listed. You could at least go to a console/terminal/xterm whatever and type in gparted.
Both tools for creating a usb stick should offer a gparted distro.
well when i go into terminal and type in gparted i get this.....UNLESS im doing it wrong...
Which distro are you running? You should install the gpared distro on your usb stick or at least systemrescuecd. Both of those are guaranteed to have gparted. I'm not sure about the others.
mattsalerno said:
Which distro are you running? You should install the gpared distro on your usb stick or at least systemrescuecd. Both of those are guaranteed to have gparted. I'm not sure about the others.
Click to expand...
Click to collapse
where can i find those ??
If you go to the links, they will tell you how to do it. It's not a complicated process.
Unetbootin gparted.sourceforge.net/liveusb.php
Download Unetbootin to help you to create this Live USB flash drive. Just run the program on MS windows, then you can follow the GUI to create the live. You will need the GParted live iso file in this method. PS. The boot menu created by Unetbootin is not exactly the same boot menu as the one created in choice 1. Therefore it's recommended to use the choice 1.
linuxliveusb.com/en/how-to.html
Partitioning through Ubuntu
l0uisz said:
where can i find those ??
Click to expand...
Click to collapse
If you are trying GParted than this thread must be helpful. Might you got a solution here
thank youuuu!
Is there partitio manager for android?
I have no PC, all around like a forest.
So, i want to partition sdcard right from android phone.
Is there such manager?
ROM manager want to download and install their native soft, but i cant find my model in their list.
help
hey guys im making this thread cus androidboss dint know how to do this and im mkaing it easier for him(might help others too so )
I AM NOT RESPONSIBLE FOR ANY DEAD SDCRADS PHONES LAPTOPS DESKTOPS AND ANYTHING ELSE
requirements
-windows computer
-phone with swiftdroid or any rom that supports inti.d boot scripts
-recovery 5.0.2.3
1. backup all sdcard stuff to computer.
2. wipe all data from the sdcard. after that use this to remove all partitions from sdcard( if you do not have any other partitions on sdcard skip to the end bellow the last picture)
http://www.partition-tool.com/personal.htm
the pics will look may look different cus im using a older version
mine looks like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to remove all the other partitions
when all is done click apply at the top lefthand corner. at the end after it refreshes make sure there is only one partition left . the FAT32 partition.
so now the card has no data put it in the phone and boot into recovery(5.0.2.3). there go to advance>partition sdcard>EXT size 2M(2M if you dont want a ext partition but if you want then the size is up to you )>swap size 256m
power down the phone and put back data into the sdcard. now enjoy swap
well this is my first thread so hope it helps!!
hahaha thank you
every much bs828 !!!
You helped me a lot!!!
Thanks a lot mate.
Edit: will use this on my girls gt540.
These typos was sent from my Nexus S [I9023]
custom rom??
I use this method more than 2 or 3 month, thats nothing new. Mur4ik Swiftdroid roms use this method, automatically find&use SD card's swap partition.
Before that, i made a video for my 2.1 Ultimate rom, how to partition SD card under windows to use swap&ext partition. (I use swapper for swap and joe's autoapp2SD in my ROM) Sometimes it not possible because compatibility problems between win&card readers but newer CWM recoveries able to partition cards.
yeah like i said androidboss did not know how to do this so i made this. others may also find is useful so why not make it public ??
bs828 said:
yeah like i said androidboss did not know how to do this so i made this. others may also find is useful so why not make it public ??
Click to expand...
Click to collapse
hahaha!!!
yeah thanks !!!
i tried it today and it works fine!!!
should be useful if we we ever get ICS
hi, tnx for guide... folowing it i found out that me sdcard was formated like super floppy, maybe that was cose of sdcard unmounting.
LoL hope it helped
Just tried it, works like a charm
Im quite a newbie in this, how exactly does swap and ext porticions work and what do they do ?
the memory card you are using is in a fat32 format so by partition it to let say a ext3 file type you can store apps on it(if im not wrong the phone's memory is also ext3) swap works as addition external ram used to run apps
Where can I find recovery 5.0.2.3?
Sent from my GT540 using Tapatalk
jasper580 said:
Where can I find recovery 5.0.2.3?
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
lavero burgos' mediafire-folder
http://www.mediafire.com/?dc647azbpozp2#vhlcnb75m7yq7
always the first thing for me if i need something ;D
bs828 said:
the memory card you are using is in a fat32 format so by partition it to let say a ext3 file type you can store apps on it(if im not wrong the phone's memory is also ext3) swap works as addition external ram used to run apps
Click to expand...
Click to collapse
thats true except the phones memory is yaffs2
I'm running CM9 Android 4.0.3
http://mikegapinski.androidus.pl/android-4-0-ice-cream-sandwich-aosp/
I've done everything like the tutorial says, but I had older clockwork recovery 2.5 I guess something like that, and I've done the same thing in recovery selected advance>partition sdcard> EXT3 and selected 2gb then selected 256MB Swap, but when I run the OS and enter free in terminal it says swap 0.
What could have caused the problem?
Thanks in advance!
vita94 said:
I'm running CM9 Android 4.0.3
http://mikegapinski.androidus.pl/android-4-0-ice-cream-sandwich-aosp/
I've done everything like the tutorial says, but I had older clockwork recovery 2.5 I guess something like that, and I've done the same thing in recovery selected advance>partition sdcard> EXT3 and selected 2gb then selected 256MB Swap, but when I run the OS and enter free in terminal it says swap 0.
What could have caused the problem?
Thanks in advance!
Click to expand...
Click to collapse
look in root explorer (or any root file manager), in folder etc/init.d
if there isnt script called 07swapon, the swap wont active. and afaik, mike's ics doesnt have this script. u must add it manually.
Yes take 1 from any rom
How can I open *.img files so I can get the 07swapon file?
Can you give me the download link for swapon file?
I have just recently flashed my old G1 to the following
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have only 9 apps installed and I keep getting the 'low on space' message. I can't even update my current apps without getting this message. Any suggestions.
Another question I have is how can I install the Google Talk app? Thanks
Sent from my GT-P6800 using xda premium
well how much space do those apps take? are you putting them on sd? sdext? internal memory? you can use cmtd if you want more room for apps in iternal, you can partition sd card to put apps in ext3 or ext4 if you'd like. you can move them to the fat32 partition but they would be much slower
as for gtalk, just google search "googletalk.apk download" push it with adb or use a file explorer to download it to your phone
Sent from my HTC Vision using xda premium
demkantor said:
well how much space do those apps take? are you putting them on sd? sdext? internal memory? you can use cmtd if you want more room for apps in iternal, you can partition sd card to put apps in ext3 or ext4 if you'd like. you can move them to the fat32 partition but they would be much slower
as for gtalk, just google search "googletalk.apk download" push it with adb or use a file explorer to download it to your phone
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
thanks for the .apk now i just need to figure out how to partition th sd card
ps. i decided to try out CM5, so far it is a lot faster than the rom i had originally flashed. will keep an eye on memory issues.
you have amonra recovery right? back up exerything from sd card to pc, boot to recovery choose partition sd, choose 512mb and no swap, the rest fat32 (this would be my preference but do as you please) wait until finnished, change ext2 to ext3... wait (you can stop here but I prefer ext4)
now put what you want back on sdcard. I beleieve your rom has the ability to automaticly move apps to ext, check in settings... if not that you may have to enable it via terminal
Sent from my HTC Vision using xda premium
demkantor said:
you have amonra recovery right? back up exerything from sd card to pc, boot to recovery choose partition sd, choose 512mb and no swap, the rest fat32 (this would be my preference but do as you please) wait until finnished, change ext2 to ext3... wait (you can stop here but I prefer ext4)
now put what you want back on sdcard. I beleieve your rom has the ability to automaticly move apps to ext, check in settings... if not that you may have to enable it via terminal
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
thank you for the quick tutorial, with cm5 i now have 40.9mb of phone storage(after installing facebook) and 1.77gb on external card. i dont see installing many other apps as this will be a backup phone to my current Galaxy Tab P6800, plus i also have a Galaxy S phone to use as back up as well.
I have TWRP recovery and went to Format my phone through TWRP.
After formatting it says in Windows Explorer 50.5 GB free of 53.6 GB.
When I click into the phone in Explorer there are not files and nothing shows up. Is this normal for internal Storage for the phone after a clean wipe?
ForcedZucchini said:
I have TWRP recovery and went to Format my phone through TWRP.
After formatting it says in Windows Explorer 50.5 GB free of 53.6 GB.
When I click into the phone in Explorer there are not files and nothing shows up. Is this normal for internal Storage for the phone after a clean wipe?
Click to expand...
Click to collapse
EDIT: I misread your question and do not know the answer.
64gb?
Sent from my LG-K530 using Tapatalk
ForcedZucchini said:
I have TWRP recovery and went to Format my phone through TWRP.
After formatting it says in Windows Explorer 50.5 GB free of 53.6 GB.
When I click into the phone in Explorer there are not files and nothing shows up. Is this normal for internal Storage for the phone after a clean wipe?
Click to expand...
Click to collapse
Mine is also the same
jimchee said:
64gb?
Sent from my LG-K530 using Tapatalk
Click to expand...
Click to collapse
Yes this is for the 64GB version.
Here is what file manager is saying, after I have setup the phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The 6GB of 'other' can't be found when browsing the phone.
Sent from my ONEPLUS A3000 using Tapatalk
OP: Did you format it f2fs or ext4? There's approx a ~5 G difference. F2fs leaves less than ext4.. (well, it's faster too for writes, so .. I think well worth it).
It's ok to show that way if you have data on f2fs [emoji4]
Sent from Funk Tuned 3T
i have the same issue and i have been trying to solve it because i remember i had 53 GB free space out of the box. now i messed up something and i have 17 gb only free data partition. any ideas?
Funk Wizard said:
It's ok to show that way if you have data on f2fs [emoji4]
Sent from Funk Tuned 3T
Click to expand...
Click to collapse
Man that Daft Punk logo is epic!
If you're feeling bold you can do some trial and error and allocate your own partition space. But by default you are not going to get all 64gb of the 64gb advertised. Disk space is quite a finicky thing where some storage devices are made better than others. Mine for instance with all my stuff installed with FreedomOS i have 57GB on my phone usable. I don't really do pictures though and hardly have many apps. Its just how technology is. I wouldnt really suggest any manual allocations to specific partitions because you could choke the phone causing either a boot-loop issue or a full bricking of your device. If you need more space you can hop down to best buy and purchase a smartphone external hard drive. Believe it or not phones can actually recognize flash drives and send files to them independently.
i have just formatted my storage in twrp and changed it to EXT4 and to me also its showing 50GB free of 53.6
Seem like some space are reserved for driver image drive which are usually shown up during connecting a PC.
This happened to me when I was changing filesystem (f2fs -> ext4 , and/or ext4 -> f2fs). I would connect my phone to my pc and it would show completely empty storage with around 50gigs free and without any of the usual android system folders. I ignored it and simply went ahead with rom installation from twrp and there were no problems.
Yes, it is normal after you switch /data filesystem