how to turn on SWAP w/ swap partition - G2 and Desire Z Q&A, Help & Troubleshooting

I made a swap partition w/ CM7 Elitemod and when I type 'free' in terminal, i get straight 0's
How do I enable swap? I wanna test it out

There are many guides out there. Im not sure what cm7 requires you todo but i know with virtuous roms you need to enable it after you vcreate the partition. This is done with a nice script that is placed in the root of your sdcard. You also need to reeneable it everytime you flash a new rom.
Sent from my HTC Vision using Tapatalk

shortlived said:
There are many guides out there. Im not sure what cm7 requires you todo but i know with virtuous roms you need to enable it after you vcreate the partition. This is done with a nice script that is placed in the root of your sdcard. You also need to reeneable it everytime you flash a new rom.
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
I've run 2 scripts now found in the G2 dev forums and they both error out when running them, problems with syntax errors
Can someone recommend one that works for them on CM7?

You don't need swap on CM7, G-Lite, Google AOSP type roms. However if you want to test it out you can find the guide at the Virtuous site. Honestly on Google AOSP it won't do much, but maybe limit how much time you have with your sd card. Also the kernel needs to support swap so that may be why some people are getting errors.

On cm7 the effects can be for the worse. Also, u need a kernel that supports it.
Sent from my HTC Vision using XDA App

per your guys' advise, I am abandoning the idea of a swap partition.
Thanks

Related

[Q] How can I remove DarkTremor's Script?

I can't seem to find the post and/or thread for this
[Question]
How can I remove DarkTremor's Script from a rom that already has it installed into it?
I'm looking for the way to remove his script from a rom that already has his script in the rom.
I'm not saying that his script is bad or anything; I just want to test something and DT's script might conflict with it
Thanks in advance!
Well the only way really is flash a diffrent rom like sense, since it doesn't support DarkTremor or back up everything on your sd card and format it.
Sent from my HTC Desire Z/G2 using XDA Premium App
lainvalenajr said:
Well the only way really is flash a diffrent rom like sense, since it doesn't support DarkTremor or back up everything on your sd card and format it.
Sent from my HTC Desire Z/G2 using XDA Premium App
Click to expand...
Click to collapse
That's not true actually, in the past I've used sense and darktremor's script and it worked.
Thanks anyway, but I'm looking for a way to 'remove' all scripts related to his script so it doesn't conflict with another script I'm going to be using
So the ROM package has it built in? I'd just find a similar ROM (if it's based off CM or MIUI) and flash that. The only other way would be to delete all the scripts in your ROM that you find in DT's A2SD package. Though insterting it pre-flash while the ROM is being built goes about installing it a bit differently I think but hopefully you can figure out what it does and reverse it.
derykisonder said:
That's not true actually, in the past I've used sense and darktremor's script and it worked.
Thanks anyway, but I'm looking for a way to 'remove' all scripts related to his script so it doesn't conflict with another script I'm going to be using
Click to expand...
Click to collapse
Oh I see. Really every time I go to a sense rom, I can't make any the commands work but maybe that's just me... am not really to sure then.
Sent from my HTC Desire Z using XDA Premium App

A2SD vs D2Whatever vs D2Ext

Hi all.
Can anyone explain the advantages of the 3 modes listed? I currently use A2SD+.
Sent from my HTC Desire using XDA App
omfg this has been explained so many times, and each have a separate thread on here somewhere, so it should not be that hard to do some searching yourself.
But the latter too moves the data partition to the ext-partition or if you use some other filesystem, a2whatever can let you use that partition on the sd-card. This gives you the possibility to have almost unlimited space for data and apps, but the sd-card is quite a lot slower than the flash memory, so it is easy to see the slowdowns in everyday use if you ask me.
a2sd is when you only move /data/app and possibly /data/app-private to the ext-partition. This doesn't slow the system down as much as a2sd+ or d2sd, because all the important files are kept internally, whereas on a2sd+ dalvik cache is moved as well.
Ok, so maybe I should have been a bit more clear. I have read the threads and I understand the general principles. I was more interested in knowing the practical aspects. With A2SD + for instance of you don't format the extended partition you have all your applications there after installing the ROM. But you loose configuration. Do any of the others preserve all data and apps? As in, after an installation of a new ROM, all is ready to work?
Sent from my HTC Desire using XDA App
You would most likely get bootloops. When you flash a new rom, it is advisable to wipe everything. Each rom that has a2sd or what ever has different scripts.
Sent from CM7
Meaple said:
You would most likely get bootloops. When you flash a new rom, it is advisable to wipe everything. Each rom that has a2sd or what ever has different scripts.
Sent from CM7
Click to expand...
Click to collapse
Thanks. Based on this I think I'll be moving over to an a2sd rom soon.
Don't use a2sd+ , at least from my experience (at using and flashing all possible roms..Sense roms that is) D2SD (aka D2ext) is by far the best and most stable/fastest depending on your SD card It actually (kinda) adds the ext partition to your internal mem,so you don't have to have an app to check the status and info of your ext/a2sd parition
aca85 said:
Don't use a2sd+ , at least from my experience (at using and flashing all possible roms..Sense roms that is) D2SD (aka D2ext) is by far the best and most stable/fastest depending on your SD card It actually (kinda) adds the ext partition to your internal mem,so you don't have to have an app to check the status and info of your ext/a2sd parition
Click to expand...
Click to collapse
Hummmm... sounds interesting.
Sent from my HTC Desire using XDA App
Currently running iNsertCoinHD Data++ and that's quite fantastic
Really smooth experience...
cgmorris89 said:
Currently running iNsertCoinHD Data++ and that's quite fantastic
Really smooth experience...
Click to expand...
Click to collapse
But would you say it's faster than A2SD?
Sent from my HTC Desire using XDA App
Yeah I'd say so...can't be certain though, its all quite relative isn't it?
Sent from my HTC Desire

[Q] Storage on the MT3G slide running Salsa rom

I am having an issue with this rom and storage space.Everytime I flash it comes back and tells me that I`m low on storage and need to free up room.But I have plenty of space when I run cm7.Does the kernel have anything to do with this?Didnt want to run the different kernel without maybe a little advice first.Thx
sci3434 said:
I am having an issue with this rom and storage space.Everytime I flash it comes back and tells me that I`m low on storage and need to free up room.But I have plenty of space when I run cm7.Does the kernel have anything to do with this?Didnt want to run the different kernel without maybe a little advice first.Thx
Click to expand...
Click to collapse
Dont install another kernel, Salsa Slide was build to run only on NB's kernel... the newest update to Salsa Slide seems not to have this problem, that is if you have a ext2/3/4 partition on your sdcard
Thanks izzy....any quick tips on doing the ext 2/3/4? Yes I know the answer is on XDA but if u could point me in the right direction that would be great
Sent from my T-Mobile myTouch 3G Slide using XDA App

Problems with my HTC Wildfire S CDMA

S-offed and rooted when I first got it. Removed all the bloatware, and got some needed space back. Tried to install custom ROMS that I found off of xda. When flashed the Rom with unofficial cwm recovery, the phone booted back up, but with no signal. When trying to connect through WiFi, under the quick settings option said "Error". Cannot use WiFi or get a signal. Was wondering if it had anything to do with the bootloader not being unlocked. Went to htcdev.com to unlock bootloader, downloaded the Rom update utility for the virgin mobile wildfire s, the ruu told me my Rom image needed updated. After starting the update, phone reboited with the silver HTC on the screen, then shut off and restarted only to be told by my computer that there was a "device id" error. Anyone know why no signal with custom flashed ROMS? Thanks.
TheKnux said:
S-offed and rooted when I first got it. Removed all the bloatware, and got some needed space back. Tried to install custom ROMS that I found off of xda. When flashed the Rom with unofficial cwm recovery, the phone booted back up, but with no signal. When trying to connect through WiFi, under the quick settings option said "Error". Cannot use WiFi or get a signal. Was wondering if it had anything to do with the bootloader not being unlocked. Went to htcdev.com to unlock bootloader, downloaded the Rom update utility for the virgin mobile wildfire s, the ruu told me my Rom image needed updated. After starting the update, phone reboited with the silver HTC on the screen, then shut off and restarted only to be told by my computer that there was a "device id" error. Anyone know why no signal with custom flashed ROMS? Thanks.
Click to expand...
Click to collapse
Have you been flashing GSM roms? If so i believe this have been caused because of that. Roms that you should flash on your phone should be CDMA only.
I'm not sure. I mean I'm pretty sure they're CDMA roms cause I searched "htc wildfire s virgin mobile cdma custom roms" on Google and found like 5 or 6 roms. I've been trying to get some sense 3.5 roms for it but I've been having problems with no service.
If you go to the Wildfire S Android Development section, there are several active threads for Marvelc phones.
Try:
-[Rom] [Kernel] [Soff] [Many More] Team MarvelUSc which has a ton of stock ROMS and custom ROMs.
-[WFSDEV][AROMA] .sense, a customizable Sense 3.5 ROM for the Wildfire S & Salsa which is a Sense 3.5 ROM with some Marvelc support (some users have reported issues).
-[WIP] [ROM] [AOSPKERNEL] SSCM7 for CDMA Wildfire S which works with bugs with MMS and the camera.
One of those should work for you. These are just some examples of popular threads. There are many, many more ROMs out there.
Thank you. Sorry for being lazy and not looking through all the threads, there are just so many out there and I don't always know exactly where to look. That's why I just made my own topic so I could get some user/dev advice quicker. Also, does Astro File Manager let you change folder permissions such as read/write? I.e. I'm trying to delete the virgin mobile boot animation and it wouldn't let me.
ASTRO does not permit you to change root directories as it does have root privileges.
It is best to use Root Explorer or Root Browser, or something similar.
I use Root Browser and never have any issues and it's free. You can easily change permissions, copy & paste files and folders, etc. I have never personally tried Root Explorer.
Thank you for l the replies. Thought I wouldn't hear anything back for awhile. Gonna download root browser and try that out. Got the playstation one boot logo with sound and wanna try it out but gotta get rid of the vm one first cause its really obnoxious. If anyone has cdma roms or come across any will you post them in this topic so I can try them out?
I'm running jmz's v1.5 right now, just make sure u partition your SD card for it.
Sent from my HTC_A510c using xda premium
Is it a sense 3.5 rom and if so could you provide the link for me so I can test it? I have a 32gb SD card with 28gb free. How much should I partition it?
I partition 512mb and about 60 swap run dalvik off sdcard using app2sd. Works great. Really smooth 2.1 rom.
P.S. kernel oc's to 806 mhz
Sent from my HTC_A510c using XDA
I'm new with the app2sd and data2sd and I'm eerie about messing with it until I read more or get more feedback on it. I did read about increasing my internal storage to 150mb with data2sd and partitioning my SD card but I'm kind of scared to do it cause I'm afraid something will go wrong.
TheKnux said:
I'm new with the app2sd and data2sd and I'm eerie about messing with it until I read more or get more feedback on it. I did read about increasing my internal storage to 150mb with data2sd and partitioning my SD card but I'm kind of scared to do it cause I'm afraid something will go wrong.
Click to expand...
Click to collapse
The internal storage is 150mb all the time unless u use a partition. It's very simple to do, just make sure u copy all your music, pix, etc to a computer before making the partition as this will format your card.
Sent from my HTC_A510c using xda premium
TheKnux said:
I'm new with the app2sd and data2sd and I'm eerie about messing with it until I read more or get more feedback on it. I did read about increasing my internal storage to 150mb with data2sd and partitioning my SD card but I'm kind of scared to do it cause I'm afraid something will go wrong.
Click to expand...
Click to collapse
Its very easy. If you don't have anything worth saving on your sd card (or if you do, back it all up on the computer), go to recovery choose advanced then partition sd card. Then it will ask you the size. Choose whatever you want. I chose 1GB just to be on the safe side in case i decide to go app crazy. Then everything else is automatic.
If you want to go further and free up more of your /data partition use the apps2sd app and move dalvik-cache to SD.
What apps2sd program do I use and where can I get it?
If u r using jmz's rom it has the apps2sd GUI app preinstalled. U can use it to move dalvik cache to SD, zipalign on boot, etc, but once u make the partition and install the ROM, your apps will automatically move to your SD partition. No need to do it manually.
Sent from my HTC_A510c using xda premium
Im not using any custom roms at the moment because i cant find any that will work for my phone. The roms will load but my virgin mobile service wont start-up and i keep getting phone.Android is not responding message.
TheKnux said:
Im not using any custom roms at the moment because i cant find any that will work for my phone. The roms will load but my virgin mobile service wont start-up and i keep getting phone.Android is not responding message.
Click to expand...
Click to collapse
Use my Rom. Works perfectly with virgin mobile as that's what I have
Sent from my PG41200 using XDA Premium HD app
TheKnux said:
Im not using any custom roms at the moment because i cant find any that will work for my phone. The roms will load but my virgin mobile service wont start-up and i keep getting phone.Android is not responding message.
Click to expand...
Click to collapse
Make sure u have cwm 5.0.2.6 if u have a different one u could run
Into problems, also check your hboot. I'm on 1.06 and recommend the same. Also make sure u r clearing dalvik cache, formatting boot, data, system, cache, and SD ext before installing ROM. I would also create a new partition of 512, so it will be a completely clean install. If u have done everything right u will have no problems, if something wrong has happened, most likely it was an error u made and can be fixed.
Sent from my HTC_A510c using Tapatalk
If your phone is acting funny you could try superwipe by simonsimons. I did just because I was flashing so many roms and mods everyday
He has also posted original stock ruu's. I recommend jmz's rom it's been working perfectly, and I've tried the others. Most mods have flashed without issues.
Sent from my HTC_A510c using XDA
I partitioned my SD card for 4gb with a 256mb swap (which I don't quite know what that means) I have a 32gb class 10 SD card and I don't even use a 1/3 of the space so I figured I'd partition using the biggest option available. I flashed jmz's rom and everything went okay. I currently have 102mb of internal free by using the link2sd method and I ended up flashing back to the stock vm Tom cause I didn't like how jmz's only had around 56mb free. Is there any way to get more than 56 or is that cause all of the stuff on the rom?

rom with more space

hi everyone, a friend of mine has a desire (stock rom) and always the problem that the internal capacity is full. now we are looming for a stable rom which basicly has sd card limit for apps and is not restricted to the intetnal one.
ive read quite a lot here and lokked at some roms and have some favorites, but i would like to get some input from actual desire users what rom they use and how the situation is with the app storage space.
so what rom do you use?
and hows the app storage situation with the rom?
Sent from my Galaxy Nexus using xda premium
grognaz said:
so what rom do you use?
Click to expand...
Click to collapse
you're going to get confusing answers from this question in my opinion, though you could try here. if you want stability at the moment stick with GB roms.
best bet would be to browse through a few in the development section, see what your friend wants, rather than what other people tell you is the BEST ROM EVER
grognaz said:
and hows the app storage situation with the rom?
Click to expand...
Click to collapse
virtually all of them will have raised the limit on app storage using various scripts, which is one of the main reasons of custom roms on desire in the first place
each rom will have their own requirements, but generally need an sd-ext partition (use 4ext recovery or gparted) and/or a hboot partition table.
i've always found this guide useful in understanding root/memory stuff.
grognaz said:
hi everyone, a friend of mine has a desire (stock rom) and always the problem that the internal capacity is full. now we are looming for a stable rom which basicly has sd card limit for apps and is not restricted to the intetnal one.
ive read quite a lot here and lokked at some roms and have some favorites, but i would like to get some input from actual desire users what rom they use and how the situation is with the app storage space.
so what rom do you use?
and hows the app storage situation with the rom?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Supernova,by Droidzone, just do a 2gig ext4 partition and you will have 2gig of internal memory.
This Rom is base on stock 2.3 and is tweak for the better. Super smooth and your low memory days are over. Don' t take my word try it yourself
my HTC Desire runs actually BCM cyanogenmod9 with a data++ hboot
Anyway, you could get free space without changing rom and avoid using sd card ext (which might introduce some lags), by flashing the bravo Sense hboot (saving 70MB and keeping HTC Desire's stock rom).
That's my point, but it depends on your friend's rom preferences
thanks all for the feedback, actually i looked yesterday at some roms and supernova was one of the roms i considered since its aosp based, the other would be mildwild which is cm7 based, i guess i will just add my friend what suits her better and then go with that.
any bugs or other issues i should be aware with theae roms?
oh and i think the device has 5.11....radio i think. will that cause problems?
Sent from my Galaxy Nexus using xda premium
I just converted to mildwild 4.1.9 and can vouch for it being very impressive. I have setcpu app on it and now have 75% battery at the end of the day. I have a 16GB SD card and loads of storage so far, but I must say I am more disciplined with what I install now, as I used to gum it up with anything and everything! Mine is a desire GSM btw.
Sent from my HTC Desire using XDA
grognaz said:
supernova was one of the roms i considered since its aosp based
Click to expand...
Click to collapse
It's not AOSP. But Stock HTC Sense with scripts and some mods.
i noticed and im not to impressed by it but mildwild 5 got bootloops. gona try 4.9 or a pure cm rom in the coming days
Sent from my Galaxy Nexus using xda premium
grognaz said:
i noticed and im not to impressed by it but mildwild 5 got bootloops. gona try 4.9 or a pure cm rom in the coming days
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Oxygen rom is worth a look. AOSP rom that is closest to stock Gingerbread that you'll gonna get for desire. Just use the custom hboot for it found in http://alpharev.nl. (s-off required) and EXT partition on the sd card and it should give you one of the most stable rom with decent space for your apps.
check http://oxygen.im to get the rom.
iv been using mildwild oxygen the past week and got no complaints, i used runnymede aio as my "stock" rom and always went back to it lol but i honestly cant see myself going back this time
Sent from my HTC Desire
thnaks a lot for the feedback,
we tried mildwild oxygene but after one day and 5 self reboots its clear this is not stable at all.
now i have an other question, i flashed cm 7.2 with full wipe but the device always booted/rebooted into recovery... what can be the cause of that? mithg we have some partitioning problem here?
or something else thats wrong?
i partitioned the sd card with the cwm (1gb ext, 32mb swap) that gets installed with rom manager (5.0.2 or so i think).
if this is the problem, would be awesome to get a link to what we need to make cm 7.2 work. thanks.
lol mildwild oxygen not stable? probably 1 of the top 3 most stable roms iv used. using it now, not 1 single problem.
Sent from my HTC Desire
jmcclue said:
lol mildwild oxygen not stable? probably 1 of the top 3 most stable roms iv used. using it now, not 1 single problem.
Sent from my HTC Desire
Click to expand...
Click to collapse
well thats nice for you, but my friend got lots of reboots so i dont consider this stable at all and we need to try somethig else.
i guess its like oc/uc nor everything works for every device.
that is nice for me. also could have something to do with that rom manager and partitioning ur sdcard with that crap cwm
Sent from my HTC Desire
jmcclue said:
that is nice for me. also could have something to do with that rom manager and partitioning ur sdcard with that crap cwm
Sent from my HTC Desire
Click to expand...
Click to collapse
maybe you could mention something better instead of just calling cwm crap?
well maybe if u wasnt so cheeky i would of. cwm is known to make bad partitions so maybe try 4ext recovery or gparted to partition. i use 1gb ext4 and rest fat32 (no swap) with mildwild oxygen and iv had no problems so maybe try 4ext recovery
Sent from my HTC Desire
thanks for the information, i will check the partitions today with gparted and probably reformat. i created a 32m swap partition and i dont know if cwm created a ext3 or ext4 partition so that might be the problem...
i did not intend to be "cheeky" (and not sure if i understand it correctly, sometimes im getting a bit upset when people post something like: " it works for me." and do not think about adding some info what could be different:O
if ur gona use mildwild oxygen i dont think u will need a swap size when u partition sdcard, just do a 1gb ext4 or 1.5gb max and the rest fat32
Sent from my HTC Desire
Hi
new ICS 4.0.4 by sandvold is very smooth and you can have alot of internal memory.
eddiehk6 said:
you're going to get confusing answers from this question in my opinion, though you could try here. if you want stability at the moment stick with GB roms.
best bet would be to browse through a few in the development section, see what your friend wants, rather than what other people tell you is the BEST ROM EVER
virtually all of them will have raised the limit on app storage using various scripts, which is one of the main reasons of custom roms on desire in the first place
each rom will have their own requirements, but generally need an sd-ext partition (use 4ext recovery or gparted) and/or a hboot partition table.
QUOTE]
+1
I am using MW based on Oxygen v4 with a SD-EXT partition of 1GB and set-up with APPS+DATA to SD-EXT. Don't think I am close to running out of space. I have 104 apps installed including the big ones like Google+/Skype/etc.
Check out this thread with practically links to every ROM available for desire. I usually scour this link to check for updates.
http://forum.xda-developers.com/showthread.php?t=809328
Click to expand...
Click to collapse

Categories

Resources