[Q] increasing ram of moto g2 - G 2014 Q&A, Help & Troubleshooting

hi,
i id root my device with your help from net.
now whenever i try to increase ram by swapping with the help of rohesoft ram expander it doesnt work at all
i tried swapper too
even simple root swap is not working
please help

I think you need a custom kernel which supports swap.

Related

Remove Ram Hack from SuperD

Hi,
i want to remove the 10MB ram hack in the SuperD rom, because i want to play some games
i tried to flash the boot.img from the cm 4.2.14.1 rom with fastboot (cm does not have the ram hack included), but then the phone got stuck on the first boot screen.
any idea how to remove the hack correctly?
thanks
as far as i know
he has not released a nonramhack rom
that rom is for pure speed no games
theres some other roms out there without ram hacks try those
but if ur looking for speed>3d than ram hack is the way to go but cyanogen is fast enough if u wanna play games...just partition 32mb swap and 512 ext3 and u should be speedy enough

Droid 3 and Swap

Hi everyone... have a question... It's possible to enable swap support on our droids? and if it's how?. Because I'm tired of everytime a switch from one app to another it kills one of them. Thanks!
bump, after a long search it seems to be imposible because current kernel don't have have swap support and with a locked bootloader we can't change the stock kernel, i hope some day motorola unlock our droids bootloader or someone can do it . If i'm wrong please let me know. Thanks!
I activated a swap file on my Droid 3 using mkswap and swapon as root from the command line. The kernel recognized the swap space, but as soon as the phone ran out of memory and tried to swap something, it rebooted.
I'd be interested in hearing if anyone else has had a different result.
rblanca said:
Hi everyone... have a question... It's possible to enable swap support on our droids? and if it's how?. Because I'm tired of everytime a switch from one app to another it kills one of them. Thanks!
Click to expand...
Click to collapse
nicktastique said:
I activated a swap file on my Droid 3 using mkswap and swapon as root from the command line. The kernel recognized the swap space, but as soon as the phone ran out of memory and tried to swap something, it rebooted.
I'd be interested in hearing if anyone else has had a different result.
Click to expand...
Click to collapse
It suprised me that kernel recognize you the swap space...do you create swap file in your internal memory or a sd memory?
Edit: I tried this morning but i have the same results as you... as soons it starts to use virtual momery it rebooted.
edit: Well i play with swappines but same results as soon our device started to use swap it rebooted..perhaps someone with more knowlegde can do something about it...it would be great if someone can do it.
Like all file systems, support for swap must be coded in the kernel (it's not), or added by kernel modules . . . Which would have to be specifically compiled against OMAP4 source code, I think, to work. I'm not a programmer, so I can't help directly. See if whoever provided the community the tun.ko kernel module for D3 can whip us up a swap module. Still, our kernels are locked, so the swap.ko would have to be added to a /preinstall aka 2nd-init kernel. Maybe Hashcode can help?
BTW: this thread should be in development, not General, I think
Sent from my DROID3 using xda premium
I use swap all the time. For instance, currently my phone has 111M RAM free and is using 162M of swap.
I've created a swap partition on an SD card and use that, so no swap file.
白い熊 said:
I use swap all the time. For instance, currently my phone has 111M RAM free and is using 162M of swap.
I've created a swap partition on an SD card and use that, so no swap file.
Click to expand...
Click to collapse
do you have your droid 3 with stock rom or other?. Thanks
I used swap on the stock ROM, currently running the Brazilian Vivo ROM, on 860.
白い熊 said:
I used swap on the stock ROM, currently running the Brazilian Vivo ROM, on 860.
Click to expand...
Click to collapse
Thanks dude, but same story as soon as it start to use swap partition it rebooted... it seems there is something missing on xt862 kernel's
Seems there must be some diff between 860 and 862...
白い熊 said:
Seems there must be some diff between 860 and 862...
Click to expand...
Click to collapse
Yes, it seems...one more favor...can you tell me your full Kernel version and your Android version? Thanks
2.6.35.7-g9f70789
[email protected] #1
and
2.3.5
白い熊 said:
I used swap on the stock ROM, currently running the Brazilian Vivo ROM, on 860.
Click to expand...
Click to collapse
Yes, please explain what you did to obtain Swap. The last Android device I had with functioning swap was the G1/HTC Dream, and we had swap because custom kernels had support for it an modules created the fs every time android booted. Whether a swap partition was created and mounted was up to the rooted user. I have used the makeswap and swapon commands with busybox from the command line and could not get the swap partition to show up in mount. Which address block did you use to create the partition? I tried /dev/mmcblk1p025 and 26 (sdcard and emmc?) and neither worked.
BTW: Many intelligent minds say swap in Android is useless since the Java/DalvikVM is so aggressive about reclaiming memory (just watch logcat to see that happening non-stop). You would have to swap to a device that is as fast as your secondary storage (meaning the 512mb of DDR2 installed in the XT862) in order to "beat" Dalvik's garbage collection and "augment" the natural AndroidOS memory management. One of the gifts of running bytecode in Java is that one does not usually address RAM directly (unless you jump out of Java with some C/C++ code), the OS is always handling your classes-to-registers allocation for you, the developer. In other words, it's Android's job to manage your memory, and if you ask the linux kernel and file system to cache registers to the comparatively "slow" sdcard (flashmem is slower than DRAM), you'll essentially be blocking Android's ability to handling your instructions, data, and files because it will then have to go pick up that data from a slow swap partition. When we were trying to push the G1's limits (which was delivered with a paltry 64mb of userdata space), swap made sense because the time it took to request stuff from swap was much slower than recreating threads out of compcache (compressed and old handles). 512mb is still relatively big for a device, and Android, like Linux, will always buffer most of your memory to make sure you don't run out of space for your apps. I am not a programmer so I may have messed up some of the finer points--but this is the gist of Android-vs-Swap as some see it.
rynosaur said:
Yes, please explain what you did to obtain Swap. The last Android device I had with functioning swap was the G1/HTC Dream, and we had swap because custom kernels had support for it an modules created the fs every time android booted. Whether a swap partition was created and mounted was up to the rooted user. I have used the makeswap and swapon commands with busybox from the command line and could not get the swap partition to show up in mount. Which address block did you use to create the partition? I tried /dev/mmcblk1p025 and 26 (sdcard and emmc?) and neither worked.
Click to expand...
Click to collapse
Swap will have to be setup on the external sdcard, which is /dev/block/mmcblk0p
mmcblk0p1 - * would be the partitions
Exactly, setup a swap partition on an ext SD card, then swap on it. Never had a prob.
I don't really care about Android memory usage and management, I need swap because I run GNU/Linux in a chroot, and for that the measly 150M that the Droid 3 has free by default is useless...
I really like DROID 3 and would get it but 512 of RAM and locked bootloader are killing me. But I can't imagine a better device than this one if those two factors didn't count.
Please tell me that something can be done with ICS, low RAM and custom kernels?
ICS runs good and the only reason I tweak my memory settings is just because Words with Friends is a battery hog and so is FB sometimes. I never seem to run out of RAM.
If you like the keyboard, why not get a Droid 4?
Sent from my DROID3 using xda premium
Droid 4 doesn't support GSM networks and I am from Europe where most of the carriers are GSM and so is mine. Droid 3 xt862 is a global phone (both CDMA and GSM) and Milestone 3 xt860 - GSM only. Besides Droid/Milestone 3 looks much better than D4 as for me.

[Q] Increase ram of samsung galaxy ace

I have a samsung galaxy ace ...i wanted to know is it possible to increase stock ram I.e. 278mb to 512 mb / 1gb like we do in computers & does it create any problems in cell later I mean will it function properly and where can I get Ram .
vj1 said:
I have a samsung galaxy ace ...i wanted to know is it possible to increase stock ram I.e. 278mb to 512 mb / 1gb like we do in computers & does it create any problems in cell later I mean will it function properly and where can I get Ram .
Click to expand...
Click to collapse
No sorry..its not possible.Howevver you can use swap but that has a negative effect on memory card
vj1 said:
I have a samsung galaxy ace ...i wanted to know is it possible to increase stock ram I.e. 278mb to 512 mb / 1gb like we do in computers & does it create any problems in cell later I mean will it function properly and where can I get Ram .
Click to expand...
Click to collapse
Its a phone, not a pc :/
such technology doesn't even exist yet.
i think u can try to use this
http://forum.xda-developers.com/showthread.php?t=1659231
Increase RAM using Swap File and Swap Partition
Followed the guide in the above link but can't get swap to work. Rom is 2.3.6 Stock Rooted and BusyBox installed. But keeps failing. Has anyone been successful with Swapper 2 on stock rooted firmware? Before anyone says don't bother or not worth it, I would like to say irrespective I would like to try and see for myself.
Swap needs compatible kernel which stock doesn't have ..flash cf-root then use swap and kill sdcard at the speed of light
Sent from Galaxy Ace which just landed on "MOON"
madman said:
Swap needs compatible kernel which stock doesn't have ..flash cf-root then use swap and kill sdcard at the speed of light
Sent from Galaxy Ace which just landed on "MOON"
Click to expand...
Click to collapse
+1
swap kills your sd card !!!! real fast !!!! killed mine!
though it did giv me some performance boost
Swap partition will be used as ram.
So, "n" no of read and write will happen depending upon the swapiness value.
It will spoil your memory card.
And another thing is your memory card shoud be very fast to maintain performance (higher class).
Sent from my GT-S5830 using Tapatalk 2
Kingston SD Cards come with a lifetime warranty so if it does kill it, they should replace it. It's a shame that you require cf-root because I don't like the fact that CF-Root changes the startup logo and add Clockwork Mod which my idea of stock is not. Is there any other ways?
Gizmotech said:
Kingston SD Cards come with a lifetime warranty so if it does kill it, they should replace it. It's a shame that you require cf-root because I don't like the fact that CF-Root changes the startup logo and add Clockwork Mod which my idea of stock is not. Is there any other ways?
Click to expand...
Click to collapse
Yes they do replace it.But many people dont have backups of their data so for them losing sd card is a real trouble.Now,No stock recovery works after rooting.It is unable to mount partitions so most of CWM flashable packages wont work.still,If you want to have stock recovery back then head to dev. section,find the thread for stock recovery and flash it.
Wooooow boy r u sure you're in the current time. Its 2012 now. . Jokes and no think about it, would it reasonable for a manufactury to do that? think about it in a bussines way. For the moment if you feel like you need more ram just create a swap partition. class 6 or above SD card is suggested and don't worry about the SD lifetime so much you r not gonna have the same phone or SD for like 20 years anyway. R u ? Let me know if you need help with partitioning your SD and I'd appreciate it if you press the thanks button. Also I have a swap partion on my SD its much better and I haven't ran into problems. Its true that it decreases the lifetime but it's not like what you think
Sent from my GT-S5830 using xda premium
Well I have replaced Kingston SD Cards in the past under manufacturer warranty without any problems and as for losing data, that is also not an issue for me thanks to dropbox and automatic camera uploader. As for other phones, the apps, contacts, etc are backed up by google so it is not a big of an issue as many are making it...well at least for me anyway. I just want to give it a go but at the same time I don't want to leave stock. Please don't ask me why as it is self preference and I have explained in other threads why I prefer stock over custom firmware and really do not wish to go into a debate regarding this.
You talk about a Swap Partition. I was under the impression for that a custom Kernal is required. As I am on stock, I would have thought that running the created swap file at boot should do the trick without having to partition a bit of the SD card to Linux Swap. Is that not the whole idea of the Swap File as opposed to a Swap partition?

[Q] Swapping disadvantages

Hi. guys
Can anybody explain for me the disadvantages of swapping?
Will it reduce my SD crard lifetime?
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
hobab1619 said:
Hi. guyss designe
Can anybody explain for me the disadvantages of swapping?
Will it reduce my SD crard lifetime?
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
Click to expand...
Click to collapse
It will reduce your SD lifetime, since it use part of card as RAM, so it is in use all the time. In the other way u use a swap file or swap partition? (Dont know in wich way Ram expander work). When you use file it use sdcard filesystem. When you use swap partition it will use swap filesystem which is designed to work with writing/reading space all the time so I think its better.
You must have in mind that adding to high size of swap can slow your device down, while system will want to use swap at first. So its not recommended to use swap higher than your real RAM size.
smogf said:
It will reduce your SD lifetime, since it use part of card as RAM, so it is in use all the time. In the other way u use a swap file or swap partition? (Dont know in wich way Ram expander work). When you use file it use sdcard filesystem. When you use swap partition it will use swap filesystem which is designed to work with writing/reading space all the time so I think its better.
You must have in mind that adding to high size of swap can slow your device down, while system will want to use swap at first. So its not recommended to use swap higher than your real RAM size.
Click to expand...
Click to collapse
Thank you for explanation.
I think this app use a swap file. Can you tell me how can I enable swap partition? and what size do you suggest? Is 256mb good?
And in your opinion how long my SD card lifetiime will last ? (nearly)
In total I think the advantage of swapping is more than the disadvantages of it! Now I don't have any launcher redraws and also music won't be stopped while internet browsing+ a great multitasking that I didn't have ever!
sorry for my English
hobab1619 said:
Hi. guys
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
Click to expand...
Click to collapse
Bro can u tell me does ram expander works on other custom roms too such as mrsteves cm11, official cm11, etc.
It didn't work for me on two roms mentioned above.
Can u please share ur ram expander settings i mean the swap directory u selected. So i can try once again & go back to kitkat.
Iam using it on stock rom + with too many xposed modules. No lag at all
Talking about the life of sdcard. It will affect it but to a very less extent.
If u use a class 10 memory card u will not encounter any problems.
Iam using this app for more than 5 months on SP and in other phone for over a year.
I still didn't face problem with my sd card.
akashsaini7 said:
Bro can u tell me does ram expander works on other custom roms too such as mrsteves cm11, official cm11, etc.
It didn't work for me on two roms mentioned above.
Can u please share ur ram expander settings i mean the swap directory u selected. So i can try once again & go back to kitkat.
Iam using it on stock rom + with too many xposed modules. No lag at all
Talking about the life of sdcard. It will affect it but to a very less extent.
If u use a class 10 memory card u will not encounter any problems.
Iam using this app for more than 5 months on SP and in other phone for over a year.
I still didn't face problem with my sd card.
Click to expand...
Click to collapse
Thank you for your information.
As I told Im using it on PAC Rom and I have not tested it on other roms.
I selected /mnt/media-rw/sdcard1 as my directory and the value of swappiness and DriverCache are 50 & 8192 for me. ( what these settings means?)
these settings are default and I didnt change them.
Now plz share your setting like swappiness and DriveCache value and perfectKernel checkbox and also swap size. definitely these settings affect on SD card lifetime and help me a lot.
My settings in stock rom swapiness 40, minfree 68mb & drive cache 8192 (can't change this one). All are default values didn't change them
And the most important one SwapDir storage/removable/sdcard1using 513mb swap file.
Sorry for two posts but was unable to attach screenshot in previous one.
akashsaini7 said:
Sorry for two posts but was unable to attach screenshot in previous one.
Click to expand...
Click to collapse
About card lifetime.... heh... I used swap on my old LG GT540 and didnt recieved any bad behavior of card after 2 years So it will affect your card, but... not so much as it could
About screenshot. I cant get it working on CM11 Whats the path to your swapfile? - sorry already there have to look better
smogf said:
About card lifetime.... heh... I used swap on my old LG GT540 and didnt recieved any bad behavior of card after 2 years So it will affect your card, but... not so much as it could
About screenshot. I cant get it working on CM11 Whats the path to your swapfile? - sorry already there have to look better
Click to expand...
Click to collapse
I already said i was also unable to get it work on cm11 (offical & mrsteves one).
But i never tried mnt/media-rw/sdcard1. But @hobab1619 is using this directory.
So i think this one can work.
akashsaini7 said:
I already said i was also unable to get it work on cm11 (offical & mrsteves one).
But i never tried mnt/media-rw/sdcard1. But @hobab1619 is using this directory.
So i think this one can work.
Click to expand...
Click to collapse
I've tried this directory in cm11. Cant enable swap option. Now try other path. Maybe one of this will work. Or maybe cm11 Kernel was compiled without enabled swap option? This is second question.
smogf said:
I've tried this directory in cm11. Cant enable swap option. Now try other path. Maybe one of this will work. Or maybe cm11 Kernel was compiled without enabled swap option? This is second question.
Click to expand...
Click to collapse
If this is a kernel related problem you can try cm11 for locked bootloader that is based on stock kernel. ( PAC ROM is a stock kernel based ROM too)
I think so. None of apps work for me. When I will find my old sdcard i will check how about swap partition. If that will not work it have to be kernel related. I cant change whole system right now (to check cm for LB) since its my daily use phone and i make some holidays right now. Maybe in two weeks.

[Q] Acer Iconia B1-810 , How to swap memory ?

Hi ,
I have intel version B1-810. I try several things to swap memory in vold.fstab file , but no one works.
Please help me to swap memory.
mom4ence said:
Hi ,
I have intel version B1-810. I try several things to swap memory in vold.fstab file , but no one works.
Please help me to swap memory.
Click to expand...
Click to collapse
Why do you want to swap memory?
If you want to install on your sdcard I recommend the XInernalSD xposed module: http://repo.xposed.info/module/com.pyler.xinternalsd
I use it on my b1-830 and I can nicely move the big obb file to the sdcard.
Bootlop after I install xposed framework

Categories

Resources