Need help with swap partition - HTC Sensation

So since my phone is garbage with ram management even with supercharger I tried to create a swap partition to boost performance.
The problem is that the hard swap zip won't install cause it says no swap partition found even though I did create a separate fat32 partition on my sd card. Any ideas?
Btw dies anyone know why I keep getting insufficient storage available even though I have more than 130mb left when trying to update apps?
Sent from my Sensation 4G

Kazireh said:
So since my phone is garbage with ram management even with supercharger I tried to create a swap partition to boost performance.
The problem is that the hard swap zip won't install cause it says no swap partition found even though I did create a separate fat32 partition on my sd card. Any ideas?
Btw dies anyone know why I keep getting insufficient storage available even though I have more than 130mb left when trying to update apps?
Sent from my Sensation 4G
Click to expand...
Click to collapse
Partition your swap parition through recovery, and swap partition should be ext4 not fat32
And for your insufficient storage status, it happens because sometimes a certain app you want to download looks for a minimum requirement

Related

[Q]Apps2SD - very strange occurence

I used the root.bat method to enable Apps2SD on my LG Optimus GT540 - Eclair, today. I've installed atleast 80 apps yet, n leaving few aside, most of the apps are installing on the SD card.
But, now when I plugged in my SD card thru a card reader to check how much of the Ext2 partition is filled with app installation, I found that only 16mb of the 512mb partition is filled !!!
The phone isnt storing apps on the internal storage, as earlier, it had 98mb internal memory n now 75mb coz some of the apps automatically installed on the internal memory. Where the hell is it installing the apps then?
What the hell is going on?
niraj87 said:
I used the root.bat method to enable Apps2SD on my LG Optimus GT540 - Eclair, today. I've installed atleast 80 apps yet, n leaving few aside, most of the apps are installing on the SD card.
But, now when I plugged in my SD card thru a card reader to check how much of the Ext2 partition is filled with app installation, I found that only 16mb of the 512mb partition is filled !!!
The phone isnt storing apps on the internal storage, as earlier, it had 98mb internal memory n now 75mb coz some of the apps automatically installed on the internal memory. Where the hell is it installing the apps then?
What the hell is going on?
Click to expand...
Click to collapse
I kind of have an idea of what's happening here but I don't know how to explain but I'll try. In froyo, when you move the apps to sd card, the size of the app "reduces". That is, if it takes about 5 MB in internal storage, it'll take only some KBs in the memory card, the app is saved in the memory card but it takes a lot less space. I don't know why but this is the case on froyo. I hope I've helped you in someway!
^^Your clarification did help, but now I've installed arnd 150 apps n many of them are large games of 6-10mb, but still the Ext2 is filled only 16mb !!! Its not like its being compressed in Froyo, like u explained, but its something much stranger, coz even if it takes memory in kbs on the SD card in Froyo, its not taking ANY space in my case.
If we assume that the Partition tool that I used on PC isnt reading the installed Ext2 for some reason, then it should have either displayed that the Ext2 parition is EMPTY or the actual size of 150 apps installed, but why only 16mb still?
And another query is y does it install some apps on the internal memory?
niraj87 said:
^^Your clarification did help, but now I've installed arnd 150 apps n many of them are large games of 6-10mb, but still the Ext2 is filled only 16mb !!! Its not like its being compressed in Froyo, like u explained, but its something much stranger, coz even if it takes memory in kbs on the SD card in Froyo, its not taking ANY space in my case.
If we assume that the Partition tool that I used on PC isnt reading the installed Ext2 for some reason, then it should have either displayed that the Ext2 parition is EMPTY or the actual size of 150 apps installed, but why only 16mb still?
And another query is y does it install some apps on the internal memory?
Click to expand...
Click to collapse
Check the standard SD partition free space, because maybe the apps are not being moved to ext2 but to normal sd partition.
niraj87 said:
I used the root.bat method to enable Apps2SD on my LG Optimus GT540 - Eclair, today. I've installed atleast 80 apps yet, n leaving few aside, most of the apps are installing on the SD card.
But, now when I plugged in my SD card thru a card reader to check how much of the Ext2 partition is filled with app installation, I found that only 16mb of the 512mb partition is filled !!!
The phone isnt storing apps on the internal storage, as earlier, it had 98mb internal memory n now 75mb coz some of the apps automatically installed on the internal memory. Where the hell is it installing the apps then?
What the hell is going on?
Click to expand...
Click to collapse
the same thing happened to me!
^^The above has been solved now.
I thnk the reason for that is all apps cannot be installed on the SD card (even after this method of Apps2SD), due to app permissions or something else I'm not aware of.
I used the app AndRootFile to check out where the apps are being installed. They're installed at System/sdcard/app. This app clearly states the size of the parition created n how much of it is used currently, at the top, in my case 512mb ext2 parition.

[FIX] use Apps2SD hack or Link2SD to solve the storage space problem in SGS4G

Some of you might now this well, if you had been through the older generation of the phones with very low internal storage space.
Apps2SD Script, Link2SD, and ... another lesser known flavor of App2SD have been used and still in use for a long time to make External SD cards as extended internal memory.
of course you'll need at least a Class 6 of better microSD to not feel the lag.
The great thing is the SGS4G as all its brothers/cousins models comes with its own 14 GB ~ 15 GB of internal storage space (SD card)
so when you use Apps2SD hard link script, or better yet Link2SD then it will by default use the Internal SD card as the memory extension
and you can still use the External SD to transfer stuff.
so even when you remove the External SD you wont disable the internal apps that are running.
the only IMPORTANT Rule to remember when you use this setup is to NOT USE the stock MOUNT USB
instead use the MULTI USB MOUNT or DUAL MOUNT both found in the android market.
that will prevent the Internal SD from being mounted as well, and causing the phone to reboot
[REF]
Link2SD
http://forum.xda-developers.com/showthread.php?t=919326
more details here to use ext3 http://forum.xda-developers.com/showthread.php?t=923628
the good ol' Apps2SD hack before Froyo was even born
http://forum.xda-developers.com/showthread.php?t=742126&highlight=apps2sd
Dual Mount SD Widget
https://market.android.com/details?id=com.protocol.x.USB&feature=search_result
Multi Mount SD-Card Free
https://market.android.com/details?id=com.rafoid.multimountsdcard.widget.free&feature=search_result
AllGamer said:
so when you use Apps2SD hard link script, or better yet Link2SD then it will by default use the Internal SD card as the memory extension
and you can still use the External SD to transfer stuff.
so even when you remove the External SD you wont disable the internal apps that are running.
Click to expand...
Click to collapse
pardon my ignorance, i am getting confused by "internal" and "external" SD, I believe the "internal" is the one that comes with the phone, which one is the "external" one?
external SD = microSD
internal SD = 15 GB of internal space
internal Storage = 1 GB of full bloatware with only 180-ish MB usable space
you will not see external unless you stick in a 16GB or 32GB microSD into the phone
I am confused how this helps Galaxy S 4G users? The Galaxy S 4G lacks the 16gb internal SD, that is the issue. It only has 1gb internal memory of which only ~300 megs appear to be available for app install/storage out of the box. I understand you can install your apps on the external 16gb (included) SD Card but that has always been the case. What am I missing here?
Yeah, I'm missing something here too. The Vibrant has the internal storage of ~16mb while the gs4g does not...
Sent from my SGH-T959V using XDA App
... wow im finding less and less of a reason to keep this phone ffs... i was told at the tmo store that it has 16g internal and thats not true. these sales reps need to learn there stuff
AllGamer said:
external SD = microSD
internal SD = 15 GB of internal space
internal Storage = 1 GB of full bloatware with only 180-ish MB usable space
you will not see external unless you stick in a 16GB or 32GB microSD into the phone
Click to expand...
Click to collapse
Thanks for the help. Even though as dcam and Seanathan mentioned. This Galaxy S 4G phone doesn't come with the Internal SD space like it's brother's have.
If I run out of memory again for apps I will try this out. I manually did the "Move to SD Card" for all the Apps I was able to do that for to get more memory under the Setting's options.
This may sound odd to some, but I prefer the setup with the memory for the S 4G. I actually still have the Vibrant & recently got the S4G, & just out of curiosity, I loaded the same exact apps to the S4G as I had on the Vibrant. Having the apps on the SD card has a tremendous effect on the performance than having them on the internals. There is of course the lag issue on the Vibrant, but the S4G just just kept on trucking, no lags. I even went a step further & pulled up google maps, you tube, media player & still didn't skip a beat. I tried that with the Vibrant & I had to restart...
What people are posting about devs being able to do with 1gb on memory is stupid. I have an hd2 with 1gb running cm7 on it. I still have about 600mb free on it. Of course I use apps2sd on it but that's just a personal preference. Devs will be able to do plenty once all the bloat and crapware is stripped from the 4g
Sent from my HTC HD2 using XDA App
Beefvvl said:
Thanks for the help. Even though as dcam and Seanathan mentioned. This Galaxy S 4G phone doesn't come with the Internal SD space like it's brother's have.
If I run out of memory again for apps I will try this out. I manually did the "Move to SD Card" for all the Apps I was able to do that for to get more memory under the Setting's options.
Click to expand...
Click to collapse
yes, that is true
but the Apps2SD script hack, or the Link2SD still works with the External SD
if you use the Multi mount or Dual mount USB then you can access the files on the PC without breaking the connection internally for the phone apps
ironically that's one of the problem with the Nexus S, the lack of External SD support, and only 1GB of space, so everything needs to be moved to External SD, and be able to use it meanwhile you share file on the PC
has anyone tried to repartition with MiniTool Partition Wizard? after I resized the original partition, and tried to create a new partition, it gave an error messaging saying the new partition could not be created unless I delete all the partitions and re-create from scratch.
AllGamer said:
yes, that is true
but the Apps2SD script hack, or the Link2SD still works with the External SD
if you use the Multi mount or Dual mount USB then you can access the files on the PC without breaking the connection internally for the phone apps
ironically that's one of the problem with the Nexus S, the lack of External SD support, and only 1GB of space, so everything needs to be moved to External SD, and be able to use it meanwhile you share file on the PC
Click to expand...
Click to collapse
Just curious. Which one is better out of the two or can you use both in conjunction with each other? Also which App2SD do you use? There are a couple from different devs.
Beefvvl said:
Just curious. Which one is better out of the two or can you use both in conjunction with each other? Also which App2SD do you use? There are a couple from different devs.
Click to expand...
Click to collapse
both can be used together
although the Link2SD is quite straight forward
you just need to repartition the SD card to have a linux EXT partition
then you can use either the ext2 or ext3 to mount it and use Link2SD to manage the apps as you would use the native Apps2SD supported by Froyo and newer AOS
unfortunately the Froyo method of Apps2SD only works if the developer of the apps enables it
but Link2SD will force even apps that are not natively apps2SD capable to run from SD
Cool. Thanks for the info. I tried using App2SD from the market but I don't think this is the same App2SD hack that you are referring to. It didn't really help me much at all. I'll try out Link2SD maybe some other time.
I ended up using Titanium Backup and did moved apps to SD. I was able to move the pre-installed apps to SD and also all the other apps that weren't able to move to sd originally.
for the Apps2SD hack to work and/or Link2SD
you will need to have an External SD formatted with a 2nd partition to ext2 for it to work
update
the latest version of Link2SD is FAT32 compatible
so now you no longer have to partition and format the External SD card to have a linux ext2 partition
AllGamer said:
the latest version of Link2SD is FAT32 compatible
Click to expand...
Click to collapse
I've found that some Linux systems have some speed penalty when writing to M$ filesystems. There have also been discussions about "aligning" FAT filesystems with flash blocks, such as http://www.patriotmemory.com/forums/showthread.php?t=3696
Is there solid evidence about the relative speed of FAT32 vs. ext3 (or ext4) for the partition to be linked to?
I am so glad I found this thread! I've been pulling my hair out over this MAJOR design flaw of minimal app space on the Galaxy S 4G! I felt forced to root this wonderful phone just to have a chance at correcting the designers mistake. I thought I was going to have to wait for a ROM to be released.
I was at 50MB available space before this suggestion and now I have 188MB free! I used paragon partition manager and partitioned 350MB in ext3. That was more than enough, as I've only used about 170 MB of that space. Anyway, thanks all you great people!
How did you get TB to move pre-installed apps? Have tried that to no avail - thanks in advance.

[Q] how to check partition of internal memory

Hey guys,
Im not sure if this has been asked as I've looked as many places as I can. This is the first android phone that i had that uses only internal memory so im not sure how to check the partitions i have made using CWM recovery.
usually i would use adb shell and check my mmcblk0 but that obviously doesnt work.
When i used the partition SD option in CWM i did:
advanced -> partition SD card -> 1024 for the ext -> 32 for the swap
my question is, is the internal memory now partitioned to ext4? as i now have an internal storage or 0.92gb
also if i wanted to increase the partition can i just simply go back and do the process over again? except chose 2048 and etc?
you cant repartition it. this isnt the G1 where you need a
ext2/3/4 partition
swap
hd space
the NS is:
0.98 GB Internal App Space
13.31 GB of USB Storage
1.71 GB reserved for Android OS
other phones have:
internal + sd card space. If this is the case, it follows the same format as the NS BUT the sd card is expanded space for USB storage.
thanks for the reply zephik, so CWM's partition tool shouldnt be used? or it just doesnt do anything for us.
because i now have:
total storage:13.31 GB
internal storage:0.93 GB <-- instead of 0.98
im currently downloading gparted to see if i can check what CWM has done. and perhaps getting rid of the 32mb swap if its not needed
imisky said:
thanks for the reply zephik, so CWM's partition tool shouldnt be used? or it just doesnt do anything for us.
because i now have:
total storage:13.31 GB
internal storage:0.93 GB <-- instead of 0.98
im currently downloading gparted to see if i can check what CWM has done. and perhaps getting rid of the 32mb swap if its not needed
Click to expand...
Click to collapse
I would just straight up stay away from it. I remember on the Vibrant, "partition sd card" would semi-brick your phone because it would attempt to repartition the internal sdcard (which is what we have) and to fix it would require using Odin.
You also probably have 9020A, I have 9020T so it could be partially different. Swap is not needed.. at least not on 2nd-gen Android phones and above.
zephiK said:
I would just straight up stay away from it. I remember on the Vibrant, "partition sd card" would semi-brick your phone because it would attempt to repartition the internal sdcard (which is what we have) and to fix it would require using Odin.
You also probably have 9020A, I have 9020T so it could be partially different. Swap is not needed.. at least not on 2nd-gen Android phones and above.
Click to expand...
Click to collapse
OK cool, its good that i didnt get a semi brick from this then. From what i can tell CWM didnt do anything if the total storage is still 13.31 and didnt modify anything on the internal storage as it is still 0.98 ( used up 57mb of it thats why it shows 0.93) still a bit interested as to if the swap got created or not

[Q] About swap, ext

Hi, i'm a newcomer.
I want to know how to create swap, ext ? Is it necessary ?
I'm using rom Hellmonger Edition .
Help !
trinhpct said:
Hi, i'm a newcomer.
I want to know how to create swap, ext ? Is it necessary ?
I'm using rom Hellmonger Edition .
Help !
Click to expand...
Click to collapse
Hi See http://www.youtube.com/user/reverendkjr#p/u (Watch Linux Videos (2 part) and Den Khal Rom Video (2 part)) for how to create swap, ext........
Benefits - Swap brings stability to the phone, so you won't face force closes too often and ext partition let you install ur apps on sd card. Well its not compulsory it depends what you want from your XT720.
Is Swapping different from creating an Ext2 partition? I know how to make an Ext2 using partition manager, but I have no idea what is swapping, or how to do it.
creating ext2/3/4 partitions are for you to store your apps on your sd ext partition instead of your phone internal memory. many of the xt720 users use ext because of our low internal memory, which limits us to only a few apps which we want to keep on our phone. however, you can use link2sd instead, which stores the application on your sd card (on a second partition which can be fat32 or others like ext). you might wanna use link2sd instead of the rom's built in function to install apps on ext as it is easier to partition an extra fat32 than to partition ext.
i dont know exactly swap does, but i know you can get much more free ram as the system swaps the cache into the sd card or something. e.g. usually you get 60mb free without swap on, and when you activate swap, free ram can hit higher than 100mb so you can do more multitasking. however, to use swap on our phone, we have to plug our phone in to the computer and use command prompt or terminal and use adb to fastboot fjfalcon's boot.img. we cant flash the boot.img because of the stupid locked bootloader. to use swap, you also have to create an extra partition (called linux-swap) on your sd card.
hope this was helpful!
Can you help me how to enble it, i use Minitool partition to create 3 primary : Fat32, ext2, swap ... But when i use link2d, mount script error : mount scriptcannot be created - muont: Device or resource busy .. When i use A2SDGui ( on hellmoger rom ), swap is deactivated, cannot enble ... Help me. Thank for advance !
I don't think Link2sd is compatible with Hellmonger's ROM yet, it's still on the "to do" list. To use swap you have to fastboot (check out Reverendkjr's YouTube videos) one of fjfalcon kernels every time you reboot your phone.
eejin2 said:
i dont know exactly swap does, but i know you can get much more free ram as the system swaps the cache into the sd card or something. e.g. usually you get 60mb free without swap on, and when you activate swap, free ram can hit higher than 100mb so you can do more multitasking. however, to use swap on our phone, we have to plug our phone in to the computer and use command prompt or terminal and use adb to fastboot fjfalcon's boot.img. we cant flash the boot.img because of the stupid locked bootloader. to use swap, you also have to create an extra partition (called linux-swap) on your sd card.
hope this was helpful!
Click to expand...
Click to collapse
Yes! that is exactly wat I was referring to. The sdcard internal storage thing is not an issue for me with my ROM, but I sorta have an addiction for constantly finding ways to better my phone. I am just wondering if creating a swap, or using applications like Swapper can help my phone. An increased amount of RAM can help multitasking and reduce lag right? By repartitioning, does all my files get erased? will it affect the rom that I am running?
i think i theoretically know how the apps2ext works cos i dont use it so i dont have first hand experience. but on hellmongers xda special final rc1, apps2ext should be already in place, but you have to create an apps folder in your sd-ext partition.
there is already tutorial made by another xda user reverendkjr on how to activate swap. if you already have the three primary partitions, there's actually nothing much left to do but to learn a little of how to use adb. to activate swap, you have to boot into fjfalcons custom kernel because the stock one doesnt support it, so you have to fastboot the boot.img. just search around the xda forums for the fastboot and download it. the video will show you what to do. http://www.youtube.com/watch?v=pu1EjoUGEgQ
you dont have to use any swapper app from the market. fastbooting into fjfalcon's kernel will activate swap automatically. the problem is that once you reboot normally after fastboot, the fastboot will be gone and you will boot into the stock kernal again. you can only activate swap when you are at your computer. swap wont affect the rom you are using. most roms around this subforum support swap if you fastboot your phone into the custom img.
swap will give you a lot more free ram and you will be able to do more multi tasking, but it will take up a very little bit more battery.
yes, to partition your sd card means that your info will be gone. you should just save everything in your sd card into a folder on your computer so that once you partition the sd card, you can just put them back instead of finding some files back one by one and saving it in the card. i'd do this if i were you anyway because some files on the sd card are required for us to boot into open recovery, so if they are missing, you have to do the "install system recovery" thing from the open recovery apk again.
trinhpct said:
I want to know how to create swap, ext ?
Help !
Click to expand...
Click to collapse
Use xdl2.4pda.ru/937329/pwhe52.exe?000636ffb23196624e4c7d69000000004d9e4343117ca335f76a096de7f0f02e can't use links in my posts yet
eejin2 said:
.
i dont know exactly swap does, but i know you can get much more free ram as the system swaps the cache into the sd card or something.
Click to expand...
Click to collapse
Just to clarify for people who don't understand the concept behind swap. For a computer to run its processes and applications they must be loaded to physical memory from where they are managed. This happens on your computers RAM. So when you open an application the OS loads that application to your RAM which is a physical chip inside your computer. The more programs you open while multitasking more RAM gets used till it is full. The computer then either kills the least important proccess to make room for what you are doing then, or shifts your process in an idle state to a small temporary partition on your harddrive. This temporary virtual space in windows is called the page file, and in linux its called swap. The same goes for your phone which is basically a small computer.
When you activate swap, all your idle processes can be shifted to your swap while you run heavy or many applications. Increasing stability, and ability to not have your apps killed and started from scratch when you move onto to other tasks on your phone.
There has been much debate over the usefulness of swap on phones, but generally according to most people it increases the overall performance of the phone. Most users recommend having a higher class SD card for swap as your apps are written onto the swap partition and are thus limited by the read/write speed of your card. Also this process consumes modest amounts of battery.
The reason we need to fastboot for swap is because swap needs a custom kernel. A kernel is that basic program which communicates between your hardware and software. Because we have a a locked bootloader on our phone custom kernels cannot be flashed because the bootloader rejects them because of a signature mismatch which we bypass by fastbooting.
Hope that made sense
i only hav a class 2 sdcard and my phone doesn't experience any lag. so I should refrain from swapping since class 2 is too low rite
firzen_net said:
i only hav a class 2 sdcard and my phone doesn't experience any lag. so I should refrain from swapping since class 2 is too low rite
Click to expand...
Click to collapse
You're phone performance and how you feel about it is all that matters , personally I also use the stock class 2 card and didn't have many problems when I used swap some time ago. I, however don't do any hardcore gaming and couldn't go throught the trouble of fastbooting every time so don't use it much now except for experimental purposes.
for the swap kernel right, where can i find the swap kernel compatible with hellmonger's edition?

[Q] more internal memory?

how to increase the p500's internal memory?
I am facing a problem with an app, that it refuses to download the data package, saying that there isn't enough internal memory(it says it need around 270mb)(it's a game ), so I am wondering how to increase the internal memory. I know there are apps like link2sd, but I think that don't suit me because the app would just still detect "insufficient" internal memory.
how to increase the internal memory and also let apps detects enough memory?(I guess I need to mount the whole data partition from the ext-sd? just a guess, I don't know...)
dicksonlok said:
how to increase the p500's internal memory?
I am facing a problem with an app, that it refuses to download the data package, saying that there isn't enough internal memory(it says it need around 270mb)(it's a game ), so I am wondering how to increase the internal memory. I know there are apps like link2sd, but I think that don't suit me because the app would just still detect "insufficient" internal memory.
how to increase the internal memory and also let apps detects enough memory?(I guess I need to mount the whole data partition from the ext-sd? just a guess, I don't know...)
Click to expand...
Click to collapse
`are you sure you linked the sd-ext properly? cos once it is, it should act as the usable internal memory of the phone.
try increasing the sd-ext size, say 1 gb, that should leave enough space for the game n all the other apps you wanna install. also, some ROMs are not compatible with ext2 partitons. try repartitioning to ext3 or just convert ext2 into ext3 using recovery.
follow these links if you have any doubts.
http://forum.xda-developers.com/showthread.php?t=2142844
http://forum.xda-developers.com/showthread.php?t=2143177

Categories

Resources