[TOOL][LINUX] AD Tools: apktool, signapk and smali/baksmali v1.0.0 [08 May 2016] - Android

AD Tools - Linux
Android Development Tools for Linux
{
"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"
}
Well, I just found my self needing a tool for Linux wich could help me to decompile/recompile my files (apks, dex, jars... etc) so I looked for it but had no luck. Then I said: Ok, if I need it then I'm going to do it! I has been REALLY usefull to me, I hope it can also be usefull to all of you.
Introduction
AD Tools is a very simple but usefull tool to help you with everything related to apks, dex or jars modifications. It includes every function needed: decompiling, compiling, signing... etc.​
Usage
Here are some simple instructions to correctly use AD Tools:
Open AD Tools folder in Terminal and execute the 'ADTools' script.
To execute a script in terminal run this command:
Code:
./script
In our case it would be:
Code:
./ADTools
If you can't execute 'ADTools' file run this command and try again.
Code:
chmod +x ADTools
Take into account AD Tools always uses 'builded', 'decompiled', 'input' and 'signed' folders. Avoid creating more folders to do not get confused.
'input' folder to place the files wich are going to be used. Eg: an apk to be decompiled or classes.dex to be baksmalied.
All decompiled/baksmalied files are found in 'decompiled' folder.
Every builded/recomiled/smalied folder is found in 'builded' folder.
Features
Apktool
Signapk
Smali
Baksmali
Autoscanning files to avoid writting file names
Downloads
AD Tools v1.0.0
Older versions:
AD Tools - AndroidFileHost
Credits
@SuperR. I used his ROM Kitchen script as reference for AD Tools​
XDA:DevDB Information
AD Tools, Tool/Utility for the Chef Central
Contributors
sebastiandg7
Version Information
Status: Beta
Created 2016-05-09
Last Updated 2016-05-09

FAQ and TIPS
PD: I want to hear you about bugs, function requests, improvements you may like... etc. The idea is to have a tool for users made by users. Hope you enjoy it.

nice tool thanks a lot , so far working good
#suggestions
1. adding work spaces and the ability to switch between them

Related

[TUTORIAL] How to Decompile and Recompile ICS .Apk Files][Easy ONE]

This is an Easy Tutorial, How to Decompile .apk and Recompile .apk Files​If u like this Tutorial, Hit THANKS Button​CREDITS
Memnoc - For Gud Ideas.
Xavierjohn22 - the amazing author of AutoApktool go Here, Hit thanks to Him Too.
Sandy7-For Motivation.
Requirements
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS)
HOW TO DO
NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version
1) Download and simply unpack Auto_ApkTool
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 EDIT, in "_INPUT_APK"
4) Nw u Should Choose "option 6" for 'decompiling .apk
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, smali, or png, WHATEVER)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, u will Get a Dcompiled NOTE window that Shows your apk is sucessfully Compiled, Close that Window, Once open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) NOW this is the Last step, since u cannot Sign System app, u will have to Copy the META-INF foldrer frm the Orginal apk to the edited apk, for more Info See the "Screen"
11) Rename the apk if Needed, and push it.
Reserved for tutorial on editing, decompiling/recompiling .jar files :thumbup:
For video tutorial!:thumbup:
FAQ's​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

[Beta] AWToolkit - All in one tool for Android Wear (support Mac/Windows/...)

{
"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"
}
So, this is my new project so far. I'm trying to build a tool to help all Android Wear devices with simple tasks. At the moment, this is the initial release and I'll keep it updated.
What's inside the package?
Java Application: you can run it from any platform, Windows, Mac, Linux,...
A folder called "lib" including adb,fastboot for Windows & Mac. If using Linux, you need to find your own adb and put it under "Other" folder
I'm looking forward for your feedback and suggestion. Thanks!
K thanks for this tool we want simple tool for control android touch if the touchpad is broken or damaged...
sureshsoori1 said:
K thanks for this tool we want simple tool for control android touch if the touchpad is broken or damaged...
Click to expand...
Click to collapse
Any features suggestion will be welcome I'll take more times for the next release:
Threading: not blocking main UI anymore
More fastboot & recovery functions
How about a one click unlock bootloader/root watch!? :good:
So, this is my new project so far. I'm trying to build a tool to help all Android Wear devices with simple tasks. At the moment, this is the initial release and I'll keep it updated.
What's inside the package?
Java Application: you can run it from any platform, Windows, Mac, Linux,...
A folder called "lib" including adb,fastboot for Windows & Mac. If using Linux, you need to find your own adb and put it under "Other" folder
I'm looking forward for your feedback and suggestion. Thanks![/QUOTE]
very good thank you
thank u
thank u pro......................
Hi tdiddy.2, i'm trying to enable adb over wifi on android wear. I have managed to make it work, but theres a lot of steps because you need to connect over bluetooth first. I know thats probably a way to enable adb over wifi direct over adb shell, but i dont know how to use adb shell well. Maybe you want to contribute? Thanks in advance.
Heres the link

Android Wear apps to work with Android Read with APK Easy Tool

I guess a lot are aware of the thread http://roundandroidwatches.pr which shows how to port Android Wear apps to Android in order to run them on the Amazfit pace watch. The above mentioned threads describes the principle solution on a mobile with the help of an App "APK Editor" which works only with the paid version.
Therefore I was looking for a free and easy GUI controlled solution running on WIndows which serves the same issue which I found with "APK Easy Tool v.1.41".
1) you have to ensure that JDK and JAVA are refences by your Windows PATH variable and that they run on the same version. I am using java build 1.80.. and javac build 1.8.0....
2) You install APK Easy Tool v.1.41
after start-up you need to do the following setting for APK signing:
https://ibb.co/he7Gmb
{
"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) Select the downloaded APK, decompile it and modify open the APK directory
https://ibb.co/hdXcsG
4) Open the "Decompiled APK directory", step on the first level of app and open the *Manifest.xml file in a XML editor (e.g. Notepad++) and modify the data according to http://roundandroidwatches.pr
change min sdk version to, e.g.:
Code:
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="24" />
change screen resolution to:
Code:
<application android:theme="@android:style/Theme.NoTitleBar.Fullscreen" ...
remove if available hardware line, e.g. :
Code:
<uses-feature android:name"android.hardware.type.watch" />
5) Click the Compile button the APP get assigned too
6) Transfer it to the watch. I used Apk Installer 3.5 on Windows to do do on a rounded up GUI solution (of course one can use ADB shell too)
PS: I have tried this with Invaders Android Wear APP and the entire process worked with any issues and the App is running perfectly on the watch.
i will give it a try later today
Here you can find some Wear Apps which have been already converted and can be used on Amazfit.
http://amazfitcentral.com/2017/08/31/free-apps-amazfit-pace/
In addition I ported a flashlight App too. It worked but the light is not very bright: https://www.apkmirror.com/apk/googl...elease/flashlight-7-1-1-android-apk-download/

Extract content from android backup

Hello everyone...
I find the phone with the non-working tuch ..
From the recoveri mode I managed to make a complete backup of the phone on sd and generated these 3 files:
userdata_20160101_000035.backup
userdata_20160101_000035.backup1
userdata_20160101_000035.backup2
is there a possibility to extract the content ???
I would be interested in contacts.
I state the phone is a Majestic
Thank you.
recovering contacts is not easy. you need SQLite Forensic Explorer to view the database file. the database is separated in many different tables, each table has a column "raw_contact_id" which contain always the unique id-no of contacts (one table contains phone nos, another table contains names, etc... you must query tables by id).
once you have extracted the backup, the file "contacts.db" is located "/data/data/com.android.providers.contacts/databases/"
from the backup I made, how do I extract the contacts.db file ??
remove the checksum(s) and merge the files. you need linux
don't be scared, i will explain you step by step. first step: do you have linux? if yes, press CTRL + ALT + T this is the terminal where you can do it. if no, please download unetbootin and prepare a bootable usb stick. you can run ubuntu on your pc without installing. don't hesitate to ask if you need help regarding unetbootin
scacco728 said:
finally I was able to understand something of the terminal in place ..
I move to the folder where the files are, I open the terminal I enter the commands and I generate this error .. why do you think ???
{
"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"
}
Click to expand...
Click to collapse
"dd" does not accept wildcards. press <TAB> instead of * for word completion. you must type the full file name. remove the stars in this example code.
edit: i will answer in this thread, because this are linux basics. so lets open a "beginner" thread here, and leave the other thread open for more advanced questions. finally, your goal is to extract contacts, what we should not discuss in main thread

Development WSA Sideloader - Easily sideload APKs on Windows Subsystem for Android

Hi everyone,
I am here to share with you my attempt at making an APK installer for Windows Subsystem for Android, WSA Sideloader. This has been an open source project I had been working on for over 2 months now, with the first version released around the same time as the WSA public preview.
Like the name suggests, it features a user friendly interface allowing anyone to easily sideload APK files onto the subsystem, without typing any commands. Since the launch of version 1.0 back in February, I have continued to update the app with new features and bug fixes. Recently I have launched version 1.2, which includes an updated look and feel, APK permission viewer and WSA autostart.
But my work is not over yet. .apk file association is coming soon, so you can double click to install from File Explorer. I also have plans to launch an ARM64 build of WSA Sideloader, for devices running the ARM version of Windows 11. A test ARM64 build is currently available for version 1.1.10.
{
"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"
}
This is my first big open source project, and I plan to support it for a long time to come. It is also available to download from the Microsoft Store!
GitHub: https://github.com/infinitepower18/WSA-Sideloader
Microsoft Store: https://www.microsoft.com/store/apps/9NMFSJB25QJR
Instructions, known issues and FAQs can all be found in the GitHub readme.
It would be greatly appreciated if you could try it out and leave feedback and any bug reports, so I can work on improving the program even further
Happy to announce that .apk file association is now available in version 1.3. The application now integrates with File Explorer, web browsers and other supported programs enabling (double) click to install functionality.
The update is now available to download from Microsoft Store as well as GitHub Releases.

Categories

Resources