I just rooted my phone twice now. First I got a Loopboot after I installed Smalipatcher but know it show me this problem. Can anyone help me pls?
fOmey @ XDA
Patcher version: 0.0.7.3
==> Detected java: 1.8.0_281
==> Dumped framework
==> Processing framework
I: Using Apktool 2.5.0 on services.jar
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
==> Patched mock location boolean
==> Patched mock providers function
==> Patched knox function
==> Patched knox function
==> Patched knox function
==> Patched high volume warning function
I: Using Apktool 2.5.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
java.io.FileNotFoundException: C:\Users\liamb\Desktop\[email protected]\tmp\build\apk\classes.dex (Zugriff verweigert)
!!! ERROR: Compile failed - services.jar not found.
SalIlz said:
I just rooted my phone twice now. First I got a Loopboot after I installed Smalipatcher but know it show me this problem. Can anyone help me pls?
fOmey @ XDA
Patcher version: 0.0.7.3
==> Detected java: 1.8.0_281
==> Dumped framework
==> Processing framework
I: Using Apktool 2.5.0 on services.jar
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
==> Patched mock location boolean
==> Patched mock providers function
==> Patched knox function
==> Patched knox function
==> Patched knox function
==> Patched high volume warning function
I: Using Apktool 2.5.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
java.io.FileNotFoundException: C:\Users\liamb\Desktop\[email protected]\tmp\build\apk\classes.dex (Zugriff verweigert)
!!! ERROR: Compile failed - services.jar not found.
Click to expand...
Click to collapse
Make sure your services.jar is deodexed. At least, that's what I got out of reading the smali patcher thread.
Hallo, ik heb een versie nodig die werkt op een Windows 32bit, kan iemand me helpen
thnx
Hallo, ik heb een versie nodig die werkt op een Windows 32bit, kan iemand me helpen
thnx
Related
Hi,
first of all sorry for posting in a new thread, but I'm not allowed to post in apktool-thread (to few postings).
I'm trying to edit permissions of apk's with apktool.
Code:
C:\temp\android\apktool>apktool d -s -f "n:\Cut the Rope - Android\cut-the-rope.apk" test
I: Copying raw classes.dex file...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Carsten\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
No, errors.
I reassemble it unmodified.
Code:
C:\temp\android\apktool>apktool b test test.apk
I: Copying classes.dex file...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs...
I: Building apk file...
No, errors.
Installing the file
Code:
F:\android-sdk-windows\platform-tools>adb install c:test.apk
2327 KB/s (2931257 bytes in 1.230s)
pkg: /data/local/tmp/c:test.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
gives an error.
Code:
$logcat *:e
/PackageParser( 460): Package com.feelingtouch.physical has no certificates at entry assets/font/Plok.ttf; ignoring!
Any ideas what's wrong?
greetings
Carsten
found the solution. All packages have to be signed, even if they are installed via adb.
Debug test signing is enough:
Code:
jarsigner -verbose -keystore C:\Users\Carsten\.android\debug.keystore -storepass android c:test.apk androiddebugkey
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
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
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 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.