Related
Hi, I have been testing several NAND set-ups
-system to NAND and data to resized data,img
-system to resized system.img and data to resized data.img
-system to NAND and data to ext2
...
I am currently using NAND and data to ext2 partition, so all apps are installed there. After lots of reading I can not understand posts that are obsolete and posts that are not so I would appreciate if someone can explain me the basics and optimal setup for incubus superfroyo RLS14/15 roms:
I have now 4 partitions:
1) fat32,
2) 1,5G ext2 (app, app-private etc),
3) 1,5G ext2 (lost+found folder) and
4) 96M lynux-swap.
- How can I turn ext2 to ext3? do I need to do so? I have also read about ext4. Upgrading to ext3/ext4 applies to my 2) partition, to my 3) partition or to both? will I loose data stored? "there is no ext3/ext4 fs because there isn't the support on the compiled kernel. Ext3/ex4 are journal file system so are bad for limited writing device like nand or sd and thre is no good rease to use it" answered by l1qd1.
- How can I check if my lynux-swap is enabled and used by the rom?
- Do partitions 2) and 3) really need to be <1,5 G? why so?
- Can I take apk from apps folder in partition 2) in case I want to keep them for future fresh installs?
- What is lynux-swap optimal size? a 1,5G partition would be worse than 96 M? Why?
- Which tools are you using with incubus roms to manage installaion location and similar functionalities?
Another big mark I have is about deoxeding installed aps (not belonging to the ROM). Should I do it? why? how?
Pretty basic stuff I guess for experienced users & programmers, but I am new to lynux and android. Have read lots of things but it is difficult to learn by myself what would work with our Polaris and incubus ROMS and dzo/kk kernels,
Stick to ext2 man, you won't turn your old engine to 240mph on a Ford Model T.
You're not getting some major boost if the hardware dosn't use it, so I'd stick with ext2.
And you also want Super FroYo on your ext2 partition, yes? I'm here to help.
- How can I check if my lynux-swap is enabled and used by the rom?
adb shell
Code:
free
if on swap you have 0 it isn't enabled.
Code:
swapon /dev/device
to enable it or i suggest you tu use compcache.
- Do partitions 2) and 3) really need to be <1,5 G? No
- Can I take apk from apps folder in partition 2) in case I want to keep them for future fresh installs? Yes but not all apk support this
- What is lynux-swap optimal size? a 1,5G partition would be worse than 96 M? Why? Too Big = more sparse but it's a problem only for real disk so you can create a swap big as you want but it's unuseful (100 M is enaught)
i suggest you to switch to my kernels because are more updated and kk move to another device.
Yah l1q1d I love ur kernels. Eager for more !
l1q1d, I am testing your kernel as you advised me. I could apply the wifi patch without problems using your androiupdate18-09-10, as you told me some time ago they are both 2.6.25.
However I do not manage to turn linux-swap on: that's what I do: I install ubuntu, I use G-Parted to create partitions on the sd card. When I do so, the third partition is always shown as linux-swap in G-Parted but when I test adb shell -> parted -> print, it always shows as ext2. I can not dismount and can not swap on it.
The other way round, if I deleted all partitions with G-Parted and create the partitions with mkpartsfs or if I use mkfs to change the third partition from ext2 to linux-swap, then sometimes I can swap on it (directly on adb shell or with G-Parted) but when I unplug the device will tell me the card is empty and will not be able to mount it, access it from ubuntu or from the device. If I reboot then, the system will hang until I install both data and sysetm to nand. This happens no matter if I activate or not from the polaris or even if I switch on or off usb mode. The card at that point is useless. I guess the partition table or some other basic file is messed.
Could you please explain a little more how can I come with a 13.5G fat32 partition, a 2,4 ext2 partiions and a 0,1 lynux swap swapped on partition??
I really need to test this set up, since with the standard set-up (system to nand, fat32 for files and ext2 for installed apps I can not install all apps I use since performance drops significantly).
regards
well, ... dumb me, maybe with compcache you are referring to launch a script?
where do I get this compcache.sh? how do I launch it? from adb? from the terminal? from the sd card?...
If you are always low on program memory, this data2sd might be for you. It works with any Froyo for the G3.
Note: This won't wipe your data, but you should have a backup, just in case. First backup the phone to the SD card, then the SD card to your computer. Be cautious. I give no guarantee whatsoever. If your phone behaves funny, even eats your cat afterwards, I take no responsibility.
Note: starting with version 3, the new storage size will NOT be reflected in the Task Manager or in Titanium Backup. I'll see what I can do about it.
You need a rooted phone and an SD card, preferably 2 GB or more and class 6 or better (higher). data2sd doesn't make your phone faster. Much to the contrary: it extends your memory at the cost of speed. That said, if your SD card is of a class smaller than 6, this will work too. The slowdown, however, will be noticeable in some situations.
Three steps are needed. First, we need a kernel with built-in ext4 if you don't have one. Second, we bring the data2sd into its place. And third, we create an ext 4 partition with the desired size. Now follows a detailed description of these steps.
Step 1: Check your kernel
You need a kernel with built-in ext4 capability. The custom ROMs mostly have one. If you are running a stock kernel, you must install one, e.g. from http://forum.xda-developers.com/showthread.php?t=978823 . Follow the installation steps detailed there. (Changing the kernel does not wipe your phone).
Step 2: Install data2sd
You now must install data2sd onto your phone. As long as you didn't modify your SD card (as long as partition #2 is not ext4), this will have no further impact on your phone.
Download data2sd.zip from below and unzip it. There's a single file in there: data2sd.sh. Use the tool that suits you best to transfer it to the SD card of your phone. With adb, you would do
Code:
adb push data2sd.sh /mnt/sdcard
Now either start a terminal emulator with a root shell or use adb again. With adb, you would execute
Code:
adb shell
Make sure you are root (the prompt reads '#'), else run "su". Now type in:
Code:
# sh /mnt/sdcard/data2sd.sh
You will see some lines about what is happening and a final confirmation.
That's it. Again, your phone will continue to behave as usual.
Step 3: Prepare your SD card
You can use any amount of program memory up to the size of your SD card, but be sure to leave some room for application data on the normal (#1, vfat) partition. As a rule of thumb, 0.5 GB of program memory will satisfy most needs, 1 GB is plenty.
If you're running Linux, prepare a second partition (must be partition #2) with the desired size. Use the usual utilities to do so. This includes gparted, but there are also other means. If you use gparted, you can follow the description for Parted Magic below.
If you have no access to a Linux computer, even not your friend's, your (probably) best choice is to run Parted Magic from a live CD. For this, go to http://partedmagic.com, and burn your CD. Instructions on how to do it with different burning tools are also there.
Step 3.1: Partition and format your SD card with Parted Magic (also applies to gparted)
The following describes the steps to partition your SD card with Parted Magic. You don't need to use this method - use the tool that suits you best.
I assume you have gparted or Parted Magic running and your SD card inserted into the card reader of your PC. Now select your card from the drop-down menu of available drives in the upper right corner. You better double check that you're on the correct drive (card). It will happily erase your system disk if told to do so.
Right click near top into the block designating your current partition #1. Select "resize". (I assume that your partition #1 is the only one. If not, delete the other partition(s)). Change the size to the total size of your SD card minus the desired size for program storage (/data). Confirm your selection.
There is now a gray block designating free space to the right of your first partition. Right click it and select "New". In the following window, leave the sizes as they are. Leave "create as" to be a primary partition, and change "file system" to ext4. Confirm your selection ("Add").
The gray block at the right has changed to a colored frame. Right click it again and select "Format as". Select "ext4".
If everything went well, you can now click on the green check mark in the icon bar near the top, confirm, and watch Parted Magic resizing your normal (#1, VFAT) partition and creating the new ext4 one.
4. Finale furioso
Now insert the SD card and reboot your phone. The Task Manager will report the new size in its rightmost tab, as do the other utilities like Titanium. All user apps and data should be in place. All will look like you have soldered in an extra chunk of internal memory. Despite not being directly visible, your program memory is resized to be the new partition. You see its size and its usage (in percent) by running
Code:
df
from adb or from a terminal emulator. Have a look at the subdirectories of /data displayed there.
As a final step, you can safely remove data2sd.sh from your SD card (/sdcard). It is not needed any more.
Q&A
* How can I remove my SD card while the phone is on?
You can't. Don't try. Always switch your phone off before you remove the SD card.* How can I return to the state before data2sd?
Remove the SD card. All user data and apps will be there in the state you left them before you installed data2sd. The data2sd script you have installed simply does nothing as long as there is no ext4 #2 SD partition.
If you want to reuse the SD card, remove partition #2. This can be done with each partitioning tool, you don't need Linux.• What about app2sd from Kyrillos 3.0? Is it compatible?
Yes. But "no" for the "no wipe" version which was offered for a short period of time. In the latter case, clear out the ext4 partition (important: do not forget the hidden .data2sd_initialized file) or simply reformat it before reusing it.* It doesn't work. What can I do to help diagnose the problem?
See if the file /mnt/asec/data2sd/log.txt exists. If it does, have a look at it and try to make sense of it. If it doesn't tell you anything useful, add it to your error description in the forum here. If there is none, mention that in the description.* What things must be considered if I flash a new ROM?
As always with such actions, make sure you have a backup. That said, just flash the new ROM and then install data2sd. When you reboot with the SD card in place, all user Apps and all data should be there. No restore from backup required.
Only in the rare case that the new ROM explicitly requires you to NOT restore your old data, e.g., from Titanium, you should reformat your ext4 partition (to clear it out) and proceed as advised by the ROM makers.Versions:
2011-03-19 Initial release
2011-03-21 Version 2
- Updated for ROMs without /system/etc/init.d
- Simplified installation of the core parts
2011-03-23 Version 3
- Vibration bug fixed
- App2SD mode added: If the ext4 partition bears the volume label "app2sd" on a new blank SD, only /data/app is moved. This greatly reduces size benefits, but results in nearly no speed loss.
- Just run the data2sd.sh file (as described in step 2) to upgrade without data loss.
- Note: the actual size will NOT be reflected as described in the Task Manager or in Titanium.
Gosh this sounds so complex and risky! Isn't there a easier way?
☞★sent from my Galaxy3!!
♪drajax!! ♬♂ツ
drajax said:
Gosh this sounds so complex and risky! Isn't there a easier way?
☞★sent from my Galaxy3!!
♪drajax!! ♬♂ツ
Click to expand...
Click to collapse
Flash Kyrillos' v3.1 where's the script's allready built in...
It is less complex than it sounds. The description is just really very detailed. The details may sound confusing until you try it. And if you have access to Linux, it is really simple. We Linux users also have to use a different operating system when we flash our phones.
Alternative: Install Kyrillos 3.1. It contains the same data2sd and comes with a partitioning tool. But, as far as I can tell, you need to reformat the SD card's vfat part on the phone and lose the data there (not sure, however).
when i try to set permissions it says permission denied . Any help?
http://www.appbrain.com/app/move2sd-enabler-(root-only)/com.leinardi.setinstalllocation
Just one quick question....
I am having the stock JPM ROM... in that case do i need to have some new Kernel to use your data2sd???
I'll be using this!
Sent from my ACID Lestatious v1.4.5.5 Galaxy 3 FROYO
When i write down "/ # cd /system/etc/init.d/"
it says "sh: cd: can't cd /system/etc/init.d/"
What am i doing wrong???
Pinak.ahuja said:
when i try to set permissions it says permission denied . Any help?
Click to expand...
Click to collapse
You're not in a root shell. Enter "su" as your first command.
next2devil said:
When i write down "/ # cd /system/etc/init.d/"
it says "sh: cd: can't cd /system/etc/init.d/"
What am i doing wrong???
Click to expand...
Click to collapse
Don't know. Try this:
cd /system
cd etc
cd init.d
and report where it fails and if you are using adb or a terminal emulator. If it doesn't fail, continue with the line after the cd command.
Awesome work mizch!
We can refer to below link for partitioning of sd card to ext4 using adb
http://forum.xda-developers.com/showthread.php?t=534714
Hi Mizch,
Thanks for the script. have few questions; requesting for an answer:
1. Once data2sd is done, will sd card be auto mounted on reboot?
2. I am running JPM with Apollo's data2sd (ext2 partition for apps 1.1GB). What will be the benefit of ext4 over ext2?
3. I understand that i have to remove apollo's lagfix and then apply ext4 data2sd. Is there a way, i can also apply lagfix?
Thanks
jaskiratsingh said:
Hi Mizch,
Thanks for the script. have few questions; requesting for an answer:
1. Once data2sd is done, will sd card be auto mounted on reboot?
Click to expand...
Click to collapse
Yes. And for the first boot, it gets initialized too.
2. I am running JPM with Apollo's data2sd (ext2 partition for apps 1.1GB). What will be the benefit of ext4 over ext2?
Click to expand...
Click to collapse
Reliability, especially in crash cases and generally when the phone is shut down without a clean unmount. Ext 4, being a journaling file system, tries to keep the file system in a consistent state whenever possible. ext2 does nothing like that. So, when you forcible switch off your phone by long pressing the power button, most likely you are continuing with a damaged file system whose errors accumulate from now on and will eventually become visible at some time later.
There's one drawback, however: ext4 has to write more data than ext2. ext4 must always write the information needed to reconstruct a consistent file system to its journal.
3. I understand that i have to remove apollo's lagfix and then apply ext4 data2sd. Is there a way, i can also apply lagfix?
Click to expand...
Click to collapse
If I'm correct, the lagfix converts /data (your program storage) to ext2. Since /data is now handled by data2sd and converted to eyt4 anyway, you cannot use lagfix any more. You need to remove it.
mizch said:
If I'm correct, the lagfix converts /data (your program storage) to ext2. Since /data is now handled by data2sd and converted to eyt4 anyway, you cannot use lagfix any more. You need to remove it.
Click to expand...
Click to collapse
Thanks for the quick reply mizch. If i have to check apart from data, if anything else is converted into ext2, how can i do that?
jaskiratsingh said:
Thanks for the quick reply mizch. If i have to check apart from data, if anything else is converted into ext2, how can i do that?
Click to expand...
Click to collapse
have a look at the output of 'mount' or 'busybox mount'.
rm 02-app2sd for who use kyrillos ROM...i didn't do that command..but it seems works fine...what does it change if i use that command???
mizch said:
Don't know. Try this:
cd /system
cd etc
cd init.d
and report where it fails and if you are using adb or a terminal emulator. If it doesn't fail, continue with the line after the cd command.
Click to expand...
Click to collapse
I tried what you mentioned.... but again it shows the same error. It works well till "cd etc". Then, for init.d it shows out the error.
It seems the location for init.d is different in my device
next2devil said:
I tried what you mentioned.... but again it shows the same error. It works well till "cd etc". Then, for init.d it shows out the error.
It seems the location for init.d is different in my device
Click to expand...
Click to collapse
Yes. Probably there is none. What ROM are you using? Is it a Froyo ROM and from where?
HELP!!!! Link2SD not mounting Sd-ext partition
every time while opening this app it asks for type of partition I'm using and then asks for reboot
I chose ext3 as I'm using teejay's CWM
I even check the type of partition using Minitool and it says ext3 and primary
why Link2Sd not mounting sd-ext then?? plz Help
I'm using chocobread 3.2
And as it already has S2E so before doing all this I had uninstalled S2E using root explorer method.
I selected 512mb size
swap size= 0mb
I'm using verbatim class 4 sd card(4 GB)
I followed these steps to partition SD card and Setting up Link2SD by A.cid given in thread
http://forum.xda-developers.com/showthread.php?p=27132543#post27132543
Q) How to create a sd partition?
A) You will need
• A good micro sd-card, with a class greater than 4
(the class is usually printed on the card itself, it’s the number inside the letter ‘C’)
• A rooted galaxy fit running android 2.3.x (preferably on a stock rom), with ClockworkMod recovery
Steps:
• Backup all your data.
• Reboot into CWM.
• Go under “advanced”>”partition sd card”.
• Select the size of your second partition (On my first try, I made a partition of 1024MB but found it too big with a lot of space unused, so I deleted the partition and made a new one of 512MB)
This is your choice, choose one depending on the total size of your card, the no. of apps/games you’ll have etc.
• After selecting that, select swap size as 0MB (This one also is your choice, but I’ll explain why to take 0MB, and not anything else)
• Now wait till the process is completed, and reboot.
As far as I know, CWM v5 makes a partition of EXT3 format.
Q) Why to select swap size as 0MB?
A) Swap partition is made with the objective of utilizing it as VIRTUAL RAM. Now this may sound as a good thing, but in reality the ram in our fit is way faster than the average class 10 micro sd-card. So, instead of speeding up your system, it will slow down your system horribly after a certain point.
So, in short, you shouldn’t be using a swap partition, hence there is no point in creating one if you are not utilizing it.
Steps to setup Link2sd:
• Download Link2sd from Play Store (it’s a free app).
• After it gets installed, run it, and allow root access.
• You will get a message to select the format of your sd partition, select “ext3”.
• Link2sd will then automatically create mount scripts that it requires to work, and will then tell you to reboot your phone.
• Do a proper reboot, and not a ‘hot reboot’.
• After rebooting, open up Link2sd, press menu then select “settings”.
• Select/check the options “automatically link newly installed applications to sd”, “auto link notification”, “relink lib files at boot” (and “fast scroll”, if you want).
• For “install location” option, select “internal”.
• Then go to “auto link settings” and select/check all the three options (you can skip/ unselect “link dalvik-cache file” if you wish)
• Done
Now, every new app that you will install will automatically be moved to your sd ext partition.[/INDENT]
Nikhil_G said:
HELP!!!! Link2SD not mounting Sd-ext partition
every time while opening this app it asks for type of partition I'm using and then asks for reboot
I chose ext3 as I'm using teejay's CWM
I even check the type of partition using Minitool and it says ext3 and primary
why Link2Sd not mounting sd-ext then?? plz Help
I'm using chocobread 3.2
And as it already has S2E so before doing all this I had uninstalled S2E using root explorer method.
I selected 512mb size
swap size= 0mb
I'm using verbatim class 4 sd card(4 GB)
I followed these steps to partition SD card and Setting up Link2SD by A.cid given in thread
http://forum.xda-developers.com/showthread.php?p=27132543#post27132543
Q) How to create a sd partition?
A) You will need
• A good micro sd-card, with a class greater than 4
(the class is usually printed on the card itself, it’s the number inside the letter ‘C’)
• A rooted galaxy fit running android 2.3.x (preferably on a stock rom), with ClockworkMod recovery
Steps:
• Backup all your data.
• Reboot into CWM.
• Go under “advanced”>”partition sd card”.
• Select the size of your second partition (On my first try, I made a partition of 1024MB but found it too big with a lot of space unused, so I deleted the partition and made a new one of 512MB)
This is your choice, choose one depending on the total size of your card, the no. of apps/games you’ll have etc.
• After selecting that, select swap size as 0MB (This one also is your choice, but I’ll explain why to take 0MB, and not anything else)
• Now wait till the process is completed, and reboot.
As far as I know, CWM v5 makes a partition of EXT3 format.
Q) Why to select swap size as 0MB?
A) Swap partition is made with the objective of utilizing it as VIRTUAL RAM. Now this may sound as a good thing, but in reality the ram in our fit is way faster than the average class 10 micro sd-card. So, instead of speeding up your system, it will slow down your system horribly after a certain point.
So, in short, you shouldn’t be using a swap partition, hence there is no point in creating one if you are not utilizing it.
Steps to setup Link2sd:
• Download Link2sd from Play Store (it’s a free app).
• After it gets installed, run it, and allow root access.
• You will get a message to select the format of your sd partition, select “ext3”.
• Link2sd will then automatically create mount scripts that it requires to work, and will then tell you to reboot your phone.
• Do a proper reboot, and not a ‘hot reboot’.
• After rebooting, open up Link2sd, press menu then select “settings”.
• Select/check the options “automatically link newly installed applications to sd”, “auto link notification”, “relink lib files at boot” (and “fast scroll”, if you want).
• For “install location” option, select “internal”.
• Then go to “auto link settings” and select/check all the three options (you can skip/ unselect “link dalvik-cache file” if you wish)
• Done
Now, every new app that you will install will automatically be moved to your sd ext partition.[/INDENT]
Click to expand...
Click to collapse
Same prob.
Can anyone help with link2sd on galaxy fit plz...
Sent from my GT-S5670 using xda premium
try different ext
Try ext4, it will surely work..
I had same prob on some roms..
"Bt nxt tym you flash anything through recovery you may have to mount ext4 again... "-nt pretty sure about this though..
Sent from my GT-S5670 using XDA
Nikhil_G said:
Can anyone help with link2sd on galaxy fit plz...
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You didnt try the stuff I had replied about in my thread?
Sent from my GT-S5670
link2sd not working
try to format the sd card with MiniTool Partition Wizard Home Edition and make last partition as primary and Ext4.
problem that i can't see available memory..
I can't see the available memory , I mean i have partitioned 1024mb..but wen i see in the task manager it just shows 180mb..
pardasanichirag2 said:
I can't see the available memory , I mean i have partitioned 1024mb..but wen i see in the task manager it just shows 180mb..
Click to expand...
Click to collapse
That's normal, the task manager just displays the internal memory of the phone, I'm using S2E with Official Cyanogenmod and it works fine.
pardasanichirag2 said:
I can't see the available memory , I mean i have partitioned 1024mb..but wen i see in the task manager it just shows 180mb..
Click to expand...
Click to collapse
Use titanium backup or sd maid , these apps could show the size of your ext4 partition
Sent from my GT-S5670 using xda premium
you can mount your ext partition from cwm recovery - mount and storage - mount sd ext and reboot ...then in link2sd go in storage info you can see the sizes of partitions
Cheers
Sent from my GT-S5670 using xda premium
Abstract: There are already guides Iink2sd but I found one that would explain what and how well (especially for situations where often changing environment in the terminal (nell'ol is common: P)) ... this is not to criticize it will detract from the other guides, but take it as a surplus and maybe a riaggiornata ...
NB the operation is not lost at all risky, there is no risk damage hardware parts (well unless it fits the sd in microwave instead of in the PC eheh) cmq the only risk they are encountered are deletion data maybe when not is expected ...
so I recommend: In addition to the backups you make with programs for the purpose, fateanche a manual backup only your important data (photos, music documents etc...)
Link2sd a2sd but what are they?
Well since he was born Android has always been the problem of limited space in memoriainterna (which is what is always a moment) Well some froyo app from Android 2.2 (and now as orasempre more but not all) have the ability to move part of the data in sd gaining space ...
But this is a temporary remedy because as said it does not work for all apps (vedifacebook, see tapatalk) and even more if you can move most of them stay in internal memory (see shazam only 4 to 8 megabytes are moved) In addition, the sd (to be supported by Windows) has a fat32 file system which is less performance native linux file system (on which Android is based) which is the extEcco that spring scripts or programs which allow you to use partition for ext as a support app and let you move all the apps you want and totally
Why not Link2s A2sd (opinion)
A2sd is comfortable, once it is installed correctly (and many of his rom already fitted) does everything he is no longer needed the user's hand, but this can also be a point against, a2sd running fact does not automatically decide which applications move and what not, in fact some apps (music player and other keyboard messages) have more or less need to reside in memory (in the common case where the SD is low, or mainstream it will be slower when reading / writing with respect to internal memory).
Then if you use a2sd is as if you had more internal memory, whatever you do you load the app will be moved to SD, but if you have other 80/100/120 MB free internal memory or why not use them?
NB Link2sd does not move the app to sd (in saying that this system is the other way as it does a2sd if I remember correctly) but creates a link to this built-in memory that points to quell'app (connection of small size) that allows to make one believe that they still reside in memory favoring some aspects (such as Rom cm7 based on the widget must be on internal memory to run, but connected with link2sd work great (with a2sd NO)) said this:
Prerequisites
Legend * = recommended but not necessary
- Root: Even if you create the root partition need not, use the program correctly (and I mean properly use the COLLEAGUE and NOT MOVE) requires such permission, so before you start all is well run the root.
- * Recovery: Although not required to perform the steps, I highly recommend you install it (if possible) because they create the second partition with limited recovery problems
- Card Reader * PC: If you have the recovery in the cell is not necessary if you do not have one you can use the mass storage of the cell, but remove the card from the terminal ensures a more successful and reduces the problems
- A bit (maybe + P) with patience: Perform this guide is neither simple nor quick, arm yourself with good patience and dont miss any point of the guide
Phase 0 (prepare the terminal to support EXT)
In order to use (or rather because Android to see them) EXT partitions must have installed a kernel with support for this file system (if you have a custom rom 90/100 will also be your custom kernel, and so probably with support for ext partitions ( in the right section to ask questions)) ... If not, or at least your terminal has the stock kernel you must install a custom kernel (WITH SUPPORT PARTITIONS EXT), to do this:
- You have installed ClockworkMod!!!
- Obtain a custom kernel and save it in sd
- Enter in recovery
- Wipe cache partition
- Advanced -> Wipe Dalvik Cache
- Install zip from sd card
- Select the file. Zip kernel
- After the restart flash
NB Do not ask me how or where procurere cwm install a custom kernel, look or ask in the sections of your terminal ... I do not know all the sections of all the terminals: P
NO EXT? DO NOT WORRY
In the event that your terminal does not want to know about custom kernel and / or does not support ext partitions, but you do not maintain the momentum it is possible to use a second fat partition instead of a partition ext (for CONNECT apps as you would with ext and NOT move to SD would like Android natively), you are obliged to do this to partition the sd from the PC (phase 1 method 2) and then when Iink2sd will ask you to create the script choose the last option (fat) This I say this being toric, reading and seeing the possibilities of Iink2sd these options, but I have not ever experienced it ...
NB a user happened to create 2 partitions a fat 15 and a 1 GB and 2 ° link2sd saw as the partition 15, so take care to create for the first (and first) + one large, the primary, then secondary
I hear you ask me but what changes? At this point I can use the native method ... Well in part it is but I remember that the native method does not allow you to move all apps, and in any case you can not fully move the app (eg Shazam is approx. 8mb, Android allows you to displace only 4 ... Iink2sd approx. 7.90: P)
And then you ask, so why should I beat to change your kernel to use ext partition when I can use a second in fat? Android comes to linux, the file system of choice for linux is the ext, the fat supports it but the performance of SD are lower (ie faster than FAT EXT)
Phase 1 (prepare well for the sd)
NB If your Custom Rom relies on an ext4 partition out of the box (due to use A2sd) skip this step, the SD is already OK
Method 1 (Partitioning with ClockworkMod)
NB THIS METHOD FORMAT THE PARTITION EVEN FULLY SD FAT (WITH ALL YOUR DATA)
- Make sure you install ClockworkMod (if not the next step will restore the phone to factory!!)
- Enter in recovery (Home Key, Key you down Power button. At the same time)
- Advanced -> Partition SD
- Ext size (to the space that you think should be space for our app connected insd (ext))
- Swap size (depends on the device, no need for this guide, then select any (or set to 0) or better under the guidance of your ROM
- Reboot
Method 2 (partitioning via PC)
- Remove the sd (smontandola or turning off the phone first) from the phone
- Insert (sd card slot or whatever) on your PC
- Total backup (not copy paste, but back up all files including hidden and system)
- Download a program to partition the disks (Linux: GParted, Windows: minitool partitionwizard (or more if you prefer)
- From the program partition the sd (ext2/ext3/ext4 (cwm uses Ext4 (at least the latest version!)); Remaining in Fat32 (win95 fat if you use linux))
- Restore your backups in the partition Fat32 (Windows will only see that (of course the original smallest where you started)
- Put the SD and start terminal
NB Applications of the system can not move it much less of fat on ext ... (Well something is let into the internal memory: P)
Step 2 (removing script A2sd)
NB In case the Romani preabilitato this script (in this case the SD will already be partitioned, and then will not have performed the step 1)
- Open the terminal emulator (if there is pre-installed download it from marketqui)
- Give the following commands: su -> nocache a2sd (move the cache back on memory internal applications (make sure you have at least 60 mb free!!!!!) If you have not enough space will be cleared to make way for the app user cache)
- Reboot the phone automatically
- Open a new terminal emulator
- Give the following commands -> a2sd NODATA -> remove as2sd
- Further automatic reboot
Phase 3 (installation and configuration Link2sd)
- Access to the market and scarikate Link2sd-Open Link2sd
- When asked to create the script (needed to be able to use its primary function) create it by indicating the type of ext partition you created (if you do not know what you used ext try with ext4, if on error try the 3 and so on (do not use ext partitions that are not used unless you have written the part in blue (of course this guide))
- Restart the phone (with notice of this same Iink2sd)
- Open Link2sd -> Settings -> Location of Installation -> Internal, (this to avoid that when you install an application that is automatically moved to the partition Fat32 (it would for many applications mb or if there is little internal memory free) do not want because we want to move on and not on the invoice, ext)
NB Although you set the correct installation position some nice heavy apps like games (see Cordy, Train Crysis ...) are developed to be installed ONLY on secondary storage (it's just a setting apk) here there is nothing to to be installed on fat32 (at least in part), so you have to manually bring them on internal memory before connecting.
In each case: DO NOT and I repeat DO NOT connect applications that have been moved to SD from Android (do not break anything but it is a task incasinaria and unnecessary) (link2sd to see the message "The Sheda SD"), or leave them (memory full ext?!?) or the first move of internal memory and then connected (see below to find out why)
Phase 4 (using Link2sd)
Method 1 (autocollegamento)
Useful to emulate a2sd (Please do not XD) or if you have already installed all the apps and the next will be important only secondary app is not essential for your everyday
- Open Link2sd -> Settings
- Check Auto Link (This link automatically for all new applications you are planning to install
- Settings autocollegamento
- Check all the items (or those who want it)
Method 2 (your decision)
- Open Link2sd
- Cap on interest
- Create Shortcut
- Select all the possible points (or ones you want)
NB plugged after the application will Create Shortcut and Move to SD (the first is the correct one, the second shift in the application as it would natively android fat (use only in the unlikely event that ended both internal memory and memory ext))
In case you want to bring the app to internal memory followed the same procedure but this time (of course) rather than create shortcut you plug "remove link" and select all entries
Step 5 (Titanium backup restore backup)
In case you have totally changed ROM or restored for some reason the same then you also did a wipe of the system (or reset to factory settings) but at the same time you have saved all your backups with titanium backup ...
The problem is that when you restore the backup to our dear friend Link2sd not come into play automatically (even if you have performed the phase 4 ... 1 method as it would a2sd)
then:
- Make sure that you complete the Phase 3 (otherwise we would go to the last point in space against depletion and subsequent installation of the app in the fat32 thing I do not want: P)
- Check free space on internal memory
- Restore a part of that application (in your opinion) can be in internal memory
- Perform Step 4 Method 2 for all newly installed app (or those who want to) freeing memory
- Perform this procedure from step 2 ("Check space ...") until completion of the restoration
NB Important Update 01/05/2012 Help!!
The latest versions of Titanium Backup, or / and maybe / probably Link2sd this is much more automatic / unavoidable, in fact if you backupped based application and when you restore all the necessary requirements (link2sd autocollegamento configured and enabled) this application in most cases will be linked automatically ...
NB I said in most cases, then restore cmq a little at a time and date reset with a shrug link2sd your app to check for proper connection.
Step 6 (rispostamento Dalvik Cache)
In the case of cwm have given the command "wipe Dalvik cache" (this is when you install a new kernel or something). O cm ² in the case where the Dalvik cache has been deleted
NB after it is cleared to restart it but it will be recreated in memory (so be careful if you do an operation like this make sure you have a 60 MB free internal memory otherwise you risk it being deleted the app and if you're unlucky (as has happened to me once) will clear your link2sd)
- Open Link2sd
- Other
- Connect arch Dalvik cache (this will move again Dalvik cache on your ext partition) (a bit like the command for the competing a2sd cachesd a2sd)
Superfluous but recommended: Clean with a little of everything on the menu commands that you will find more (such as cleaning the second partition, take away the remnants of the old Dalvik bad if this has been cleared, clean Dalvik, delete cache ...) in fact do the a little cleaning will not hurt
NB may happen that once made this your system see the app but not connected reisca open them, this is because the new kernel does not support partitions ext and then the system sees connections but can not get to the app ... Simply put again the kernel of the first, or ask and we'll help you
Step 7 (after ROM upgrade script recreation)
In the case to mount a ROM with frequent updates (as in the case of nightly cm7) Link2sd is faster to reconfigure to the competitor (which you should repeat all the steps to replace the script) ...
During the upgrade will delete all files that are not included in the rom (including our link2sd scripts created during installation) and then be recreated
NB first start after upgrade link2sd will give you an error (see alert of activation in the notification area) ... now all the applications that you had moved to be unattainable, but do not worry.
Method 1 (If you have received the alert notification activated)
- Plug the notification
- Will open Link2sd
- A window with an alert message with 3 buttons to choose from and choose "Rebuild Script On activation"
- Select the partition type
- Ok
- A message of success
- Restart (boot slow, normal, because it will rearrange a bit 'of things)
Method 2 (If you have deleted the notice or did not appear)
- Open Lin2sd
- A window with an alert message with 3 buttons to choose from and choose "Rebuild
- Script On activation "
- Continue as explained in method 1 after the same point
Method 3 (If no window appears with a message alert)
- Open Link2sd
- Other
- Rebuild Script On activation
- Select the partition type
- Continue as explained in method 1 after the same point
NB If the guide to update your ROM (not all require it) needs to do a wipe run Dalvik also Fase6.
NB If (when plugged Remake Script) rather than a success message will receive a Failure message read what is written ... if it says resource buisy simply means that at the time could not write at that point because we're already working something else, then wait a bit and try again, if it persists reboot and try again.
If the message is different, but an error cmq posted and we'll help you.
It can happen in fact to be corrupted ext partition, then will re-create ... Or the new version of the Roma has changed and this kernel does not support the ext partition and then just change the kernel etc ...
NB The second method for partitioning not've never tested since I always used to partition ext rom already during installation ...
[In fact, there is a remote possibility that the file system created for fat is not the same one that uses Android, and so this is not recognizing it will ask you to format the sd (I may be right backups) but if you format from your terminal Android will also repartitioned the entire sd in fat (losing the ext partition), then the right eye and scelete File System for the fat partition, and if that happens just said put it back again on the pc and reformatted the sd only the fat partition by trying another file system ( that it is always a factor)] ... Board cmq install cwm and follow method 1
I think everything is ... I hope I have done something to please ...
I remember as always that there is a button below Thanks, a message that says enjoy an excellent guide, but thanks in + x in the box following users have thanked ... even more pleasure : D
Hey Guys...i've found a way after lots of research and experiments a way to increase RAM in Micromax A56 (thanks to xda). Unlike most of the devices A56 supports swap default by its stock kernel.
ROOT NEEDED....BUSYBOX NEEDED. !!!
Note - This Mod May/Will Degrade Your SDCARD Life.
Needed Apps - Swapper for root and Swapper2 (Download these from Playstore)
SETTING UP SWAPPER FOR ROOT
1. Click on Active Swap on boot.
2. Set swap file partition to - "SD Card FAT Partition"
3. Enter "512" or "256" in swap file size(in MB).
4. Click Save it will take some time about 2-4 minutes depending upon the swap file size we created. (you can experiment with the swap file size).
SETTING UP SWAPPER2 :-
1. Open Swapper2.
2. U'll see a black screen, click on ads off.
3. Now go to settings, Make sure you have "Run swapper at startup" box checked. Go to swap place and change it to "/sdcard/swap.swp".
4. Now Click on swap size and choose 256mb(you can experiment with the digits).
5. Go to swappiness and set it to 100.
6. Check the boxes "Safe Unmount" and "Safe Remount".
7. Now go to "Advanced Prefrences"-->Check the box "Reformat swap".
8. Leave everything else as it is...Don't touch anything and exit settings come to main screen of swapper2.
NEXT STEP-----> ACTION..!!!!
1. Click on "ON" Button. It will/may show some fails but don't freak out(its normal), Wait untill it shows "All Done!"
3. Now we are done...!!!! Now check ur sdcard, you will see a file named "swap.swp".
4. Now download Advanced Task Killer from the market and kill all the running apps and go and see ur free RAM. You will see more RAM free than usual. But in actual u have more than that cuz we just created a swap in our SDCARD.
NOW you can play Games which require heavy ram usage ( I love that..!!!) Like Temple Run, Asphalt 6, etc. Some games may still show little lags.
If you want more performance while gaming, download Chainfire3D and All its plugins and play.
If this helped you Click THANKS to help me.
This method can work for other devices too...TRY and SEE...!!!
Test post.
Hope now its visible to other members also.
Sent from my A56 using xda premium
Hi, I have finally managed to root the A56. Installed the Swapper for Root & the Swapper2 apps from PlayStore.
When I open SfR and select the option 'Active Swap on Boot', there is no option for SD Card FAT Partition. It just comes up blank.
I have created a secondary partition on the SD card using the Mini Home Partition tool as FAT32.
What am I doing wrong??
sidhusaab said:
Hi, I have finally managed to root the A56. Installed the Swapper for Root & the Swapper2 apps from PlayStore.
When I open SfR and select the option 'Active Swap on Boot', there is no option for SD Card FAT Partition. It just comes up blank.
I have created a secondary partition on the SD card using the Mini Home Partition tool as FAT32.
What am I doing wrong??
Click to expand...
Click to collapse
ur sdcard shud be of FAT filesystem
Does the microSD need to be FAT16 or FAT32??
The microSD has been formatted as FAT32. Does swapper need a new partition to work on as apps2SD does? Or will it work on the default partition?
Mine is working on FAT filesystem...can also work on fat32 no new partition needed.
anshubham said:
Mine is working on FAT filesystem...can also work on fat32 no new partition needed.
Click to expand...
Click to collapse
anshubham
how much ram do you get after doing this
in running services it shows 40-50mb ram...
it does not show more ram but it is usex when an app which requires more ram is launched.
if u dont understand this clearly...read the true meaning of swapping...on xda or on wikipedia.
Sent from my A56 using xda premium
can this tutorial be used for micro MAx a57
Sent from my GT-I9103 using xda premium
can anyone reply me
Sent from my GT-I9103 using xda premium