Im trying to do some XML edits on framework-res.apk from eclipse rom using apk-manager. Im new to using this method to modify xml's, once i get everything done when i go to recompile i keep getting an error. I heard that you can't recompile system apk's from roms is that true? Also once i recompile using apk-manager do i have to sign it? or just rename it and place it back into theme folder?
OR
how do you guys decompile and recompile framework-res.apk when making themes?
Whats the best/easiest way?
Try using a stock blur framework to make xml edits, it should compile correctly, then just swap xml's. Most of them nitro didnt change. If its in styles.xml though, it willnot work, since they dont show up in the folder. If your still getting compile errors after editing a stock blur framework, then your editing something wrong
All of my apks decompile and recompile.
Sent from my DROID X2 using xda premium
Your issue is most likely a dependency issue.
in your apk manager folder there is a "other" folder. Stick framework-res.apk, moto-res.apk, blur-res.apk, systemui.apk and settings.apk in it. open up your regular command promt from windows.. cd (change directories) to apk_manager_5.0.1/other..
type in (hit enter after each of these)
apktool d framework-res.apk
apktool if framework.res.apk
apktool d moto-res.apk
apktool if moto-res.apk
apktool d blur-res.apk
apktool if blur-res.apk
apktool d systemui.apk
apktool if systemui.apk
---------- Post added at 06:39 PM ---------- Previous post was at 06:38 PM ----------
And if thats not it, hit option 21 in the script and give us the errors... only the first few.
Your right i can complie/decompile nitros framework-res.apk im trying to do it to the one from the muffstuffs blue theme from eclipse .2.2.
I was able to make my changes in nitros stock framework-res but now i want to change the volume/notifiaction bar back to blue like in the blue theme.
I'm trying to edit styles.xml to change the text color of menus...This below
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">@color/bright_foreground_dark</item>
Am i able to edit the framework-res.apk from themuffstuffs blue theme? Are themes frameworks not editable then recompilabe?
---------- Post added at 12:26 AM ---------- Previous post was at 12:16 AM ----------
If I could just edit the styles.xml in my current setup that would be awesome because i have some tweaks from UOT in there and everything is perfect except for the menu text color and its driving me nutssssssss trying to fix. Been a great learning experience thought.
---------- Post added at 01:04 AM ---------- Previous post was at 12:26 AM ----------
Is there a place where Styles.xml is broken down and explained?
You almost never can edit a themers framework because of broken .9.png files. Thats why I stated in my theme that it was fully guided and able to be recompiled without error. I know thats a big deal to some people. Me included...lol
If my skull thumping headache dies down and I can stare at a comp instead of a phone i will take a look.
xkape said:
You almost never can edit a themers framework because of broken .9.png files. Thats why I stated in my theme that it was fully guided and able to be recompiled without error. I know thats a big deal to some people. Me included...lol
If my skull thumping headache dies down and I can stare at a comp instead of a phone i will take a look.
Click to expand...
Click to collapse
Do the .9's get broken because of not using the android sdk? the draw9patch tool? If i make a theme i would like it to be able to compiled and tweaked by others. How can this be prevented?
All im trying to do is change the color of the text in the menu's when the hard menu button is pressed. I was able to do it with stock framework but then everything else i have done gets thrown out. Very frustrating...but good practice.
They get broken because they get edited but not reguided.
Sent from my DROID X2 using XDA App
Im infamous for that.
Matt just edit on stock eclipse 2.2 and then transfer over the pngs. Im not sure what xmls i edited
TheMuffStuff said:
Im infamous for that.
Matt just edit on stock eclipse 2.2 and then transfer over the pngs. Im not sure what xmls i edited
Click to expand...
Click to collapse
D'oh!!!!
Ya i think the only diffrent xml really was horizontal_progress bar one to make the volume bar blue instead of yellow/orange i hate that orange color!!!
Thats what i have found so far...
Yeah, then just use the stock framework, make any xml edits u want, compile, drag and drop the pngs, and then just drag and drop horizontal_progress.xml from the themed framework to the stock framework and ur set
Related
greetings
this is a basic tutorial on decompiling and recompiling framework-res for ics.
thanks to this thread here which posted the latest aapt and the idea to use two versions of apktool. more is needed though and there are some unnecessary actions so i am adding to this for the rezound.
download this file which contains two versions of apktool and the latest aapt
apktools
add the contents to your apktool folder. rename apktool 1.4.2 to just apktool
install your ics framework
apktool if framework-res.apk
apktool if com.htc.resourses.apk
you will see flag errors but disregard.
decompile framework-res
apktool d framework-res.apk <out>
again you will see flag errors but disregard.you will also see errors in values-hdpi and values- xdpi pointing to the drawables xml. i deleted both xmls to mod the battery percentage.
to recompile. rename apktool to apktool 1.4.2. rename apktool 1.4.3 to just apktool.
this is rather strange but this is what has worked. go to res/values/anims
change this
<anim name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</anim>
to
<item type="anim" name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</item>
then recompile.
apktool b <out>
the anims xml is rebuilt as before which is the strange part.
please post any questions or issues
dude ty so much for this.... u are the king of theme
you are then man bro. thanks for this. now off to mess with stuff.....
Thank you kind sir.. On to the fun
EDIT: I have not tackled the framework yet but it fixed the problem I have been having with SystemUI. I finally get a consistent decompile and re-compile of it.
Thanks
NilsP said:
Thank you kind sir.. On to the fun
EDIT: I have not tackled the framework yet but it fixed the problem I have been having with SystemUI. I finally get a consistent decompile and re-compile of it.
Thanks
Click to expand...
Click to collapse
How because I cant get SysUI?
scrosler said:
How because I cant get SysUI?
Click to expand...
Click to collapse
I just set it up this way and de-compiled with 1.4.2 and re-compiled with 1.4.3 and it only gave me warnings. I actually think the aapt is the answer since that was where I was getting the "could not execute error" after it could not do resources.
It is not 100% because the SystemUI flashed over a live ROM fine but I lost the notification bar on a full wipe. Not sure yet if it is apktool or me.
did you guys get sysUI decompiled yet? i olny get a smali folder and nothing else.
racinwarrior said:
did you guys get sysUI decompiled yet? i olny get a smali folder and nothing else.
Click to expand...
Click to collapse
i didnt have an issue with systemui with the newer aapt. i decompiled, modded and recompiled with apktool 1.4.3
NilsP said:
I just set it up this way and de-compiled with 1.4.2 and re-compiled with 1.4.3 and it only gave me warnings. I actually think the aapt is the answer since that was where I was getting the "could not execute error" after it could not do resources.
It is not 100% because the SystemUI flashed over a live ROM fine but I lost the notification bar on a full wipe. Not sure yet if it is apktool or me.
Click to expand...
Click to collapse
I recompiled my SystemUI last night with a few Smali edits to see if I could get data working. Did a full factory wipe(still no good on the data) but it didn't hose anything else.
fernando sor said:
i didnt have an issue with systemui with the newer aapt. i decompiled, modded and recompiled with apktool 1.4.3
Click to expand...
Click to collapse
MrSmith317 said:
I recompiled my SystemUI last night with a few Smali edits to see if I could get data working. Did a full factory wipe(still no good on the data) but it didn't hose anything else.
Click to expand...
Click to collapse
I finally got a good compile of SystemUI with the new aapt and 1.4.2 apktools. Then I redid it with 1.4.3 and it worked fine. So they key is the aapt fernando provided.
By the way, de-compile with 1.4.2 and re-compile with 1.4.3 was the way I got a failure of the apk with losing the notifications bar.
NilsP said:
I finally got a good compile of SystemUI with the new aapt and 1.4.2 apktools. Then I redid it with 1.4.3 and it worked fine. So they key is the aapt fernando provided.
By the way, de-compile with 1.4.2 and re-compile with 1.4.3 was the way I got a failure of the apk with losing the notifications bar.
Click to expand...
Click to collapse
yes the guide for decompiling was for framework not systemui
fernando sor said:
yes the guide for decompiling was for framework not systemui
Click to expand...
Click to collapse
Yup, figured that and that is wky I went with 1 version for both directions.
Thanks
Well, got the SystemUI working the way I want and moved on to my next project.
Easy one, transparent app drawer right. Well, I get what looks like a good compile but no home screens after an install.
I will keep plodding away.
@NilsP - can you post what worked for you for the systemUI?
@fernando - I dont meant to thread jack but what about turning this thread into a how to for the major apks?
Did anyone elses framework drop by 4MB without even making any changes? When viewing the apks in 7zip is shows that the resoure.arsc file is a different "packed" size than original. Just want to confirm before I flash this with mods done.
bad4u6669 said:
@NilsP - can you post what worked for you for the systemUI?
@fernando - I dont meant to thread jack but what about turning this thread into a how to for the major apks?
Did anyone elses framework drop by 4MB without even making any changes? When viewing the apks in 7zip is shows that the resoure.arsc file is a different "packed" size than original. Just want to confirm before I flash this with mods done.
Click to expand...
Click to collapse
apktool compresses the apk. your fine
I am unable to edit ICS apks using the apktool I have tried. Some times I get error while compiling and other times the compiled apk never work on phone.
I have tried compiling without changing any thing even then they don't work.
If some body can upload the apktool he/she is using to edit ICS apks I will be very grateful.
Thanks
singh_dd93 said:
I am unable to edit ICS apks using the apktool I have tried. Some times I get error while compiling and other times the compiled apk never work on phone.
I have tried compiling without changing any thing even then they don't work.
If some body can upload the apktool he/she is using to edit ICS apks I will be very grateful.
Thanks
Click to expand...
Click to collapse
If you are not going to touch the smali files, then no need to use apktool at all. For normal xml editing and PNG editing, I will prefer to use 7zip to open the apk package, and replace the files, without decompressing at all.
I had heard about the latest version of Apktool being released recently, I will search and share, in case someone doesn't do it before me.
Thanks,
Rick
Sent from my SK17i using XDA
thanks for help
I would have searched myself but I am having very slow internet in these hills.
I am unable to edit xml files without decompiling.
singh_dd93 said:
thanks for help
I would have searched myself but I am having very slow internet in these hills.
I am unable to edit xml files without decompiling.
Click to expand...
Click to collapse
Okay. So I tried to edit an ICS only apk using aptool version 1.4.3, and it could not recomplie. It threw in lots of errors.
It seems that you will need to use another version of apktool, which has some ICS APIs so that it becomes possible to successfully decompile and compile ICS apks.
Check this thread: http://forum.xda-developers.com/showthread.php?t=1558171.
The author of the post made it easier for newbies by making an apktool installer which has all the required forles to run ICS files already in it.
Thanks,
Rick
Sent from my SK17i using XDA
I am unable to decompile using ICS apktool from the link you mentioned.
When I used decompiled folder to compile using this apktool but got same errors.
There were no changes in any file.
singh_dd93 said:
I am unable to decompile using ICS apktool from the link you mentioned.
When I used decompiled folder to compile using this apktool but got same errors.
There were no changes in any file.
Click to expand...
Click to collapse
Dude, What app did u try? you know some lines was removed during decompile, so you may need to see error. like here when u try to compile Home.apk it'll gave error.
You need to :
<style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar">
at \res\values\styles.xml and compile...
Click to expand...
Click to collapse
also, I use apktool_1.4.1.jar for doing de/compiling jobs.
Anyway, may you show the log?
nonake kh said:
Dude, What app did u try? you know some lines was removed during decompile, so you may need to see error. like here when u try to compile Home.apk it'll gave error.
You need to :
also, I use apktool_1.4.1.jar for doing de/compiling jobs.
Anyway, may you show the log?
Click to expand...
Click to collapse
well i had already replaced the thing in string.xml
but still have error
screen shot attached
singh_dd93 said:
well i had already replaced the thing in string.xml
but still have error
screen shot attached
Click to expand...
Click to collapse
:\
No: replace the string <style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar">
at \res\values\styles.xml and compile..replace the string <style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar">
at \res\values\styles.xml not string.xml
.
I am not pretty sure if it cause by resource problem. did u installed framework-res.apk yet?
Me I use Apkmanager 4.9
No problem at all.
yes i replaced these lines in styles.xml and have also installed framework-res.apk and SemcGenericUxpRes.apk
I am able to edit GB apks if i use GB framework files but not able to do in case of ICS(installed ICS framework files)
I am sorry i wrote string.xml by chance
singh_dd93 said:
yes i replaced these lines in styles.xml and have also installed framework-res.apk and SemcGenericUxpRes.apk
I am able to edit GB apks if i use GB framework files but not able to do in case of ICS(installed ICS framework files)
I am sorry i wrote string.xml by chance
Click to expand...
Click to collapse
Well, first try this, go to UOT kitchen, upload framework-res.apk then just mod battery icon,. cook it. u'll get new framework. use it and installed then try to decompile/compile maybe can help/.
---------- Post added at 07:56 PM ---------- Previous post was at 07:25 PM ----------
singh_dd93 said:
yes i replaced these lines in styles.xml and have also installed framework-res.apk and SemcGenericUxpRes.apk
I am able to edit GB apks if i use GB framework files but not able to do in case of ICS(installed ICS framework files)
I am sorry i wrote string.xml by chance
Click to expand...
Click to collapse
Well, first try this, go to UOT kitchen, upload framework-res.apk then just mod battery icon,. cook it. u'll get new framework. use it and installed then try to decompile/compile maybe can help/.
Hey guys just wondering if you guys can point me in the right direction to a apktool that is working on the s3.
I've attempted to extract and set the framework.apk and decompile systemui.apk, which worked fine but when compiling the modded file I'm getting errors..
Wont compile with out any modifications either..
Any tips and comments will be appreciated... excuse my grammer as I'm writing this on my phone.
I managed to recompile framework-res.apk with apk tool however it boot looped so not convinced.
Do you have to decompile with dependencies with samsung frameworks?
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
I managed to recompile framework-res.apk with apk tool however it boot looped so not convinced.
Do you have to decompile with dependencies with samsung frameworks?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I'm not sure to be honest... hopefully someone can clear this up for us !
https://docs.google.com/open?id=0Bx7xmGB4IFU7bHNSdUtaWjFTOVMtN1VjZnJBcUFWUQ
framework-res.apk won't compile with samsung based roms...i don't know why but in most cases it doesn't.
Make sure to press the thanks button.!!!!
Thanks for the tip, although not being able to recompile SystemUI.apk is a different issue all together..
Iv tried setting framework.apk & twframework-res.apk from the stock firmware which came with my phone.. attempted to compile.. fails.
Iv got a feeling this is going to be something silly..
EDIT: Something has come to mind, iv only ever been able to decompile systemUI for CM9 based roms.. forgot were working with stock Samsung.. last time I had this issue I hit a brick wall pretty much apktool couldnt decompile sammy systemUI .. this may have changed.
rohan999 said:
https://docs.google.com/open?id=0Bx7xmGB4IFU7bHNSdUtaWjFTOVMtN1VjZnJBcUFWUQ
framework-res.apk won't compile with samsung based roms...i don't know why but in most cases it doesn't.
Make sure to press the thanks button.!!!!
Click to expand...
Click to collapse
There was a way of doing it where there was one apktool.jar for decompile and another for recompile. It seemed to work for me but it was not successful.
I'll create my own thread.
I need some help on this too. APKTOOL is not taking if apktool framework-res.apk in CMD. Any ideas? I'm just trying to decompile SystemUI.apk, lol. It shouldn't be this hard.
I have a big problem.
When i use untouched original framework-res and systemui, i can decompile and compile but only when i made no changes.
when i got the framework-res and systemui from my checkrom to mod some xmls ican decompile. but i can not compile
I`ve a look to my pathes but there correct.
My phone SGS3 with checkromV4
AndroidGraphix said:
I need some help on this too. APKTOOL is not taking if apktool framework-res.apk in CMD. Any ideas? I'm just trying to decompile SystemUI.apk, lol. It shouldn't be this hard.
Click to expand...
Click to collapse
apktool work fine here!
i guess you should mount twframework-res.apk in apktool
Code:
apktool if twframework-res.apk
apktool if framework-res.apk
I've managed to compile both SystemUI and framework-res using APK manager for ICS.
Sometimes when you try to use a FW res or system ui from a custom or themed rom you will get errors because of the customizations they made to them. That's why a lot of time they will tell you to start with a stock fw or systemui.
For example, when I tried to recompile a themed FW res (JB domination) I got errors, when I used a stock "virgin" copy it was fine.
I have been struggling with this procedure for the past couple of weeks and I am at my wit's end. I have tried both APKTOOL and APK Manager to decompile my SystemUI.apk and no matter how many ways I try to decompile it, there absolutely is no smali directory.
If I post my SystemUI.apk, would an experienced themer, developer, or modder be kind enough to edit the smali coding to make the clock a different color? I am happy with the icons and everything else; I just want the color change.
The color I was looking for is #33b5e5 (the ICS blue). I would appreciate any help someone would be willing to give. Thanks.
Higgs_Boson said:
I have been struggling with this procedure for the past couple of weeks and I am at my wit's end. I have tried both APKTOOL and APK Manager to decompile my SystemUI.apk and no matter how many ways I try to decompile it, there absolutely is no smali directory.
If I post my SystemUI.apk, would an experienced themer, developer, or modder be kind enough to edit the smali coding to make the clock a different color? I am happy with the icons and everything else; I just want the color change.
The color I was looking for is #33b5e5 (the ICS blue). I would appreciate any help someone would be willing to give. Thanks.
Click to expand...
Click to collapse
I will gladly do it for you right now.
Give me about 10 mins time.
EDIT: took a look at the apk, the reason why there is no smali folder is because you are using an odexed rom I believe. You have to be deodexed to be able to modify the smali inside system apks.
Sent using Tapatalk
klin1344 said:
I will gladly do it for you right now.
Give me about 10 mins time.
EDIT: took a look at the apk, the reason why there is no smali folder is because you are using an odexed rom I believe. You have to be deodexed to be able to modify the smali inside system apks.
Sent using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your help.
Is there nothing that can be done?
Higgs_Boson said:
Thank you very much for your help.
Is there nothing that can be done?
Click to expand...
Click to collapse
You could deodex the apk, make your smali edits, re-odex it again, and then push both files into the correct directories, but it is a very annoying and tedious process.
You should flash a custom rom (all of them are deodexed) and make your smali edits from there.
Sent using Tapatalk
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
SystemUI.apk and framework-res.apk
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
MaartenXDA said:
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
Click to expand...
Click to collapse
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Is this post meant for me?
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
As Maarten already pointed out SystemUI.apk and framework-res.apk. And if you want to use them in apktool you'll also need com.htc.resources.apk.
Just out of curiosity: are you going to use UOT or apktool? Been trying to change status bar clock colour on half-sense and fulmix (see my post in his thread) with apktool but haven't succeeded yet.
What are your plans on theming?
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
R: [Q] how to modify status bar and status bar icons?
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Sent from my HTC Desire X using xda premium
fulmix said:
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Click to expand...
Click to collapse
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
darxsen said:
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
Click to expand...
Click to collapse
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
fulmix said:
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
Click to expand...
Click to collapse
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
MaartenXDA said:
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
Click to expand...
Click to collapse
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
fulmix said:
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
Click to expand...
Click to collapse
have i to put back .dex files ? or not?
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
People, cause my brother has my same account I have to create my new one, so your fulmix now is xpirt
Sent from my HTC Desire X using xda premium
fulmix said:
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
Click to expand...
Click to collapse
Can you prove this ??
Make a SystemUI.apk without classes.dex and put that in you ROM and release to all users to test. If it works, I will resign from making ROMs.
---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
Use latest apktool, bad magic value errors fixed in new version.
Refer to this for more info : http://forum.xda-developers.com/showthread.php?t=1642224
BTW... if it just some icons png that you need to change, just replace the pngs, decompile/recompile is not needed.
---------- Post added at 04:28 PM ---------- Previous post was at 04:27 PM ----------
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
SystemUI must have classes.dex; there is where all the instructions (the smali files) come from for the apk to work. Like what to run for the EQS and many more.
As mentioned on the link given above
Code:
b) If you are using apkmanager, you can just export classes.dex, then delete classes inside the apk. Then decompile, edit, compile and add classes.dex back when ready.
MaartenXDA said:
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
Click to expand...
Click to collapse
Yeah you're right you can edit the xmls & smalis, I have never got the hang of that yet? I just do it the other way
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
I have made wicked themed roms on the desire hd & now on the samsung galaxy s3! I just pull the res folder then mod the pngs with photoshop & then push back to the zip & flash.... ok its not perfect but I've made sum sweet looking ui & systems by doing it that way
sent from my super modded Samsung Galaxy S3