[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=1449163]Caldair[/MENTION] hasn´t released a new Patch for it... not possible... no tabletUI since 4.2.2 build 8

ROOT= /cygdrive/d/Programme/APG-Admin/ApGPackages/ap
TOOL= /cygdrive/d/Programme/APG-Admin/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/d/Backup/ComputerSoftware/Android/Device P3110/SlimBean/4.3/Slim-p3110-4.3.build.1-OFFICIAL-904.zip
ROMX= D:\Backup\COMPUT~1\Android\DEVICE~2\SlimBean\4.3\SLIM-P~1.ZIP

### verify tools ###
/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/bin/tar
/cygdrive/d/Programme/APG-Admin/ApGPackages/Java/bin/jar
/cygdrive/d/Programme/APG-Admin/ApGPackages/Java/bin/java
/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/d/Backup/ComputerSoftware/Android/Device P3110/SlimBean/4.3/Slim-p3110-4.3.build.1-OFFICIAL-904.zip tabletUI aosp
PATH= /cygdrive/d/Programme/APG-Admin/ApGPackages/ap/tmp20130917200316:/cygdrive/d/Programme/APG-Admin/ApGPackages/Java/bin:/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/bin:/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

... result of ROM check: RIL= SamsungExynos4RIL

### probe rom type ###

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

[SIZE="4"][COLOR="Red"][B]!!! error: tabletUI is incompatible with .aosp-slim!!![/B][/COLOR][/SIZE]

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

If your 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!

---------- Post added at 08:09 PM ---------- Previous post was at 08:05 PM ----------

Tried to patch as CM-Rom... started fine but **error** at least :p

ROOT= /cygdrive/d/Programme/APG-Admin/ApGPackages/ap
TOOL= /cygdrive/d/Programme/APG-Admin/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/d/Backup/ComputerSoftware/Android/Device P3110/SlimBean/4.3/Slim-p3110-4.3.build.1-OFFICIAL-904.zip
ROMX= D:\Backup\COMPUT~1\Android\DEVICE~2\SlimBean\4.3\SLIM-P~1.ZIP

### verify tools ###
/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/bin/tar
/cygdrive/d/Programme/APG-Admin/ApGPackages/Java/bin/jar
/cygdrive/d/Programme/APG-Admin/ApGPackages/Java/bin/java
/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/d/Backup/ComputerSoftware/Android/Device P3110/SlimBean/4.3/Slim-p3110-4.3.build.1-OFFICIAL-904.zip tabletUI cm
PATH= /cygdrive/d/Programme/APG-Admin/ApGPackages/ap/tmp20130917200452:/cygdrive/d/Programme/APG-Admin/ApGPackages/Java/bin:/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/bin:/cygdrive/d/Programme/APG-Admin/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

... result of ROM check: RIL= SamsungExynos4RIL

### probe rom type ###
#### Standard Build Query ####
# VER= v3.1.7
# OS= cygwin 32bit
# VID= 4.3
# PID= tabletUI
# MID= slim_p3110-userdebug
# RID= cm
# ANDR= 4.3
# BDID= 20130914
# DID= espressowifi
# BID= 20130815

Current HEAD: de7f193e0c6548efeb33dcd9e2eec75dcb35085a unset INCREMENTALS so they don't get applied to each jarfile

### DELETE FILES=
### COPY FILES=
### JAR FILES= system/framework/android.policy.jar system/framework/services.jar
### APK FILES= system/framework/framework-res.apk system/app/SystemUI.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 * *");
ui_print("* * * Auto-Patcher * * *");
ui_print("* * * *");
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/platform/omap/omap_hsmmc.1/by-name/FACTORYFS", "/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, 0, 0755, "/system/bin/ping");
set_perm(0, 2000, 0750, "/system/bin/run-as");
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_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
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(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
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 android.policy.jar ...

... decompile services.jar ...
\vergrößert: system/framework/framework-res.apk

... installing framework files ...

... decompile framework-res.apk ...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

... decompile SystemUI.apk ...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Andreas\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

### jar patch tabletUI/4.3 ###

... apply android.policy.patch ...
1 out of 1 hunk FAILED -- saving rejects to file smali/com/android/internal/policy/impl/PhoneWindowManager.smali.rej
We did not find a working patch for patches/tabletUI/4.3/cm/20130815/android.policy_0_PhoneWindowManager.patch...looking for other solutions!

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

!!! error: PhoneWindowManager.patch in android.policy.jar cannot be remedied

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

If your 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!