[HD2 Android NAND Development] tweakos:
Ok guys , as we all know we have 16 bit color display , and that is our "big" problem.I decide do something with this , and i trie to correct saturation in pictures ,and i understand - "this is it" :D .

After a 2 week hard coding i proudly present : SATURATOR.

What is it?

This app resaturate png\jpg pictures:

Resaturate png\jpg pictures in apk.

Resaturate your favorite wallpaper.

Resaturate your favorite cyanogen mod 7 themes (apk).

Resaturate your favorite MIUI themes (mtz).

Resaturate ROM!

How to use:

You must install java!!!

i recomended use jre 6.27 x86.

Download "Saturator".Extract "Saturator" folder to root of your hard drive (of course you can try another path BUT I STRONGLY RECOMMENDED PLACE SATURATOR FOLDER TO ROOT OF YOUR HARD DRIVE).Inside saturator folder you can find some files and folders, But we will use:

rom-apk folder - there we will place our files for processing.

iconer folder - you can place your templates for Iconer here.

saturator.ini - there you can change some information.

saturator.exe - it is app itself.

DO NOT DELETE ANYTHING IN THE SATURATOR FOLDER!!!

GUI Interface:

Elements:

Modes - apktool - this mode use apktool for reenginering apk files.

Modes - zip - this mode use rar for unpacking ,and 7zip for packing apk.

Saturation - there you can choose your saturation - use values from 0 to ...what you want.Type your value here and press enter.You will see changes on the picture with "HTC" label :)

IconerN - use iconer feature in "detect by name" mode.

IconerWH - use iconer feature in "detect by widht and height" mode.

prop-on - this is a proportion for iconer.Change this value and press enter.You will see the chages on picture above.Do not remember choose a template first from list below.:)

Modes

APKTOOL - apktool will be used for reenginering apk.This mode more accurate then zip mode,BUT in this mode NOT ALL APK CAN BE PROCESSED.So use it ONLY when zip mode fails.

ZIP - rar and zip will be used for reenginering apk.I recommended use this mode.

Iconer

This feature allows you modify icons while processing pictures.See this post for screens.

There is a 2 modes for file processing:

IconerN - Icons will be detected by names in 2 values (by default defined 1 value - icon).You can change values in the saturator.ini, there is a 2 parameters:

icname - icon name variant 1

icname2 - icon name variant 2

By default icname=icon.That means when pictures are processing and file name contain "icon" - iconer will be used.So if you change this value to...browser, for example, the name of file that contain word "browser" will be processed by iconer.

If you also define the icname2 , both of them will be used.Example:

icname=icon

icname2=ic_launcher

files that contain "icon" and "ic_launcher" will be processed by iconer:

.....\com_android_camera_ic_launcher_gallery.png - this file will be processed, because it contain ic_launcher.

.....\com_android_camera_icon_gallery.png - this file will be processed, because it contain icon.

.....\com_android_camera_ic_gallery.png - this file will be not processed, because it not contain ic_launcher and icon.

IconerWH - Icons will be detected by width and height.There is a 2 values for that in saturator.ini (if icwh1 and icwh2 are defined,both of them will be used ):

icwh1 - by default this parameter is defined =48

icwh2 - by default this parameter is defined =72

That means when files are processing and the width and height of picture equal icwh1 or icwh2 - iconer will be used.

I recommended to you use this mode,because almost icons are 48x48 on hdpi,and 72x72 ldpi.

If you want to use your own template for iconer:

Place your templates in iconer folder.The file MUST BE IN PNG FORMAT.height and width of your choice,there is no restriction, but in reasonable aisles.

Saturator.ini

The file in the saturator folder , and you can change (if you want and when you know what are you doing :) ) this parameters:

icname

icname2

icwh1

icwh2

do not touch anything else!!!!because all other parameters change automatically from the GUI.

restrictions

Restriction by paths:

For APKTOOL mode:

YOU MUST PLACE YOUR APK FILES IN ROM-APK FOLDER WITHOUT SUBFOLDERS:

rom-apk\myapp.apk - OK.

rom-apk\ANYfolder\myapp.apk - wrong.

For ZIP mode:

NONE

Restriction by names of files:

NON ENGLISH SYMBOLS:

rom-apk\com.android.myapp_v1.2.3-1.apk - OK

rom-apk\программа.apk - WRONG.

Apk files CAN CONTAIN ANY SYMBOLS.

Apk files CAN CONTAIN SPACES - They will be renamed automatically:

rom-apk\my app.apk will be renamed to rom-apk\myapp.apk.

PLACE AND GRAB YOUR FILES ONLY TO\FROM ROM-APK FOLDER!!!SATURATED FOLDER - IS A TEMP FOLDER!!!THAT FOLDER AUTOMATICALLY DELITING ON PROGRAMM START.SO AFTER PROCESSING ARE FINISHED YOU CAN SEE THE CHANGES IN THIS FOLDER.BUT THE FILES YOU NEEDED - IN THE ROM-APK FOLDER!!!!!

soon I'll make FAQ with examples.....

Download v1.2

http://www.multiupload.com/J5D0RVSNHK

You also can try my own resaturated version of Typhoon 3.6.8/3.6.9 rom.See details here.

Please feedback to me how it works for you.

OLD VERSION

for easy understanding how it works see video tutorial:

http://www.multiupload.com/VKC3ZHAWW5

Video tut on youtube (thanks to sajin1):

[YOUTUBE]9OK7iKP6dwA[/YOUTUBE]

Small explanations:

All files you want to processed you must place in rom-apk dir,and grab it back from that dir.

Saturated folder - is a temp folder for processing pics ,this folder automaticaly deliting on program starts.

saturator.ini - this is a configuration file for saturator, in there you can change saturation 0 - colorless, 0 -... i don`t no limitation, i allways use 1.6 :)

saturatorAmode - in this mode apktool uses for repacking apk - this mode needed in some cases when zip mode not work,in this mode more accurate and safely,but NOT ALL apk can be processed.And there is a limitation in path to apk:you need to place apk files in rom-apk dir WITHOUT subfolders , example - if you put xy.apk in ...rom-apk\app\xy.apk - YOU get NOTHING, but if you put xy.apk in ...rom-apk\xy.apk - it should be fine.

saturatorZmode - use zip\rar for repacking apk,in this mode you can processed ALL APK,MTZ....and everything is packed with zip , and there is NO limitation in path to apk.

Download V1.0

http://www.multiupload.com/FNF7W4ALWY

Download v1.1

http://www.multiupload.com/ZQ4CNZMDCY

I hope our devs use this app :cool: !!!

I realy never go back on non resaturated rom - because it looks great!.You can trie it by yourself and see how much diferent between non and resaturated roms,apps,pics.If you don`t see a diferent - you are blind!!!

Will be force with you.

Enjoy!

Sorry for my bad english.

For moders - because this app is relevant to nand rom`s ,i decide to create thread in nand section.Please don`t move it.:rolleyes:

---------- Post added at 07:04 AM ---------- Previous post was at 07:03 AM ----------

Changelog

04.10.2011 - V 1.2

Fixed - Images quality.Now 100% quality only.

30.09.2011 - V 1.1

Added - Iconer

Added - Zipalign

Added - rom-apk dir checking for compability apktool and zip mode

Added - new GUI

Fixed - x64 Support

and something i don`t remember

19.09.2011 - initial release.