Related
I cant find a working framework.apk to use for 1.apk so i can decompile system apk's i used to have it but i had to reformat my pc & i couldnt recover it so if anyone here has one they can lend me it would be much appreciated
greenmuggy said:
I cant find a working framework.apk to use for 1.apk so i can decompile system apk's i used to have it but i had to reformat my pc & i couldnt recover it so if anyone here has one they can lend me it would be much appreciated
Click to expand...
Click to collapse
I think I'm confused lol are you looking for a stock framework-res.apk so that you can decompile and compile?
Sent from my SPH-D700 using Tapatalk
travismoreno said:
I think I'm confused lol are you looking for a stock framework-res.apk so that you can decompile and compile?
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
yes exactly
Read this: http://forum.xda-developers.com/showpost.php?p=16747783&postcount=1171
shane6374 said:
Read this: http://forum.xda-developers.com/showpost.php?p=16747783&postcount=1171
Click to expand...
Click to collapse
i use apk manager, but the folder it needs to go in is apk tool
I has the ei22 update .zip how can i pull the framework outta that???
greenmuggy said:
I has the ei22 update .zip how can i pull the framework outta that???
Click to expand...
Click to collapse
Pull it from one of the stock deodexed roms.
shane6374 said:
Pull it from one of the stock deodexed roms.
Click to expand...
Click to collapse
cant find one they are all not so stock...
solved
solved thanx shane for the link & helpin me figure this out
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!
I was just wondering if anyone with the UAMDL software has been able to decompile and recompile the framework on here yet.
I have tried with the APK multi tool and the decompile works fine but when I try to recompile it errors our right away.
Anyone have any luck with this?
If so what tool did you use?
Yes I have.
Sent from my SGH-M919 using Tapatalk 2
I'd like to know this as well, and how people have been successful. I haven't had any luck installing framework-res.apk or recompiling a modified app. From my understanding, it's an issue with apktool and aapt that needs to be updated.
TheArtiszan said:
I was just wondering if anyone with the UAMDL software has been able to decompile and recompile the framework on here yet.
I have tried with the APK multi tool and the decompile works fine but when I try to recompile it errors our right away.
Anyone have any luck with this?
If so what tool did you use?
Click to expand...
Click to collapse
That and SystemUI.apk are both missing files needed for them to decompile and recompile right
evil..............out
elesbb said:
Yes I have.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Can you elaborate on what tools you used and how to set it up please?
I have been stuck trying to get this to work for over a week now.
Sent using xda premium.
evil1art said:
That and SystemUI.apk are both missing files needed for them to decompile and recompile right
evil..............out
Click to expand...
Click to collapse
There are ways for making it work though
TheArtiszan said:
Can you elaborate on what tools you used and how to set it up please?
I have been stuck trying to get this to work for over a week now.
Sent using xda premium.
Click to expand...
Click to collapse
I used the tool in my signature and you have to remove some layout paramaters in the xml files then recompile and copy the originals over to the newly compiled apk.
elesbb said:
There are ways for making it work though
I used the tool in my signature and you have to remove some layout paramaters in the xml files then recompile and copy the originals over to the newly compiled apk.
Click to expand...
Click to collapse
Im the one who figured out the missing style for the systemui
evil..............out
evil1art said:
Im the one who figured out the missing style for the systemui
evil..............out
Click to expand...
Click to collapse
Yeah so did I lol. Ive ran into that issue before and thats all you have to do to get around it.
elesbb said:
There are ways for making it work though
I used the tool in my signature and you have to remove some layout paramaters in the xml files then recompile and copy the originals over to the newly compiled apk.
Click to expand...
Click to collapse
We have our own modified apk manger works good
evil..............out
evil1art said:
We have our own modified apk manger works good
evil..............out
Click to expand...
Click to collapse
Ahhh. That makes life a lot easier lol. How did you modify it? Build it from source or edit the jar file?
elesbb said:
Ahhh. That makes life a lot easier lol. How did you modify it? Build it from source or edit the jar file?
Click to expand...
Click to collapse
Modified the original files and changed memory heap etc
evil..............out
Oh okay that makes sense.
I am editing the framework res apk
Making changes only to the arrays.xml file in the values folder.
Which styles should I be commenting out and then which file should I copy to the original?
I tried putting a + in front of a few lines based on the errors I was getting but that seemed to make it worse.
Sent using xda premium.
I think the arrays and other values xml get compiled into the resources file no?
Sent using xda premium.
TheArtiszan said:
I think the arrays and other values xml get compiled into the resources file no?
Sent using xda premium.
Click to expand...
Click to collapse
Everything in the values directory is found in your resources.arsc file in the apk.
Sent from my SGH-M919 using Tapatalk 2
Ah that makes sense.
The changes made for layouts, does that go into the same area though?
Just wondering if that might cause a problem since that is what I would want to move over.
Sent from my HTC VLE_U using xda premium
That is odd.
I can get this to decompile in apk multi tool but not Elesbb's GUI
I get the following error:
Tue 06/25/2013
0:46:56.39
Decompiling.. "C:\Users\Bill\APK GUI\framework-res.apk"
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802f4 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
-----------------------------------------------------------------
Did I miss something.
Made some progress and decompiling ok now on a different computer.
If I add the + before the layouts would that cause operation issues?
I would like to know too.
Still having trouble.
What did you do too decompile?
Okay I can now get it to recompile adding the +layout to the xml files that were erroring in the compile log and only other change was made was to the arrays.xml file to enable bluetooth tethering like on the GS3 did.
however when I push it to the phone and chmod and try it I get a boot loop.
Did I do something wrong?
Am I supposed to copy out the resource.asrc from the file I compiled like a zip then add it to the original that I pulled using 7zip or something?
Any input would be greatly appreciated.
TheArtiszan said:
Okay I can now get it to recompile adding the +layout to the xml files that were erroring in the compile log and only other change was made was to the arrays.xml file to enable bluetooth tethering like on the GS3 did.
however when I push it to the phone and chmod and try it I get a boot loop.
Did I do something wrong?
Am I supposed to copy out the resource.asrc from the file I compiled like a zip then add it to the original that I pulled using 7zip or something?
Any input would be greatly appreciated.
Click to expand...
Click to collapse
Move the AndroidManifest.xml and Meta-INF folder from the original apk to the modified one.
Sent from my SGH-M919 using xda premium
Everytime i try to compile system apps i get this error, i have latest sdk installed, latest jdk and last version of apktool. I did apktool if framework-res.apk then apktool if semcgenericuxp.apk and decompiled systemui.apk, i have it done. I edited things, when i try to recompile it, gives me this error. I searched a lot but nothing helped, so if there is anyone who's facing this issue and then solved it, please help me. This is really eating me inside
federico rotundi said:
Everytime i try to compile system apps i get this error, i have latest sdk installed, latest jdk and last version of apktool. I did apktool if framework-res.apk then apktool if semcgenericuxp.apk and decompiled systemui.apk, i have it done. I edited things, when i try to recompile it, gives me this error. I searched a lot but nothing helped, so if there is anyone who's facing this issue and then solved it, please help me. This is really eating me inside
Click to expand...
Click to collapse
Try deconpiling then recompiling without any changes
If it still shows error change the semcgeneric or framework
Sent from my LT18i
Sahaab said:
Try deconpiling then recompiling without any changes
If it still shows error change the semcgeneric or framework
Sent from my LT18i
Click to expand...
Click to collapse
It showed that error, i changed it showed that again, i tried it again with framework and semcgenericuxpres from your rom.
federico rotundi said:
It showed that error, i changed it showed that again, i tried it again with framework and semcgenericuxpres from your rom.
Click to expand...
Click to collapse
Where is the systemUI from?
Is it a port?
Sent from my LT18i
Sahaab said:
Where is the systemUI from?
Is it a port?
Sent from my LT18i
Click to expand...
Click to collapse
Yes it's from MXY1997's thread.
federico rotundi said:
Yes it's from MXY1997's thread.
Click to expand...
Click to collapse
Then I suggest u PM him
But I will give u a suggestion
Use the framework-res and semcgeneric from DdcCabuslay's Xperia Z theme
Sent from my LT18i
Sahaab said:
Then I suggest u PM him
But I will give u a suggestion
Use the framework-res and semcgeneric from DdcCabuslay's Xperia Z theme
Sent from my LT18i
Click to expand...
Click to collapse
It is not about the SystemUI, there is something wrong about java, i can't recompile any other system app with apktool as i said, i used lots of versions of apktool and this problem still remains, maybe it is something to do with Windows 8?
federico rotundi said:
It is not about the SystemUI, there is something wrong about java, i can't recompile any other system app with apktool as i said, i used lots of versions of apktool and this problem still remains, maybe it is something to do with Windows 8?
Click to expand...
Click to collapse
Ya maybe windows 8 isnt supported yet
Sent from my LT18i
ok so im having issues decompiling settings apk in slimkat 4.4.4. For the fact of the matter i cant even install there framework-res.apk
i get
Code:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01080220 drawable/default_wallpaper, config=-sw600dp-nodpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:199)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:168)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:134)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:109)
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(AndrolibResources.java:687)
at brut.androlib.Androlib.installFramework(Androlib.java:640)
at brut.apktool.Main.cmdInstallFramework(Main.java:252)
at brut.apktool.Main.main(Main.java:91)
when i try to install, resulting in the inability to decompile the settings.apk
any pointers?
I think you need modified apktool because of The real dark slim feature
Notorious said:
I think you need modified apktool because of The real dark slim feature
Click to expand...
Click to collapse
doesn't advanced apktool come with beta 9 apktool?
xdarkmario said:
doesn't advanced apktool come with beta 9 apktool?
Click to expand...
Click to collapse
No idea
Yea slim releases their own apktool ever since they messed with the resources and broke normal apktool support on it
^found it @xdarkmario
https://github.com/SlimRoms/apktool/tree/kk-ver-2.x
Notorious said:
^found it @xdarkmario
https://github.com/SlimRoms/apktool/tree/kk-ver-2.x
Click to expand...
Click to collapse
is that for windows? looks a bit "linuxy"
xdarkmario said:
is that for windows? looks a bit "linuxy"
Click to expand...
Click to collapse
https://github.com/SlimRoms/apktool/tree/kk-ver-2.x/scripts/windows
https://github.com/SlimRoms/apktool/tree/kk-ver-2.x/release
https://github.com/SlimRoms/apktool...-lib/src/main/resources/prebuilt/aapt/windows
Notorious said:
https://github.com/SlimRoms/apktool/tree/kk-ver-2.x/scripts/windows
https://github.com/SlimRoms/apktool/tree/kk-ver-2.x/release
https://github.com/SlimRoms/apktool...-lib/src/main/resources/prebuilt/aapt/windows
Click to expand...
Click to collapse
cant launch these files, says apktool.jar is corrupted and another error with aapt
found one from there website
http://slimroms.net/index.php/downl...apktool-install-windows-1-5-3-kitkat-trds-3-0