E
EgonBader
Neues Mitglied
- 2
OK, danke. Werd ich mal ausprobieren.
Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion erfordert derzeit den Zugriff auf die Seite über den integrierten Safari-Browser.
Running autopatcher with the following arguments:
ROM_PATH: /cygdrive/d/Android/Rom patch/FXP209-cm-10-20130302-UNOFFICIAL-tapioca.zip
PATCH_TYPE: pdroid
ROM_TYPE: cm
The Auto-Patcher v2.8.51
mkdir: cannot create directory `/cygdrive/d/Android/Rom/tmp20130308222619': No such file or directory
### verify tools ###
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! error: patch_tool.tgz is missing
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! The Auto-Patcher could not find its patches and/or tools!
* Did you run ./batch.sh first?
The patch_patches.tgz and patch_tools.tgz need to be in this directory,
one way or another...
usage: ./auto_patcher <ROM> <MODS> <ROMTYPE>
example: ./auto_patcher CM10.zip cm
Use ./auto_patcher -h for the help menu
enshiro schrieb:Hat schon Jemand PDroid, OpenPDroid oder PDroid 2.0 zum laufen gebracht ?
Ich versuch schon ne weile nen entsprechenden Patch mit AgP zu erstellen, ohne Erfolg.
Code:Running autopatcher with the following arguments: ROM_PATH: /cygdrive/d/Android/Rom patch/FXP209-cm-10-20130302-UNOFFICIAL-tapioca.zip PATCH_TYPE: pdroid ROM_TYPE: cm The Auto-Patcher v2.8.51 mkdir: cannot create directory `/cygdrive/d/Android/Rom/tmp20130308222619': No such file or directory ### verify tools ### ...
-- Installing: /sdcard/FXP210_cm-10-20130309-UNOFFICIAL-tapioca_ss.zip
Finding update package...
I:Update location: /sdcard/FXP210_cm-10-20130309-UNOFFICIAL-tapioca_ss.zip
Opening update package... Installing update...
script aborted: assert failed:
getprop("ro.product.device") == "ST21i" ||
getprop("ro.build.product") == "ST21i" ||
getprop("ro.product.device") == "tapioca_ss" ||
getprop("ro.build.product") == "tapioca_ss" assert failed:
getprop("ro.product.device") == "ST21i" ||
getprop("ro.build.product") == "ST21i" ||
getprop("ro.product.device") == "tapioca_ss" ||
getprop("ro.build.product") == "tapioca_ss"
E:Error in /sdcard/FXP210_cm-10-20130309-UNOFFICIAL-tapioca_ss.zip
(Status 7) Installation aborted.
enshiro schrieb:FXP210 wollte ich gestern installieren, allerdings bloß via "install.zip from SD" über cwm, bin aber gescheitert.
ROOT= /home/enshiro/Downloads/autopatcherv2.8.4
TOOL= /home/enshiro/Downloads/autopatcherv2.8.4/patch_tools.tgz
ROM= /home/enshiro/Downloads/autopatcherv2.8.4/FXP210_cm-10-20130309-UNOFFICIAL-tapioca_ss.zip
### verify tools ###
/usr/bin/patch
/bin/tar
/usr/bin/jar
/usr/bin/java
/bin/cpio
### verify ROM ###
### running ./auto_patcher FXP210_cm-10-20130309-UNOFFICIAL-tapioca_ss.zip openpdroid cm
PATH= /home/enshiro/Downloads/autopatcherv2.8.4/FXP210_cm-10-20130309-UNOFFICIAL-tapioca_ss.zip.tmp20130313091905:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
### unzip patch tools ###
### unzip patch patches ###
... result of ROM check: RIL= SonyQualcommRIL7x27a
### probe rom type ###
#### Standard Build Query ####
# VER= v2.8.4
# OS= linux-gnu 32bit
# VID= 4.1.2
# PID= openpdroid
# MID= cm_tapioca_ss-userdebug
# RID= cm
# ANDR= 4.1
# BDID= 20130309
# DID= tapioca_ss
# BID= 20130209
Patches are openpdroid/4.1/cm/20130209
### DELETE FILES=
### COPY FILES= system/media/PDroid.jpeg
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar
### APK FILES= system/app/Mms.apk
### IMG FILES=
### TXT FILES=
### unzip rom ###
### create updater script ###
... using Clockworkmod installer ...
# generated updater-script
ui_print("");
ui_print("");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("* *");
ui_print("* * The Auto-Patcher * *");
ui_print("* * * * * *");
ui_print("* * by mateor * *");
ui_print("* *");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("");
ui_print(" Attention");
ui_print(" ************************************");
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/mmcblk0p10", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
unmount("/system");
ui_print(" .");
ui_print(" .");
ui_print(" done!");
### create restore.zip ###
### decompile system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
dekomprimiert: preloaded-classes
... decompile core.jar ...
... decompile services.jar ...
dekomprimiert: system/framework/framework-res.apk
... installing framework files ...
... decompile Mms.apk ...
### copy patch openpdroid/4.1/cm/20130209 ###
... copying system/media/PDroid.jpeg ...
`patches/openpdroid/4.1/cm/20130209/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'
... overwriting GsmServiceStateTracker.smali ...
### delete patch openpdroid/4.1/cm/20130209 ###
### jar patch openpdroid/4.1/cm/20130209 ###
... apply framework.patch ...
The next patch would create the file 'smali/android/app/ContextImpl$40.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
5 out of 5 hunks FAILED -- saving rejects to file smali/android/content/ContentResolver.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/view/ViewGroup.smali.rej
1 out of 5 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali.rej
... apply preloaded.patch ...
!!! PATCHING FAILED FOR android/content/ContentResolver.smali com/android/internal/telephony/gsm/GsmServiceStateTracker.smali !!!
!!! patch error for android/content/ContentResolver.smali !!!
File for which patching failed:
---------------------------------------------
ContentResolver.smali
You only need to report this if running the program gives you problems!!!
askconsent final = y: for android/content/ContentResolver.smali
... replace android/content/ContentResolver.smali ...
`patches/openpdroid/4.1/.provisionals/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali' -> `tmp/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali'
!!! patch error for com/android/internal/telephony/gsm/GsmServiceStateTracker.smali !!!
File for which patching failed:
---------------------------------------------
GsmServiceStateTracker.smali
You only need to report this if running the program gives you problems!!!
askconsent final = y: for com/android/internal/telephony/gsm/GsmServiceStateTracker.smali
... replace com/android/internal/telephony/gsm/GsmServiceStateTracker.smali ...
`patches/openpdroid/4.1/.provisionals/system/framework/framework.jar.out/smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali' -> `tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali'
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/app/ContextImpl.smali.orig
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/view/ViewGroup.smali.rej
... apply core.patch ...
GARBAGE=
GARBAGE=
... apply services.patch ...
GARBAGE=
GARBAGE=
### apk patch openpdroid/4.1/cm/20130209 ###
... apply Mms.apk.patch ...
21 out of 21 hunks FAILED -- saving rejects to file smali/com/android/mms/transaction/HttpUtils.smali.rej
`patches/openpdroid/4.1/cm/20130209/system/app/Mms.apk' -> `system/app/Mms.apk'
GARBAGE= tmp/system/app/Mms.apk.out/smali/com/android/mms/transaction/HttpUtils.smali.orig
GARBAGE= tmp/system/app/Mms.apk.out/smali/com/android/mms/transaction/HttpUtils.smali.rej
### img patch openpdroid/4.1/cm/20130209 ###
### text patch openpdroid/4.1/cm/20130209 ###
### rebuild jar ###
... rebuild framework.jar ...
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: method index is too large.
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Item.addExceptionContext(Item.java:177)
at org.jf.dexlib.Item.writeTo(Item.java:120)
at org.jf.dexlib.Section.writeTo(Section.java:119)
at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
at org.jf.smali.main.main(main.java:227)
Caused by: java.lang.RuntimeException: method index is too large.
at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction35c.java:102)
at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
at org.jf.dexlib.Item.writeTo(Item.java:117)
... 3 more
code_item @0x19e030 (Lcom/android/internal/telephony/Connection$PostDialState;->values()[Lcom/android/internal/telephony/Connection$PostDialState;)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed compiling framework.jar !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Problem with method cap !!!
... attempting fix ...
... remove unnecessary 29 files to avoid methods cap ...
DELETE RILS= tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/Smdk4210RIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/QualcommSharedRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/LGEQualcommUiccRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SemcRIL$IccHandler.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungCDMAQualcommRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/Smdk4210RIL$ConnectivityHandler$ConnectivityBroadcastReceiver.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/HTCQualcommRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungCDMAv6RIL$ConnectivityHandler$ConnectivityBroadcastReceiver.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungCDMAv6RIL$ConnectivityHandler.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/MotoWrigley3GRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungQualcommD2RIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungRIL$1.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/QualcommSharedRIL$1.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/QualcommSharedRIL$IccHandler.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/LGEQualcommRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungHCRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungCDMAv6RIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungRIL$ConnectivityHandler$ConnectivityBroadcastReceiver.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungRIL$SamsungDriverCall.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SemcRIL$1.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/Smdk4210RIL$ConnectivityHandler.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungQualcommUiccRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungCDMAv6RIL$SamsungDriverCall.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungRIL$ConnectivityHandler.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SamsungCDMAv6RIL$1.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SemcRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/SonyQualcommRIL.smali tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/Smdk4210RIL$1.smali
... rebuild framework.jar ...
Hinzufügen von: classes.dex (ein = 8797296) (aus = 3594078) (komprimiert 59 %)
Hinzufügen von: preloaded-classes (ein = 84887) (aus = 14594) (komprimiert 82 %)
... rebuild core.jar ...
Hinzufügen von: classes.dex (ein = 2512068) (aus = 1056324) (komprimiert 57 %)
... rebuild services.jar ...
Hinzufügen von: classes.dex (ein = 1818220) (aus = 823338) (komprimiert 54 %)
### rebuild apk ###
... rebuild Mms.apk ...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
### create update-cm-tapioca_ss-20130309-openpdroid.zip ###
Manifest wurde hinzugefügt.
Hinzufügen von: system/framework/framework.jar (ein = 3609257) (aus = 3584827) (komprimiert 0 %)
Hinzufügen von: system/framework/core.jar (ein = 1060562) (aus = 1054364) (komprimiert 0 %)
Hinzufügen von: system/framework/services.jar (ein = 823797) (aus = 822459) (komprimiert 0 %)
Hinzufügen von: system/app/Mms.apk (ein = 3464418) (aus = 3218080) (komprimiert 7 %)
Hinzufügen von: system/media/PDroid.jpeg (ein = 26898) (aus = 25744) (komprimiert 4 %)
Eintrag META-INF/ wird ignoriert.
Hinzufügen von: META-INF/com/ (ein = 0) (aus = 0) (gespeichert 0 %)
Hinzufügen von: META-INF/com/google/ (ein = 0) (aus = 0) (gespeichert 0 %)
Hinzufügen von: META-INF/com/google/android/ (ein = 0) (aus = 0) (gespeichert 0 %)
Hinzufügen von: META-INF/com/google/android/update-binary (ein = 221856) (aus = 143859) (komprimiert 35 %)
Hinzufügen von: META-INF/com/google/android/updater-script (ein = 2379) (aus = 546) (komprimiert 77 %)