[Samsung Galaxy Mini] psndna88:
PSN>> MEMORY-MOD-v2 SwapAll-v3.0 KERNEL MODDER

USE THIS AT YOUR OWN RISK​

INFO:

MEMORY-MOD

SD-EXT partition (/dev/block/mmcblk0p2) on phone's memory card is mounted as /data instead of original internal data partition(stl13)

SWAPALL v3.0

Original Internal Storage (/dev/stl13 on stock GB & /dev/block/stl13 on AOSP) is formatted to be used as swap partition entirely so as to fully take advantage of fast internal data partition and relieving read/write load on memory card.

The third swap partition on memory card created using CWM or MiniTool or Gparted (/dev/block/mmcblk0p3) IF FOUND is used as swap space, with lower priority . So it will be used for swapping only when above mentioned swap partiton on internal data storage is full.

Swappiness set at 30.

Q.) WHATS NEW WITH MEMORY-MOD v2 IN THIS "KERNEL PATCHER" ???

A.) It simply patches an existing flashed kernel on phone

It extracts an existing flashed kernel from the phone

Then it extracts ramdisk from the kernel

Then it patches the required files on ramdisk

Then it builds back ramdisk and compiles back boot.img

Then it flashes the modded boot.img on phone to the phone

REFERENCE Threads:

(my ACE threads)

http://xdaforums.com/showthread.php?t=1883211 Memory modded ACE Stock kernels

http://xdaforums.com/showthread.php?t=1960652 Memory modded ACE CM7 kernels

http://xdaforums.com/showthread.php?t=1959779 Memory modded ACE ICS/JB kernels

http://xdaforums.com/showthread.php?t=2184189 SIMILAR KERNEL PATCHER for ACE

PREREQUISITES:

1: Custom kernel to be flashed before installing this script (STOCK based/AOSP/AOKP with ext4 support and init.d support but not Mem-Modded)

2: SD-EXT partition on sdcard formatted to ext4 (u can use this tool PSN_EXT4_Recovery_based_SD-EXT_ONLY_Format_Tool-signed.zip)

3: SWAP support implemented in kernel

4: Atleast 2.1 MB of free space available in /system

5: An SDCARD of CLASS 6 or more (class 4 users please dont report of phone crawling slow!)

NOTE:

1: for fresh install only; user data on original /data will not be moved on /sd-ext; after flashing this script you will have to setup ur phone again.

1: after flashing this you wont be able to directly do a nandroid backup in cwm; so wipe(format) "/data" in recovery before attempting nandroid backup.

2: do not use any int.d script to expand memory using /sd-ext like S2E or a2sd or cronmod or a2sdx etc with this mod else your phone will not boot

3: your phone will boot always as first boot with this script if no memory-card inserted or memory-card inserted without a sd-ext partition

4: Memory-Mod v2 will delete the init.d scrips of adrenaline engine which when unmodified is not compatible with Memory-Mods

5: if your rom has Adrenaline Engine 4.3 or 4.4 which has not been modified by for compatibility with Memory-Mod then you can reflash a compatible Adrenaline Engine 4.4 by flashing this(STOCK version / CM version) AFTER flashing the MEMORY-MOD script.

6:

to reflash newer fixed versions of this mod you have to reflash ur non-patched kernel or rom and then flash this kernel patcher in recovery.

Some info:

PSN_STOCK-GB_MEM-MOD-v2_SWAPALLv3.0 : coming soon (provide me with stock-based custom kernel link or boot.img)

PSN_CM7.2-GB-official_MEM-MOD-v2_SWAPALLv3.0 : will work on kernels on official cm7.2 roms

PSN_CM10.1-JB_MEM-MOD-v2_SWAPALLv3.0 : will work on unofficial cm10.1 kernels in roms like Rohans CM10.1 builds

ICS users can try JB version... its almost same .. should work... report if it doesnt work for u

UNINSTALL METHOD:

(to get back to old-school 150MB internal data)

1: flash your original non-modded kernel or custom rom

2: flash PSN_factory_reset_EXT4_Recovery_based_Format_Tool-signed.zip

3: you need to setup your phone all over again for old-school 150MB internal data.