[Tutorial]How to decompile/recompile/Sign Whatsapp.apk - Android General

Hi everyone,
Working around in some apk's, I noticed that some apps are more tricky to work with.
I will show you in this tutorial how to decompile/recompile/Sign Whatsapp.apk
Requirements :
My Apktool -Yorzua Kit
Notepad++
I just added a complete KIT including all the tools in one folder.
no need anymore to use Openssl or change/move to another program.
to decompile :
Code:
apktool d <yourwhatsappname>.apk ( can be whatever name you give to your apk )
edit the xml/smali you want :
see my tuto here to give an idea how to edit the xml files and smali files with Notepad++ (Written on C++ and using Win32API, you will be able to easily change, copy, trace, find all the codes you will find in this guide ).
to compile :
Code:
apktool b <yourwhatsappname> ( can be whatever name you give to your apk )
to sign :
Code:
java -jar SignApk.jar testkey.x509.pem testkey.pk8 <yourwhatsappname>.apk <yourwhatsappname>_signed.apk
Those following screenshots are some examples of what you can achieve by decompiling - editing at your taste - compiling - signing an apk like Whatsapp
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Or even the 1st Whatsapp Transparent in the web !!!
I am quite busy at the moment but if you are interested on my work,
please visit my Whatsapp MODS Thread
Or my new tuto "Create your 9.png !"
http://forum.xda-developers.com/show....php?t=1511537
I thought it is a good addition to this whatsapp tuto, especially for the bubbles.9.png's​
Click on the thanks if it helps you as i do for each of you
If you come by my thread and like my work, i ask nothing more than a little thanks for the effort.
If you dont, then just give me credits if you use it.
Thanks for reading, i wish you a great day ☼​

Thanks bro
Sent from my GT-I9000 using Tapatalk

There is another way to sucessfully sign the apk without use of Open SSL to generate the key.p8 and certificate.pem files and without having to use SignApk.jar.
Auto-sign is another tool that eliminates the use of those steps.
First copy the official WhatsApp.apk into the Autosign folder
Change extension to zip and replace your pngs in the drawable folders
Be sure to delete the META_INF from the apk
Extract the edited and recompiled xmls from the modded apk created in Apk tool (res>layout)
Overwite the xml into the WhatsApp.zip in the Auto-sign folder
Return the Whatsapp extension to apk
Use sign.bat to sign the apk and you are good to go!
Auto-sign generates the key.pk8 and certificate.pem files automatically and applies them automatically to the apk, hence eliminating the necessity for Openssl and SignApk.jar... basically saves an extra step.
Works for me well

Easy Kit
cybermessiah said:
There is another way to sucessfully sign the apk without use of Open SSL to generate the key.p8 and certificate.pem files and without having to use SignApk.jar.
Auto-sign is another tool that eliminates the use of those steps.
First copy the official WhatsApp.apk into the Autosign folder
Change extension to zip and replace your pngs in the drawable folders
Be sure to delete the META_INF from the apk
Extract the edited and recompiled xmls from the modded apk created in Apk tool (res>layout)
Overwite the xml into the WhatsApp.zip in the Auto-sign folder
Return the Whatsapp extension to apk
Use sign.bat to sign the apk and you are good to go!
Auto-sign generates the key.pk8 and certificate.pem files automatically and applies them automatically to the apk, hence eliminating the necessity for Openssl and SignApk.jar... basically saves an extra step.
Works for me well
Click to expand...
Click to collapse
Way more simple than that >
I just added a complete KIT including all the tools in one folder
no need anymore to use Openssl or change/move to another program
I also includes Command.shell file which will allow you to directly type the commands from the folder directory ( very easy even if you are a noob )
Just follow the OP

Verba volant, scripta manent !!!!
More crap for this piece of s....
cybermessiah said:
@ Morrancos ... maybe read the actual posts prior to his comment.
One screenshot of the decompiling tool he uses and one screenshot of a successfuul modification AFTER I told him exactly what xmls needed modifying make him responsibile for me gaining a deeper comprehension of theming?
Click to expand...
Click to collapse
YOu told me which xml ? is it a ****ing joke ?
Since when i need you to know which xml to edit ?
I posted my screenshot here = 30th January 2012, 04:43 PMway before your post about xml ... here = 30th January 2012, 05:03 PM
And you wrote "told him exactly" ?
cybermessiah said:
FINALLY.
I was correct about it being those xmls!
Used APKtool to decompile and recompile with edits to those two xmls I suspected.
Click to expand...
Click to collapse
Here is my BLACK Whatsapp which required not less than 34 xmls in layout/drawable hdpi/values and 4 smalis to make it
YOU ARE TRULLY PATHETIC INSULTING ME AGAIN AS your "girlfriend" ....
I HOPE MODS WILL SEE THAT YOU ARE NOT HERE TO SHARE BUT ON YOUR OWN SELFISH ....
=====================================
just kept as we never know with those guys ...

how to use your easy manager package?
because in tutor you type "apktool d whatsapp.apk"
but in zip, no apktool.exe beside apktool.jar
I use "apktool.jar d whatsapp.apk" and it works..new folder created with res and smali inside it
But how to compile ?
Using "apktool.jar b whatsapp.apk" nothing happened
thanks

More clear
j1po said:
how to use your easy manager package?
because in tutor you type "apktool d whatsapp.apk"
but in zip, no apktool.exe beside apktool.jar
I use "apktool.jar d whatsapp.apk" and it works..new folder created with res and smali inside it
But how to compile ?
Using "apktool.jar b whatsapp.apk" nothing happened
thanks
Click to expand...
Click to collapse
We can always improve OP updated to be more clear for everyone
to decompile :
Code:
apktool d <yourwhatsappname>.apk ( can be whatever name you give to your apk )
edit the xml/smali you want :
see my tuto here to give an idea how to edit the xml files and smali files with Notepad++ (Written on C++ and using Win32API, you will be able to easily change, copy, trace, find all the codes you will find in this guide ).
to compile :
Code:
apktool b <yourwhatsappname> ( can be whatever name you give to your apk )
to sign :
Code:
java -jar SignApk.jar testkey.x509.pem testkey.pk8 <yourwhatsappname>.apk <yourwhatsappname>_signed.apk

Thanks, I got it
can you share, which xml that handle "group bubble" color in group chat?
which your black mod show grey
and also gradient bubble border (red-blue) ?
thanks

j1po said:
Thanks, I got it
can you share, which xml that handle "group bubble" color in group chat?
which your black mod show grey
and also gradient bubble border (red-blue) ?
thanks
Click to expand...
Click to collapse
Do you mind to point me what you need by a screenshot, please ??
Would be more easy for me
recent changes

Yorzua said:
Do you mind to point me what you need by a screenshot, please ??
Would be more easy for me
Click to expand...
Click to collapse
Where can I change contact list background color to black like picture above ?
1. Group chat "group bubble" color --> public/colors.xml ??
2. Bubble border gradient color -->forget it, found it on high-res/
thanks a lot man

Please ignore.......

j1po said:
Where can I change contact list background color to black like picture above ?
1. Group chat "group bubble" color --> public/colors.xml ??
2. Bubble border gradient color -->forget it, found it on high-res/
thanks a lot man
Click to expand...
Click to collapse
Thanks for the screenshot.
Both are 9.png files _ you cannot change the background of the group bubble with an xml, same story for the border of the bubble
I did from scratch those bubbles.9.png ( nightmare of some themers )
I will have to publish in xda a real, clear, short, illustrated TUTO "how to create 9.png files" but i am missing time actually.
Maybe i can change them for you tomorrow if you post your wishes

example of my last work
Recent work on the latest version : WhatsApp_DARKYorzua_2-7-3169

thanks
people asked me for more panoramic view of my dark theme so here it is
Thanks guys for your support _ feel free to post your questions in my tuto to make benefit all the coming members

Yorzua said:
Recent work on the latest version : WhatsApp_DARKYorzua_2-7-3169
Click to expand...
Click to collapse
Man, you've gotta good thing going overhere, (Carbon Fibre look) went to your site this is realy, realy awesome finally some great explanation about theming and such.
Dude you just rocked my world and i'll be reading and trying now for a while.
thanks for your effort and please go on doing what you do.

Thanks
DirkTeur Velserbroncx said:
Man, you've gotta good thing going overhere, (Carbon Fibre look) went to your site this is realy, realy awesome finally some great explanation about theming and such.
Dude you just rocked my world and i'll be reading and trying now for a while.
thanks for your effort and please go on doing what you do.
Click to expand...
Click to collapse
Thanks a lot for your appreciation
Feel free to ask me any help you need.
I am living in Delft actually so if we meet in the trains, could share my dark mod with you ( screenshot updated just below )
I like to share my recent work screenshots
Fijne dag meneer ☼

Thank you very much for the tutorial!

seimu said:
Thank you very much for the tutorial!
Click to expand...
Click to collapse
Glad i could help you

amazing theme, a very good job.
as you do to change the background and font color of your chat list ¿? also with the xml ¿?
I applaud you

xml code
seimu said:
amazing theme, a very good job.
as you do to change the background and font color of your chat list ¿? also with the xml ¿?
I applaud you
Click to expand...
Click to collapse
thanks for your appreciation but no need to applaud me, your themes are good too
You can edit few xml in order to set the background as a unique color :
android:background="#<hexadecimal color code you want to display>"
or as a png you create and place in drawable-hdpi :
android:background="@drawable/<the png name you want>"
or as a predefined style :
android:background="@style/<name of your style>"
For the font color of the chat list, just edit the color in :
conversation_text_row_left
conversation_text_row_right
date/name/font color of you/answering contact can be setup as well in the same section
Hope it helps you and unfortunately those bastards who are now enjoying my tuto and insulting my name at the same time

Related

[ThemeTemplates] Nexus1 Stock-ERD79 - de-odex'd and 100% theme-able

!! Let the Themes Begin !!
First off ... MadProps to the our android trailblazer JF for his smali/baksmali/deodexerant toolset, w/out these, we wouldn't have this ... so HUGE THANKS!
That said ... due to his great work ... you can and *should* donate to him here ... https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=1014600
** What we got here !! **
De-odex'd app/framework for the Nexus1 Stock ERD79 build from Google and the resulting theme templates!
Everything is de-odex'd except core.jar, which is fine for theme-ing (and pretty much all other) purposes.
UPDATED: 1/13/2010 - !!!
- These are now (v2) Theme Templates. Same templates as before, except, now basically these templates no longer nuke the entire system/app & system/framework. Instead this update-script was altered to only nuke .odex files (using remtool.sh) in system/app and system/framework. This will allow users to save their manually *pushed* apps to system/app when applying a theme!
- For themers who used the older v1 templates ... simply add the remtool.sh script to the base of the theme.zip and update the META-INF/com/google/android/update-script, to get the newer functionality! Enjoy!
PLEASE NOTE: These ThemeTemplates have only been tested on TheOfficial Nexus1-Expansion v1.3 (discontinued) & Cyanogen's Makin Bacon' Addons (discontinuing .... I assume).
THIS IS NOT COMPATIBLE with cyanogen's CM-MOD-5.0 or my TheOfficial v1.4 and beyond.
They will likely work on any other STOCK Android-2.1-ERD79 based ROM's depending on what the dev has implemented.
I will maintain my own theme templates in my threads going forward, since the ROM customizations have begun. Good Stuff
These templates remain a great starting point, as well as a way for users who simply root, to still theme their own basic rooted builds.
Below are (2) theme templates ... the first is untouched plain jane, just simply de-odex'd.
The 2nd is untouched as well ... except the statusbar text's have been made white already. I did this to hopefully expedite the emergence of "black statusbar" themes quickly!!!
UnTouched - De-ODEX'd
http://www.androidspin.com/downloads.php?dir=enomther/THEME/&file=N1_Theme_Template_v2.zip
MD5: e8c42fb085b53416f03b0eae37b25829
PreThemed w/White Statusbar texts - De-ODEX'd
http://www.androidspin.com/download...e=N1_WhiteStatusBarText_Theme_Template_v2.zip
MD5: 97fff2bfbd3a982e0b50151688df18fd
So Themers ... bring US some themes!!!
Enjoy!
huge thanks to you both!
....things are starting to get interesting. Brings me back to the early days of the G1.
Let the themes begin!
Thank you sir, exactly what I was waiting for!
You da man Enom!
http://www.mediafire.com/?yzlmjwmktdo
Here's the transparent version of the GenieWidget.apk from an earlier release. I got it from http://forum.xda-developers.com/showthread.php?t=615700 if anyone wants more information.
I figured it'd be useful for the theme folks out there. I personally prefer this over the one that came with the phone.
TheDudeOfLife said:
http://www.mediafire.com/?yzlmjwmktdo
Here's the transparent version of the GenieWidget.apk from an earlier release. I got it from http://forum.xda-developers.com/showthread.php?t=615700 if anyone wants more information.
I figured it'd be useful for the theme folks out there. I personally prefer this over the one that came with the phone.
Click to expand...
Click to collapse
Nice find. Thanks for posting this
All over it been waiting for white text bro
xTHEME COMING!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pics plz before I go changing things?
I just posted a pic of my theme I am porting.
yo enom!!! was just wondering about themes!!
You the man bro! As requested when I get paid I'll def give jf some doe.
Can't wait to see some themes!!! Thansk bro!
manup456 said:
I just posted a pic of my theme I am porting.
Click to expand...
Click to collapse
Hurry upz, that looks smexy! Even though I don't have a Nexus yet, it does look nice.
Thanks bro its coming soon bro just got going and will very soon.
Is there a guide on how to theme?
I'm pretty handy with Photoshop and wouldn't mind having a go at making a theme!
Don't you simply replace the images shown in the theme? Well of course, after opening the apk file and looking at the contents. The pictures do come as indexed though, but you could simply convert them to RGB for a minute to apply more eccentric colors, and convert them back. I did this; I don't have my Nexus yet, sadly, so I don't know if my simple method really works.
Don't feel like tryin' on my G1.
Eclair~ said:
Don't you simply replace the images shown in the theme? Well of course, after opening the apk file and looking at the contents. The pictures do come as indexed though, but you could simply convert them to RGB for a minute to apply more eccentric colors, and convert them back. I did this; I don't have my Nexus yet, sadly, so I don't know if my simple method really works.
Don't feel like tryin' on my G1.
Click to expand...
Click to collapse
How do I open this apk files? And will their be duplicate files in each apk and then I would have to replace everyone in each apk?
Oooh waiting on this theme. *twiddles thumbs*
stewart1988 said:
How do I open this apk files? And will their be duplicate files in each apk and then I would have to replace everyone in each apk?
Click to expand...
Click to collapse
You can open the apk files with WinRAR, from what I've seen, the themes are set up like this. (When you open the .zip file in WinRAR)
System > Framework > framework-res.apk (which is where you really need to be) > res > drawable-hdpi is where all the images are used in the theme, from my personal understanding.
But you should talk to a professional themer, I'm just a guy who can graphic design a tad, and easily replace images. Um, and about the duplicate thing, I have no idea, I really just open the image file up, then right click on the image and edit it with my image editing program, and save - so that I don't have to extract the files myself.
Eclair~ said:
You can open the apk files with WinRAR, from what I've seen, the themes are set up like this. (When you open the .zip file in WinRAR)
System > Framework > framework-res.apk (which is where you really need to be) > res > drawable-hdpi is where all the images are used in the theme, from my personal understanding.
But you should talk to a professional themer, I'm just a guy who can graphic design a tad, and easily replace images. Um, and about the duplicate thing, I have no idea, I really just open the image file up, then right click on the image and edit it with my image editing program, and save - so that I don't have to extract the files myself.
Click to expand...
Click to collapse
Cheers for that! Will try tomorrow on my Mac hopefully should extract with UnRarX.
This pc doesn't have WinRAR so cant try it now (Family PC used for just Facebook...)
The .9.png cant just be edited,if you edit them you will need to use a tool called draw9patch in the sdk tools folder and set the guides and then re-sign the image with eclipse.
Guide for.9.png

[10.30.12][TOOLS][TUTS]Let My People THEME!!![WIP]

I would like to see everyone getting evolved with personalizing there phone to their liking. Minor theming is not hard at all (i can do it lol). But its opens a door to what can be done with alot of effort from you. We wont have this phone forever, and it is a difficult one to mod, so by starting on this one it should only get easier... right?
Im gonna be stepping back on theming and mod investigations for a few weeks, im still in process of moving and everything is getting packed soon, un packed when house is ready in couple weeks.
These are necessities for tools to start customizing your rom.
(please correct me if any info is incorrect )
Note: I run WIN764 so these main links are for windows. I will link original threads for other OS'. Also with label em.]
[ENVIRONMENT]
Android SDK http://developer.android.com/sdk/index.html
EASY TUT: HERE - just make sure you use our phones drivers
Thats the basic environment. [with go further later on]
[NEW]
Virtuous Ten Studio [Windows Only] - Been watching its development for a long time, its finally available and creating new standards.
[APKTOOLS][must have environment set up.]
Trailblazer101's Custom Framework Maker : Best Tool for our phone! Keeps getting better, now with apktool and Update.zip support!
APK EASY MANAGER [OP] : NEW! Very simple UI, Decompile/Recompile apks.
Apk Manager 5.0.2 [OP] : Great Tools, has options. [NOW APK-Multitool]
Apk Mutli-Tool [OP] : I used this one the most for mutliple edited apks.
Apk Changer [OP] : Best tool for editing one apk at a time, only one i use for .jars.
[THEME TOOLS]
I.D.i.O.T : Theme DataBase [NEW FEATURES]
Auto Theme Porter [OP] : Used to port themes [.pngs/.9s only] that have same file names, works great for froyo to froyo port. GB and ICS have to do by hand with name changes etc. This is easy way of porting images, you will still have to edit xmls.
[EDITOR TOOLS]
7zip : Oh so essential for apks!
Notepad++ : Needed to edit XMLs.
To be continued....
Theme guides
These are great guides to share, all have basics but great to cross reference for troubleshooting.
Theme Porting Guide : Generalization how-to. [Remember we dont have SystemUI.apk, So most of those systemUI xmls are in your Framework-res.apk and Twframework-res.apk]
The Ultimate Themeing Guide : Pretty much all-in-one guide.
Android Developers Guide : Android Bible. Harder to read though.
Basic .PNG changes:
Advanced .PNG changes:
Creating/Editing .9s: This one still i have not mastered.
XML Edits: [Text colors - Personalize System text - Landscape for any apk]
To be continued....
Future TrailBlazer101's Custom Framework Maker Tut!
Themer built in mods tut
Step 1: adb installed and in path
Step 2: download themer and unzip
Step 3: connect phone to pc and dbl click batch file in themer folder.
Step 4: pull current framework (or drag framework-res.apk into batch and select M)
Step 5: mod (x is softkeys and clock colors etc)
Step 6: make themed apk and cwm
Step 7: push and reboot recovery
Step 8: flash in cwm, reboot
PicTutorial: [download zip file below for all imgs]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/code]
Themer decompile mods
Soon
hopefully this is enough space for other resources etc...
Sweet. One stop shop for those who wanna try it. Good job.
great..
i wanna start from this thread to learning
i'm wait ur updates Ciscogee
---------- Post added at 01:07 AM ---------- Previous post was at 01:02 AM ----------
great..
i wanna start from this thread to learning
i'm wait ur updates Ciscogee
ian_ajah said:
great..
i wanna start from this thread to learning
i'm wait ur updates Ciscogee
---------- Post added at 01:07 AM ---------- Previous post was at 01:02 AM ----------
great..
i wanna start from this thread to learning
i'm wait ur updates Ciscogee
Click to expand...
Click to collapse
What rom and os are you running? Ie. Froyo or gingerbread?
Also what all are you trying to accomplish?
Sent from my SCH-I400 using xda premium
ciscogee said:
What rom and os are you running? Ie. Froyo or gingerbread?
Also what all are you trying to accomplish?
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
i use gingerbread CM7 stable version on my HTC Sense
can i make this tuts to editing an widget,ex : fancy widget..?
i wanna try to edit/make some clock skins/weather skins and apllying on fancy widget first..
can u help me?
ian_ajah said:
i use gingerbread CM7 stable version on my HTC Sense
can i make this tuts to editing an widget,ex : fancy widget..?
i wanna try to edit/make some clock skins/weather skins and apllying on fancy widget first..
can u help me?
Click to expand...
Click to collapse
IF you are looking at skinning, I would say most of your edits will be in xml files.
There will be an apk associated with the widget. I would start by decompiling that, using apkmanager (That is my preference. I haven't played with any of the programs ciscogee is recommending) and starting with simple PNG edits. Then work your way up from there.
Txwolf1980 said:
IF you are looking at skinning, I would say most of your edits will be in xml files.
There will be an apk associated with the widget. I would start by decompiling that, using apkmanager (That is my preference. I haven't played with any of the programs ciscogee is recommending) and starting with simple PNG edits. Then work your way up from there.
Click to expand...
Click to collapse
wow..nice..i'll try first..
if i'm getting problem,i'll be back here,lol
One thing I forgot to mention. You will need to install the SDK, java dev kit., and have adb in your path, to use apkmanager. Ciscogee has a tut linked in the op for that.
so
do i have to edit the xml's if i change the button colors
katypeaceperry said:
do i have to edit the xml's if i change the button colors
Click to expand...
Click to collapse
Now you are starting to learn what to ask. No, you don't. Xml controls what images are shown, where they appear on the screen, and the text colors and sizes. But changing the actual colors of the buttons themselves doesn't affect the xml.
Dished out by my dumb digits
Anyone getting to themeing? Don't be afraid to ask questions. Would love to see what chall have done.
Sent from my SCH-I400 using xda premium
aws:
●๋•ηι¢є ιηƒσ●๋•
•°•♡ⓣⓗⓐⓝⓚⓢ♡ •°•
Sent from my GT-S5670 using xda premium
Virtuous Ten Studio - The next level of editing apps
added to OP
Its for windows only and just try it out, all credit to the makers and all that...
Having problems with .9 images...trying to theme the status bar so I replaced the images thru 7zip, and flashed it and my status bar doesn't change at all..idk why its doing this?
Sent from my SCH-I400 using XDA
Having problems with .9 images...trying to theme the status bar so I replaced the images thru 7zip, and flashed it and my status bar doesn't change at all..idk why its doing this?
Sent from my SCH-I400 using XDA
Click to expand...
Click to collapse
Unzip the apk with the imgs u want to port.
Then open your apk you want to mod with 7z
Drag imgs from port apk to the 7z window and replace.
Make sure they have the same name.
Are the imgs also hdpi?
Close 7z window and save changes etc.
Put your apk in a flashable zip.
(Use trailblazers themer, [copy apk in same folder as batch and drag into batch, follow on-screen instructions. ])
Flash in cwm
Clear cache and dalvick.
Reboot
Sent from my SCH-I400 using Tapatalk 2
ciscogee said:
Unzip the apk with the imgs u want to port.
Then open your apk you want to mod with 7z
Drag imgs from port apk to the 7z window and replace.
Make sure they have the same name.
Are the imgs also hdpi?
Close 7z window and save changes etc.
Put your apk in a flashable zip.
(Use trailblazers themer, [copy apk in same folder as batch and drag into batch, follow on-screen instructions. ])
Flash in cwm
Clear cache and dalvick.
Reboot
Sent from my SCH-I400 using Tapatalk 2
Click to expand...
Click to collapse
Yes I did it exatcly like that and it doesn't change it.
Sent from my SCH-I400 using XDA
What are you trying to change?
Screenshot please
Sent from my SCH-I400 using Tapatalk 2

[HOW TO] Compile/Decompile ICS Apk easily|100% working

We are all here to learn, take from community and give back to community!!!
@Lord ClockaN
Hya guys, after A LOT of requests, I decided to share with the community something that I found really REALLY useful for Dev's but also for other users too that want to mess up with compiling and decompiling process. Usually, non problems at all with that, but since ICS come out, many dev\users are not able to decompile\compile properly many ics apk (not all). This guide will ensure you a good result, 100% working, easy, and fastest way to mess up with ics for theming and resizing purposes, or whatever you want
BIG THX to my friend and Dev teammate @Bichon for this
Credits
@Bichon (yes, again)
@Xavierjohn22, the amazing author of AutoApktool! Visit his thread HERE, click his thanks button, and support his work with donations, and my personal thanks to author for this tool which is the most powerful and easiest tool ever.
@Brut_all for Apktool
@XDA Community
@Google
About Apktooll
Please consider to visit the original thread about this tool, because what I'm explaining here is just 1\10 of the real skill of this tool. You can do basically whatever you want with AutoApktool, themers will love it, Dev's will appreciate it a lot, I'm sure.
Why can't we use Apktool???
Well, you can, but it's more difficult, that's it.
Why do you say "must use 1.4.1 apktool version"??
The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail.
Requirements (Windows environment, mine is Seven 64 bit)
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
SDK (last 3.0 version for ICS source code)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS!!!)
HOW-TO (NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version!!)
1) Download and simply unpack Auto_ApkTool 2.0.0
2)Click on "autoapktoolmain.bat", prompt will open
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3)put the apk you want to mess up with in "_INPUT_APK"
4) you can chose more than one option to decompile (option 6 is strongly recommended)
5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter
6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder
7) do your edits (xml, snali, or png, doesn't matter)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) you MUST sign the apk with option 10 (NOTE: drag the apk from dist folder to the prompt, then press enter, and in the SAME folder, a signedxxx.apk will appear)
11) Rename the apk, and push it |NOTE: you can push the apk with 62 option or with sdk typing:
Code:
adb remount
adb push xxx.apk system/app
adb reboot
That's it
NOTE FOR SAMSUNG USERS
Samsung changed some Hex value in the compiled dex code.
It has nothing to do with resources apks or anthing.
If you want to decompile those apks you have to do the follwing:
Using 7zip extract the classes.dex file from the apk and save it somewhere.\
Delete the classes.dex file from the apk.
Now you can decompile the apk using this tutorial.
If you want to decompile the classes.dex to edit the smali code, download baksmali 1.3.2 and smali 1.3.2 and use them to decompile and recompile the classes.dex.
After you recompiled the edited smali code, just drag back in the new classes.dex file you made.
this won't be fixed until Brut will make a new Apktool, or someone inserted the new baksmali/smali code into apktool
THX @Firefeds
When you're in trouble...try this one, you can apply the following method to the op too
Downloads:
http://code.google.com/p/smali/downloads/list
smali/baksmali editing v1.3.2
- Download both smali and baksmali v1.3.2
http://code.google.com/p/android-apktool/downloads/list
This is the latest apktool used to compile/decompile .apk.
Download apktool1.4.3.tar.bz2 and apktool-install-windows-r04-brut1.tar.bz2 for Windows or
apktool-install-macosx-r04-brut1.tar.bz2 and apktool-install-linux-r04-brut1.tar.bz2 for Mac. Follow the instruction on installation.
Step by step:
1. Extract the classes.dex from the desired apk.
2. Decompile it with baksmali v1.3.2 (for modding smali)
3. Recompile classes.dex with smali v1.3.2.
4. Decompile the apk with apktool (without classes.dex in the apk itself).
4a. Modify the apk however you want to, adding your changes.
4b. Recompile it with apktool.
5. Put the modified apk back into classes.dex.
6. Sign the apk.
thx @djolebih
You're the boss man ^_^
Great work.
great tutorial
zFr3eak said:
great tutorial
Click to expand...
Click to collapse
Thx my friend, I have a great team behind the scene
Awesome bro!
I shall include your insight on the official Smartdroid website too.
Keep it up your contribution to the DHD community is invaluable.
mattkle said:
Awesome bro!
I shall include your insight on the official Smartdroid website too.
Keep it up your contribution to the DHD community is invaluable.
Click to expand...
Click to collapse
thx bro, hope people find it useful, you too
Well done Mem!! This will be so much usefull when ICS Sense ROM will arrive for DHD!!
OrcoX1iSE said:
Well done Mem!! This will be so much usefull when ICS Sense ROM will arrive for DHD!!
Click to expand...
Click to collapse
Ics Sense rom is already available for dhd LOL
Thx anyway
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
Great tutorial mate. As soon as I come home ill try. I am moving my theme to the ICS and I hope this works with samsung ics apps
All the best,
Vert
---------- Post added at 09:59 AM ---------- Previous post was at 09:43 AM ----------
It doesn't work with bloody samsung ics apps...
[*] C:\Users\040588\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk
decompiling C:\Users\040588\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk...
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
memnoc said:
Ics Sense rom is already available for dhd LOL
Thx anyway
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
Click to expand...
Click to collapse
Really??? Where is related thread? The only one I've found have too much modules that doesn't work (e.g. wi-fi, gps), so I mean something usable!!!
OrcoX1iSE said:
Really??? Where is related thread? The only one I've found have too much modules that doesn't work (e.g. wi-fi, gps), so I mean something usable!!!
Click to expand...
Click to collapse
then u should have said "when a fully working ICS will come out"
Vertumus said:
Great tutorial mate. As soon as I come home ill try. I am moving my theme to the ICS and I hope this works with samsung ics apps
All the best,
Vert
---------- Post added at 09:59 AM ---------- Previous post was at 09:43 AM ----------
It doesn't work with bloody samsung ics apps...
[*] C:\Users\040588\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk
decompiling C:\Users\040588\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk...
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse
mate make sure u have loaded all resources apk, then follow the errors, isn't a tool fault for what I can see...u edited some smali right?
thanks for all user would mod ics apk and thanks for put my name in OP..
BiCh0n said:
thanks for all user would mod ics apk and thanks for put my name in OP..
Click to expand...
Click to collapse
it's absolutely a pleasure, thx to you
Thanks for this great tutorial memnoc.
But when you create your own app you can checkout your project in eclipse or something like this. Ive read that this is for security that your app cant be decompiled.
Will this program decompile such apk's too?
0utl4wZ said:
Thanks for this great tutorial memnoc.
But when you create your own app you can checkout your project in eclipse or something like this. Ive read that this is for security that your app cant be decompiled.
Will this program decompile such apk's too?
Click to expand...
Click to collapse
can't follow u mate, give me an ex so i can understand what app r u talkin about
memnoc said:
can't follow u mate, give me an ex so i can understand what app r u talkin about
Click to expand...
Click to collapse
Is there a difference between market and system app? I'm talking about normal market apps, which you can build in java with eclipse. There is a choice to publish. I don't know the right name there. With this the apk should built that you can't decompile this. (So I read it)
But if there is a difference you can decompile all system apks without problems? This would be very nice
0utl4wZ said:
Is there a difference between market and system app? I'm talking about normal market apps, which you can build in java with eclipse. There is a choice to publish. I don't know the right name there. With this the apk should built that you can't decompile this. (So I read it)
But if there is a difference you can decompile all system apks without problems? This would be very nice
Click to expand...
Click to collapse
Guess yeah, but you should try, I don't create the tool i just posted a way to use it changing aapt and make it ready to use for you
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
memnoc said:
mate make sure u have loaded all resources apk, then follow the errors, isn't a tool fault for what I can see...u edited some smali right?
Click to expand...
Click to collapse
I'm trying to decompile Contacts.apk and Phone.apk and getting same error message:
[*] C:\Android\AutoAPKTool2.0.0\_INPUT_APK\Contacts.apk
decompiling C:\Android\AutoAPKTool2.0.0\_INPUT_APK\Contacts.apk...
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
I had this message in ApkManager 4.9, 5.0.
Not new to themeing. Done my fair share and never had problem decompiling apps.
Did try to decompile framework-res.apk and it went through without any errors or problems. However the Contacts.apk for ICS will not decompile.

[APP] [TOOL] ApkTool in Android

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
An All in One App To De-Compile , Re-Compile , Extract Meta-inf Folder , Add Meta-inf Folder , Sign , Zipalign , Jar to Dex and Dex To jar & Many more (Even All Lollipop Apps SDK 21) Right in Your Phone or tablet , No needed for a PC Anymore
This app is a continue for The open spurce ApkTool and with many imrprovements like adding Apktool v2.0 and many more So cridit for main application goes to chinese sources and people from AG Who worked Before me on This​
*some people having issue with installing this as a regular app , for faster operation on decompile recompile recommended to manually push it to system apps or either patch to android signature ..
Small request : if anyone have a good key for sign please sign it and give me the key to use for next releases..
works for ArmV7 Devices
i will be glad if my App Be sticky in Developers Android hacking forum​
ApkTools Is a well Known Android Reverse Engineering Tool that decrypt/translates an app or system apps To human language Code
I made this app for my personal use now im sharing with you
it have Latest ApkTool v2.0 and other versions could be find in about , you can use two different apk tool
you can optionally decompile Dex or decompile resources only
And many other futures , even more easy than a PC
Just Import Frameworks And youre good to go
you may need a good cpu for faster Decompile/recompile consumed time will be shown
Custom motifications for jobs are implemented
Download :
v4.7 :
Download From Mega
I didnt share this to earn anything just to help people and easier developement , tell me if im wrong, i dont know the exact Cridits tell me and i will add to OP
Donations Welcome For Donation Plz Email/PM me
Plz Don't Ask Compile , Decompile related help questions and ApkTool related stuffs
XDA:DevDB Information
ApkTool For Android, Tool/Utility for all devices (see above for details)
Contributors
HAYLCION, ApkTool
Version Information
Status: Stable
Current Stable Version: 4.7
Created 2015-05-23
Last Updated 2015-05-23
Awesome work bro.. I always find this kinda app... Great :good: :good:
metaspook said:
Awesome work bro.. I always find this kinda app... Great :good: :good:
Click to expand...
Click to collapse
Youre welcome bro, sorry could you plz remove quoted OP post? Thanks its not looking good
Edit: and youre so nice thanks for your works!
HAYLCION said:
Youre welcome bro, sorry could you plz remove quoted OP post? Thanks its not looking good
Edit: and youre so nice thanks for your works!
Click to expand...
Click to collapse
Oh! Sorry... Don't mind I'm not so used to in XDA but I'll, Ok I removed that quote.. :good:
metaspook said:
Oh! Sorry... Don't mind I'm not so used to in XDA but I'll, Ok I removed that quote.. :good:
Click to expand...
Click to collapse
So where else? I like your jobs they're hady , thumbs up for the busybox you shared !
It won't let me install on my m9
ahrion said:
It won't let me install on my m9
Click to expand...
Click to collapse
Push to system/app if youre on armv7
Dear dev.
Here my spec:
-Xperia m single
-Cm 12.1 android 5.1.1
-Using latest apktool from this thread.
The steps I take
1. Push apktool to /system/app
2. Reboot
3. Import the /framework/framework.apk
4. Next is decompile, recompile apk.
5. Copy dialer.apk to /sdcard/apkproject
6. Decompile dialer.apk
7. Not editing was made to source dialer_src
8. Recompile dealer_src
9. Add (META-INF) original to dialer_src.apk
10. Open root Explorer file manager, open the dialer_src.apk and for the result see screen shot.
A see the aapt your apktool provide is aapt v4.4 is that compatible with cm 12.1 android 5.1.1?
And the apktool is v2.0: apktool-2.0.0rc3.jar
Thanks for this apktool. Awesome. Amazing.
Everything I doing in a PC I can do in the phone.
This is screen shot of the original dialer.apk
I decompiled Fb lite.apk
After 2 seconds,it says:'decompile finished'
And a lot of problems like
at.brut.....
How can I fix
Nhien Nguyen said:
I decompiled Fb lite.apk
After 2 seconds,it says:'decompile finished'
And a lot of problems like
at.brut.....
How can I fix
Click to expand...
Click to collapse
Can you post the full log.
ndrancs said:
Dear dev.
Here my spec:
-Xperia m single
-Cm 12.1 android 5.1.1
-Using latest apktool from this thread.
The steps I take
1. Push apktool to /system/app
2. Reboot
3. Import the /framework/framework.apk
4. Next is decompile, recompile apk.
5. Copy dialer.apk to /sdcard/apkproject
6. Decompile dialer.apk
7. Not editing was made to source dialer_src
8. Recompile dealer_src
9. Add (META-INF) original to dialer_src.apk
10. Open root Explorer file manager, open the dialer_src.apk and for the result see screen shot.
A see the aapt your apktool provide is aapt v4.4 is that compatible with cm 12.1 android 5.1.1?
And the apktool is v2.0: apktool-2.0.0rc3.jar
Thanks for this apktool. Awesome. Amazing.
Everything I doing in a PC I can do in the phone.
Click to expand...
Click to collapse
No i forgot to change it in app its not rc3 its the latest v2.0.0 final that works wor lollipop flawsly too
ndrancs said:
This is screen shot of the original dialer.apk
Click to expand...
Click to collapse
Yeah it supports that you Have to adjust Min max sdk in apktool.yml if not recompiles but what you showed is about signature
Hey @HAYLCION , I keep getting error when reconciling saying too many symbolic links found... Anybody know what that means?
bdizzle1686 said:
Hey @HAYLCION , I keep getting error when reconciling saying too many symbolic links found... Anybody know what that means?
Click to expand...
Click to collapse
Copy err log and send, i can tell you
Hi dev and thank you for your work.
I'd like to decompile HydrogenOS launcher apk, include in it OxygenOS framework and recompile hoping it could work on other AOSP based rom and not only in OxygenOS.
I'm a noobe and I was just wondering: is that possible? And, can I do this completely with your tool?
Thank you so much
mega link is dead... please reupload
Download link problem
Download issues still. Anyone have a copy of this?
for me brut broo -_- when I dc my systemUI

[Mod] Themed Dialers

Nothing fancy. Just some simple colored dialers. These will work on deodexed and odexed roms. Made from an OE2 SecContacts apk but might work on OC3 as well. If on an odexed rom, after flashing, you will need to go to system/priv-app/SecContacts_L_Phone_FLAGSHIP_USA.apk/arm folder and delete the two odex files. Make a backup first. This is a work in progress.
If you are running a custom theme but want to use one of these dialers you will need to remove the phone, contacts, and common folders for that theme from the root folder data/app and reboot. I recommend copy/moving them to your SD card in case you decide to use them later. Flash these via Flashfire.
Red
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://www.androidfilehost.com/?fid=24052804347823669
Blue
https://www.androidfilehost.com/?fid=24052804347823676
Yellow
https://www.androidfilehost.com/?fid=24052804347823678
White text on black
https://www.androidfilehost.com/?fid=24052804347823922
Hello Tulsadiver
I'm still new to the Mod scene. Would you tell me exactly where you can change in the APK file the color values. I've already tinkered together a Theme by my preference and would like to customize my Dialpad yet for me.
Would be really nice of you if you could pass on your knowledge to me.
LG bunnys7679
bunnys7679 said:
Hello Tulsadiver
I'm still new to the Mod scene. Would you tell me exactly where you can change in the APK file the color values. I've already tinkered together a Theme by my preference and would like to customize my Dialpad yet for me.
Would be really nice of you if you could pass on your knowledge to me.
LG bunnys7679
Click to expand...
Click to collapse
Be happy to. Kind of new to it myself. Let me find my notes.
Does that mean so much that ynu help me? That would be great
Gesendet von meinem SM-G925F mit Tapatalk
bunnys7679 said:
Does that mean so much that ynu help me? That would be great
Gesendet von meinem SM-G925F mit Tapatalk
Click to expand...
Click to collapse
I didn't find my notes but this is what I did. I took the colors.xml from the stock SecContacts_L_Phone_FLAGSHIP_USA.apk and made notes as to what all i changed to get my red dialer. Lots of these are kind of intuitive. Here is a list of the hex color codes I used.
FFEE0000. RED
FF000000. BLACK
FFFFFFFF. WHITE
These are all the colors I used for my red dialer. Here is the color.xml with my notes. There are several. I hope this helps you out. Feel free to ask any specific questions that might come up. I had to change it to a text file in order to get it to load on xda.
First, many thanks for your efforts. I'll look at me once and if I have any questions I would be in touch with you again.
Great big thanks to you
Hello,are you online?
What is the hex code for your Blue Dialer?
bunnys7679 said:
Hello,are you online?
What is the hex code for your Blue Dialer?
Click to expand...
Click to collapse
Sorry, just saw your question. ff009fff
Thank you very much. Have it now hinbekommen almost everything on issues. Few things I still need in the SecContacts_L.apk
As always I'm a big fan of your work. I downloaded and applied the blue and black dialer and love the way it looks. The only problem is when I type a name in the dialer, I can't see the full name of options provided because it's all black, if you get what I mean. Would you be able to fix that? Here is an example: https://drive.google.com/a/bernardltd.com/file/d/0B3fIceeoMIn8UkZ4RkhOb1hjTGc/view?usp=docslist_api
SponsOne said:
As always I'm a big fan of your work. I downloaded and applied the blue and black dialer and love the way it looks. The only problem is when I type a name in the dialer, I can't see the full name of options provided because it's all black, if you get what I mean. Would you be able to fix that? Here is an example: https://drive.google.com/a/bernardltd.com/file/d/0B3fIceeoMIn8UkZ4RkhOb1hjTGc/view?usp=docslist_api
Click to expand...
Click to collapse
Couldn't access your example.
Tulsadiver said:
I didn't find my notes but this is what I did. I took the colors.xml from the stock SecContacts_L_Phone_FLAGSHIP_USA.apk and made notes as to what all i changed to get my red dialer. Lots of these are kind of intuitive. Here is a list of the hex color codes I used.
FFEE0000. RED
FF000000. BLACK
FFFFFFFF. WHITE
These are all the colors I used for my red dialer. Here is the color.xml with my notes. There are several. I hope this helps you out. Feel free to ask any specific questions that might come up. I had to change it to a text file in order to get it to load on xda.
Click to expand...
Click to collapse
The txt file you posted, are those colors all located in one XML or did you place them all in one xml for simplification? When I decompile app I find some colors in one xml and some in different xmls. I'm on aoe2 based rom on Verizon. Thank you in advanced
Fe Mike said:
The txt file you posted, are those colors all located in one XML or did you place them all in one xml for simplification? When I decompile app I find some colors in one xml and some in different xmls. I'm on aoe2 based rom on Verizon. Thank you in advanced
Click to expand...
Click to collapse
Those should all be in the res/values folder, in the colors.xml
Tulsadiver said:
Those should all be in the res/values folder, in the colors.xml
Click to expand...
Click to collapse
User error on my part. I was in res/color. Thank you
So I'm just messing around by changing only a few colors to get my feet wet. I'm not using any theme besides default. Upon making changes and copying res folder back to original apk and deleting dalvick cache the app will still FC.
Should i still remove phone,contacts, and common folders?
Fe Mike said:
So I'm just messing around by changing only a few colors to get my feet wet. I'm not using any theme besides default. Upon making changes and copying res folder back to original apk and deleting dalvick cache the app will still FC.
Should i still remove phone,contacts, and common folders?
Click to expand...
Click to collapse
I don't delete dalvick cache. How are you decompiling/recompiling? Are you signing it?
Tulsadiver said:
I don't delete dalvick cache. How are you decompiling/recompiling? Are you signing it?
Click to expand...
Click to collapse
Using apktool and no I'm not signing it. Should I be? I did notice that after building apk it's res folder is missing folders that are in original apk res folder.
Fe Mike said:
Using apktool and no I'm not signing it. Should I be? I did notice that after building apk it's res folder is missing folders that are in original apk res folder.
Click to expand...
Click to collapse
Yes, I believe this apk has to be signed.
I'm not sure about the coping you were referring to earlier. After decompiling the apk, open the xml's you want to edit, edit in notepad++, and save. Recompile, then sign.
Xml's have to be recompiled after editing.
Tulsadiver said:
Yes, I believe this apk has to be signed.
I'm not sure about the coping you were referring to earlier. After decompiling the apk, open the xml's you want to edit, edit in notepad++, and save. Recompile, then sign.
Xml's have to be recompiled after editing.
Click to expand...
Click to collapse
Ok, thank you very much. How do you know when an app should be signed. Until now every edit I've done had been smali edits and after compiling I'd just copy the classes.dex file from new app to orig and then push apk back to phone.
Fe Mike said:
Ok, thank you very much. How do you know when an app should be signed. Until now every edit I've done had been smali edits and after compiling I'd just copy the classes.dex file from new app to orig and then push apk back to phone.
Click to expand...
Click to collapse
Framework-res and SystemUI are different because they are system apk's. I had to sign the dialer apk to get it to work.

Categories

Resources