[Q] Swap - T-Mobile LG G2x

OK I Know swap i useless BUT i have my reasons so PLEASE DONT JUST ANSWER WITH "insert generic warning about swap being useless here". i have been trying for 3 days now to get swap to work but with no luck and in fact bricking my phone (i fixed it btw). I have used swapper 2 and have had no luck with that, either with a partition or with a file. i have tried a ton of bash commands in terminal, but with all just a fail notification. i have a swap partition on my sd card in the right setup of -fat32 13GB- -ext 2 256MB- -SWAP 1GB- all set to primary. im on CM7.2 stable and as far as i knew swap was enabled on the cm kernel. i could be wrong and that is why im here. any help would be awesome.

I don't know why swapper 2 wasn't working for you. I used to use it, more harm than good honestly, but SetCPU would show the changes and increased swap file size. I do recall I had trouble getting it started and used ESfile explorer to manually create a blank file with the name swapper2 used and than restarted swapper2 it went through successfully. Set it for set at boot and it was there every time.
Make sure you didn't accidentally deny it in your superuser logs.
Sent via Acer Iconia A100 on CM10_Build090212; godmachine v2.0 kernel, Smooth, Stable, Fast

Where did you put that file? I know I need to direct it to /dev/block/mmcblk1p3 before it was pointed to the internal memory so that is why it bricked.
Sent from my LG-P999 using xda app-developers app

Btw I have a 16 Gb class 10 card I got for $15 so I don't care if it dies fast. And it is a legit card, got it from staples.
Sent from my LG-P999 using xda app-developers app

projectzro said:
Btw I have a 16 Gb class 10 card I got for $15 so I don't care if it dies fast. And it is a legit card, got it from staples.
Sent from my LG-P999 using xda app-developers app
Click to expand...
Click to collapse
the file was on root of my microsd card.
Sent via G2x on CM7 b135.1 w/faux 52 kernel

swap.swp is my extra swap file. it is in addition to the sysyems regular swap file. i think your trying to redo the entire swap file which caused crash imo. just do the expansion on ur microsd card.
Sent via G2x on CM7 b135.1 w/faux 52 kernel

I was trying to avoid the file seeing as the partition works better anyway but I suppose it would save me some time
Sent from my LG-P999 using xda app-developers app

well long story short it didnt work. tried the swap file thing and that didnt work. the partition didnt work with either cwr or gparted or mini tool. i just give up

I've had this issue before when I got into the whole thing for swap, what you might need to do is disable compcashe. It creates a swap file on its own and will over ride any other swaps in my experiences. By default it creates about 96mb in internal memory but if you can deal with that then I'd say stick with it cause its much faster than SD card. But try it see if it works. Then decide if you need more than 96mb.
Sent from my LG-P999 using Tapatalk 2

Related

cyanogen with a2sd, partitioned, dalvik on sd

Could somebody PLEASE give me walk through of the holy grail here? I have rooted my aria and loaded cyanogen nightlies many times, but when it comes time to format and get a2sd working on a partitioned card I fail miserably. I seem to run into issues when the guides mention to go into recovery and partition the card. I am running clockwork and can't find the right partition menu. I tried a method involving adb and could not get a file to push, downloaded darktremor and got an endless htc screen boot loop, and at this point my phone may as well be a missile to my computer screen. I am a noob, but not entirely unfamiliar, just some sort of help getting to that last screen where I see lots of phone memory and can finally lay off deleting apps to add one.
Thanks and I hope someone is out there willing to help!
Can't give you a link from here, but I can encourage you to look for a forum that discusses Ext3 partitioning using a live ubuntu cd. You may have rooted using a similar method. I'll try to remember to send you a link when I get home. Search until then. Post if you find it.
Sent from my (liberated) HTC Liberty using XDA App
Why not just use Rom Manager to partition the card?
I tried that many times but it never worked. It always hung up on the ! triangle screen. I had no problems with the live cd method.
Sent from my (liberated) HTC Liberty using XDA App
Found the link...
androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
I did this but went with ext3. I actually practiced with an older SD card until I got it right. The order of partitions is important. Fat32, ext, then lswap. Read around about recommended sizes. For an 8GB card I went with 6.5gb/1gb/32m.
Sent from my (liberated) HTC Liberty using XDA App
duckredbeard said:
Found the link...
androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
I did this but went with ext3. I actually practiced with an older SD card until I got it right. The order of partitions is important. Fat32, ext, then lswap. Read around about recommended sizes. For an 8GB card I went with 6.5gb/1gb/32m.
Sent from my (liberated) HTC Liberty using XDA App
Click to expand...
Click to collapse
Skip swap. Should not need/use it on a 512K ram device.
Edit: I know specs say less - specs are wrong! Liberty has the same memory as the N1.
I did it as a precaution. My SD is waaaaaay oversized and figured I could afford to waste 32mb.
Sent from my (liberated) HTC Liberty using XDA App
duckredbeard said:
I did it as a precaution. My SD is waaaaaay oversized and figured I could afford to waste 32mb.
Sent from my (liberated) HTC Liberty using XDA App
Click to expand...
Click to collapse
and I am running out of space on a 16 gb card. 12gb mp3s and 600+ pictures will do that.
attn1 said:
Skip swap. Should not need/use it on a 512K ram device.
Edit: I know specs say less - specs are wrong! Liberty has the same memory as the N1.
Click to expand...
Click to collapse
thanks for this attn. i had seen posts about swap on other devices and wondered if it would help my aria. i'm glad i didn't try to set it up...
Thanks everone for responding. This is where I am with the partition. So when I put the card the phone and mount sd card it shows the same amount of memory in the phone (77.26) when I added a gig of ext2 in gparted.
Do I need to go back into gparted and charnge the ext2 to ext3? Or is this an issue where I need to change something in the phone I am missing. I did reboot after putting the card in.
You won't see any increased capacity there. What you will see after apps2sd is working is that the amount of internal used will go down. I had to reinstall apps2sd after I did the partition, even though darktremor's apps2sd came with my ROM. It defaulted to off because it saw no ext partition upon ROM installation.
Sent from my (liberated) HTC Liberty using XDA App
So I wipe data and flash a cyanogen nightly it will automatically pick up a2sdext and show the proper storage data?
Sent from my Liberty using XDA App
I haven't been in this position myself (always clean installs since using a2ext) but I believe if you have darktremor's a2sd installed and have ext on your sd card, but apps are still on the device, you can do:
su
a2sd reinstall
in the terminal app on the device and it will move all apps from device memory to the ext partition. not sure how this behaves if you have any apps on sd via the standard froyo method....
I don't have a problem wiping data, dalvik and cache since I backed up everything. Going to give it a shot here...
Sent from my Liberty using XDA App
Fwiw, I have been using this method up until this release candidate. Seems broken now.
Sent from my Liberty using XDA App
Ok, so I tried wiping data/cache/dalvikr then flashed cyanogen nightly 99 and it still only showed 138m internal memory. So then I tried downloading darktremor and flashing the zip from clockwork which gives me infinate htc white bootscreens. Then I tried wiping again and flashed the darktremor zip and then cyanogen 99 and the phone booted up, but when I check internal memory I am at 123m. Am I just completely missing something here?
You are likely seeing dalvik. If you have a good SD card, do su in a terminal and then a2sd cachesd. The phone will reboot.
That moves dalvik to SD as well.
Sent from my Liberty using XDA App
BelacNongaw said:
You are likely seeing dalvik. If you have a good SD card, do su in a terminal and then a2sd cachesd. The phone will reboot.
That moves dalvik to SD as well.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Says a2sd not found. If anyone has any ideas, I am willing to start from scrap to get this running. BelacNongaw, how did you get yours running? If you don't mind I could try tracing the steps you took and that might work?
Did you type:
su
system/bin/a2sd cachesd
in terminal?

Hd camera recording fails .... Why? Sgs4g

Does anyone else have this prob? This is my second sgs4g and both have same prob. After a while of use.. And then rooting my device my vidwo recording stops like thirty secok nds in although it varies saying recording failed. I do not think its related to.rooting device. Ive changed options destination set default nothing works. Anyone have the same prob or a fix ? Running latest update for sgs 4g and rooted my phone and installed rom manager and cwm recovery sorta. Please reply in post thanks
Sent from my SGH-T959V using XDA App
turtlepa said:
Does anyone else have this prob? This is my second sgs4g and both have same prob. After a while of use.. And then rooting my device my vidwo recording stops like thirty secok nds in although it varies saying recording failed. I do not think its related to.rooting device. Ive changed options destination set default nothing works. Anyone have the same prob or a fix ? Running latest update for sgs 4g and rooted my phone and installed rom manager and cwm recovery sorta. Please reply in post thanks
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
I used to have that problem with my old sgs4g so i sent it back and got a new one. My new one did it once but then i rooted my phone amd flashed a rom amd it stopped. One thing you should do is uninstall ROM manager it doesnt work on our phone so dont use it.
Sent from my SGH-T959V using xda premium
Well not sure about your camera issue but anything you did with rom manager may have issues. Rom manager does not work with the sgs4g.
Sent from my SGH-T959V using xda premium
try this, get sdbooster from market and set your sdcard's cache to 128k. Now try recording.
Somairotevoli said:
try this, get sdbooster from market and set your sdcard's cache to 128k. Now try recording.
Click to expand...
Click to collapse
This is what works for me.
Sent from my SGH-T959V using xda premium
Froyo camcorder used to give just "Write error" message. Newer GB ROMs gives a message saying that SD card is not fast enough.
Flash memory write speed may decline over time comparing to freshly formatted card. I think it has something to do with erasing memory blocks to prepare them to be overwritten. Plus our class 2 card is not the fastest for sequential writes.
On the other hand full HD MP4 stream is only about 12Mbps or 1.5MBps, so theoretically any SD card that can sustain 2MBytes/sec write speed should do.
My card (original class 2) measures about 6 to 10 MBytes/sec (don't think it's real) with SDTools and 3-4MBps with Antutu (more real). At one point the write speed fell down and I started to get camcorder failures. I had to do full reformat to make it work again. I also used 32KB cluster size during formatting, it makes the card a little faster but sacrifices some space.

Internal Sd mount

Hello does any one know how to mount internal sd on cm9 because I don't have an external sd card.
Thank you
Sent from my HTC Amaze 4G using XDA App
Need an external sd
Sent From Space Using My ICS Flavored Sensation
No I'm pretty sure you can use internal memory
Sent from my HTC Amaze 4G using XDA App
http://forum.xda-developers.com/showpost.php?p=22569708&postcount=203
try the second method
Ok i can't get either method to work. I've tried editing it myself and I used your zip.
Whats strange is, I scrubbed everything with the g2x scrubber AND i wiped everything manually. I still get this stupid issue with the SD card and also, a Background from my previous rom loads up all of a sudden????
I know a lot of people got this working and all but damn, this has to be the worst rom I've ever dealt with in terms of getting this to work.
I was working on this last night, DO NOT MESS WITH THIS STUFF IF YOU DON'T KNOW WHAT YOUR DOING!!!! I wiped the internal partitions and it took me a good 4 hours to get my baby back!
It's gonna have to wait till a ROM dev adds the function back into cm 9. I was trying to change all of the necessary files myself, i figured that the file system was close enough to Linux for new to figure it out, like spare parts did in cm7.
but it ended up in a real nasty soft brick.
Seriously, messing with your vold.fstab can f up your recovery partition and make it so you can't get into recovery, and you can't reflash it because the partition tables aren't there.
Sent from my LG-P999 using Tapatalk
Arcee sk3 has a setting for internal storage settings>storage> hit menu button>storage config and select internal storage.. haven't actually tried to connect to PC yet

[Q] Root/SD card question

Ok, so I've rooted my Wildfire S, flashed CM7 on it, with the updated gapps files (gapps gb)
My question is this...Do I need to keep all those files on my SD card? Or can I remove them?
Also, having an "H" icon for my data is better than 3G, correct? everything I've read says that, but I'd like to know from a DAMN good source (you guys)
xxjdm said:
Ok, so I've rooted my Wildfire S, flashed CM7 on it, with the updated gapps files (gapps gb)
My question is this...Do I need to keep all those files on my SD card? Or can I remove them?
Click to expand...
Click to collapse
If you've installed all packages you shouldn't need to keep those on the sd card, but best to keep them on your computer in case you need them in the future.
xxjdm said:
Also, having an "H" icon for my data is better than 3G, correct? everything I've read says that, but I'd like to know from a DAMN good source (you guys)
Click to expand...
Click to collapse
Yeah the 'H' is for highspeed access, you'll get that in areas where you have best reception.
Thank you very much. Yeah I still have them on my computer, along with my backup.
I also have one more question, how do I make a partition on my SD card? And should I get a bigger one? I currently have a 2gb
Sent from my Wildfire S A510e using xda app-developers app
Not exactly sure of the context. Why do you want to create partitions?
If you are wanting to create an .ext3/.ext4 partition on which to install apps (I know people did this with the HTC Desire, because of the really low amount of onboard storage), the best tool for the job is a Linux based partition editor called GParted. Just download the live CD iso, burn it to a CD and boot from that.
You should get a new SD card yes.
A 32gb card will run you ~$20 brand new on ebay, just make sure your phone supports that capacity
Link2sd says to make sure you have a partition created on the SD card for whatever reason...I uninstalled it, and forgot what it said, but yeah....same reason. 512mb onboard storage = pure sh*t.
Edit: it says to do that for "symbolic link" whatever that means.
Sent from my Wildfire S A510e using xda app-developers app
Sure, well most apps like that will want an ext4 partition, which like I said can be created using GParted. Plenty of tutorials on youtube I'm sure for using GParted
Ok, thanks for all your help! It's greatly appreciated!
Sent from my Wildfire S A510e using xda app-developers app

[Q] vold.fstab swap mounting time

I recently did the vold.fstab swap of my SD and external SD card locations. I like it very much, but the amount of time it takes to mount the external SD is ridiculous. After every reboot it takes about two extra minutes just to see all the apps and data on it. And when ever I remove it and reboot it usually freezes the lockscreen, then reboots, and only then spends another two minutes searching for all the data. Is this a common problem with this swap method, and if it is, is there any fix for it?
Sent from my Galaxy Blaze using xda app-developers app
aanonymoushuman said:
I recently did the vold.fstab swap of my SD and external SD card locations. I like it very much, but the amount of time it takes to mount the external SD is ridiculous. After every reboot it takes about two extra minutes just to see all the apps and data on it. And when ever I remove it and reboot it usually freezes the lockscreen, then reboots, and only then spends another two minutes searching for all the data. Is this a common problem with this swap method, and if it is, is there any fix for it?
Sent from my Galaxy Blaze using xda app-developers app
Click to expand...
Click to collapse
Ya it will take longer to scan because it has to scan every file on ur sdcard now to run correct including any game files and such before the files were internal and ur read speed will always be faster that way... But what I do is just simplify the file system delete all files u don't need put music in a music folder and pix in ur dcim folder and so on because the more files and file folders u have the longer it will take... also uneeded backups will make it take longer because they r so big... Another thing is when u have them swapped it seems to scan for errors much longer too... And it depends on ur read write cache too I always make sure there's an init.d script or build prop script for 2048kb or more... And one last thing to consider is the class and quality of ur sdcard I have a Samsung class 10 8gb and it's never steered me wrong and if u have a off brand or lower class sd it will corrupt more and Def will give u headaches
So good luck hope I helped
!¡!¡!¡!¡!¡!PLEASE click THANKS if I helped!¡!¡!¡!¡!¡!¡!
Do you know where I can get the script for 2048kb cache, I am running CM 10 and I tried everything but it keeps on returning back to default 128 every reboot.
Sent from my GT-I9100 using xda app-developers app
aanonymoushuman said:
Do you know where I can get the script for 2048kb cache, I am running CM 10 and I tried everything but it keeps on returning back to default 128 every reboot.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Have you tried SD booster from the play store?
Sent from my SGH-T769 using xda app-developers app
anactoraaron said:
Have you tried SD booster from the play store?
Sent from my SGH-T769 using xda app-developers app
Click to expand...
Click to collapse
Yes, it returns back to the original 128 every time I reboot
aanonymoushuman said:
Yes, it returns back to the original 128 every time I reboot
Click to expand...
Click to collapse
Have you fixed permissions already?
Sent from my SGH-T769 using xda app-developers app
anactoraaron said:
Have you fixed permissions already?
Sent from my SGH-T769 using xda app-developers app
Click to expand...
Click to collapse
What permissions?
I believe this one will work for any Rom
But u need to make a file init.d name it like 01tweaks or anything with a number or just add it at the end of another file in that folder
Here it is:
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb; # Set sd card read ahead cache size
!¡!¡!¡!¡!¡!PLEASE click THANKS if I helped!¡!¡!¡!¡!¡!¡!

Categories

Resources