Skip to content

Sony Ericsson Firmware Patch, Patch sources for Sony Ericsson phones A1 and A2 platform

License

Notifications You must be signed in to change notification settings

farid1991/patch-se

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PATCH-SE

Sony Ericsson Patch

Patch sources for Sony Ericsson phones A1 and A2 platform

More details

Clone the project

git clone https://github.com/farid1991/patch-se.git

If you don't have git on your machine, install it.

Compile patch from source

using IAR IDE
  • Open root projects directory
  • Open iar project file (.eww) and compile to elf with iccarm (IAR Embedded Workbench 4.2)
  • Select configuration.
  • build project.
using VSCode
  • install vscode extension IAR For Visual Studio Code v1.3.1
  • Configure the extension and set the IAR directory in "iarvsc.iarInstallDirectories".
  • Open root projects directory
  • Select project and configuration.
  • build project.

Convert elf to vkp using elf2vkpex 1.03 (c) den_po
elf2vkp -eELFNAME.ELF -fFIRMWAREFILE.EXT

supported firmware formats:
- raw
- mbn/ssw/babe
- cxc

Installation

A1 Platform
A2 Platform

Project Structure

Details
.
├── PatchName/
│   ├── asm/                    # asm files
│   ├── Target/                 # configuration files
│   ├── xcl/                    # linker files
│   ├── snapshots/              # screenshot files
│   ├── "BUILD_TARGET"/
│   │   ├── Exe/
│   │   │   └── PatchName.elf   # build files
│   │   ├── List/
│   │   │   └── *
│   │   └── Obj/
│   │       └── *
│   ├── *.c
│   ├── *.h
│   ├── PatchName.ewp           # iar project config
│   ├── PatchName.eww           # iar project
│   └── readme.md
├── ...
├── include/
│   ├── book/
│   ├── classes/
│   ├── types/
│   └── *.h
└── ...

Patch info

VKP (V_Klay Patch) is format for patch file on Siemens and Sony Ericsson phones firmware.

Get compiled VKP

List

Structure

;Device and Firmware
;Patch name
;Patch description
;(i) `Additional info`          ;optional
;(!) `Conflict with Patch xxx`  ;optional
;(c) Patch creator
;(p) Patch porter
;(e) Patch editor
;pAtChFiLe=/boot/phone_app.cxc  ;optional
+base_address                   ;optional
patch_address: old_bytes new_bytes

Example

;C510 SW-R1HA035
;Fix int2strID, Str2ID
;(i) Needed by some patches and elves (eg: BookManager)
;(c) IronMaster
;pAtChFiLe=/boot/phone_app.cxc
1401F5C2: 0D1C 0025
141818EE: 1D1C 0025

Port Requests

Open PR to request port a patch to certain device

Feature Requests

Feature requests are welcome. Please provide as much detail and context as possible.

TODO

Migrate the projects to Arm GNU Toolchain from IAR Build Tools for Arm

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Sony Ericsson Firmware Patch, Patch sources for Sony Ericsson phones A1 and A2 platform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published