[TOOL][.9.png][REPOST] 9-Patch-Resizer - Android Software/Hacking General [Developers Only]

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"
}

Related

[APP]Ubuntu Install Guide - Galaxy Note Testers wanted - 12.04 in testing

I have working on a project in the form of an app, which guides you through the installation of Ubuntu within android via chroot. It includes a ubuntu 10.10 image I have been working on which includes lots of program to allow users to develop program/scripts etc within Ubuntu on there phone/tablet.
However I have I have yet to get much testing on this device and would like more feedback from users!
Please post your device/kernel/rom along with what did and didn't work, so I can draw up what I need to change in the next release of the app/ubuntu build.
Website
http://linuxonandroid.blogspot.com/
Video
http://www.youtube.com/watch?v=UCqzs8yQTM8
App Download
Free App
Paid App
Boot Script
ubuntu.sh(V5)
Full Image
This image is 1.5GB to download, once extracted 3.5GB, and include alot of programs like openoffice, thunderbird, firefox and over programs for 'developing' - Also allows you to switch between the LXDE and Gnome desktops, and you can define screen size on boot!
ubuntuV5-image.zip
Lightweight Image - This is yet to be included in an app, will be included in the next release (aka 2.0 ), so get it now before anyone else!
This image is just under 500MB to download, once extracted 2.5GB, and include only programs needed (LXDE desktop, web browser, + other basic programs) also allows you to define screen size on boot
ubuntuV5-sm-image.zip
12.04 images
I have now started work on building new 12.04 images these come in core (just the bear-bones ubuntu) and full (ubuntu with GUI and other programs) and will be updated as 12.04 moves through its milestones (and when I make new updates to the mods I make from the main stream arm port).
These are for testing ONLY until 12.04 reaches stable release.
You can view the images here:
http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/
I also want to build up a small group of testers who I can email with new images and scripts, these will include all future distros that I do. If you are interested in joining this test group please PM me or send a email to [email protected]
The only requirement is that your willing to test and send feedback along with screen shoots etc where required, it would also be good if your willing to try different roms and kernels for your device!
Sig Banner
Show your love of ubuntu on android with my sig banner:
{
"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"
}
image url is "http://dl.dropbox.com/u/11206993/ubuntuuser.png"
Other Guides
Like this guide? want to try something different? then check out my other guides for different distro's
Backtrack - This is a distro that is based around security testing, it also includes the Gnome desktop environment and a range of other programs.
Updates
18/02/12
*New 12.04 images started building, for now not included in the app but once a bit more stable will be included
29/01/12
*New V5 small image, featuring fixed Java, even more lightweight (now around 1.2GB free) and user can set screen size on boot
*PAID New Build guide which shows you how to build your own Ubuntu images
*Brand new UI To make the whole thing more useable
*PAID new 'one click boot' feature to allow quick booting from either the widget or inside the app
*PAID new widget to activate the one click boot
*PAID app install guide changed in light of 'one click boot'
*Fixed keyboard mapping of random letters in Gnome
18/01/12
*Large ubuntu image now allows user to set screen size on boot!
*Large Ubuntu image now lets you select between LXDE and Gnome desktops
*Large Ubuntu image has been recompiled to fix the likes of Java (note some of the above changes will be included in the small image in the future)
*FAQ section updated with more answers to questions I have been getting
*Install guide updated in light of the new large image
06/01/12
*PAID app file downloads now use new fast FTP server and support direct downloading (click the button to download a image and it starts to download right away)
*New boot script which has fixed problems with it not booting on alot of devices, and fixed problem which some people getting a grey screen when loading UI
*Boot script now downloaded in zip file to fix problems with downloading script
*Both apps fixed to support low resolutions
*Both apps cleaned up
28/12/11
*PAID app now supports 960x540 'qHD' resolution
*ALL Ubuntu lightweight images cleaned up even more saved another 300MB of space
*ALL Ubuntu images updated with all new updates
*ALL Ubuntu images now in .zip format to fix problems with some peoples devices failing to extract the .rar files
*Boot script updated, once booted now terminal acts like a command line interface for Ubuntu, and some boot problems now fixed
*Image and boot script now downloadable separately to allow easier updating
19/12/11
New 'lighter' ubuntu image options for all resolutions already supported
15/12/11
New ubuntu images with all updates up to 15/11/11
FREE app ubuntu image resized to fit 800x480 resolution
PAID app ubuntu images now includes 4 images for 800x480, 854x480, 1024x600 and 1280x800 resolutions
http://forum.xda-developers.com/showpost.php?p=20598548&postcount=83
Samsung Galaxy Note G7000
FM 1.5 Kernel
RocketRom V10 (14Toggle, smoothnessupdate, addperformance, stock theme)
Note freezes after executing ubuntu.sh, only restarting by holding powerbutton helps...
It's a pity, I thought booting ubuntu is only possible on a Rom with loop devices capabilities and now I read that only the stock rom is working
tried ubuntuv3.sh see picture:
http://imageshack.us/f/808/sc20111223042953.png/
Allamann said:
http://forum.xda-developers.com/showpost.php?p=20598548&postcount=83
Samsung Galaxy Note G7000
FM 1.5 Kernel
RocketRom V10 (14Toggle, smoothnessupdate, addperformance, stock theme)
Note freezes after executing ubuntu.sh, only restarting by holding powerbutton helps...
It's a pity, I thought booting ubuntu is only possible on a Rom with loop devices capabilities and now I read that only the stock rom is working
tried ubuntuv3.sh see picture:
http://imageshack.us/f/808/sc20111223042953.png/
Click to expand...
Click to collapse
Indeed its VERY odd that stock works but custom roms do not work...should really be the other way round, perhaps something to do with how the device file system in custom roms is different or something?
I don't know, this is the problem trying to support as many devices as possible, I don't have the device to test and work out what's wrong, just got to keep basically stabbing into the dark until I hit something
Change log for new release (release will be in the next few days for paid end of next week for free) - all new images etc will be added to the first post as they are finished and uploaded!
*PAID app now supports 960x540 'qHD' resolution
*ALL Ubuntu lightweight images cleaned up even more saved another 300MB of space
*ALL Ubuntu images updated with all new updates
*ALL Ubuntu images now in .zip format to fix problems with some peoples devices failing to extract the .rar files
*Boot script updated, once booted now terminal acts like a command line interface for Ubuntu, and some boot problems now fixed
*Image and boot script now downloadable separately to allow easy updating of the script
*+more likely before release
Allamann said:
http://forum.xda-developers.com/showpost.php?p=20598548&postcount=83
Samsung Galaxy Note G7000
FM 1.5 Kernel
RocketRom V10 (14Toggle, smoothnessupdate, addperformance, stock theme)
Note freezes after executing ubuntu.sh, only restarting by holding powerbutton helps...
It's a pity, I thought booting ubuntu is only possible on a Rom with loop devices capabilities and now I read that only the stock rom is working
tried ubuntuv3.sh see picture:
http://imageshack.us/f/808/sc20111223042953.png/
Click to expand...
Click to collapse
+1 I got it to boot with cf kernel but not with fm or abyss kernel.
Sent from my GT-N7000 using xda premium
timstanley1985 said:
+1 I got it to boot with cf kernel but not with fm or abyss kernel.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Odd so I'm guessing the two kernels that don't work don't have loop support...best talk with the kernel developer
Sent from my HTC Desire S using XDA App
timstanley1985 said:
+1 I got it to boot with cf kernel but not with fm or abyss kernel.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Yep, I was really enjoying - had PHP and mysql installed and working as a wee test environment, then flashed FM and no more Ubuntu.
Thanks for the work - appreciated
If I manually downloaded the script and the image, where do I put
the extracted content of the zip, and the script ? on the root of external SD or phone storage ?
lucid said:
If I manually downloaded the script and the image, where do I put
the extracted content of the zip, and the script ? on the root of external SD or phone storage ?
Click to expand...
Click to collapse
Place them in a folder called ubuntu on either your sdcard or internal memory as you have both either should work
Sent from my HTC Desire S using XDA App
Thanks, by pressing ahead without knowing I put the files there, however, in terminal emulator, after aquiring superuser persmissions, changing to the ubuntu folder wont work. I must be doing something wrong. I came as far as cd /sdcard but /sdcard/ubuntu fails. Asking ls -a says dir is empty ? Linux noob
lucid said:
Thanks, by pressing ahead without knowing I put the files there, however, in terminal emulator, after aquiring superuser persmissions, changing to the ubuntu folder wont work. I must be doing something wrong. I came as far as cd /sdcard but /sdcard/ubuntu fails. Asking ls -a says dir is empty ? Linux noob
Click to expand...
Click to collapse
check in a file explorer where the sdcard is mounted, sometimes the internal memory is mounted as the sdcard directory and then the sdcard itself is mounted in another directory within that.
Once you work out where its mounted then just cd to that location
Got it to work. Copied the ubuntu folder to /
Pretty responsive in 24bit colour. Working with cassies ultralight v4.
lucid said:
Got it to work. Copied the ubuntu folder to /
Pretty responsive in 24bit colour. Working with cassies ultralight v4.
Click to expand...
Click to collapse
which Kernel/Rom?
Hi
Before run ubuntu.sh check if loop inst bussy with other kind of programs who use it.
try losetup will show you how many loop you have used and edit ubuntu.sh to get 1 free
like last 1 user will be 10 then line with busybox mknod /dev/loop11 b 7 11
and wher you see loop0 change to loop11 or any free number.
Hope will works for you.
---------- Post added at 12:06 PM ---------- Previous post was at 12:03 PM ----------
Hi,
Nice work but you forgot something.
Your image wont work on many device since the /sdcard partition if VFAT who limit the file to 2G.
converting /sdcard to ext2 or ext4 is the way to work with files larger than 2G.
B.
dahas said:
Hi
Before run ubuntu.sh check if loop inst bussy with other kind of programs who use it.
try losetup will show you how many loop you have used and edit ubuntu.sh to get 1 free
like last 1 user will be 10 then line with busybox mknod /dev/loop11 b 7 11
and wher you see loop0 change to loop11 or any free number.
Hope will works for you.
---------- Post added at 12:06 PM ---------- Previous post was at 12:03 PM ----------
Hi,
Nice work but you forgot something.
Your image wont work on many device since the /sdcard partition if VFAT who limit the file to 2G.
converting /sdcard to ext2 or ext4 is the way to work with files larger than 2G.
B.
Click to expand...
Click to collapse
Thank you very much I will integrate these changes in the next version of the script
you can also change de fstab line where root partition is mount by uuid and replace by name
losetup returns nothing...
I also asked the dev of FM kernel and he told me that it has loop capabilities
if losetup show nothing then or you dont have loop set or you not root.
for see if you r root type id and the have to show your id. If is not root type su -
For the no loop set then the original ubuntu.sh have to work.
Runs perfectly on my Note
Had rooted it yesterday with CFRootFlasher
Kernel is "KK9" (Android 2.3.6)
Tested the V3 800 first, and now running with the V4 1280 image
Btw I´m an Android noob, came from Ios 2 weeks ago, so i dont really know what is important for you to know. But if you want to know something, just ask
kevinturbo said:
Runs perfectly on my Note
Had rooted it yesterday with CFRootFlasher
Kernel is "KK9" (Android 2.3.6)
Tested the V3 800 first, and now running with the V4 1280 image
Btw I´m an Android noob, came from Ios 2 weeks ago, so i dont really know what is important for you to know. But if you want to know something, just ask
Click to expand...
Click to collapse
Thank you very much, glad to hear you have it working!
And welcome to the dark side

[TOOL][AIO] StudioAndroid # Automize everything! [GUI]

{
"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

[TOOL] Android File System (Network ADB Extension) for Windows Explorer

{
"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:
Viewing Android file system by ADB in native Windows Explorer.
Accordingly, copying files, installation APK, create screenshots: ADB utility is used (included in the installer).
Virtual Folder "Network ADB" is added to "My Computer"
----
1) Copy the Windows-Android, Android-Windows, Android-Android
2) Create a new folder
3) Delete the folder / file
4) Create a Link for Windows - move the Android-Windows while holding down the left mouse button
----
1) The context menu on any folder, any drive - Creating a screenshot (in the folder place the device screenshot)
2) Right-click the APK file - install apk on your device
----
1) Requires .NET Framework 4.0
2) Tested only on Windows 7, the behavior of other systems not tested.
3) Tested: on Android 5 - 7
mobiles: nexus 6p, sony xperia, samsung note 3
Sony Android TV: KD-55x9305c, KDL-55w807c
Instruction:
1) Turn on your mobile (android TV) - developer mode.
1.1 Go to the "Settings" section and select "About phone (or on TV)"
1.2 find the "Build Number", click on it seven times (the system will report that enabled mode)
1.3 In the setting will be a new item - Developer Mode
2) In option "developer mode" enable - "remote debug"
3) After install my application - in context menu click - "Preferces" and type IP Adress (port 5555 not change - this is ADB port)
4) in context menu click - Connect. In TV or Mobile message appears for authorization to operate the device with your computer - click allow. Amen, in Windows Explorer, you should see a Android file system.
--- change device to using network:
1) connected via USB
2) run command: adb.exe tcpip 5555
3) Disconnect USB
latest adb.exe - contains in installer. If Installed Android Studio - delete in current dirrectory adb.exe - extension will work with adb.exe installed in android studio.
--- this extension only wrapper for adb
VERSION 0.0.3
1) Add Install apk progress window
2) Set permissions+owner/group
Installer for Windows x64: View attachment NetworkADB-x64-003.zip
Version 0.0.2
1) add console
2) change adb path, multi-devices support (wifi-usb-emulator etc)
Installer for Windows x64: View attachment NetworkADB-x64-002.zip
Installer for Windows x32:View attachment NetworkADB-x32-002.zip
if no work: rty version in this post
version 0.0.1
Installer for Windows x64: View attachment NetworkADB-x64.zip
Installer for Windows x32: View attachment NetworkADB-x32.zip
Source code (VS 2012 C#): View attachment NetworkADB-src.zip
Main russian forum in 4pda - "Network ADB for Windows"
Hi, when I run this, nothing comes up I downlaod Framework 4 running on 64 win 7
@svansvan is it support English language ?
Hamidreza2010 said:
@svansvan is it support English language ?
Click to expand...
Click to collapse
it is ONLY in English
zfk110 said:
Hi, when I run this, nothing comes up I downlaod Framework 4 running on 64 win 7
Click to expand...
Click to collapse
1) Install Framework 4
2) You download NetworkADB-x64.zip unzip and run NetworkADB.exe and click Install.
In Windows Explorer (not IE) in folder My PC (in left treview) should appear "Network ADB"
-------
if you tried to install the program without Framework 4.
1) Install Framework 4
2) Uninstall NetworkADB
3) Install NetworkADB
------------
~200 downloads from this site
~300 in russian
no comments or reviews.
It means all everything works well
svansvan said:
it is ONLY in English
1) Install Framework 4
2) You download NetworkADB-x64.zip unzip and run NetworkADB.exe and click Install.
In Windows Explorer (not IE) in folder My PC (in left treview) should appear "Network ADB"
-------
if you tried to install the program without Framework 4.
1) Install Framework 4
2) Uninstall NetworkADB
3) Install NetworkADB
------------
~200 downloads from this site
~300 in russian
no comments or reviews.
It means all everything works well
Click to expand...
Click to collapse
Please see this video to see whats doing it, I already installed net 4 on the system
https://drive.google.com/open?id=0B8UIJJhXQ-yfVWJkVGNWUjdpcWM
video course terrible quality
After install:
1) in LEFT side of Explorer window (tree)
You have "My computer" in this item you have disks C,D... You have item "network adb"?
2) in context menu on item Network Adb (right mouse click) you have "properties, connect, disconnect etc" items ?
---
Like as in attached screens in main post.
---
Do you run install exe as administrator?
Do you restart windows after instal Framework 4 ?
In same folder (where you run install.exe) You will have some files. 2 ddl's must be registered in system. may, for whatever reason, they did not register. there need to debug deeper knowledge and only Monday I will be able to give more detailed instructions
New 0.0.2 version in header.
1) add adb console window
2) change adb path,
3) multi-devices : support selection (wifi-usb-emulator etc)
----
Before installing, you must uninstall the previous version.
Crashes at startup
Hi,
just tried it, it installs fine and i have the icon in explorer.
But it crashes at startup, win7, 32bit, your adb version 32bit 002.
See attched image for the crash info.
Hope you can do somthing about it, thanks!
JJSJJS said:
Hi,
just tried it, it installs fine and i have the icon in explorer.
But it crashes at startup, win7, 32bit, your adb version 32bit 002.
See attched image for the crash info.
Hope you can do somthing about it, thanks!
Click to expand...
Click to collapse
Try this Release x32 version. Before install - uninstall old version.
(This error is probably due to the fact that the version was in Debug)
I do not have 32 windows, so I can not test
View attachment NetworkADB-x32.zip
Many Thanks Svansvan,
i will try it and report back.
***edit***
Sorry to inform you, the bug is still there. So installing is still ok, but it crashes immidiately after double clicking.
JJSJJS said:
Sorry to inform you, the bug is still there. So installing is still ok, but it crashes immidiately after double clicking.
Click to expand...
Click to collapse
What version number .NET Framework ? (it should be 4.+)
I have only 64 bit Windows 7. I can only compile in 32. Only one person with a 32 bit version left a tip (in russian forum - all works), but it has windows 10.
By the way, I do not guarantee the work in Windows 10 too (it works, but there are 3 bugs)
With this data, I can not know what the problem is: something is wrong with your system or is it a problem in my code.
People download, but do not leave comments
In this case, I upload the source code. Can someone help you faster. I did not get to fixing the problems in Windows 10 (and I do not know when it will be)
Last Try (added strong named key for dll`s + fix assembly):
View attachment NetworkADB-x32.zip
View attachment NetworkADB-x64.zip
Hi,
i have .NET 4.5.1 installed. And only Win7Pro.
I will try your latest x32 and report back.
Thanks a lot!
JJSJJS said:
Hi,
i have .NET 4.5.1 installed. And only Win7Pro.
I will try your latest x32 and report back.
Thanks a lot!
Click to expand...
Click to collapse
If it does not work at all, try update .NET to 4.6 version and restart PC.
do you have this path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
if folder v4.0.30319 not exist, try find in folders(subfolders) C:\Windows\Microsoft.NET\Framework program RegAsm.exe
This program is needed to register 2 dll`s (WindowsShell.dll, NsEx3.dll).
copy RegAsm.exe to install folder (where placed NetworkADB.exe)
in console (run console as administrator!) run:
1) RegAsm.exe WindowsShell.dll /codebase
2) RegAsm.exe NsEx3.dll /codebase
in output you can see like: Types are registered successfully
In general, the entire installation is reduced to registering these two dll files using the .NET program regasm.exe
If the registration is successful - everything will work.
After, using Task Manager - kill process explorer.exe, and run new task explorer.exe (restart explorer.exe)
This is the maximally-extended technical documentation that I could give.
Hi Svansvan,
yes i have the folders and the exe.
First i will update to 4.6.x .NET , restart and do as you said.
I will report back, thanks for your great help!
***edit*** according to the check of the DWORD in the registry as mentioned on this page https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx#net_d
I have 4.6.2 already installed, so far so good.
***2nd edit*** i have a nsext3.dll, but not nsex3.dll also not a windowsshell.dll, can you provide them please?
Thanks a lot!
Hi svansvan!!
For me it worked at first without having to do anything, just install it.
I have Windows 10 x64, Samsung Galaxy S5 with Nemesis Reborn ROM and Phoenix v13 kernel.
Only thing i miss is an option to change permissions.
Thanks!!!
Finally someone left a comment. Many thanks!
Without this, I did not want to continue my work
acid981 said:
Only thing i miss is an option to change permissions.
Click to expand...
Click to collapse
Just now i worked on this (and installation APK file progress dialog... etc...)
-----
But first, I want to understand why does not work on Windows x32
---------------------------------------------------
JJSJJS said:
i have a nsext3.dll, but not nsex3.dll also not a windowsshell.dll, can you provide them please?
Thanks a lot!
Click to expand...
Click to collapse
In this post! (not in header and other posts!)
https://forum.xda-developers.com/showpost.php?p=71636023&postcount=11
download NetworkADB-x32.zip and unzip (not run in zip folder(program) view) in SEPARATE Folder file NetworkADB.exe
and run it and click install.
You must have the following files in your folder:
--------
adb.exe - from android sdk
adbwinapi.dll - from android sdk
adbwinusbapi.dll - from android sdk
NetworkADB.exe - installator
nsex3.dll - need register
regasm.exe - from .NET (for registration nsex3.dll and windowsshell.dll)
windowsshell.dll - need register
--------
And yes, in OLD version It was nsext3.dll, But in the new version it is called nsex3.dll (without 't').
And there can not be not present windowsshell.dll ! Physically just can not be that it was not present.
The only thing I can think of - is that it for some reason removes antivirus program.
I specifically downloaded it again and installed it. Everything is there.
Just in case, I attached it to you separately:
View attachment windowsshell-dll.zip
but it is not necessary, if everything is done correctly
svansvan said:
in console (run console as administrator!) run:
1) RegAsm.exe WindowsShell.dll /codebase
2) RegAsm.exe NsEx3.dll /codebase
in output you can see like: Types are registered successfully
In general, the entire installation is reduced to registering these two dll files using the .NET program regasm.exe
If the registration is successful - everything will work.
After, using Task Manager - kill process explorer.exe, and run new task explorer.exe (restart explorer.exe)
Click to expand...
Click to collapse
Hi Svansvan,
i did as you described above.
It al registers perfectly. But starting the program still gives the Just in Time Debug error.
Is there something that need to be done in Visual Studio which needs to be enabled, just like the error messsage says (in above post) ?
Sorry for all this trouble. Hoep you can find what the issue can be.
Have a good weekend.
acid981 said:
Only thing i miss is an option to change permissions.
Thanks!!!
Click to expand...
Click to collapse
New version in header 0.0.3 - permissions
-----
Only x64. As far as I understand, x32 version - no working (I do not know why yet)
svansvan said:
New version in header 0.0.3 - permissions
-----
Only x64. As far as I understand, x32 version - no working (I do not know why yet)
Click to expand...
Click to collapse
Thank you very much svansvan.
It's working for me with no issues... it's perfect.:good:
thanks again
acid981 said:
Thank you very much svansvan.
Click to expand...
Click to collapse
There is only one bug: if open two (or more) windows explorers with the same folder.
You change the permissions in one window. In other windows they do not visually change
You need to refresh them (right click in context menu - refresh or reload)
The case is rare and insignificant, but it's a bug.
----
There will be other wishes - leave comments

[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..

[TOOL] Advance Tool for Android™ - ADB and fastboot commands

{
"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"
}
ATA Tool Only for Windows and Linux
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
*/
This tool include adb.exe and fastboot.exe and Scrcpy. This tool currently only supports Windows and Linux, in future updates I might add support for macOS.
Windows Versions:
Windows ATA Tool v0.9.3.10072020:
if the botton doesn't work click this link: https://github.com/MassimilianoSart...W/ATA-v0.9.3.10072020-for-Windows-By-Sway.zip
Linux Versions:
Linux ATA Tool v0.0.2.280920200:
if the botton doesn't work click this link: https://github.com/MassimilianoSart...20L/ATA-v0.0.2.28092020-for-Linux-By-Sway.zip
Windows Features:
UNLOCK BOOTLOADER
FORMAT DATA PARTITION (EXT4)
FORMAT DATA PARTITION (F2FS)
FLASH BOOT (only .img file)
FLASH BOOTLOADER (only .img file)
FLASH RADIO (only .img file)
FLASH RECOVERY (only .img file)
FLASH SYSTEM (only .img file)
FLASH VENDOR (only .img file)
FLASH CACHE (only .img file)
FLASH ROM (You must know what you are doing)
Check connected devices
Boot into ROM
Boot into recovery
REBOOT SMARTPHONE
REBOOT INTO THE RECOVERY
REBOOT INTO THE Fastboot/Bootloader
Check connected devices
Automate Apks installer
Check devices version connected
Install an app
Unistall an app (No System App)
Emulate device (Resize Screen)
Emulate device (Change Density)
Reset (Emulate device)
Screen Recording
Smarthphone Status
Change system info
Grant WRITE_SECURE_SETTINGS permission
Grant DUMP permission
Check for granted permissions
Create and run a program: keyevent Istruction https://developer.android.com/reference/android/view/KeyEvent.html
Scrcpy - Screen mirror
ADB over network working
Logcat and Display On Screen Only
Logcat and Record Text File Locally
"getevent" and Display On Screen Only
"getevent" and Record Text File Locally
View System Info (Data From build.prop, g.prop, and others)
Wireless debugging (only on Android 11)
adb backup and restore
input from keyboard to smartphone
Linux Features:
Check connected devices
REBOOT SMARTPHONE
REBOOT INTO THE RECOVERY
REBOOT INTO THE Fastboot/Bootloader
Check devices version
Enable/Disable Dark Mode in Q
Device serial number
Liked my work? Give me a beer
Requirements
1. To run Scrcpy the Android device requires at least API 21 (Android 5.0).
2. Make sure you enabled adb debugging on your device(s). On some devices, you also need to enable an additional option
Issues:
Strange outputs?
if you find strange outputs from commands, it's a know issue, you have to start again the command and it will work!
Licence:
ATA:
Copyright (C) 2019-2020 SwayWasTaken
Scrcpy:
Copyright (C) 2018 Genymobile
Copyright (C) 2018-2020 Romain Vimont
SDK Platform Tools:
Copyright (C) 2016-2019 Google LLC https://developer.android.com/license
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Links:
ATA Tool source Download link: https://github.com/MassimilianoSartore/Advance-Tool-for-Android/archive/master.zip
Scrcpy repository: https://github.com/Genymobile/scrcpy
SDK Platform Tools link: https://developer.android.com/studio/releases/platform-tools.html
Github page: https://github.com/MassimilianoSartore/Advance-Tool-for-Android-ADB-Tool-
Donate link: https://www.paypal.me/SWayGaming
Icon in the download botton: https://icons8.it
PS : I am not responsible for bricked devices use ATA at your own risks!
Android is a trademark of Google LLC.
This program was made with an Unlicensed compiler.
Please buy the PRO version to distribute your EXE.
Press any key to continue . . .
Click to expand...
Click to collapse
Always these lame bat2exe converters.
Why not people just distribute these as plain batch files I wonder...
CXZa said:
Always these lame bat2exe converters.
Why not people just distribute these as plain batch files I wonder...
Click to expand...
Click to collapse
O Sorry I will publish the source on GitHub.
I will try to resolve the problem
CXZa said:
Always these lame bat2exe converters.
Why not people just distribute these as plain batch files I wonder...
Click to expand...
Click to collapse
Now you can download the batch file from the link in the first post, sorry again
Sorry if I was a bit - well - a bit too me. I have just stumbled into these batexes maybe too many times. All sort of "kitchens" (what the heck, isn't there still a better word, really) use them, ASSAYYED, TOAD (open source? okay, maybe so***), Uppercut (several batexes inside each other, just plain weird..).
Maybe they have their use but I haven't figured it out yet really.
Great, now it's much smaller too... :good:
(*** the bat files can usually found from the temp folder when one runs these exes)
CXZa said:
Sorry if I was a bit - well - a bit too me. I have just stumbled into these batexes maybe too many times. All sort of "kitchens" (what the heck, isn't there still a better word, really) use them, ASSAYYED, TOAD (open source? okay, maybe so***), Uppercut (several batexes inside each other, just plain weird..).
Maybe they have their use but I haven't figured it out yet really.
Great, now it's much smaller too... :good:
(*** the bat files can usually found from the temp folder when one runs these exes)
Click to expand...
Click to collapse
Oh I didn't know that, hope you will appreciate that. If you will find something wrong, please report to me. I will make some changes in the batch this week.
V 0.3
Changelog:
- Added device info on the home
Download:
https://github.com/SwayWasTaken/Advance-Tool-for-Android/archive/master.zip
V 0.4
Changelog:
- some improvement under the hood
Download:
https://github.com/SwayWasTaken/Advance-Tool-for-Android/archive/master.zip
V 0.5
Changelog:
- some improvement under the hood, now the program will check if the device is connected
Download:
https://github.com/MassimilianoSartore/Advance-Tool-for-Android/archive/master.zip
V0.5.1
Changelog:
- Added more options to unlock and lock the bootloader
Download:
https://github.com/MassimilianoSartore/Advance-Tool-for-Android-ADB-Tool-/archive/master.zip
SwayWasTaken said:
Changelog:
- Added more options to unlock and lock the bootloader
Download:
https://github.com/MassimilianoSarto...ive/master.zip
Click to expand...
Click to collapse
The link doesn't work, but it's the same as before.
Nice batch project, helps those that don't want to type everything by themselves.
That :devicecheck you could make less strict. Just check that the value isn't empty...
CXZa said:
The link doesn't work, but it's the same as before.
Nice batch project, helps those that don't want to type everything by themselves.
That :devicecheck you could make less strict. Just check that the value isn't empty...
Click to expand...
Click to collapse
Thanks for the suggestion, change made!!
V0.5.2
Changelog:
-V 0.5.2: some improvement under the hood (Thanks to @CXZa for the suggestion)
Download:
https://github.com/MassimilianoSartore/Advance-Tool-for-Android-ADB-Tool-/archive/master.zip
V 0.5.7 Changelog:
-New information about your smathphone
-New loading screen
-New integration with more batch files
Now the main script must stay in the same folder as Scripts folder
Download:
https://github.com/MassimilianoSartore/Advance-Tool-for-Android-ADB-Tool-/archive/master.zip
V0.5.8
Changelog:
- Change system info
- New window size
V0.5.9
Changelog:
- Now you can uninstall system app without root access on your smartphone!!
Pay attention you can damage your phone!
Enjoy!
download:
https://github.com/MassimilianoSartore/Advance-Tool-for-Android-ADB-Tool-/archive/V0.5.9.zip
Hi. I tried to run this and it only gives me a yes or no option then shuts off. I'm not sure if I have my path set up at all as there really aren't any set up instructions. Could you give a quick set up tutorial?
0.6.0
Changelog:
- Grant WRITE_SECURE_SETTINGS permission
- Grant DUMP permission
- Check for granted permissions
- Changed window size
Download:
https://github.com/MassimilianoSartore/Advance-Tool-for-Android-ADB-Tool-/archive/0.6.0.zip
Supermatt01 said:
Hi. I tried to run this and it only gives me a yes or no option then shuts off. I'm not sure if I have my path set up at all as there really aren't any set up instructions. Could you give a quick set up tutorial?
Click to expand...
Click to collapse
the problem is that you dont have adb set as environment variable, follow this link to set it https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/.
SwayWasTaken said:
the problem is that you dont have adb set as environment variable, follow this link to set it https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/.
Click to expand...
Click to collapse
Okay. I'm giving it a look.

Categories

Resources