help on feralap room (error log updated ) - XPERIA X10 Q&A, Help & Troubleshooting

hii guys
im trying to **** a new battery + icons on kitchen but im facing a problem only on feralab framework.apk file
i'v tried other rooms framework and it work fine
the error on post 2
any body have an idea ??

Error log: UOT-02-28-16-26-2-SHTF.txt
Decompiling framework-res.apk UOT-02-28-16-26-2
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-02-28-16-26-2
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-02-28-16-26-2
W: Could not find sources
I: Building resources...
/home/mendoza/port5/data/working_dir/UOT-02-28-16-26-2/fw_dec/res/values-hdpi/drawables.xml:3: error: Resource entry battery_low_battery is already defined.
res/drawable-hdpi/battery_low_battery.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL441865134536758008.tmp, -x, -S, /home/mendoza/port5/data/working_dir/UOT-02-28-16-26-2/fw_dec/res, -M, /home/mendoza/port5/data/working_dir/UOT-02-28-16-26-2/fw_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL441865134536758008.tmp, -x, -S, /home/mendoza/port5/data/working_dir/UOT-02-28-16-26-2/fw_dec/res, -M, /home/mendoza/port5/data/working_dir/UOT-02-28-16-26-2/fw_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191

I'm facing the exact same problem trying to cook a battery-mod (Version N, Blue numbers).
used amend scripting and patch9 autofix and uploaded framework-res.apk and systemUI.apk from feralabs zip. Please help !
Using:
Feralab rom 10.3
unlocked bootloader
i think thread can be closed as we're all on v11 now

Related

[Q] UOT kitchen Help

Well, I'm trying to create a theme[Based On one from CM7], but each time i'm done uploading the androidian.apk[Name changed, duh], and go to the pickup, there's always an error.
Decompiling themer.apk UOT-01-14-10-34-3
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling themer.apk UOT-01-14-10-34-3
W: Could not find sources
I: Building resources...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
/home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/res/values/styles.xml:113: error: Error: Integer types not allowed (at 'android:measureWithLargestChild' with value '1').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5138942739872585286.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5138942739872585286.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Anyone know where I went wrong? It's a bit generic, I know, so don't flame me either. Pweaashe.

[Q] [HELP] Unable to build LGPhone_2c.apk

Sorry my bad english.
I have a rooted LG Optimus EX SU-880 phone android ICS version v19c
I want to edit LGPhone_2c.apk but always get 1 error.
I tried many methods but unsuccessful:
- Used many version of appt.exe apktool.jar (appt newest from sdk + appt >5MB from miui dev team
apktool 1.4.2 --> 1.5
- Deodexed rom
- Used apkmanager, ....
Please guide me fix this error. Thank of all
This is my log decompiling and build without edit any file by apktool1.5 on windows XP and java JDK 1.7
Code:
C:\Documents and Settings\Home\Desktop\apk tool>apktool d LGPhone_2c.apk
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\Home\apktool\fram
ework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Home\apktool\fram
ework\2.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Documents and Settings\Home\Desktop\apk tool>
This message box appear (attachment)
then i click "close" button ---> this log
Code:
C:\Documents and Settings\Home\Desktop\apk tool>apktool b LGPhone_2c
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-ver
sion, 15, -F, C:\DOCUME~1\Home\LOCALS~1\Temp\APKTOOL8934582910798488423.tmp, -I,
C:\Documents and Settings\Home\apktool\framework\1.apk, -I, C:\Documents and Se
ttings\Home\apktool\framework\2.apk, -S, C:\Documents and Settings\Home\Desktop\
apk tool\LGPhone_2c\res, -M, C:\Documents and Settings\Home\Desktop\apk tool\LGP
hone_2c\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:337)
at brut.androlib.Androlib.buildResources(Androlib.java:284)
at brut.androlib.Androlib.build(Androlib.java:207)
at brut.androlib.Androlib.build(Androlib.java:180)
at brut.apktool.Main.cmdBuild(Main.java:209)
at brut.apktool.Main.main(Main.java:72)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 15, --target-sdk-version, 15, -F, C:\DOCUME~1\Home\LOCALS~1\Temp\APKT
OOL8934582910798488423.tmp, -I, C:\Documents and Settings\Home\apktool\framework
\1.apk, -I, C:\Documents and Settings\Home\apktool\framework\2.apk, -S, C:\Docum
ents and Settings\Home\Desktop\apk tool\LGPhone_2c\res, -M, C:\Documents and Set
tings\Home\Desktop\apk tool\LGPhone_2c\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more
C:\Documents and Settings\Home\Desktop\apk tool>
I upload an apks in attachment including:
+ framework-res.apk
+ lge-res.apk
+ LGPhone_2c.apk
Please help me! I can't rebuild this apk.
Any body here?

Decompile/Recompile Problem

I have been trying for so long yet I am stuck with compiling apk. I am using autoapk tool. Whenever I try to recompile I have problem.
Log when decompiling
[*] C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI.apk
decompiling C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI.apk...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\USER\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Click to expand...
Click to collapse
Recompiling log
[*] C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI
recompiling C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
invalid resource directory name: C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res/drawable-sw600dp-mdpi
invalid resource directory name: C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res/layout-sw600dp
invalid resource directory name: C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res/values-sw600dp
invalid resource directory name: C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res/values-sw600dp-port
invalid resource directory name: C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res/values-sw720dp
invalid resource directory name: C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\USER\LOCALS~1\Temp\APKTOOL138857358957302105.tmp, -I, C:\Documents and Settings\USER\apktool\framework\1.apk, -S, C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res, -M, C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\USER\LOCALS~1\Temp\APKTOOL138857358957302105.tmp, -I, C:\Documents and Settings\USER\apktool\framework\1.apk, -S, C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\res, -M, C:\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Unable to open '_INPUT_APK\SystemUI\dist\SystemUI.apk' as zip archive
The system cannot find the drive specified.
Click to expand...
Click to collapse
I have latest jdk & jre installed. I use xp sp3. Someone please help & tell what I am doing wrong. I chose version 1.4.1 before decompiling in auto apktool. I tried alot of roms even tried deodexed rom.I tried systemUi,framework-res. Please tell me if there is any pre-requsite files I need before compiling & what to do?Please dont ask me to use other tool because I have tried all compiling tools
You said I should help you. I would try it on linux if I were you.
You can PM me and I will try it on my machine to decompile, make the changes and recompile it for you. Just send me a download link and instructions
Hmm..looks like you need to use the latest apktool and aapt files. 1.4.1 is very old now.
Try Tickle My Android 4.3. That uses the very latest versions.
Sent from my SK17i using xda premium

[JB][ERROR]Error while recompiling JB framework

So i was trying to modify stuff in the framework from Sony i.e. SemcGenericUxpRes.apk file with apktool...... but even without modifying the files when i try to re-compile it gives the same error which i get when i modify something.......
below is the error....
if I get any help it will be highly appreciated......
Code:
E:\New_folder\adt\APKTool>apktool d SemcGenericUxpRes.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Wipro-MIT\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
E:\New_folder\adt\APKTool>apktool b SemcGenericUxpRes
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\WIPRO-~1\AppData\Local\Tem
p\APKTOOL701504902397480999.tmp, -x, -I, C:\Users\Wipro-MIT\apktool\framework\1.
apk, -S, E:\New_folder\adt\APKTool\SemcGenericUxpRes\res, -M, E:\New_folder\adt\
APKTool\SemcGenericUxpRes\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\WIPRO-~1\AppData\Local\Temp\APKTOOL701504902397480999.tmp, -x, -I, C:\Users
\Wipro-MIT\apktool\framework\1.apk, -S, E:\New_folder\adt\APKTool\SemcGenericUxp
Res\res, -M, E:\New_folder\adt\APKTool\SemcGenericUxpRes\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
thanks in advance...
Bump...
Sent from my MT27i using xda app-developers app

Compiling APK problem

Code:
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool if framework-res.apk
I: Framework installed to: C:\Users\David\apktool\framework\1.apk
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool d Home.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\David\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\David\apktool\framework\2.apk
I: Loaded.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool b Home Home.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:21:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:29:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values-land\styles.xm
l:3: error: Error retrieving parent for item: No resource found that matches the
given name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:45:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:53:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values-land\styles.xm
l:24: error: Error retrieving parent for item: No resource found that matches th
e given name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\David\AppData\Local\Temp
\APKTOOL8829101515579145139.tmp, -0, arsc, -I, C:\Users\David\apktool\framework\
1.apk, -I, C:\Users\David\apktool\framework\2.apk, -S, C:\Users\David\Desktop\An
droid Tools\apktool1.5.2\Home\res, -M, C:\Users\David\Desktop\Android Tools\apkt
ool1.5.2\Home\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\David\AppData\Local\Temp\APKTOOL8829101515579145139.tmp, -0, arsc, -I, C:
\Users\David\apktool\framework\1.apk, -I, C:\Users\David\apktool\framework\2.apk
, -S, C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res, -M, C:\Users\D
avid\Desktop\Android Tools\apktool1.5.2\Home\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\David\AppData\Local\Temp\A
PKTOOL8829101515579145139.tmp, -0, arsc, -I, C:\Users\David\apktool\framework\1.
apk, -I, C:\Users\David\apktool\framework\2.apk, -S, C:\Users\David\Desktop\Andr
oid Tools\apktool1.5.2\Home\res, -M, C:\Users\David\Desktop\Android Tools\apktoo
l1.5.2\Home\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Here is the log. as you can see the framework is installed but I still get some problem in the values

Categories

Resources