LG GT540 Optimus - Technical Tips (collection) | bleed your Optimus



Rep: (207)
A comprehensive collection of technical advice for the use of all the advanced features LG GT540 Optimus
PictureGT 540, Optimus, Swift
Android OS FAQ | General FAQ for LG GT540 | FAQ for LG GT540 Android 2.3.x | Firmware 2.1 by Quarx | GT540 Swift (Optimus) - Post-Quarx firmware | LG GT540 - OpenSwift Project - Firmware (OS 2.2.1) | Firmware 2.3.7 by Mur4ik пїЅ | Technical Tips (collection) пїЅ | Firmware catalog | Optimus4you

What I want to achieve: Make a detailed guide explaining everything in plain language, but do not miss important nuances.

Before proceeding to the reading:
  1. the most important thing - neither I nor the administration of the forum are not responsible for what you do with your phone
  2. the main principle - before anything do to your device, - figure out what you're doing. In this topic, all will be explained.
  3. All tips and guides here are unofficial tricks / rom etc ... (officially it removes guarantee .. unofficially - everything will depend on your ability to "pretend hose" in SC)
  4. I assume that you already have firmware 2.1.
  5. do not worry much warning above: the problem may be most likely only due to hardware malfunction of the unit .. read on, all will understand.
  6. there will not advice such as "how to set up online", "how to write a SMS" - if such issues you are having, to postpone the reading of the topic.
  7. if in the course of reading you do not understand everything - do not stop - all will be explained. (Sooner or later)
  8. Yes, I can write a script "avtoproshivki" phone, and so on, but I will not do: in fact, using automatic programs, you probably do not know what is really happening with the phone.
Before asking a question
If something doesn’t work out for you, do not rush to ask in a topic (this or another) .. double-check everything, examine the caps in one way or another related to your problem. Use the search by topic (the button "Find in this topic"). Look at the last 5-10 pages of relevant topics, maybe your problem has already been discussed.
If you still need help, before sending a question, make sure that you have provided enough information:
1) the state of the phone before the advent of problems (some firmware, acceleration, JIT, app2sd ....)
2) what actions led to the appearance of the problem (what actions were performed last)
3) a detailed description of the problem
4) if it is connected with a computer - describe the software on your computer (which OS, 32 or 64 bit)
5) any other information that you have
In this way, you will help us help you.


training

What do we need:
1) self LG GT 540 Optimus :)
2) microSD card thereto
3) computer,Driver on phone(Archive contains including drivers for fastboot) .. and of course data cable :)
4) in some cases the firmware on Windows 7, you must download from the Microsoft website and install the two I've found:MSXML 4.0 SP3 Parser and VisualC Redist .
5) before cell phones, it is desirable to charge the battery to 100%, there is a version that then issues a fast discharge will not.

Our phone is equipped with 512Mb ROM (flash memory). Simply put, it is like a hard drive on your computer - it stores the operating system and our personal information.
This inner drive is divided into sections (I will list the main):
* Boot (boot, 5 MB)- there is stored the kernel linux system and ram-disk image of the root file system
* System (system, folder / system, about 245 Mbytes)- own Android system with built-in applications
* User (userdata, folder / data, about 138 MB)- user applications / settings
* Cache (cache, a 64 MB)- cache
that is why you are available in the phone 100+ MB initially

"The SD card?" it is logical to ask you? SD card mounted in the folder / sdcard (if the term "mounted" is not entirely clear - the contents of the SD card in the folder / sdcard machine file system)
fastboot, recovery, adb - terrible words or manna from heaven?
Perhaps, starting our bullying the device, you need to be sure that you can get everything back to a working state at any cost .. without even using a computer ... just imagine how you are perverted by deleting files from the system partition ... while you are on the bus ... knowing that right on the bus you will be able to bring the "corpse" back to life .. great? or flashing the experimental firmware, just to look at it with your eyes - and return to a stable build and live happily ever after?

What is fastboot and what is recovery?
fastboot
fastboot - mode for flashing / downloading the phone. Allows you to flash individual sections of the phone’s flash memory.
The fastboot itself is built into the low-level boot loader: i. through fastboot you can not break fastboot - this is the most important thing! Knowing how to use fastboot - you can always flash your phone - even if you have not inserted the wrong firmware into the system section before.

recovery
Recovery - a set of low-level utilities for saving / restoring a backup copy of all ROM partitions. By analogy with computer software - this is the "acronis true image on livecd". You can boot into the recovery and save the "current state of the system" - and then if you go back to it .. In addition, many system patches are made through it - so we will need recovery.


How to get fastboot?
Information from here: LG GT540 - Custom Recovery
I do not recommend sewing immediately one of the local firmware when switching from 1.6 to 2.1.
Sew any of your family to taste, then you can already with these.


1. sews a modified firmware to activate the fastboot and recovery training on the phone:
V20D - RUS (Russian from December 2, 2010)
V20E - CIS (CIS dated March 22, 2011)
(Assuming that we are after all the same with this firmware leave)

if you have firmware with fastbut not from the above themes - you need to sew the firmware from the topic.
0. We install drivers for the phone and downloadnormal flasher (detailed instructions how to sew)
- You can read about all this incorresponding forum thread
  1. From phone take out the memory card and SIM cards (not necessarily, but it is better to take out).
  2. Open the Device Manager on your computer.
  3. In the phone go inSettings ->Applications ->Developmentand put a tick onUSB Debugging
  4. We connect the phone to the computerCord Kitatrear USB port(In the system unit).
  5. In Device Manager, we see the new equipment in the "Modem" - disable it (PTP ->Disable).
  6. Run the flasher (eg KDZ_FW_UPD_RU), select the firmware, the type of phone should be 3GQCT.
  7. Click on the "Update Software", or that there is a button.
  8. Wait until the phone reboots itself. And disconnect from the computer.
  9. All. We put all the junk (Simcoe, map) in place and you will be all happy.


In general, it's probably the most difficult thing to do - the rest is actually easier. Once we no longer have to resort to this firmware proshivalschikom.
if something does not work with kdz proshivalschikom study theme (the cap, instructions and links to spoilers on kdz firmware)
LG GT540 - Firmware (OS 2.1)
LG GT540 - Problems with firmware
Use the search by topics.
Many people have written instructions to help you.


Using fastboot
Log in fastboot - CAMERA + POWER (The phone off hold down the camera buttonagainst the stopand press the On button. hold the camera until you see a blue screen)
If you see a blue screen with the words - you and I ask fastbute successful and correct firmware. You are on the right track.
Now connect your phone to your computer.
In this mode, the phone is ready for execution of commands that you give to the computer.
On your computer, you will need driver:
fastboot drivers
Driver for Vista and XP
Driver for Win7 x64
for Win7 x32 driver must be set to automatic mode, h-h online

post with the video driver installation instructions(Instructions frankly not a fountain, but the other is not if someone spit -. Write, add in a hat)

(This is the case with windows, pro linux, I'll write more)

Where to enter the commands?
1) download Attached filelg_gt540_tools.zip (407.04 KB)

2) run tools.cmd
3) get the command line


Fastboot command reference:
fastboot -w hardreset phone. deletes all user data, formatting partitions and data cache
fastboot erase<section>cleaning (formatting) of the specified section
fastboot flash<section><form>It transfers the image to the phone and flashes it to the specified section. We will flash the system and boot partitions. The image should be in the folder where you run the command or you must specify the full path to it.
fastboot rebootphone reboot


When the firmware via fastboot pop up messages BAD BLOCK
Nothing serious. (Although good too ..)
Do not panic (panic can add the fact that after the firmware for the first time the phone will load noticeably long time - this is a normal phenomenon is not associated with troubles)
For example I have them 10 from the start - no longer becomes. Also, do not detect errors in the firmware if there is bad block'ov (they probably skipped). Also not seen reports of an increase in their numbers.


Install recovery
download recovery_clockwork_5.5.0.4_swift
Attention!!! If you plan to install the firmware 2.1 by Quarx, you must download and install the old way rekaverirecovery_clockwork_2.5.1.8_swift.imgbecause in new versions removed support for obsolete scripts.
Via fastboot:
  1. rename the downloaded image in recovery.img (for simplicity)
  2. enter the fastboot on your phone
  3. put on the computer image in the folder lg_gt540_tools
  4. run tools.cmd, enter:
    fastboot flash recovery recovery.img
    fastboot reboot

  5. as the phone will reboot (turn off the screen), hold the "house" button
  6. phone will go in rekaveri

Through tereminal:
  1. rename the downloaded image in recovery.img (for simplicity)
  2. put the resulting recovery.img the root of the memory card
  3. install any terminal (can be set with the Market, you can setAndroid Terminal Emulator )
  4. the terminal executes the command:
    su
    flash_image recovery /sdcard/recovery.img



What can recovery?
  1. Patch type update.zip firmware
  2. hardreset
  3. Backup / restore (including new firmware can be sewn by the "recovery")
  4. sd connect to your computer (it is convenient that you can access from the comfort of sd recovery)
  5. formatting partitions phone (system / data / boot / cache .....), cleaning dalvik-cache.


How to use recovery?
Entrance to the recovery - HOME + POWER. (If the phone is switched clamp button with a house)
Navigate through the VOLUMEUP / VOLUMEDOWN menu, select SEND (green tube), return / cancel END (red tube).
Some assemblies may have different navigation keys, for example, selecting and deselecting the CAMERA and SEARCH or BACK and MENU buttons
often both keys work.
reboot system now- restart the phone
apply sdcard: update.zip- install update.zip patch from the root of sd card
wipe data / factory reset- User profile data clear (hardreset)
wipe cache partition- Clear the cache partition
install zip from sdcard- install .zip patch with sd card (select zip ->choose zip from sdcard)
backup and restore- Backup and restore your phone sections.
mounts and storagesubmenu:
- mount / unmount / xxxxxenable / disable section / xxxxx
- format xxxxxformat the partition xxxxx
- mount usb storageYou can connect sd card to the computer via usb cable.


Data backup
We are going to the rekaveri we can create a backup of the entire system through a point backup and restore ->backup
Backup takes place on the sd card in the folder clockworkmod / backup name - the date and time of the backup copy byGMT
to restore, select the subrestoreAnd then select from which folder to recover
advanced restoreIt allows you to recover partitions one by one to choose from. First, you select a folder, then the restored partition.
I recommend then renaming folders with backups in order to make it easier to understand later.
For example 2010-11-30.08.57.43 folder - only speaks of backup time, and if you rename 2010-11-30.08.57.43_quarx21 will be immediately obvious that this is a copy of the system with the installed 2.1 firmware from Quarx'a. More reasonable explanation appended to the folder name - then sorting by name, they will go in chronological order. the so-called "mounting" backup firmware I called to another approach: to prevent interference among your copies.
there is a suspicion that renaming the folder backupDo not use spaces and Russian letters. instead of spaces, use _Perhaps this is exactly what leads to the appearance of the “MD5 mismatch” MD5 creation algorithm based only on the contents of the files, neither the file names nor the folders have any influence on this checksum.Also, if you make manipulations with backup folders via mount usb in recovery, be sure to restart recovery (reboot system now, log in). Do not forget to unmount usb on your computer before unmount on your phone!



What makes update.zip? new!
Yes ... anything that it has prescribed, it does .. can change the two files or install the application .. and can reflash your phone :)
It is most often used for the partial modification of the firmware ..
Be careful .. update.zip can sometimes suitable only for strictly defined firmware versions .. read more description there, where swing update.zip.
the way to have fun may want to look into the archiver update.zip .. and there you will find a script with a sequence of applications and files to replace ..


Application update.zip new!
1) copy update.zip to the root of the memory card
2) go to the recovery
3) apply sdcard: update.zip
3a) If the zip is called differently and / or is not at the root of the memory card - you can use it throughinstall zip from sdcard ->choose zip from sdcard


What kind of beast is ADB?
Where many are mentioned adb, adb shell ..
ADB = Android Debug Bridge is a program for debugging and controlling your Android device from a computer (via usb cord).
In addition, there are applications to control the device via wifi and so on. We will not consider it for now ..
To work with ADB, you need to enable usb debugging on the device (settings ->applications ->development ->USB debugging)
Where to get adb.exe? In principle, she lives in the android sdk (like fastbut by the way) but you can use the previously mentioned folderlg_gt540_toolsrunning tools.cmd

Quick Reference for adb Commands:
adb devices - connected devices
adb push<local><remote>- transfer file to device<local>- local file (the one on the computer)<remote>- file on device
adb pull<remote> [<local>]- download the file from the device
adb shell<command>- run the command on the device
adb shell- go to the command shell of the device
adb install program.apk- to install the program on your device


adb usage examples:
adb push update.zip /sdcard/update.zip
- will copy update.zip from the current directory (on the computer) to the device (specifically, to the root of the SD card)
adb pull /sdcard/00001.vcf
- download the file 00001.vcf from the device (from the root folder of the SD card) to the current directory
adb pull /sdcard/00001.vcf C: \
- download file 00001.vcf from the device (from the root folder of the SD card) to the root folder of the C drive:

!!! pay attention to the path: the path to the files / folders on the device are written with the separator " / "Eg /sdcard/somefolder/somefile.zip
!!! pay attention to the case: the names of folders and files on the device are case sensitive: ie eg "file "and"F. Ile "two different files The same applies to the commands and their parameters (-vand -Vcan have different values), all in / sdcard / - exception, as SD card using the FAT file system - it register in the name does not matter.
the path of the local file can be omitted if it is located in the current directory (in the lg_gt540_tools folder if you use tools.cmd from there)

When we are told about the command that "you need to run on the device" or "run through the adb shell" it means that you must enter the adb shell
After entering, we will be met by an "invitation" - "$" you can enter commands ..
To go to the execution of commands as root (root) - it is necessary to enter the command "su"If you do it the first time - pay attention to the phone - there will be a confirmation dialog of the superuser (Of course this applies to rutovannym phones, getting Ruta perhaps I will add later - until the entire description here means installing custom firmware in which the root is already built).
When switching to the command execution mode from the superuser, the invitation will change from "$" to "#"
Exit from adb shell - exit (if previously there was a "su" command, then it will leave the superuser mode, to exit, type exit again)


How to copy the result of the script?
alt + space - change - mark
select with mouse, press enter
result copied to clipboard
Working with the device of the linux operating system
  1. swing linux_tools
  2. put in / usr / bin (or anywhere in the PATH, or wherever you want by writing the path in the PATH)
  3. We set the executable flag on them.
  4. /etc/udev/rules.d/51-android.rules create a file with the contents:
    SUBSYSTEM == "usb", SYSFS {idVendor} == "1004", MODE = "0666"
    SUBSYSTEM == "usb", SYSFS {idVendor} == "18d1", MODE = "0666"

  5. sudo restart udev
  6. adb and fastboot now work and does not require root access on your computer to access the phone
We get high-end2.1firmware
Firmware description
  1. Deodexed ROM (This simplified interface changes. ODEX files in the folder "app" and "framework" are not available)
  2. Replace white bar on black, and icons that correspond to a given clearance.
  3. Replaced Bootscreen "Android"
  4. Added voice search / input. (Voice input works in Smartkeyboard and modified HTC IME
  5. APK optimized all flash files (Removed unnecessary permission and pinched pictures).
  6. Added Root + Busybox and Root Explorer.
  7. From software LG have only LgMail and keyboard
  8. Removed the sound of the camera
  9. Support ext3 / ext4, netfilter / iptables, CPU overclocking, CIFS

Sews Quarx custom ROM for LG GT540
firmware via fastboot
  1. before we have to work and stitched fastboot recovery
  2. Download and unzipfirmware from Quarxa source:LG GT540 - Unofficial Android 2.1 Eclair Firmware
  3. Download and unzipKernel_v0.3from here:LG GT540 - unofficial firmware Android 2.1 Eclair (Post # 5923306)(On file with the kernel and also is update.zip, we will need it later).
  4. enter the fastboot on your phone
  5. put on the computer image system.img of claim 2 and claim 3 of boot.img in our folder and run lg_gt540_tools tools.cmd
  6. we enter:
    fastboot -w
    fastboot erase system
    fastboot flash system system.img
    fastboot flash boot boot.img
    fastboot -w
    fastboot reboot

    This we will do hardreset rewrite the system partition of the new firmware and immediately fill it with a modified kernel
  7. when you reboot (the first logo lg) keep the house fall into rekaveri, connect the mobile to the computer cord
  8. mounts and storage - mount usb storage
  9. copy the update.zip from paragraph 3 to the root of the SD card. (and disable - do from your computer safely remove)
  10. Now unmount your phone
  11. reboot system now (and go back to the house keeping rekaveri) (in fact, we reload the recovery, forcing re-read the contents of the SD card)
  12. apply sdcard: update.zip
  13. reboot system now
  14. long wait for the first load ... (to create a data structure / data)
  15. you have firmware 2.1 from Quarx

installation via recovery restore (for lazy)
  1. before we have to work and stitched fastboot recovery
  2. Download and unpack the backup system:http://narod.ru/disk/921220001/Quarx21_201...8.16.00.7z.html(Update.zip already integrated, boot, too new.JIT is not only )
  3. folder from the archive throw on the SD card in clockworkmod / backup folder /
  4. go to recovery ->backup and restore ->restore ->Quarx21_2010-12-06.18.16.19
  5. reboot system now
  6. long wait for the first load ... (to create a data structure / data)
  7. you have firmware 2.1 from Quarx

By the way, as you probably already guessed, the firmware for a computer so you are not required, for example, you can download the firmware directly on a cell, extract in / sdcard / clockworkmod / backup / and flash through rekaveri.The main thing that did not sit battery


First start after re-flashing will be long because of the creation of the cache. After the initial setting is recommended to take another reboot, and then set the program.


Now more about the possibilities of the firmware
CPU overclocking
With the help of the program В® SetCPU you can overclock the CPU of your device.
I will describe some of the features:
  1. if SetCPU max is 600 Mhz - click menu ->device selection ->autodetect (if you do not help - reinstall the program)
  2. maximum frequency for each instance will be different - there simply to luck.
  3. select the maximum frequency must be small stepsand without a tick Set on boot after spending tests (e.g. Linpack / Quadrant / Video playback / run games ...) If hangs or reboots the tests - is rolled back to the stable frequency.
  4. better the performance will be atcpu scaling: performance (The processor will always run at max frequency, at the expense of energy of course)
  5. there is a glitch: if SetCPU put 600 Mhz - actual speed will be less than it was before the launch of SetCPU and even less than at 480 Mhz - if you do not have to break up - do not turn SetCPU
  6. When working on a standard 600 Mhz (without overclocking) - undervoltage to prolong battery life
  7. As the experiments more efficient with respect to energy saving set processor 122 min frequency, max - your overclocked andscaling ondemand - phone standby time itself will reduce the frequency of up to 122 mhz and save battery. Using profiles (profiles) SetCPU usually only inhibits the output of the sleep mode.
  8. whether the processor will not burn? no. acceleration occurs without increasing voltage - the maximum reboot or hang (in this case, it may be necessary to pull the battery)


Support for netfilter / iptables
worksDroidWall- it is possible to limit certain applications access to the Internet .. or, conversely, to allow access to the Internet only a strictly defined set of applications. Different sets of rules for mobile and wifi internet. Useful for saving mobile traffic.


CIFS support
With the help of the programВ® CifsManageryou can access the contents of your computer via wifi network. In this case, you can work with files all shares on the computer as if they were in your phone on a flash drive!
what should be done?
  1. share the folder on your computer
    Naturally you must have wifi router
    ip computer must bestaticand known to you.
    wifi router settings and instructions rassharivaniya folder in windows there is no place
  2. register settings in the program cifs manager
    sharepath: ip_kompyutera / imya_shary - I think it is clear what it is
    mount point: a folder which will be connected to a ball - use a folder on the sdcard for example, / sdcard / cifs / share
    username / password - user name and password that has access to the folder
    options: prescribesiocharset = utf8is to support the Russian names of files and folders.
  3. connect the ball by clicking on it
  4. any file manager Go to the folder that specified in the mount point
  5. wifi settings to disable wifi phone switched off when it enters sleep mode.
  6. Do not forget to unmount the folder at the end of use (via cifsmanager)
  7. even so if you forget - the phone can start a little buggy and slow down .. is enough to overload the phone.


JIT activation
In short: JIT is a means of optimizing the executable application code "on the fly". It speeds up your machine.
side effect (bug) - USSD requests from Russian bukovkami buggy.
Installation: SwayJIT_v1.2.zipor from hereLG GT540 - unofficial firmware Android 2.1 Eclair (Post # 5743554)and apply through recovery (install zip from sdcard ->choose zip from sdcard)


Deactivating the JIT
download:un_JIT_v1.2-signed.zipand apply through recovery (install zip from sdcard ->choose zip from sdcard)
reboot - all JIT'a not.


Swap
Swap section allows you to expand the phone's memory. Those. allowing more applications to run simultaneously at the expense of performance .. do we need if swap android moot point ... application in android able to "sleep" and to recover, in the same state quietly and without user intervention ... another thing in applications such mode It may not always be implemented correctly (not even in the conversation and correctness in features such as the browser .. after the restoration of the back button will zanogo shipping page ...)
may still need to run something on resource-linux kernel ... that such peoplehereDebian is discussed on top of the Android launch ... In general ordinary users rarely need .. but nevertheless :)

Activation SWAP: (copy-paste fromLG GT540 - unofficial firmware Android 2.1 Eclair (Post # 5478120) )
  1. Create a SWAP partition on the flash drive.(zamette .. if you do not know what a swap partition and how to create one - stop, you do not need a swap)
  2. Set Swapper 2
  3. Go to the settings - put a tick Run swapper at startup / Safe Remount / Safe Unmount.
  4. The menu Swappiness point 30.
  5. Go to the Advanced preferences. There's a tick Use Swap Partition.
  6. In paragraph prescribe Swap partition / dev / block / vold / 179: 3(3 - means a third section on a flash card)
  7. Put 2 ticks Recreate swap file / Reformat swap.
  8. Exit the settings and press the "On". The display Turning swap off (partition) FAIL and the next line do not pay attention.
  9. Check whether SWAP connected (e.g. via Quick System info)
app2sd - wily beast, but useful;)
A wealth of information about app2sd collected in the cap threadsInstalling applications on the SD card on the GT540there are links to instructions and assembled mini FAQ on app2sd.
So we all cool .. only place in the section of the user data is not enough .. a big pile of applications not put ..
All solved :) it is possible to move applications to the sd card. It just works differently than in Android 2.2, so there are a number of features and limitations:
  1. You can only move all the applications (in fact, there is a workaround for this rule. I will try to describe and it is)
  2. applications are transferred to a separate partition sd card.
  3. map need to repartition into 2 sections (see details below)
  4. the map is not desirable to retrieve from the phone, and if they extract - the only off phone


Selecting the stick for app2sd
1) It is desirable to select such things fast memory card (microSDHC class6 or class10)
2) I draw your attention to the fact that very often in computer stores can find the stick is cheaper and higher class, unlike Forza salons cellular phones. (I bought 8gb class10 for 890 rubles (8gb class6 same place worth 680 rubles))


Preparation stick to app2sd
it is necessary that on the flash drive had two sections: the first FAT32, second ext2, both sections of the main (primary / primary)
how to break the stick:
  1. install a USB flash drive in the phone, enter the rekaveri and make a backup copy ;)
  2. load the phone connected to the computer, install the card
  3. on your computer to save the data you need to stick (Do not forget: backup, recovery also made her lie on (ClockworkMod folder) - and save them!)
  4. swingsd_part.zip
  5. unpack the archive to the root of the sd card
  6. Safely remove hardware on your computer, turn off the usb drive in the phone
  7. run Gscript Lite (if not, install a convenience store), the menu button (left sensor) "Add script", "Load file", select "part.sh" and "Save" and run it
  8. wait until the phone reboots
  9. profit! we now have two sections on a flash drive: fat32 and ext2

Ext2 size 512 mb (can be changed at the beginning of the script)


Further, in the cap threadsInstalling applications on the SD card on the GT540carefully studying the properties of a script and apply according to the instructions in the same place!
Installing firmware2.2.x/2.3.x+ Rollback firmware 2.1 official new
Unfortunately, LG is not going to update our GT 540 to firmware 2.2 (and above)
The forum is a craftsmen attaching a bunch of free time and effort on porting Android 2.2 and 2.3 to our phone.

This firmware is still in development, do not have the full functionality and may contain glitches / bugs / deficiencies ..
Having decided to install one or the other assembly is required to read the description, check out the features.

Advance decide for yourself: Do you want this? Are you ready to do hard reset your phone every time a new version of custom firmware? (This is 99% of cases, a must).

These EEPROM, like all custom firmware, put through fastbut (fastboot) or rekaveri (recovery).Therefore, you must first flash the phone with firmware and install fastbutom rekaveri.

Before flashingnecessarily bakap make your original firmware to be able to roll back to it.
just in case:

Firmware taken from relevant topics:
2.3.7 SwiftDroid - Android 2.3.7 (Gingerbread) on LG GT540
2.2.1 GT540 Swift (Optimus) - Post-Quarx firmware
2.2.1 LG GT540 - OpenSwift Project - Firmware (OS 2.2.1)

Attention!! Before flashing any firmware, be sure to familiarize yourself!
The authors of the firmware spend their time on porting the firmware on a voluntary basis, they do not owe you anything and do not owe anything!
I custom firmware authors are not responsible for what you do with your phone! All actions are performed at your own risk.
Show respect to the developers and other forum users, before you ask a question or write your problem:
  1. re-read carefully the cap threads (note that the decision of some of the issues are sometimes carried out in other topics)
  2. Read the information on the links of the cap (particularly the FAQ by this firmware, if there is one)
  3. at least read the last 10 pages of threads (most likely your problem has already appeared at somebody and it successfully solved)
  4. use search on (the button "found in this thread")

By following these rules you will actually save you time yourself.



Installation of option 1 (fastboot method):
  1. primarily through the reserve system recovery (nandroid backup)
  2. swing and extract selected firmware
  3. putsystem.img and boot.img to folder lg_gt540_tools
  4. We translate fastbut phone connected to the computer (do not forget the driver)
  5. tools.cmd run and type:
    fastboot -w
    fastboot erase system
    fastboot erase boot
    fastboot flash system system.img
    fastboot flash boot boot.img
    fastboot -w
    fastboot reboot

  6. long long wait for it to start for the first time ...


Installation of option 2 (recovery method):
  1. primarily through the reserve system recovery (nandroid backup)
  2. Download and unpack the backup system.
  3. folder from the archive to throw on the SD card in the root.
  4. go to recovery ->install zip from sdcard ->choose zip from sdcard ->We choose our firmware
  5. reboot system now
  6. long long wait for it to start for the first time ...


Before you install the updated firmware version follow the instructions in the relevant topics.
Usually required to do a full wipe (hard reset) before installing!
zamette that during the development of the changes relate to many system libraries -Do not use Titanium backup and such software for backup / restore system settings!(Ie accounts, wifi, bluetooth Paring, call / sms logs), configuration files (which are similar programs store) may not be compatible with the updated system libraries, you can "catch" a lot of obscure bugs.
rollback with custom firmware to the official 2.1
If you, for whatever reasons, decided to revert back to the official firmware, then do it just ask it through KDZ_UPD really I do not recommend. You should use the method outlined below:
  1. If not we download: ARUSWP V20E Russia , KDZ_FW_UPD
  2. Take out the sim card, USB flash drive from your phone.
  3. We go into fastboot, and connect the phone to a computer. (Assuming that the driver fastbuta and phone have been installed and is available folderlg_gt540_tools)
  4. Tools.cmd Run and write:
    fastboot erase system
    fastboot erase boot
    fastboot erase recovery
    fastboot reboot

  5. As soon as the phone starts to reboot (turns off the blue screen), press and hold the volume button down, we get into download mode. (If you press do not have time, do not worry - more fastboot now your phone will not boot - take out the battery and while holding the volume down button connects to the computer)
  6. Do not disconnect your phone from the computer remove the batteries.
  7. Open the Device Manager on your computer and disable the LG modem there are two, if there is one, then disable one.
  8. Run KDZ_FW, indicate to him our firmware and click the Update Software. If the flasher thought, do not panic, do not disable the phone from the computer. Wait until the phone appears animation capped.
  9. We put the battery back in place. Turn on the phone.


After the firmware immediately recommend to make hard reset, just in case.


Rearranging your partitions system and userdata new
Attention!! All information presented here only for advanced users. If you do not understand the essence of what you do, do not try to do anything nizhenapisannogo. Remember, neither I nor the authors, nor the resource administration for any bricks and bugs do not carry responsibility.
All information is taken in the subjectLG GT540 Data Transfer to Systemthere and there is discussion of the various nuances.

What is it and why should it?
The bottom line is that the division of the internal flash memory into sections provides different partition sizes to / system (245 MByte) and / data (138,5 MB)
more details:
# cat / proc / mtd
dev: size erasesize name
mtd0: 00500000 00020000 "boot"
mtd1: 04000000 00020000 "cache"
mtd2: 00500000 00020000 "recovery"
mtd3: 00060000 00020000 "splash"
mtd4: 0f500000 00020000 "system" == == 250880 256 901 120 Byte == KByte 245 KByte
mtd5: 002c0000 00020000 "lgdrm"
mtd6: 08a80000 00020000 "userdata" == == 141824 145 227 776 Byte == KByte 138.5 KByte
mtd7: 00100000 00020000 "misc"
mtd8: 00080000 00020000 "usd"
mtd9: 005a0000 00020000 "pkg"
mtd10: 1cfc0000 00020000 ' "

I had the idea to change the size of the partition system and userdata, then you can use a large partition for user data.


how to change the partition sizes
The process by Mur4ik Original post: LG GT540 Data Transfer on System (Post # 8252336)
  1. DownloadingSwift bootloader tools (alternative link)
  2. On the computer should already be set for the driver and fastbuta rekaveri.
  3. Connecting the mobile phone to the cable (pre include debugging or pre-loading it into fastboot).
  4. Run the program.
  5. Choose the desired partition sizes
  6. Click "Flash new bootloader".
  7. After that, do a full wipe and sews everything.


If the size of the system has changed in the smaller side, but not less than the data on it, wipe and re-insertion is not required.

It is also possible to return the default boot loader (for a hike in the SC).
Of course you can simply save a new loader for further inserting it into KDZ.

If, after the procedure, the phone is not loaded on the logo or animation , Then you need to do a wipe and / or sew the net partition system.

Firmware is fastboot method, i.e. as well as many stitch their phones on custom firmware.

maybeprogram to run with administrative rights.
maybeProgram you need to install .NET Framework 3.1.

What are the pitfalls in the future use?
No, the main thing to follow then that the size of the selected firmware intermeddle in the size of your system (although the loader itself take care of this and will simply not asking for a larger image).
And as if the partition size is chosen smaller than it is now there is data in the system, you'll need to re-flash the image of the system.

Instructions, manuals, links to useful posts in the topic


Post has been editedbald1984 - 03.06.14, 17:18



Rep: (207)
So much has been written and a lot to write. It turns out that something like a FAQ on the firmware, and at the same time an overview of all of your phone :)
Ask relevant questions, the proposed addition - all will.

about spelling mistakes publicly shaming - write to the PM. ;)



Rep: (97)
Thank!

I heard about the problems with the pullback in the off firmware (2.1) after installing the firmware with fastboot + recovery, Quarx's, etc.
Is it so?
You can also register the rollback steps.


P / S / himself able to roll only in firmware fastboot ... (after Quarx EEPROM) and only when the battery pulled out,
off when the firmware 2.1 - throws screen kernel panic.



Rep: (0)
Rolls back to off. 2.1 With the help of this topic
LG GT540 - Firmware (OS 2.1) (Post # 5305915)
At what point happens kernel panic?



Rep: (34)
Lamerskie questions: when nandroid backup stores all data, including the recording of calls, sms, save games, location of labels on the screen before the backup?Sam checked - all survived :)
Which method is more reliable and safer firmware (for the stick, phone) method or fastboot recovery method.

Post has been editedCrivaldo - 07.12.10, 22:49



Rep: (1)
script part fails. ext2 partition mounted. SDHC 8G 6class.
with body format back the full amount flehi. second run)

Post has been editedSSBarinov - 08.12.10, 02:11



Rep: (9)
AntonCh @ 06.12.2010, 03:03*
OpenSwift - Cyanogen Mod 6.1 (Android 2.2.1)

I'm sorry, but what you need to put it? If half of the required functions are not working.

Post has been editedabsolutize - 08.12.10, 04:41



Rep: (97)
At what point happens kernel panic?


After flashing - directly - does not load, and on the screen a lot of text (white on a black background :-))
kernel panic ... offers a reboot and everything is new.

Maybe it's not here to discuss? Or is it included in the instructions "how to roll back"?



Rep: (207)
Crivaldo @ 07.12.2010, 19:50*
when nandroid backup stores all data, including the recording of calls, sms, save games, location of labels on the screen before the backup?

nandroid backup saves all the data that even if you have had app2sd (to this section except on a flash drive has to be)
Crivaldo @ 07.12.2010, 19:50*
Which method is more reliable and safer firmware (for the stick, phone) method or fastboot recovery method.

Reliability and security - the same way.

SSBarinov @ 08.12.2010, 02:05*
script part fails. ext2 partition mounted. SDHC 8G 6class.

if you remember - with a mistake?

absolutize @ 08.12.2010, 04:40*
OpenSwift - Cyanogen Mod 6.1 (Android 2.2.1) I'm sorry, but what you need to put it? If half of the required functions are not working.

to play ... of course all in a row do not recommend .. finished the information ..

Post has been editedAntonCh - 08.12.10, 10:41



Rep: (578)
absolutize @ 08.12.2010, 06:40*
I'm sorry, but what you need to put it? If half of the required functions are not working.

Do not put someone makes what?



Rep: (1)
AntonCh,
not had time to look, there is a reboot once gone, so I think it's somewhere in the last lines of the script. The second time is absolutely of the same actions all turned out fine. Question for such A JIT where to put? after repartition flash it does not fly?



Rep: (207)
SSBarinov @ 08.12.2010, 09:17*
A JIT is placed where? after repartition flash it does not fly?

JIT is placed into the folder / system, replaces pack Libov in / system / lib (can zip themselves vnitri see :)) app2sd, and even more partitions on the sd card does not affect the JIT



Rep: (207)
ventura79652 @ 08.12.2010, 14:46*
it is necessary to the continuation of on app2sd account, the atoms do not get Cheto after the launch of a program (gskript) there took action kakieto MOBILE rebutnulas and how to write kvarks Tipo ready and umya not put kazhis.delal all as written. (wrote sdes because, as in other topics ignore my posts) skazhiet che do Yeshe


/ Me click toggle telepathic usilitilya, all over the city lights go out ...

I understand you have broken the memory card into two sections: the first fat32 second ext2
then run through gscript app2sd.sh of topicsLG GT540 - Unofficial Android 2.1 Eclair Firmware(Like you mentioned kvarksa)

or
app2sd you run out of other subjects? then I'll guess from what ...
but then exploded telepathic power ..

Write how and what you do exactly.
a script from which threads started?
Have you tried to do in this topic?
what is your flash drive? (Volume, class)
in any case with the help of RootExplorer see used and free space in the / data, / data / app, / data / data.



Rep: (207)
Crivaldo @ 08.12.2010, 19:10*
1 more question: why is it sometimes freezes up time vidzhetae watch? I have 2 widget, which shows the time and sometimes it happens that the time to dwell on them at the same time. On the other widgets used to be the same. No ala taskkiler applications do not have. Solved by rebooting or removing / switching widget on the screen.

firmware as I understand GT540 Black Custom ROM 2.1 + Kernel v0.2.2 + 855mgts ... can overclock influences? (Or until the acceleration is too it?) How often manifests itself? actually pinpoint the time of the termination of the update? any application before it started?



Rep: (34)
AntonCh @ 08.12.2010, 19:26*
firmware as I understand GT540 Black Custom ROM 2.1 + Kernel v0.2.2 + 855mgts ... can overclock influences? (Or until the acceleration is too it?) How often manifests itself? actually pinpoint the time of the termination of the update? any application before it started?

Now that the firmware is the signature.
Before the acceleration was even more often.
usually 2-3 times a day, hangs, and sometimes even once a day.
No, that's just the thing that hangs under different circumstances, sometimes hangs after the release of the mobile Internet, and sometimes may hang from a simple screen and unlock.
Same.



Rep: (0)
AntonCh I see you want to describe a kind man that I have happened to the body (of the inscriptions can dogadatsa where it :))) Proshilsa to ask Kvarkovskuyu, installed kernel (the first version) 6 days was all Oka, then began to fail sensor did not respond sometimes to touch, and a touch of "smear" gave an error screen Android, perustanovil to a new kernel, half a day all was well, then cover those issues with sensor + applications loaded stupid (first slow down and then reloaded) (ps Perc rozognan was 160 MHz, all the time) decided pereproshitsa when pereproshivalsa flasher east navlivalsa for recording the parameter with a value of 133, 140, 189, then finally zdohlo body even danload IRTO unvisited. I am interested in this part aparatno gave Zboj or I nakosyachil why flasher did not want to sew the body (x modem turned off)? Pasibo Sarnen for the answer.



Rep: (207)
sloun67 @ 09.12.2010, 07:19*
Acceleration was no way ................. As a manual did not work .... Prompt !!! (((

metis777 @ 09.12.2010, 01:51*
people and what to do all done under the instruction passes the body turns on screen saver and all worth it for a long time and zero imotsii

such issues do not write: write more it was that made that ended up with

sloun67,
here for example about the crackdown: as a "way" ?? SetCPU not see more than 600 frequency?
AntonCh @ 06.12.2010, 00:53*
1) if SetCPU is max 600 Mhz - click menu ->device selection ->autodetect (if you do not help - reinstall the program)

did you do it?
boot.img or pierced through rekaveri put the firmware?
or simply set the frequency above does not accelerate? (Hangs / reboots) it is written:
AntonCh @ 06.12.2010, 00:53*
2) the maximum frequency for each instance will be different - there simply to luck.

Including the maximum rate may be 600.

metis777,
what they were doing? Instructions on how exactly? What saver? (First / second / third) how many were waiting for?
AntonCh @ 06.12.2010, 00:53*
First start after re-flashing will be long because of the creation of the cache. After the initial setting is recommended to take another reboot, and then set the program.


LiMOn41k,
Try to flash the phone via fastbut again (not forgetting fastboot -w), pay attention to the reports of troubles (how many of them around)
If you repeat the bugs ..
Shoot did not notice the inscription about the odds ..
xs ... about flasher KDZ little I can tell .. I have passed this stage as a nightmare .. if there is a firmware theme and topic problems in the firmware - where people often come across it proshivalschikom.

Competdo,
Crivaldo @ 08.12.2010, 20:36*
Now that the firmware is the signature. Before the acceleration was even more often. usually 2-3 times a day hangs sometimes and never in den.Net, that's just the thing that hangs under different circumstances, sometimes hangs after the release of the mobile Internet, can sometimes hang from the simple and unlock most ekrana.Tozhe .

xs that can be honestly .. I have not seen such glitches .. though he only yuzayu FlipClock medium, launcher (home screen) - Launcher Pro
a launcher is used? standard or ADW or LP?

Post has been editedAntonCh - 10.12.10, 09:15



Rep: (18)
Guys who can put the screens? Now he, unfortunately, without Optimus
To guide was even clearer



Rep: (34)
AntonCh @ 09.12.2010, 12:45*
xs that can be honestly .. I have not seen such glitches .. though he only yuzayu FlipClock medium, launcher (home screen) - Launcher Pro
a launcher is used? standard or ADW or LP?

By the way, yes, I yuzal ADW on both firmwares. I'll try to change the launcher. Does someone there hang time on ADW?



Rep: (43)
Crivaldo @ 09.12.2010, 17:35*
By the way, yes, I yuzal ADW on both firmwares. I'll try to change the launcher. Does someone there hang time on ADW?

It was still at 1.6. When the clock were only the "default desktop" - does not hang.



Rep: (2)
LAMP plz, how to put draivera fastbut without a connected body without it ???! with MN +


Full version    

Help     rules

Time is now: 04/05/20, 05:01