APKtool issues with SystemUI.apk - T-Mobile Samsung Galaxy S 4

I'm trying to recompile the SystemUI.apk from the Tmobile Galaxy S4 and am getting an error. Decompile runs flawlessly. I'm using the latest 1.5.2 apktool. I made sure that I installed the framework-res.apk as well; still the same error.
https://dl.dropboxusercontent.com/u/31200835/framework-res.apk
https://dl.dropboxusercontent.com/u/31200835/SystemUI.apk
Have any of you had any luck decompiling and recompiling the SystemUI.apk/framework-res.apk?

Related

Modded framework-res.apk with CRT off-animation

Can someone post a modded framework-res.apk of CM 9 beta 6 with CRT off-animation enabled cuz I can't decompile mine framework-res.apk.
Thanks in advice
Why can't you decompile it?
Apktool download here.
Just pull it from phone and:
apktool if framework-res.apk
apktool d framework-res.apk
hsrars-d said:
Why can't you decompile it?
Apktool download here.
Just pull it from phone and:
apktool if framework-res.apk
apktool d framework-res.apk
Click to expand...
Click to collapse
I get an error while trying to compile it back..

[Q] need help with decompilling

every time i'm trying to decompile an APK i get this error:
Code:
Decompiling Apk
testCan't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
"An Error Occured, Please Check The Log (option 24)"
can someone help me?:crying:
someone? anyone?
:crying:
make sure you installed correct framework apps..and then decompile again
arpith.fbi said:
make sure you installed correct framework apps..and then decompile again
Click to expand...
Click to collapse
I already installed the framework-res.apk and the systemui.apk
Sent from my LT18i using xda premium
can you post the 4-5 previous lines in the code before getting error?
arpith.fbi said:
can you post the 4-5 previous lines in the code before getting error?
Click to expand...
Click to collapse
i used used apk multi tool, so i selected a project, chose to decompile, and that are all the lines i get.
install original stock framework-res.apk including other frameworks
First try decompiling and re-compiling the original stock apk before decompiling & recompiling apk of some other roms.
but i still feel framework-res.apk isnt properly installed
Code:
apktool install-framework framework-res.apk
apktool if framework-res.apk
/1.apk successfully created.
apktool if SemcgenericUXpres.apk
/2.apk successfully created..
After that try it.. ıt works lots of apk instead of systemUI.apk :S I dont know where I have mistakes during COMPILE process :/
Erhany said:
apktool if framework-res.apk
/1.apk successfully created.
apktool if SemcgenericUXpres.apk
/2.apk successfully created..
After that try it.. ıt works lots of apk instead of systemUI.apk :S I dont know where I have mistakes during COMPILE process :/
Click to expand...
Click to collapse
thanks, it worked
now i can't compile the apk:crying:
Code:
The system cannot find the file specified.
what can i do to fix that?
please, can someone help me with that?

[Help!!! ] Need help compiling apks...

I have tried multiple guides and apktools with no luck....Please someone point me in the correct direction--->…I have been able to decompile, but no luck on recompile...
What errors are you getting? What OS do you have? Is this on a TW Stock based ROM or AOSP? Which apktool.jar/aapt.exe are you using?
Sent from my SPH-L710 using Tapatalk 2
Sry...windows 7....tw....systemUI.....upon recompile doesn't create new apk in apktool folder....caused by Java.io.File not found exception:....using the apktool found hereandroidforums.com/esteem-all-things...properly-decompile-recompile-aps-apktool.html
Use this apktool and aapt.exe
http://forum.xda-developers.com/showthread.php?t=1755243
Make sure you rename that jar to apktool.jar and place both the jar and exe in your apktool folder
Next, go to C:\User\Owner\apktool\framework and delete whatever resource apk's are in there
Next, get the framework-res.apk and twframework-res.apk from whatever ROM your working on and place them in your apktool folder
CD that apktool folder, after you cd type
apktool if framework-res.apk
apktool if twframework-res.apk
Decompile your SystemUI.apk again, make edits, recompile
Sent from my SPH-L710 using Tapatalk 2
Yes!!!!! :thumbup::thumbup::thumbup:

Issue of APKTOOL

Has anybody workable apktool on JB 4.2? I tried many versions, 1.5.1/1.5.0, but failed to compiled.
What tools do you use to mod phone.apk / systemui.apk / framework-res.pak now?
350d said:
Has anybody workable apktool on JB 4.2? I tried many versions, 1.5.1/1.5.0, but failed to compiled.
What tools do you use to mod phone.apk / systemui.apk / framework-res.pak now?
Click to expand...
Click to collapse
HAve you got aapt from the latest sdk? that is most likely the issue. I just tried decompiling and recompiling of a few 4.2 files with no problem. I used a apktool snapshot I compiled from the git.
thanks! I tried different aapt.exe and I think it is problem. Could you share me your aapt.exe?
tristan202 said:
HAve you got aapt from the latest sdk? that is most likely the issue. I just tried decompiling and recompiling of a few 4.2 files with no problem. I used a apktool snapshot I compiled from the git.
Click to expand...
Click to collapse
I can use apktool 1.5.1 pre with the latest aapt.exe(size:5972K) to install framework-res.apk and decompiled phone.apk (both from Cataclysm ROM or stock jelly bean 4.2 deodexed) successfully. But never can I compile them! Enclosed screenshot... What must I missing?
For me I get error when trying to decompile JB apk so I use FJ-apktools and then I sign and decompile + recompile modified apk + zipalign with Android kitchen then it works well..
This may be good: http://forum.xda-developers.com/showthread.php?t=1053227 I have not tested this yet.
I tried FJ-APKTOOLS yesterday, failed...
350d said:
I tried FJ-APKTOOLS yesterday, failed...
Click to expand...
Click to collapse
APKTOOL for JB4.2.x
http://www.mediafire.com/?v46a04y74i7zb5q
I used this aapt and apktool.jar to successfully decompile and recompile 4.2 framework
http://forum.xda-developers.com/showpost.php?p=34806981&postcount=265
hi
APKTOOL_JB4.2 no work recompile GalleryGoogle.apk
sorry for google translate.
Try this one before modding your gallery. Copy your browser.apk to your tools folder then apktool if browser.apk. Some of the apps requires the browser to be installed on your apktool folder in order for them to decompile and recompile.
Sent from my Galaxy Nexus
rustyjay said:
I used this aapt and apktool.jar to successfully decompile and recompile 4.2 framework
http://forum.xda-developers.com/showpost.php?p=34806981&postcount=265
Click to expand...
Click to collapse
Thanks Bro! It really does work!
None of this work. All failed. Any other fixes?
F4M0U569 said:
None of this work. All failed. Any other fixes?
Click to expand...
Click to collapse
No fixes required. All you need to do is get the latest sdk, and a snapshot of apktool 1.5.1.
Sent from my Galaxy Nexus using xda premium
It works!
rustyjay said:
I used this aapt and apktool.jar to successfully decompile and recompile 4.2 framework
http://forum.xda-developers.com/showpost.php?p=34806981&postcount=265
Click to expand...
Click to collapse
Thank you for the link!

[Q] Decompile and Recompile SystemUI.apk

Good Morning, i got a little question about to De and ReCompile the SystemUI.apk
I got the p5200 (Galaxy Tab 3 10.1 3G) on Stock Kitkat
i try to decompile the SystemUI.apk with the APK-Tool on Mac OS
i tested it to DeCompile and Compile without any Changes and Replace the SystemUI.apk on my Device, if i restart the SystemUI.apk wont start and i recognized that the normal SystemUI.apk has a filesize of 7.1MB and my recompiled SystemUI.apk has the filesize of 5.9 MB
i think i do something wrong but i have no idea where i failed.
xTear said:
Good Morning, i got a little question about to De and ReCompile the SystemUI.apk
I got the p5200 (Galaxy Tab 3 10.1 3G) on Stock Kitkat
i try to decompile the SystemUI.apk with the APK-Tool on Mac OS
i tested it to DeCompile and Compile without any Changes and Replace the SystemUI.apk on my Device, if i restart the SystemUI.apk wont start and i recognized that the normal SystemUI.apk has a filesize of 7.1MB and my recompiled SystemUI.apk has the filesize of 5.9 MB
i think i do something wrong but i have no idea where i failed.
Click to expand...
Click to collapse
Hey , you haven't signed the apk most probably . And did u intall the framework first ???
Sent from my GT-S6802 using XDA Free mobile app

Categories

Resources