Skip to content

farid1991/bpatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bpatch

This tool is used to patch a payload into the jab3b4ded00cb34b3cc77a6699f87ac10753fa701.b file, which is created by jjpatcher a2 runtime patcher.

Prerequisites

  • Python 3.x
  • Optional: FASMARM (for assembling bpatchgo.asm)

How to obtain the jabxxx file

  1. Upload customize_upgrade.xml in the script directory into /tpa/preset/custom using SEFP2 or SETool.
  2. The jabxxx file will be saved in /usb/other/jab3b4ded00cb34b3cc77a6699f87ac10753fa701.b
  3. Copy jabxxx file to PC via Bluetooth, MTP, or Mass Storage

Patching

Run the following command:

python bpatch.py jab3b4ded00cb34b3cc77a6699f87ac10753fa701.b

After patching

Upload back patched jabxxx to:

/tpa/preset/system/ams/jab3b4ded00cb34b3cc77a6699f87ac10753fa701.b

using A2Uploader(DB3150 and DB32XX with max CID53), SEFP2 or SETool.

More information