mateor / auto-patcher

smali patcher for Android code injection
MIT License
74 stars 42 forks source link

This rom needs updated patches! with cm-11-20131225-NIGHTLY-captivatemtd #253

Closed qqqwppp closed 10 years ago

qqqwppp commented 10 years ago

ROOT= /cygdrive/d/APG/ApGPackages/ap TOOL= /cygdrive/d/APG/ApGPackages/ap/patch_tools.tgz ROM= /cygdrive/d/APG/cm-11-20131225-NIGHTLY-captivatemtd.zip ROMX= D:\APG\CM-11-~1.ZIP

checking for updates

Updater: Auto-Patcher is already up to date

verify tools

/cygdrive/d/APG/ApGPackages/cygwin/bin/tar /cygdrive/d/APG/ApGPackages/Java/bin/jar /cygdrive/d/APG/ApGPackages/Java/bin/java /cygdrive/d/APG/ApGPackages/cygwin/bin/cpio

verify ROM

running ./auto_patcher /cygdrive/d/APG/cm-11-20131225-NIGHTLY-captivatemtd.zip openpdroid cm

PATH= /cygdrive/d/APG/ApGPackages/ap/tmp20131225211843:/cygdrive/d/APG/ApGPackages/Java/bin:/cygdrive/d/APG/ApGPackages/cygwin/bin:/cygdrive/d/APG/ApGPackages/cygwin/usr/sbin

unzip patch tools

unzip patch patches

... result of ROM check: RIL= SamsungExynos3RIL

probe rom type

GNU Build Query

VER= v3.7.1

OS= cygwin 32bit

VID= 4.4.2

PID= openpdroid

MID= cm_captivatemtd-userdebug

RID= cm

ANDR= 4.4

BDID= 20131225

DID= SGH-I897

BID= 20131109

Current HEAD: 5a0417cf568f6053dce0cd4fc7a84c861a1c2722 Update reservoir for SlimRom

unzip rom

DELETE FILES=

COPY FILES= system/media/PDroid.jpeg

JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar system/framework/telephony-common.jar

APK FILES=

IMG FILES=

TXT FILES=

create updater script

... using Clockworkmod installer ...

generated updater-script

ui_print(""); ui_print(""); ui_print("~~~~~~~~~~~~"); uiprint("* "); uiprint(" * The * _"); uiprint(" * * Auto-Patcher * * _"); uiprint(" * * _"); uiprint(" *"); ui_print("~~~~~~~~~~~~"); ui_print(""); ui_print(" Attention"); uiprint(" ***"); ui_print(""); ui_print(" No ART support!"); ui_print(" Only use the davlik runtime with OpenPDroid!"); uiprint(" *"); ui_print(""); ui_print(" There is nothing that can go wrong here"); ui_print(" that reflashing your ROM won't fix."); ui_print(""); mount("ext4", "EMMC", "/dev/lvpool/system", "/system"); package_extract_dir("system", "/system"); ui_print(" ."); ui_print(" ."); ui_print(" done!");

create restore.zip

decompile system files

... decompile framework.jar ...

... extract preloaded-classes ... ���: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

... decompile telephony-common.jar ...

copy patch openpdroid/4.4

... copying system/media/PDroid.jpeg ...

... overwriting system/media/PDroid.jpeg from openpdroid ... patches/openpdroid/4.4/cm/20131109/system/media/PDroid.jpeg' ->./system/media/PDroid.jpeg'

jar patch openpdroid/4.4

... apply framework.patch ... Matching the created file: ContextImpl$48

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! error: This rom needs updated patches! Please post log on github.com/mateor/auto-patcher

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

If your deodexed rom is not on the supported list and you want it added:

- Upload your log and a link to the rom's source code (mandatory)

 and be patient, please!

ROM download link: http://download.cyanogenmod.org/get/jenkins/52581/cm-11-20131225-NIGHTLY-captivatemtd.zip

mateor commented 10 years ago

Updated and tested working. Happy holidays.