I edited the source code to add copy/paste buttons, but i have no way and dont know to compile it as it is system app....
please, could anyone compile it for me???? or can anyone explain me how to build it in windows??
here it is the source: http://dl.dropbox.com/u/71088154/SystemUI.zip
bamsbamx said:
I edited the source code to add copy/paste buttons, but i have no way and dont know to compile it as it is system app....
please, could anyone compile it for me???? or can anyone explain me how to build it in windows??
here it is the source: http://dl.dropbox.com/u/71088154/SystemUI.zip
Click to expand...
Click to collapse
Doesn't look like you decompiled it properly. Use apktool (Windows) to properly decompile, make your edits, then recompile with apktool. I'm sure there are tons of tutorials out there how to use it.
abnormalreply said:
Doesn't look like you decompiled it properly. Use apktool (Windows) to properly decompile, make your edits, then recompile with apktool. I'm sure there are tons of tutorials out there how to use it.
Click to expand...
Click to collapse
No, i didnt use any apk decompiler, its just the source code of the app
Related
Ok so I used http://forum.xda-developers.com/showthread.php?t=882742 to upack / uncompile my framework-res. I then made my changes to the xml's that I wanted to edit. I then used the same program to repack them but it does not recompress them for some reason. I tried to use apkmanager but found it very confusing to use it to recompile and could never get it to work correctly. Any help would be appreciated.
With apkmanager after you make your edits you choose 11 to recompile, answer yes and yes, go to the keep folder that it creates and delete everything you edited. You will get a unsigned.apk.
Sent from my ADR6300 using XDA App
Hatman41 said:
Ok so I used http://forum.xda-developers.com/showthread.php?t=882742 to upack / uncompile my framework-res. I then made my changes to the xml's that I wanted to edit. I then used the same program to repack them but it does not recompress them for some reason. I tried to use apkmanager but found it very confusing to use it to recompile and could never get it to work correctly. Any help would be appreciated.
Click to expand...
Click to collapse
if you use apk manager and make xml edits make sure you delete the resources arsa also
newtoroot said:
if you use apk manager and make xml edits make sure you delete the resources arsa also
Click to expand...
Click to collapse
Thanks for the reply but I still find apkmanager very confusing to use to recompile.
What's the best way or program to recompile xmls. Im able to use apk manager and apktool to decompile and make my edits but I can never be able to recompile successfully. So is there any other way it can be done?
suwu10 said:
What's the best way or program to recompile xmls. Im able to use apk manager and apktool to decompile and make my edits but I can never be able to recompile successfully. So is there any other way it can be done?
Click to expand...
Click to collapse
For just XML ? Are you running Linux/Mac/Win ?
Greetz to Burque !
suwu10 said:
What's the best way or program to recompile xmls. Im able to use apk manager and apktool to decompile and make my edits but I can never be able to recompile successfully. So is there any other way it can be done?
Click to expand...
Click to collapse
If there is nothing wrong with your edits apk manager should be able to recomiple without a problem. What error are you getting?
suwu10 said:
What's the best way or program to recompile xmls. Im able to use apk manager and apktool to decompile and make my edits but I can never be able to recompile successfully. So is there any other way it can be done?
Click to expand...
Click to collapse
Im aware you stating making your edits is not the issues, but just making sure you made your changes using Notepad++ and not just Notepad....
Sorry I didn't post but i figured it out. I was using a themed framework and system ui so that's why I was getting errors when decompiling and recompiling. I just used as close to stock as possible framework and system ui then dragged over to my theme and it worked
Hey,
I want to modify some images in SystemUI.apk, namely the "softkey" bar... but I want to animate the png's, which requires adding XML files for animation.
The apk's are obviously compiled, not just a zip, so I can't just throw in an xml file.
How would I go about doing this?
Use apk-tool to decompile, add in the xml files, then recompile? I heard this introduces some errors.
Is there a way to get the source of the SystemUI.apk since this is a dev phone?
Any help is greatly appreciated.
This is similar but not quite the same
http://forum.xda-developers.com/showpost.php?p=11891313&postcount=2
Royal2000H said:
Hey,
I want to modify some images in SystemUI.apk, namely the "softkey" bar... but I want to animate the png's, which requires adding XML files for animation.
The apk's are obviously compiled, not just a zip, so I can't just throw in an xml file.
How would I go about doing this?
Use apk-tool to decompile, add in the xml files, then recompile? I heard this introduces some errors.
Is there a way to get the source of the SystemUI.apk since this is a dev phone?
Any help is greatly appreciated.
Click to expand...
Click to collapse
Source is in ASOP so that's easy... http://source.android.com/
But you're correct about apktool - just get the latest, decode the apk, edit the xml and encode the result... move edited stuff from new apk to source apk and tada!
Can anybody make black contact & phone.apk attached here. Or else let me know the step by step procedure to make the Black themed Contacs.apk & Phone.apk
I Know we need to edit some XML files like styles.xml , call_background.xml, background_dial_holo_dark.xml and also have tried but able to get the success. So please help me.
Its not that easy...
apktool-1.4.3 wont decompile Contacts.apk properly so when you recompile, it will most likely crash the Phone.apk
I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.
I would do it for you, how exactly do you want it to look?
manikant_009 said:
I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.
Click to expand...
Click to collapse
How many "themer's" are changing XML? show me one please...
shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Most just change images, just swap out the images using 7-zip
OriginsOfLewis said:
Most just change images, just swap out the images using 7-zip
Click to expand...
Click to collapse
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...
OriginsOfLewis said:
I would do it for you, how exactly do you want it to look?
Click to expand...
Click to collapse
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.
shayne77 said:
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...
Click to expand...
Click to collapse
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3
manikant_009 said:
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3
Click to expand...
Click to collapse
My bet is: Contacts.apk will work fine but Phone.apk will crash.
shayne77 said:
My bet is: Contacts.apk will work fine but Phone.apk will crash.
Click to expand...
Click to collapse
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.
manikant_009 said:
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.
Click to expand...
Click to collapse
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.
shayne77 said:
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.
Click to expand...
Click to collapse
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344
manikant_009 said:
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344
Click to expand...
Click to collapse
I think you'll find they're only changing PNGs in Contacts.apk... could be wrong but I am thinking that is the case...
Will see if any "themers" offer you some advice in this thread then...
shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Oh so you'll share your method to manikant/us then? good-o
---------- Post added at 12:28 AM ---------- Previous post was at 12:24 AM ----------
el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Can you share with us also i like the MMS.apk of your theme so please try to share with us.
Didn't think so...
either he doesn't change XML or he steals someone else work or he's just plain selfish.
not in the spirit of xda anyway.
That's the problem with this place, ego's get in the way of development.
manikant_009 said:
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.
Click to expand...
Click to collapse
Okay I've done it, I haven't tested it so it's at your own risk. Remember to set permissions! This is at 50% transparency
http://dl.dropbox.com/u/43639041/framework-res.apk
I had errors with the Contacts.apk when making any XML edits, I ended up having to grab it from the source.
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?