[Completed] [Q] Big Trouble With Decompile SystemUi - XDA Assist

In this case I have problem with decompiling systemUi.apk.
[note: I already installed framework-res.apk & systemUi.apk. But I haven't 2nd framework.]
:angel:
Please Read The Log
Log:
C:\Users\Zidni\Desktop\all working rom\framework editing\[Window XP_7_8][GB_ICS_
JB_KK] Apktool - baksmali - Signer v3 Mixed by ibanez7_2>apktool if framework-re
s.apk
I: Framework installed to: C:\Users\Zidni\apktool\framework\1.apk
C:\Users\Zidni\Desktop\all working rom\framework editing\[Window XP_7_8][GB_ICS_
JB_KK] Apktool - baksmali - Signer v3 Mixed by ibanez7_2>apktool if systemui.apk
I: Framework installed to: C:\Users\Zidni\apktool\framework\127.apk
C:\Users\Zidni\Desktop\all working rom\framework editing\[Window XP_7_8][GB_ICS_
JB_KK] Apktool - baksmali - Signer v3 Mixed by ibanez7_2>apktool d systemui.apk
I: Using Apktool 2.0.0-Beta7 on systemui.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Zidni\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
C:\Users\Zidni\Desktop\all working rom\framework editing\[Window XP_7_8][GB_ICS_
JB_KK] Apktool - baksmali - Signer v3 Mixed by ibanez7_2>
Click to expand...
Click to collapse
Please someone help me. :crying:
My jb SystemUi decompile correctly but the problem with kk.
sorry for bad english.

Duplicate
http://forum.xda-developers.com/gen...rk-res-apk-t3149462/post61720303#post61720303

Related

Decompiling Settings.apk on Xperia V - Android 4.3

I'm using android 4.3 stock version of framework-res.apk to decompile Settings.apk but Apktool 1.5.2 & Apktool 2.0 beta are giving me this error :
"Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info."
any help ?
Found the Problem & fixed apktool
apparently I needed to install SemcGenericUxpRes.apk before decompiling the Settings.apk file, another problem presented itself at this point..
installing SemcGenericUxpRes.apk using apktool 2.0 beta 7 resulted an error :
Exception in thread "main" brut.androlib.AndrolibException: Multiple types: <emp
ty>
at brut.androlib.res.data.ResPackage.addType(ResPackage.java:168)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
9)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:686)
at brut.androlib.Androlib.installFramework(Androlib.java:640)
at brut.apktool.Main.cmdInstallFramework(Main.java:249)
at brut.apktool.Main.main(Main.java:91)
so I did some research and fixed the 'Multiple types' bug in apktool (I'll attach the fixed version at the end of the post) ,and now every thing worked just fine ^_^
C:\apk>java -jar apktool-fixed.jar if framework-res.apk
I: Framework installed to: C:\Users\User\apktool\framework\1.apk
C:\apk>java -jar apktool-fixed.jar if SemcGenericUxpRes.apk
I: Framework installed to: C:\Users\User\apktool\framework\2.apk
C:\apk>java -jar apktool-fixed.jar d Settings.apk
I: Using Apktool 2.0.0-Beta7 on Settings.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\User\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table from file: C:\Users\User\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive C:\Users\User\apktool\framework\2.apk
I: Loading resource table...
Cleaning up unclosed ZipFile for archive C:\Users\User\apktool\framework\1.apk
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
fixed apktool 2.0 beta 7 (remove spaces from the url) : http :// www . mediafire . com /?cnstb97sszm476y
delete as I found the answer, please ignore

[Q] Help can't decompile Settings.apk using apk multitool

I am decompiling the Settings.apk for a custom rom but I got this error. How do I fix it?
--------------------------------------------------------------------------
|Sat 05/30/2015 -- 10:04:54.45|
--------------------------------------------------------------------------
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Limpocyte\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.decoder.Res9patchStreamDecoder.decode(Res9patchStreamDecoder.java:37)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:73)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Also I am using the version 1.0.11 of APK multitool.

[Q&A][LP][5.0.2]Decompile Settings.apk error

Everything works like a charm when I decompile other APKS but when I tried settings.apk it didn't work saying this error.
I have installed everything like deodexed systemui.apk and framework-res.apk.
I dont know weather its with SemcGenericUxpRes or some stuff.
C:\apktool>apktool d settings.apk
I: Using Apktool 2.0.0 on settings.apk
I: Loading resource table...
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\m0rpheus\apktool\framework\1.apk
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Help anyone!
Its fixed now I installed com.sonyericsson.uxp.apk to framework files and its working now.
Mod please delete this thread
HOW
how can you installer the com.sonyericsson.uxp.apk to framework ?

APKTool errors / de- recompiling framework-res

I need to de- / recompile framework-res.apk for some modifications. I use APKTool 2.0.3 (http://ibotpeaches.github.io/Apktool/) but I have some serious problems. I tried it with SystemUI.apk before, but it dont work. I want to resize navbar, this thing takes 1/10 on MM of the screen size.
Code:
C:\Users\alphatact1cs\Desktop\apktool>java -jar apktool.jar if framework-res.apk
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Framework installed to: C:\Users\alphatact1cs\apktool\framework\1.apk
C:\Users\alphatact1cs\Desktop\apktool>java -jar apktool.jar d framework-res.apk
I: Using Apktool 2.0.3 on framework-res.apk
I: Loading resource table...
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=somc, name=drawable, value=0x010802e7
W: Could not decode attr value, using undecoded value instead: ns=somc, name=color, value=0x02060002
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
C:\Users\alphatact1cs\Desktop\apktool>java -jar apktool.jar b framework-res
I: Using Apktool 2.0.3
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:263)
at brut.androlib.Androlib.build(Androlib.java:275)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:105)
at brut.androlib.Androlib.readMetaFile(Androlib.java:258)
... 4 more
C:\Users\alphatact1cs\Desktop\apktool>
How can I solve this?
alphatact1cs
You need to install some other frameworks. Why not just install Xposed and use Gravitybox?
Mr_Bartek said:
You need to install some other frameworks. Why not just install Xposed and use Gravitybox?
Click to expand...
Click to collapse
Xposed doesnt work the way it should on Z5 an Android 6.0. I have some problems with the camera app. It was really bad on Lollipop, but now it opens and goes into landscape mode. I can rotate my phone like I want, it doesnt change the orientation.
I use Xposed on MM and have no issues with camera. Rotation works fine too.

Error on compile with apktool

Apktool Version -2.6.1
Operating System -Windows
APK From -ROM android 12
log from apk easy tool:
[all log](https://github.com/iBotPeaches/Apktool/files/8921654/RecentLog-Instance1.txt)
```
I: Using Apktool 2.6.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\mor\Documents\APK Easy Tool\1-Decompiled APKs\MtkSettings\res\values\attrs.xml:55: error: duplicate symbol '@null'.
```
Frameworks:
framework-res.apk
framework dolder
APK:
https://drive.google.com/file/d/1XA3UTWS91GeF72Gdfj852ZLQIZc5kWkw/view?usp=sharing (settings app)
Thanks.

Categories

Resources