[TOOL] mktool unpack repack boot & recovery images - Miscellaneous Android Development

This is a tool I made for unpacking, repacking, and loki patching the android boot and recovery images.
mktool is very simple to use with an interactive menu. No commands needed. You simply place all your images in the input folder and choose from the menu options.
{
"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"
}
To use mktool you simply run the following command in a terminal from the mktool root directory:
Code:
java -jar mktool.jar
You can download mktool from the project's page:
https://techstop.github.io/mktool/
Note:
mktool has been tested on ubuntu & xubuntu
Must have java 8 or higher installed

New update to version 3.0
Hello everyone. Sorry it took so long to update this tool. I took a break from android development for a couple years.
This is a major update to mktool. It is now more universal with the exception of a few obscure devices. It's also more simplified now. You simply place all you're images in the input folder then choose from the menu options. Unpacked images will be in the "extracted" folder and repacked images in the "output" folder.
You can also now check for updates to mktool right from within the menu. I also added a desktop shortcut option for quick access which you can place anywhere, like a folder or a launcher or on your desktop.
I considered removing the loki patch option since that exploit was long patched in android, but I decided to leave it for the folks still having some dev fun with those older devices.
Hope you guys like the update. Happy modding.

New Update! v4.0
Added ramdisk lzma compression detection.
Re-written from bash to java for a proper GUI
Currently this is for linux only. If you'd like to also make it available for Mac and Windows, I've made this open source.

Related

[SCRIPT] Services.jar De/Compiler/Signer

This is a script I created for personal use which will work on a Mac using the Terminal.
Services.jar is responsible for theming your phone, for example how the battery status and notification bar works, and general things such as those.
This script allows you to easily:
1. Create a working directory with all required files included.
2. Allow you to drag and drop the services.jar file you want to modify into the terminal for ease of use.
3. Automatically decompile services.jar into your working directory
4. Open your working directory from the Terminal to allow you to make modifications/changes.
5. Automatically re-compile services.jar after edits have been made.
6. Option to sign services.jar so that it is flash ready for your Desire.
Setting up is no problem,
1. Download the attachment and extract it to your desktop.
2. Open up terminal and cd (change directory) to the folder, eg: cd ~/desktop/services-jar
3. Then simply type: ./menu
This will display the easy-to-use menu for navigation around the script shown below
Screenshot:
{
"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"
}
NOTE: only for mac users.
CURRENTLY WORKING ON:
1. Automatic ripping of services.jar from a signed ROM. COMPLETE
2. De-compiling, editing, re-compiling and automatic signing of .apk files.
All requests are welcome
great hope we get an update for linux users soon.
inkredi said:
great hope we get an update for linux users soon.
Click to expand...
Click to collapse
I'm sure it can be done.
Updated: ability to extract file directly from a zipped ROM.

[TOOL][ALPHA][DEV] APK List

{
"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"
}
What is an APK List?
It's a developers tool. Sometimes I find an app which design I really like but have no idea how it is done. Besides that most of the time my phone isn't rooted (or I'm using some other phone). With all unpack/decompile tools out there the only thing I need is a way to copy APK files from phone memory to SD card for later analysis. Well this tool is just that, it lists all installed apps on any phone and let's you copy all or selected APKs to SD card. Currently there are no settings so destination defaults to "Apks".
Where can I get this app?
Download APK here
Or grab source from https://bitbucket.org/grupatnt/apklist/overview and compile with MonoDevelop or VS2010 (Mono for Android 4.x)
What can I do to help?
Fork hg repository, make fantastic changes and add Pull request.
I've found a bug! What do I do?
Keep calm and report it! You can report it either on this thread or on project Issues tracking register. Bug reports will be taken seriously and fixed when I have the time.
Thanks to _Logie from whom I've copied format for this post
Kudos to Android SDK and Intel teams for releasing VM Accelerated x86 Emulator.
Version 0.0.2 Released
Get it here
Changes
Cancelable progress dialog
Fixed APK Icon sizes
Beautified progress dialogs
Replaced ApkListAdapter with generic FastListAdapter
Mono for Android developers
Take a look at FastListAdapter and ViewHolderBase which implement View Holder pattern in generic way. You only need to implement abstract ViewHolderBase, instantiate new FastListAdapter and assign it to ListView Adapter. You can find example implementation in ApkViewHolder, easy

[TOOL][PC][07/05/13]APK Installer v1.01

Hi dear XDA users. This is my first work for android. I made a simple apk installer for my own use and wanted to share everyone. This app is based on standart batch executables, visual basic and mortscript scripts
and combined neccesary adb tools.
With this program you can transfer apk files from your Windows PC to your phones data/app or system/app
folders. For affecting changes, I added reboot option after installition. It has ui completly so you won't
write codes on cmd screen or anything else. Only working mouse is enough
! It uses adb interface for communicating with phone. So you MUST INSTALL ADB DRIVERS on your PC.
! You MUST ENABLE ADB DEBUGING from your phone.
! For system/app installitions, you MUST HAVE ROOT PERMISSIONS in all phone models
! In HTC devices, nand protection must be removed (S-OFF)
! I strongly recommend to SELECT REBOOT option after installition.
For developers, this project is open-source. You can edit/modify it freely. But don't forget to credit
me in your work This app based windows bat, vbs and basic mortrun script files. So you can open this exe
file via an unrar app and modify via notepad.
For users, if you have suggestions or issues with it, feel free and write here
Code:
CHANGELOGS:
-1.01
*Initial realase
{
"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"
}
Good.if i ever buy Motorola again this will be useful

[MOD/PATCH] ZERG INIT - Universal init.d Patcher.

ZERG INIT​ZERG INIT - Universal init.d Patcher.​
{
"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"
}
Basically init.d is folder contains some scripts those can automatically executed at boot time.
This system is a Linux Kernel’s feature.
But there are many stock ROMs are comes without init.d feature. These ROM's kernel hasn't init.d support. I also face this problem.
We could found many tweaks, Mods in XDA or outside that requires init.d.
So I was decided to write a program that could patch init.d. with some alternative methods.​
Features due to version 0.1:
1. You can execute scripts with any name.
2. You do not need to keep “00” like numbers before scripts name.
3. You can keep extension like “.sh” after scripts name.
4. Faster execution.
5. More powerful patch.
6. init.d related scripts file/folders auto permission fixing.
7. Full compatible with SuperSU flashable zip update (after or before).
How to:​
1. Download all the files in attachments
2. Install Terminal Emulator
3. Install BusyBox
4. Unpack "zerginit_v0.1_ansaryx.zip"
5. Keep the binary file to your sdcard
6. Open Terminal Emulator
7. Type​
8. See the on screen statuses
9. Now Reboot your device
10. Check log file in "/data/AlienoidMod/logs/init.d_status.log" if init.d working or not.​
Comment and let me know how you feel about this... Please give me a thanks ​

Build Prop Tweaker [Huge UPDATE][Toolkit]

Hey guys I am back with another Program, this one is very little and quite good enough to use I though, Its our faithful build prop tweaker. Which can actually edits build prop + add all over above 15 useful tweaks. Check that out.
{
"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"
}
Have a Look at HERE
How to Use it?
Very simple, download this little tool and place it any where on your pc and Open it. Connect your Phone to Pc and make sure ADB drivers are installed so that "adb device" will list your device. Once done, go to Edit> Pull file from Device,, this will pull your phone's build prop to the textbox and then you can start tweaking. For placing it again back to system go to Edit > Push to Device or you can create a recovery flashable zip too...!!!!
Features
*Small in size (1.7mb)
*Gui Interface
*Automatically detects if your device is connected
*Automatically detects su i.e if your phone is rooted
*Pull your Phone's build prop as current project
*Export your build prop or copy it to /system
*Make a Recovery flashable build prop (no signing zip)
*Over 20 delicious tweaks (check that out)
*All others, check that out
Requriements
*Adb drivers
*Net Framework greater than 4.5.1
*A little 2 mb space on PC
Credits
Android Lib .Net Library (here)
Tweak Post here
All Views Downloads And Source HERE :
Want Updates, Request a Feature Or Any Support Contact Me HERE
download link is dead
I found new URL by google.
sorry.

Categories

Resources