[Tool] Nocturnal Automated APK tool 1-18-2015 - Android Software Development

I have created this tool a few years ago but kept it for internal use. Now i am releasing it for public use.
This is a very easy apk tool
Instructions:
Make sure you have Java JDK installed and Path set
Download the latest Nocturnal_apk_toolkit.zip
Extract the zip
place the framework-res.apk from the rom you are working with in the apktool folder
drag the framework-res.apk into the apktool-if -2.0.0rc3
next drag the apk you want to edit to the apktool-d -2.0.0rc3
you can edit the apk in the newly created folder
once finished, drag the edited folder into the apktool-b -2.0.0rc3
Once compiled, resign and enjoy!
{
"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"
}
XDA:DevDB Information
[Tool] Nocturnal Automated APK tool 1-18-2015, Tool/Utility for all devices (see above for details)
Contributors
XsMagical

Awesome, I'll try it out as soon as I get the chance. I've been having issues to my current APK Tool in recompiling lollipop aosp system apps after making modifications. Hopefully this fixes my issue.
Sent from my Nexus 5 using xda premium

XsMagical said:
I have created this tool a few years ago but kept it for internal use. Now i am releasing it for public use.
This is a very easy apk tool
Instructions:
Make sure you have Java JDK installed and Path set
Download the latest Nocturnal_apk_toolkit.zip
Extract the zip
place the framework-res.apk from the rom you are working with in the apktool folder
drag the framework-res.apk into the apktool-if -2.0.0rc3
next drag the apk you want to edit to the apktool-d -2.0.0rc3
you can edit the apk in the newly created folder
once finished, drag the edited folder into the apktool-b -2.0.0rc3
Once compiled, resign and enjoy!
XDA:DevDB Information
[Tool] Nocturnal Automated APK tool 1-18-2015, Tool/Utility for all devices (see above for details)
Contributors
XsMagical
Click to expand...
Click to collapse
lick download error Nocturnal_apk_toolkit.zip upload lick https://mega.nz thanks for Nocturnal_apk_toolkit.zip

Related

[SCRIPT] APK Manager like UI interface to edit m10 files

Based on apk manager script I have created a script which gives ease to modify m10 files. Copy script.bat into folder where m10tools binaries exist (at location where m10decoder.exe, m10encoder.exe, etc...).
{
"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"
}
Download Script File Here
Installation:
1. Create folders Decoded, Encoded and m10_files at location where m10tool binaries are placed.
2. Copy script.bat at location where m10tool binaries are placed.
How to use
1. Place you m10 files in m10_files folder.
2. Select desired operation as shown in screen shot.
Change Logs
Code:
[B]Version 1.0[/B]
Initial release
Let me know if anyone needs any help on this
Hmmm... We need something like this impleted in apkmanager... Looks great amresh!
worked like a charm, thanks a ton amresh
Man thats great thanx!
Senergized in 3D
Can't believe I haven't thanked you yet. I've been using this for about a month now, and one thing everyone should know, is this tool has an extra advantage. Contrary to the m10 Editor UI Application, this script uses straight command line which makes all of your sense 3.0 m10 images decode with the same file name every time, where as the UI will give you random file names every time. And this is way simpler
Amresh, This was an ingenious idea and I can't thank you enough!
mpitcher225 said:
Can't believe I haven't thanked you yet. I've been using this for about a month now, and one thing everyone should know, is this tool has an extra advantage. Contrary to the m10 Editor UI Application, this script uses straight command line which makes all of your sense 3.0 m10 images decode with the same file name every time, where as the UI will give you random file names every time. And this is way simpler
Amresh, This was an ingenious idea and I can't thank you enough!
Click to expand...
Click to collapse
Has this program been optimized to work with sense 3..5?
Sent from my A500 using xda premium
i tried to modify the htc love apk. m10 files, but the thing is when i separate the dat and png files the folders are empty...plz help if u can..
sweet, thanks, will give it a shot

[TOOL] Zipster Tool - Extract, Compress and sign.

{
"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"
}
Hi guys, I've made a batch command program to Archive and Extract files to zips. Why would you use this? Well, back at the time where I was porting backwards and forwards, I worked in a certain folder, then I just have to click on my batch command and it automatically get's zipped.
How does it work:
Extracting: Place your zip in /EXTRACT/INPUT and your file will be extracted to /EXTRACT/OUT
Compressing: Place your zip in /COMPRESS/INPUT and your file will be compressed in the folder /COMPRESS/OUT
Signing: After you Compressed your files, you just select sign and it will be named " updated-signed "
Note:- At the moment the tool and it's folders need to be ran from the desktop!
Ui:
It's a very basic command prompt.
What I'm working on:
I am going to add the following features:
The ability to Root and Unroot Ace
The ability to Odex and Deodex Ace
The ability to Add scripts to Ace.
The ability to be ran from anywhere not just the Desktop.
Installer and windows Ui.
ADB Tools
Sign Apk's
This shall later on be renamed to something like : The Ace All-In-One tool.
------------------------------------------------------------------------------------------------
Translations:
Porteguese:
Translated and modded by Danilo_Pascal
Download Zipster Porteguese
------------------------------------------------------------------------------------------------
Have fun!
Thanks to my dad for helping me with Windows Scripting and Programming, lolz.
Changelog:
27/03/13
Initial release.
28/03/13:
Added capability to sign zip files.
Changed name to: Zipster Tool
Can i use this with wine in linux ?
Mm7 said:
Can i use this with wine in linux ?
Click to expand...
Click to collapse
Yes.
useful for porting roms..nice idea..thanks and subscribed
The Alchemist said:
useful for porting roms..nice idea..thanks and subscribed
Click to expand...
Click to collapse
Thanks!
Updated the thread, renamed and added the ability to sign. I am thinking of making a Galaxy Ace only tool that can Root and everything in one, and perhaps a universal one like this one is at the moment.
PulseDroid said:
Thanks!
Updated the thread, renamed and added the ability to sign. I am thinking of making a Galaxy Ace only tool that can Root and everything in one, and perhaps a universal one like this one is at the moment.
Click to expand...
Click to collapse
Something like nexus phones have?
root toolkit
Sent from Ace on JB (4.2.2)
n0p3zz said:
Something like nexus phones have?
root toolkit
Sent from Ace on JB (4.2.2)
Click to expand...
Click to collapse
Yep.
Hey PD.. I cant sign my update.zip
when I try to sign the update.zip it show the line like this >> 'java' is not recognized as an internal or external command, operable program or batch file.
look at the attachment. can you help me with this, please :angel:
isafarady said:
Hey PD.. I cant sign my update.zip
when I try to sign the update.zip it show the line like this >> 'java' is not recognized as an internal or external command, operable program or batch file.
look at the attachment. can you help me with this, please :angel:
Click to expand...
Click to collapse
Need to download the Java Development package (JRE)
Translation added.
delete, Problem solved

[Porting Tool] MIUI APKTool

{
"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"
}
Overview
This is a more than full-featured APKTool GUI, It has a few options for porting which I'll explain in great detail but for now I'd like to say despite the minimalistic look which will stay lite forever, it does do a lot for efficiency and can be used for things other than MIUI, but is made especially for MIUI.
Notepad++
This deals with edits that need to be made with Notepad++ in general; It will open the selected file from WIP as well as the one from the Rom being ported for easy comparison.
Kernel Options
Pretty Simple, Executing the 'Unpack Boot.Img' Command will automatically split your Ramdisk; which can be found in root\boot, Repack puts everything back together and inserts Boot.img back into your WIP Rom folder.
Backup Options
Use this to make a backup of the current WIP Rom files; any backup files stay present until manually overwritten; saving time since the boot.img and updater-script can be used for any MIUI build generally.
Target
When a Workspace is generated, all APK and JARs will be placed into respective folders for easy access, tick 'Base' to work with your base rom APK and JARs and tick Port to work with your Port rom components
Download: MIUI APKTool 0.10
Handbook and source / Original post
Misc. Notes
This can be compiled If you have AHK installed easily by just pasting the code into a new AHK file.
Are you a fans of MIUI?
ImaxAndroid said:
Are you a fans of MIUI?
Click to expand...
Click to collapse
Huge fan, I'm also a member of the porting team at en.miui.com ;x
Bump, I have recoded this and it is less complex in general, using only variables to keep track of its own settings.
Aapt should be kept in the same directory and folder settings are no longer persistent for the sake of simplicity; however rotating folders are still possible and it works the same as before
I added porting options lol
Bump, I've added more to this and removed the need to have to set folders before each use; Ramdisk stuff has been streamlined to be more 'in the background' and the option to backup Build.prop, Updater-Script and boot.img have been added as well.
The Backup options apply to things inside 'WIP' and when using the Load option, it inserts backup content into WIP. This takes a lot of pain away from multiple ports or multiple attempts when trying to find the right base as far as Updater-Script and Boot.img go.
Lastly the Workspace Generator has been updated to mirror the new dependancies that have appear in MIUI 3.9, this should now support all MIUI JB versions 3.9 and under
Lastly the GUI is less clunky and less obnoxious to use, and faster in general
any tutorial on how to use this?
Will try

[TUTORIAL] How to integrate a custom recovery into your custom ROM

XDA PORTAL
Click to expand...
Click to collapse
Hello everyone
In this tutorial i will show you how to integrate the recovery into a custom rom.
This way users will not have to install it separately
{
"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"
}
​
REQUIREMENTS:
You must know how to build a custom rom using Android Kitchen.
You must know how to edit an updater-script using Notepad++.
The WORKING folder of your rom (the one you get from the android kitchen when you extract system.img or zip folder or system.tar).
The recovery's flashable zip.
For this tutorial i am gonna use the PhilZ Touch CWM as example but this method is universal for all recoveries.
So, let's start:
1. Create in the kitchen's WORKING folder, a new folder and name it system2 (in your case working folder's name is gonna be different).
2. Extact the recovery's system folder contents into the system2 folder (the one previously created).
3. From the recovery's META-INF folder open, using Notepad++, the updater-script.
In my case looks like this:
4. Before proceeding, let me explain what is going on with the following lines:
package_extract_file("system/bin/recovery.tar", "/system/bin/recovery.tar");
package_extract_file("system/bin/taimport", "/system/bin/taimport");
package_extract_file("system/bin/taimportx", "/system/bin/taimportx");
package_extract_dir("system/btmgr", "/system/btmgr");
----- package_extract_dir(” “, “/”) – This command extracts all the files from the folder mentioned inside first quotation to the directory inside second quotation. -----
So since you created a new folder named system2, the above lines should be edited and look like this:
package_extract_file("system2/bin/recovery.tar", "/system/bin/recovery.tar");
package_extract_file("system2/bin/taimport", "/system/bin/taimport");
package_extract_file("system2/bin/taimportx", "/system/bin/taimportx");
package_extract_dir("system2/btmgr", "/system/btmgr");
5. Now open, using Notepad++, the updater-script for your rom.
6. Now copy the edited lines from the recovery's updater-script into the updater-script of your rom (add them at the bottom). Remove the show_progress lines. Now save the file.
7. Now you can build your rom and enjoy the integrated recovery!
8. Happy rom building
reserved
Too good
So you are back with your pc i guess
Awesome! Definitely looks much, much better than the "ms-dos" clone I see in my device
Bro @DaRk-L0rD
Very nice and very clear explained, specially for new ones :good:
Very clever tutorial my friend!! :good:
keep rocking...
Nice guide..
U are featured on portal. Congrats
Sent from my C5303 using XDA Premium 4 mobile app
Congratz bro.your post is on portal.nice job
Great, its work for me! :highfive:

[Solved] [ADB] [Batch] Install Apps over ADB using .bat script by-mBEDed

{
"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"
}
Install apps over ADB
Install apks on any Android device running any Android version over ADB!​
Hi all,
From a long time i was fiddling around with a problem of installing/downloading apps after installing a new ROM.
Thus i came up with an idea of a Batch File to install all of your apks from your system
to your phone in a few tips and taps. Hah! Found my solution .
How does it look?
To see some screenshots, please click below.
Tested on
The script had been tested on Nexus 5x, Nexus 5, Moto G4 but should work on any android device.
Downloads
Google Drive - Here is the link to Drive.
Link Below - You can also find the file below.
Installation instructions
Prerequisites
1. Platform Tools for Windows (ADB),
2. APK files,
3. Target phone connected to PC and
4. A cup of COFFEE or TEA as you like it.
Process
1. Download it from the attachments below or from the drive link above or here.
2. Copy the file to the ADB folder.
3. Execute the file.
4. You can either place your apps in "D:\Apps" folder. (Sllloooowwwww.....)
OR​Change the folder location in batch file itself. (Requires some Coding Skills)
OR​Batch file will ask you to change the location, if required. (Easy Installation, Pick Me!)
Troubleshooting
I don't think it's needed. But even then if you get any problem do write. I'll be happy to resolve it.
Enjoy, and also don't forget to write anything (Good, Bad or Thanks etc.)!
thank you so much if works like a charm!
Been locking for something similar.
Is it possible to take that script to next level, and make it as, a list of apps, and for them to be downloaded on the phone. I mean give order through ADB for each apps step by step, instead of folder, to be downloaded.
how to add online option like google drive folder in to the script

Categories

Resources