[GT540 Optimus Android Development] lavero.burgos:
View attachment 571405 ARE WELCOMED!!!

Hello, as anybody has posted this METHOD provided by Anton_ch from 4PDA im posting it here in Android Development site.

The original post in XDA is in general site here: http://xdaforums.com/showthread.php?t=962911

The original post in 4PDA is here: http://4pda.ru/forum/index.php?showtopic=228162

Description of the method manual modification:

If interested in the way of modification, it is described on the link -> http://xdaforums.com/showpost.php?p=14047481&postcount=14

in brief:

The modification is to edit the kernel (changing only the 3 lines in init.rc located in boot.img, responsible for mounting the partition / system and / data) transfer of system files in the data section, and preserve the image of the resulting system.

As you know system partition is bigger than data, custom firmwares is small enough to move it to userdata partition so we can get 245 mb for userdata!

NOTE: With this method you can't install .ZIP from recovery so you need to install what is inside the .ZIP by following this TUTORIAL:

[How-to] Set permissions to files using Root Explorer

Or if they are many files to copy then use adb tool better:

[How-to] Use ADB tools

Finished firmware:

So, here is a list of modifications in the form of firmware images for recovery through recovery:

Android 2.3

UPDATE

My version: 240MB free for install apps

data2system mod for 2.3.4 Soft-mod SwiftDroid 2.0-M6 by Mur4ik: fastboot | recovery

* Fixed Russian Profile

Added:

- Comfortaa Fonts

- Honeycream theme for CM7

- Message Widget

- Memo Widget

- Nexus1 bootanimation.zip

- Did not remove LieWallpapersPicker

Removed:

- GenieWidget

- LiveWallpapers (you can install it in as any other app)

- Androidian Theme

- Default bootanimation.zip

- Developing tool

- CM wallpapers

WANT TO HAVE YOUR PHONE LIKE IN THE SCREENSHOOTS?

* APPLICATIONS: You can find apps like WidgetLocker | LauncherPRO | SPB 3D shell Launcher | Beautiful Widgets and many others here

* ICONS: You can find Suave icons & Suave HD icons Pack here

* DOCKS: You can find different docks designs here

Installation

WIPE DATA / FACTORY RESET BEFORE INSTALL ANY ROM!!! BUT NOT AFTER!!! INSTEAD, IN RECOVERY> MOUNT&STORAGE > FORMAT CACHE & FORMAT SYSTEM

​

FASTBOOT

- Unzip the folder.

- Copy bootd2s.img & system.img to C:\*SDK\tools folder

- Copy data.img &cache too to C:\*SDK\tools folder too if you made a backup in recovery of M5, to restore all your apps and settings.

- Get in fastboot mode | bootloader

- Open a terminal and type:

fastboot -w
fastboot erase system
fastboot flash boot bootd2s.img
fastboot flash userdata system.img
-----------------------------------------
To restore your apps and settings:
fastboot flash system data.img
fastboot flash cache cache.img
-----------------------------------------
Factoryreset:
fastboot erase cache >> if you restored your apps & settings do not use this command
fastboot erase system
fastboot reboot

RECOVERY | BACKUP

- Unzip the folder.

- Plug, mount your PHONE and put the folder into SDCARD/clockworkmod/backup

- Unmount, unplug your PHONE and reboot it into recovery.

- After that, go to “backup and restore / restore / select your copied backup file”

- Factoryreset as i explain below, then select “reboot system now”

Factoryreset

Even so if the in the process become necessary, do a factoryreset ONLY in this way:

FASTBOOT:​

fastboot erase cache
fastboot erase system

RECOVERY:

mounts and storage ->
format cache
format system

*NOTE: if you do a hardreset in the normal way wipe data/factory reset you will erase all the data and in the next reboot the phone WON'T BOOT and will stuck in LG logo.

Other Versions

Android 2.2

Android 2.1

FIX FOR 2.1 20E FINAL: FC'S IN SOME GAMES AND APPS

*First you need to make room for the fix..

- Open RootExplorer and go to /system/sounds | press button r/w (r/w | r/o)

- remove all the files EXCEPT PowerOn.mp3

*Now you ready for the fix

- Download com.google.android.maps.jar

- copy it to /sdcard

- In RootExplorer, find the file, copy it and paste it in /system/framework

- change permissions to rw-r--r--

- Reboot or Shutdown/start phone again

In some firmware I cleaned up a little system, removing the "on your taste" some applications. They are not critical for the system - this is done primarily in order to fit the system into the data section.