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
Related
Hi i wanna know how can I edit the UI of my rom for example in ics I want to change that blue line on title of apps or the icons or the status bar background and icons?
Galliture said:
Hi i wanna know how can I edit the UI of my rom for example in ics I want to change that blue line on title of apps or the icons or the status bar background and icons?
Click to expand...
Click to collapse
You would need to flash a theme for the rom or theme the system apks yourself.
zelendel said:
You would need to flash a theme for the rom or theme the system apks yourself.
Click to expand...
Click to collapse
No i like to theme the rom myself but how can I do it? Ones I tried to decompile the systemUI.apk with apk manager but it didnt decompiled it ... How do modders make modes? which app should i use for modding?
Galliture said:
No i like to theme the rom myself but how can I do it? Ones I tried to decompile the systemUI.apk with apk manager but it didnt decompiled it ... How do modders make modes? which app should i use for modding?
Click to expand...
Click to collapse
Apktool is the prefered method but it is alot of trial and error depending on the rom used. Did you install the framework files? Do you have the SDK installed?
zelendel said:
Apktool is the prefered method but it is alot of trial and error depending on the rom used. Did you install the framework files? Do you have the SDK installed?
Click to expand...
Click to collapse
im using ice cold sandwich 7.5 but my sdk is for platform 9 and i cant update it ... can you give me a link for apk tool?
Galliture said:
im using ice cold sandwich 7.5 but my sdk is for platform 9 and i cant update it ... can you give me a link for apk tool?
Click to expand...
Click to collapse
ICS requires a special apktool set up you have to use a command line set up and 2 different apktool jar files. a Search for decompiling ICS will get you a link to the how to and tools.
http://forum.xda-developers.com/showthread.php?t=1511730
Here is a link that came up in the first result of a search but you will need to update the SDK to allow editing ICS
zelendel said:
ICS requires a special apktool set up you have to use a command line set up and 2 different apktool jar files. a Search for decompiling ICS will get you a link to the how to and tools.
http://forum.xda-developers.com/showthread.php?t=1511730
Here is a link that came up in the first result of a search but you will need to update the SDK to allow editing ICS
Click to expand...
Click to collapse
Tnx.I have the lastest version of sdk manager but when i wanna update it it just shows my current sdk .. i tried many ways to update it but i couldnt. How did you get sdk for platform 13?
Galliture said:
Tnx.I have the lastest version of sdk manager but when i wanna update it it just shows my current sdk .. i tried many ways to update it but i couldnt. How did you get sdk for platform 13?
Click to expand...
Click to collapse
Just ran manager with admin rights and downloaded and installed all updates. I have windows 7 64 bit
Sent from my Inspire 4G using Tapatalk 2
zelendel said:
Just ran manager with admin rights and downloaded and installed all updates. I have windows 7 64 bit
Sent from my Inspire 4G using Tapatalk 2
Click to expand...
Click to collapse
ran manager? does it update the sdk? no im using win xp sp3 32bit(i loooove xp)
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
Anyone got a working apktool for our new mm TouchWiz?
Sent from my SM-G925P
carrsteven said:
Anyone got a working apktool for our new mm TouchWiz?
Sent from my SM-G925P
Click to expand...
Click to collapse
I've heard people say to install framework and decompile with 2.0 and recompile with 2.3 but I haven't had any success
nyfl2004 said:
I've heard people say to install framework and decompile with 2.0 and recompile with 2.3 but I haven't had any success
Click to expand...
Click to collapse
I read that but I also read that decompiler with 2.0 didn't decompile the smali. I haven't had any luck at all myself.
Sent from my SM-G925P