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.
Related
Hey, for everyone who doesn't venture outside of the hero forum.
Daneshm90 has put together an Apk Manager which allows for a lot of easy apk editing on the fly.
I'll let him explain it.
Daneshm90 said:
So i have written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand
Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.
This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step
Thanks:
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Goes to farmatito for porting this script to linux
Features:
- Extract, Zip apk's.
- Optimize pngs (ignores .9.pngs)
- Zipalign apks
- Sign apks
- Push to specific location on phone
- Incorporates brut.all's apktool
- Pull apk from phone into modding environment.
- Batch optimize apk
- Quick sign an apk
- Batch Ogg optimization
{
"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
Get it HERE
Support for Linux and Windows!
sweet find. im gonna check it out right now
been running it for a day or so. It's good.
so far so good!
Hi everyone,this is not my work im just sharing...
Alokbina and abcdjdj have created a tool which allows users to very easily deodex apks from a rom. This tool is very useful for Rom developers too. For now only windows is supported but we will try our best to make the same tool for linux too and make the tool as user friendly as possible. And, please don't forget to thank alokbina too.
Requirements:-
--->Java installed on your PC
--->system/framework folder from your rom
--->apks from that SAME ROM with the respective .odex file
--->Patience and a calm head (common sense included)
Instructions:-
1. Download the zip file and extract it.
2. You will get a folder called as "Deodex_V2"
3. Open it and it will look 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"
}
4.Now copy your framework files in this "Deodex_V2" folder. It will look somewhat like this -
5. Now place your apks along with their respective odex files in the folder called as "apks". [PLACE AS MANY APKS AS YOU WANT!!]
6. Run Main.bat. It will look like this -
7. Choose "Deodex All apks". The process will start and many windows will appear and disappear like this -
8. Collect your deodexed apks from the "deodexed" folder. Original apks will be in the "apks" folder
9. If you want to remove the framework files which you had copied in the "Deodex_V2" folder earlier, run Main.bat and select the clear framework option.
10. You can view the logs in the "working" folder if you wish to.
Enjoy and press the thanks button.
:good: :good:
ORIGNAL THREAD AND DOWNLOAD LINKS
http://forum.xda-developers.com/showthread.php?t=2213235
CREDITS
Alokbina
abcdjdj
This will revolute all ROM's...
Did you get permission to duplicate the original thread.
It's really good tool. Thanks
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
Good morning ladies and gentlemen after a long month of exams i back with an awesome tutorial [how to change Hover icon]
first of all i will assume that you know how to recompile and decompile - if not look for tutorial "how to use apk kitchen "
note : before anything take a backup you know stuff happens
1- you will need to extract framework-res.apk from (System/framework) from your own Rom
2- do some decompile magic
3- then navigate to (res/ drawable-xhdpi) in output file "will be various depend on the kitchen you use "
4 copy these files "which in picture " to another empty file to work freely
{
"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"
}
5- now we are talking :
every file have an icon which appears in different places eg. (tw_pointer_spot_hovering_spen_cursor_dark.png appears when you hovering pen on a text
and so on
- tw_pointer_scroll_hovering_spen_pointer01_dark.png is for scrolling up with the pen
and here a picture to sum up the hovers :
6- use any image editor ( i prefer Photoshop )
7- open the icon that you like to change with PS
8- then edit or change it with one you like and save it with ".png" extension
9- say yes to replace the modified file with the new one
10- then put the file that you had changed to ( output file /res/ drawable-xhdpi )
11- finally recompile
12- push it to (System/framework) on your phone or ROM and change permission to rw-r-r
-- or -- use majdinji temple zip
and have fun
--------------------------------------------------------------------------
example :
before :
after :
thanks bro
easy to do^^
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.