mateor / auto-patcher

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

aicp hammerhead needs updated patches #286

Closed imagenoise closed 10 years ago

imagenoise commented 10 years ago

just wanted to try the rom, so o real need for me (yet?), but due to the "Please open an issue at github.com/mateor/auto-patcher!" message, here we go:

http://tunsd.de/downloads/ICJ/AICP_kitkat/hammerhead/aicp_hammerhead_kitkat_2014-02-01.zip

https://github.com/AICP/

Updater: Auto-Patcher is already up to date

verify tools

/usr/bin/patch /usr/bin/tar /usr/bin/jar /usr/bin/java /usr/bin/cpio

verify ROM

running ./auto_patcher aicp_hammerhead_kitkat_2014-02-01.zip openpdroid

PATH= /home/kptn/cyanogen/autopatcher31/tmp20140202140738:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/usr/bin/vendor_perl:/usr/bin/core_perl

unzip patch tools

unzip patch patches

probe rom type

GNU Build Query

VER= v3.8.27

OS= linux-gnu 64bit

VID= 4.4.2

PID= openpdroid

MID= aicp_hammerhead-userdebug

RID= aosp

ANDR= 4.4

BDID= 20140201

DID= hammerhead

BID= 20131105

Current HEAD: 3f0683d33543e5b8edff548df3ff6e49f3fef3c0 update reservoir for omnirom

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 system/priv-app/Mms.apk

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/block/platform/msm_sdcc.1/by-name/system", "/system"); package_extract_dir("system", "/system"); unmount("/system"); ui_print(" ."); ui_print(" ."); ui_print(" done!");

create restore.zip

decompile system files

... decompile framework.jar ...

... extract preloaded-classes ... inflated: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

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

... decompile Mms.apk ...

copy patch openpdroid/4.4

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

... overwriting system/media/PDroid.jpeg from openpdroid ... 'patches/openpdroid/4.4/aosp/20131105/system/media/PDroid.jpeg' -> './system/media/PDroid.jpeg'

jar patch openpdroid/4.4

... apply framework.patch ... Matching the created file: ContextImpl$46 for openpdroid/4.4/aosp

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

!!! error: This rom needs updated patches! Please open an issue at 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!