[Q] kernel swap - Milestone XT720 General

Hello, i have looked over the forum but I couldnt find the answer. I want to know how can I add swap space to my phone? Searching for something else I found that smoeone said: Ram is 70-90mb with the swap fastboot kernel. So how can I do this?
thanks

rugebiker said:
Hello, i have looked over the forum but I couldnt find the answer. I want to know how can I add swap space to my phone? Searching for something else I found that smoeone said: Ram is 70-90mb with the swap fastboot kernel. So how can I do this?
thanks
Click to expand...
Click to collapse
To use swap you first need to have a ROM which is swap enabled. Most of the ROM's on this forum have swap support. After that you need to partion your SD card such that it has either an EXT2 or EXT3 partion. Discussion on sizes are variable. I use 91 MB. After that you need to download the swap kernel. Because of the locked bootloader you are unable to flash the kernel and have to fastboot it through USB using the fastboot commands. The only problem with this is that you have to fastboot into the kernel each time you turn your phone off which is a problem for some. You can refer to this thread for further instructions. And do read around everything is already available on this forum.
http://forum.xda-developers.com/showthread.php?t=990735

thanks a lot i will try this

Related

[Q] Create sd-ext parttition.

Hi,
Do anyone knows if there is a real advantage in creating a partition in the phone sd card, [sd-ext]?
I read that it solves this error: E:can't mount /dev/block/mmcblk1p2
(File Exists).
But, does the phone has a real gain when you format and create a new sd-ext partition?
Thanks,
If you have a ROM that has data2ext or app2ext then you'll notice a speed increase as well as a drop in usage on your phone's internal memory. I have a MT3GS and with data2ext I went from an 1100 in quadrant to a 1600
dbzfanatic said:
If you have a ROM that has data2ext or app2ext then you'll notice a speed increase as well as a drop in usage on your phone's internal memory. I have a MT3GS and with data2ext I went from an 1100 in quadrant to a 1600
Click to expand...
Click to collapse
Thanks for the quick reply,
When you say, data2ext or app2ext, are you saying app's that can be installed in the ex-sd card?
Can I do that in cwm or there is a better way?
Cheers,
Data2ext and app2ext are ROM add-ons that enable you to either move the entire data partition to your sd-ext or just all of your installed apps. If you use data2ext your apps are automatically moved since they're stored in the data partition. You would flash them the same way you flash a ROM if the mods are available for your phone. Just search the forum for your phone if you want to know if you have those options.
Thanks mate,
I installed move2sd enabler.
So I can to move all the apps to the sd-ext partition I created?
I'm going to search for that.
I honestly haven't used move2sd so I'm not sure how that works. It should be a separate script like I mentioned before.
I created a new partition in clockworkmod 512mg 32mg swap.
The phone restarts, all seems ok, but when I restart again in CWM and select format sd-ext partition, it says that I don't have one.
I'm trying to find a way to fix this issue but until now nothing...
Check if you have a blocksize of 4096 (there's a command, don't know it offhand) and make sure it's actually an ext partition, it might be a different type or may be the wrong type of ext, such as ext2 when it needs ext3 or vice versa.
Already did the check,
su
sf
And there's no new partition created.
CWM erased all the data inside my card but did not create a new partition.
Do you thing it's because I have lagfix on with ext4 part type?
Honestly I have no idea. I used the parted script/command from adb to do my partitioning. Maybe try that or try converting to ext2?
Thanks,
I'm going to try and take a look in to that.
I see a lot of posts that say to use RA-Recovery with sdk adb but does it works with an SGS?
I don't know honestly, you'll need to look in the SGS forum and see if a Ra recovery is posted there. Parted works with adb and can be added to any ROM regardless of recovery menu.
From what I saw Ra-recovery is not for sgs's.
I still didn't saw any posts that explains how to do a sd-ext new partition for a Samsung Galaxy S, only for HTC's and other phones.
If you happen to find anything that explains how to do this for a SGS be a friend and tell me ok?
Thanks
A friend of mine has an SGS so I'll ask him and see what he's done with his. I know he rooted and flashed CM to it but i'm not sure if he did anything else like data2ext or anything like that.
Thanks mate,
I'll be waiting for your reply...

[Q] Mount sd-ext on the TB?

Probably the wrong place to ask this, but can't post to the TB Dev forum just yet. I'm trying to figure out how to mount sd-ext on my TB, but currently haven't figured out where to go to figure it out. I saw there was the script that Firerat had made for CM5, and I'm not sure if that will help create my own script possibly, but figured I would ask here first to see if anyone has already created a solution for this.
Thanks!
DeTard said:
Probably the wrong place to ask this, but can't post to the TB Dev forum just yet. I'm trying to figure out how to mount sd-ext on my TB,
Click to expand...
Click to collapse
At a minimum, you should say which ROM you're running, and how you've partitioned your SD card.
Sorry about that. Okay, currently using das-BAMF 1.6.2 with the included kernel. I have partitioned it with 512MB ext and 32MB swap.
DeTard said:
can't post to the TB Dev forum just yet
Click to expand...
Click to collapse
I feel your pain.
I can’t answer your question. But how did you partition your SD card: manually, rom manager, or with software such as minitool partition wizard?
I partitioned it from Recovery. Doing it from ROM Manager caused it to hang. It would reboot into Recovery and try to start the partition process but nothing happened. First time I ever tried I had NO idea how long I should have expected it to run, but I figured out after 3 hours that this was abnormal. lol.
Doing it from Recovery though even has more options for sizes, and only will take about 4-5 min on the microSDHC that comes with it. I just found it odd that partitioning it from Recovery directly resulted differently since that's where ROM Manager tries to partition as well. Clearly the process from ROM Manager =/= the process from Recovery.

[Q] ROMs which use SD swap partitions?

One important question in my opinion... Do any of the custom ROMs out there support SD swap partitions as of yet? I ask as a double-check... As far as my poking around goes I have yet to see anything that represents any of them would. If I'm right, this is a matter of what kernel is in use... Thereby, the real question might be if there's a kernel that supports SD card swap partitions, but I figured I'd be general just incase.
Answers? Questions? Comments?
Why do you need to use an SD swap partition?
if you really want it, try this:
http://forum.xda-developers.com/showthread.php?t=639234
sduvick said:
Why do you need to use an SD swap partition?
Click to expand...
Click to collapse
Well I guess one wouldn't -need- to, but it does come in handy.
I guess I don't use it so I wouldn't know, but that thread should work.

[Q] Someone, Anyone...please, help!

I apologize in advance if this is in the wrong section, feel free to move it if so. I have a Samsung Galaxy Prevail 2 that I would like to swap memory with (internal to external) so that there is more room on my phone for apps. I have tried a few programs from the play store, and so far I'm having no success. My phone is rooted, and has SU access. It's running android 4.1.2 (ICS?) and the model number is SPH-M840. ANY help on this matter would be GREATLY appreciated.This has been driving me crazy, and there has to be a way to do this with my phone...right? Thank you!
Use Link2SD
It works fine on all devices.
forum.xda-developers.com/showthread.php?t=2412319
Someone, Anyone...please, help!
Hi,
use this thread...
http://forum.xda-developers.com/showthread.php?t=1853669
this thread is not for your phone model but procedure is same....
you do not need to use their kernal which is given in thread... just install init.d support use this thread
http://forum.xda-developers.com/showthread.php?t=1933849
or for init.d support for your stock rom, run attached .zip file from recovery...
u can also get some addition info on
http://www.technodify.com/how-to-increase-internal-memory-and-ram/
naman4797 said:
Use Link2SD
It works fine on all devices.
forum.xda-developers.com/showthread.php?t=2412319
Click to expand...
Click to collapse
Like2SD was the first program I tried. When I go to move an app to the SD card, it tells me:
"app2sd is not supported by your device. Because your device has a primary external storage which is emulated from the internal storage."
I can link the files if I want, but doing that doesn't do much on saving space. Thanks!
rkk253755 said:
Hi,
use this thread...
http://forum.xda-developers.com/showthread.php?t=1853669
this thread is not for your phone model but procedure is same....
you do not need to use their kernal which is given in thread... just install init.d support use this thread
http://forum.xda-developers.com/showthread.php?t=1933849
or for init.d support for your stock rom, run attached .zip file from recovery...
u can also get some addition info on
http://www.technodify.com/how-to-increase-internal-memory-and-ram/
Click to expand...
Click to collapse
Thank you, I will give this a shot and let you know if it worked or not!
rkk253755 said:
Hi,
use this thread...
http://forum.xda-developers.com/showthread.php?t=1853669
this thread is not for your phone model but procedure is same....
you do not need to use their kernal which is given in thread... just install init.d support use this thread
http://forum.xda-developers.com/showthread.php?t=1933849
or for init.d support for your stock rom, run attached .zip file from recovery...
u can also get some addition info on
http://www.technodify.com/how-to-increase-internal-memory-and-ram/
Click to expand...
Click to collapse
Sorry, it did not work. I followed the instructions carefully, and I keep getting the same error that I cannot move apps to the sd card because my device doesn't support apps2sd because my external storage is emulated from internal storage. Thanks anyway, though
Someone, Anyone...please, help!
StraTTtheRippeR said:
Sorry, it did not work. I followed the instructions carefully, and I keep getting the same error that I cannot move apps to the sd card because my device doesn't support apps2sd because my external storage is emulated from internal storage. Thanks anyway, though
Click to expand...
Click to collapse
Hi,
just give one more shot...
repartition your sd card....
first check your kernal support swapping or not with swapper script....
if doesn't support, search for a kernal for your device which support swapping & follow the procedure... it must work...
-rkk
Assuming you have root, search the store for "FolderMount [ROOT]".
rkk253755 said:
Hi,
just give one more shot...
repartition your sd card....
first check your kernal support swapping or not with swapper script....
if doesn't support, search for a kernal for your device which support swapping & follow the procedure... it must work...
-rkk
Click to expand...
Click to collapse
Don't worry, I'm not giving up so easily...there HAS to be a way to do this with my phone. Maybe I should try using a different partition, like ext4 or ext3? I know ext2 is the one that is said to work the most, but it's obviously not working. Do you the partitions have to be set as "active" for this to work? Where can I find the kernal script? Thanks for the help!
StraTTtheRippeR said:
Don't worry, I'm not giving up so easily...there HAS to be a way to do this with my phone. Maybe I should try using a different partition, like ext4 or ext3? I know ext2 is the one that is said to work the most, but it's obviously not working. Do you the partitions have to be set as "active" for this to work? Where can I find the kernal script? Thanks for the help!
Click to expand...
Click to collapse
http://androidforums.com/rush-all-things-root/739747-mod-app-swap-external-sd-internal-mempry.html have you tried this technique while I look it over?
Sent from my Nexus 7 using Tapatalk
InkSlinger420 said:
http://androidforums.com/rush-all-things-root/739747-mod-app-swap-external-sd-internal-mempry.html have you tried this technique while I look it over?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Actually, that was the very first one I tried. I followed the instructions exactly and still no luck. That program doesn't really give clear directions on how you're supposed to use it. I tried a few other methods from this message board and still nothing...
rkk253755 said:
Hi,
just give one more shot...
repartition your sd card....
first check your kernal support swapping or not with swapper script....
if doesn't support, search for a kernal for your device which support swapping & follow the procedure... it must work...
-rkk
Click to expand...
Click to collapse
Where can I find the swapper script to see if my kernel has swap support?
InkSlinger420 said:
http://androidforums.com/rush-all-things-root/739747-mod-app-swap-external-sd-internal-mempry.html have you tried this technique while I look it over?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
What's strange about using that method, is when I swap, my memory card changes to 1.96 GB (which is what the internal normally is) but the internal stays at 1.96 GB. So than I have both of my memory, internal and external at 1.96 GB and I have to to uninstall the program and reset my phone for the external to go back to 7.96 GB which is the size of the card I have. It's a scandisk card...do you think that makes a difference?
StraTTtheRippeR said:
What's strange about using that method, is when I swap, my memory card changes to 1.96 GB (which is what the internal normally is) but the internal stays at 1.96 GB. So than I have both of my memory, internal and external at 1.96 GB and I have to to uninstall the program and reset my phone for the external to go back to 7.96 GB which is the size of the card I have. It's a scandisk card...do you think that makes a difference?
Click to expand...
Click to collapse
Then it is detecting the wrong partition..
Sent from my Nexus 7 using Tapatalk
InkSlinger420 said:
Then it is detecting the wrong partition..
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
That's what I thought. Any luck with that file I gave you?
I enjoy the same hell also need help.
Link2sd does almost nothing
About ready to return this thing.
Ps app2sd does work for applications over 1gb according to Samsung
Also wil never buy another Samsung phobe since both yhis and the intercept both lscked app2sd
Sent from my SPH-M840 using xda app-developers app

[Completed] Completing (once and for all) swap partition method Huawei Y360

Hey all, let me just start by saying that I have searched, read, tried so much already, with so much information (specially from here) to apply a swap partition to increase ram on my phone.
Ill start from the beggining..
Phone rooted, I tried ram expander app, was a bit dissapointed because of the constant internet connection needed and the fact that after some time, my notification for ram expander (saying total memory:2048 for example) would dissapear and eventually my game crash. Maybe the swap file stopped working for some reason. Doesnt matter..
Now I am trying to set a swap partition on the phone and as far as I have been able to, this has been the only method that I have already noticed some difference.
So i started with this link : http://forum.xda-developers.com/showthread.php?t=1934360
And up to this one: http://forum.xda-developers.com/showthread.php?t=1422061
And this last one is where I am currently at..
I have, once again, rooted phone,busybox installed, root explorer installed, terminal emulator installed.^
I have partitioned my micro sd card, that is class 10 HC1 45mb/s (Kingston) with a normal primary partition, fat32 (just like on the links, leaving space basically for 2048mb for swap partition) I created a second Linux swap partition with the leftover space (2048mb).
I havent understand fully if 2gb swap partition is too much or if I can just have 1gb (which is shame cause ram expander could go for 4gb, if it wasnt strangely working on my phone...)
Im currently stuck on step 2 of the second link..
I have the install-recovery.sh file, which everytime I try to add the code, it saves but when reopening it shows as if I didnt add no lines..
Now the rest parts I dont know what to do, besides not showing the lines added I dont know what is rebooting to recovery, I dont know what is flashing a file (in this case, init.d-autorunner-stock.zip, which I already copied to my sd) and the rest.
Basically I wanted to know if 2048mb swap partition is possible and how to get there.
I never added a custom ROM, its factory settings about ROM, but my phone does support swap. I will provide an image about this.
http://postimg.org/image/sydbst8yv/
Supposedly I only have 185mb at my disposal from swap partition? Im sure im wrong, maybe...
Please, I hope this post is acceptable and obeys the norms of this forum, like I said before I have been reading and trying so much for some days, maybe already 2 weeks now. I made this post as a last resort.
My sincere thanks ahead for everyone, maybe this can help other people aswell.
davidson2354 said:
Hey all, let me just start by saying that I have searched, read, tried so much already, with so much information (specially from here) to apply a swap partition to increase ram on my phone.
Ill start from the beggining..
Phone rooted, I tried ram expander app, was a bit dissapointed because of the constant internet connection needed and the fact that after some time, my notification for ram expander (saying total memory:2048 for example) would dissapear and eventually my game crash. Maybe the swap file stopped working for some reason. Doesnt matter..
Now I am trying to set a swap partition on the phone and as far as I have been able to, this has been the only method that I have already noticed some difference.
So i started with this link : http://forum.xda-developers.com/showthread.php?t=1934360
And up to this one: http://forum.xda-developers.com/showthread.php?t=1422061
And this last one is where I am currently at..
I have, once again, rooted phone,busybox installed, root explorer installed, terminal emulator installed.^
I have partitioned my micro sd card, that is class 10 HC1 45mb/s (Kingston) with a normal primary partition, fat32 (just like on the links, leaving space basically for 2048mb for swap partition) I created a second Linux swap partition with the leftover space (2048mb).
I havent understand fully if 2gb swap partition is too much or if I can just have 1gb (which is shame cause ram expander could go for 4gb, if it wasnt strangely working on my phone...)
Im currently stuck on step 2 of the second link..
I have the install-recovery.sh file, which everytime I try to add the code, it saves but when reopening it shows as if I didnt add no lines..
Now the rest parts I dont know what to do, besides not showing the lines added I dont know what is rebooting to recovery, I dont know what is flashing a file (in this case, init.d-autorunner-stock.zip, which I already copied to my sd) and the rest.
Basically I wanted to know if 2048mb swap partition is possible and how to get there.
I never added a custom ROM, its factory settings about ROM, but my phone does support swap. I will provide an image about this.
http://postimg.org/image/sydbst8yv/
Supposedly I only have 185mb at my disposal from swap partition? Im sure im wrong, maybe...
Please, I hope this post is acceptable and obeys the norms of this forum, like I said before I have been reading and trying so much for some days, maybe already 2 weeks now. I made this post as a last resort.
My sincere thanks ahead for everyone, maybe this can help other people aswell.
Click to expand...
Click to collapse
Hi and thank you for using XDA Assist
Sorry but this is not the right place to post this....
For the fact that XDA doesn't have an appropriate device forum for you're mentioned device i would suggest you to post this again here: http://forum.xda-developers.com/android/general
Regards

Categories

Resources