[TOOL][AIO] StudioAndroid # Automize everything! [GUI] - Optimus One, P500 Original Android Development

{
"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"
}
vlt96 said:
You shouldn't try it out when you have free time, it will give you free time
Click to expand...
Click to collapse
If you like my work, please consider a little donation:
Features
FEATURES LIST​Image
Install Image Tools: Install ImageMagick and/or PIL to use my Image Tools
Convert Image: Convert any image in given directory to given extension
Resize: Batch-resizes files found in given directory with given percent or given DPIs, or resizes an APK with given DPIs
Batch Theme: Applies a theme overlay (caclulated with luminosity values) to all images found in a given directory (e.g. THEME!)
Batch Rename: Batch renames all files found in a directory with a given pattern, and renames them to given out (for porting Themes)
CopyFrom: Copies images present in directory 1 FROM directory 2 (if present in dir 2) - for themers!
OptimizeImage: Optimizes Image, so that size will be smaller
Development
Prepare Building: Installs necessary build tools
Build from Source: Builds one from many sources and even choose a device (if available)
Add Governor: Add a governor to a kernel
Install Android SDK
Install Java JDK
APK
(De)Compile
Extract/Repackage APK
Sign APK with different keys
Zipalign APK
Install APK
Optimize Images INSIDE APK
Advanced
(Bak)Smali: Lets you edit the code inside classes.dex and compile back
ODEX: ODEX a ROM
DE-ODEX: DE-ODEX a ROM
Compile to an Exe: lets you compile Python scripts to an executable for your OS
Android
Configure ADB: Connect to devices over IP, enable/disable Network ADB on connected device
Logcat
Build.Prop: Pulls Build.prop from device and let you edit it
Backup / Restore: full backup of (all optional) apps, system apps, data, shared storage
ADB File Explorer
StudioAndroid options
Clean workspace and go back to before you used this tool the first time!
Debug: Includes printing the used commands before executing and testing the latest changes
Check the log in a scrollable window with selectable text
Report a bug: Opens a reply on this XDA thread with the content of your log in it
Changelog: See what's changed!
Update: Update StudioAndroid and choose between Stable en Nightly
Restart
About: shows information about the developer, contact info, profile image, twitter etc
​
Click to expand...
Click to collapse
SCALED PREVIEW: (Click to see full preview)
​
Click to expand...
Click to collapse
Instructions
Download the latest update OR one of the stable updates
Extract in your home directory
double-click StudioUnix
Click to expand...
Click to collapse
Preparation:
Download one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Double-click StudioWindows.exe
Click to expand...
Click to collapse
OR
Download and run Python
Download and run PYGTK - 32-bits
Download the latest update OR one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Right-click Studio.py > Open with > Python
Click to expand...
Click to collapse
Preparation:
install python2.7: 64-bit/32-bit x86-64/i386 / 32-bit i386/PPC
Install this (GTK+ and PyGTK)
Download THIS
Run StudioUnix
Click to expand...
Click to collapse
Click to expand...
Click to collapse
​

[TOOL][Linux / Windows] StudioAndroid - GtkUI
vlt96 said:
You shouldn't try it out when you have free time, it will give you free time
Click to expand...
Click to collapse
Translate?
LINUX
First navigate to StudioAndroid directory.
Then
xgettext -k_ -kN_ -o messages.pot Studio.py
msginit
Click to expand...
Click to collapse
A new file will be created (***.po)
Open that file with PoEdit and translate the right-column
When finished, save it and rename ***.po to Studio.po and put it in StudioAndroid/lang/yourlang_YOURLANG/LC_MESSAGES
afterwards, compile it:
msgfmt Studio.po -o yourlang_YOURLANG/LC_MESSAGES/Studio.mo
Click to expand...
Click to collapse
When I update it, merge the changes using:
xgettext -k_ -kN_ -o messages.pot Studio.py
msgmerge -U Studio.po messages.pot
Click to expand...
Click to collapse
and translate the new strings in PoEdit
The file I need is yourlang_YOURLANG/LC_MESSAGES/Studio.mo, but it's handy for you and me if you also include yourlang_YOURLANG/LC_MESSAGES/Studio.po
WINDOWS
Open lang/LanguageFiles/en_US.po in a text editor
msgid indicates the original string
msgstr indicates the string you need to translate.
So translate the msgstr strings.
Afterwards, send me en_US.po renamed to yourlanguage_YOURCOUNTRY.po
Thanks!
If you cant upload files anywhere, then past the content of SA.po in Pastebin and send me the link
THanks in advance
FULL CREDITS WILL BE GIVEN
Click to expand...
Click to collapse
Info
All info is now available at Github:
Git Source
Changelog
Bugs & Feature requests
BitLy Stats
Click to expand...
Click to collapse
Credits
Ablankzin : Contributor to StudioAndroid
Popdog123: He took the MAC side of the project
vlt96: Making a game to play while waiting
KeitlG: Compiled for windows!!!
KeitlG: Helped me testing the long-awaited ReCompile Fix!
Rookie407 : He compiled this tool for windows! AWESOME! You don't have to install Python and GTK anymore!!!
Lithid-CM : He was my messias on Python in general and GTK specific. Go and give him a "THANKS!"
KeitG: Gettext translation
WilliamCharles & Lycan: Windows testers - AWESOME, THANK THE GUYS!!
Click to expand...
Click to collapse

Omega Theme Studio
vlt96 said:
You shouldn't try it out when you have free time, it will give you free time
Click to expand...
Click to collapse
Features
This is a mode of StudioAndroid.
To go to this mode, run StudioAndroid > Options > Toggle Omega.
The purpose of modes is to specialize the GUI for specific actions and functions.
The purpose of the Omega Mode (AKA OmegaThemeStudio) is to create themes for Omega Apps on the fly.
FEATURES LIST
Retrieving styles
Download styles from official TeamSyndicate dropbox (30 and more styles!)
Upload your own style folder to the tool
Import selected styles from a CM-Theme.apk or ThemeUpdate.zip (!!)
Editing styles
Colorize the images, the same way as StudioAndroid does
includes selecting specific styles (clock, battery, signal, notification etc)
Customize on the fly!
This tool supports customizing all available values in XMLs
That means:
Editing clock colors
Editing clock dividers
Editing icon locations (for all notifications seperately)
Padding between icons
Clock size
Text size
AND MORE!
Building
Build with your own theme name and version
Dev name
"HELLO!" text on startup
E-Mail, website and version
Click to expand...
Click to collapse
Instructions
1. Download StudioAndroid as instructed in post #1
2. Run it as instructed in post #1
3. Click Options > Toggle Omega
Done​​
Click to expand...
Click to collapse

edit: out of date

KeitIG said:
Ok, i reserved this post for my translation
Click to expand...
Click to collapse
Good one!
I'll link already to the post xD
Could you add this piece of text to the top of your post?
Looks official
HTML:
[CENTER][IMG]http://www.mupload.nl/img/s81uiuto3.png[/IMG][/CENTER]

I'm getting errors using Cygwinn on Windows to execute your scripts, mainly with variables ><
I'm going to execute it with VirtualBox

KeitIG said:
I'm getting errors using Cygwinn on Windows to execute your scripts, mainly with variables ><
I'm going to execute it with VirtualBox
Click to expand...
Click to collapse
That would be possible indeed.
I think I am going to investigate a bit in Cygwin to make it compatible.
When using VirtualBox, use Ubuntu 10.04 LTS (64-bit preffered!)
Greets!

Add: could you post the errors or PM them to me??
Greets!

HELP​
What does your script do?
Well, look at the screenshot! And then look at the explanation below.
Update
Check ONLINE for updates!
Utils
Install Utilities
You are now able to install ADB, APKTOOL, AAPT, 7z, (bak)smali and a lot more seperately or together. This makes it easier for you to use them!
Resize pictures
Seems clear enough. It resizes pictures for you, theme conversion is easy!
Now also includes a small manual..
Batch Theme
This places a color layer over an image.
You can theme 1000 images in 4.31 seconds (I timed it).
Please note that if the current color is red and you want purple, you are not gonna add purple to it, but blue!
CopieFrom
It copies images that are in Directory A FROM Directory B.
Example: A contains 1 2 3 4 5, B contains 2 3 5 6 7 9 8
2 3 and 5 get copied over. Handy for theme porting!
Optimize Images
After selecting Extract APK, you can optimize images so they look better.
Click to expand...
Click to collapse
Develop
Install SDK
Installs the Android Software Development Kit.
You can run Virtual Machines with Android with it, and create APPS.
Install JDK
Installs the Java Development Kit.
You can develop in java and for Android with it.
Prepare Building
A lot of things should be installed before you can build your ROM from source.
This option does that for you, you don't have to do anything yourself again
Build from Source!
You can build a ROM from online sources with it! ALl you need is in it, but for any help you can always PM me!
Build Kernel
BETA!
You can sync the kernel sources with it. THAT'S IT FOR NOW!
Switch BUILD-Mode
Unfortunately, every device has its own sources to build a ROM or Kernel with.
I made this tool to be able to switch from devices
If your device is not (yet) included, then use option "Include".
Click to expand...
Click to collapse
APK​
Compile APK
The way Android reads the files inside an APK is not the way we do.
Compiling transforms our files into Android files. That's the only way I can explain...
Decompile APK
Undo compile, so we can edit code.
Extract APK
Leave everything intact, but extract. You will not be able to edit anything other then images!
Sign
Every APK needs a signature to verify the Permissions and files in the APK.
This tool does that for you
You can now also choose the Key
Install APK
Install it on your device via USB without a popup.
Zipalign
Aligns the APK. That makes it faster
Click to expand...
Click to collapse
Advanced
Baksmali
This allows you to "decompile" the classes.dex file in the APK so you can edit the code of your APK!
Smali
After you edited code, you need to "compile" again. Using this!
De-Odex
WIth system APKs, the smali files are not inside the APK, but outside. Inside an ODEX file.
De-odex includes the files inside the APK, so that it it needs less space
Warning: ODEX apps can be imported in dalvik straight.
DE-ODEXED apps don't. So De-Odexed is a bit slower...
Click to expand...
Click to collapse
Aroma​
I am working on this.
Many features will be added, but for now it's just a few options.
Click to expand...
Click to collapse

So, I dont need to download the sources when building from source?

dhruv.always said:
So, I dont need to download the sources when building from source?
Click to expand...
Click to collapse
The script does it for you.
Further explanation: building from source option actually just syncs the source. I think I even forgot to sync the device and vendor too, I'll check on it.

complete .zip file uploaded with AC and ACI translated. There should be some mistakes but i'll correct them when there will be a new release
(cf my post)

KeitIG said:
complete .zip file uploaded with AC and ACI translated. There should be some mistakes but i'll correct them when there will be a new release
(cf my post)
Click to expand...
Click to collapse
Thanks for that

I had an idea: could you add an option in the menu to add manualy a source location ?
When sources are downloaded, where can we found them to edit them ?
And will this script be only for optimus one or for other devices ?

KeitIG said:
I had an idea: could you add an option in the menu to add manualy a source location ?
When sources are downloaded, where can we found them to edit them ?
And will this script be only for optimus one or for other devices ?
Click to expand...
Click to collapse
1 there is, use option 1 in the Build menu (Other)
EDIT: whoops, there isn't... I think I'll change to the home directory.
2 you can find them in your Android Central folder /WORKING_DIR_x
x is the number of the option you chose to fetch it.
3 It already is for other devices, use the Other option
Greets!

Updated
###v0.12
[^] Implemented BuildKernel
[^] French translation by KeitG - THANKS!
[^] Some small code improvements. Visual changes to the MAIN MENU
[^] Added switches and commands. example: "./AC [menu option]" to go to that option DIRECTLY. "./AC -h" to go to the HELP page
[^] SubDirs now supported in Resize (example: drawable-hdpi gets copied over)
[^] BetaInstaller inside ACI script
[^] Every output will now be visible inside LOG!
[^] Implemented CASE options, more clean. Implemented InvalidOption.
[^] Utils.zip is now less then HALF the previous size
Click to expand...
Click to collapse
any suggestions are REALLY appreciated!
Thanks @kssood for suggesting awesome things!
thanks @ta for the idea of kernel building (although is still much work to do!)

I Figured out people like previews...
Do you?

BuildKernel mean it will download kernel source? and then we can build kernel or it's diff? Sorry for bad english

cips gokhle said:
BuildKernel mean it will download kernel source? and then we can build kernel or it's diff? Sorry for bad english
Click to expand...
Click to collapse
Build kernel is exactly as it says. You can build a kernel from a source.
I included Arjen, Arjen 3.0, thunderVN, Cyanogenmod and stock Android.
But t's still beta!
Greets!

mDroidd said:
Build kernel is exactly as it says. You can build a kernel from a source.
I included Arjen, Arjen 3.0, thunderVN, Cyanogenmod and stock Android.
But t's still beta!
Greets!
Click to expand...
Click to collapse
got it thanks and can you add franco source

Related

[TOOL][.9.png][REPOST] 9-Patch-Resizer

Description:
A resizer tool to automaticaly resize png files and 9 patches in several densities
Source Code​
Supported DPIs:​
XXXHDPI
XXHDPI
XHDPI
HDPI
MDPI
LDPI
Thanks to:
redwarp (Author of the program)
Jean-Baptiste LAB (Made the app working in command line)
Download​
Changelog:
Code:
[B]v2.7[/B]
- Numerous bug fixes
- Fixed compiler warnings
- Included portable ImageMagick binaries
- Updated ImageMagick to 6.8.5-8
- Improved commandline options
- A selection of DPIs must now be chosen
- Fixed Java errors
- Fixed settings.ini errors
- Renamed log to: art-log.txt
- Displays an error/warning when conversion fails
- Log can now output both stdout & stderr
- Improved searching for photos in source folder
- No longer need Boost
[B]v2.6[/B]
- Fixed the output of images
- Added Drag & Drop feature
- Runs a load of tests before converting
- Updated convert.exe to 6.8.4-8 (for Windows)
- Added some code that give some hints if conversion of a png || 9.png file fails.
- The program now will continue converting if a failure occurs. Previously it skipped files.
- Pictures with small dimensions will not convert
- Fixed command line arguments
- Fixed the date on logging output
- Optimized the tool for better memory
- Bug fixes
[B]v2.5[/B]
- Rewritten code using C++, now native on OS
- Many bug fixes
- Removed drag & drop feature
- Logging feature added
- Improved speed of booting
- New UI
- Portable convert.exe for Windows
- You still need to install ImageMagick on Linux/MacOSX
[B]v2.4[/B]
- Drag & Drop source folder onto art.exe to convert
- First time Setup
- Cleaned up the UI
- Removed clean-folders.exe
- No need to install ImageMagick
- Improved boot time
- Checks for errors before converting
- Available syntax & usage
[B]v2.3[/B]
- Very smart clean folders EXE file (Windows Only)
- Switched to EXE files (Windows Only)
- Fixed settings.ini resetting to defaults while restarting RUN-ME.exe (Windows Only)
- Fixed settings.ini detection (Windows Only)
- Improved a lot (Windows Only)
[B]v2.2[/B]
- Adapted Windows Vista/7 Environment (Windows Only)
- Fixed ImageMagick check on 64-bit machines (Windows Only)
- Fixed some errors in the batch files (Windows Only)
- Check for Java (Windows Only)
[B]v2.1.1[/B]
- Support for Mac OS X
- Fixed input sub-folder detection (Windows Only)
- Modified settings to match each OS
- Switched all archived formats to: TAR
[B]v2.1[/B]
- Cleaned up workspace
- Support for Linux/Unix
- Added README file for Instructions & Usage
- Improved clean-folders dramatically. It now depends on settings.ini. (Windows Only)
- Addded 64-bit support (Windows Only)
- Automatically detects if PC 32-bit or 64-bit (Windows Only)
[B]v2.0.0[/B]
- Initial shared release
Thank you. Nice work
thanks
Thank's.
I hope can work in linux
Sent from my GT-S5360 using xda app-developers app
shoutokuyaki said:
I hope can work in linux
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Me too.Linux users usually haven't any luck in top tools such this
AWESOME DUDE! Thanks ive been looking for a tool like this my whole life! But what if i wanted to port from an ArmV7 device? Will it work?
Epic Sax Guy Is Epic.
Peteragent5 said:
I thought I finally released this project I've been working on...
(Help me come up with a different name for this tool..)
This is a fork from: Android Drawable Converter
Licensed under: GNU GPL v3
Supported DPIs:
XHDPI
HDPI
MDPI
LDPI
Features:
Supports all/most DPIs
Supports .9.png (draw9patch) (nine) converting/resizing
Convert drawables into multiple densities automatically
Added a BAT script to fasten up this process
Saves you time!
How to do it:
Download & Install ImageMagick (Q16)
Download the file below. Unzip it to a place with no spaces. e.g. C:\
Place the PNGs you want to convert in "in" folder.
The default output folder is "out"
Be sure to set the right DPI for source and destination (in & out folder)
Run: RUN-ME.bat
Y to Start converting
N to modify settings
X to Exit
Versions:
JAR version: 2.0.0
BAT version: 0.1
ALL credits to:
kevinkamps
(He made this possible! ^^)
Please do not ask me to make this compatible with Linux, UNIX, BSD, or Mac. I will not!
[highlight]Windows ONLY[/highlight]
(If you found a way to install ImageMagick on one of the OS above, and modified the "convert_command" code for your OS, please let me know.)
DOWNLOAD
(Remember: All credits to kevinkamps)
Click to expand...
Click to collapse
Thanks luffy .I will try.
Sent from my HTC Wildfire using xda premium
hey. with this theme would i be able to convert HDPI CM9/10 themes to MDPI?
in Debian linux,
apt-get install imagemagick
imagemagick for linux is called by typing command without the .exe, and the path to it is set automatically when it is installed by apt-get.
can't execute the RUN-ME.bat in a minimal Wine (windows emulator) install 'cause it can't get at imagemagick or Java. bummer.
-DarkKnight- said:
hey. with this theme would i be able to convert HDPI CM9/10 themes to MDPI?
Click to expand...
Click to collapse
Yeah.
bigsupersquid said:
in Debian linux,
apt-get install imagemagick
imagemagick for linux is called by typing command without the .exe, and the path to it is set automatically when it is installed by apt-get.
can't execute the RUN-ME.bat in a minimal Wine (windows emulator) install 'cause it can't get at imagemagick or Java. bummer.
Click to expand...
Click to collapse
Hmmm I think you could manually set the Linux command for the imagemajick settings, it should be similar to the one in the settings.INI
Set your imagmacjick path to where the Linux has the convert.exe
Then just execute the JAR file
Peteragent5 said:
Yeah.
Click to expand...
Click to collapse
But I would also have to manually extract all pngs from each folder then I would have to put all the pngs back into the correct folders after I'm done
Right? Is there a less time consuming method?
Sent from the My Little Pony Official App
-DarkKnight- said:
But I would also have to manually extract all pngs from each folder then I would have to put all the pngs back into the correct folders after I'm done
Right? Is there a less time consuming method?
Sent from the My Little Pony Official App
Click to expand...
Click to collapse
To the OP::
I'd be willing to write a GUI front-end for windows to automate extracting/replacing images within the apk's or zip files along with executing the script. I have another project in the works, but I can put this together if we get enough input.
I get a Java is not recognized as an internal or external command operable program or batch file
-DarkKnight- said:
But I would also have to manually extract all pngs from each folder then I would have to put all the pngs back into the correct folders after I'm done
Right? Is there a less time consuming method?
Sent from the My Little Pony Official App
Click to expand...
Click to collapse
bill.weckel said:
To the OP::
I'd be willing to write a GUI front-end for windows to automate extracting/replacing images within the apk's or zip files along with executing the script. I have another project in the works, but I can put this together if we get enough input.
Click to expand...
Click to collapse
Hmmm, you could write a GUI, only if it's not time consuming. I actually have a batch file that does unzipping and zipping. I could merge that with this batch file.
Which one do you guys want? GUI or Command Line (Batch)? My batch file is pretty user-friendly, but it's likely to be the GUI that will be more user-friendly.
ermacwins said:
I get a Java is not recognized as an internal or external command operable program or batch file
Click to expand...
Click to collapse
Can you send me a screenshot?
Hey there!
Maybe you know my tool StudioAndroid bit.ly/SA-XDA
It has a resize option to, done with ImageMagick or PIL.
Maybe you can tell me why convert does not work on linux? It does for me... maybe I can help you!
And can you tell me how to resize the 9png's? Atm I just copy them over to the right dir without resizing anything..
Btw, yes, my tool also resizes (and much more) and is for Mac, Linux and Windows.
Maybe we could share experiences!
Sent from my Galaxy Nexus using Tapatalk 2
mDroidd said:
Hey there!
Maybe you know my tool StudioAndroid bit.ly/SA-XDA
It has a resize option to, done with ImageMagick or PIL.
Maybe you can tell me why convert does not work on linux? It does for me... maybe I can help you!
And can you tell me how to resize the 9png's? Atm I just copy them over to the right dir without resizing anything..
Btw, yes, my tool also resizes (and much more) and is for Mac, Linux and Windows.
Maybe we could share experiences!
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yes I know you
I resize the .9.pngs all because of the JAR file. But that JAR file is dependent on the settings.ini
To make it work on linux, mac, etc, you'll need to have the right values.
The convert_command is the path where convert.exe is located PLUS the commands: "-resize %3$s -unsharp 0x1 %1$s %2$s"
I think the convert.exe should be where ImageMagick is installed, maybe because of the dependencies inside the installation location.
And everything else in the settings.ini is pretty straightforward...
Peteragent5 said:
Can you send me a screenshot?
Click to expand...
Click to collapse
{
"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"
}

[TOOLKIT][WINDOWS] Automated Framework Kit AIO /w { Workbot + Stylist } [1/11/2013]

Automated Framework Kit
by Themike10452
\\======\_______________/======//
​
{
"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"
}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Reading is fun . . . reading is helpful . . . reading helps you not to ask silly questions . . . so READ!
This AIO toolkit includes 3 main MS-DOS scripts:
\\AFK//​About AFK
• It's a tool with a graphical interface, to manipulate your framework-res.apk, mainly to enable On-Screen Buttons and USB Mass Storage on all Android 4 ROMs.
• It has other features too, such as resizing On-Screen Buttons, enabling/disabling CRT screenOff animation, enabling lockscreen rotation, etc...
• It has the ability to create recovery flashable zips to install your custom framework and revert changes if you want to.
How to use it
• After you have installed the toolkit launch Automated_Framework_Kit_vXX.cmd
• You must have JDK installed on your machine in order to use AFK/Workbot.
• Browse for your framework-res.apk
• Choose the options you want from the graphical menu.
• When done customizing your framework hit Finish/Compile.
• You will br prompted to create recovery flashable zips.
• Collect your goodies from #collect-your-goods-here folder as always.
• Whatever follows is up to you.
○ It is recommended to use Cleanup script when you are done, be careful! your goodies will be erased.
Click to expand...
Click to collapse
\\Workbot//​About Workbot
• It's a time-saving script that does what AFK does in much less time because:
- It has no graphical interface.
- It does not require user input.
- It works according to pre-defined settings stored in Settings.ini under Workbot_Settings section.
How to use it
• Launch Workbot.cmd
• Check the displayed settings, if you agree on these settings hit Y to continue.
• If you don't agree on the settings hit N to edit.
• After you get through the first page, drag and drop your framework-res.apk inside the black window and hit enter.
• Watch the magic happen in less than a minute (20s~40s if you have a decent PC)
○ You can just drag and drop your framework-res.apk on top of Workbot.cmd and the bot will do the work instantly based on the stored settings.
○ It is recommended to use Cleanup script when you are done, be careful! your goodies will be erased.
Click to expand...
Click to collapse
\\Stylist//​About Stylist
• It's a simple script with a simple graphical interface.
• Its job is to skin your On-Screen Buttons with various button styles and colors.
• It stores more than 50 different styles with various colors.
How to use it
• Launch Stylist.cmd and drag and drop your SystemUI.apk inside the black window
○ Or, just drag and drop your SystemUI.apk over Stylist.cmd
• In, the menu press Preview to have a look at each softkey style
• Switch through pages using the buttons in the bottom right corner.
• Click on the style you like and you will be prompted for confirmation.
• After you confirm your choice, the script will mod your SystemUI.apk and generate recovery flashable zips in seconds!
• Collect your goodies from #collect-your-goods-here folder as always.
○ It is recommended to use Cleanup script when you are done, be careful! your goodies will be erased.
Click to expand...
Click to collapse
Requirements:
• A DEODEXED Android 4+ ROM
• Microsoft Windows OS 32-bit/64-bit (winXP or later)
• Java Development Kit installed on your machine (JDK 6 or later)
Click to expand...
Click to collapse
Strong recommendations:
• Install the toolkit in a short directory with no spaces and special characters, ie: C:\AFK
• For better results copy the file aapt.exe from Tools folder to C:\Windows
Click to expand...
Click to collapse
Code:
[COLOR="Blue"][U][I]Changelog:[/I][/U][/COLOR]
[COLOR="Green"]-v5.0-[/COLOR][COLOR="Silver"](30-08-2013)[/COLOR]
- Flagship, first AIO complete release.
[COLOR="Green"]-v5.1-[/COLOR][COLOR="Silver"](18-09-2013)[/COLOR]
- Small script fixes and improvements.
- Added 'Compatibility\Requirements Scanner' script.
- Added an option in the installer to copy aapt.exe to C:\Windows (Heavily Recommended)
- Installing Stylist and Workbot scripts are now optional.
[COLOR="Green"]-v5.2-[/COLOR][COLOR="Silver"](1-11-2013)[/COLOR]
- Stylist script fixed and updated to v1.3
Don't forget to hit Thanks :good: and rate the thread as it deserves
Download
Please do not mirror download links.
Automated Framework Kit AIO v5.2 [exe][mediafire]
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
How to fix the BIG back button issue?
Click to expand...
Click to collapse
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code:
[color=green][b]
Credits
=======[/b][/color]
•[user=4954315]@Themike10452[/user]
•[user=4696863]@besttt[/user]
•[user=4748936]@milanjm[/user]
•[user=2968938]@raziel23x[/user]
•[user=2539590]@atticus182[/user]
•[user=2232731]@flip360[/user]
[b]And every XDA member who contributed in the development/debugging of this toolkit.[/b]
Everything is tested a million times before being released, but still, if you face any problem please let me know.
Don't forget to hit THANKS and rate the thread objectively.
Screenshots attached.
when apears that board loading resourche table ...only stay for 1 sec and gone i cant select anythink because disappears that happens if i start the bat normaly if i started with admin rights said Settings.ini missing but does not missing apears at files
besttt said:
when apears that board only stay for 1 sec and gone i cant select anythink because disappears
Click to expand...
Click to collapse
yeah I have this problem
erfandl said:
yeah I have this problem
Click to expand...
Click to collapse
have the ini got the correct permissions sometimes windows will drop the ini s in documents folder
buzzinkeegs said:
have the ini got the correct permissions sometimes windows will drop the ini s in documents folder
Click to expand...
Click to collapse
still does not work for me
Admin rights are not needed, and will also make the script loose the files around it like your running the script from another folder.
Try editing settings.ini and change USEMOUSE=1 to USEMOUSE=0, if it still does not work let me know. I never had these problems when testing the script, just remember no shortcuts and no "run as admin"
Quick fix [hopefully]
besttt said:
when apears that board loading resourche table ...only stay for 1 sec and gone i cant select anythink because disappears that happens if i start the bat normaly if i started with admin rights said Settings.ini missing but does not missing apears at files
Click to expand...
Click to collapse
Well here's a quick fix for you, I compiled the BATCH file into an executable so it doesn't loose its path when you run the tool as admin, just copy the exe file inside the app folder and run it as admin instead of the old batch file.
I also recommend placing the app in a short path with no spaces; Example: C:\AFK
DOWNLOAD:View attachment AFK_v1.0_FIX1.zip
Themike_10452 said:
Well here's a quick fix for you, I compiled the BATCH file into an executable so it doesn't loose its path when you run the tool as admin, just copy the exe file inside the app folder and run it as admin instead of the old batch file.
I also recommend placing the app in a short path with no spaces; Example: C:\AFK
DOWNLOAD:View attachment 1870355
Click to expand...
Click to collapse
all ok now ,,,,the board stay,,, i can choose only from keyboard,,,,and all works ok at cm 10 framework At cm 10.1 framework i get that errors when i say yes to usb mass storage,,,, errorrr... file storage list xml not found..
yes to navigation bar error bools.xml not found
yes to navigation size bar error dimens.xml not found
can you do the same script to works both cm 10 and cm 10.1 frameworks?????? at cm 10 with changes at USEMOUSE=1 to USEMOUSE=0 all perfect but works at cm 10.1?????
besttt said:
all ok now ,,,,the board stay,,, i can choose only from keyboard,,,,and all works ok at cm 10 framework At cm 10.1 framework i get that errors when i say yes to usb mass storage,,,, errorrr... file storage list xml not found..
yes to navigation bar error bools.xml not found
yes to navigation size bar error dimens.xml not found
can you do the same script to works both cm 10 and cm 10.1 frameworks?????? at cm 10 with changes at USEMOUSE=1 to USEMOUSE=0 all perfect but works at cm 10.1?????
Click to expand...
Click to collapse
Well to decompile APK from Android 4.2.2 I think I need a newer version of apktool.jar, I'm moving to cm10.1 soon, when I finish my exams I'll start working on it
Themike_10452 said:
Well to decompile APK from Android 4.2.2 I think I need a newer version of apktool.jar, I'm moving to cm10.1 soon, when I finish my exams I'll start working on it
Click to expand...
Click to collapse
also automatick cant load the framework resolution apk,,,, apears at folder you just choose to load at the file who must go to the framework resolution apk ,,,and does not loaded only manually if you copy the framework at the file
besttt said:
also automatick cant load the framework resolution apk apears a folder you just choose to load at the file who must go to the framework resolution apk and does not loaded only manually if you copy the framework at the file
Click to expand...
Click to collapse
I didn't understand a word bad english :/
Sent from my Xperia Arc S using xda premium
What does it do?
=============
= It edits your framework-res.apk and Enables Navigation Bar and USB Mass Storage (Android 4.x Only)
Click to expand...
Click to collapse
Dear Mr.Themike
Firstly, I thank you for your good work.
'Android 4.x only' means, will it work for 4.0.3 ?
I have Dapeng A9230+, running on Custom ICS 4.0.3.
I successfully made framework flashable files through your great guide. But after flashing through recovery, nothing changes. sorry.... there is no Navigation bar.
I think, something wrong myside ?
Best regards.
ramsuresh4 said:
Dear Mr.Themike
Firstly, I thank you for your good work.
'Android 4.x only' means, will it work for 4.0.3 ?
I have Dapeng A9230+, running on Custom ICS 4.0.3.
I successfully made framework flashable files through your great guide. But after flashing through recovery, nothing changes. sorry.... there is no Navigation bar.
I think, something wrong myside ?
Best regards.
Click to expand...
Click to collapse
I tested this tool on ICS 4.0.4 and I think it should work fine on 4.0.3, so here's a tip for you:
Choose Enable Navigation Bar in the app menu, after it's done minimize the app window and go to [dec] folder>[framework-res.apk]>[res]>[values] and look for bools.xml and open it with and XML editor or just wordpad, look for a string that looks like this one:
<bool name="config_showNavigationBar">true</bool>
If it's there than it's okay and everything is good
Now go again to the app menu and set the NavBar dpi to whatever you like ( 0 disables NavBar )
then go again to [dec]>[framework-res.apk]>[res]>[values] and look for dimens.xml and open it and check if the dimensions you set are right.
After that compile the apk and flash it, If all the previous work is done properly and no errors but still the NavBar doesn't exist then it's beyond my capability to analyse Wish u luck
Error creating CWM zips
Thanks for the tool Themike_10452 but i cant build cwm zips this is the error i get
Code:
Filename: framework_CWM_16229.zip
((Themike10452))
The system cannot find the path specified.
TCreated restore zip: framework_CWM_16229_restore
The system cannot find the path specified.
The system cannot find the path specified.
'zip.sfx' is not recognized as an internal or external command,
operable program or batch file.
TPress any key to continue . . .specified.
The system cannot find the file specified.
besttt said:
all ok now ,,,,the board stay,,, i can choose only from keyboard,,,,and all works ok at cm 10 framework At cm 10.1 framework i get that errors when i say yes to usb mass storage,,,, errorrr... file storage list xml not found..
yes to navigation bar error bools.xml not found
yes to navigation size bar error dimens.xml not found
can you do the same script to works both cm 10 and cm 10.1 frameworks?????? at cm 10 with changes at USEMOUSE=1 to USEMOUSE=0 all perfect but works at cm 10.1?????
Click to expand...
Click to collapse
NOW AFK v2 is out, with CM10.1 Support
http://www.mediafire.com/?4o4nmst0kt0we7n
Themike_10452 said:
NOW AFK v2 is out, with CM10.1 Support
http://www.mediafire.com/?4o4nmst0kt0we7n
Click to expand...
Click to collapse
perfect my friend very good job i tested now that release suport both cm 10 and cm 10.1 still you have to change the value from ini mouse=1 to mouse=0 that works for me
besttt said:
perfect my friend very good job i tested now that release suport both cm 10 and cm 10.1 still you have to change the value from ini mouse=1 to mouse=0 that works for me
Click to expand...
Click to collapse
USEMOUSE=1 works for me. Thanks a lot my friend
Sent from my Xperia Arc S using xda premium
Tenacius D said:
Thanks for the tool Themike_10452 but i cant build cwm zips this is the error i get
Code:
Filename: framework_CWM_16229.zip
((Themike10452))
The system cannot find the path specified.
TCreated restore zip: framework_CWM_16229_restore
The system cannot find the path specified.
The system cannot find the path specified.
'zip.sfx' is not recognized as an internal or external command,
operable program or batch file.
TPress any key to continue . . .specified.
The system cannot find the file specified.
Click to expand...
Click to collapse
Thanks for reporting this problem. I'll work on it ASAP, meanwhile try using create_zip script, open it and drag the apk inside the Window and hit enter, a restore zip will not be created but it might work for you
++edit ++
I forgot to ask you, after getting the error can you find zip files inside the goodies folder? If yes what do they contain? Thanks
Sent from my Xperia Arc S using xda premium
Themike_10452 said:
I tested this tool on ICS 4.0.4 and I think it should work fine on 4.0.3, so here's a tip for you:
Choose Enable Navigation Bar in the app menu, after it's done minimize the app window and go to [dec] folder>[framework-res.apk]>[res]>[values] and look for bools.xml and open it with and XML editor or just wordpad, look for a string that looks like this one:
<bool name="config_showNavigationBar">true</bool>
If it's there than it's okay and everything is good
Now go again to the app menu and set the NavBar dpi to whatever you like ( 0 disables NavBar )
then go again to [dec]>[framework-res.apk]>[res]>[values] and look for dimens.xml and open it and check if the dimensions you set are right.
After that compile the apk and flash it, If all the previous work is done properly and no errors but still the NavBar doesn't exist then it's beyond my capability to analyse Wish u luck
Click to expand...
Click to collapse
Dear Mr.Themike,
Thanks for your Reply.
Bools.xml and dimens.xml, everything is perfect as you told. But after decompiling and flashing, there is no navigation bar. I have one doubt. What size we have to give for nav bar ?.(wvga screen).
If I give 37, it takes 37 for both 'height and width'.
Then, If my Rom is in 190 lcd density, the given size will work ? Or I have to be in system standard lcd density (240) for all nav bar sizes ?
Ok. Anyway, for the present Ics Rom, I have no success.... maybe Rom framework not compatible.
I have to try Other Ics and Lewa Roms.(for miui, I have working framework, which has nav bar).
Best Regards.
Sent from my Dapeng A9230+ through XDA mobile.
ramsuresh4 said:
Dear Mr.Themike,
Thanks for your Reply.
Bools.xml and dimens.xml, everything is perfect as you told. But after decompiling and flashing, there is no navigation bar. I have one doubt. What size we have to give for nav bar ?.(wvga screen).
If I give 37, it takes 37 for both 'height and width'.
Then, If my Rom is in 190 lcd density, the given size will work ? Or I have to be in system standard lcd density (240) for all nav bar sizes ?
Ok. Anyway, for the present Ics Rom, I have no success.... maybe Rom framework not compatible.
I have to try Other Ics and Lewa Roms.(for miui, I have working framework, which has nav bar).
Best Regards.
Sent from my Dapeng A9230+ through XDA mobile.
Click to expand...
Click to collapse
I have a MDPI device with 240 dpi, I use 24 dpi NavBar, slim and good looking
Sent from my Xperia Arc S using xda premium

[IDE] ROMS][Windows] Poison Kitchen IDE [Dev Preview 2][2.3-8.1]

Poison Kitchen IDE
Development preview
{
"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"
}
​
Description
A powerful IDE for android ROM development
Runs native on WINDOWS, MacOS themed.
Its powered by my XanderUI class library for the .net framework
Currently Development preview builds are only available, meaning things may be broken, behave incorrectly or other
Click to expand...
Click to collapse
Features
-Full GUI coded in C# for fast runtime
-XanderUI based controls(My C# class library)
-Based on .net 4.5
-Support for every single android version
-Unpack rom from (.zip, .tar, .md5, .img, aml_upgrade_package)
-Pull all required files from device(root needed to copy kernel block)
-Adb, fastboot and drivers installater
-ROM information
-Explorer
-Deodexing(4.4.4 and lower ATM)
-Unpacking the kernel
-Converting file_contexts.bin to standard text
-Kernel explorer
-Repacking kernel
-Logging
-Auto-generating updater-script
-Use generic symlinks if files detected
-Use generic file contets if the kernel does not contain file_contexts
-/data/app auto transition to new rom(somewhat working)
-Wipe data excluding /data/media(/sdcard path)
-Auto kernel block detection
-Auto mounting /system and /data
-Packing rom
-Signing rom
-Updater-script editor
-Extansion support
-Emulated exension scripts(applied via C#)
-Degapps extension
-Deknox extension
-Custom emoji extension
-Enable sony apps extension
Click to expand...
Click to collapse
Features not yet implemented
-root via magisk(systemless) and superSU(standard)
-init.d
-deodexing 5.0 and up
-adbd insecure
-init.d tweaks
-build.prop tweaks
-change display I.D
-add sysrw/ro binary
-logging needs tweaking
-loading rom information updated in the background
-Unpacking RUU as project(HTC)
-Unpacking TFT as project(SONY)
-Unpacking system.dat(sparse)
-Setting your actual device as the project and apply changes in realtime
-/data/app auto transition to new rom
-Kernel may not unpack
-Convert line endings in explorer context menu
-Inbuilt file editor(with EOL auto-detection)
-Boot animation player/changer
-Auto flash rom with ORS(TWRP)
-Bluestacks as rom
Click to expand...
Click to collapse
Settings
Load settings()
-Set default startup project or startup menu
-Enable/disable logging
-Stop logger from detecting files or folders added, deleted, changed or moved
Installation settings()
-Change romname
-Change installation type(autodetect on unpack, User generated, Tool generated)
-Change file contexts method(Auto, extracted from kernel, assumed)
-Enable/disable safewipe
-Enable/disable data/app auto transition
-Enable/disable autodetect ernel blockpath(add path below)
Pack settings()
-Change compression level
-Add signing method(pack into presigned, sign on zip, none)
-Change java heapsize
-Exclude files and folders from being packed/detected by IDE
Default program settings()
Change default program to open image files
Change default program to open video files
Change default program to open audio files
Change default program to open prop files
Change default program to open archive files
Change default program to open jar/apk files
Change default program to open other type files
Current version and updates()
Cleanup settings()
Click to expand...
Click to collapse
License
GNU GPL V3
Downloads
Downloads page
XDA:DevDB Information
Poison Kitchen IDE, Tool/Utility for the Android General
Contributors
Ricky Divjakovski
Version Information
Status: Testing
Created 2018-04-19
Last Updated 2018-04-19
Creating extensions and documentation
Code:
Description -
As extensions are a great adittion to the IDE, whats the use if you cant make your own for automated building?
Information you need to know -
The tool looks for the file "extension.info".
In the extension.info file you will specify the extension name, description and the poison shell script file(.psh).
Package the folder containing the extension as a zip archive
------------------------------------------------------------------
Entension index
------------------------------------------------------------------
Sample extension -
https://github.com/Ricky310711/Poison-Kitchen-Extension-Example
extension.info -
Lines will only be read if starting with "Name", "Description" or "Run"
-------------------- code exmpla
# this sets the extension name
Name:Fake optimizer
# this sets the extension description
Description:Do not apply this to rom, its a fake extension to show an example
# this is the poison script to run(must be in same directory)
Run:FakeOpt.psh
------------------------------------------------------------------
Scripting language(.psh file)
------------------------------------------------------------------
Information
-Must be linux EOL(\n)
-Anything but recognised 1st args are ignored
-Any errors will be ignore by the shell
-Use full paths asif you are in the root(/)
Extracting content to rom
---------- code example
EXTRACT|myFolder
1st arg states we are extracting(copying) a folder to the rom
2nd arg is the folder to extract(must be in same directory as extansion)
NOTE: This will extract the folder to the root of the rom
Changing a line in a file
---------- code example
CHANGE|START|/system/build.prop|ro.product.device=|THIS IS STARTS TEST
1st arg specifies we are changing a file
2nd arg specifies where on a line to search for the string(arg4)
3rd arg specifies the file to change
4th arg specifies the string to look for
5th arg is what you would like to replace the line with
The second arg can be START, CONTAINS or END
Appending a file
---------- code example
APPEND|TOP|/system/build.prop|# A TEST FOR APPENDING TOP
1st arg specifies we are appending a file
2nd arg specifies if we are appending at the TOP or BOTTOM
3rd are is the file to append
4th arg is the content to append
Remove a line from a file
---------- code example
REMOVE|/system/build.prop|# end fota properties
1st arg states we are removing a line from a file
2nd arg specifies the file
3rd arg is the string to look for in the line
Delete a file or folder
---------- code example
DELETE|/system/preinstall
Pretty straight forward, will delete a file or folder called "preinstall" from /system/
Create a file or folder
---------- code example
CREATE|DIRECTORY|/preinstall
arg 1 states we are creating something
arg 2 specifies if a FILE or FOLDER
arg 3 is the file or folder to create
Rename a file or folder
---------- code example
RENAME|/system/bin/am|amRenamed
1st arg specifies we are renaming a file or folder
2nd arg is the file or folder
3rd arg is the new name
Changelog
Development preview 2
-Added pull rom from device in setup
-Smoother nvigation
-XanderUI 1.6.0 integration
-Message boxes are now themed like the app
-Extensions now show progress upon running
-Deodexing up to Android 4.4.4 implemented
Development preview 1
-initial release
reserved3
supports all versions of android and all devices, no manual input needed.
dev preview 3 possibly tommorow
Yay now I can at least try to build my own g6 ROMs. Nice work.
development on hold until the 30th as im on holiday, i have been dedicating little time to this as internet here is extremely slow
Magisk and SU support added aswell as deodexing 5.x > 6.0
Also working on disabling signature verification, adding sysrw(as binary)
hi, im trying out the program, it never completes the extraction, and the progress icon starts at 53% do i need to do anything when trying to start the program.
i haVE TRIed running as administartor and without running as admin.
thanks
Twisted714 said:
hi, im trying out the program, it never completes the extraction, and the progress icon starts at 53% do i need to do anything when trying to start the program.
i haVE TRIed running as administartor and without running as admin.
thanks
Click to expand...
Click to collapse
A dialog will more then likely poppup requesting permission to run imgextractor.exe, be sure to accept that to complete the process
Ricky Divjakovski said:
A dialog will more then likely poppup requesting permission to run imgextractor.exe, be sure to accept that to complete the process
Click to expand...
Click to collapse
i am attaching some pics to what happens.
please advise. thanks
there are a couple more that are insignificant
Twisted714 said:
i am attaching some pics to what happens.
please advise. thanks
there are a couple more that are insignificant
Click to expand...
Click to collapse
Could you please PM me with pics of the firmware your selecting or even a link?
I've gone ahead and tried this. I pointed the app to my system.img (not the fastboot zip) and ended up with "error extracting". Tool looks promising. ROM is available for download here:
http://en.miui.com/download-333.html
I extracted it and used the images/system.img
oreo27 said:
I've gone ahead and tried this. I pointed the app to my system.img (not the fastboot zip) and ended up with "error extracting". Tool looks promising. ROM is available for download here:
http://en.miui.com/download-333.html
I extracted it and used the images/system.img
Click to expand...
Click to collapse
Im going to test now, if the firmware has system.transfer.list, and system.dat, it will not be able to be unpacked until i make a native library or extension to perform the operation as i think it would be extremely stupid for the need to have python installed to run.
The only reason i havent rebuilt smali/baksmali etc is 1. Would take me months, 2. we are modifying a system that relies on java to operate.
in future, hefty operations like unpacking etc, will be coded in ASM/C code for faster operation, Im planning on making the whole project open source to allow changes and fixes submitted by other developers, So if anyones interested let me know and ill upload the source code(Written in C# for the .net 4.5 framework)
Ricky Divjakovski said:
Im going to test now, if the firmware has system.transfer.list, and system.dat, it will not be able to be unpacked until i make a native library or extension to perform the operation as i think it would be extremely stupid for the need to have python installed to run.
The only reason i havent rebuilt smali/baksmali etc is 1. Would take me months, 2. we are modifying a system that relies on java to operate.
in future, hefty operations like unpacking etc, will be coded in ASM/C code for faster operation, Im planning on making the whole project open source to allow changes and fixes submitted by other developers, So if anyones interested let me know and ill upload the source code(Written in C# for the .net 4.5 framework)
Click to expand...
Click to collapse
Not sure if this helps but I've run Imgextractor directly on my system.img with this result:
Code:
Mi-A1-Repository>Imgextractor Mi-A1-Repository\Roms\Fastboot\tissot_images_V.9.5.10.0.ODHMIFA_8.0\images\system.img
ImgExtractor version 1.3.6 <Created by And_PDA (Based on sources ext4_unpacker)>
Extractor for images in EXT2\EXT3\EXT4\YAFFS2\CRAMFS filesystem formats
support SPARSE\SIN\MOTO structure formats
Open image file Mi-A1-Repository\Roms\Fastboot\tissot_images_V.9.5.10.0.ODHMIFA_8.0\images\system.img (size 3221225472 bytes) successfull...
Analize format of file. Please wait...
Found SPARSE FORMAT
Found EXT4 FORMAT
free space in image 188895232 bytes
Extract started. Please wait...
Extract 750 folders and 6306 files successfull
Found 386 symlink files
File stats (uid, gid, permission) save to Mi-A1-Repository\Roms\Fastboot\tissot_images_V.9.5.10.0.ODHMIFA_8.0\images\system__statfile.txt
Extract finish success
Press Enter to continue...
oreo27 said:
Not sure if this helps but I've run Imgextractor directly on my system.img with this result:
Code:
Mi-A1-Repository>Imgextractor Mi-A1-Repository\Roms\Fastboot\tissot_images_V.9.5.10.0.ODHMIFA_8.0\images\system.img
ImgExtractor version 1.3.6 <Created by And_PDA (Based on sources ext4_unpacker)>
Extractor for images in EXT2\EXT3\EXT4\YAFFS2\CRAMFS filesystem formats
support SPARSE\SIN\MOTO structure formats
Open image file Mi-A1-Repository\Roms\Fastboot\tissot_images_V.9.5.10.0.ODHMIFA_8.0\images\system.img (size 3221225472 bytes) successfull...
Analize format of file. Please wait...
Found SPARSE FORMAT
Found EXT4 FORMAT
free space in image 188895232 bytes
Extract started. Please wait...
Extract 750 folders and 6306 files successfull
Found 386 symlink files
File stats (uid, gid, permission) save to Mi-A1-Repository\Roms\Fastboot\tissot_images_V.9.5.10.0.ODHMIFA_8.0\images\system__statfile.txt
Extract finish success
Press Enter to continue...
Click to expand...
Click to collapse
Found the error, the img file is of a wierd format, as its named system.img, it actually contains files from the root, so within the system.img the the root of the image is actually the root of the device rather then the root of the system partition, its extremely odd but none the less extremely simple to fix
Issue is already fixed and will be included in dev preview 3, that is expected for public release in a day or so with much more additions
Ricky Divjakovski said:
Found the error, the img file is of a wierd format, as its named system.img, it actually contains files from the root, so within the system.img the the root of the image is actually the root of the device rather then the root of the system partition, its extremely odd but none the less extremely simple to fix
Issue is already fixed and will be included in dev preview 3, that is expected for public release in a day or so with much more additions
Click to expand...
Click to collapse
Yeah. I found it odd that the system.img had a /system directory in it. Awesome! Can't wait
Ricky Divjakovski said:
Could you please PM me with pics of the firmware your selecting or even a link?
Click to expand...
Click to collapse
its on mega.
https://mega.nz/#!dCA2mAYS!-GrKWuuTNODaYEbt3LWiw4LJzxkrz5wI3T94mQ4PU90
it is a android 6 to android 7 full update. its installed, but i am trying to learn cobble together a rom. this img is for a zoomtak upro, i have found today an image for the uplus/vplus. it has much more stuff in it.
thanks
Twisted714 said:
its on mega.
https://mega.nz/#!dCA2mAYS!-GrKWuuTNODaYEbt3LWiw4LJzxkrz5wI3T94mQ4PU90
it is a android 6 to android 7 full update. its installed, but i am trying to learn cobble together a rom. this img is for a zoomtak upro, i have found today an image for the uplus/vplus. it has much more stuff in it.
thanks
Click to expand...
Click to collapse
I will check it when i get home, if its an upgrade package, i cannot ad support for it..

[APK,IMG,DAT,BR] One click decompile/compile - Windows Shell Integration

This tool is a part of ADK software, thread can be found here (For summary read Introduction part below). Read Instructions at the end on how to install this.
Click to expand...
Click to collapse
{
"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"
}
Snapshot
Click to expand...
Click to collapse
Introduction
This Utility adds option to right click decompile, compile options for some extensions (like apk, img, dat, br, file_context.bin, payload.bin) so that you don't have to open any kind of kitchen again and again move files there and select options to unpack. See screenshots above you will get an idea about what is it..
Also it's not a separate tool it is a part of ADK. Read Installation and download instructions from below and check 2nd post for usage instructions.
And yes the main part since ADK kitchen is not completely free it works for only 7 days as a trial after that you will have to use demo version which has certain feature disabled. Not to worry this utility will work fine but there will be a pop-up notifying to buy license.
What is ADK?
Well if I've to say, ADK (Android Development Kit) is a complete Windows based GUI application which allows you to edit Android apk files, ROM zips, boot or recovery images, Android Firmware and also to create TWRP/CWM flashable recovery zips easily. It's like a complete Android Kitchen with lots of mods, patches, scripts, templates, rich text editor, etc. like an IDE. For more info visit official thread here.
Click to expand...
Click to collapse
Features
Well here you go,,,
Unpack/Repack APK (including smali), IMG, DAT, BR files.
Generate Java Source for APK.
View APK Info like App name, Package, permissions, icon, etc.
Import App as dependency for system apk.
Support Android 9.0 ROM.
Supported lists are: System, Vendor img, dat, br and Recovery or Boot images)
Suggest me what to add more.. :laugh:
Click to expand...
Click to collapse
Changelog and Known Issues
Changelog as per release 1.1.0.0 (17th January 2019)
*Added: Option to unpack Payload.bin
*Added: Option to convert file_contexts.bin to file_context
*Added: Support for Android 9.0 images.
*Updated: APK decompiling so as to create project for ADK.
Known Bugs
* Unpack option is not showing for .IMG file (on Win8.1 and lower).
Current Fix:- Open CMD and type "contexts d path-to-img" (without quotes).
Click to expand...
Click to collapse
Downloads & Instructions
To use these feature you must have ADK to be installed. So read steps below (noob friendly) in order to get it. If you want to know what is ADK read Introduction Part above.
Step 1: Install ADK
Grab a latest release of the software from above link.
Step 2: Extract the ZIP and install setup.exe as we normally do.
Do not install the software in C:\Program Files or Program Files (x86) folder.
Step 3: Launch ADK from desktop shortcut and go to Help > Plugins & Patches.
Keep your internet connection ON to do this steps.
Step 4: Search for ADK Context [Script] and install it.
First click on Download option then after click on Install it. Installation will be like normal setup file.
Step 5: Once installed you can close ADK and use the plugin.
Click to expand...
Click to collapse
Reserved
Nice tool keep up the good work!
Sent from my Redmi 4X using Tapatalk
can we then recompile say a vendor img after using this tool to unpack?
Xdevillived666 said:
can we then recompile say a vendor img after using this tool to unpack?
Click to expand...
Click to collapse
Yes why not! Just right click on the unpack folder created by the tool and select Encode APK,IMG,DAT,BR option from there
Tool has been updated. To download it open ADK it will notify you which plug-in needs to be updated!
[email protected] said:
Yes why not! Just right click on the unpack folder created by the tool and select Encode APK,IMG,DAT,BR option from there
Click to expand...
Click to collapse
Can't repack vendor either with ADK or shell.
ADK says cant find context for system/apps probabby its cant find selinux perms in file_contexts as its vendors its should not need that
And with Shell method can't say log are not getting create
Please looks and thanks for your work
Luffy.d said:
Can't repack vendor either with ADK or shell.
ADK says cant find context for system/apps probabby its cant find selinux perms in file_contexts as its vendors its should not need that
And with Shell method can't say log are not getting create
Please looks and thanks for your work
Click to expand...
Click to collapse
Vendor needs file_context especially plat_file_context it maybe missing something. I will look into it soon as currently I'm working on new project. So this might take a little while, but for sure I'll fix this.
[email protected] said:
Vendor needs file_context especially plat_file_context it maybe missing something. I will look into it soon as currently I'm working on new project. So this might take a little while, but for sure I'll fix this.
Click to expand...
Click to collapse
Thank you and no hurry
and here the exact error
error: build_directory_structure: cannot lookup security context for /system/app
Wow nice.
This can decompile framework-res.apk ans systemui.apk without errors anf uknown folders? Means java problem?
Good work, thank you.
Wysłane z mojego SM-G930F przy użyciu Tapatalka
Luffy.d said:
Thank you and no hurry
and here the exact error
error: build_directory_structure: cannot lookup security context for /system/app
Click to expand...
Click to collapse
I'll contact you once I will look up in this issue and fix it.
nalas said:
Wow nice.
This can decompile framework-res.apk ans systemui.apk without errors anf uknown folders? Means java problem?
Good work, thank you.
Wysłane z mojego SM-G930F przy użyciu Tapatalka
Click to expand...
Click to collapse
Yes it will unpack framework-res.apk and system ui. Just make sure when you want to decompile these system apps make sure to check the option 'import as dependencies' to not get any decompiling and compiling error further.
For Java problem I still get no response to issue with the latest Java problem. I think we still have to use lower Java version.
Android pie repacked system_ext.img can't boot.
Werewolf 99 said:
Android pie repacked system_ext.img can't boot.
Click to expand...
Click to collapse
Well I need some more info on this issue a logcat or something else. From your info I deduct following things like!
1. Your ROM might but using sparse image not ext if that's the case convert the image and then flash.(since sparse image omits some empty blocks)
2. I need to know the original image size and new compiled image size (if you have not made any changes then how much difference is present in their size).
Also let me know if you are flashing the new image using sp tool (for mtk devices).
futuretricks
thanks for this
Thanks for Your Share
EnerJon said:
Nice tool keep up the good work!
Sent from my Redmi 4X using Tapatalk
Click to expand...
Click to collapse
Thanks
cant use without a license, script download function is locked.. This must be under "paid software"not here.
guap said:
cant use without a license, script download function is locked.. This must be under "paid software"not here.
Click to expand...
Click to collapse
As discussed with the moderator this is part of ADK which is free to use even after trail period https://www.google.com/amp/s/forum....adk-android-reverse-engineering-t3803044/amp/
So if this is not working try original ADK which works after expiry date
I keep trying to download the script but the file is 0 kb and wont install. Any help?
Arden said:
I keep trying to download the script but the file is 0 kb and wont install. Any help?
Click to expand...
Click to collapse
Check your PM

[Tool] APK Toolkit v1.2 [Windows]

APK Toolkit is a native Windows GUI app for Reverse Engineering Android apps. It provides multiple tools & options for decompiling, compiling, extracting and zipping various Android file formats as well as displaying app permissions, metadata and much more
It was written from scratch when APK Easy Tool was discontinued. It has similar features to APK Easy Tool as well as a lot more updated features
Light Skin
{
"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"
}
Dark Skin
Features
Decompile / Compile / Extract / Zip xapk, apk, jar
ZipAlign / Check align xapk, apk
Check Align xapk, apk
Sign / Verify signature apk
Assemble / Disassemble dex, odex, oat (Baksmali / Smali)
Convert xapk / split xapk to single apk
Drag & drop support for single or multiple files
Pin window so it's always on top
JumpList and toolbar shortcuts
View / Remove app permissions
View app info including if app includes native 32bit / 64bit libs and/or global-metadata.dat and libil2cpp.so
il2cppdumper & dnspy built in, also supporting single / multiple file drag & drop (Dump directly without decompiling from xapk & apk and then view instantly in dnspy)
Install compiled Apk via Adb (Android Debug Bridge) or drag & drop Apk to install
Automate adding mod-menu to xapk or apk with single mouse click
Automate adding patched libs to xapk or apk
Automate adding toast message to app on startup
Decode / Rebuild to API level
Regex Search & Replace decompiled smali code
Remove Ads from Apps / Games via Regex Search & Replace
Requirements
Windows (APK Toolkit is a native windows app)
Java for additional tools
.net framework for additional tools
Updated to v1.2
Regex Search & Replace decompiled smali code
Remove Ads from Apps / Games via Regex Search & Replace
Added Light or Dark Skin setting
Bug fixes
Download
https://www.mediafire.com/file/uv86qhvwm7q5wg8/APK_Toolkit_v1.2_by_0xd00d.zip/file
Mirror
http://e.pc.cd/qj9otalK
ooh, useful idea, but what a sloppy init release -
VolBob said:
ooh, useful idea, but what a sloppy init release -
Click to expand...
Click to collapse
You realise that this app is a GUI for ApkTool and other command line apps right?
Are you using Aapt2 in the settings?
The error in your screenshot shows it is an error with ApkTool and not ApkToolkit and there are plenty of topics relating to this ApkTool error, maybe search next time before insulting someone who is providing a free app
but what a sloppy init release
Click to expand...
Click to collapse
If you wanted help then this is the wrong way to go about it. I suggest you delete ApkToolkit and use something else
0xd00d said:
View attachment 5881817
View attachment 5881821
ApkToolkit is a native windows GUI app for multiple tools for Reverse Engineering Android apps
It was written from scratch when APK Easy Tool was discontinued. It has similar features to APK Easy Tool as well as a lot more updated features
Features
Decompile / Compile / Extract / Zip xapk, apk, jar
ZipAlign / Check align xapk, apk
Check Align xapk, apk
Sign / Verify signature apk
Assemble / Disassemble dex, odex, oat (Baksmali / Smali)
Convert xapk / split xapk to single apk
Drag & drop support for single or multiple files
Pin window so it's always on top
JumpList and toolbar shortcuts
View / Remove app permissions
View app info including if app includes native 32bit / 64bit libs and/or global-metadata.dat and libil2cpp.so
il2cppdumper & dnspy built in, also supporting single / multiple file drag & drop (Dump directly without decompiling from xapk & apk and then view instantly in dnspy)
Automate adding mod-menu to xapk or apk with single mouse click
Automate adding patched libs to xapk or apk
Automate adding toast message to app on startup
Requirements
Windows (ApkToolkit is a native windows app)
Java for additional tools
.net framework for additional tools
Download
https://www.mediafire.com/file/eryd3c7jd2w591t/ApkToolkit+v1.0+by+0xd00d.rar/file
Mirror
https://mega.nz/file/wXoiEZCb#lK2ylis3EcK0n8UPUc5gmdfMoPKrVn34hNq0LvDFtvc
Click to expand...
Click to collapse
I'm enjoying Apk Tool Kit, but it would be great if you could add a feature to install APKs using ADB. Currently, the only way to install APKs while using scrcpy is to use Apk Easy Tool. However, Apk Easy Tool kills the ADB server scrcpy spawns, which closes the mirrored window on the computer. If you could add a way to install APKs using ADB directly in Apk Tool Kit, that would be a great improvement. Thanks for your consideration!
Ives Gunther said:
If you could add a way to install APKs using ADB directly in Apk Tool Kit, that would be a great improvement.
Click to expand...
Click to collapse
I'll add that into the next release, thanks for the suggestion
@0xd00d Sir when i made clone,its not launch on android 12
Its launch perfectly with android 11
Help please
Leftrand said:
@0xd00d Sir when i made clone,its not launch on android 12
Its launch perfectly with android 11
Help please
Click to expand...
Click to collapse
It's hard to say for sure because a lot has changed in Android 12, especially access permissions
For example if app uses data folder then android 12 will not access it due to new access permissions
Does it install ok?
Do you get any error messages?
There are a few things you can try...
Disable google play protect
To disable Google Play Protect. Open "Play Store" application -> tap on Menu button -> select "Play Protect" option -> Disable the options "Scan device for security threats"
Some permissions like overlay permissions cause problems with android 12, you can try removing permissions in the AndroidManifest.xml and then trying again
Check your manifest for the mainactivity and check if you have
android:exported="false"> and if you have then set to true not false
make sure you have no duplicates in your manifest such as a duplicate mainactivity
you can also try signing with different signing versions in APK Toolkit settings
you can check your android logs via adb logcat
I don't use android 12 so have no way of testing sorry, please try the above and try and narrow down the problem
0xd00d said:
It's hard to say for sure because a lot has changed in Android 12, especially access permissions
For example if app uses data folder then android 12 will not access it due to new access permissions
Does it install ok?
Do you get any error messages?
There are a few things you can try...
Disable google play protect
To disable Google Play Protect. Open "Play Store" application -> tap on Menu button -> select "Play Protect" option -> Disable the options "Scan device for security threats"
Some permissions like overlay permissions cause problems with android 12, you can try removing permissions in the AndroidManifest.xml and then trying again
Check your manifest for the mainactivity and check if you have
android:exported="false"> and if you have then set to true not false
make sure you have no duplicates in your manifest such as a duplicate mainactivity
you can also try signing with different signing versions in APK Toolkit settings
you can check your android logs via adb logcat
I don't use android 12 so have no way of testing sorry, please try the above and try and narrow down the problem
Click to expand...
Click to collapse
Thank you for your reply sir
Install oke sir without error.
I did disable play protect all the time,my manifest also true
Recently i use np manager to remove signature verification using Modex3.0 to sign apk before i modified using apktool or apk editor,it will launch on a11 below but not a12 up
If no remove signature verification,it will not launch for both a11 and a12 after installed.
I also try sign v1 v2 v3 v4 yet no luck,only black screen and closed
Viet guy did also modified same apk but their apk lauch for a11 a12 and a13 perfectly,don't know they did
Wish i could find solution for this because your tool very handy and simple to use
Leftrand said:
Thank you for your reply sir
Install oke sir without error.
I did disable play protect all the time,my manifest also true
Recently i use np manager to remove signature verification using Modex3.0 to sign apk before i modified using apktool or apk editor,it will launch on a11 below but not a12 up
If no remove signature verification,it will not launch for both a11 and a12 after installed.
I also try sign v1 v2 v3 v4 yet no luck,only black screen and closed
Viet guy did also modified same apk but their apk lauch for a11 a12 and a13 perfectly,don't know they did
Wish i could find solution for this because your tool very handy and simple to use
Click to expand...
Click to collapse
Can you message me with a link to your APK and a link to the other modded APK which works for a11,a12 amd a13
I can't promise anything but I can try to see whats wrong using a12 emulator as soon as I get time
0xd00d said:
Can you message me with a link to your APK and a link to the other modded APK which works for a11,a12 amd a13
I can't promise anything but I can try to see whats wrong using a12 emulator as soon as I get time
Click to expand...
Click to collapse
Yess i send you both link in pm,thank you
Updated to v1.1 with some small bug fixes and additions...
0xd00d said:
Updated to v1.1 with some small bug fixes and additions...
Click to expand...
Click to collapse
Pushing Thanks button for you...
Amazing tool i like it it's so useful thanks for your great work could you please add support for dark mode in next relesae.
Updated to v1.2 with some small bug fixes and additions...
Hi guys, I'm trying to modify a system apk on my head Unit (PX5). Specifically HCT4Music.apk. I just want to modify the colours of the screen, so that it fits the inside lighting of my car. I have no problem with the modifications. But I can't get it installed by the signature. How can I keep the same signature of the original apk.
I have also tried to copy the modified apk to /system/app and the result is that it works but it does not allow me to access the music files because it denies me access to the file system.
Do you have any solution?. Thanks
Translated with www.DeepL.com/Translator (free version)
ivexsa said:
How can I keep the same signature of the original apk
Click to expand...
Click to collapse
Only if you have a rooted device, you can use original sig in apk with disable signature with magisk / xposed framework
If no rooted device then you can try one of the signature killers which hook / replace new sig with original sig
0xd00d said:
Only if you have a rooted device, you can use original sig in apk with disable signature with magisk / xposed framework
If no rooted device then you can try one of the signature killers which hook / replace new sig with original sig
Click to expand...
Click to collapse
Thank you very much 0xd00d. I have installed the magisk module and installed the system apk (music apk). But android 10 denies me access to storage devices.
Any more help?
thank you
By the way. excellent application
Looks like a great piece of kit , just wish I knew how to use it to to moddify a app, and re-sign it well done.
Nice tool, tried to decompile the apk and make change on smali file. Hit the compile button and generate the APK. But it looks like no changes which I had made with the new APK in `2 - Compiled` directory
If it compiled without error then your new changes should be in there
Are you editing the right smali file?
If you are editing libs then make sure you are editing the correct one for the architecture you are installing / testing the APK ( armeabi-v7a or arm64-v8a )

Categories

Resources