[Sony Xperia M4 Aqua] whitewolf1608:
Jevinruv heartfelt thanks for your answer

Can You could help me how I can do this modification on the m4 aqua

allocation of memory and memory allocation framework.

card has 32 GB of memory.

Please help me and Be or can this guide:

Edit the file "vold.fstab"

In this mini tutorial I will describe in a brief way, as you can change the reasoning of Android in terms of memory. Thanks to this guide we force our android to our microSD memory card treated as the main memory. OK, the end of the introduction, now let's get to work.

*

What will we need for that?

a) The device MUST HAVE ROOT-A

b) The program for managing the files (I recommend the "File Manager" - the icon with the yellow folder)

*

INFO: In the file manager (which I mentioned above) should be in its settings to enable all the options for the category "ROOT"

*

And now to work.

*

01. In the File Manager, go to the location / (you have to see all the folders - the system that contains the device's internal memory (ie. In NAND) - you'll see them if the device is root and you have this option enabled in the settings of the file explorer

02. We go to / etc and look for the file: "vold.fstab"

03. Open this file in a text editor, which is built-in file manager

04. Make changes to the code, which is shown below - the change is highlighted in color.

05. After editing the file, save it.

06. Restart the device.

*

WARNING!!! The device after such a modification may (but need not) report an error on a memory card with more or less the content of "unmounted memory card. You can remove the"

*

Before changing the code we had this situation:

*

- Nand memory (about 4GB)

- Internal memory (second partition in the system, which weighed about +/- 1GB)

- Internal memory (eg. 30 GB) - that is our microSDHC card

*

Code that contains an error in the instructions for assembling memory:

*

[...]

dev_mount flash / mnt / sdcard auto / devices / virtual / mtd / mtd9 / mtdblock9

dev_mount sdcard / mnt / external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0

[..]

*

At the moment the application window on the "memory card", we see that our card has a capacity of approximately 1GB.

*

After changing the code, we have:

*

- Nand memory (about 4GB)

- Internal memory (eg. 30 GB) - that is our microSDHC card

*

The correct code after the change:

*

[...]

dev_mount flash / mnt / external_sd auto / devices / virtual / mtd / mtd9 / mtdblock9

dev_mount sdcard / mnt / sdcard auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0

[...]

*

WARNING!!! In the application of the "memory card" will see the capacity of 30 GB - that is, our capacity microSDHC card

*

Full code under which I made this manual can be found at this address: kody.michalc.pl/kody#!vold/rlkki

*

Guidance is based on the file downloaded from the device vold.fstab Cabletech URZ0350.

allocate memory for 16 GB internal memory m4 aqua?

A friend of the forum xperia site.pl writes that m4 aqua does not have this file to

be according to the above guidance.

---------- Post added at 09:02 PM ---------- Previous post was at 08:52 PM ----------

Here I have found this method:

http://xdaforums.com/xperia-j-e/gen...hread-root-t1890478/post33420001#post33420001

You can advise me please you warmly.

Which method should I do to increase the memory to also work to increase my RAM

method swap> http://www.xperiasite.pl/topic/17349-jak-zrobić-swap-w-sony-xperia-j/

Tutorial:

What is SWAP?

SWAP partition is a partition on your SD card acting as the RAM. As the X8 is it very little (only 175 MB) can not run multiple memory-programs and games. SWAP helps remedy. There is also a partition similar to the one for Windows - it is simply a file card, which is used by the kernel to collect data.

We have two ways to create a SWAP partition.

What do we need?

For both methods, to create a SWAP partition, you will need:

ROOT

unlocked Bootloader

Kernel with support for SWAP (and therefore also suitable rom)

Terminal Emulator application (available in the supermarket)

If you do not meet any of these conditions, or do not know what question - even to this do not take, do not work. If you want to find - search the forum, there are many different subjects on each of these things.

The first method - Automatic

Charge from the Market application called Swapper for Root: link

We set him how much memory on the SD card is to deal with the partition select the option Acitive SWAP on Boot. Maybe it will be necessary to reset the phone several times. Enter command in the Terminal Emulator "free" - if the line SWAP values ​​are different from zero, we have an active SWAP.

Disadvantages of this method are that we do not control SWAP themselves, but it is outsourced applications. It can also slightly silt phone off and dumping messages on access to superuser. There may also be complications when you connect your phone to kompa. Overall - I would not recommend tongue.png

The second method - manual

Immediately I point out that it is not mine - a link to the original teamtu

This method involves entering the appropriate commands into Terminal Emulator. Headquarters press Enter.

su

Explanation: we give "administrative rights".

dd if = / dev / zero of = / sdcard / swap.swp bs = 1M count = 128

Explanation: create a partition on a memory card. IMPORTANT: read what appeared after entering the command. If the file was created with 128 bytes, we remove it, repeat the previous steps, and instead of writing bs = 1M, type bs = 1,048,576th If we want to have a swap, for example, 200 MB instead of 128, type count = 200. The value depends solely on us.

echo 50> / proc / sys / vm / swappiness

Explanation: change a parameter corresponding to a priority system using the SWAP. In the author's original article 50 gives the best results.

sysctl vm.swappiness

Explanation: check whether the previous command worked well. You should show vm.swappiness = 50

5) mkswap /sdcard/swap.swp

Explanation: create SWAP

swapon /sdcard/swap.swp

Explanation: run SWAP.

Now we enter a command free - the same as in the previous case, the values ​​in line SWAP (center not necessarily) be different from zero.

Disadvantages? Now, every time you restart your phone must pat the Terminal swapon /sdcard/swap.swp. If we want to connect your phone to a computer or disable the swap, we enter swapoff /sdcard/swap.swp, or reset the phone.

You can also create a SWAP partition using Swapper for Root, remove the application, and skip step 2.

Why bs = 1048576? Well, the phone is in a certain sense, a computer, and it uses the binary system. In the "human language" kilo is a thousand. In the language of machines - 1024. If you type bs = 1024, it will create a partition in kilobytes. Mega, which is a million humans a thousand thousands. U machines - 1024 * 1024, which gives us 1048576.

Where did these cosmic commands, like dd? Android system is in some sense based on Linux. With the right kernel, it will behave like linux - in other words, the command of Linux operate in the Terminal emulator for Android. SWAP partition invention is also a native of Linux.

VERY IMPORTANT: IF YOU DO SOMETHING AND IMPROPERLY UCEGLISZ PHONE OR SD CARD FOR ME IS NOT RESPONSIBLE !!!