Please Log In or Register - it's FREE!

24 Pages V   1 2 3 > »   
Reply to this topicStart new topic
 SztupY's automated kitchen [with OPTIMIZER], An all-in-one kitchen. Will be maintained by lastnikita
Rating 5 V
sztupy
post Dec 20 2008, 05:49
Post #1


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



UPDATE12 --> Added OPTIMIZER to SYOK. Read more here
UPDATE11 --> New maintainer of SYOK is lastnikita. Also the source code of SYAKR is released. Read more here
UPDATE10
--> Version 1.0 RC1. packed in a complete kitchen. Read more
here
UPDATE9 --> Update XIP / SYS to 20757 or 20954. Read more here
UPDATE8 --> Version 0.9 is out, with official DXHL2 support. Read more here
UPDATE7 --> The tasks should work with DZHL2! Read more here
UPDATE6 --> Get the v0.3.1 service pack 2 from here
UPDATE5 --> V0.3.1 is out with "install favourite settings" task! Get it from here
UPDATE4 --> V0.3 is out with new tasks! Get it from here
UPDATE3 --> Second "Create your own lufeig's clean ROM" task pack is out. Get it from here
UPDATE2 --> First task pack is out. Get it from here
UPDATE1 --> V0.2 is out. Get it from here

------------------------------------------------------------------------------------------------------------------------

BEWARE


Only use this application if you KNOW what you are doing, and after you flashed custom ROM's to your phone at least a few times. If this doesn't apply to you, it is possible, that this application is NOT for you. Try out lufeig's clean ROM if you'd like a tested nice and clean ROM, or check other custom and/or official ROM's! If you still want to use this application read PaSSoA's guide and shokka's ROM building for dummies first.

BEWARE


Before using my app READ ALL of the posts that are marked above as UPDATE, and always use the latest version.


------------------------------------------------------------------------------------------------------------------------
KITCHEN


The kitchen is a repack of PaSSoA's - oldcat's kitchen, with these added features:
- Pako's eXecutor 1.5
- SYAKR 1.0 RC1
- CabTools 0.2
- updated imgfsfromdump to handle large ROM's
- Auto-update feature using mercurial

Get it from here: http://winmo.sztupy.hu/syok.html

------------------------------------------------------------------------------------------------------------------------
SYAKR


I've just recently brought my new phone (and besides my first WinMo device), and as with all phones that enter my hand, I fell in love with hacking it do death... It's just the same with omnia. The difference is that there are a lot of custom made ROMs to choose from, but, it seems, that they aren't good for everyone. While the "clean ROM" paradigm seems to be good (provide a clean ROM, and then add the cabs, so the users can only install applications they really use), but unfortunately a lot of applications only work, if they are bundled with the ROM... And this gives the clean ROM's a disadvantage (besides the fact, that a lot of applications are unavailable as CABs).

My idea was, that a lot of tasks involving erasing applications from the ROM can be automated (like delete some files, erase some keys from the registry and from the initflashfiles.dat). So I've build a tool that helps automating these tasks. It's of course still in an early alpha stage, but the main actions are working already, and I've already built my own custom ROM with it without meeting Mona Hans.

The advantages of this solution are:
  • Create a custom ROM which suit your needs, and leave out everything else (even drivers, and other things, that you'll never use)
  • If you have automated tasks, they may be ported easily to newer ROM versions, so you don't have to do everything multiple times
Disadvantages:
  • Creating scripts are sometimes harder than simply deleting files (but they may worth the time)
  • It is impossible to predict whether a specific task configuration will work, or not (there may be questions like: will the Widgets work, when I delete the FM radio or not?)
Installation

SYAKR works with PaSSoA's i900 rom kitchen, Pako's EXEcutor, and secany's DXHK3 firmware. (many thanks to them for these tools/files) You have to download them, and extract them into a directory. Then extract the ROM using the kitchen, and the CSC part using the EXEcutor. (it should create a Customer_CSC directory in the root of the kitchen. That is fine) If you've ever made a custom ROM, these should be obvious things.

Next, download tha latest version of SYAKR (check the updates at the top if this post to get to the download link), and extract it into the directory of the ROM kitchen (next to BuildROM.cmd, etc.). Now that you have the application downloaded, you only need the tasks (if you got a task-free version of syakr... the latest versions should be bundled with a lot of great tasks to clean your rom, but you may find others too in this topic)

Next run syakr, and you should see something like this: (except under Windows XP, I suppose wink.gif )
Attached File  syakr.jpg ( 23.46K ) Number of downloads: 767

Simply check whick tasks would you run, and which not, and then press the "Run scripts" button. After a while the console should say "Done", and you may exit the application, make some more modifications to your ROM, and then flash it to your device... The application logs what it has done in "messages.log" and any warnings in "warnings.log".

Functionality (vor v0.1. Check the updates at the top if this post to find out about newer versions)

Currently SYAKR is capable of the following:
  • Deleting files / folders (glob wildcards are supported)
  • Deleting lines from initflashfiles.* (exact match, substring match and regular expression support)
  • Deleting keys and values from registry files (*.rgu and *.reg) (bit buggy, see TODO list)
  • Automatically detects whether the editable file is UTF-8 or UCS2-LE encoded
  • Automatically sets attributes (RHAS) and modification time back when changing the registry / initflashfiles
  • Copying files and directories into the extracted image
  • Everything is read from XML files, no hard coded tasks
Of course it has some limitations:
  • No dependency support, so one cannot say which tasks are dependent on others (in order not to delete something that other non-deletable applications are still using)
  • No version support in the application (the XML already supports it). Currently SYAKR always believes you have a DXHK3 ROM
  • Registry editing is incomplete and may be buggy. It only supports exact matches, and may get weird when it encounters values with '='-s in it
  • Lack of tasks (currently it only has 4, from which only 2 are usable rolleyes.gif )
If you're interested in trying out this application then feel free to do so. I only ask you that if you already made a lot of custom ROM's then please help me creating more tasks. I also welcome bug reports, and any other stuff, that may make this application better. If you have any questions regarding task creatins feel free to ask me, and check the sample files, because they are mostly self-explanatory.


This post has been edited by sztupy: Jan 31 2009, 15:17
Attached File(s)
Attached File  syakr_task_pack_1.zip ( 6.45K ) Number of downloads: 1108
 


--------------------
Go to the top of the page
 
+Quote Post
bobobird
post Dec 20 2008, 06:05
Post #2


Addict
Group Icon

Group: Posters
Posts: 937
Joined: 7th September 2008
Member No.: 423,930

Device(s): i900



Excellent concept which will certainly make custom rom'ing almost foolproof.
Go to the top of the page
 
+Quote Post
1Mack
post Dec 20 2008, 06:06
Post #3


Diehard
Group Icon

Group: Posters
Posts: 304
Joined: 23rd August 2008
From: AFG
Member No.: 419,202

Device(s): Samsung Omnia i900



This is a ground breaking app man. Good job. tongue.gif
Go to the top of the page
 
+Quote Post
lufeig
post Dec 20 2008, 06:22
Post #4


Enthusiast
Group Icon

Group: Posters
Posts: 249
Favorited Topics: 13
Joined: 16th September 2008
Member No.: 426,693

Device(s): Samsung i900



sztupy, congratulations!!!

i'm sure this tool will be VERY useful to omnia community!!!
Go to the top of the page
 
+Quote Post
adzrm
post Dec 20 2008, 07:31
Post #5


Regular
Group Icon

Group: Posters
Posts: 84
Joined: 16th September 2008
Member No.: 426,864

Device(s): i900



congrats man.... that's reallly good!
Go to the top of the page
 
+Quote Post
Bloo_DF
post Dec 20 2008, 11:56
Post #6


Regular
Group Icon

Group: Posters
Posts: 62
Joined: 19th November 2008
From: Brasília - DF - Brazil - Earth - Solar System - Universe
Member No.: 452,510

Device(s): Samsung Omnia i900



Great Tool dude!!

Lets make the Omnia the best PPC Ever biggrin.gif


--------------------
AHHHHHHHHH I FUCK`N LOVE COLORING!!


One day... I will build the best rom ever :D ( Need to learn how to cook first :D )


Proud the be a Omnia Owner!
Go to the top of the page
 
+Quote Post
PaSSoA
post Dec 21 2008, 06:37
Post #7


Enthusiast
Group Icon

Group: Posters
Posts: 280
Favorited Topics: 23
Joined: 21st September 2008
Member No.: 428,546

Device(s): Samsung Omnia SGH-i900



I will definitely give this a try, if any one has cooked a custom ROM, they will know that many steps are repetitive. ie. when a new build comes out, the same app files will have to be manually deleted with it's associated rgu's, files and such.

The scripting functions look to be a time saver and I'll comment on it once I've played around with it.

Great work so far and this could really be epic!


--------------------
Like the work I've done for you?

Then I would really appreciate it if you could help me out.

It will encourage me further and of course produce better work.




A dollar or any amount you could spare will be greatly appreciated.
Go to the top of the page
 
+Quote Post
sector
post Dec 21 2008, 12:58
Post #8


Hardcore
Group Icon

Group: Moderator Team
Posts: 2,312
Favorited Topics: 183
Joined: 18th September 2005
Member No.: 150,032

Device(s): Samsung Omnia



I also want to give my congrats! smile.gif Havent cooked a ROM yet as there are many cookers inda house and all the cooking tools look like pain in the a$$ biggrin.gif.

This should be my really an epic! Keep it up mate. Great work


--------------------
If you like my work buy me a beer :) !

WM 6.5/6.1 roms, Themes, Taskbar etc... :D
Go to the top of the page
 
+Quote Post
Barthlon
post Dec 21 2008, 13:57
Post #9


Enthusiast
Group Icon

Group: Posters
Posts: 182
Joined: 27th October 2008
Member No.: 442,412

Device(s): Samsung Omnia i900



great idea man, hopefully you'll get enough help to pull this off, would be a great tool
that i think everyone on this forum would like to have smile.gif smile.gif

passoa and lufeig already spotted this thread and can probably help you out, maybe the
other cookers like paul and taril can help you too wink.gif
Go to the top of the page
 
+Quote Post
sztupy
post Dec 21 2008, 20:08
Post #10


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



Thanks guys!

Here is a new version, for christmas!

Updates:
  • Supports multiple versions of the same task (for separate ROM versions)
  • Supports dependencies between tasks (you can set which tasks should run before which tasks)
  • Parameter support in actions (see below for a demo)
  • Batch run
  • New actions: execute (runs an external program), replace (replaces lines in files) and append (appends lines to files)
  • Base directory is now the actual directory instead of the OEM (and the default CSC directory is Customer_CSC)
TODO:
  • Registry editing needs more work (but should work in most of the cases)
  • More uses of the parameters (like conditional actions)
Here is a showcase of the new parameter support:

Attached File  syakr2.jpg ( 42.96K ) Number of downloads: 267



As you can see, you can set some parameters, which can control the task. This task executes an external application which generates an animated gif. Something like this (click on it to see the "great" animation):
Attached File  syakr_c_ani.gif ( 36.06K ) Number of downloads: 223


I also added comments to the XML files, so task creation should be easier.

Get SYAKR 0.2 and the example tasks from here: http://winmo.sztupy.hu/syakr.html


This post has been edited by sztupy: Jan 4 2009, 21:59
Go to the top of the page
 
+Quote Post
lastnikita
post Dec 21 2008, 20:11
Post #11


Addict
Group Icon

Group: Posters
Posts: 572
Joined: 18th June 2007
Member No.: 268,112

Device(s): Samsung Omnia



looks great, now we need a task editor and a tasks collection smile.gif

edit: let me suggest another structure, which would be more clear to me:
every task.xml renamed do_this_or_do_that.xml, in root of "tasks" directory, and every other files in "files" subfolder


This post has been edited by lastnikita: Dec 21 2008, 20:24
Go to the top of the page
 
+Quote Post
lastnikita
post Dec 21 2008, 20:42
Post #12


Addict
Group Icon

Group: Posters
Posts: 572
Joined: 18th June 2007
Member No.: 268,112

Device(s): Samsung Omnia



why do we need 2 xml files for each task ?
a quick start guide for xml creation would be nice smile.gif
I guess that within one app.xml file you can delete XOR add depending on what is written in the task.xml file ?
Go to the top of the page
 
+Quote Post
sztupy
post Dec 21 2008, 21:22
Post #13


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



QUOTE(lastnikita @ Dec 21 2008, 21:42) *
why do we need 2 xml files for each task ?


You only need two (or more) files for tasks that delete files. This is because so you may re-use filelists in multiple tasks. The ratio behind this is that multiple tasks may be dependent on the same filelist, and if so, the system should delete those files only, if ALL tasks are selected that are dependent on those files. This checking does not work in 0.2, but I'll implement it in the next version

QUOTE
a quick start guide for xml creation would be nice smile.gif


I'm not good in writing documentations rolleyes.gif . The easiest way to create a task is to use one of my tasks as examples, or as starting points. Just don't forget to change the "id", "name", "author" and "description" tags

QUOTE
I guess that within one app.xml file you can delete XOR add depending on what is written in the task.xml file ?


A task.xml file can conatin multiple actions, and they will be run in the order, they are presented in the xml file.
This means one task may for example delete some files, then copy some files, then delete some more files, then execute an external app, and finally do a search/replace on the files. For this the action may look like:

CODE





..\..\OEM\OEMDrivers

fmradio.dll
fmradio2.dll


Go to the top of the page
 
+Quote Post
sztupy
post Dec 21 2008, 21:26
Post #14


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



QUOTE(lastnikita @ Dec 21 2008, 21:11) *
edit: let me suggest another structure, which would be more clear to me:
every task.xml renamed do_this_or_do_that.xml, in root of "tasks" directory, and every other files in "files" subfolder


The XML files in the _files directory are separated, because they are shared among the tasks (see my previouss post). I think that each task should have it's own directory, because a task may contain extra files/directories/etc.
Go to the top of the page
 
+Quote Post
lastnikita
post Dec 21 2008, 21:51
Post #15


Addict
Group Icon

Group: Posters
Posts: 572
Joined: 18th June 2007
Member No.: 268,112

Device(s): Samsung Omnia



thanks for your answer.
how do you copy to SYS ?
I think .net should go to sys dir, am I wrong ?

here's my contribution, task to add HTCemu DLL files from speleomaniac (adds Diamond sensor translation), didn't test it yet

ps: why will the forum reject .7z archives ?

edit: this will be a great way to share tips among ROM cooks wink.gif
edit2: task updated (again)


This post has been edited by lastnikita: Dec 21 2008, 23:06
Attached File(s)
Attached File  HTCemu_DLLs.zip ( 4.88K ) Number of downloads: 105
 
Go to the top of the page
 
+Quote Post
sztupy
post Dec 21 2008, 22:13
Post #16


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



QUOTE
thanks for your answer.
how do you copy to SYS ?


Of... I've forgot about the SYS folder... well, because the base dir is OEM, to get to the sys folder you have to write "..\SYS". Have to try out whether this works or not.

QUOTE
I think .net should go to sys dir, am I wrong ?


Dunno... I prefer to create programs than to search for tutorials on how to do things wink.gif . BTW if someone knows the answer I'd be happy to know it too.

QUOTE
here's my contribution, task to add HTCemu DLL files from speleomaniac (adds Diamond sensor translation), didn't test it yet


It should work. But I think a simple would work too, because these DLL's don't need to be installed (no registry/initff changes, they simply get into the Windows directory)
Go to the top of the page
 
+Quote Post
lastnikita
post Dec 21 2008, 22:44
Post #17


Addict
Group Icon

Group: Posters
Posts: 572
Joined: 18th June 2007
Member No.: 268,112

Device(s): Samsung Omnia



QUOTE(sztupy @ Dec 22 2008, 00:13) *
BTW if someone knows the answer I'd be happy to know it too.

Well it does, I just believed you did this on purpose smile.gif
And the old .NETCF should be removed before, so that no older file persist.

QUOTE(sztupy @ Dec 22 2008, 00:13) *
they simply get into the Windows directory

I always wondered if one can just throw files in oemapps to see them go into \windows
cool tip thx, task updated in my original post


edit: will this also copy the folder or only the files within ?


btw like this I guess it goes to OEM, so it wouldn't work actually smile.gif


This post has been edited by lastnikita: Dec 21 2008, 22:57
Go to the top of the page
 
+Quote Post
sztupy
post Dec 21 2008, 22:51
Post #18


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



QUOTE(lastnikita @ Dec 21 2008, 22:51) *
how do you copy to SYS ?


Modified the 0.2 version so the actual directory is the basedir. Re-download it.

And here is a small task generator script:

Usage: create_removal_task [id] "[name]" [depfile.xml] [author]
For example: create_removal_task.exe rem_windows_live "Remove Windows Live" winlive.xml sztupy

Attached File(s)
Attached File  create_removal_task.exe ( 691.6K ) Number of downloads: 116
 
Go to the top of the page
 
+Quote Post
sztupy
post Dec 21 2008, 22:53
Post #19


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



QUOTE(lastnikita @ Dec 21 2008, 23:44) *
I always wondered if one can just throw files in oemapps to see them go into \windows
cool tip thx, task updated in my original post


As far as I know every file goes into the Windows directory by default, from where they get "redirected" by the initflashfiles.dat-s
(update it again, to reflect the basedir changes in the new 0.2 wink.gif )
Go to the top of the page
 
+Quote Post
sztupy
post Dec 21 2008, 22:55
Post #20


Diehard
Group Icon

Group: Posters
Posts: 463
Favorited Topics: 24
Joined: 16th December 2008
From: Budapest
Member No.: 465,894

Device(s): SGH-i900; HTC Touch Pro



QUOTE(lastnikita @ Dec 21 2008, 23:44) *
edit: will this also copy the folder or only the files within ?


It uses 'cp -R' internally so it should copy the folder too. And btw. erasing a file will use 'rm -rf' internally, so it can be used to delete complete folders too (has to test is though)

EDIT: tested, things like

CODE



WindowsLive*




will erase directories the right way.


This post has been edited by sztupy: Dec 21 2008, 23:08
Attached File(s)
Attached File  rem_winlive.zip ( 943bytes ) Number of downloads: 92
 
Go to the top of the page
 
+Quote Post

24 Pages V   1 2 3 > » 
Reply to this topicStart new topic

Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Topic has attachments(21/1) 6.5 and 6.1 ROM RANKING - With LINKS!!
***Post your short review here***
312 jmsmartins 77,164 Yesterday, 18:19
Last post by: andrew.mazlim
No New Posts Topic has attachmentsOCK's WM6.5 Roms (Premium, M2D, M2D Classic, Titanium, UltraLite)
UPDATED: 1st Sept 2010 | GTX refreshed
5,581 ock 772,599 Yesterday, 21:34
Last post by: DariosF
No new votes Poll: Topic has attachmentsbenchmarking rom's Performance test
VOTE FOR YOUR FAVORITE CHEF
96 g3n3ral 11,794 Yesterday, 18:20
Last post by: andrew.mazlim
No new Topic has attachments[STEEL'S ROM][BETA .65][6.5.5(23569)][SENSE2.5 2015]
[7/10/2010][Full Kitchen Released.]
374 Steel Reign 17,420 Yesterday, 18:57
Last post by: tedkord
No new Topic has attachmentsNFX-JF5 Lite rom - 8MB pagepool with most Samsung apps intact
this is a WM6.5 rom
62 NewForce 7,030 Yesterday, 22:07
Last post by: moxadrian
No New Posts Topic has attachmentsany one willing to make Black version of OCK' GTX rom ??!!
Black GTX version is a dream , any one ...??!
12 MimomaN 531 Yesterday, 17:28
Last post by: styla

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


RSS hit counter Lo-Fi Version Time is now: 3rd September 2010 - 00:18

Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!

ActiveKitten | Binaryfish | Conduits | DeveloperOne | eSoft Interactive | FTouchSL | Inesoft | LastPass

Lingvosoft | monocube | OmegaOne | Omnisoft | Opera Software | Resco | SBSH | Splashdata

Sprite Software | Syncdata | Teksoft | Titanium Backup | VITO | WalkingHotSpot | WebIS | z4soft

Would your company like to become a 'Plus Partner'? Click Here to contact us!