[SHARE](APP) Apktool on Android - Android Software/Hacking General [Developers Only]

FAQ: I'm not the developer of this app. I am just sharing this to the community
Want to be a developer but don't have a computer to do the job?
Then Apktool which was previously built for computers can now be used on your android phone
Requirements:
- Rooted Android Device
- File Manager with root permissions (e.g Root Browser, ES File Explorer)
- Some Knowledge on modding APK files
(If you don't know how to, just search for guides for your favourite mod)
- A Fully Functional Brain
Downloads
You can find the files here
Setting up
1. Download the latest version of apktool.apk and apktool_armhf.zip
2. When finished, extract apktool4.1_armhf.zip and move the apktool folder the the root of your SD card (sdcard/ place here)
3. Install the apk file
How to use it
1. If you want to mod your Systemui or framework-res just grab those files using a root explorer and place them in a new folder either on your internal or external SD card.
2. Go back to apktool and hold on the apk till a pop up menu appears.
3. Install framework first then you can proceed to decompiling
4. If you have finished doing your business, compile it back, delete the original apk and rename the modded apk to the original one.
Notes
If you don't know anything about codes I suggest you to search for mods with guides around XDA.
Have fun being a developer and hit the thanks button if I've helped you
Credits
- iBotPeaches
- Brut.all
- Connor Tumbleson
- Dong Fang

Haha, that was quick!

Downloading now...
Im curious, when you wrote to download the latest versions there was only 1.4 but the apktool is 1.52 I believe....
Will that version work with this? Or do you have to use this version?
{
"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"
}
check out our rom website, http://updater.team-nocturnal.com/labrats/

Tested, works on GNex with Android 4.3
Decompiled, recompiled SystemUI.apk successfully.
Sent from GNex...

cbucz24 said:
Downloading now...
Im curious, when you wrote to download the latest versions there was only 1.4 but the apktool is 1.52 I believe....
Will that version work with this? Or do you have to use this version?
check out our rom website, http://updater.team-nocturnal.com/labrats/
Click to expand...
Click to collapse
Just download anything latest that is there. I wrote latest version and did not include version name cause I think there might be updates in the future and I might not have time to update this thread in the future

Juhan Jufri said:
Just download anything latest that is there. I wrote latest version and did not include version name cause I think there might be updates in the future and I might not have time to update this thread in the future
Click to expand...
Click to collapse
Ok very cool. Thanks!
This will definitely be put to use by a lot of people.
check out our rom website, http://updater.team-nocturnal.com/labrats/

This is hands down the most useful tool for devs (or occasional dabblers like myself) who have pretty much abandoned their computers in favor of their Android devices...call me lazy, but there have been several times where I've been playing on my phone while watching TV and I come across something I'd like to try - but then completely disregard it simply because I don't want to leave my perch and go into the other room to get on the computer.
This is XDA newsworthy - FANTASTIC work, OP!!

Too good to be true... Gonna try this later on my tablet...:thumbup::thumbup::thumbup:
Sent from my H100 using xda app-developers app

Works as its supposed to,, kudos to this, now if there was just someway to get dsisxda kitchen to work for android we could do away with our pc's
Sent from my H100 using xda app-developers app

http://forum.xda-developers.com/showthread.php?t=2388135
posted/shared weeks ago from evanlocked in above thread.

Wait... what? This really works??
Mind = blown
Sent from my Nexus 7

Been waiting for this for ages. thanks to the developers.

-CALIBAN666- said:
http://forum.xda-developers.com/showthread.php?t=2388135
posted/shared weeks ago from evanlocked in above thread.
Click to expand...
Click to collapse
Seems to me that one thread is not enough to tell xda users about this app. I know its like spamming cause I'm sharing the same apk but majority of apktool users stick to the developers only forums thats why i posted here.

Juhan Jufri said:
Seems to me that one thread is not enough to tell xda users about this app. I know its like spamming cause I'm sharing the same apk but majority of apktool users stick to the developers only forums thats why i posted here.
Click to expand...
Click to collapse
I haven't seen it before and I was really searching for it!
But one question..when I extract classes.dex of framework.jar, how can I get it back in there after editing? :/
Gesendet von meinem HTC One mit Tapatalk 4

KonstiDee said:
I haven't seen it before and I was really searching for it!
But one question..when I extract classes.dex of framework.jar, how can I get it back in there after editing? :/
Gesendet von meinem HTC One mit Tapatalk 4
Click to expand...
Click to collapse
Yeah, I'm also wondering about this...
Decompiled the Framework.jar quite easily, but after editing ang recompiling, it only shows:
Code:
I. Smaling...
Killed
If my memory serves right, here at XDA, There's a file (two files actually) which you'll put at system/bin or system/xbin, run an Terminal Emulator, and you can instantly (well, it always depends on the size) recompile Framework.jar.
But the problem is, I don't have the files anymore (forgot to make a back-up), and I forgot what did I typed , or what I searched to get there...

I decompiled apktool.apk to test (& to change the icon), I changed the icon and now I can't recompile.
This is the message I get:
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
Sent from my GT-I5500 [CM7.2]

Hi OP, While im Decompiling An Apk It Shows This error: "FATAL: Kernel Too Old!"
How I can Fix It?? please help...
Sent from my E10i using xda app-developers app
Sent from my E10i using xda app-developers app

Can Someone help me on my problem please...
My Works
RePower™ ROM For X10 Mini(Soon)
RePower™ V2(Tweaks) For All Low Ram Android Phones
Link: http://forum.xda-developers.com/showthread.php?p=45163187
All Of My Works Is Here:
http://www.mediafire.com/?oc99l9xsxasor

Renzki™ said:
Hi OP, While im Decompiling An Apk It Shows This error: "FATAL: Kernel Too Old!"
How I can Fix It?? please help...
Sent from my E10i using xda app-developers app
Sent from my E10i using xda app-developers app
Click to expand...
Click to collapse
Maybe the app depends on the version of the kernel, what is your kernel version?

Vagelis1608 said:
I decompiled apktool.apk to test (& to change the icon), I changed the icon and now I can't recompile.
This is the message I get:
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
Sent from my GT-I5500 [CM7.2]
Click to expand...
Click to collapse
Had you import the apk as framework of the apk first before decompiling it?

Related

[Mod][How-To] Change Sense 1.0 Lockscreen Sprint Banner

Hey gang. I know a lot of people know of JsChiSurf. You should. That man is one of the main reasons I do what I do today. Buy him some beers or fund his retirement
Anyways. He came up with a mod that can change the Sprint Banner in the Sense Lockscreen. The hack is pretty straightforward yet awesome. I based this mod off of his. Check it out here
His goal was to use a hex editor to modify the text, but I am taking a different approach. We have so many tools available now. Apktool, apk manager, and of course, Android Utility. This is for Sense 1.0 ota 4.54 Evo 4g.
This mod is easy to do.
Tools: Android-Utility, or apktool, Java
Download the attached files below: HtcLockScreen.apk and Testsign.jar
1. Have com.htc.resources.apk and framework-res.apk from your rom ready
2. Decode the apk like this if using apktool, run in command prompt or terminal:
Code:
apktool if framework-res.apk
apktool if com.htc.resources.apk
apktool d HtcLockScreen.apk out
3. Now, you should have a folder called "out"
4. Open the folder and look for res/layout/lock_screen_bar.xml
5. Open the xml in Notepad ++ or Gedit
6. Search for where it says "EVO Classic"
7. Change it to your desired text
8. Save and exit
9. Now, we compile the apk
Code:
apktool b out HtcLockScreen-new.apk
10. Now, we resign the apk.
Code:
Method A:
Open the original apk with 7-zip.
Take out the entire "META-INF" folder.
Open new apk with 7-zip.
Put in META-INF folder.
Method B: (only works on Evo Classic and other roms with signature verification off)
type in this command:
java -jar testsign.jar HtcLockScreen-new.apk HtcLockScreen-signed.apk
11. Download the sample Update.zip Found here, attached at bottom
12. Put the apk (renamed to HtcLockScreen.apk) inside the zip under system/app/
13. Flash and enjoy!
Sorry if this isn't noob-friendly enough. I tried to come up with a different way but this is all I got. The details are all there.
Please try it first.
But if you really can't get it, feel free to request a specific word or banner. I can upload them for you.
{
"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"
}
Once again, thanks to JsChiSurf for original mod. I took and modified for the latest 4.54
Sincerely,
Tommy Nguyen
Requests
Only changes the Banner Text. Lockbar will not be included.
All to be applied with ZipThemer
-EViL-KoNCEPTz- Banner
Sprint Banner
I'm guessing we can still use sprint apps, because this only changes the banner. Would I be correct?
bcarter2000 said:
I'm guessing we can still use sprint apps, because this only changes the banner. Would I be correct?
Click to expand...
Click to collapse
You sir are correct
Sent from my PC36100 using Tapatalk
The command:
apktool HtcLockScreen.apk out
Doesn't seem to work. I am using the most recent version of apktool on a Windows machine.
Whoops.
apktool d HtcLockScreen.apk out
Typo corrected.
all you need is a lovely signature.
Tommy you are a beast! You write these guides like you wrote the code or something. Do you know of a guide somewhere that breaks down smali code? That's where I need to be lol
Swyped from my Red Hot Razr phone running Tapatalk
i got it all working except building the new .apk
it builds but instead of an .apk its a folder...
edit: i think i might have found it.
mpitcher225 said:
Tommy you are a beast! You write these guides like you wrote the code or something. Do you know of a guide somewhere that breaks down smali code? That's where I need to be lol
Swyped from my Red Hot Razr phone running Tapatalk
Click to expand...
Click to collapse
Being that smali is a hack language there arent any guides...but you can read on java. It will help.
life_420 said:
i got it all working except building the new .apk
it builds but instead of an .apk its a folder...
edit: i think i might have found it.
Click to expand...
Click to collapse
Hope you find it!
Sent from my PC36100 using Tapatalk
just flashed and lockscreen came up with my personal banner, it worked...
screenshot in a minute
nice thanks button is hit.
That was way to easy... LOL
life_420 said:
just flashed and lockscreen came up with my personal banner, it worked...
screenshot in a minute
nice thanks button is hit.
That was way to easy... LOL
Click to expand...
Click to collapse
I thought so too when I posted the guide
Glad you got it! Looking good robert
Sent from my PC36100 using Tapatalk
tommytomatoe said:
Being that smali is a hack language there arent any guides...but you can read on java. It will help.
Hope you find it!
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Wow I didn't know that lol. Thanks man
Swyped from my Red Hot Razr phone running Tapatalk

[App] Wallpaper Chooser - Free to the public, artists, and themers

Hey gang!
This is a super simple app that I threw together. First, source code for the app provided by AOSP, modified by Code Aurora Forums, and adapted by yours truly, tommytomatoe.
Code:
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* Adapted to Classic Control Panel by tommytomatoe
* from Code Aurora
* https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&ved=0CEUQFjAF&url=https%3A%2F%2Fwww.codeaurora.org%2Fgit%2Fprojects%2Fqrd-gb-dsds-7225%2Frepository%2Frevisions%2Fb97d35a9fe38c93178837dcea5d88d0fb28e9ba7%2Fraw%2Fpackages%2Fapps%2FLauncher2%2Fsrc%2Fcom%2Fandroid%2Flauncher2%2FWallpaperChooser.java&ei=zyGPT_ujHo662gW9-NWBDA&usg=AFQjCNE8Mk3411GNzJvxz-6-KEARVE615A&sig2=gCTKczUvK-saiNImMBSAKQ&cad=rja
*/
Now to the goodies.
The purpose of this app is for the themers and artists that come up with awesome wallpapers or include wallpapers in their themes. Now they can simply and professionally package the wallpaper within an apk!
Instructions to use are super simple.
1. Download apk
2. Use apktool to decode the apk (ie, apktool d WallpaperChooser.apk)
3. Add your wallpaper to res/drawable-hdpi (or -xhdpi, depending on your target device)
4. Make a smaller copy of your wallpaper, 170x142 works nicely
5. If your wallpaper is called "sample_13.jpg", then the small wallpaper should be named "sample_13_small.jpg"
6. Navigate to res/values/arrays.xml. It looks like this:
Code:
wallpaper_1
wallpaper_2
wallpaper_3
7. For each wallpaper you want to add, just add an "item". Leave out the extension, and also, the app will automatically account for the "small" wallpaper. I included three wallpapers just for example purposes. They don't need to be named "wallpaper_#". It can be ANYTHING you want, but in arrays.xml the name must be reflected.
8. Build the apk (ie, apktool b WallpaperChooser WallpaperChooser-new.apk)
9. Sign the apk!
10. Include in ROM, theme, or post a thread so people can install!
Optionally, you can change the app name. Just go to res/values/strings.xml.
That's it!
Download WallpaperChooser.apk here
{
"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"
}
Thanks tt
Sent from my SPH-D710 using Tapatalk 2
Thanks Tommy.. Will make good use of this.
Im excited to see what you two do with it!
Sent from my EVO using Tapatalk 2
Sweet. I just got a whole new set of wallpapers for conflagration. This is going to make my life so much easier
Sent from my A500 using Tapatalk 2
Oh, this is definitely going to get put to good use! Especially since AlterROM has no solid consistency in wallpaper selection between alternative launcher options...
Thanks, Tommy! I was looking for something exactly like this!
Psichi said:
Sweet. I just got a whole new set of wallpapers for conflagration. This is going to make my life so much easier
Sent from my A500 using Tapatalk 2
Click to expand...
Click to collapse
If you want I can make you one that has a different package name so that it doesnt overwrite the one that comes with classic. I did the same for x_n and defuse
grayn0de said:
Oh, this is definitely going to get put to good use! Especially since AlterROM has no solid consistency in wallpaper selection between alternative launcher options...
Thanks, Tommy! I was looking for something exactly like this!
Click to expand...
Click to collapse
Not a problem. I hope it can be useful for you
Sent from my EVO using Tapatalk 2
I did this a while back with Derp3D, great job posting for others!
Sent from my PC36100 using xda premium
tommytomatoe said:
If you want I can make you one that has a different package name so that it doesnt overwrite the one that comes with classic. I did the same for x_n and defuse
Click to expand...
Click to collapse
That would be great, thanks
Sent from my tomatoe filled evo
Great!
Wow Yet another great contribution to the Android community by Mr tommytomatoe
I have messed around with this and have added a few of my favorite desktop/Android wallpapers.
Thanks
Psichi said:
That would be great, thanks
Sent from my tomatoe filled evo
Click to expand...
Click to collapse
you got it. check your email in a few.
Tommy 1st one.
http://forum.xda-developers.com/showpost.php?p=21044631&postcount=4
Tommy correct me if I am wrong but if I want to be able to have more then one apk then I need to change the classic name on all the smalis. I remember when I 1st came to Android I was Modding front apks for the cappy and that is what I had to do to.
Sent from my SPH-D710 using Tapatalk 2
dfuse06 said:
Tommy correct me if I am wrong but if I want to be able to have more then one apk then I need to change the classic name on all the smalis. I remember when I 1st came to Android I was Modding front apks for the cappy and that is what I had to do to.
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
Yeah it is all about the package name.
First you need to modify the name in the android manifest. The one I sent you is net.classic.wallpaper.dfuse
Just change any part of it to make it a different app. Then, go to the smali folder and change the folder to the name that you changed. Then in the smali file itself, change the reference from net.classic.wallpaper.dfuse to whatever you changed it to in android manifest.
Sent from my EVO using Tapatalk 2
tommytomatoe said:
you got it. check your email in a few.
Click to expand...
Click to collapse
hey nice guide but when i recompile my apk i dont get that values folder in that recompiled apk what causes this not be compiled can you please help me in this issue thanks in advance
Values gets compressed to resources.arsc
Sent from my EVO using Tapatalk 2
Hello,
I followed the instructions, I only changed the wallpapers, I left the same names, I wanted to see if it would work.
I got no errors on decode and got no errors in build.
Copied the apk on my phone and tried to install.... "APP WAS NOT INSTALLED"
What seems to be the problem?
Thanks!
aadiflesher said:
Hello,
I followed the instructions, I only changed the wallpapers, I left the same names, I wanted to see if it would work.
I got no errors on decode and got no errors in build.
Copied the apk on my phone and tried to install.... "APP WAS NOT INSTALLED"
What seems to be the problem?
Thanks!
Click to expand...
Click to collapse
You need to sign the apk.
Sent from my HTC One XL using Tapatalk 2
dfuse06 said:
You need to sign the apk.
Sent from my HTC One XL using Tapatalk 2
Click to expand...
Click to collapse
Hey, thanks a lot man!
I signed it before using one method and it did not work and now I used a different method and it works!
The first method was fine, no errors and made a copy named with signed.apk of the app, and I thought it worked... but apparently it not.
Thanks again, I appreciate the help!
aadiflesher said:
Hey, thanks a lot man!
I signed it before using one method and it did not work and now I used a different method and it works!
The first method was fine, no errors and made a copy named with signed.apk of the app, and I thought it worked... but apparently it not.
Thanks again, I appreciate the help!
Click to expand...
Click to collapse
No problem man.
Sent from my HTC One XL using Tapatalk 2

[MOD][APP][CM7] ICS Style Phone.apk

Here is the Phone.apk from CM7.2 modded to look like the dialer in ICS/JB. Recommended to use with my JB Theme .
{
"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"
}
Please note : I didn't make the contact photo fullscreen because it looks pixelated on GB (blame Google)
Download flashable zip
UPDATE 23 Dec 2012
--> Fixed some visual glitches (blank hold button, conference manage screen)
UPDATE 24 Dec 2012
--> Added MDPI/LDPI support
UPDATE 28 Dec 2012
--> Added alternate version for those getting FCs:
Alt 1
Alt 2
UPDATE 09 JAN 2013
--> Added JBPhone_Patcher for people to make their own JBPhone flashable zip (hope it works for everyone this time )
That's tight.
bhupatib said:
Please note : Since my ROM didn't have MDPI resources for it, this will probably not work on those devices. So unless someone sends me a different Phone.apk, it's HDPI only. Also I didn't make the contact photo fullscreen because it looks pixelated on GB (blame Google)
Download flashable zip
Click to expand...
Click to collapse
On behalf of LDPI phones. can I send you the phone.apk for LDPI devices running MiniCM7.2 and make for it???
or can you teach me how to do this? please consider my request.
How about you make a separate version with full screen contact photos? Users on stock ROMs will love it!
UPDATE 23 Dec 2012
--> Fixed some visual glitches (blank hold button, conference manage screen)
zvdelossantos said:
On behalf of LDPI phones. can I send you the phone.apk for LDPI devices running MiniCM7.2 and make for it???
or can you teach me how to do this? please consider my request.
Click to expand...
Click to collapse
Well I did a lot of layout changes (xml editing) and made a bunch custom resources (normal and .9 pngs). I encourage you to decompile my file and compare the changes.
You can also send me the ldpi version and I will include it
Saketme said:
How about you make a separate version with full screen contact photos? Users on stock ROMs will love it!
Click to expand...
Click to collapse
Even though it looks pixelated or having to disable contact sync?
I'll see if enough people request it
when anyone have ldpi one please post.looks cool
bhupatib said:
Well I did a lot of layout changes (xml editing) and made a bunch custom resources (normal and .9.pngs). I encourage you to decompile my file and compare the changes.
You can also send me the ldpi version and I will include it
Click to expand...
Click to collapse
I will upload it now. wait a minute.
PS: can I just resize the normal and .9.pngs? just that? sorry I don't have the tallent for editing =')
__________________________________________
Here I attach the Phone.apk From CM7 and even CM9 and CM10 phone.apk for 9.png resources.
HAHAHA Phon(CM9) sorry
Mdpi Phone.apk
Hey man as you asked i have uploaded mdpi Phone.apk from the cm7 official 2011-25-11 date. Thanks
View attachment Phone.apk
zvdelossantos said:
I will upload it now. wait a minute.
PS: can I just resize the normal and .9.pngs? just that? sorry I don't have the tallent for editing
Click to expand...
Click to collapse
Well .9 format is a bit tricky than your normal png. Read this nice tutorial to get started:
http://db.tt/rIrtdmB5
But you still have to learn Photoshop/Gimp
I'll update LDPI/MDPI support with your files.
UPDATE 24 Dec 2012
--> Added MDPI/LDPI support
bhupatib said:
UPDATE 24 Dec 2012
--> Added MDPI/LDPI support
Click to expand...
Click to collapse
Any separate download links for MDPI ?
Or is that file in the download link working for all HDPI , MDPI and LDPI ?
^ HDPI/MDPI/LDPI all use the same file
Download link is in OP.
bhupatib said:
UPDATE 24 Dec 2012
--> Added MDPI/LDPI support
Click to expand...
Click to collapse
I was stressed for two days figuring how can I make this on LDPI. and yet Here you are. A very good Christmas Gift. Thank you bhupatib!
installlation aborted. i m on ldpi. wat to do?
Sent from my GT-S5670 using xda app-developers app
cosmickamal said:
installlation aborted. i m on ldpi. wat to do?
Sent from my GT-S5670 using xda app-developers app
Click to expand...
Click to collapse
replace the META-INF files with META-INF files from working Flashable zip on your phone.
But I advice you not to flash this yet. Because of Graphic Orientation problem. will post a screenshot after this.
cant i install it by extracting phone.apk than placing it in system/app folder. or can i use meta-inf if any other flashable zip???
Sent from my GT-S5670 using xda app-developers app
cosmickamal said:
installlation aborted. i m on ldpi. wat to do?
Sent from my GT-S5670 using xda app-developers app
Click to expand...
Click to collapse
Or push it via root explorer to system/app...set permissions to rw-r-r...
It contains only phone.apk so...
Sent from my GT-S5670 using xda premium
Crytech007 said:
Or push it via root explorer to system/app...set permissions to rw-r-r...
It contains only phone.apk so...
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You can't push Phone.apk that way. you'll have an infinite prompt of Phone.apk stop responding. Force Close. then after tapping the force close. It will come back.
It is just a flashable zip. yet Don't flash it for now. Let bhupatib work for something about. I'm gonna post a screen shot from an LDPI device.
bhupatib my friend, Nice work. but something is not just right. look at this
the buttons are not placed properly. this is taken from Xperia X10 Mini Pro(u20i)
and LDPI device running CM7.2
did you work this with the phone.apk that I sent you?
Gave me fc but i had another flashable phone.apk. saved me. lets wait for op to update it. anyway thanks a lot Dev.
Sent from my GT-S5670 using xda app-developers app

[GUIDE4EVERYONE] Auto APK tool

Hi guys,
I see there is no noob-friendly tut for APK tool in our forum..So people like me get bored to read the commands...Here is one to make you familiar with a new tool AUTO APK TOOL (Its old but I don't see anyone using it)....
Its automated version of APK tool which makes your work very easy and No knowlege of Codes to decompile and cmd Commands are necessary.......
​
Well So here We start....
Code:
Pre-Requirements:
A PC :p
Auto ApkTool
Java JDK/JRE 32 bit
So here we get started...Get Auto apk tool from the link posted above by me...
Extract the package and copy it to Root of C drive like THIS:
{
"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"
}
Then copy your APK files to Auto apk tool>>Input_APK....
Now in the Auto apk tool folder open the Autoapktoolmain batch file...You don't need to open cmd and give commands:victory:...
There just take a look that all the options are automated for you right from ADB/Decompile-Recompile to FW dependencies....
Now press 6 i.e. option to Decompile...
You don't need to give commands Just drag the apk from Input_apk folder to cmd...No commands here too ...
Now you can see The decompiled apk in input_apk folder...MOD it as you want:good:....
After Done Just open cmd again...Press 7 to recompile...The recompiled APK is generated in decompiled folder inside a new folder called dist...
Now you can see your app...If its system app don't sign it otherwise let the RE-compiled app remain as it is and Select "Sign APK or ZIP' in cmd...The signed apk is generated in the same dist folder...:good:
​
I hope its really easy for anyone ....Any problems let me know...
CREDITS:
XDA
Maker of Auto APK tool
Me
​
Really nice work sir.. glad to see you sharing your expirence..
Great guide Sir,but i've got a problem re-compiling the APK's,i already installed java and i"m running on windows 7 32bit..
Here's My Log:
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement...
Exception in thread "main" brut.androlib.AndrolibException:
brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput
(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
The system cannot find the drive specified.
i wonder what might be the problem..waiting for your reply sir..Thanks in advance!
vampent0026 said:
Great guide Sir,but i've got a problem re-compiling the APK's,i already installed java and i"m running on windows 7 32bit..
Here's My Log:
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement...
Exception in thread "main" brut.androlib.AndrolibException:
brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput
(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
The system cannot find the drive specified.
i wonder what might be the problem..waiting for your reply sir..Thanks in advance!
Click to expand...
Click to collapse
afaik apktool.yml file in decompiled folder is missing...Cause its written reason in log as u can see in this line :
Code:
Caused by: brut.directory.PathNotExist: apktool.yml
Crytech007 said:
afaik apktool.yml file in decompiled folder is missing...Cause its written reason in log as u can see in this line :
Code:
Caused by: brut.directory.PathNotExist: apktool.yml
Click to expand...
Click to collapse
So,what can you suggest to do?
vampent0026 said:
So,what can you suggest to do?
Click to expand...
Click to collapse
it seems you are trying to decompile system app file!
For that you will have to install framework-res.apk from your phone
Sent from my C2104 using Tapatalk
Crytech said:
]http://img600.imageshack.us/img600/7369/79244769.png[/IMG]
Click to expand...
Click to collapse
links nt working .. ;(
anu.cool said:
links nt working .. ;(
Click to expand...
Click to collapse
Ya images are broken will fix
Sent from my C2104 using Tapatalk
hi when i enter the AUTOApkToolMain i get message saying jave not found i wil not be able to sign apks, but i installed java. on my computer i have in program files folder called java with "jdk-7u51-windows-i586" inside along with 2 folders "jdk1.7.0_51" and "jre7" does anyone know whats wrong,
i have-
win xp
service pack 3 build 2600
x86based pc
32bit
@Crytech - Im using Ubuntu 12.04.. Can you suggest a similar tool for linux??
markb323 said:
hi when i enter the AUTOApkToolMain i get message saying jave not found i wil not be able to sign apks, but i installed java. on my computer i have in program files folder called java with "jdk-7u51-windows-i586" inside along with 2 folders "jdk1.7.0_51" and "jre7" does anyone know whats wrong,
i have-
win xp
service pack 3 build 2600
x86based pc
32bit
Click to expand...
Click to collapse
http://www.robertsindall.co.uk/blog/setting-java-home-variable-in-windows/
Dhanesh95 said:
@Crytech - Im using Ubuntu 12.04.. Can you suggest a similar tool for linux??
Click to expand...
Click to collapse
Tried running on wine?
It should work with no problems imo
Harpratap said:
http://www.robertsindall.co.uk/blog/setting-java-home-variable-in-windows/
Tried running on wine?
It should work with no problems imo
Click to expand...
Click to collapse
I tried running it using wine... It wont work..

[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

Categories

Resources